/* dragonlock.app home, v3 "Dusk editorial" (2026-11-27; docs/site-v3/README.md).
   The painted world as cinematic, full-bleed art (the hero's dusk, the castle at night, the pets' dawn meadow, the
   closing band), and everything a parent reads or decides on in the calm editorial system around it: paper for how it
   works, the setups, the quiz and the questions; night for the brand moments. Scoped to body.home. No inline styles
   (CSP): every position, the paintings' registered figures included, lives here. */

.home .home-top { padding-top: 0; }   /* the hero runs under the fixed header, which is clear over the painting */
.home [data-reveal].d2 { --delay: .08s; }
.home [data-reveal].d3 { --delay: .16s; }

/* a section head set as a spread on wide windows: the headline left, its standfirst right, on a shared baseline */
@media (min-width: 56.25em) {
  .home .section-head.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: end; align-items: last baseline; max-width: none; }
  .home .section-head.split .sub { grid-column: 1 / -1; }
  .home .section-head .line { display: block; }
  .home .section-head.split > p:not(.sub) { margin: 0; }
}
/* where the standfirst runs longer than the headline (narrower windows), they start together instead */
@media (min-width: 56.25em) and (width < 75em) { .home .section-head.split { align-items: start; } }

/* line icons (facts, the final say, the AI note): drawn in the surface's accent */
.home .ico { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* a real app capture, shown as a screen in a slim dark bezel (never an Apple device frame). The corners are circular:
   15% of the width across, 6.9% of the (2.17x taller) height down. */
.home .screen { position: relative; display: grid; padding: 2.4%; border-radius: 15% / 6.9%;
  background: linear-gradient(160deg, #262A3D, #0B0D16 40%, #07080F);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.07), 0 50px 90px -40px rgba(4,4,14,.85), 0 18px 36px -18px rgba(4,4,14,.6); }
.home .screen > img, .home .screen > video { grid-area: 1 / 1; width: 100%; height: auto; border-radius: 13% / 6%; }
/* the lamplight behind a screen on the night */
.home .lamp { position: absolute; z-index: -1; inset: -18% -70% -8%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,201,140,.34), rgba(244,169,97,.15) 45%, rgba(244,169,97,0) 78%); }

/* ------------------------------------------------------------------ the hero
   The dusk painting (assets/world/hero-*.svg) is the frame, and everything stands at the painting's own coordinates
   (the .reg formula in site.css; --u is one painting unit). From 900 px the hero is a size container as tall as the
   window allows (16:10 at most): the words on the dark sky at the left, the parent's real screen floating over the lit
   meadow, Wick on the stone where the trail ends. Narrower, the words come first on the painting's tall sky (hero-mid,
   hero-tall, fitted to the width and pinned at its foot) and the screen rises over the ridge, Wick on the same stone. */
.home .hero { --vbw: 1600; --vbh: 1000; isolation: isolate; color: var(--bone); background: #0E1330; }
.home .hero > picture > .world { z-index: -2; }
.home .hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(9,12,30,.72), rgba(9,12,30,0) 9rem), linear-gradient(rgba(11,14,26,0) 84%, var(--night)); }
.home .hero-copy { position: relative; z-index: 2; }
.home .hero-pill { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.5rem; padding: .45rem .95rem .45rem .8rem; border-radius: 999px;
  font: 600 .92rem/1.2 var(--body); color: var(--bone-2); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(214,208,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.home .hero-pill .dot { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 3px rgba(244,169,97,.18), 0 0 12px var(--lamp); }
.home .hero h1 { color: var(--bone); text-shadow: 0 2px 30px rgba(6,8,24,.5); }
.home .hero h1 span { display: block; color: var(--lamp-hi); }
.home .hero .lede { max-width: 34rem; margin: 1.3rem 0 0; color: #DCD5E6; text-shadow: 0 1px 14px rgba(6,8,24,.6); }
.home .hero .launch { margin-top: 2rem; }
.home .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; }
.home .hero .button.quiet, .home .closer .button.quiet { color: var(--bone); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--edge);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.home .hero .button.quiet:hover, .home .closer .button.quiet:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(244,237,226,.55); }
/* the trial and availability lines stay with the App Store badge; a soft night under them keeps them legible over the
   trail at any width */
.home .hero .fine, .home .hero .live-later { width: fit-content; max-width: 34rem; font-size: .92rem; line-height: 1.5; color: #C9C2D9;
  text-shadow: 0 1px 10px rgba(6,8,24,.95), 0 0 3px rgba(6,8,24,.8); }
.home .hero .fine { margin: 1rem 0 0; }
.home .hero .live-later { margin: .3rem 0 0; }
.home .live-later a { color: var(--lamp-hi); font-weight: 700; }

/* the parent's screen, its two notes (kept inside the screen's column and off its buttons) and the caption above it */
.home .hero-device { position: relative; z-index: 1; margin: 0; }
.home .hero-device .screen { box-shadow: 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.07), 0 60px 100px -40px rgba(2,2,10,.9), 0 0 60px -10px rgba(255,190,120,.25); }
.home .hero-device figcaption { position: absolute; left: 50%; bottom: 100%; translate: -50% 0; margin-bottom: .8rem; white-space: nowrap;
  font: 600 .9rem/1.2 var(--display); font-variant-caps: all-small-caps; letter-spacing: .09em; color: var(--bone-2);
  padding: .3rem .8rem; border-radius: 999px; background: rgba(9,12,30,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }   /* its own night, for when it crosses a lit peak */
.home .chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: .6rem; width: max-content; max-width: 15.5rem; margin: 0; padding: .55rem .85rem .55rem .6rem; border-radius: 14px;
  font: 700 .86rem/1.25 var(--body); color: var(--bone); background: rgba(14,17,38,.86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(214,208,255,.2), 0 18px 40px -16px rgba(2,2,12,.8); }
.home .chip-lock { left: 58%; top: 8%; }
.home .chip-proof { left: -6%; top: calc(100% + 1rem); max-width: 14rem; }
.home .chip-text span { display: block; font-weight: 400; font-size: .8rem; color: var(--bone-2); }
.home .chip-icons { display: flex; gap: .25rem; }
.home .chip .app { position: relative; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 7px; filter: saturate(.55) brightness(.85); }
.home .chip .app svg { width: 1rem; height: 1rem; fill: #fff; }
.home .chip .games { background: linear-gradient(#8E6CF0, #5B2FC9); }
.home .chip .videos { background: linear-gradient(#3EB8C9, #0B6F87); }
.home .chip .chat { background: linear-gradient(#EA6FAA, #B42369); }
.home .chip .tick { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--moss-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9L12.6 5' fill='none' stroke='%230E2A1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 55% / .9rem no-repeat;
  box-shadow: 0 0 0 4px rgba(127,211,160,.16); }

/* Wick on the stone at the trail's end (site.js: he blinks, glances at your pointer, waves once) */
.home .hero-wick { z-index: 1; filter: drop-shadow(0 10px 12px rgba(6,8,20,.45)); }
.home .hero-wick .wave { position: absolute; inset: 0; width: 100%; opacity: 0; transition: opacity .15s; }
.home .hero-wick.waving .wave { opacity: 1; }
.home .hero-wick.waving .pet-art > img:not(.wave) { opacity: 0; }
.home .hero-wick .pet-art > img { transition: opacity .15s; }

@media (min-width: 56.25em) {
  .home .hero { height: max(600px, min(100svh, 62.5vw), 38rem); }   /* 38rem: the copy (about 32rem) plus the header, at any text size */
  .home .hero-in { position: absolute; inset: 0; }
  /* the words: under the brand, in the dark left half of the sky, never reaching the screen */
  .home .hero-copy { position: absolute; top: calc(var(--head-h) + (100% - var(--head-h)) / 2); translate: 0 -50%;
    left: max(var(--gutter), (100cqw - var(--wide)) / 2);
    width: min(44rem, 100cqw / 2 + 130 * var(--u) - 3.5rem - max(var(--gutter), (100cqw - var(--wide)) / 2)); }
  .home .hero h1 { font-size: clamp(2.9rem, 76 * var(--u), 5.3rem); }
  /* the evening deepens behind the words, feathered well before the screen */
  .home .hero-shade { background:
    linear-gradient(rgba(9,12,30,.72), rgba(9,12,30,0) 9rem),
    radial-gradient(60% 80% at 18% 52%, rgba(9,12,30,.5), rgba(9,12,30,.25) 55%, rgba(9,12,30,0) 85%),
    linear-gradient(90deg, rgba(9,12,30,.74), rgba(9,12,30,.52) 38%, rgba(9,12,30,0) 62%),
    radial-gradient(48% 42% at 10% 92%, rgba(9,12,30,.88), rgba(9,12,30,.62) 55%, rgba(9,12,30,0)),
    linear-gradient(rgba(11,14,26,0) 84%, var(--night)); }
  /* as large as the painting allows, but never so tall that its caption reaches the header on a short window */
  .home .hero-device { position: absolute; width: min(272 * var(--u), (100cqh - var(--head-h) - 3.5rem - (var(--vbh) - 868) * var(--u)) / 2.17); left: calc(50% + (1110 - var(--vbw) / 2) * var(--u)); top: calc(100% - (var(--vbh) - 868) * var(--u)); translate: -50% -100%; }
  .home .hero-wick { --x: 1405; --y: 922; --w: 165; }
}
/* small laptops and tablets on their side: the screen a little larger in the painting, the copy a step smaller */
@media (min-width: 56.25em) and (width < 75em) {
  .home .hero-device { width: min(300 * var(--u), (100cqh - var(--head-h) - 3.5rem - (var(--vbh) - 868) * var(--u)) / 2.17); left: calc(50% + (1130 - var(--vbw) / 2) * var(--u)); }
  /* the screen is too narrow here for the locked note to sit beside it without covering Maya's day: rest it, as on phones */
  .home .chip-lock { display: none; }
  .home .hero-copy { width: min(40rem, 100cqw / 2 + 140 * var(--u) - 3rem - var(--gutter)); }
  .home .hero .lede { font-size: 1.1rem; }
  .home .hero-pill { margin-bottom: 1.1rem; }
  .home .hero .launch { margin-top: 1.5rem; }
}

@media (width < 56.25em) {
  .home .hero { --vbh: 2200; container-type: inline-size; overflow: clip; --u: calc(100cqw / var(--vbw));
    padding: calc(var(--head-h) + clamp(1.5rem, 5vw, 3rem)) 0 calc(140 * 100vw / 1600); }
  .home .hero > picture > .world { inset: auto 0 0; height: auto; object-fit: fill; }
  .home .hero-in { position: relative; width: min(100% - 2 * var(--gutter), 40rem); margin-inline: auto; }
  .home .hero h1 { font-size: clamp(2.5rem, 7.4vw, 3.9rem); }
  .home .hero-device { width: min(16rem, 34vw); margin: 4.5rem auto 0; }
  .home .hero-wick { --x: 1405; --y: 2122; --w: 240; }
  .home .chip-lock { left: 86%; top: 11%; }
  .home .chip-proof { left: 86%; top: 44%; }
}
/* phones: the painting a fifth larger, so its ridge rises into the first screen behind the parent's screen, which
   stands at the left with Wick on his stone to its right */
@media (width < 43.75em) {
  .home .hero { --vbw: 800; --vbh: 2600; --u: calc(1.2 * 100cqw / var(--vbw)); padding-bottom: max(5.5rem, 180 * 1.2 * 100vw / 800); }
  .home .hero > picture > .world { left: -10%; width: 120%; max-width: none; }
  .home .hero-pill { font-size: .82rem; padding: .38rem .8rem .38rem .65rem; margin-bottom: 1rem; }
  .home .hero h1 { font-size: clamp(2.3rem, 10.6vw, 3rem); }
  .home .hero .lede { margin-top: .9rem; font-size: 1.04rem; line-height: 1.5; }
  .home .hero .launch { margin-top: 1.3rem; }
  .home .cta-row { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .home .hero .fine, .home .hero .live-later { font-size: .85rem; }
  .home .hero .fine { margin-top: .75rem; }
  /* the caption in the flow above the screen, so a wrapped caption pushes the screen down instead of rising into the copy */
  .home .hero-device { display: flex; flex-direction: column; width: min(11.5rem, 47vw); margin: 2rem 0 0; }
  .home .hero-device figcaption { position: static; order: -1; translate: none; width: max-content; max-width: calc(100vw - 2 * var(--gutter)); white-space: normal; margin: 0 0 .75rem; font-size: .82rem; }
  .home .chip-lock { display: none; }
  .home .chip-proof { left: 0; top: calc(100% + .8rem); max-width: min(15.5rem, 60vw); }   /* clear of Wick on his stone */
  .home .hero-wick { --x: 640; --y: 2468; --w: 170; }
}

/* ------------------------------------------------------------------ under the hero: the two setups, then the facts */
.home .facts { background: var(--night); box-shadow: 0 1px 0 var(--hair); }
.home .facts-in { display: grid; gap: clamp(1.5rem, 3vw, 2rem); padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.75rem, 3vw, 2.25rem); }
.home .setups { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem clamp(2rem, 5vw, 4.5rem); margin: 0; padding: 0; }
.home .setups li { display: flex; align-items: flex-start; gap: 1rem; font-size: 1.02rem; line-height: 1.55; color: var(--bone-2); }
.home .setups strong { display: block; margin-bottom: .15rem; font: 700 1.2rem/1.3 var(--display); letter-spacing: -.005em; color: var(--bone); }
.home .setups .ico { width: 2.75rem; height: 2.75rem; padding: .62rem; border-radius: 50%; stroke-width: 1.5; background: rgba(244,169,97,.07); box-shadow: inset 0 0 0 1px rgba(244,169,97,.28); }
.home .fact-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 0; box-shadow: inset 0 1px 0 var(--hair); }
.home .fact-list li { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .25rem 1rem; font: 600 1rem/1.3 var(--body); color: var(--bone-2); }
.home .fact-list li + li { box-shadow: inset 1px 0 0 var(--hair); }
.home .fact-list li:first-child { justify-content: flex-start; padding-left: 0; }
.home .fact-list li:last-child { justify-content: flex-end; padding-right: 0; }
@media (width < 56.25em) {
  .home .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .home .fact-list li, .home .fact-list li:last-child { justify-content: flex-start; padding-inline: 0 .5rem; }
  .home .fact-list li + li { box-shadow: none; }
}
@media (max-width: 40em) { .home .setups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 23.75em) { .home .fact-list li { font-size: .94rem; gap: .55rem; } }

/* ------------------------------------------------------------------ how it works: three steps, each a real screen on
   a small stage of the night */
.home .steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.6vw, 2.25rem); margin: 0; padding: 0; }
.home .step { display: flex; flex-direction: column; }
.home .step .stage { --edge: rgba(214,208,255,.45); order: -1; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; margin: 0 0 1.75rem; padding: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  border-radius: var(--r-l); overflow: hidden; color: var(--bone-3);
  background: radial-gradient(90% 55% at 50% 100%, rgba(244,169,97,.2), rgba(244,169,97,0) 70%), linear-gradient(#141833, #1C1F44 60%, #262452);
  box-shadow: inset 0 0 0 1px rgba(27,24,34,.06), 0 30px 60px -36px rgba(27,24,34,.55); }
.home .step .screen { width: min(62%, 15rem); }
.home .step figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; align-self: stretch; min-height: 3.75rem; margin-top: clamp(1.25rem, 2vw, 1.6rem); padding: .5rem 1.1rem .5rem 1.3rem;
  font: 600 .92rem/1.3 var(--body); color: var(--bone-2); box-shadow: 0 -1px 0 rgba(214,208,255,.1); }
.home .step-num { display: flex; align-items: center; gap: .9rem; font: 700 .95rem/1 var(--display); letter-spacing: .08em; color: var(--sub); }
.home .step-num::after { content: ""; flex: 1; height: 1px; background: var(--hair-2); }
.home .step h3 { margin: 1rem 0 .55rem; font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.18; letter-spacing: -.012em; }
.home .step p { margin: 0; color: var(--fg-2); font-size: 1.05rem; line-height: 1.55; }
/* the forge clip lies over its poster and shows once it's playing (site.js) */
.home .forge-clip { opacity: 0; transition: opacity .4s; }
.home .forge-stage.playing .forge-clip { opacity: 1; }
.home .clip-toggle { flex: none; min-width: 2.75rem; min-height: 2.75rem; padding: .4rem 1.05rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .9rem/1 var(--body); color: var(--bone); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--edge); }
.home .clip-toggle:hover { background: rgba(255,255,255,.14); }
.home .clip-toggle:focus-visible { outline-color: var(--lamp); }

/* the AI helper, folded */
.home .ai-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--hair); }
.home .ai-note summary { display: flex; align-items: center; gap: .9rem; min-height: 3.75rem; padding: .9rem 1.3rem; cursor: pointer; list-style: none; font: 700 1.05rem/1.35 var(--body); color: var(--fg); border-radius: inherit; }
.home .ai-note summary::-webkit-details-marker { display: none; }
.home .ai-note summary span { flex: 1; }
.home .ai-note p { margin: 0; padding: 0 1.4rem 1.4rem 3.7rem; max-width: 52rem; color: var(--fg-2); line-height: 1.6; }

/* the plus that turns into a minus, for every fold on the page */
.home .ai-note summary::after, .home .faq-list summary::after, .home .later-details summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) 50% / .7rem 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% / 1.5px .7rem no-repeat;
  box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--fg-2); transition: transform .3s var(--settle), background-size .3s var(--settle); }
