
    /* Local variable font; the page uses no external font or CDN. */
    @font-face {
      font-family: 'Vazirmatn';
      src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2');
      font-style: normal;
      font-weight: 100 900;
      font-display: swap;
    }

    .svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

    :root {
      --ink-0: #031014;
      --ink-1: #06171d;
      --ink-2: #0a2228;
      --ink-3: #103138;
      --paper: #f5ecdc;
      --paper-soft: #eee1cb;
      --paper-deep: #ddcdb3;
      --ivory: #f4efe5;
      --muted: #a7b9b3;
      --quiet: #7e9690;
      --mint: #96efda;
      --mint-strong: #70d6c0;
      --mint-deep: #0f5f5c;
      --amber: #e9bd80;
      --danger: #ff9e8a;
      --focus-dark: #0a4443;
      --ease: cubic-bezier(.22, 1, .36, 1);
      --ease-soft: cubic-bezier(.4, 0, .2, 1);
      --radius-card: 18px;
      --radius-dialog: 26px;
      --page-pad: clamp(20px, 4.6vw, 72px);
      --header-h: 76px;
      --font: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
    }

    *,
    *::before,
    *::after { box-sizing: border-box; }

    [hidden] { display: none !important; }

    html {
      background: var(--ink-0);
      overflow-x: clip;
      scroll-behavior: auto;
      scrollbar-gutter: stable;
      color-scheme: dark;
    }

    body {
      margin: 0;
      min-width: 320px;
      overflow-x: clip;
      background: var(--ink-0);
      color: var(--ivory);
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    button,
    input { font: inherit; }

    button,
    a { -webkit-tap-highlight-color: transparent; }

    button { color: inherit; }

    a { color: inherit; }

    svg { display: block; }

    ::selection {
      background: var(--mint);
      color: var(--ink-0);
    }

    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: var(--ink-0); }
    ::-webkit-scrollbar-thumb {
      border: 3px solid var(--ink-0);
      border-radius: 999px;
      background: #34534f;
    }

    @media (max-width: 1023px) {
      html { scrollbar-gutter: auto; }
      ::-webkit-scrollbar { width: 0; height: 0; }
    }

    :focus-visible {
      outline: 2px solid var(--mint);
      outline-offset: 4px;
    }

    main:focus { outline: none; }

    .sr-only {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0, 0, 0, 0) !important;
      white-space: nowrap !important;
      border: 0 !important;
    }

    .skip-link {
      position: fixed;
      z-index: 100;
      top: 12px;
      left: 50%;
      min-height: 44px;
      padding: 10px 18px;
      border-radius: 999px;
      background: var(--paper);
      color: var(--ink-0);
      font-size: .86rem;
      font-weight: 700;
      text-decoration: none;
      transform: translate(-50%, -160%);
      transition: transform .25s var(--ease);
    }

    .skip-link:focus { transform: translate(-50%, 0); }

    .icon {
      width: 18px;
      height: 18px;
      flex: none;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Header */
    .site-header {
      position: fixed;
      z-index: 20;
      inset-block-start: 0;
      inset-inline: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      min-height: var(--header-h);
      padding: 16px var(--page-pad);
      pointer-events: none;
    }

    .site-header::before {
      content: '';
      position: absolute;
      z-index: -1;
      inset: 0 0 -38px;
      background: linear-gradient(to bottom, rgba(3, 16, 20, .93), rgba(3, 16, 20, .45) 55%, transparent);
      pointer-events: none;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      min-height: 44px;
      color: var(--ivory);
      text-decoration: none;
      pointer-events: auto;
    }

    .brand__mark {
      width: 27px;
      height: 29px;
    }

    .brand__name {
      font-size: 1.05rem;
      font-weight: 750;
      letter-spacing: -.03em;
      line-height: 1;
    }

    .brand__badge {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 2px 9px;
      border: 1px solid rgba(150, 239, 218, .26);
      border-radius: 999px;
      background: rgba(9, 39, 41, .48);
      color: var(--mint);
      font-size: .65rem;
      font-weight: 550;
      line-height: 1.5;
      white-space: nowrap;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      pointer-events: auto;
    }

    .quiet-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 44px;
      padding: 8px 15px;
      border: 1px solid rgba(231, 245, 239, .15);
      border-radius: 999px;
      background: rgba(5, 22, 27, .78);
      color: var(--muted);
      font-size: .8rem;
      font-weight: 550;
      cursor: pointer;
      transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
    }

    .quiet-button:hover {
      border-color: rgba(150, 239, 218, .35);
      color: var(--ivory);
      background: rgba(10, 39, 42, .68);
    }

    .quiet-button .icon { width: 16px; height: 16px; }

    .scroll-progress {
      position: fixed;
      z-index: 30;
      inset-block-start: 0;
      inset-inline: 0;
      height: 2px;
      background: rgba(244, 239, 229, .08);
      pointer-events: none;
    }

    .scroll-progress span {
      display: block;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, var(--mint-strong), #d9fff5);
      transform: scaleX(0);
      transform-origin: right center;
    }

    /* Pinned story stage */
    .journey {
      position: relative;
      height: 620vh;
      height: 620svh;
    }

    .stage {
      position: sticky;
      top: 0;
      height: 100vh;
      height: 100svh;
      height: 100dvh;
      overflow: hidden;
      isolation: isolate;
      background:
        radial-gradient(120% 95% at 19% 30%, #0d3334 0%, rgba(7, 27, 31, 0) 58%),
        linear-gradient(145deg, #041318 0%, #061a1e 50%, #041114 100%);
    }

    .stage-content {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    /* Atmosphere */
    .backdrop {
      position: absolute;
      z-index: 0;
      inset: 0;
      overflow: hidden;
      background:
        url("../img/stars.svg") center top / 880px 880px repeat,
        radial-gradient(90% 74% at 18% 32%, rgba(21, 78, 75, .5), transparent 68%),
        radial-gradient(80% 64% at 88% 84%, rgba(45, 66, 48, .18), transparent 70%),
        linear-gradient(140deg, #041319 0%, #06191d 46%, #041014 100%);
    }

    .ambient-glow {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .ambient-glow--north {
      top: -19vh;
      left: 3vw;
      width: 58vw;
      height: 52vw;
      max-width: 880px;
      max-height: 760px;
      background: radial-gradient(circle, rgba(75, 175, 158, .19), rgba(20, 83, 78, .04) 52%, transparent 70%);
    }

    .ambient-glow--east {
      right: -16vw;
      bottom: -28vh;
      width: 58vw;
      height: 52vw;
      background: radial-gradient(circle, rgba(205, 153, 90, .16), rgba(83, 89, 44, .04) 54%, transparent 72%);
    }

    .ambient-glow--horizon {
      left: 16%;
      bottom: -48vh;
      width: 64vw;
      height: 56vw;
      background: radial-gradient(ellipse, rgba(107, 206, 183, .17), rgba(21, 65, 64, .06) 43%, transparent 70%);
    }
.grid-field {
      position: absolute;
      inset: -14% -8%;
      background-image: radial-gradient(rgba(192, 236, 225, .26) .65px, transparent .8px);
      background-size: 46px 46px;
      opacity: .17;
      -webkit-mask-image: radial-gradient(ellipse at 31% 48%, #000 4%, transparent 66%);
      mask-image: radial-gradient(ellipse at 31% 48%, #000 4%, transparent 66%);
      pointer-events: none;
    }
.stage-vignette {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to bottom, rgba(3, 16, 20, .56), transparent 16%, transparent 76%, rgba(3, 14, 18, .72)),
        radial-gradient(ellipse at 44% 48%, transparent 38%, rgba(2, 12, 15, .44) 100%);
      pointer-events: none;
    }

    .stage-edge {
      position: absolute;
      inset: 0;
      border: 1px solid rgba(213, 244, 235, .05);
      pointer-events: none;
    }

    /* Hero */
    .hero {
      position: absolute;
      z-index: 4;
      inset: 0;
      pointer-events: none;
    }

    .hero-copy {
      position: absolute;
      inset-block-start: clamp(124px, 17.5vh, 178px);
      inset-inline-start: var(--page-pad);
      width: min(46vw, 680px);
      opacity: 1;
    }

    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin: 0 0 clamp(16px, 2.2vh, 24px);
      color: var(--mint);
      font-size: .76rem;
      font-weight: 550;
      letter-spacing: .015em;
    }

    .kicker::before {
      content: '';
      width: clamp(24px, 2.7vw, 42px);
      height: 1px;
      background: currentColor;
      opacity: .65;
    }

    .hero h1 {
      max-width: 100%;
      margin: 0;
      color: var(--ivory);
      font-size: clamp(2.9rem, 5.2vw, 5.35rem);
      font-weight: 800;
      line-height: 1.17;
      letter-spacing: -.043em;
      text-wrap: balance;
    }

    .hero h1 span {
      display: block;
      color: var(--mint);
    }

    @media (min-width: 1024px) {
      .hero h1 span { white-space: nowrap; }
    }

    .hero-lead {
      max-width: 34em;
      margin: clamp(20px, 3vh, 30px) 0 0;
      color: #b4c4be;
      font-size: clamp(1.02rem, 1.22vw, 1.18rem);
      font-weight: 350;
      line-height: 1.95;
    }

    .hero-actions {
      margin-top: clamp(26px, 4.2vh, 42px);
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      min-height: 56px;
      padding-block: 8px;
      padding-inline-start: 24px;
      padding-inline-end: 9px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-size: .95rem;
      font-weight: 700;
      line-height: 1.5;
      text-decoration: none;
      cursor: pointer;
      pointer-events: auto;
      transition: transform .32s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .32s var(--ease);
    }

    .button:hover { transform: translateY(-2px); }
    .button:active { transform: translateY(0) scale(.985); }

    .button--paper {
      min-width: 198px;
      background: var(--paper);
      color: var(--ink-0);
      box-shadow: 0 16px 42px rgba(0, 0, 0, .22), inset 0 -1px 0 rgba(52, 61, 46, .15);
    }

    .button--paper:hover {
      background: var(--mint);
      box-shadow: 0 20px 52px rgba(0, 0, 0, .28), 0 0 0 1px rgba(150, 239, 218, .25);
    }

    .button__icon {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--ink-0);
      color: var(--paper);
      transition: transform .32s var(--ease), background-color .25s var(--ease);
    }

    .button:hover .button__icon { transform: translateX(-3px); }
    .button__icon .icon { width: 17px; height: 17px; }

    .hero-note {
      margin: 14px 0 0;
      padding-inline-start: 4px;
      color: var(--quiet);
      font-size: .74rem;
      font-weight: 350;
    }

    /* The floating study world */
    .world {
      position: absolute;
      z-index: 2;
      inset: 0;
      perspective: 1300px;
      transform-style: preserve-3d;
      transform: translate3d(calc(var(--look-x, 0) * -14px), calc(var(--look-y, 0) * -9px), 0);
      opacity: 0;
      transition: opacity .9s var(--ease);
      pointer-events: none;
    }

    .world.is-ready { opacity: 1; }

    .orbit-deco {
      position: absolute;
      top: 50%;
      left: 30%;
      width: min(72vw, 980px);
      aspect-ratio: 1;
      border: 1px solid rgba(150, 239, 218, .12);
      border-radius: 50%;
      transform: translate(-50%, -50%) rotateX(70deg) rotateZ(-13deg);
      transform-style: preserve-3d;
    }

    .orbit-deco--wide {
      width: min(91vw, 1240px);
      border-color: rgba(203, 238, 228, .08);
      border-style: dashed;
      transform: translate(-50%, -50%) rotateX(67deg) rotateZ(17deg);
    }

    .orbit-deco--small {
      width: min(42vw, 580px);
      border-color: rgba(150, 239, 218, .13);
      transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-27deg);
    }

    .orbit-spark {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--mint);
      box-shadow: 0 0 12px rgba(150, 239, 218, .75), 0 0 34px rgba(150, 239, 218, .3);
      opacity: .72;
    }

    .orbit-spark--a { top: 15%; right: 20%; }
    .orbit-spark--b { bottom: 19%; left: 17%; width: 3px; height: 3px; opacity: .45; }
    .orbit-spark--c { top: 52%; left: 8%; width: 2px; height: 2px; opacity: .38; }

    .fragment {
      position: absolute;
      top: 50%;
      left: 50%;
      transform-style: preserve-3d;
      opacity: 0;
    }

    /* Open study notes */
    .fragment--book { width: clamp(255px, 25vw, 382px); z-index: 3; will-change: transform, opacity; }

    .book {
      position: relative;
      width: 100%;
      aspect-ratio: 1.58 / 1;
      transform-style: preserve-3d;
    }

    .book::before {
      content: '';
      position: absolute;
      z-index: -2;
      right: 4%;
      bottom: -17%;
      left: 4%;
      height: 42%;
      border-radius: 50%;
      background: radial-gradient(ellipse, rgba(0, 0, 0, .53), transparent 68%);
      transform: rotateX(75deg);
    }

    .book__cover {
      position: absolute;
      z-index: -1;
      inset: 5% 0 -4% 0;
      border: 1px solid rgba(197, 224, 210, .13);
      border-radius: 5px 14px 14px 5px;
      background: linear-gradient(145deg, #184b49 0%, #0c2e31 58%, #071d22 100%);
      box-shadow: 0 30px 60px rgba(0, 0, 0, .36);
      transform: translate3d(-7px, 13px, -18px) rotateZ(1.5deg);
    }

    .book__page {
      position: absolute;
      top: 0;
      width: 51%;
      height: 100%;
      overflow: hidden;
      background:
        radial-gradient(120% 80% at 24% 10%, rgba(255, 251, 240, .9), transparent 48%),
        linear-gradient(145deg, var(--paper) 0%, #eadcc5 100%);
      color: #172a29;
      box-shadow: 0 22px 48px rgba(0, 0, 0, .31);
      transform-style: preserve-3d;
      transition: transform .15s linear;
    }

    .book__page::after {
      content: '';
      position: absolute;
      inset: 0;
      opacity: .2;
      background:
        repeating-linear-gradient(0deg, rgba(73, 59, 38, .035) 0 1px, transparent 1px 6px),
        radial-gradient(120% 100% at 20% 18%, rgba(255, 255, 255, .16), transparent 62%);
      pointer-events: none;
    }

    .book__page--right {
      right: 0;
      padding: 8.5% 8% 8% 7.5%;
      border-radius: 3px 13px 11px 3px;
      transform-origin: left center;
      transform: rotateY(calc(var(--open, 0) * -3.5deg));
      box-shadow: 0 25px 48px rgba(0, 0, 0, .33), inset 17px 0 27px -24px rgba(62, 42, 24, .7);
    }

    .book__page--left {
      left: 0;
      padding: 7.5% 7% 7%;
      border-radius: 11px 3px 3px 11px;
      transform-origin: right center;
      transform: rotateY(calc(var(--open, 0) * 3.5deg));
      box-shadow: 0 25px 48px rgba(0, 0, 0, .3), inset -17px 0 27px -24px rgba(62, 42, 24, .7);
    }

    .book__page--right::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 1px;
      height: 100%;
      background: linear-gradient(to bottom, transparent, rgba(91, 66, 40, .28), transparent);
    }

    .book__page--left::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 1px;
      height: 100%;
      background: linear-gradient(to bottom, transparent, rgba(91, 66, 40, .25), transparent);
    }

    .book__kicker {
      display: flex;
      align-items: center;
      gap: 7px;
      color: #68604f;
      font-size: .51rem;
      font-weight: 650;
      letter-spacing: .01em;
    }

    .book__kicker::before {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--mint-deep);
    }

    .book__title {
      margin-top: 9%;
      color: #132c2b;
      font-size: clamp(.95rem, 1.5vw, 1.32rem);
      font-weight: 850;
      line-height: 1.55;
      letter-spacing: -.035em;
    }

    .book__rule {
      width: 34%;
      height: 2px;
      margin: 7% 0 6%;
      border-radius: 999px;
      background: #779e92;
      opacity: .7;
    }

    .book__line {
      width: 100%;
      height: 2px;
      margin-top: 6.5%;
      border-radius: 999px;
      background: rgba(57, 69, 57, .24);
    }

    .book__line--short { width: 68%; }
    .book__line--mid { width: 87%; }

    .book__foot {
      position: absolute;
      right: 8%;
      bottom: 8%;
      left: 8%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #7e725f;
      font-size: .46rem;
      font-weight: 600;
    }

    .book__foot span:last-child {
      display: grid;
      place-items: center;
      width: 19px;
      height: 19px;
      border: 1px solid rgba(71, 104, 91, .38);
      border-radius: 50%;
      color: #5a8377;
      font-size: .48rem;
    }

    .book__spine {
      position: absolute;
      z-index: 2;
      top: 2%;
      bottom: 1%;
      left: 50%;
      width: 7px;
      background: linear-gradient(to right, rgba(76, 55, 34, .2), rgba(255, 251, 240, .28), rgba(76, 55, 34, .2));
      transform: translateX(-50%);
      pointer-events: none;
    }

    .book__ribbon {
      position: absolute;
      z-index: 2;
      top: 0;
      right: 17%;
      width: 9px;
      height: 27%;
      background: linear-gradient(to bottom, #7bd5bf, #2c8074);
      clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
      box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
    }

    .cell-map {
      width: 100%;
      height: 54%;
      margin-top: 9%;
      overflow: visible;
      color: #376b63;
    }

    .book__caption {
      max-width: 15em;
      margin: 6% auto 0;
      color: #60786f;
      font-size: .52rem;
      font-weight: 600;
      line-height: 1.8;
      text-align: center;
    }

    .book__stack {
      position: absolute;
      z-index: -2;
      right: 2%;
      bottom: -8%;
      width: 94%;
      height: 9%;
      border-radius: 2px 8px 8px 2px;
      background: #ddcdb3;
      box-shadow: 0 5px 0 #d3c095, 0 10px 0 #c9b689, 0 14px 26px rgba(0, 0, 0, .24);
      transform: translateZ(-18px);
    }

    /* Flashcards */
    .fragment--cards { width: clamp(164px, 13.5vw, 208px); z-index: 2; }

    .flash-stack {
      position: relative;
      width: 100%;
      aspect-ratio: 1.48 / 1;
      transform: rotate(4deg);
      transform-style: preserve-3d;
    }

    .flash {
      position: absolute;
      inset: 0;
      overflow: hidden;
      border-radius: 14px;
      padding: 14% 11% 11%;
    }

    .flash--back {
      border: 1px solid rgba(110, 174, 159, .23);
      background: linear-gradient(145deg, #194641, #0d2a2d);
      transform: translate3d(9px, -13px, -30px) rotate(7deg);
      box-shadow: 0 18px 35px rgba(0, 0, 0, .3);
      opacity: .82;
    }

    .flash--back::before {
      content: '؟';
      position: absolute;
      top: 12%;
      left: 8%;
      color: rgba(150, 239, 218, .15);
      font-size: 5.3rem;
      font-weight: 800;
      line-height: 1;
      transform: rotate(-8deg);
    }

    .flash--back::after {
      content: '';
      position: absolute;
      right: 11%;
      bottom: 12%;
      width: 46%;
      aspect-ratio: 1;
      border: 1px dashed rgba(150, 239, 218, .14);
      border-radius: 50%;
    }

    .flash--front {
      border: 1px solid rgba(212, 248, 237, .17);
      background:
        radial-gradient(120% 95% at 80% 8%, rgba(150, 239, 218, .11), transparent 46%),
        linear-gradient(145deg, #0a2429, #07181d);
      box-shadow: 0 24px 45px rgba(0, 0, 0, .37), inset 0 1px 0 rgba(255, 255, 255, .08);
      transform: translateZ(8px) rotate(-3.5deg);
    }

    .flash--front::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 1px;
      height: 100%;
      background: linear-gradient(to bottom, var(--mint), transparent 74%);
      opacity: .6;
    }

    .flash__tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--mint);
      font-size: .48rem;
      font-weight: 600;
    }

    .flash__tag::before {
      content: '';
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: currentColor;
    }

    .flash__word {
      display: block;
      margin-top: 14%;
      color: var(--ivory);
      font-size: clamp(1.3rem, 2.3vw, 1.95rem);
      font-weight: 800;
      letter-spacing: -.04em;
      line-height: 1.3;
    }

    .flash__def {
      display: block;
      margin-top: 5%;
      color: var(--muted);
      font-size: .54rem;
      line-height: 1.8;
    }

    .flash__foot {
      position: absolute;
      right: 11%;
      bottom: 10%;
      left: 11%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: rgba(167, 185, 179, .75);
      font-size: .44rem;
    }

    .flash__dots {
      display: flex;
      gap: 3px;
    }

    .flash__dots span {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: currentColor;
      opacity: .55;
    }

    .flash__dots span:first-child { background: var(--mint); opacity: 1; }

    /* Small question preview */
    .fragment--question { width: clamp(174px, 14.5vw, 228px); z-index: 4; }

    .peek-card {
      position: relative;
      overflow: hidden;
      padding: 12% 10% 11%;
      border: 1px solid rgba(197, 239, 228, .14);
      border-radius: 16px;
      background:
        radial-gradient(100% 100% at 80% 0%, rgba(150, 239, 218, .09), transparent 46%),
        rgba(7, 25, 29, .84);
      box-shadow: 0 25px 54px rgba(0, 0, 0, .33), inset 0 1px 0 rgba(255, 255, 255, .05);
    }

    .peek-card::before {
      content: '';
      position: absolute;
      top: 0;
      right: 14%;
      width: 32%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--mint), transparent);
      opacity: .55;
    }

    .peek__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--muted);
      font-size: .46rem;
      font-weight: 600;
    }

    .peek__mark {
      display: grid;
      place-items: center;
      width: 25px;
      height: 25px;
      border: 1px solid rgba(150, 239, 218, .3);
      border-radius: 50%;
      color: var(--mint);
      font-size: .68rem;
      font-weight: 700;
    }

    .peek-card p {
      margin: 9% 0 10%;
      color: var(--ivory);
      font-size: .63rem;
      font-weight: 550;
      line-height: 1.85;
    }

    .peek-option {
      display: flex;
      align-items: center;
      gap: 6px;
      min-height: 23px;
      margin-top: 5px;
      padding: 4px 7px;
      border: 1px solid rgba(194, 227, 218, .11);
      border-radius: 6px;
      color: rgba(212, 232, 225, .68);
      font-size: .43rem;
      line-height: 1.4;
    }

    .peek-option::before {
      content: '';
      width: 4px;
      height: 4px;
      flex: none;
      border: 1px solid rgba(150, 239, 218, .4);
      border-radius: 50%;
    }

    .peek-option--live {
      border-color: rgba(150, 239, 218, .25);
      color: var(--mint);
      background: rgba(150, 239, 218, .055);
    }

    .peek-option--live::before { background: var(--mint); border-color: var(--mint); }

    .peek__foot {
      display: flex;
      align-items: center;
      gap: 5px;
      margin-top: 10%;
      color: rgba(126, 150, 144, .82);
      font-size: .42rem;
    }

    .peek__foot::before {
      content: '';
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--amber);
    }

    /* Tiny route card */
    .fragment--progress { width: clamp(178px, 14.5vw, 228px); z-index: 1; }

    .trace-card {
      padding: 12% 11% 10%;
      border: 1px solid rgba(207, 233, 225, .13);
      border-radius: 14px;
      background:
        linear-gradient(155deg, rgba(19, 53, 52, .8), rgba(6, 22, 26, .88)),
        var(--ink-1);
      box-shadow: 0 22px 48px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .04);
    }

    .trace__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--muted);
      font-size: .49rem;
      font-weight: 600;
    }

    .trace__head span:last-child {
      display: inline-grid;
      place-items: center;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 1px solid rgba(150, 239, 218, .24);
      color: var(--mint);
      font-size: .5rem;
    }

    .trace-svg {
      width: 100%;
      height: auto;
      margin: 10% 0 8%;
      overflow: visible;
    }

    .trace__labels {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      color: rgba(167, 185, 179, .7);
      font-size: .4rem;
    }

    .trace__labels .is-live { color: var(--mint); }

    /* Scene copy */
    .scene {
      position: absolute;
      z-index: 6;
      inset: 0;
      opacity: 0;
      pointer-events: none;
    }

    .scene-copy {
      position: absolute;
      inset-block-end: clamp(126px, 17vh, 176px);
      inset-inline-start: var(--page-pad);
      width: min(42vw, 570px);
    }

    .scene-label {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      margin: 0 0 clamp(14px, 2.2vh, 22px);
      color: var(--mint);
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .02em;
    }

    .scene-label::before {
      content: '';
      width: 27px;
      height: 1px;
      background: currentColor;
      opacity: .65;
    }

    .scene h2 {
      max-width: 100%;
      margin: 0;
      color: var(--ivory);
      font-size: clamp(2.25rem, 3.95vw, 4.05rem);
      font-weight: 750;
      line-height: 1.24;
      letter-spacing: -.045em;
      text-wrap: balance;
    }

    .scene-desc {
      max-width: 36em;
      margin: clamp(16px, 2.3vh, 24px) 0 0;
      color: var(--muted);
      font-size: clamp(.92rem, 1.1vw, 1.04rem);
      font-weight: 350;
      line-height: 1.95;
    }

    /* Quiz — a lifted page from the study world */
    .quiz-shell {
      position: absolute;
      z-index: 8;
      inset-block-start: 50%;
      inset-inline-end: clamp(26px, 7vw, 104px);
      width: min(478px, 41vw);
      max-height: calc(100dvh - 160px);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-50%);
      pointer-events: none;
    }

    .quiz-shell.is-current {
      visibility: visible;
      pointer-events: auto;
    }

    .quiz-card {
      position: relative;
      overflow: auto;
      max-height: calc(100dvh - 160px);
      padding: clamp(24px, 2.8vw, 36px);
      border: 1px solid rgba(255, 247, 230, .68);
      border-radius: var(--radius-card);
      background:
        radial-gradient(120% 110% at 90% 0%, rgba(255, 255, 255, .66), transparent 45%),
        linear-gradient(155deg, #f7efdf 0%, #eee1ca 100%);
      color: #102423;
      box-shadow:
        0 35px 90px rgba(0, 0, 0, .44),
        0 2px 0 rgba(255, 255, 255, .38) inset,
        0 0 0 1px rgba(12, 46, 42, .06);
      transform: translateY(18px) scale(.965);
      transform-origin: center;
      transition: transform .65s var(--ease);
      scrollbar-width: thin;
      scrollbar-color: #b4a489 transparent;
      overscroll-behavior: contain;
    }

    .quiz-shell.is-current .quiz-card { transform: translateY(0) scale(1); }

    .quiz-card::before {
      content: '';
      position: absolute;
      top: 0;
      right: 12%;
      width: 34%;
      height: 3px;
      border-radius: 0 0 999px 999px;
      background: linear-gradient(90deg, transparent, #4da995, transparent);
      opacity: .8;
    }

    .quiz-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: clamp(18px, 2.5vh, 24px);
      color: #5f6d62;
      font-size: .68rem;
      font-weight: 600;
    }

    .quiz-topline span:first-child {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #2a6158;
    }

    .quiz-topline span:first-child::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #2a8e7d;
    }

    .quiz-topline span:last-child { color: #8a8172; font-weight: 500; }

    .quiz-title {
      margin: 0;
      max-width: 22em;
      color: #0e2422;
      font-size: clamp(1.12rem, 1.48vw, 1.36rem);
      font-weight: 750;
      line-height: 1.68;
      letter-spacing: -.025em;
      text-wrap: balance;
    }

    .quiz-form { margin-top: clamp(18px, 2.5vh, 25px); }

    .quiz-options {
      display: grid;
      gap: 8px;
      padding: 0;
      margin: 0;
      border: 0;
    }

    .quiz-options legend { margin-bottom: 0; }

    .answer {
      position: relative;
      display: grid;
      grid-template-columns: 26px minmax(0, 1fr) 21px;
      align-items: center;
      gap: 11px;
      min-height: 50px;
      padding: 10px 12px;
      border: 1px solid #cfc2ab;
      border-radius: 11px;
      background: rgba(255, 250, 241, .5);
      color: #263c38;
      font-size: .86rem;
      font-weight: 500;
      line-height: 1.7;
      cursor: pointer;
      transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
    }

    .answer:hover {
      border-color: #6c9188;
      background: rgba(255, 251, 241, .85);
    }

    .answer:active { transform: scale(.994); }
    .answer:has(input:focus-visible) { outline: 2px solid var(--focus-dark); outline-offset: 3px; }

    .answer input {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: 0;
      opacity: 0;
      pointer-events: none;
    }

    .answer__key {
      display: grid;
      place-items: center;
      width: 26px;
      height: 26px;
      border: 1px solid #b9a98f;
      border-radius: 50%;
      color: #6e695c;
      font-size: .66rem;
      font-weight: 650;
      line-height: 1;
      transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
    }

    .answer__text { min-width: 0; }

    .answer__signal {
      display: grid;
      grid-area: 1 / 3;
      place-items: center;
      width: 21px;
      height: 21px;
      color: var(--mint-deep);
      opacity: 0;
      transform: scale(.6);
      transition: opacity .22s var(--ease), transform .22s var(--ease);
    }

    .answer__signal .icon { width: 17px; height: 17px; stroke-width: 2.4; }
    .answer__signal--wrong { color: #9c3a2a; }

    .answer.is-selected {
      border-color: #527b72;
      background: #edf4e9;
      box-shadow: inset 0 0 0 1px rgba(77, 126, 114, .26);
    }

    .answer.is-selected .answer__key {
      border-color: var(--ink-1);
      background: var(--ink-1);
      color: var(--paper);
    }

    .answer.is-selected .answer__signal--check { opacity: 1; transform: scale(1); }

    .answer.is-correct {
      border-color: #4d8f7b;
      background: #e4f2e6;
    }

    .answer.is-correct .answer__key {
      border-color: #175b50;
      background: #175b50;
      color: #f4fff9;
    }

    .answer.is-correct .answer__signal--check { opacity: 1; transform: scale(1); }

    .answer.is-wrong {
      border-color: #b66e5c;
      background: #f6e4db;
    }

    .answer.is-wrong .answer__key {
      border-color: #8b4233;
      background: #8b4233;
      color: #fff6f1;
    }

    .answer.is-wrong .answer__signal--wrong { opacity: 1; transform: scale(1); }

    .answer.is-locked { cursor: default; }
    .answer.is-locked:hover { background: initial; }
    .answer.is-locked.is-correct:hover { background: #e4f2e6; }
    .answer.is-locked.is-wrong:hover { background: #f6e4db; }
    .answer.is-locked { pointer-events: none; }

    .answer__verdict {
      position: absolute;
      inset-block-start: -7px;
      inset-inline-end: 11px;
      padding: 1px 7px;
      border-radius: 999px;
      font-size: .52rem;
      font-weight: 650;
      line-height: 1.7;
      opacity: 0;
    }

    .answer.is-correct .answer__verdict {
      opacity: 1;
      background: #175b50;
      color: #f2fff9;
    }

    .answer.is-wrong .answer__verdict {
      opacity: 1;
      background: #8b4233;
      color: #fff8f3;
    }

    .form-error {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin: 12px 0 0;
      padding: 9px 11px;
      border: 1px solid rgba(139, 66, 51, .35);
      border-radius: 8px;
      background: rgba(182, 110, 92, .09);
      color: #813d30;
      font-size: .76rem;
      line-height: 1.7;
    }

    .form-error .icon { width: 15px; height: 15px; margin-top: 2px; }

    .quiz-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-top: 17px;
    }

    .button--ink {
      min-width: 176px;
      min-height: 48px;
      padding-inline-start: 20px;
      background: var(--ink-1);
      color: var(--ivory);
      box-shadow: 0 12px 24px rgba(20, 39, 33, .16);
    }

    .button--ink:hover {
      background: #0d3d39;
      box-shadow: 0 15px 28px rgba(20, 39, 33, .22);
    }

    .button--ink .button__icon {
      width: 31px;
      height: 31px;
      background: rgba(150, 239, 218, .15);
      color: var(--mint);
    }

    .quiz-note {
      margin: 0;
      color: #837969;
      font-size: .64rem;
      line-height: 1.7;
      text-align: end;
    }

    .quiz-feedback {
      margin-top: 17px;
      padding: 15px;
      border: 1px solid #b9c8b1;
      border-radius: 11px;
      background: #e8f2e4;
      color: #1c3b31;
      outline: none;
    }

    .quiz-feedback[data-state='incorrect'] {
      border-color: #d5b2a2;
      background: #f7e7de;
      color: #4d2f25;
    }

    .feedback-head {
      display: flex;
      align-items: center;
      gap: 9px;
      margin: 0;
      font-size: .91rem;
      font-weight: 750;
    }

    .feedback-head .icon { width: 20px; height: 20px; }

    .feedback-copy {
      margin: 7px 0 0;
      font-size: .76rem;
      line-height: 1.85;
    }

    .feedback-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-top: 13px;
    }

    .feedback-actions .button { min-height: 42px; min-width: 0; padding-inline-start: 16px; font-size: .78rem; }
    .feedback-actions .button__icon { width: 27px; height: 27px; }
    .feedback-actions .button__icon .icon { width: 14px; height: 14px; }

    .link-button {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 42px;
      padding: 7px 4px;
      border: 0;
      border-bottom: 1px solid rgba(21, 72, 63, .23);
      border-radius: 0;
      background: transparent;
      color: #3d645a;
      font-size: .73rem;
      font-weight: 600;
      cursor: pointer;
      transition: color .2s var(--ease), border-color .2s var(--ease);
    }

    .link-button:hover { color: #133e37; border-color: #133e37; }
    .link-button .icon { width: 14px; height: 14px; }

    /* System / final orb */
    .system-stage {
      position: absolute;
      z-index: 3;
      inset: 0;
      opacity: 0;
      pointer-events: none;
    }

    .system {
      position: absolute;
      top: 50%;
      left: 28%;
      width: min(38vw, 540px);
      aspect-ratio: 1;
      transform: translate(-50%, -50%);
      transform-style: preserve-3d;
    }

    .system-aura {
      position: absolute;
      inset: 10%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(93, 210, 185, .2), rgba(17, 87, 82, .06) 46%, transparent 72%);
      transform: scale(1.22);
    }

    .system-net {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .system-net path {
      fill: none;
      stroke: rgba(157, 235, 218, .34);
      stroke-width: .85;
      stroke-dasharray: 2 6;
    }

    .system-net circle {
      fill: rgba(150, 239, 218, .84);
    }

    .ring-wrap {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 74%;
      aspect-ratio: 1;
      transform: translate(-50%, -50%) rotateX(65deg);
      transform-style: preserve-3d;
    }

    .ring-wrap--outer {
      width: 96%;
      transform: translate(-50%, -50%) rotateX(62deg) rotateZ(23deg);
      opacity: .55;
    }

    .ring-wrap--inner {
      width: 54%;
      transform: translate(-50%, -50%) rotateX(69deg) rotateZ(-30deg);
      opacity: .62;
    }

    .system-ring {
      width: 100%;
      height: 100%;
      border: 1px solid rgba(150, 239, 218, .32);
      border-radius: 50%;
    }

    .ring-wrap--outer .system-ring {
      border-color: rgba(188, 239, 226, .22);
      border-style: dashed;
    }

    .ring-wrap--inner .system-ring {
      border-color: rgba(150, 239, 218, .4);
    }

    .ring-dot {
      position: absolute;
      top: 50%;
      left: -3px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--mint);
      box-shadow: 0 0 15px rgba(150, 239, 218, .7);
      transform: translateY(-50%);
    }

    .ring-wrap--outer .ring-dot {
      top: 15%;
      left: 16%;
      width: 3px;
      height: 3px;
      opacity: .62;
    }

    .core-orb {
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 50%;
      display: grid;
      place-items: center;
      width: 31%;
      aspect-ratio: 1;
      border: 1px solid rgba(200, 255, 243, .35);
      border-radius: 50%;
      background:
        radial-gradient(circle at 36% 28%, rgba(227, 255, 247, .98) 0%, rgba(154, 242, 222, .76) 7%, rgba(69, 169, 151, .36) 27%, rgba(10, 53, 54, .88) 58%, rgba(3, 17, 21, .98) 80%);
      box-shadow:
        0 0 62px rgba(78, 218, 187, .22),
        0 0 0 10px rgba(135, 236, 212, .035),
        inset 0 0 38px rgba(172, 255, 235, .16);
      transform: translate(-50%, -50%);
    }

    .core-orb::before {
      content: '';
      position: absolute;
      inset: 8%;
      border: 1px solid rgba(199, 255, 241, .14);
      border-radius: 50%;
    }

    .core-orb::after {
      content: '';
      position: absolute;
      top: 10%;
      left: 18%;
      width: 28%;
      height: 16%;
      border-radius: 50%;
      background: radial-gradient(ellipse, rgba(255, 255, 255, .2), rgba(255, 255, 255, .055) 48%, transparent 72%);
      transform: rotate(-24deg);
    }

    .core-mark {
      position: relative;
      z-index: 1;
      width: 42%;
      height: 44%;
      color: var(--ivory);
    }

    .system-node {
      position: absolute;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 34px;
      padding: 4px 12px;
      border: 1px solid rgba(198, 235, 226, .18);
      border-radius: 999px;
      background: rgba(4, 19, 23, .88);
      color: #b6c9c2;
      font-size: .73rem;
      font-weight: 500;
      line-height: 1.6;
      white-space: nowrap;
    }

    .system-node::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--mint);
      box-shadow: 0 0 9px rgba(150, 239, 218, .6);
    }

    .system-node--one { top: 1%; left: 50%; transform: translate(-50%, -50%); }
    .system-node--two { top: 50%; right: 0; transform: translate(50%, -50%); }
    .system-node--three { bottom: 1%; left: 50%; transform: translate(-50%, 50%); }
    .system-node--four { top: 50%; left: 0; transform: translate(-50%, -50%); }

    /* Finale */
    .scene--finale {
      z-index: 7;
      pointer-events: none;
    }

    .finale-copy {
      position: absolute;
      inset-block-start: clamp(154px, 23vh, 238px);
      inset-block-end: auto;
      inset-inline-start: var(--page-pad);
      width: min(43vw, 620px);
    }

    .finale-copy h2 {
      max-width: 10.5ch;
      font-size: clamp(2.65rem, 4.9vw, 5.05rem);
      line-height: 1.16;
      letter-spacing: -.055em;
    }

    .finale-copy h2 .accent { color: var(--mint); }

    .finale-copy .scene-desc {
      max-width: 34em;
      font-size: clamp(.95rem, 1.15vw, 1.08rem);
    }

    .final-echo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: clamp(14px, 2vh, 20px) 0 0;
      padding: 5px 11px;
      border: 1px solid rgba(150, 239, 218, .18);
      border-radius: 999px;
      background: rgba(9, 40, 40, .52);
      color: var(--mint);
      font-size: .7rem;
      line-height: 1.7;
    }

    .final-echo .icon { width: 13px; height: 13px; }

    .final-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 17px;
      margin-top: clamp(24px, 4vh, 38px);
      pointer-events: none;
    }

    .scene--finale.is-current .final-actions { pointer-events: auto; }

    .final-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      padding: 8px 2px;
      border: 0;
      border-bottom: 1px solid rgba(183, 218, 208, .2);
      border-radius: 0;
      background: transparent;
      color: var(--muted);
      font-size: .8rem;
      font-weight: 500;
      cursor: pointer;
      transition: color .2s var(--ease), border-color .2s var(--ease);
    }

    .final-link:hover { color: var(--ivory); border-color: var(--mint); }
    .final-link .icon { width: 14px; height: 14px; }

    .final-disclaimer {
      margin: 18px 0 0;
      color: var(--quiet);
      font-size: .67rem;
      line-height: 1.8;
    }

    /* Chapter navigation */
    .journey-nav {
      position: absolute;
      z-index: 9;
      inset-inline: auto;
      bottom: calc(22px + env(safe-area-inset-bottom, 0px));
      left: 50%;
      transform: translateX(-50%);
      pointer-events: auto;
    }

    .journey-nav__inner {
      display: flex;
      align-items: center;
      gap: 3px;
      min-height: 53px;
      padding: 5px;
      border: 1px solid rgba(206, 239, 230, .12);
      border-radius: 999px;
      background: rgba(5, 22, 27, .84);
      box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    }

    .chapter {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 41px;
      padding: 7px 13px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: var(--quiet);
      font-size: .73rem;
      font-weight: 550;
      white-space: nowrap;
      cursor: pointer;
      transition: color .2s var(--ease), background-color .2s var(--ease);
    }

    .chapter::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: currentColor;
      opacity: .6;
      transition: background-color .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease);
    }

    .chapter:hover { color: var(--ivory); }

    .chapter[aria-current='step'] {
      background: rgba(150, 239, 218, .085);
      color: var(--ivory);
    }

    .chapter[aria-current='step']::before {
      background: var(--mint);
      box-shadow: 0 0 10px rgba(150, 239, 218, .5);
      opacity: 1;
    }

    /* Footer */
    .site-footer {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 34px var(--page-pad) 40px;
      border-top: 1px solid rgba(204, 235, 226, .08);
      background: var(--ink-0);
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--ivory);
    }

    .footer-brand .brand__mark { width: 20px; height: 22px; }
    .footer-brand strong { font-size: .9rem; font-weight: 650; }

    .footer-meta {
      margin: 4px 0 0;
      color: var(--quiet);
      font-size: .68rem;
      line-height: 1.8;
    }

    .footer-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      padding: 7px 0;
      border: 0;
      border-bottom: 1px solid rgba(198, 230, 220, .17);
      border-radius: 0;
      background: transparent;
      color: var(--muted);
      font-size: .74rem;
      cursor: pointer;
    }

    .footer-back:hover { color: var(--ivory); border-color: var(--mint); }

    .footer-back .icon {
      width: 15px;
      height: 15px;
    }

    /* Dialogs */
    .dialog {
      max-width: none;
      max-height: none;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--ivory);
    }

    .dialog::backdrop {
      background: rgba(2, 10, 13, .78);
    }

    .dialog[open] { animation: dialog-in .32s var(--ease) both; }

    .dialog__panel {
      width: min(660px, calc(100vw - 28px));
      max-height: min(88dvh, 900px);
      overflow: auto;
      padding: clamp(22px, 3.6vw, 38px);
      border: 1px solid rgba(207, 241, 231, .14);
      border-radius: var(--radius-dialog);
      background:
        radial-gradient(120% 100% at 90% 0%, rgba(68, 157, 143, .12), transparent 46%),
        linear-gradient(155deg, #0a2429, #06181d 66%, #041216);
      box-shadow: 0 40px 120px rgba(0, 0, 0, .56), inset 0 1px 0 rgba(255, 255, 255, .06);
      scrollbar-width: thin;
      scrollbar-color: #3a5e57 transparent;
      overscroll-behavior: contain;
    }

    .dialog--small .dialog__panel { width: min(540px, calc(100vw - 28px)); }

    .dialog__head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
    }

    .dialog__kicker {
      margin: 0 0 8px;
      color: var(--mint);
      font-size: .69rem;
      font-weight: 600;
    }

    .dialog__title {
      margin: 0;
      color: var(--ivory);
      font-size: clamp(1.55rem, 3vw, 2.25rem);
      font-weight: 750;
      line-height: 1.35;
      letter-spacing: -.035em;
    }

    .dialog__lead {
      max-width: 45ch;
      margin: 14px 0 0;
      color: var(--muted);
      font-size: .84rem;
      line-height: 1.95;
    }

    .dialog__close {
      flex: none;
      min-width: 42px;
      min-height: 42px;
      padding: 7px 11px;
      border: 1px solid rgba(203, 238, 228, .16);
      border-radius: 999px;
      background: rgba(255, 255, 255, .035);
      color: var(--muted);
      font-size: .68rem;
      font-weight: 550;
      cursor: pointer;
    }

    .dialog__close:hover { color: var(--ivory); border-color: rgba(203, 238, 228, .34); }

    .dialog__divider {
      height: 1px;
      margin: clamp(20px, 3vw, 27px) 0;
      border: 0;
      background: rgba(197, 232, 222, .1);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
    }

    .about-item h3 {
      margin: 0 0 6px;
      color: var(--ivory);
      font-size: .82rem;
      font-weight: 650;
    }

    .about-item p {
      margin: 0;
      color: var(--muted);
      font-size: .76rem;
      line-height: 1.9;
    }

    .about-item kbd {
      display: inline-block;
      min-width: 23px;
      padding: 1px 5px;
      border: 1px solid rgba(207, 238, 229, .22);
      border-radius: 5px;
      background: rgba(255, 255, 255, .04);
      color: var(--ivory);
      font-family: var(--font);
      font-size: .64rem;
      text-align: center;
    }

    .about-note {
      margin: 22px 0 0;
      padding: 12px 14px;
      border: 1px solid rgba(150, 239, 218, .14);
      border-radius: 10px;
      background: rgba(150, 239, 218, .045);
      color: var(--muted);
      font-size: .72rem;
      line-height: 1.9;
    }

    /* Path builder */
    .path-form {
      margin: 0;
      padding: 0;
      border: 0;
    }

    .path-options {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 9px;
      margin-top: 18px;
    }

    .path-choice {
      position: relative;
      display: block;
      border: 1px solid rgba(196, 232, 222, .13);
      border-radius: 12px;
      background: rgba(255, 255, 255, .025);
      cursor: pointer;
      transition: border-color .2s var(--ease), background-color .2s var(--ease);
    }

    .path-choice:hover { border-color: rgba(150, 239, 218, .33); }

    .path-choice:has(input:focus-visible) {
      outline: 2px solid var(--mint);
      outline-offset: 3px;
    }

    @supports not selector(:has(*)) {
      .answer:focus-within { outline: 2px solid var(--focus-dark); outline-offset: 3px; }
      .path-choice:focus-within { outline: 2px solid var(--mint); outline-offset: 3px; }
    }

    html.dialog-open,
    html.dialog-open body { overflow: hidden; }

    .path-choice.is-selected {
      border-color: rgba(150, 239, 218, .52);
      background: rgba(150, 239, 218, .08);
    }

    .path-choice input {
      position: absolute;
      width: 1px;
      height: 1px;
      opacity: 0;
      pointer-events: none;
    }

    .path-choice__body {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      min-height: 80px;
      padding: 13px;
    }

    .path-choice__dot {
      display: grid;
      place-items: center;
      width: 17px;
      height: 17px;
      flex: none;
      margin-top: 1px;
      border: 1px solid rgba(192, 230, 220, .35);
      border-radius: 50%;
      transition: border-color .2s var(--ease), background-color .2s var(--ease);
    }

    .path-choice__dot::after {
      content: '';
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--mint);
      opacity: 0;
      transform: scale(.5);
      transition: opacity .2s var(--ease), transform .2s var(--ease);
    }

    .path-choice.is-selected .path-choice__dot { border-color: var(--mint); }
    .path-choice.is-selected .path-choice__dot::after { opacity: 1; transform: scale(1); }

    .path-choice__title {
      display: block;
      color: var(--ivory);
      font-size: .77rem;
      font-weight: 600;
      line-height: 1.7;
    }

    .path-choice__desc {
      display: block;
      margin-top: 3px;
      color: var(--quiet);
      font-size: .64rem;
      line-height: 1.8;
    }

    .path-result {
      min-height: 242px;
      margin-top: 17px;
      padding-top: 18px;
      border-top: 1px solid rgba(196, 232, 222, .1);
    }

    .path-result__eyebrow {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 10px;
      color: var(--mint);
      font-size: .67rem;
      font-weight: 600;
    }

    .path-result__eyebrow::before {
      content: '';
      width: 20px;
      height: 1px;
      background: currentColor;
      opacity: .6;
    }

    .path-steps {
      list-style: none;
      display: grid;
      gap: 0;
      margin: 0;
      padding: 0;
    }

    .path-step {
      position: relative;
      display: grid;
      grid-template-columns: 27px minmax(0, 1fr);
      gap: 11px;
      padding-bottom: 15px;
    }

    .path-step:last-child { padding-bottom: 0; }

    .path-step:not(:last-child)::before {
      content: '';
      position: absolute;
      inset-block: 25px 5px;
      inset-inline-start: 13px;
      width: 1px;
      background: linear-gradient(to bottom, rgba(150, 239, 218, .28), rgba(150, 239, 218, .06));
    }

    .path-step__node {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      width: 27px;
      height: 27px;
      border: 1px solid rgba(150, 239, 218, .3);
      border-radius: 50%;
      background: #0a2528;
      color: var(--mint);
      font-size: .62rem;
      font-weight: 650;
    }

    .path-step__title {
      display: block;
      margin-top: 1px;
      color: var(--ivory);
      font-size: .77rem;
      font-weight: 600;
      line-height: 1.7;
    }

    .path-step__text {
      display: block;
      margin-top: 2px;
      color: var(--quiet);
      font-size: .68rem;
      line-height: 1.8;
    }

    .path-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-top: 22px;
      padding-top: 17px;
      border-top: 1px solid rgba(196, 232, 222, .1);
    }

    .path-disclaimer {
      margin: 0;
      color: var(--quiet);
      font-size: .66rem;
      line-height: 1.8;
    }

    .small-button {
      min-height: 42px;
      padding: 7px 18px;
      border: 1px solid rgba(197, 234, 224, .2);
      border-radius: 999px;
      background: transparent;
      color: var(--ivory);
      font-size: .75rem;
      font-weight: 550;
      cursor: pointer;
      transition: border-color .2s var(--ease), background-color .2s var(--ease);
    }

    .small-button:hover { border-color: rgba(150, 239, 218, .5); background: rgba(150, 239, 218, .06); }

    /* Motion */
}

    @keyframes dialog-in {
      from { opacity: 0; transform: translateY(12px) scale(.985); }
      to { opacity: 1; transform: none; }
    }

    @keyframes hero-in {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: none; }
    }
