  /* Atlas brand tokens, from mobile/lib/game/skins.dart (id: 'atlas') */
  :root {
    --bg: #062620;          /* marble green screen background */
    --forest: #0B3A30;      /* primary / bar */
    --forest-2: #134a3e;
    --brass: #E8CF8E;       /* accent on dark */
    --brass-deep: #9C7631;  /* accent on parchment (large text / rules only) */
    --brass-ink: #7A5A22;   /* small brass text on parchment (AA contrast) */
    --page: #F7EFDC;        /* parchment panel */
    --paper: #EFE4C8;
    --ink: #12382E;         /* dark green text on parchment (flyer) */
    --soft: #3E5A4F;        /* secondary green text on parchment */
    --line: #D9CBA6;
    --chip: #EADFC2;
    --on-bg: #F3EAD3;       /* text on green */
    --on-bg-soft: #CFC6AE;
    --good: #2E7D52;
    --radius: 14px;
    --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --label: "Cinzel", Georgia, serif;
    --body: "EB Garamond", Georgia, "Times New Roman", serif;
    --wrap: 1120px;
    --gutter: clamp(16px, 4vw, 40px);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.1875rem;
    line-height: 1.6;
    color: var(--ink);
    background:
      radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.6), transparent 60%),
      radial-gradient(90% 60% at 100% 100%, rgba(201,162,76,.14), transparent 70%),
      #F4ECD8;
    overflow-x: hidden;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; }
  h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; }
  p { margin: 0 0 1em; }
  .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

  .skip {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--brass); color: var(--bg); padding: 10px 16px; border-radius: 8px;
    font-family: var(--label); font-weight: 700; text-decoration: none;
  }
  .skip:focus { top: 12px; }
  :focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
  .ribbon :focus-visible, .site-footer :focus-visible, .feature.wide :focus-visible { outline-color: var(--brass); }

  /* Small caps label flanked by brass rules (SectionLabel in brand.dart) */
  .eyebrow {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    font-family: var(--label); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--brass-ink); margin: 0 0 14px;
  }
  .eyebrow::before, .eyebrow::after {
    content: ""; height: 1px; width: 44px; background: currentColor; opacity: 0.6;
  }
  .parchment .eyebrow { color: var(--brass-ink); }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 13px 22px; border-radius: var(--radius);
    font-family: var(--label); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em;
    text-transform: uppercase; text-decoration: none; text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  }
  /* GoldButton, brass finish */
  .btn-brass {
    color: var(--bg);
    background: linear-gradient(180deg, #F1DC9E 0%, #D2AE62 55%, #A97F35 100%);
    border: 1px solid #7A5A22;
    box-shadow: 0 4px 10px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.45);
  }
  .btn-brass:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 8px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.45); }
  .btn-brass svg { width: 18px; height: 18px; flex: none; }
  /* Outline button (direct APK download) */
  .btn-line { color: var(--ink); border: 1px solid var(--brass-deep); background: rgba(255,255,255,.45); }
  .btn-line:hover { transform: translateY(-2px); background: rgba(255,255,255,.7); }
  .btn-line svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .store-note { flex-basis: 100%; margin: 0; font-size: .95rem; color: var(--soft); }
  /* Official store badges, used unmodified (no links until the store listings are live) */
  .store { display: block; line-height: 0; }
  .store img { height: 48px; width: auto; }
  .launch {
    font-family: var(--label); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--brass-ink); margin: 0 0 12px;
  }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244,236,216,.9);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(156,118,49,.35);
  }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand img { width: 38px; height: 38px; }
  .brand b { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
  .nav { display: flex; align-items: center; gap: 26px; }
  .nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
  .nav ul a {
    font-family: var(--label); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; text-decoration: none; color: var(--soft);
    padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
  }
  .nav ul a:hover { color: var(--ink); border-color: var(--brass-deep); }
  .nav .btn { min-height: 42px; padding: 9px 16px; font-size: 0.8rem; }
  @media (max-width: 860px) { .nav ul { display: none; } }
  @media (max-width: 400px) { .brand b { font-size: 1.35rem; } .brand img { width: 32px; height: 32px; } }

  /* ---------- Hero ---------- */
  .hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
  .hero::before { /* soft glow behind the globe */
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(55% 55% at 72% 45%, rgba(201,162,76,.22), transparent 70%),
                radial-gradient(45% 55% at 18% 30%, rgba(255,255,255,.55), transparent 70%);
    pointer-events: none;
  }
  /* Animated logo: three stacked layers cut from logo-mark.png */
  .logo { position: relative; display: block; width: min(380px, 80%); aspect-ratio: 1; }
  .logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .logo .rose  { transform-origin: 50.7% 44%; animation: rose-in 1.8s cubic-bezier(.3,1.5,.5,1) both, sway 9s ease-in-out 1.8s infinite; }
  .logo .globe { transform-origin: 50.7% 44%; animation: globe-in 1s ease-out .2s both, glow 5s ease-in-out 1.2s infinite; }
  .logo .word  { animation: rise .9s ease-out .7s both; }
  .logo .shine { /* a glint that sweeps across the gold, clipped to the logo's shape */
    position: absolute; inset: 0; pointer-events: none;
    -webkit-mask: url(logo-mark.webp) center / 100% 100% no-repeat; mask: url(logo-mark.webp) center / 100% 100% no-repeat;
    background: linear-gradient(105deg, transparent 40%, rgba(255,246,214,.55) 50%, transparent 60%) no-repeat;
    background-size: 300% 100%; background-position: 120% 0; mix-blend-mode: soft-light;
    animation: shine 7s ease-in-out 2.2s infinite;
  }
  @keyframes rose-in { from { opacity: 0; rotate: -150deg; scale: .7; } to { opacity: 1; rotate: 0deg; scale: 1; } }
  @keyframes sway { 0%,100% { rotate: 0deg; } 30% { rotate: 4deg; } 65% { rotate: -3deg; } }
  @keyframes globe-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
  @keyframes glow { 0%,100% { filter: drop-shadow(0 0 0 rgba(232,207,142,0)); } 50% { filter: drop-shadow(0 0 14px rgba(232,207,142,.45)); } }
  @keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
  @keyframes shine { 0% { background-position: 120% 0; } 35%,100% { background-position: -20% 0; } }

  /* Background "playfield": flight routes between pins, planes, twinkles */
  .playfield { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
  .playfield svg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); transition: translate .6s ease-out; }
  .route { fill: none; stroke: #9C7631; stroke-width: 1.6; stroke-dasharray: 3 9; stroke-linecap: round; opacity: .35; animation: march 6s linear infinite; }
  .pin path { fill: #12382E; } .pin circle.dot { fill: #E8CF8E; }
  .pin .ring { fill: none; stroke: #9C7631; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 3.2s ease-out infinite; }
  .plane { fill: #12382E; opacity: .8; }
  .twinkle { fill: #C9A24C; transform-box: fill-box; transform-origin: center; animation: twinkle 4s ease-in-out infinite; }
  @keyframes march { to { stroke-dashoffset: -120; } }
  @keyframes ping { 0% { scale: .4; opacity: .9; } 100% { scale: 2.6; opacity: 0; } }
  @keyframes twinkle { 0%,100% { scale: .3; opacity: 0; } 50% { scale: 1; opacity: .9; } }

  /* Quiz chips that play out a turn next to the cards */
  .chip {
    position: absolute; z-index: 2; white-space: nowrap; pointer-events: none;
    font-family: var(--display); font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 600; color: #1F2A24;
    background: #F6EBD0; border: 1px solid #C9A24C; border-radius: 999px; padding: 6px 14px;
    box-shadow: 0 8px 18px rgba(60,40,10,.25); opacity: 0; animation: chip 12s ease-in-out infinite;
  }
  .chip.ok { background: #1F6B4F; color: #F6EBD0; border-color: #E8CF8E; }
  .chip.win { background: linear-gradient(180deg, #F3D98E, #C9A24C); color: #2A1E07; }
  .chip.q   { left: 8%; top: -6%; animation-delay: 2s; }
  .chip.ok  { left: 52%; top: 58%; animation-delay: 4s; }
  .chip.win { right: 4%; bottom: 2%; animation-delay: 5.6s; }
  @keyframes chip {
    0% { opacity: 0; translate: 0 10px; scale: .85; }
    4%, 30% { opacity: 1; translate: 0 0; scale: 1; }
    36%, 100% { opacity: 0; translate: 0 -12px; scale: .95; }
  }
  .hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
  .hero h1 { margin: 0 0 18px; }
  .tagline {
    font-family: var(--display); font-weight: 600;
    font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; color: var(--ink); margin: 0 0 18px;
  }
  .lede { font-size: 1.25rem; color: var(--soft); max-width: 34em; }
  .cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
  .cta .btn { min-height: 54px; padding: 15px 26px; font-size: 0.95rem; }
  .stores { display: flex; flex-wrap: wrap; gap: 12px; }
  
  .table { position: relative; aspect-ratio: 1 / 0.78; margin: 0; max-width: 540px; width: 100%; justify-self: center; }
  /* Four complete cards (cut from the flyer) fan out from one point below the hand, then float */
  .table .card { position: absolute; filter: drop-shadow(0 12px 16px rgba(60,40,10,.25)); transform-origin: 50% 170%;
    animation: fan-out 1s cubic-bezier(.2,.8,.2,1) both, float 7s ease-in-out infinite; }
  .table .c1 { width: 40%; left: -2%; top: 14%; transform: rotate(-10deg); --a: 10deg;  animation-delay: .2s, 1.4s; }
  .table .c2 { width: 33%; left: 23%; top: 4%;  transform: rotate(-3deg);  --a: 3deg;   animation-delay: .3s, 2.6s; }
  .table .c3 { width: 33%; left: 45%; top: 5%;  transform: rotate(3deg);   --a: -3deg;  animation-delay: .4s, 2s; }
  .table .c4 { width: 39%; left: 63%; top: 14%; transform: rotate(9deg);   --a: -9deg;  animation-delay: .5s, 3.2s; }
  @keyframes fan-out { from { opacity: 0; rotate: var(--a); translate: 0 40px; } 40% { opacity: 1; } to { opacity: 1; rotate: 0deg; translate: 0 0; } }
  .table figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
    font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-ink);
  }

  @media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; text-align: center; }
    .logo, .lede { margin-left: auto; margin-right: auto; }
    .cta, .stores { justify-content: center; }
    .table { max-width: min(400px, 88%); order: -1; margin-bottom: -8px; }
    .logo { width: min(260px, 70%); }
    .chip.q { left: 4%; top: -8%; }
  }
  @media (max-width: 480px) {
    .cta .btn { width: 100%; }
    .stores { justify-content: center; }
    .store img { height: 44px; }
  }

  /* ---------- Stat ribbon ---------- */
  .ribbon { color: var(--on-bg); border-top: 1px solid var(--brass-deep); border-bottom: 1px solid var(--brass-deep); background: var(--bg) url("bg-texture.webp") repeat; background-size: 384px; }
  .ribbon ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--wrap); gap: 12px; text-align: center; }
  .ribbon b { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; color: var(--brass); line-height: 1; }
  .ribbon span { font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-bg-soft); }
  @media (max-width: 720px) {
    .ribbon ul { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .ribbon li:first-child { grid-column: 1 / -1; }
  }

  /* ---------- Sections ---------- */
  section { scroll-margin-top: 72px; }
  .section { padding: clamp(64px, 9vw, 112px) 0; }
  .section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
  .section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
  .section-head p { font-size: 1.2rem; color: var(--soft); margin: 0; }

  .parchment {
    color: var(--ink);
    background:
      radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.55), transparent 60%),
      linear-gradient(180deg, var(--page), var(--paper));
    border-top: 1px solid rgba(156,118,49,.45);
    border-bottom: 1px solid rgba(156,118,49,.45);
    box-shadow: inset 0 0 120px rgba(156,118,49,.16);
  }
  .parchment .section-head p { color: var(--soft); }

  /* How it works */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
  .step { position: relative; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.45); }
  .step .num {
    display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 18px;
    font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--brass);
    background: radial-gradient(circle at 35% 30%, var(--forest-2), var(--forest));
    border: 2px solid var(--brass-deep); box-shadow: 0 0 0 4px var(--chip);
  }
  .step h3 { font-size: 1.9rem; margin-bottom: 10px; }
  .step p { color: var(--soft); margin: 0; }
  .quartets { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
  .quartet { padding: 20px 22px; border-left: 3px solid var(--brass-deep); background: var(--chip); border-radius: 0 var(--radius) var(--radius) 0; }
  .quartet h3 { font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 6px; font-weight: 700; }
  .quartet p { margin: 0; }
  @media (max-width: 860px) { .steps, .quartets { grid-template-columns: 1fr; } }

  /* Modes */
  .modes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .mode-group h3 { font-family: var(--label); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 14px; }
  .pair { display: grid; gap: 16px; }
  .panel {
    color: var(--ink); border-radius: var(--radius); padding: 24px 24px 22px;
    background: linear-gradient(135deg, #FAF5E8, var(--page));
    border: 1.2px solid rgba(156,118,49,.55);
    box-shadow: 0 8px 18px rgba(60,40,10,.12);
  }
  .panel header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
  .medal {
    flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--forest-2), var(--forest));
    border: 2px solid var(--brass-deep);
  }
  .medal svg { width: 22px; height: 22px; stroke: var(--brass); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .panel h4 { font-family: var(--display); font-size: 1.8rem; font-weight: 600; margin: 0; line-height: 1.1; }
  .panel p { color: var(--soft); margin: 0; }
  .panel .tag { display: inline-block; margin-top: 12px; font-family: var(--label); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); background: var(--chip); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
  .levels { margin-top: 44px; text-align: center; }
  .levels ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 16px 0 12px; }
  .levels li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
  .levels li b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: var(--brass); font-family: var(--label); font-size: 0.75rem; }
  .levels p { color: var(--soft); max-width: 640px; margin: 0 auto; }
  @media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }

  /* Features */
  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
  .feature { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5); }
  .feature .medal { margin-bottom: 16px; width: 50px; height: 50px; }
  .feature h3 { font-size: 1.75rem; margin-bottom: 8px; }
  .feature p { color: var(--soft); margin: 0; }
  .feature.wide { grid-column: span 2; position: relative; overflow: hidden; padding-right: 38%; background: radial-gradient(circle at 85% 50%, var(--forest-2), var(--forest) 60%); color: var(--on-bg); border-color: var(--brass-deep); }
  .feature.wide .art { position: absolute; right: -4%; top: 50%; width: 34%; max-width: 190px; translate: 0 -50%; opacity: .9; }
  .feature.wide.alt { padding-right: 24px; }
  .feature.wide h3 { color: var(--brass); }
  .feature.wide p { color: var(--on-bg-soft); }
  .feature.wide .medal { border-color: var(--brass); }
  @media (max-width: 960px) {
    .features { grid-template-columns: 1fr 1fr; }
    .feature.wide, .feature.span-narrow { grid-column: 1 / -1; }
  }
  @media (max-width: 640px) {
    .features { grid-template-columns: 1fr; }
    .feature.wide { grid-column: auto; padding-right: 24px; }
    .feature.wide .art { display: none; }
  }

  /* FAQ */
  .faq { max-width: 780px; margin: 0 auto; }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq details:first-child { border-top: 1px solid var(--line); }
  .faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 4px; cursor: pointer; list-style: none;
    font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.2;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--brass-deep); color: var(--brass-ink); font-family: var(--body); font-size: 1.3rem; line-height: 1;
    transition: transform .25s ease;
  }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq summary:hover { color: var(--brass-ink); }
  .faq .answer { padding: 0 4px 22px; color: var(--soft); }
  .faq .answer p:last-child { margin: 0; }

  /* Closing CTA */
  .closer { text-align: center; padding: clamp(64px, 9vw, 104px) 0; position: relative; overflow: hidden; }
  .closer img.emblem { width: 120px; margin: 0 auto 22px; }
  .closer h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 12px; }
  .closer p { color: var(--soft); font-size: 1.2rem; margin-bottom: 28px; }

  /* Footer */
  .site-footer { border-top: 1px solid var(--brass-deep); background: var(--bg) url("bg-texture.webp") repeat; background-size: 384px; padding: 40px 0 32px; font-size: 1rem; color: var(--on-bg-soft); }
  .site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
  .site-footer h2 { font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; font-weight: 700; }
  .site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .site-footer a { text-decoration: none; }
  .site-footer a:hover { color: var(--brass); text-decoration: underline; }
  .site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(232,207,142,.15); padding-top: 18px; font-size: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  @media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

  /* ---------- Light motion ---------- */
  @keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
  @keyframes deal { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
  .js .hero:not(.ready) *, .js .hero:not(.ready) *::before { animation-play-state: paused !important; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .plane, .twinkle, .chip, .logo .shine { display: none; }
  }

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

  /* ---------- Phone frame (video + guide screenshots) ---------- */
  .phone {
    position: relative; width: min(300px, 78vw); margin: 0 auto;
    border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #1d2b26, #0b1714);
    box-shadow: 0 0 0 1.5px #9C7631, 0 24px 48px rgba(60,40,10,.28), inset 0 0 0 1px rgba(255,255,255,.08);
  }
  .phone > video, .phone > img {
    display: block; width: 100%; height: auto; aspect-ratio: 720 / 1558; object-fit: cover;
    border-top: 46px solid #F4ECD8; border-radius: 33px; background: #F4ECD8;
  }
  .phone::before { /* dynamic island */
    content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; translate: -50% 0;
    border-radius: 12px; background: #0b1714; z-index: 1;
  }
  .phone.sm { width: min(240px, 64vw); border-radius: 34px; padding: 8px; }
  .phone.sm > img { border-radius: 27px; border-top-width: 36px; }
  .phone.sm::before { top: 14px; height: 17px; }

  /* Watch a turn (homepage) */
  .watch { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
  .watch h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 14px; }
  .watch ol { margin: 18px 0 26px; padding-left: 1.2em; color: var(--soft); }
  .watch ol li { margin-bottom: 6px; }
  .watch ol b { color: var(--ink); }
  .text-link { font-family: var(--label); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
  .text-link:hover { color: var(--ink); }
  @media (max-width: 860px) { .watch { grid-template-columns: 1fr; text-align: center; } .watch ol { text-align: left; max-width: 30em; margin-left: auto; margin-right: auto; } }

  /* ---------- Background music toggle ---------- */
  .sound-toggle {
    position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: radial-gradient(circle at 35% 30%, var(--forest-2), var(--forest)); color: var(--brass);
    border: 1.5px solid var(--brass-deep); box-shadow: 0 6px 16px rgba(60,40,10,.25);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .sound-toggle:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(60,40,10,.3); }
  .sound-toggle:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
  .sound-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .sound-toggle svg path:first-child { fill: currentColor; }
  .sound-toggle .wave { display: none; }
  .sound-toggle.on .wave { display: inline; }
  .sound-toggle.on .mute { display: none; }
  .sound-toggle.on::after { /* soft pulse while music plays */
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--brass-deep);
    animation: ping-ring 2.4s ease-out infinite; pointer-events: none;
  }
  @keyframes ping-ring { from { opacity: .7; scale: .9; } to { opacity: 0; scale: 1.35; } }
  @media (prefers-reduced-motion: reduce) { .sound-toggle.on::after { animation: none; display: none; } }

  /* ---------- Your family (landing) ---------- */
  .famsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
  .famstep { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .famstep .phone.sm { width: min(220px, 62vw); }
  .famstep h3 { font-size: 1.8rem; margin: 0 0 6px; }
  .famstep p { color: var(--soft); margin: 0; max-width: 22em; }
  .famstep .num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 8px; border-radius: 50%; background: var(--forest); color: var(--brass); font-family: var(--label); font-size: .95rem; vertical-align: 4px; }
  .fampoints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; }
  .fampoints li { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5); color: var(--soft); }
  .fampoints b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.45rem; line-height: 1.15; margin-bottom: 6px; }
  @media (max-width: 860px) { .famsteps, .fampoints { grid-template-columns: 1fr; } .famsteps { gap: 44px; } }

  /* ---------- Screens strip ---------- */
  .screens { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: 0; list-style: none; -webkit-overflow-scrolling: touch; }
  .screens li { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
  .screens .phone.sm { width: 200px; }
  .screens figcaption { margin-top: 12px; font-family: var(--label); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }

/* Family video under "One family, every phone" */
.famwatch { margin-top: clamp(40px, 6vw, 64px); }
.famwatch h3 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: 10px; }
.famwatch .phone { max-width: 300px; justify-self: center; }

  @media (max-width: 860px) { .site-footer .wrap { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 560px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
  .site-footer a[href^="mailto:"] { overflow-wrap: anywhere; }
  .site-footer .brand b { color: var(--brass); }