.home details[open] > summary::after { transform: rotate(180deg); background-size: .7rem 1.5px, 1.5px 0; }

/* ------------------------------------------------------------------ one device or two: the section's words in the
   first column, each setup's real screens over its own column, then the comparison in the same three columns */
.home .modes { box-shadow: inset 0 1px 0 var(--hair); }
.home .compare-top { display: grid; grid-template-columns: 30% 35% 35%; align-items: end; margin-bottom: 1.25rem; }
.home .compare-head { margin: 0; padding: 0 clamp(1.5rem, 3vw, 2.5rem) 2.75rem 0; }
.home .compare-head h2 { font-size: clamp(2rem, 2.9vw, 2.6rem); }
.home .compare-head > p:not(.sub) { font-size: 1.05rem; }
.home .mode-art { display: flex; align-items: flex-start; justify-content: center; gap: 1rem; height: clamp(15rem, 23vw, 19rem); margin-left: 1.25rem; padding-top: 1.75rem; overflow: hidden;
  border-radius: var(--r-l) var(--r-l) 0 0;
  background: radial-gradient(80% 60% at 50% 100%, rgba(244,169,97,.24), rgba(244,169,97,0) 70%), linear-gradient(#141833, #24234F); }
.home .mode-art .screen { flex: none; width: clamp(6.5rem, 9vw, 8rem); }
.home .mode-art .screen.tab { width: clamp(12rem, 17vw, 15rem); border-radius: 7% / 5.2%; padding: 2.2%; }
.home .mode-art .screen.tab > img { border-radius: 5% / 3.8%; }
.home .mode-art.two .screen:last-child { margin-top: 1.75rem; }
.home .compare { position: relative; border-radius: var(--r-l); background: var(--card); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow); overflow: hidden; margin-top: -1.25rem; }
.home .compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 1.02rem; line-height: 1.5; }
.home .compare-table th, .home .compare-table td { text-align: left; vertical-align: top; padding: 1.15rem 1.6rem; border-bottom: 1px solid var(--hair); }
.home .compare-table thead th { vertical-align: bottom; padding-top: 1.35rem; padding-bottom: 1.25rem; border-bottom-color: var(--hair-2); background: var(--card-2); }
.home .compare-table .feature-h { width: 30%; }
.home .compare-table .feature-h span { font: 600 1rem/1.3 var(--display); font-variant-caps: all-small-caps; letter-spacing: .09em; color: var(--fg-3); }
.home .compare-table td, .home .compare-table .mode-h { box-shadow: inset 1px 0 0 var(--hair); }
.home .mode-name { display: block; font: 700 1.35rem/1.15 var(--display); letter-spacing: -.012em; color: var(--fg); }
.home .mode-sub { display: block; margin-top: .25rem; font: 400 .98rem/1.3 var(--body); color: var(--fg-3); }
.home .compare-table tbody th { font: 700 1.02rem/1.45 var(--body); color: var(--fg); }
.home .compare-table td { position: relative; padding-left: 3.4rem; color: var(--fg-2); }
/* a check where it's included, a dash where it's limited, and only a quiet dot for a plain fact */
.home .compare-table td::before { content: ""; position: absolute; left: 1.6rem; top: 1.28rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: radial-gradient(circle, var(--line-2) 0 .19rem, transparent .2rem); }
.home .compare-table td.yes { color: var(--fg); }
.home .compare-table td.yes::before {
  background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.8 8.3l2.7 2.7L12.2 5.3' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50% / .8rem no-repeat; }
.home .compare-table td.no::before { background: var(--paper-2) linear-gradient(var(--ink-3), var(--ink-3)) 50% / .55rem 1.5px no-repeat; box-shadow: inset 0 0 0 1px var(--line-2); }
.home .compare-table tbody tr:last-child > * { border-bottom: 0; }
.home .modes-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; margin: 1.25rem 0 0; padding-inline: .25rem; color: var(--fg-2); font-size: 1rem; }
.home .modes-foot a:not(.link-arrow) { font-weight: 700; }
.home .modes-foot .link-arrow { min-height: 2.75rem; }
@media (width < 62.5em) {
  /* the words over the two setups; each feature becomes a full-width label over the two answers (the ARIA roles keep it
     a table to screen readers) */
  .home .compare-top { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; }
  .home .compare-head { grid-column: 1 / -1; padding: 0 0 2rem; max-width: 42rem; }
  .home .compare-head h2 { font-size: clamp(2rem, 6vw, 2.8rem); }
  .home .mode-art { height: clamp(9rem, 30vw, 14rem); margin: 0 .35rem; padding-top: 1.1rem; gap: .5rem; }
  .home .mode-art:last-child { margin-left: .35rem; }
  .home .mode-art .screen { width: clamp(3.8rem, 12vw, 6.5rem); }
  .home .mode-art .screen.tab { width: clamp(6.6rem, 22vw, 11.5rem); }
  .home .mode-art.two .screen:last-child { margin-top: .9rem; }
  .home .compare-table, .home .compare-table thead, .home .compare-table tbody { display: block; }
  .home .compare-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .compare-table .feature-h { display: none; }
  .home .compare-table thead th { padding: 1rem 1rem 1.05rem; }
  .home .compare-table .mode-h:first-of-type { box-shadow: none; }
  .home .mode-name { font-size: 1.15rem; }
  .home .mode-sub { font-size: .92rem; }
  .home .compare-table tbody th { grid-column: 1 / -1; padding: 1.1rem 1rem .1rem; border-bottom: 0; font-size: .98rem; color: var(--fg-3); }
  .home .compare-table td { padding: .6rem 1rem 1.1rem 2.75rem; font-size: .98rem; box-shadow: none; }
  .home .compare-table td + td { box-shadow: inset 1px 0 0 var(--hair); }
  .home .compare-table td::before { left: 1rem; top: .75rem; width: 1.1rem; height: 1.1rem; }
}

