@font-face {
  font-family: "Google Sans Flex";
  src: url("google-sans-flex-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f8f6f3;
  --paper-deep: #efeaf0;
  --panel: #ffffff;
  --ink: #1f1f1f;
  --navy: #3b1c38;
  --hero-navy: #241426;
  --hero-light: #f8e9ed;
  --muted: #5f6368;
  --rule: #e6e0dc;
  --accent: #a23b59;
  --accent-deep: #5a2d55;
  --accent-soft: #f8e9ed;
  --accent-rule: #dfbecb;
  --sage: #e8ebe3;
  --sage-deep: #395b49;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --display: "Google Sans Flex", system-ui, sans-serif;
  --body: "Google Sans Flex", system-ui, sans-serif;
  color-scheme: light;
  font: 16px/1.6 var(--body);
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 2 * clamp(22px, 5.4vw, 84px)), 1248px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: .75rem auto auto 1rem; padding: .6rem 1rem; background: var(--panel); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-content { min-height: 70px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.academy-logo { display: inline-block; width: clamp(200px, 19vw, 254px); }
.academy-logo img { width: 100%; height: auto; }
.site-nav { display: flex; justify-content: flex-end; gap: clamp(.85rem, 2vw, 1.8rem); align-items: center; font-size: .94rem; }
.site-nav a { position: relative; text-decoration: none; padding-block-end: 2px; }
.site-nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-out); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent-deep); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.button { justify-self: end; }
.button { min-height: 46px; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; gap: .7em; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .2s ease, box-shadow .2s ease; }
.button [aria-hidden="true"] { font-size: 1.1em; transition: transform .2s var(--ease-out); }
.button-primary { color: var(--panel); background: var(--accent); }
.button-primary:hover { background: var(--accent-deep); }
.button-hero { color: var(--ink); background: var(--hero-light); }
.button-hero:hover { background: var(--panel); }
.button-outline { color: var(--accent-deep); background: transparent; border-color: #a23b59; }
.button-outline:hover { background: var(--accent-soft); border-color: var(--accent); }
.button-quiet { background: transparent; border-color: var(--rule); color: var(--ink); }
.button-quiet:hover:not(:disabled) { background: var(--paper-deep); }
.button-quiet:disabled { opacity: .6; }
.button-paper { background: var(--paper); color: var(--ink); }
.button-paper:hover { background: white; }

.hero { color: var(--panel); background: var(--hero-navy); position: relative; isolation: isolate; }
.hero-inner { min-height: clamp(30rem, 40vw, 39rem); display: flex; align-items: center; padding-block: clamp(2.8rem, 5.1vw, 5.3rem); position: relative; z-index: 1; }
.hero-copy { max-width: min(46vw, 42rem); }
.draft-label { display: flex; gap: .55rem; align-items: center; color: var(--hero-light); font-size: .9rem; font-weight: 600; margin-bottom: clamp(.82rem, 1.8vw, 1.45rem); }
.draft-label::before { content: ""; width: .42rem; height: .42rem; background: #d9a13b; border-radius: 50%; }
h1 { font: 500 clamp(3.35rem, 5.65vw, 5.7rem)/1.01 var(--display); letter-spacing: -.033em; }
h1 em { display: block; color: #f2b3c3; font-style: normal; font-weight: inherit; }
.lede { color: #f8f6f3; margin-block: 1rem 1.45rem; max-width: 39ch; font-size: clamp(1.04rem, 1.5vw, 1.23rem); line-height: 1.5; }
.hero :focus-visible { outline-color: var(--hero-light); }
.hero-media { display: block; position: absolute; inset: 0; overflow: hidden; }
.hero-media picture { display: block; height: 100%; }
.hero-media img, .hero-motion { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-motion { position: absolute; inset: 0; }
.hero-motion:not(.has-frame) { opacity: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(9 12 24 / .42), rgb(9 12 24 / .22) 49%, transparent 72%); pointer-events: none; }
.hero-motion-toggle {
  position: absolute; z-index: 1; inset-inline-end: max(22px, 3vw); inset-block-end: 1rem;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgb(255 255 255 / .55); border-radius: 50%;
  background: rgb(21 18 29 / .76); color: white;
}
.hero-motion-toggle:hover { background: var(--hero-navy); }
.hero-motion-toggle::before {
  content: ""; width: 0; height: 0; margin-inline-start: 3px;
  border-block: 6px solid transparent; border-inline-start: 9px solid currentColor;
}
.hero-motion-toggle.is-playing::before {
  width: 10px; height: 12px; margin: 0; border: 0; border-inline: 3px solid currentColor;
}

h2 { font: 520 clamp(2.25rem, 4.25vw, 3.75rem)/1.05 var(--display); letter-spacing: -.03em; text-wrap: balance; }
h3 { font: 550 clamp(1.52rem, 2.6vw, 2.15rem)/1.12 var(--display); letter-spacing: -.025em; }
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(1.5rem, 8vw, 8rem); align-items: start; padding-block: clamp(3rem, 6vw, 5.2rem); }
.story-intro { position: sticky; top: 3rem; }
.story-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.story-steps li { border-bottom: 1px solid var(--rule); padding: .9rem 0; display: grid; grid-template-columns: minmax(5rem, .42fr) minmax(0, 1fr); gap: .8rem; align-items: baseline; }
.story-steps h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.story-steps p { color: var(--muted); }

.sample-band { padding-block: clamp(1.2rem, 2.7vw, 2.45rem) 0; }
.sample-band:focus-visible { outline: none; }
.sample-band:focus-visible .lesson { outline: 2px solid var(--accent); outline-offset: 4px; }
.module-showcase:not(.is-tabbed) .sample-band + .sample-band { margin-top: 1.6rem; border-top: 1px solid var(--accent-rule); }
.sample-layout { display: grid; gap: .95rem; }
.section-label { font-size: .92rem; font-weight: 600; color: var(--accent-deep); margin-bottom: .85rem; }
.sample-intro { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: end; gap: .7rem 1.5rem; }
.sample-intro p { margin-top: .4rem; color: var(--muted); }
.sample-index { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.sample-index button, .shift-options button { min-height: 44px; border: 1px solid #bc9ead; border-radius: 3px; padding: .35rem .7rem; font-size: .88rem; color: var(--ink); background: transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.sample-index button:hover, .shift-options button:hover { border-color: var(--accent); }
.sample-index button[aria-current="step"], .shift-options button[aria-pressed="true"] { color: var(--accent-deep); font-weight: 700; background: var(--panel); border-color: var(--accent); }
.lesson { background: var(--panel); border: 1px solid var(--accent-rule); border-radius: 4px; min-width: 0; }
.lesson-card { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.lesson-visual { display: grid; align-content: start; background: var(--navy); color: var(--paper); min-width: 0; position: relative; border-radius: 3px 0 0 0; overflow: hidden; }
.lesson-photo img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.lesson-photo figcaption { padding: .65rem .9rem; line-height: 1.4; font-size: .9rem; }
.lesson.interactive .lesson-visual { align-content: stretch; }
.lesson.interactive .lesson-photo { min-height: 17.5rem; display: flex; flex-direction: column; }
.lesson.interactive .lesson-photo img { flex: 1 1 0; min-height: 0; height: 100%; aspect-ratio: auto; }
.lesson-copy { padding: clamp(1rem, 2.5vw, 2rem); min-width: 0; }
.card-title { margin: 0; font: 550 clamp(1.52rem, 2.6vw, 2.15rem)/1.12 var(--display); letter-spacing: -.025em; }
.shift-options { display: none; margin-top: 1rem; }
.interactive .shift-options { display: flex; flex-wrap: wrap; gap: .38rem; }
.lesson:not(.interactive) .lesson-card + .lesson-card { border-top: 1px solid var(--rule); }
.card-label { font-size: .83rem; font-weight: 700; color: var(--accent-deep); margin-bottom: .55rem; }
.card-body { margin-top: .7rem; color: var(--muted); max-width: 56ch; font-size: clamp(1rem, 1.35vw, 1.125rem); line-height: 1.6; }
.practice { margin-top: 1.2rem; }
.practice > p:first-child { margin-bottom: .55rem; font-weight: 700; }
.choices { display: grid; gap: .5rem; }
.choice { display: none; color: var(--ink); background: var(--panel); border: 1px solid var(--rule); border-radius: 2px; padding: .55rem .85rem; min-height: 46px; text-align: start; transition: background .2s ease, border-color .2s ease; }
.interactive .choice { display: flex; align-items: center; gap: .7rem; }
.choice::before { content: ""; width: .7rem; height: .7rem; flex: 0 0 .7rem; border: 1px solid #817b8b; border-radius: 50%; }
.choice:hover { border-color: var(--accent); }
.choice[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.choice[aria-pressed="true"]::before { background: var(--accent); border-color: var(--accent); }
.choice-feedback { margin-top: .65rem; padding: .6rem .72rem; background: var(--paper-deep); border-radius: 3px; font-size: .91rem; }
.choice-feedback:empty { margin: 0; padding: 0; }
.choice-feedback.correct { color: var(--sage-deep); background: var(--sage); }
.interactive .answer-without-script { display: none; }
.answer-without-script, .narration { margin-top: 1rem; }
.narration summary, .answer-without-script summary { color: var(--accent-deep); cursor: pointer; width: fit-content; padding-block: .5rem; font-size: .9rem; min-height: 44px; }
.narration p, .answer-without-script p { font-size: .94rem; color: var(--muted); }
.narration p + p { margin-top: .55rem; }
.evidence-list { padding: 0; margin: 1.3rem 0 0; list-style: none; border-top: 1px solid var(--rule); }
.evidence-list li { padding-block: .5rem; border-bottom: 1px solid var(--rule); display: flex; gap: .25rem 1rem; justify-content: space-between; flex-wrap: wrap; font-size: .91rem; }
.evidence-list li > span { color: var(--muted); }
.evidence-list a, .module-detail a { color: var(--accent-deep); }
.lesson-footer { display: flex; gap: .6rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); padding: .75rem clamp(.72rem, 4vw, 1.6rem); }
.lesson-progress { display: grid; gap: .25rem; flex: 0 1 8rem; }
.lesson-position { font-size: .86rem; font-variant-numeric: tabular-nums; color: var(--muted); text-align: center; }
.lesson-progress progress { display: block; inline-size: 100%; block-size: .28rem; appearance: none; border: 0; border-radius: 4px; background: var(--paper-deep); accent-color: var(--accent); }
.lesson-progress progress::-webkit-progress-bar { border-radius: 4px; background: var(--paper-deep); }
.lesson-progress progress::-webkit-progress-value { border-radius: 4px; background: var(--accent); }
.lesson-progress progress::-moz-progress-bar { border-radius: 4px; background: var(--accent); }
.lesson-complete { padding: clamp(1.5rem, 5vw, 3.6rem); }
.lesson-complete p { margin: .7rem 0 1.4rem; }

.course { padding-block: clamp(2.7rem, 5vw, 5rem); }
.course-intro { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .5rem 2rem; margin-bottom: clamp(1.15rem, 2.3vw, 2rem); }
.course-intro > p { color: var(--muted); max-width: 51ch; }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.55rem); align-items: start; }
.module { min-width: 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--panel); overflow: hidden; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.module summary { cursor: pointer; display: block; list-style: none; }
.module summary::-webkit-details-marker { display: none; }
.module summary:focus-visible { outline-offset: -4px; }
.module-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.module-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s var(--ease-out); }
.module-caption { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 7.2rem; padding: .8rem 1.05rem; }
.module summary:hover .module-title, .module[open] .module-title { color: var(--accent-deep); }
.module-title { display: block; font: 600 clamp(1.35rem, 2vw, 1.8rem)/1.12 var(--display); letter-spacing: -.027em; word-spacing: .035em; }
.module-label { display: block; color: var(--accent-deep); font-size: .78rem; font-weight: 700; margin-bottom: .22rem; }
.plus { flex: 0 0 2rem; height: 2rem; position: relative; border: 1px solid var(--rule); border-radius: 50%; transition: transform .24s ease, background .24s ease, border-color .24s ease; }
.plus::before, .plus::after { content: ""; position: absolute; display: block; width: 12px; height: 1px; left: calc(50% - 6px); top: 50%; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.module[open] .plus { background: var(--accent-soft); border-color: var(--accent-rule); }
.module[open] .plus::after { transform: none; }
.module-detail { border-top: 1px solid var(--rule); padding: .85rem 1.05rem 1rem; }
.module-detail p { margin-bottom: .55rem; }
.module-detail ul { margin: 0 0 .65rem; padding-left: 1.2rem; color: var(--muted); }
.module-checklist { margin: .85rem 0; padding: 0; border: 0; }
.module-checklist legend { padding: 0; font-weight: 700; color: var(--accent-deep); }
.module-checklist label { display: flex; align-items: center; gap: .55rem; min-height: 44px; border-bottom: 1px solid var(--rule); }
.module-checklist input { width: 1rem; height: 1rem; flex: 0 0 auto; margin: 0; accent-color: var(--accent); }
.action-roles { margin: .85rem 0 .5rem; }
.action-roles div { display: grid; gap: .08rem; margin-bottom: .55rem; }
.action-roles dt { font-weight: 700; }
.action-roles dd { margin: 0; color: var(--muted); }
.lesson-team .action-roles { font-size: .93rem; }

.faculty-band { color: var(--paper); background: var(--navy); }
.faculty-layout { padding-block: clamp(2.55rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: clamp(1.5rem, 5.5vw, 5rem); align-items: center; }
.faculty-layout .section-label { color: #f2b3c3; }
.faculty-band :focus-visible { outline-color: var(--paper); }
.faculty-portrait { width: 100%; max-width: 30rem; height: auto; border-radius: 4px; }
.faculty-copy h2 { text-wrap: initial; }
.faculty-copy h2 + p { margin-top: 1rem; max-width: 49ch; color: var(--hero-light); }
.site-footer { color: var(--hero-light); background: var(--navy); }
.footer-inner { padding-block: 1.7rem; display: grid; gap: 1.15rem 2rem; grid-template-columns: minmax(200px, 1fr) auto; align-items: center; }
.footer-inner .academy-logo { width: clamp(200px, 22vw, 268px); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; }
.footer-inner p { grid-column: 1 / -1; border-top: 1px solid rgb(248 233 237 / .24); padding-top: .9rem; font-size: .88rem; }
.site-footer :focus-visible { outline-color: var(--hero-light); }
.interest { display:grid; grid-template-columns: 1fr auto; gap: 1.4rem 3rem; align-items:center; padding-block:clamp(2.6rem,6vw,5.4rem); }
.interest p { margin-top:.7rem; }
.interest .interest-note { font-size:.88rem; color:var(--muted); }
.module-showcase { position: relative; background: var(--accent-soft); border-block: 1px solid var(--accent-rule); padding-block: clamp(2.45rem, 4.8vw, 4.4rem); }
.lesson-location { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 1px; height: 1px; pointer-events: none; }
.module-showcase h2 + p { margin-top: .7rem; }
.lesson-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; isolation: isolate; margin-top: clamp(1.05rem, 2vw, 1.7rem); }
.lesson-tab { position: relative; display: flex; align-items: center; gap: clamp(.55rem, 1.25vw, 1rem); min-height: 4.2rem; min-width: 0; overflow: hidden; padding: .45rem .7rem .45rem .45rem; border: 1px solid var(--accent-rule); border-radius: 4px; background: var(--panel); color: var(--accent-deep); font-weight: 600; line-height: 1.2; text-decoration: none; transition: transform .22s ease, background .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease; }
.lesson-tab[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: var(--panel); box-shadow: 0 4px 9px rgb(59 28 56 / .15); }
.lesson-tab-image { display: block; flex: 0 0 clamp(2.85rem, 7.2vw, 6.25rem); height: clamp(2.85rem, 5.5vw, 4.1rem); overflow: hidden; border-radius: 2px; background: var(--navy); }
.lesson-tab-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s var(--ease-out); }
.lesson-completion-actions { display:flex; flex-wrap:wrap; gap:.65rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button:not(:disabled):active { transform: scale(.98); transition-duration: .12s; }
  .hero-copy {
    opacity: var(--hero-copy-opacity, 1);
    transform: translateY(var(--hero-copy-offset, 0px));
  }
  .hero-copy.is-faded { pointer-events: none; }
  .hero-copy:has(:focus-visible) { opacity: 1; transform: none; pointer-events: auto; }
  .lesson.interactive .lesson-card:not([hidden]), .lesson.interactive .lesson-complete:not([hidden]) { animation: enter .24s var(--ease-out) both; }
  .lesson-photo[data-shift-view]:not([hidden]) { animation: scene-in .2s var(--ease-out); }
  @keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes scene-in { from { opacity: .64; } to { opacity: 1; } }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgb(59 28 56 / .16); }
  .button:not(:disabled):hover [aria-hidden="true"] { transform: translateX(3px); }
  .module:not([open]):hover { transform: translateY(-2px); border-color: var(--accent-rule); box-shadow: 0 6px 14px rgb(59 28 56 / .10); }
  .module summary:hover .module-image img { transform: scale(1.035); }
  .module:not([open]) summary:hover .plus { transform: rotate(12deg); background: var(--accent-soft); border-color: var(--accent-rule); }
  .lesson-tab:not([aria-selected="true"]):hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 7px 14px rgb(59 28 56 / .13); }
  .lesson-tab:hover .lesson-tab-image img { transform: scale(1.11); }
  .sample-index button:hover, .shift-options button:hover { transform: translateY(-2px); }
}
@media (max-width: 920px) {
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .lesson-card { grid-template-columns: minmax(0, 1fr); }
  .lesson.interactive .lesson-photo { min-height: 0; }
  .lesson.interactive .lesson-photo img { flex: none; height: auto; aspect-ratio: 2.05; object-position: center 43%; }
  .header-content { min-height: 65px; padding-block:.65rem; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content:flex-start; flex-wrap:wrap; }
  .interest, .footer-inner { grid-template-columns: minmax(0,1fr); }
  .header-content .button { font-size: .85rem; padding-inline: .67rem; }
  .story, .faculty-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { display: block; min-height: 0; padding-block: 2rem 1.45rem; }
  .hero-copy { max-width: 36rem; }
  h1 { font-size: clamp(2.61rem, 9.4vw, 4.9rem); }
  .hero-media { position: relative; height: clamp(14rem, 56vw, 21rem); }
  .hero-media img, .hero-motion { object-position: center 51%; }
  .hero-media::after { background: linear-gradient(180deg, rgb(16 21 35 / .68), transparent 32%); }
  .lede { margin-top: 1rem; }
  .story { gap: 1.35rem; padding-block: 3.05rem; }
  .story-intro { position: static; }
  .faculty-layout { row-gap: 1.1rem; }
}
@media (max-width: 540px) {
  .header-interest { display:none; }
  .modules { grid-template-columns: minmax(0, 1fr); }
  .module-caption { min-height: 5.2rem; }
  .lesson-tabs { gap: .38rem; }
  .lesson-tab { flex-direction: column; align-items: stretch; text-align: center; justify-content: start; gap: .38rem; padding: .25rem .25rem .45rem; font-size: .8rem; }
  .lesson-tab-image { flex: none; height: clamp(2rem, 10vw, 3.4rem); }
}
@media (max-width: 390px) {
  .lesson-footer .button { padding-inline: .6rem; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.waitlist-panel { background:var(--accent-soft); padding-block:clamp(2.8rem,5vw,5rem); }
.waitlist-layout { display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.5rem,6vw,6rem); align-items:center; }
.waitlist-layout h2 + p { margin-top:.75rem; max-width:44ch; }
.waitlist-layout label { display:block; font-weight:600; margin-bottom:.35rem; }
.signup-controls { display:flex; flex-wrap:wrap; gap:.55rem; }
.signup-controls input { flex:1 1 10rem; min-width:0; padding:.7rem; border:1px solid var(--muted); border-radius:3px; font:inherit; color:var(--ink); background:white; }
.consent { font-size:.88rem; margin-top:.6rem; }
#signup-result:not(:empty) { margin-top:.6rem; font-weight:600; }
.topic-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:1rem; padding:0; margin:1.5rem 0 0; list-style:none; }
.topic-grid li { background:var(--panel); border:1px solid var(--rule); border-radius:4px; overflow:hidden; }
.topic-grid img { width:100%; height:auto; aspect-ratio:2.1; object-fit:cover; }
.topic-grid h3 { font-size:1.2rem; padding:1rem; }
@media (max-width:700px) { .waitlist-layout { grid-template-columns:1fr; } }

.audience { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(1.5rem,6vw,5.5rem); align-items:start; padding-block:clamp(2.8rem,5.5vw,5.5rem); }
.audience-intro p { max-width:37ch; margin-top:1rem; color:var(--muted); }
.audience-roles { background:var(--panel); border:1px solid var(--rule); border-radius:5px; }
.audience-role + .audience-role { border-top:1px solid var(--rule); }
.audience-role summary { display:flex; align-items:center; gap:1rem; padding:.7rem 1rem; cursor:pointer; font-size:clamp(1rem,1.7vw,1.25rem); font-weight:600; line-height:1.25; list-style:none; }
.audience-role summary::-webkit-details-marker { display:none; }
.audience-role summary img { width:3.7rem; height:2.7rem; object-fit:cover; border-radius:3px; }
.audience-role[open] { background:var(--accent-soft); }
.audience-role[open] summary { color:var(--accent-deep); }
.audience-role p { padding:0 2rem 1.2rem 5.7rem; max-width:60ch; line-height:1.55; }
.audience-chevron { flex:none; width:.58rem; height:.58rem; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin-inline:auto .3rem; }
.audience-role[open] .audience-chevron { transform:rotate(225deg); }
@media (hover:hover) { .audience-role summary:hover { color:var(--accent-deep); background:var(--accent-soft); } }
@media (max-width:750px) {
  .audience { grid-template-columns:minmax(0,1fr); }
  .audience-intro p { max-width:54ch; }
  .audience-role p { padding-inline:1rem; }
}

#signup-role { display:block; width:100%; min-height:46px; padding:.6rem .7rem; font:inherit; color:var(--ink); border:1px solid var(--muted); border-radius:3px; background:white; }
.optional { color:var(--muted); font-weight:400; }
.role-hint { margin:.3rem 0 .9rem; }
.topic-grid { align-items:start; }
.topic summary { cursor:pointer; list-style:none; }
.topic summary::-webkit-details-marker { display:none; }
.topic summary:focus-visible { outline-offset:-4px; }
.topic-media { display:block; position:relative; overflow:hidden; }
.topic-media video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; pointer-events:none; }
.topic-media video.has-frame { opacity:1; }
.topic-heading { display:flex; align-items:center; justify-content:space-between; gap:.8rem; min-height:3.8rem; padding:.9rem 1rem; font-size:1.2rem; font-weight:600; line-height:1.2; }
.topic-mark { color:var(--accent-deep); flex:none; font-size:1.35rem; }
.topic-mark::after { content:'+'; }
.topic[open] .topic-mark::after { content:'−'; }
.topic[open] .topic-heading { color:var(--accent-deep); }
.topic-body { padding:0 1rem 1rem; font-size:.96rem; }
.topic-body p+p { margin-top:.7rem; }

@media (min-width:920px) { .topic-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
