/* V1 acceptance refinements. Retain the existing layout and brand system. */
.hero { padding-top: 64px; min-height: 690px; }
.hero-description { max-width: 435px; }
.hero-baseline { margin-top: 35px; }
.section-space { padding-block: 94px; }
.experience { padding-top: 74px; }
.site-header .nav-cta, .switch-button, .art-trigger { min-height: 44px; }
.hero-baseline a { min-width: 44px; }
.universe-node { min-width: 44px; }
.chapter { padding-block: 35px; }
.philosophy .section-shell > h2 { font-size: clamp(38px, 4vw, 54px); }
.philosophy-line { margin-top: 42px; }
.philosophy-note { margin-top: 28px; }
.remix-preview { min-height: 390px; }
.remix-parts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.remix-parts .button { font-size: 12px; min-height: 44px; padding: 10px 15px; }
.remix-parts [aria-pressed="true"], .remix-options [aria-pressed="true"] { border-color: #91dbe8; background: #253d50; }
.remix-groups { margin: 25px 0; }
.remix-group b, .remix-group i { transition: opacity .18s, box-shadow .18s; }
.focus-x .remix-group i, .focus-units .remix-group b { opacity: .28; }
.focus-x .remix-group b { text-shadow: 0 0 12px #64dce844; }
.focus-units .remix-group i { box-shadow: 0 0 10px #a184ff55; }
.remix-preview .remix-feedback { font-size: 14px; min-height: 44px; color: #c1d9ed; line-height: 1.7; }
.remix-feedback.correct { color: #97e2bf; }
.remix-formula { font-size: 24px; }
.story-bags { gap: 12px; }
.story-bag { flex: 1 1 0; min-width: 0; max-width: 150px; min-height: 100px; border: 1px solid #8d79ba; border-radius: 12px 12px 24px 24px; background: #292641; padding: 13px 8px; }
.story-bag > span { display: block; padding: 0; border: 0; background: transparent; color: #cdbbff; font-size: 21px; white-space: nowrap; }
.story-bag small { display: block; color: #c3b8d7; font-size: 11px; margin-top: 10px; }
.story-bag.opened { background: #35304e; border-color: #c8adff; }
.discovery-tally { border-top: 1px solid #3c576f; margin-top: 26px; padding-top: 20px; }
.discovery-tally > span { display: block; color: #a8bfd6; font-size: 12px; text-align: center; }
.discovery-tally > div { display: flex; align-items: center; justify-content: center; gap: 45px; margin-top: 13px; }
.discovery-tally b { display: block; font-size: 22px; font-weight: 500; text-align: center; }
.discovery-tally b > span { display: block; font-size: 11px; color: #b8cde2; margin-top: 5px; }
.tally-x { color: #9aebf1; }
.tally-units { color: #c4b0ff; }
.just-revealed { animation: tokenReveal .3s ease-out; }
.substitution-check { display: block; margin-block: 8px; color: #f7ddc9; font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
.result-bridge { font-size: 13px; line-height: 1.7; max-width: 470px; margin: 26px auto 0; color: #c1d1e4; }
.answer-row input[aria-invalid="true"], .field [aria-invalid="true"] { border-color: #f5ae95; }
#clear-enquiry { min-height: 44px; font-size: 12px; padding-inline: 0; }
#open-draft:not([href]) { pointer-events: none; }
#email-draft { overflow-wrap: anywhere; }
.section-shell, .remix-preview, .parent-report, .pilot-form-wrap, .chapter-copy, .universe-instrument { min-width: 0; }
.footer-links a { min-height: 44px; overflow-wrap: anywhere; }

@media (min-width: 1600px) { .hero { padding-top: 84px; min-height: 720px; } }
@media (max-width: 1059px) {
  .site-header nav { max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; }
  .hero { min-height: 670px; }
}
@media (max-width: 767px) {
  .hero { padding-top: 38px; min-height: 0; }
  .hero-description { font-size: 16px; }
  .hero-actions .text-link { min-height: 44px; }
  .hero-observatory { margin-top: 25px; }
  .hero-baseline { margin-top: 0; grid-template-columns: 1fr 44px; }
  .hero-baseline a { width: 44px; }
  .hero-baseline span { line-height: 1.7; }
  .section-space { padding-block: 60px; }
  .site-header nav { max-height: calc(100dvh - 76px); }
  .philosophy .section-shell > h2 { font-size: 36px; }
  .philosophy-line { margin-top: 36px; }
  .remix-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .remix-tab { min-width: 0; min-height: 48px; line-height: 1.5; white-space: normal; }
  .remix-tab:last-child { grid-column: 1 / -1; }
  .remix-preview { padding-inline: 18px; }
  .remix-formula { font-size: 21px; line-height: 1.4; }
  .remix-preview .remix-feedback { font-size: 13px; }
  .remix-calculation { font-size: 18px !important; }
  .remix-parts { gap: 8px; }
  .remix-parts .button { flex: 1; padding-inline: 8px; }
  .story-bag { padding-inline: 5px; min-height: 102px; }
  .story-bag > span { font-size: 16px; }
  .story-bag small { font-size: 11px; }
  .discovery-tally > div { gap: 25px; }
  .discovery-tally b { font-size: 20px; }
  .demo-lead, .demo-entry > p { font-size: 14px; }
  .demo-stage.step-entry { padding-bottom: 22px; }
  .demo-bottom .small { font-size: 11px; }
  .group-label { font-size: 9px; }
  .universe-node { max-width: 106px; min-height: 66px; font-size: 11px; }
  .node-0 { left: 19%; }
  .node-2 { left: 80%; }
  .constellation { height: 320px; }
  .universe-logo { top: 122px; }
  .courses { grid-template-columns: 1fr; gap: 17px; }
  .courses strong { font-size: 13px; }
  .courses > span { font-size: 12px; }
  .founder-names { flex-wrap: wrap; }
  .pilot-copy .pilot-age { font-size: 13px !important; }
  .consent { padding-block: 10px; min-height: 44px; }
  .form-disclosure, .pilot-retention { font-size: 12px; }
  #pilot-confirmation .button-row { display: grid; grid-template-columns: 1fr; }
  #pilot-confirmation .button-row .button { width: 100%; }
  .faq summary { font-size: 15px; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 44px; }
  .hero .eyebrow { font-size: 9px; max-width: 250px; }
  .hero-actions { width: 100%; }
  .hero-actions .primary { width: 100%; }
  .mini-group { width: 72px; }
  .sculpture-groups { gap: 10px; }
  .section-heading h2, .parents h2, .universe h2 { font-size: 32px; }
  .demo-title { font-size: 24px; }
  .comparison { grid-template-columns: 1fr 18px 1fr; gap: 6px; }
  .comparison-half { padding-inline: 6px; }
  .comparison-half > strong { font-size: 21px; }
  .comparison-half > span { font-size: 10px; min-height: 45px; }
  .computed-value { font-size: 46px; }
  .discovery-tally > div { gap: 19px; }
  .discovery-tally b { font-size: 18px; }
  .remix-preview { padding-inline: 16px; }
  .story-bags { gap: 7px; }
  .story-bag > span { font-size: 15px; }
  .remix-groups { gap: 7px; }
  .remix-group { padding-inline: 7px; }
  .universe-node { max-width: 94px; }
  .parent-report { padding: 24px 20px; }
  .parent-question { margin-inline: -20px; margin-bottom: -24px; }
  .parent-question strong { font-size: 21px; }
  .footer-top { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .just-revealed, .just-opened .tokens { animation: none; }
  .remix-group b, .remix-group i { transition: none; }
}

.interaction-load-error { border: 1px solid #795c58; background: #312426; color: #f3d5c7; border-radius: 6px; padding: 16px; margin: 20px auto; max-width: 640px; font-size: 14px; }

/* V2: a shorter route to the idea, with evidence attached to the concept tested. */
.site-header .nav-cta { background: transparent; color: #d3e4ef; border: 1px solid #41566d; }
.hero { min-height: 600px; padding-top: 58px; }
.hero-description { max-width: 475px; line-height: 1.75; }
.hero-baseline { margin-top: 28px; padding-block: 19px; }
.hero-observatory { height: 450px; padding-top: 18px; }
.hero .art-orbital { width: 142px; height: 140px; }
.hero .art-orbital img { width: 142px; height: 140px; }
.hero .art-trigger { margin-top: 26px; }
.hero .orbit-coordinate { display: none; }
.experience { padding-top: 54px; }
.experience .section-heading { margin-bottom: 32px; }
.how .split-heading { margin-bottom: 35px; }
.chapters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.chapter { display: flex; flex-direction: column; padding: 32px 26px 28px 0; gap: 16px; border-bottom: 0; }
.chapter + .chapter { padding-left: 26px; border-left: 1px solid var(--line); }
.chapter-index { font-size: 12px; color: #9eafc8; }
.chapter-copy h3 { font-size: 34px; }
.chapter-lead { font-size: 17px; }
.chapter-copy .muted { font-size: 14px; }
.chapter-diagram { padding: 22px 0; margin-top: auto; border-bottom: 0; }
.diagram-formula { font-size: 19px; overflow-wrap: anywhere; }
.diagram-caption { font-size: 12px; }
.founders { padding-top: 48px; }
.founders-grid { align-items: start; }
.founders-grid h3 { max-width: 440px; font-size: clamp(28px,3vw,38px); }
.founder-names { display: grid; grid-template-columns: 1fr; gap: 0; }
.founder-names p { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.founder-names p:first-child { padding-top: 0; }
.founder-names strong { font-family: var(--display); font-size: 23px; }
.founder-names span { margin-top: 8px; font-size: 13px; color: #b4c3db; }
.expression-answer input { min-width: 0; flex: 1; width: 100%; font-size: 20px; }
.answer-format { margin-top: 12px; max-width: 560px; }
.attempt-history { margin-top: 22px; border-top: 1px solid var(--line); text-align: left; }
.attempt-history summary { min-height: 44px; padding-block: 12px; cursor: pointer; font-size: 13px; color: #c4d1e3; }
.attempt-history ol { list-style: none; padding: 0; margin: 0; }
.attempt-history li { display: flex; gap: 14px; padding: 8px 0; font-size: 13px; color: #c4d1e3; }
.attempt-history li span { min-width: 22px; color: #9de7ee; }
.result-view h3 { font-size: clamp(32px,4vw,50px); text-wrap: balance; }
.result-reasoning { display: flex; align-items: center; justify-content: center; gap: 32px; margin: 32px 0 0; }
.result-reasoning div { min-width: 90px; border-bottom: 1px solid #44718a; padding-bottom: 12px; }
.result-reasoning small { display: block; font-size: 14px; color: #bbcee6; }
.result-reasoning strong { display: block; color: #99e9ef; font-size: 42px; line-height: 1.25; margin-top: 10px; font-weight: 500; }
.result-reasoning div:last-child strong { color: #c5afff; }
.result-view .result-equation { font-size: 17px; }
.evidence-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.evidence-facts dt { color: #afc3dc; font-size: 12px; }
.evidence-facts dd { color: #e9f3ff; font-size: 17px; margin: 4px 0 0; }
.result-view > .button.ghost { margin-top: 12px; }
.equation-success { text-align: center; padding: 24px; color: #a9e8c8; font-size: 27px; }
.step-equation .main-equation { padding-block: 36px; }
#demo-title { scroll-margin-top: 130px; }
summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
@media (min-width: 1600px) { .hero { min-height: 640px; padding-top: 64px; } }
@media (max-width: 1059px) {
  .hero { min-height: 580px; }
  .hero-observatory { height: 430px; }
  .chapters { grid-template-columns: 1fr; }
  .chapter, .chapter + .chapter { display: grid; grid-template-columns: 30px 1.2fr 1fr; padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); gap: 20px; }
}
@media (max-width: 767px) {
  .hero { padding-top: 32px; min-height: 0; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(44px,10.8vw,62px); }
  .hero-description { margin-top: 20px; font-size: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-observatory { height: 305px; margin-top: 26px; padding-top: 5px; }
  .hero .art-orbital, .hero .art-orbital img { width: 82px; height: 80px; }
  .hero .art-orbital { margin-bottom: 4px; }
  .hero .sculpture-equation { font-size: 44px; }
  .hero .sculpture-groups { margin-top: 16px; }
  .hero .mini-group { height: 45px; width: 76px; }
  .hero .mini-group b { height: 27px; }
  .hero .art-trigger { margin-top: 21px; }
  .hero .art-caption { font-size: 11px; }
  .hero .orbit { top: 10px; height: 230px; }
  .hero .orbit-three { height: 285px; }
  .hero .star-a { top: 75px; }
  .hero .star-b { top: 200px; }
  .hero-baseline { margin-top: 10px; }
  .experience { padding-top: 35px; }
  .experience .section-heading > p { font-size: 14px; }
  .chapter, .chapter + .chapter { grid-template-columns: 24px 1fr; gap: 14px; }
  .chapter-diagram { grid-column: 2; justify-self: stretch; padding-block: 18px 0; }
  .chapter-copy h3 { font-size: 30px; }
  .founders { padding-top: 36px; }
  .founder-names strong { font-size: 21px; }
  .expression-answer input { width: 100% !important; flex-basis: 100%; font-size: 18px; }
  .answer-format { font-size: 12px; }
  .result-reasoning { gap: 22px; margin-top: 25px; }
  .result-reasoning strong { font-size: 36px; }
  .result-type { font-size: 10px; line-height: 1.7; max-width: 100%; white-space: normal; }
  .result-view .demo-next { gap: 12px; }
  .evidence-facts { gap: 16px 12px; }
  .step-equation .main-equation { font-size: 34px; padding-block: 28px; }
  #demo-title { scroll-margin-top: 110px; }
}