/* ------------------------------------------------------------------ the routine quiz, on its own warm stage (the
   card is tools/routine-quiz.css's; only its place is set here) */
.home .quiz.is-paper { --bg: var(--paper-2); box-shadow: inset 0 1px 0 var(--line); }
.home .quiz .rq-wrap { max-width: 58rem; margin-inline: auto; }

/* ------------------------------------------------------------------ you keep the final say: the castle at night */
.home .say { position: relative; isolation: isolate; padding-bottom: clamp(4.5rem, 8vw, 7rem); overflow: clip; }
.home .say-head { margin-bottom: 0; }
.home .say-sky { position: relative; z-index: -1; height: max(18rem, 35vw); max-height: 42rem; margin-top: clamp(-1rem, -2vw, 0rem); }
.home .say-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.home .say-sky::before, .home .say-sky::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.home .say-sky::before { background: linear-gradient(var(--night), rgba(11,14,26,0) 30%); }
.home .say-sky::after { background: linear-gradient(rgba(11,14,26,0) 58%, var(--night)); }
.home .say-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; margin-top: clamp(-6rem, -6vw, -3rem); }
.home .say-list { list-style: none; margin: 0; padding: 0; }
.home .say-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.25rem; padding: 1.6rem 0; box-shadow: inset 0 1px 0 var(--hair); }
.home .say-list li:first-child { box-shadow: none; padding-top: 0; }
.home .say-list .ico { grid-row: span 2; width: 3rem; height: 3rem; padding: .72rem; border-radius: 50%; stroke-width: 1.5; background: rgba(244,169,97,.07); box-shadow: inset 0 0 0 1px rgba(244,169,97,.28); }
.home .say-list h3 { align-self: center; font-size: clamp(1.25rem, 1.7vw, 1.45rem); line-height: 1.22; }
.home .say-list p { margin: .45rem 0 0; color: var(--fg-2); font-size: 1.05rem; line-height: 1.6; }
.home .say-device { position: relative; isolation: isolate; justify-self: center; width: min(17.5rem, 100%); margin: clamp(-14rem, -12vw, -6rem) 0 0; }
.home .say-device figcaption { margin-top: 1.2rem; text-align: center; font-size: .95rem; color: var(--fg-3); }