to { opacity: 1; transform: none; }
    }

    .js .hero-copy .kicker,
    .js .hero-copy h1,
    .js .hero-copy .hero-lead,
    .js .hero-copy .hero-actions,
    .js .hero-copy .hero-note {
      animation: hero-in .9s var(--ease) both;
    }

    .js .hero-copy h1 { animation-delay: .07s; }
    .js .hero-copy .hero-lead { animation-delay: .14s; }
    .js .hero-copy .hero-actions { animation-delay: .22s; }
    .js .hero-copy .hero-note { animation-delay: .3s; }

    /* Responsive layout */
    @media (max-width: 1200px) {
      .hero-copy { width: min(46vw, 590px); }
      .scene-copy { width: min(43vw, 510px); }
      .finale-copy { width: min(44vw, 550px); }
      .system { left: 27%; width: min(37vw, 470px); }
      .quiz-shell { width: min(440px, 42vw); inset-inline-end: clamp(22px, 5vw, 60px); }
      .quiz-card { padding: 27px; }
    }

    @media (max-width: 980px) {
      :root { --page-pad: clamp(20px, 5vw, 42px); }

      .stage { min-height: 100svh; }

      .hero-copy {
        top: clamp(106px, 15vh, 136px);
        width: min(58vw, 520px);
      }

      .hero h1 { font-size: clamp(2.65rem, 5.8vw, 4.2rem); }

      .world { transform: translate3d(calc(var(--look-x, 0) * -8px), calc(var(--look-y, 0) * -5px), 0); }
      .fragment--book { width: clamp(220px, 27vw, 290px); }
      .fragment--cards { width: clamp(145px, 16vw, 180px); }
      .fragment--question { width: clamp(155px, 17vw, 190px); }
      .fragment--progress { width: clamp(155px, 17vw, 190px); }

      .scene-copy {
        bottom: clamp(118px, 16vh, 150px);
        width: min(48vw, 460px);
      }

      .scene h2 { font-size: clamp(2.1rem, 4.7vw, 3.3rem); }

      .quiz-shell {
        inset-inline-end: var(--page-pad);
        width: min(410px, 46vw);
        max-height: calc(100dvh - 130px);
      }

      .quiz-card { padding: 24px; max-height: calc(100dvh - 130px); }

      .system { left: 28%; width: min(39vw, 410px); }
      .system-node { font-size: .62rem; padding: 3px 8px; min-height: 28px; }

      .finale-copy {
        top: clamp(126px, 19vh, 170px);
        width: min(50vw, 500px);
      }

      .finale-copy h2 { font-size: clamp(2.35rem, 5.2vw, 3.7rem); }
      .final-actions { gap: 12px; }
    }

    @media (max-width: 1023px) {
      :root { --header-h: 68px; --page-pad: 20px; }

      .journey { height: 505vh; height: 505svh; }
      .stage { height: 100svh; height: 100dvh; }

      .site-header { padding: 12px 18px; gap: 12px; }
      .brand { gap: 9px; }
      .brand__mark { width: 23px; height: 25px; }
      .brand__name { font-size: .92rem; }
      .brand__badge { padding: 1px 7px; font-size: .6rem; min-height: 21px; }
      .quiet-button { padding: 7px 11px; font-size: .72rem; }
      .quiet-button .icon { width: 14px; height: 14px; }

      .hero-copy {
        top: clamp(98px, 14vh, 120px);
        inset-inline-start: 20px;
        width: calc(100% - 40px);
        max-width: 620px;
      }

      .kicker { margin-bottom: 14px; font-size: .69rem; }

      .hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 9.2vw, 3.7rem);
        line-height: 1.18;
        letter-spacing: -.055em;
      }

      .hero h1 span { white-space: nowrap; }

      .hero-lead {
        max-width: 31em;
        margin-top: 18px;
        font-size: .9rem;
        line-height: 1.9;
      }

      .hero-actions { margin-top: 24px; }
      .button { min-height: 52px; font-size: .88rem; }
      .button--paper { min-width: 184px; }
      .button__icon { width: 35px; height: 35px; }
      .hero-note { margin-top: 11px; font-size: .72rem; }

      .world { z-index: 2; opacity: .9; }
      .orbit-deco { left: 48%; width: 150vw; opacity: .65; }
      .orbit-deco--wide { width: 195vw; opacity: .45; }
      .orbit-deco--small { display: none; }
      .orbit-spark--a { top: 18%; right: 15%; }

      .fragment--book { width: clamp(185px, 50vw, 235px); }
      .fragment--cards { width: 122px; }
      .fragment--question { display: none; }
      .fragment--progress { width: 137px; }
      .book__page--right { padding: 9% 8% 8% 7%; }
      .book__kicker { font-size: .45rem; }
      .book__title { font-size: .93rem; }
      .book__foot { font-size: .4rem; }
      .book__caption { font-size: .43rem; }
      .flash__word { font-size: 1.3rem; }
      .flash__def { font-size: .46rem; }

      .scene-copy {
        inset-inline-start: 20px;
        bottom: 105px;
        width: calc(100% - 40px);
        max-width: 620px;
      }

      .scene-label { margin-bottom: 11px; font-size: .7rem; }
      .scene h2 { max-width: 14ch; font-size: clamp(1.8rem, 7.8vw, 2.7rem); line-height: 1.24; }
      .scene-desc { margin-top: 12px; max-width: 31em; font-size: .86rem; line-height: 1.9; }

      .scene--practice .scene-copy {
        top: 86px;
        bottom: auto;
      }

      .scene--practice .scene-label { margin-bottom: 7px; }
      .scene--practice h2 { max-width: 18ch; font-size: clamp(1.35rem, 5.6vw, 1.8rem); line-height: 1.35; }
      .scene--practice .scene-desc { display: none; }

      .quiz-shell {
        inset-inline: 14px;
        inset-block-start: 186px;
        bottom: 80px;
        width: auto;
        max-width: 580px;
        max-height: none;
        margin-inline: auto;
        transform: none;
      }

      .quiz-card {
        max-height: 100%;
        padding: 19px 16px 18px;
        border-radius: 16px;
      }

      .quiz-topline { margin-bottom: 12px; font-size: .66rem; }
      .quiz-title { font-size: 1.02rem; line-height: 1.65; }
      .quiz-form { margin-top: 13px; }
      .quiz-options { gap: 6px; }
      .answer { grid-template-columns: 23px minmax(0, 1fr) 18px; gap: 8px; min-height: 46px; padding: 7px 9px; font-size: .82rem; line-height: 1.65; border-radius: 9px; }
      .answer__key { width: 23px; height: 23px; font-size: .61rem; }
      .answer__signal { width: 18px; height: 18px; }
      .answer__signal .icon { width: 15px; height: 15px; }
      .quiz-actions { margin-top: 12px; gap: 8px; }
      .button--ink { min-height: 44px; min-width: 0; padding-inline-start: 14px; padding-inline-end: 5px; font-size: .78rem; gap: 10px; }
      .button--ink .button__icon { width: 28px; height: 28px; }
      .quiz-note { font-size: .65rem; }
      .quiz-feedback { padding: 11px; margin-top: 12px; }
      .feedback-head { font-size: .8rem; }
      .feedback-copy { font-size: .74rem; line-height: 1.8; }
      .feedback-actions { gap: 4px; margin-top: 9px; }
      .feedback-actions .button { min-height: 38px; padding-inline-start: 12px; font-size: .72rem; }
      .link-button { min-height: 40px; font-size: .7rem; }

      .system { top: 31%; left: 50%; width: min(74vw, 340px); }
      .system-node { min-height: 27px; padding: 3px 8px; font-size: .64rem; gap: 5px; }
      .system-node::before { width: 4px; height: 4px; }
      .system-stage { z-index: 3; }

      .scene--finale .finale-copy {
        top: auto;
        inset-inline-start: 0;
        inset-inline-end: 0;
        bottom: 84px;
        width: calc(100% - 40px);
        max-width: 620px;
        margin-inline: auto;
      }

      .finale-copy h2 { max-width: 12ch; font-size: clamp(2.1rem, 9vw, 3.2rem); line-height: 1.17; }
      .finale-copy .scene-desc { max-width: 30em; margin-top: 12px; font-size: .86rem; line-height: 1.9; }
      .final-echo { margin-top: 12px; font-size: .68rem; }
      .final-actions { margin-top: 18px; gap: 10px; flex-direction: column; align-items: flex-start; }
      .final-actions .button--paper { width: 100%; max-width: 280px; }
      .final-link { min-height: 40px; font-size: .74rem; }
      .final-disclaimer { margin-top: 10px; font-size: .66rem; }

      .journey-nav { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); max-width: 396px; }
      .journey-nav__inner { justify-content: space-between; min-height: 47px; padding: 4px; }
      .chapter { flex: 1 1 0; justify-content: center; min-height: 39px; padding: 5px 4px; gap: 4px; font-size: .7rem; }
      .chapter::before { width: 4px; height: 4px; }

      .site-footer { flex-wrap: wrap; gap: 18px; padding: 28px 20px 30px; }
      .footer-meta { font-size: .7rem; }

      .about-grid { grid-template-columns: 1fr; gap: 14px; }
      .dialog__panel { max-height: 90dvh; padding: 20px; border-radius: 21px; }
      .dialog__title { font-size: 1.45rem; }
      .dialog__lead { font-size: .78rem; }
      .path-options { grid-template-columns: 1fr; gap: 6px; }
      .path-choice__body { min-height: 58px; align-items: center; padding: 10px 12px; }
      .path-choice__desc { font-size: .66rem; }
      .path-result { min-height: 220px; }
      .path-actions { align-items: flex-end; flex-direction: column-reverse; gap: 10px; }
      .path-disclaimer { font-size: .65rem; }
    }

    @media (max-width: 390px) {
      .quiet-button { padding: 6px 9px; }
      .scene--finale .finale-copy { bottom: 78px; }
      .chapter { font-size: .67rem; }
      .journey-nav__inner { padding: 3px; }
    }

    @media (max-width: 340px) {
      .brand__badge { display: none; }
    }

    @media (max-height: 720px) and (min-width: 1024px) {
      .hero-copy { top: 106px; }
      .hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.2rem); }
      .hero-lead { margin-top: 15px; line-height: 1.85; }
      .hero-actions { margin-top: 20px; }
      .scene-copy { bottom: 95px; }
      .scene h2 { font-size: clamp(2rem, 3.7vw, 3.3rem); }
      .quiz-shell { max-height: calc(100dvh - 110px); }
      .quiz-card { max-height: calc(100dvh - 110px); padding: 20px 24px; }
      .quiz-title { font-size: 1.08rem; }
      .answer { min-height: 43px; padding-block: 7px; }
      .quiz-form { margin-top: 12px; }
      .quiz-actions { margin-top: 10px; }
      .finale-copy { top: 118px; }
    }

    @media (max-height: 670px) and (max-width: 1023px) {
      .hero-copy { top: 91px; }
      .hero h1 { font-size: clamp(2.05rem, 9.1vw, 2.5rem); }
      .hero-lead { margin-top: 12px; font-size: .83rem; line-height: 1.75; }
      .hero-actions { margin-top: 17px; }
      .hero-note { display: none; }
      .scene--practice .scene-copy { top: 78px; }
      .quiz-shell { top: 178px; bottom: 72px; }
      .scene--finale .finale-copy { bottom: 70px; }
      .finale-copy h2 { font-size: clamp(1.8rem, 7.8vw, 2.4rem); }
      .finale-copy .scene-desc { font-size: .78rem; }
    }

    @media (max-height: 800px) and (max-width: 1023px) {
      .system { top: 31%; width: min(68vw, 280px); }
      .scene--finale .finale-copy { bottom: 76px; }
      .finale-copy h2 { font-size: clamp(1.9rem, 8.4vw, 2.8rem); }
      .finale-copy .scene-desc { margin-top: 9px; font-size: .84rem; }
      .final-actions { margin-top: 14px; }
      .final-disclaimer { margin-top: 8px; font-size: .64rem; }
    }

    @media (max-height: 700px) and (max-width: 1023px) {
      .system { top: 31%; width: min(56vw, 224px); }
      .system-node { min-height: 22px; padding: 1px 6px; font-size: .56rem; gap: 4px; }
      .system-node::before { width: 3px; height: 3px; }
      .scene--finale .finale-copy { bottom: 68px; }
      .finale-copy .scene-label { margin-bottom: 6px; }
      .finale-copy h2 { max-width: 12ch; font-size: clamp(1.75rem, 7.6vw, 2.3rem); }
      .finale-copy .scene-desc { margin-top: 8px; font-size: .8rem; line-height: 1.8; }
      .final-echo { margin-top: 8px; }
      .final-actions { margin-top: 12px; }
      .final-actions .button--paper { min-height: 46px; }
      .final-link { display: none; }
      .final-disclaimer { margin-top: 8px; font-size: .6rem; line-height: 1.6; }
      .journey-nav { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
    }

    @media (max-width: 1023px), (prefers-reduced-motion: reduce), (update: slow) {
      .ambient-glow--east,
      .ambient-glow--horizon { display: none; }
      .grid-field { opacity: .1; }
      .atlas-shell,
      .exam-shell,
      .analytics-shell { box-shadow: 0 18px 42px rgba(0, 0, 0, .3); }
      .quiz-card { box-shadow: 0 20px 45px rgba(0, 0, 0, .34); }
      .peek-card,
      .trace-card,
      .flash,
      .book { box-shadow: 0 12px 26px rgba(0, 0, 0, .24); }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *,
      *::before,
      *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
      }

      .journey { height: auto !important; }

      .stage {
        position: relative !important;
        height: auto !important;
        min-height: 100svh !important;
        overflow: visible !important;
        background: transparent;
      }

      .backdrop {
        position: fixed !important;
        inset: 0 !important;
        height: 100dvh !important;
      }


      .stage-content {
        position: relative !important;
        inset: auto !important;
        display: block !important;
        padding-bottom: 10px;
        pointer-events: auto;
      }

      .site-header { position: fixed; }
      .scroll-progress,
      .world,
      .journey-nav { display: none !important; }

      .hero {
        position: relative !important;
        inset: auto !important;
        height: auto !important;
        min-height: auto !important;
        padding: clamp(118px, 17vh, 156px) var(--page-pad) 24px !important;
        pointer-events: auto !important;
      }

      .hero-copy {
        position: relative !important;
        inset: auto !important;
        width: min(760px, 100%) !important;
        max-width: 760px !important;
        opacity: 1 !important;
        transform: none !important;
      }

      .hero h1 { max-width: 100%; font-size: clamp(2.05rem, 6.2vw, 4.3rem); }
      .hero-lead { max-width: 42ch; }
      .hero-actions { margin-top: 24px; }
      .hero-note { max-width: 46ch; }

      .scene {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        padding: clamp(26px, 4.5vw, 44px) var(--page-pad) 10px !important;
        opacity: 1 !important;
        pointer-events: none !important;
        border-top: 1px solid rgba(198, 232, 222, .09);
      }

      .scene-copy {
        position: relative !important;
        inset: auto !important;
        width: min(720px, 100%) !important;
        margin: 0 auto !important;
        opacity: 1 !important;
        transform: none !important;
      }

      .scene h2 {
        max-width: 22ch;
        font-size: clamp(1.9rem, 4.5vw, 3.15rem);
        line-height: 1.28;
        scroll-margin-top: 104px;
      }

      #quiz,
      #finale-title { scroll-margin-top: 104px; }

      .scene-desc {
        max-width: 58ch;
        margin-top: 12px;
        font-size: .96rem;
        line-height: 1.95;
      }

      .scene--practice .scene-copy {
        top: auto !important;
        bottom: auto !important;
      }

      .scene--practice .scene-desc { display: block; }

      .quiz-shell {
        position: relative !important;
        inset: auto !important;
        width: min(680px, calc(100% - (2 * var(--page-pad)))) !important;
        max-height: none !important;
        margin: 26px auto 34px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
      }

      .quiz-shell.is-current { visibility: visible; }
      .quiz-card { max-height: none !important; transform: none !important; }
      .quiz-card:focus-within { outline: none; }

      .system-stage {
        position: relative !important;
        inset: auto !important;
        display: block !important;
        width: min(480px, calc(100% - 96px)) !important;
        aspect-ratio: 1;
        height: auto !important;
        margin: 30px auto 28px !important;
        opacity: 1 !important;
      }

      .system {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        width: 100% !important;
        transform: translateX(-50%) !important;
      }

      .scene--finale {
        padding-top: clamp(18px, 3vw, 30px) !important;
        padding-bottom: clamp(42px, 7vw, 68px) !important;
      }

      .scene--finale .finale-copy {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: min(720px, 100%) !important;
        margin: 0 auto !important;
      }

      .finale-copy h2 {
        max-width: 18ch;
        font-size: clamp(2.1rem, 5.3vw, 3.8rem);
        scroll-margin-top: 104px;
      }

      .scene--finale .final-actions { pointer-events: auto !important; }
      .scene--finale .final-actions {
        flex-direction: row !important;
        align-items: center !important;
      }

      .site-footer { margin-top: 0; }
      .dialog__panel { scrollbar-gutter: stable; }
    }

    /* Product-led capability surfaces (V2) */
    .capability-stage,
    .analytics-stage {
      position: absolute;
      z-index: 3;
      top: 50%;
      left: 4.2vw;
      width: min(43vw, 620px);
      transform: translateY(-50%);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .analytics-stage {
      left: 3.4vw;
      width: min(46vw, 680px);
    }

    .capability-stage.is-visible,
    .analytics-stage.is-visible { visibility: visible; }

    .atlas-shell,
    .exam-shell,
    .analytics-shell {
      position: relative;
      padding: clamp(14px, 1.7vw, 20px);
      border: 1px solid rgba(206, 240, 231, .14);
      border-radius: 22px;
      background:
        radial-gradient(120% 100% at 92% 0%, rgba(62, 145, 132, .1), transparent 48%),
        linear-gradient(155deg, rgba(8, 33, 37, .94), rgba(4, 18, 23, .96));
      box-shadow: 0 32px 80px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .045);
    }

    .atlas-shell::before,
    .exam-shell::before,
    .analytics-shell::before {
      content: '';
      position: absolute;
      z-index: 0;
      inset: 9px;
      border-radius: 15px;
      background-image:
        linear-gradient(rgba(150, 239, 218, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 239, 218, .035) 1px, transparent 1px);
      background-size: 30px 30px;
      -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000, transparent 78%);
      mask-image: radial-gradient(ellipse at 60% 30%, #000, transparent 78%);
      pointer-events: none;
    }

    .atlas-shell > *,
    .exam-shell > *,
    .analytics-shell > * {
      position: relative;
      z-index: 1;
    }

    .panel-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: clamp(10px, 1.4vw, 14px);
      direction: ltr;
    }

    .micro-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: rgba(185, 209, 201, .72);
      font-size: .61rem;
      font-weight: 650;
      letter-spacing: .13em;
      line-height: 1.6;
      white-space: nowrap;
    }

    .micro-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--mint);
      box-shadow: 0 0 8px rgba(150, 239, 218, .55);
    }

    .panel-status {
      direction: rtl;
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 2px 9px;
      border: 1px solid rgba(150, 239, 218, .18);
      border-radius: 999px;
      background: rgba(8, 33, 35, .62);
      color: var(--mint);
      font-size: .61rem;
      font-weight: 550;
      line-height: 1.6;
      white-space: nowrap;
    }

    .panel-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 11px;
      color: rgba(153, 178, 170, .82);
      font-size: .6rem;
      line-height: 1.7;
      direction: rtl;
    }

    .resource-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 9px;
    }

    .resource-strip span {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 2px 8px;
      border: 1px solid rgba(193, 229, 220, .1);
      border-radius: 999px;
      background: rgba(255, 255, 255, .02);
      color: var(--muted);
      font-size: .55rem;
      line-height: 1.7;
    }

    .resource-strip span::before {
      content: '';
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--mint);
      opacity: .65;
    }

    /* Domain atlas */
    .atlas-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 9px;
      direction: ltr;
    }

    .atlas-grid > :nth-child(1) { --tile-index: 0; }
    .atlas-grid > :nth-child(2) { --tile-index: 1; }
    .atlas-grid > :nth-child(3) { --tile-index: 2; }
    .atlas-grid > :nth-child(4) { --tile-index: 3; }
    .atlas-grid > :nth-child(5) { --tile-index: 4; }
    .atlas-grid > :nth-child(6) { --tile-index: 5; }
    .atlas-grid > :nth-child(7) { --tile-index: 6; }
    .atlas-grid > :nth-child(8) { --tile-index: 7; }
    .atlas-grid > :nth-child(9) { --tile-index: 8; }

    .domain-tile,
    .domain-core-tile {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: clamp(92px, 10.6vh, 116px);
      padding: 12px;
      overflow: hidden;
      border: 1px solid rgba(193, 229, 220, .12);
      border-radius: 14px;
      background: rgba(255, 255, 255, .022);
      direction: rtl;
      opacity: 0;
      transform: translateY(12px);
      transition: opacity .45s var(--ease), transform .45s var(--ease);
      transition-delay: calc(50ms + var(--tile-index, 0) * 35ms);
    }

    .domain-tile::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 26px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(150, 239, 218, .4));
    }

    .domain-stage.is-visible .domain-tile,
    .domain-stage.is-visible .domain-core-tile {
      opacity: 1;
      transform: translateY(0);
    }

    .domain-tile--linux {
      border-color: rgba(150, 239, 218, .27);
      background:
        radial-gradient(95% 100% at 100% 0%, rgba(150, 239, 218, .11), transparent 62%),
        rgba(255, 255, 255, .025);
    }

    .domain-tile--warm {
      border-color: rgba(233, 189, 128, .22);
      background:
        radial-gradient(95% 100% at 100% 0%, rgba(233, 189, 128, .08), transparent 62%),
        rgba(255, 255, 255, .02);
    }

    .domain-code {
      display: block;
      max-width: 100%;
      color: var(--ivory);
      font-size: clamp(.78rem, 1.05vw, .98rem);
      font-weight: 650;
      letter-spacing: -.01em;
      line-height: 1.35;
      text-align: left;
      direction: ltr;
      unicode-bidi: isolate;
      overflow-wrap: anywhere;
    }

    .domain-name {
      display: block;
      margin-top: 4px;
      color: rgba(214, 234, 227, .82);
      font-size: .74rem;
      font-weight: 400;
      line-height: 1.7;
    }

    .domain-meta {
      display: block;
      margin-top: auto;
      padding-top: 10px;
      color: rgba(157, 183, 175, .82);
      font-size: .59rem;
      letter-spacing: .02em;
      line-height: 1.5;
      text-align: left;
      direction: ltr;
      unicode-bidi: isolate;
    }

    .domain-core-tile {
      align-items: center;
      justify-content: center;
      gap: 7px;
      border-color: rgba(255, 255, 255, .3);
      background:
        radial-gradient(90% 90% at 38% 20%, rgba(255, 255, 255, .8), transparent 44%),
        linear-gradient(145deg, #f2e7d4, #ddceb4);
      color: var(--ink-0);
      box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
    }

    .domain-core-tile svg {
      width: 37%;
      height: auto;
      color: #122f2c;
    }

    .domain-core-tile span {
      color: #56635a;
      font-size: .49rem;
      font-weight: 650;
      letter-spacing: .08em;
      line-height: 1.6;
      direction: ltr;
    }

    /* Exam library */
    .exam-feature,
    .exam-card {
      opacity: 0;
      transform: translateY(10px);
      transition: opacity .45s var(--ease), transform .45s var(--ease);
    }

    .library-stage.is-visible .exam-feature,
    .library-stage.is-visible .exam-card {
      opacity: 1;
      transform: translateY(0);
    }

    .exam-feature {
      position: relative;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 13px;
      margin-top: 2px;
      padding: 14px;
      overflow: hidden;
      border: 1px solid rgba(150, 239, 218, .24);
      border-radius: 14px;
      background:
        radial-gradient(100% 130% at 90% 10%, rgba(150, 239, 218, .12), transparent 55%),
        rgba(11, 44, 43, .48);
      transition-delay: .06s;
    }

    .exam-feature::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      width: 2px;
      background: linear-gradient(to bottom, transparent, var(--mint), transparent);
      opacity: .8;
    }

    .exam-code {
      display: inline-block;
      color: var(--mint);
      font-size: .64rem;
      font-weight: 700;
      letter-spacing: .08em;
      line-height: 1.6;
      direction: ltr;
      unicode-bidi: isolate;
    }

    .exam-feature-copy h3,
    .exam-card h3 {
      margin: 4px 0 0;
      color: var(--ivory);
      font-size: 1.1rem;
      font-weight: 650;
      letter-spacing: -.01em;
      line-height: 1.4;
      text-align: right;
      direction: ltr;
      unicode-bidi: isolate;
    }

    .exam-feature-copy p {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 4px 0 0;
      color: var(--quiet);
      font-size: .7rem;
      line-height: 1.6;
    }

    .exam-feature-copy p span + span::before {
      content: '';
      display: inline-block;
      width: 3px;
      height: 3px;
      margin-inline-end: 8px;
      border-radius: 50%;
      background: currentColor;
      vertical-align: middle;
      opacity: .55;
    }

    .exam-level {
      display: inline-flex;
      align-items: center;
      min-height: 21px;
      padding: 1px 7px;
      border: 1px solid rgba(150, 239, 218, .18);
      border-radius: 999px;
      background: rgba(150, 239, 218, .045);
      color: var(--mint);
      font-size: .6rem;
      font-weight: 550;
      line-height: 1.6;
      white-space: nowrap;
    }

    .exam-level--hard {
      border-color: rgba(233, 189, 128, .22);
      background: rgba(233, 189, 128, .055);
      color: var(--amber);
    }

    .exam-level--easy {
      border-color: rgba(204, 231, 223, .13);
      background: rgba(255, 255, 255, .022);
      color: var(--muted);
    }

    .exam-catalog {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 8px;
    }

    .exam-card {
      display: flex;
      flex-direction: column;
      min-height: 86px;
      padding: 11px 12px;
      border: 1px solid rgba(193, 229, 220, .1);
      border-radius: 12px;
      background: rgba(255, 255, 255, .018);
      transition-delay: calc(100ms + var(--exam-index, 0) * 35ms);
    }

    .exam-card:nth-child(1) { --exam-index: 0; transition-delay: 100ms; }
    .exam-card:nth-child(2) { --exam-index: 1; transition-delay: 135ms; }
    .exam-card:nth-child(3) { --exam-index: 2; transition-delay: 170ms; }
    .exam-card:nth-child(4) { --exam-index: 3; transition-delay: 205ms; }
    .exam-card:nth-child(5) { --exam-index: 4; transition-delay: 240ms; }
    .exam-card:nth-child(6) { --exam-index: 5; transition-delay: 275ms; }

    .exam-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 7px;
    }

    .exam-card h3 {
      margin-top: 7px;
      font-size: .9rem;
      line-height: 1.35;
    }

    .exam-card p {
      margin: auto 0 0;
      padding-top: 6px;
      color: var(--quiet);
      font-size: .66rem;
      line-height: 1.6;
    }

    .exam-card .exam-level { min-height: 19px; padding: 0 6px; font-size: .56rem; }

    /* Analytics console */
    .analytics-grid {
      display: grid;
      grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
      gap: 9px;
      margin-top: 2px;
    }

    .score-card {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 190px;
      padding: 10px;
      overflow: hidden;
      border: 1px solid rgba(193, 229, 220, .1);
      border-radius: 15px;
      background:
        radial-gradient(80% 85% at 50% 42%, rgba(73, 184, 160, .09), transparent 70%),
        rgba(255, 255, 255, .018);
    }

    .score-ring {
      width: min(90%, 186px);
      height: auto;
      transform: rotate(-90deg);
      overflow: visible;
    }

    .score-ring__track,
    .score-ring__value {
      fill: none;
      stroke-width: 7;
    }

    .score-ring__track { stroke: rgba(204, 236, 227, .1); }

    .score-ring__value {
      stroke: var(--mint);
      stroke-linecap: round;
      stroke-dasharray: 351.86;
      stroke-dashoffset: 351.86;
      transition: stroke-dashoffset .7s var(--ease);
      transition-delay: .08s;
    }

    .analytics-stage.is-visible .score-ring__value { stroke-dashoffset: 77.41; }

    .score-value {
      position: absolute;
      inset: 0;
      display: grid;
      place-content: center;
      gap: 1px;
      text-align: center;
      pointer-events: none;
    }

    .score-value strong {
      color: var(--ivory);
      font-size: clamp(2rem, 3.1vw, 2.75rem);
      font-weight: 750;
      line-height: 1.1;
      letter-spacing: -.05em;
    }

    .score-value span {
      color: var(--quiet);
      font-size: .7rem;
      line-height: 1.7;
    }

    .analytics-kpis {
      display: grid;
      gap: 7px;
    }

    .kpi {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 13px;
      border: 1px solid rgba(193, 229, 220, .1);
      border-radius: 11px;
      background: rgba(255, 255, 255, .018);
    }

    .kpi span {
      color: var(--quiet);
      font-size: .72rem;
      line-height: 1.6;
    }

    .kpi strong {
      color: var(--ivory);
      font-size: 1.35rem;
      font-weight: 650;
      line-height: 1.2;
    }

    .topic-breakdown {
      margin-top: 8px;
      padding: 11px 13px 12px;
      border: 1px solid rgba(193, 229, 220, .1);
      border-radius: 12px;
      background: rgba(255, 255, 255, .015);
    }

    .topic-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--muted);
      font-size: .7rem;
      line-height: 1.6;
    }

    .topic-head span:last-child {
      color: var(--quiet);
      font-size: .6rem;
    }

    .topic-row { margin-top: 8px; }

    .topic-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--muted);
      font-size: .7rem;
      line-height: 1.6;
    }

    .topic-label span:first-child {
      direction: ltr;
      unicode-bidi: isolate;
    }

    .topic-label span:last-child { color: var(--ivory); }

    .topic-track {
      height: 5px;
      margin-top: 4px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(206, 238, 229, .08);
    }

    .topic-track span {
      display: block;
      width: var(--value);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, rgba(101, 213, 189, .65), var(--mint));
      transform: scaleX(0);
      transform-origin: right center;
      transition: transform .55s var(--ease);
      transition-delay: .1s;
    }

    .topic-row:nth-child(2) .topic-track span { --value: 82%; }
    .topic-row:nth-child(3) .topic-track span { --value: 64%; }
    .topic-row:nth-child(4) .topic-track span { --value: 87%; }
    .topic-row:nth-child(5) .topic-track span { --value: 75%; }

    .topic-row:nth-of-type(3) .topic-track span { transition-delay: .16s; }
    .topic-row:nth-of-type(4) .topic-track span { transition-delay: .22s; }
    .topic-row:nth-of-type(5) .topic-track span { transition-delay: .28s; }
    .analytics-stage.is-visible .topic-track span { transform: scaleX(1); }

    .analytics-bottom {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 8px;
      margin-top: 8px;
    }

    .focus-card,
    .session-card {
      display: flex;
      flex-direction: column;
      gap: 3px;
      padding: 11px 12px;
      border: 1px solid rgba(193, 229, 220, .1);
      border-radius: 11px;
      background: rgba(255, 255, 255, .015);
    }

    .focus-card {
      border-color: rgba(233, 189, 128, .19);
      background:
        radial-gradient(100% 100% at 90% 0%, rgba(233, 189, 128, .075), transparent 64%),
        rgba(255, 255, 255, .015);
    }

    .focus-label,
    .session-label {
      color: var(--quiet);
      font-size: .6rem;
      line-height: 1.6;
    }

    .focus-card strong,
    .session-card strong {
      color: var(--ivory);
      font-size: .84rem;
      font-weight: 600;
      line-height: 1.6;
    }

    .focus-card strong { color: var(--amber); }

    .focus-hint,
    .session-hint {
      color: rgba(143, 168, 160, .8);
      font-size: .62rem;
      line-height: 1.7;
    }

    /* Quiz context */
    .quiz-progress {
      height: 2px;
      margin: -5px 0 13px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(19, 55, 48, .1);
    }

    .quiz-progress span {
      display: block;
      width: 33.333%;
      height: 100%;
      border-radius: inherit;
      background: #2e8d7c;
      transition: width .4s var(--ease);
    }

    .quiz-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 13px;
      color: #6c786b;
      font-size: .65rem;
      line-height: 1.6;
    }

    .quiz-level {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 1px 8px;
      border: 1px solid rgba(24, 87, 76, .2);
      border-radius: 999px;
      color: #286459;
      font-weight: 550;
    }

    .quiz-sample-tag {
      color: #8a8172;
      font-size: .6rem;
    }

    .answer__text--code {
      direction: ltr;
      unicode-bidi: isolate;
      font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
      font-size: .84rem;
      letter-spacing: -.015em;
      text-align: right;
    }

    .peek-option.is-code {
      justify-content: flex-start;
      font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
      text-align: left;
    }

    /* Phase accents */
    .ambient-glow { transition: opacity .6s var(--ease); }

    .stage[data-phase='domains'] .ambient-glow--north,
    .stage[data-phase='library'] .ambient-glow--north { opacity: 1; }

    .stage[data-phase='library'] .ambient-glow--east { opacity: .85; }

    .stage[data-phase='analytics'] .ambient-glow--east { opacity: 1; }

    .stage[data-phase='finale'] .ambient-glow--east { opacity: .55; }

    /* Responsive capability surfaces */
    @media (max-width: 1023px) {
      .scene--domains .scene-copy,
      .scene--library .scene-copy,
      .scene--analytics .scene-copy {
        top: clamp(82px, 12vh, 102px);
        bottom: auto;
      }

      .scene--domains h2,
      .scene--library h2,
      .scene--analytics h2 {
        max-width: 16ch;
        font-size: clamp(1.65rem, 7vw, 2.5rem);
      }

      .scene--domains .scene-desc,
      .scene--library .scene-desc,
      .scene--analytics .scene-desc {
        margin-top: 10px;
        font-size: .82rem;
        line-height: 1.8;
      }

      .capability-stage,
      .analytics-stage {
        top: 44%;
        right: auto;
        bottom: auto;
        left: 50%;
        width: calc(100% - 40px);
        max-width: 760px;
        transform: translateX(-50%);
      }

      .atlas-shell,
      .exam-shell,
      .analytics-shell {
        padding: 12px;
        border-radius: 18px;
      }

      .panel-topline { margin-bottom: 8px; }
      .micro-label { font-size: .49rem; }
      .panel-status { min-height: 21px; padding: 1px 7px; font-size: .51rem; }
      .panel-foot { margin-top: 7px; font-size: .49rem; }

      .atlas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
      }

      .domain-core-tile { display: none; }

      .domain-tile,
      .domain-core-tile {
        min-height: 50px;
        padding: 7px 9px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        border-radius: 9px;
      }

      .domain-code { font-size: .78rem; }
      .domain-name { margin-top: 0; font-size: .64rem; }
      .domain-meta { display: none; }

      .exam-feature {
        gap: 8px;
        padding: 9px 10px;
        border-radius: 10px;
      }

      .exam-code { font-size: .52rem; }
      .exam-feature-copy h3 { margin-top: 1px; font-size: .84rem; }
      .exam-feature-copy p { gap: 6px; margin-top: 2px; font-size: .56rem; }
      .exam-level { min-height: 18px; padding: 0 6px; font-size: .51rem; }

      .exam-catalog {
        gap: 5px;
        margin-top: 5px;
      }

      .exam-card {
        min-height: 64px;
        padding: 7px 9px;
        border-radius: 9px;
      }

      .exam-card h3 { margin-top: 4px; font-size: .73rem; }
      .exam-card p { padding-top: 4px; font-size: .54rem; }
      .exam-card .exam-level { min-height: 17px; font-size: .47rem; padding: 0 5px; }
      .exam-card .exam-code { font-size: .49rem; }

      .analytics-grid {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 7px;
      }

      .score-card { min-height: 112px; padding: 5px; border-radius: 11px; }
      .score-ring { width: 96px; }
      .score-ring__track,
      .score-ring__value { stroke-width: 8; }
      .score-value strong { font-size: 1.55rem; }
      .score-value span { font-size: .54rem; }

      .analytics-kpis { gap: 4px; }
      .kpi { padding: 6px 8px; border-radius: 8px; }
      .kpi span { font-size: .55rem; }
      .kpi strong { font-size: .85rem; }

      .topic-breakdown { margin-top: 6px; padding: 8px 9px; border-radius: 9px; }
      .topic-head { font-size: .57rem; }
      .topic-row { margin-top: 5px; }
      .topic-label { font-size: .55rem; }
      .topic-track { height: 4px; margin-top: 3px; }

      .analytics-bottom { gap: 5px; margin-top: 6px; }
      .focus-card,
      .session-card { padding: 7px 8px; border-radius: 8px; }
      .focus-label,
      .session-label { font-size: .47rem; }
      .focus-card strong,
      .session-card strong { font-size: .64rem; }
      .focus-hint,
      .session-hint { display: none; }
    }

    @media (min-width: 640px) and (max-width: 1023px) {
      .capability-stage,
      .analytics-stage {
        max-width: 720px;
      }

      .atlas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .domain-tile { min-height: 64px; }
      .domain-code { font-size: .82rem; }
      .domain-name { font-size: .65rem; }

      .exam-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .exam-card { min-height: 72px; }
      .exam-feature-copy h3 { font-size: .9rem; }
      .exam-card h3 { font-size: .75rem; }

      .analytics-grid { grid-template-columns: 132px minmax(0, 1fr); }
      .score-card { min-height: 138px; }
      .score-ring { width: 122px; }
      .score-value strong { font-size: 1.9rem; }
      .score-value span { font-size: .56rem; }
      .kpi { padding: 8px 10px; }
      .kpi span { font-size: .57rem; }
      .kpi strong { font-size: .96rem; }
      .topic-breakdown { padding: 10px 12px; }
      .topic-label { font-size: .56rem; }
      .topic-head { font-size: .58rem; }
      .focus-card strong,
      .session-card strong { font-size: .65rem; }
    }

    @media (max-height: 740px) and (max-width: 1023px) {
      .capability-stage,
      .analytics-stage {
        top: 44%;
        bottom: auto;
      }

      .scene--domains .scene-desc,
      .scene--library .scene-desc,
      .scene--analytics .scene-desc {
        margin-top: 7px;
        font-size: .77rem;
        line-height: 1.75;
      }

      .atlas-shell,
      .exam-shell,
      .analytics-shell { padding: 9px; }
      .panel-topline { margin-bottom: 5px; }
      .panel-foot { display: none; }

      .domain-tile {
        min-height: 34px;
        padding: 4px 7px;
      }

      .domain-code { font-size: .66rem; }
      .domain-name { font-size: .53rem; }

      .exam-feature { padding: 7px 8px; }
      .exam-feature-copy h3 { font-size: .72rem; }
      .exam-feature-copy p { font-size: .49rem; }
      .exam-feature .exam-level { font-size: .43rem; }
      .exam-card { min-height: 53px; padding: 6px 7px; }
      .exam-card h3 { font-size: .64rem; }
      .exam-card p { font-size: .46rem; }
      .exam-card:nth-child(n+5) { display: none; }

      .analytics-middle,
      .analytics-bottom { display: none; }
      .analytics-grid { grid-template-columns: 92px minmax(0, 1fr); }
      .score-card { min-height: 92px; }
      .score-ring { width: 82px; }
      .score-value strong { font-size: 1.35rem; }
      .analytics-kpis { grid-template-columns: 1fr 1fr; }
      .kpi { padding: 5px 7px; }
      .kpi:last-child { display: none; }
      .kpi span { font-size: .46rem; }
      .kpi strong { font-size: .78rem; }
      .topic-breakdown { margin-top: 5px; padding: 7px 8px; }
      .topic-head,
      .topic-row:nth-of-type(5) { display: none; }
      .topic-label { font-size: .47rem; }
    }

    @media (max-height: 740px) and (min-width: 1024px) {
      .atlas-shell,
      .exam-shell,
      .analytics-shell { padding: 14px; }
      .domain-tile { min-height: 82px; }
      .exam-card { min-height: 70px; }
      .score-card { min-height: 160px; }
      .analytics-bottom { display: none; }
    }

    @media (min-width: 640px) and (max-width: 1023px) and (min-height: 900px) {
      .scene--practice .scene-copy { top: 20vh; }
      .quiz-shell {
        top: 33vh;
        bottom: auto;
        transform: none;
      }
    }

    @media (min-width: 1024px) {
      .scene--library .scene-copy,
      .scene--analytics .scene-copy {
        inset-block-start: clamp(132px, 18vh, 176px);
        inset-block-end: auto;
      }
    }

    @media (max-width: 1023px) and (max-height: 520px) {
      .hero .world,
      .domain-stage,
      .library-stage,
      .analytics-stage,
      .system-stage { display: none !important; }

      .hero-copy { top: 80px; }

      .scene--domains .scene-copy,
      .scene--library .scene-copy,
      .scene--analytics .scene-copy {
        top: 76px;
        bottom: auto;
      }

      .scene--domains h2,
      .scene--library h2,
      .scene--analytics h2 {
        max-width: 24ch;
        font-size: clamp(1.65rem, 5vw, 2.15rem);
      }

      .scene--domains .scene-desc,
      .scene--library .scene-desc,
      .scene--analytics .scene-desc {
        max-width: 55em;
        margin-top: 8px;
        font-size: .8rem;
        line-height: 1.75;
      }

      .scene--practice .scene-copy { display: none; }
      .quiz-shell {
        top: 78px;
        bottom: 56px;
      }

      .scene--finale .finale-copy {
        top: 76px;
        bottom: auto;
      }

      .finale-copy h2 {
        max-width: 30ch;
        font-size: clamp(1.8rem, 4.8vw, 2.3rem);
      }

      .finale-copy .scene-desc {
        margin-top: 8px;
        font-size: .82rem;
        line-height: 1.75;
      }

      .final-actions { margin-top: 12px; }
      .final-disclaimer { margin-top: 8px; font-size: .6rem; }
    }

    @media (max-width: 1023px) and (max-height: 900px) {
      .final-echo { display: none !important; }
    }

    @media (max-height: 720px) {
      .final-echo { display: none !important; }
    }

    @media (max-width: 1023px) and (max-height: 700px) {
      .quiz-shell {
        top: 174px;
        bottom: 70px;
      }

      .quiz-card { padding: 15px 13px 14px; }
      .quiz-topline { margin-bottom: 9px; font-size: .64rem; }
      .quiz-meta { display: none; }
      .quiz-progress { margin: -3px 0 9px; }
      .quiz-title { font-size: .96rem; line-height: 1.55; }
      .quiz-form { margin-top: 10px; }
      .quiz-options { gap: 5px; }
      .answer {
        grid-template-columns: 21px minmax(0, 1fr) 17px;
        gap: 7px;
        min-height: 42px;
        padding: 5px 8px;
        font-size: .78rem;
        border-radius: 8px;
      }
      .answer__key { width: 21px; height: 21px; font-size: .57rem; }
      .answer__signal { width: 17px; height: 17px; }
      .answer__signal .icon { width: 14px; height: 14px; }
      .answer__text--code { font-size: .8rem; }
      .quiz-actions { margin-top: 9px; }
      .quiz-note { display: none; }
      .button--ink { min-height: 42px; }
      .quiz-feedback { padding: 10px; margin-top: 8px; }
      .feedback-copy { font-size: .72rem; line-height: 1.75; }
      .feedback-actions { margin-top: 7px; }
    }

    @media (max-width: 1023px) and (max-height: 620px) {
      .quiz-shell {
        top: 150px;
        bottom: 62px;
      }

      .quiz-card { padding: 12px 11px 11px; border-radius: 14px; }
      .quiz-topline { margin-bottom: 7px; gap: 8px; font-size: .6rem; }
      .quiz-progress { margin: -2px 0 7px; }
      .quiz-title { font-size: .9rem; line-height: 1.5; }
      .quiz-form { margin-top: 8px; }
      .quiz-options { gap: 4px; }
      .answer {
        grid-template-columns: 20px minmax(0, 1fr) 16px;
        gap: 6px;
        min-height: 40px;
        padding: 4px 8px;
        font-size: .75rem;
        line-height: 1.55;
      }
      .answer__key { width: 20px; height: 20px; font-size: .54rem; }
      .answer__signal { width: 16px; height: 16px; }
      .answer__text--code { font-size: .77rem; }
      .quiz-actions { margin-top: 8px; }
      .button--ink { min-height: 39px; font-size: .74rem; }
      .button--ink .button__icon { width: 25px; height: 25px; }
      .quiz-feedback { padding: 9px; margin-top: 7px; }
      .feedback-head { font-size: .75rem; }
      .feedback-copy { font-size: .69rem; line-height: 1.7; }
      .feedback-actions { margin-top: 5px; }
    }

    @media (max-width: 1023px) and (max-height: 520px) {
      .quiz-shell {
        top: 74px;
        bottom: 58px;
      }

      .quiz-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .answer { min-height: 34px; padding-block: 3px; }
      .quiz-actions { margin-top: 7px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .scene--practice .scene-copy { display: block !important; }

      .capability-stage,
      .analytics-stage { display: none !important; }

      .domain-tile,
      .domain-core-tile,
      .exam-feature,
      .exam-card,
      .score-ring__value,
      .topic-track span {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
      }

      .score-ring__value { stroke-dashoffset: 77.41 !important; }
      .topic-track span { transform: scaleX(1) !important; }
    }

