/* Long-form posting pages (internships). Loads after /css/styles.css. */
.posting { position: relative; flex: 1; padding: clamp(24px, 5vh, 56px) clamp(20px, 4vw, 56px) clamp(56px, 10vh, 112px); }
.posting .eyebrow { margin: 0 0 clamp(14px, 2.2vh, 22px); font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 500; letter-spacing: .01em; color: var(--accent); }
/* exception: the internships pages use a heading one step smaller than the rest of the site */
.posting h1 { font-size: clamp(2.2rem, 5.2vw, 4.8rem); max-width: 20ch; }
/* position pages: one more step down */
.posting.position h1 { font-size: clamp(1.8rem, 3.9vw, 3.6rem); }
.posting .lede { margin: 22px 0 0; font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1.4; color: var(--muted); }
.posting .intro { margin: clamp(28px, 5vh, 48px) 0 0; max-width: 62ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--soft); }

.posting .intro + .intro { margin-top: 1.1em; }

/* section label on the left, content on the right */
.sec { margin-top: clamp(44px, 8vh, 84px); }
.sec > h2 { margin: 0 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.sec .body { color: var(--soft); font-size: 1.05rem; line-height: 1.6; }

/* questions as headings, short answers under them */
.qa { padding: 22px 0; border-top: 1px solid var(--line); }
.qa:first-child { padding-top: 0; border-top: 0; }
.qa h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.qa p { margin: 0; }
.qa ul { list-style: none; margin: 10px 0; padding: 0; }
.qa li + li { margin-top: 7px; }
.qa p + ul { margin-top: 10px; }
.qa ul + p { margin-top: 10px; }
.qa b { font-weight: 500; color: var(--ink); }
.send { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); }
.send a { color: var(--ink); border-bottom: 1px solid var(--accent); transition: color .2s ease; }
.send a:hover, .send a:focus-visible { color: var(--accent); }

/* pills: open in an AI, copy prompt, share */
.open, .share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.open > span:first-child { color: var(--muted); margin-right: 4px; }
.share { margin-top: 22px; color: var(--muted); }
.open a, .open button, .share a, .share button { font: inherit; font-size: .95rem; color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; line-height: 1.2; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.share a, .share button { font-size: .9rem; padding: 7px 15px; color: var(--muted); }
.open a:hover, .open button:hover, .share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }
.open a:focus-visible, .open button:focus-visible, .share a:focus-visible, .share button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.status { color: var(--accent); font-size: .9rem; }

/* plain lists inside sections */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 6px 0; }
.sec .body p + p { margin-top: 1em; }
.sec .body p + .list, .sec .body .list + p { margin-top: 14px; }

/* listings */
a.plain { color: var(--ink); border-bottom: 1px solid var(--accent); transition: color .2s ease; }
a.plain:hover, a.plain:focus-visible { color: var(--accent); }
.qa h3 a.plain { border-bottom-color: var(--line); }
.posting .terms { color: var(--muted); font-size: 1rem; }

.posting .back { margin: 22px 0 0; font-size: .95rem; color: var(--muted); }
.posting .back + .intro { margin-top: 22px; }

/* anything the founder still has to supply: visible on purpose so it cannot ship unnoticed */
.todo { color: var(--accent); outline: 1px dashed var(--accent); outline-offset: 2px; border-radius: 3px; padding: 0 .3em; font-style: normal; }

.qa ul:last-child { margin-bottom: 0; }