/* ------------------------------------------------------------------ the child's side: the pets in the dawn meadow
   Each figure stands on its stone at the painting's coordinates (site.css layout block; Umbra's shadow on the ridge).
   Narrow windows scroll the meadow sideways rather than shrink it. */
.home .pets { position: relative; padding-top: clamp(4rem, 8vw, 7rem); }
.home .say + .pets { padding-top: clamp(1rem, 3vw, 2.5rem); }
.home .pets-head { position: relative; z-index: 2; margin-bottom: 0; }
.home .pets-head > p.pets-shadow { margin: 1.3rem auto 0; max-width: 38rem; font-size: 1.05rem; color: #C9C2F2; }
.home .pets-shadow a { color: var(--lamp-hi); font-weight: 700; white-space: nowrap; }
.home .pets-strip { position: relative; margin-top: clamp(-5rem, -5vw, -1.5rem); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.home .pets-strip::-webkit-scrollbar { display: none; }
.home .pets-strip:focus-visible { outline-offset: -3px; }
/* where the meadow scrolls: room after the last guardian for its focus ring (site.js keeps a focused one clear of the
   fixed header and the cookie card) */
@media (max-width: 63.9375em) { .home .pets-strip { padding-inline-end: 1rem; } }
.home .pets-scene { --vbw: 1600; --vbh: 760; width: max(100%, 64rem); aspect-ratio: 1600 / 760; }
@media (width < 37.5em) { .home .pets-scene { width: 48rem; } }
.home .pets-scene::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 34%; pointer-events: none; background: linear-gradient(var(--night), rgba(11,14,26,0)); }
.home .pets-scene .pet { z-index: 2; }
.home .pet-art[role="button"]:focus-visible { outline: 2px solid var(--lamp); outline-offset: 6px; border-radius: 18px; }
.home .pets-scene .p6 { --x: 1478; --y: 534; --w: 230; z-index: 1; }
.home .pet figcaption { position: absolute; left: 50%; top: 100%; translate: -50% calc(8 * var(--u)); white-space: nowrap; padding: .32rem .75rem .36rem; border-radius: 999px;
  font: 600 .9rem/1.1 var(--body); color: var(--bone); background: rgba(14,17,38,.84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(214,208,255,.2), 0 8px 18px -8px rgba(6,6,20,.6); }
/* the launch guardian: still a shadow, in its own moonlight */
.home .pet.shadow .pet-art::before { content: ""; position: absolute; inset: -30% -38% -12%; pointer-events: none; filter: blur(6px); mix-blend-mode: plus-lighter;
  background: radial-gradient(closest-side, rgba(190,175,255,.85), rgba(130,110,230,.4) 50%, rgba(0,0,0,0) 78%); }
.home .pet.shadow .pet-art img { position: relative; }
.home .pet.shadow .q { position: absolute; left: 42%; top: 30%; translate: -50% -54%; pointer-events: none; color: #F1EDFF; font: 700 calc(var(--w) * var(--u) * .2)/1 var(--display);
  text-shadow: 0 0 6px #CFC6FF, 0 0 18px rgba(143,123,234,.95), 0 0 40px rgba(143,123,234,.6); }
.home .pet.shadow figcaption { translate: -50% calc(2 * var(--u)); letter-spacing: .18em; padding-inline: 1rem .82rem; color: #DED5FF; background: rgba(42,35,70,.85); box-shadow: inset 0 0 0 1px rgba(168,151,255,.4); }
.home .pets-hint { display: none; margin: 0; padding: 1rem var(--gutter) 1.2rem; text-align: center; font-size: .95rem; font-weight: 600; color: var(--bone-2); background: var(--night); }
@media (max-width: 63.9375em) { .home .pets-hint { display: block; } }

/* ------------------------------------------------------------------ the grown-ups' questions: the plan on the left,
   the answers on the right */
.home .faq-grid { display: grid; grid-template-columns: minmax(0, clamp(19rem, 30vw, 25rem)) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.home .faq-side { position: sticky; top: calc(var(--head-h) + 2rem); }
.home .faq-side .section-head { margin-bottom: 2rem; }
.home .ticket { padding: 1.6rem 1.6rem 1.4rem; }
.home .ticket::before { content: ""; position: absolute; inset: 0 1.6rem auto; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--lamp), var(--ember)); }
.home .ticket h3 { font-size: 1.4rem; margin: .2rem 0 .6rem; }
.home .ticket ul { list-style: none; margin: 0; padding: 0; }
.home .ticket li { padding: .8rem 0; font-size: 1rem; line-height: 1.5; color: var(--fg-2); box-shadow: inset 0 1px 0 var(--hair); }
.home .ticket li strong { color: var(--fg); }
.home .ticket > p { margin: .6rem 0 0; padding-top: .9rem; font-size: .92rem; color: var(--fg-3); box-shadow: inset 0 1px 0 var(--hair); }
.home .faq-list { box-shadow: inset 0 1px 0 var(--hair-2); }
.home .faq-list details { box-shadow: inset 0 -1px 0 var(--hair); }
.home .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3rem; padding: 1.35rem 0; cursor: pointer; list-style: none;
  font: 700 clamp(1.15rem, 1.5vw, 1.28rem)/1.3 var(--display); letter-spacing: -.008em; color: var(--fg); transition: color .15s; }
.home .faq-list summary::-webkit-details-marker { display: none; }
.home .faq-list summary:hover { color: var(--link); }
.home .faq-list details p { margin: -.35rem 3.5rem 1.5rem 0; max-width: 42rem; color: var(--fg-2); font-size: 1.05rem; line-height: 1.65; }
.home .faq-more { margin: 1.6rem 0 0; color: var(--fg-3); font-size: 1rem; }

/* ------------------------------------------------------------------ guides and tools: three cards, each a crop of the
   painted world */
.home .notes { box-shadow: inset 0 1px 0 var(--hair); padding-top: clamp(3.5rem, 7vw, 6rem); }
.home .notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.75rem); }
.home .note { position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow);
  transition: transform .35s var(--settle), box-shadow .35s; }
.home .note:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hair-2), 0 2px 4px rgba(27,24,34,.05), 0 24px 44px -20px rgba(27,24,34,.3); }
.home .note:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.home .note a:focus-visible { outline: none; }
.home .note-art { aspect-ratio: 16 / 8; overflow: hidden; background: var(--night); }
.home .note-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--settle); }
.home .note:hover .note-art img { transform: scale(1.04); }
.home .art-band img { object-position: 30% 70%; }
.home .art-dawn img { object-position: 14% 44%; scale: 2.3; transform-origin: 14% 44%; }   /* the castle under the peaks */
.home .art-forge img { object-position: 50% 60%; }
.home .note-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.home .note-kind { margin: 0; font: 600 .95rem/1.2 var(--display); font-variant-caps: all-small-caps; letter-spacing: .09em; color: var(--sub); }
.home .note h3 { font-size: 1.38rem; line-height: 1.2; letter-spacing: -.01em; }
.home .note h3 a { color: var(--fg); text-decoration: none; }
.home .note h3 a::after { content: ""; position: absolute; inset: 0; }
.home .note p:not(.note-kind) { margin: 0; color: var(--fg-2); font-size: 1rem; line-height: 1.55; }
.home .note-more { margin-top: auto; padding-top: .7rem; font-weight: 700; font-size: .98rem; color: var(--link); }

/* ------------------------------------------------------------------ the closer: the dusk band, Wick on the meadow */
.home .closer { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.home .closer-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; min-height: clamp(28rem, 38vw, 34rem);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair), 0 40px 80px -40px rgba(0,0,0,.85); }
.home .closer-art { position: absolute; inset: 0; z-index: -1; background: #0F1633; }
.home .closer-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.home .closer-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,13,32,.88), rgba(10,13,32,.66) 38%, rgba(10,13,32,.1) 70%, rgba(10,13,32,0)), linear-gradient(rgba(10,13,32,.35), rgba(10,13,32,0) 40%); }
.home .closer-copy { align-self: center; max-width: 40rem; padding: clamp(2.25rem, 5vw, 4.5rem); }
.home .closer-copy > p:not(.sub) { margin: 1.1rem 0 0; max-width: 31rem; color: var(--bone-2); font-size: 1.12rem; }
.home .closer-copy .sub { color: var(--lamp-hi); }
.home .closer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 1.8rem; }
.home .closer-wick { width: clamp(10rem, 15vw, 14rem); height: auto; margin: 0 clamp(5rem, 14vw, 15rem) clamp(.75rem, 2vw, 1.75rem) 0; filter: drop-shadow(0 14px 16px rgba(4,4,16,.5)); }

/* the list for the countries that open later, folded in the closer */
.home .later-details { margin-top: 1.75rem; max-width: 34rem; border-radius: var(--r); background: rgba(11,14,26,.55); box-shadow: inset 0 0 0 1px rgba(214,208,255,.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.home .later-details summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; padding: .7rem .8rem .7rem 1.15rem; cursor: pointer; list-style: none;
  font: 600 .98rem/1.35 var(--body); color: var(--bone); border-radius: inherit; }
.home .later-details summary::-webkit-details-marker { display: none; }
.home .later-details .launch { padding: 0 1.15rem 1.15rem; }
/* the fold's summary already asks the question: its repeat stays only for screen readers (it names the form) */
.home .later-details .launch-head strong { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the launch-news form itself is launch.css's; here only its place. The grid track may not grow past the column (the
   field's own width would push the button out on phones). */
.home .launch form { grid-template-columns: minmax(0, 1fr); }
.home .hero .launch:not(.launch-live) { max-width: 34rem; }

/* ------------------------------------------------------------------ tablets and phones */
@media (width < 56.25em) {
  .home .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .home .faq-side { position: static; }
  .home .ticket { max-width: 36rem; }
}
/* how it works on tablets: each step a row, its screen beside the words; on phones, stacked */
@media (width < 56.25em) and (min-width: 37.5em) {
  .home .steps { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .home .step { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 2rem; align-items: start; }
  .home .step .stage { grid-column: 1; grid-row: 1 / -1; margin: 0; }
  .home .step > :not(.stage) { grid-column: 2; }
  .home .step-num { padding-top: .6rem; }
}
@media (width < 37.5em) {
  .home .steps { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .home .step .screen { width: min(54%, 13rem); }
}
@media (width < 56.25em) {
  .home .say-grid { grid-template-columns: minmax(0, 1fr); margin-top: -3rem; }
  .home .say-device { margin-top: 1rem; }
  .home .notes-grid { grid-template-columns: minmax(0, 1fr); }
  .home .note { flex-direction: row; }
  .home .note-art { flex: none; width: 34%; aspect-ratio: auto; }
  .home .closer-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .home .closer-art::after { background: linear-gradient(rgba(10,13,32,.86), rgba(10,13,32,.72) 55%, rgba(10,13,32,.25)); }
  .home .closer-copy { padding-bottom: 1rem; }
  .home .closer-wick { justify-self: end; width: 8.5rem; margin: -1rem 1.5rem 1rem 0; }
}
@media (max-width: 35em) {
  .home .note { flex-direction: column; }
  .home .note-art { width: auto; aspect-ratio: 16 / 7; }
  .home .faq-list details p { margin-right: 0; }
  .home .ai-note p { padding-left: 1.3rem; }
  .home .closer-actions { flex-direction: column; align-items: flex-start; }
  .home .closer-wick { width: 7rem; }
  .home .closer-copy { padding: 2rem 1.25rem 1rem; }
  .home .later-details .launch { padding: 0 .9rem 1rem; }
  .home .say-sky { height: 15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home .note, .home .note-art img { transition: none; }
}

/* forced colours: the home page's own controls and cards keep an edge, and the folds keep their + */
@media (forced-colors: active) {
  .home .clip-toggle, .home .note, .home .hero-pill, .home .ai-note, .home .faq-list details, .home .later-details, .home .compare, .home .ticket { border: 1px solid CanvasText; }
  .home .ai-note summary::after, .home .faq-list summary::after, .home .later-details summary::after { forced-color-adjust: none; color: CanvasText; background-color: Canvas; border: 1px solid CanvasText; }
}
