@font-face {
    font-family: "Mochiy Pop One";
    src: url("fonts/mochiy-pop-one.woff2") format("woff2");
    font-weight: 400 900;
    font-display: swap;
}

@font-face {
    font-family: "Albert Sans";
    src: url("fonts/albert-sans.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: Caveat;
    src: url("fonts/caveat-click-here.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

:root {
    color-scheme: light;
    --plum: #1b1428;
    --ivory: #fff4e8;
    --page: #fffbf6;
    --tangerine: #ff6846;
    --lavender: #d7c6ff;
    --ember: #be351c;
    --muted: #5a4c66;
    --line: #e2d4d7;
    --display: "Mochiy Pop One", system-ui, sans-serif;
    --body: "Albert Sans", system-ui, sans-serif;
    --nav-space: 6.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; color: var(--plum); background: var(--page); font: 400 1rem/1.6 var(--body); }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #6b3db8; outline-offset: 4px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1; letter-spacing: -.035em; }
h2 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); text-wrap: balance; }
h3 { font-size: 1.65rem; line-height: 1.12; }
section[id] { scroll-margin-top: var(--nav-space); }
.wrap { width: min(100% - 3.5rem, 81.25rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: .5rem; left: .5rem; z-index: 30; padding: .65rem 1rem; background: var(--ivory); }

/* Floating nav that stays on top while scrolling */
.masthead { position: fixed; z-index: 20; top: .9rem; left: 0; right: 0; pointer-events: none; }
.nav { pointer-events: auto; width: min(100% - 2rem, 44rem); min-height: 3.75rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .55rem .6rem .55rem .85rem; border: 1px solid #1b142814; border-radius: 1.15rem; background: #ffffffb8; backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 8px 24px #1b142814; }
.brand { display: inline-flex; align-items: center; gap: .3rem; flex-shrink: 0; text-decoration: none; }
.brand-icon { width: 2.38rem; height: 2.38rem; }
.brand-wordmark { width: auto; height: 1.8rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 550; opacity: .8; }
.nav-links a:hover { opacity: 1; }
.button { display: inline-flex; min-height: 3.1rem; padding: .7rem 1.35rem; border: 1.5px solid var(--plum); border-radius: .8rem; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-weight: 600; font-size: 1.05rem; cursor: pointer; transition: background-color .15s, transform .15s; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled, .text-link:disabled { cursor: default; opacity: .65; }
.button-small { min-height: 2.6rem; padding: .45rem 1.1rem; font-size: .98rem; }
.button-outline { background: transparent; }
.button-outline:hover { background: #d7c6ff66; }
.button-plum { color: var(--ivory); background: var(--plum); }
.button-plum:hover:not(:disabled) { background: #44305f; }
.button-tangerine { color: var(--plum); background: var(--tangerine); border-color: var(--tangerine); }
.button-tangerine:hover { background: #ff7c5e; border-color: #ff7c5e; }
.text-link { appearance: none; border: 0; background: transparent; padding: .4rem .1rem; font-weight: 600; text-decoration: underline; text-underline-offset: .28em; cursor: pointer; }
.text-link:hover:not(:disabled) { text-decoration-thickness: .16em; }
.section-intro { margin: 0 auto clamp(1.8rem, 4vw, 3.2rem); text-align: center; }
.section-intro p { margin-top: .9rem; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; z-index: -1; left: 41%; top: 55%; width: max(68.8%, 40rem); height: auto; transform: translateY(-50%); opacity: .6; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2.25rem, 5vw, 4.5rem); min-height: 100vh; min-height: 100svh; padding-block: calc(var(--nav-space) + 2rem) clamp(3rem, 6vw, 5rem); }



.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-weight: 500; color: #1b1428b3; }
.eyebrow-by { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.eyebrow-by img { width: 1.1rem; height: 1.1rem; }
.eyebrow-by:hover { color: var(--plum); }
h1 { margin-top: 1.1rem; font-size: clamp(3rem, 5.3vw, 4rem); font-weight: 800; line-height: 1.02; text-wrap: balance; }
.hero-lede { max-width: 37.5rem; margin-block: 1.4rem 1.8rem; font-size: clamp(1.05rem, 1.55vw, 1.25rem); line-height: 1.5; color: var(--muted); }
.hero-actions, .play-actions { display: flex; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; }
.hero-requirement { margin-top: 1.2rem; font-size: .9rem; color: #1b1428b3; }
.hero-figure { position: relative; min-width: 0; }
.hero-frame { position: relative; overflow: hidden; border: 3px solid #ffffffa6; border-radius: 1.4rem; background: #1e1533; box-shadow: 0 24px 48px #1b14282e; }
.hero-video { width: 100%; aspect-ratio: 8/5; object-fit: cover; }
.video-toggle { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .75rem; border: 0; border-radius: 999px; background: #1b14288c; color: var(--ivory); font-size: .82rem; font-weight: 500; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.video-toggle:hover { background: #1b1428cc; }
.video-toggle-icon { width: .7rem; height: .75rem; border-inline: .22rem solid currentColor; }
.video-toggle[aria-pressed=true] .video-toggle-icon { width: 0; height: 0; border-style: solid; border-width: .38rem 0 .38rem .62rem; border-color: transparent currentColor; border-inline-end: 0; }
.hero-pixels { position: absolute; inset: 0; pointer-events: none; }
.hero-pixels i { position: absolute; width: var(--s); aspect-ratio: 1; border-radius: 2px; background: var(--c); opacity: var(--o); left: calc(var(--x) + var(--dx, 0px)); top: calc(var(--y) + var(--dy, 0px)); }
.hero-pixels i:nth-child(1) { --x: 100.5%; --y: -2%; --s: 14px; --c: var(--plum); --o: .85; }
.hero-pixels i:nth-child(2) { --x: 103.5%; --y: -6%; --s: 11px; --c: #b08cff; --o: .8; }
.hero-pixels i:nth-child(3) { --x: 98%; --y: -9%; --s: 9px; --c: var(--tangerine); --o: .7; }
.hero-pixels i:nth-child(4) { --x: 106%; --y: -12%; --s: 8px; --c: var(--plum); --o: .55; }
.hero-pixels i:nth-child(5) { --x: 101.5%; --y: -15%; --s: 7px; --c: #b08cff; --o: .55; }
.hero-pixels i:nth-child(6) { --x: 108%; --y: -4%; --s: 6px; --c: var(--tangerine); --o: .5; }
.hero-pixels i:nth-child(7) { --x: 95%; --y: -13%; --s: 6px; --c: var(--plum); --o: .4; }
.hero-pixels i:nth-child(8) { --x: 104.5%; --y: -19%; --s: 5px; --c: var(--plum); --o: .35; }
.hero-pixels i:nth-child(9) { --x: 109.5%; --y: -14%; --s: 4px; --c: #b08cff; --o: .35; }

/* Scroll dissolve */
.dissolve { position: relative; }
section.dissolve[id] { scroll-margin-top: 0; }
.dissolve-stage { position: relative; height: 100svh; min-height: 38rem; padding-top: calc(var(--nav-space) + 1rem); overflow: hidden; }
.dissolve-stage .section-intro { position: relative; z-index: 1; margin-bottom: 0; padding-inline: 1.5rem; }
.dissolve-canvas-wrap { position: absolute; z-index: 0; inset: 0; }
.dissolve-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Playground: a drawn Mac desktop (Figma "Playground mock"). Everything inside .mac is
   sized in design pixels of the 686px-wide drawing: calc(N * var(--u)). */
.playground { padding-block: clamp(4.5rem, 9vw, 7.5rem) 164px; }
.playground .section-intro { margin-bottom: 4rem; }
.playground .section-intro p { margin-top: 1.25rem; }
.play-grid { display: grid; grid-template-columns: minmax(0, 686fr) minmax(20rem, 442fr); width: min(100%, 74.5rem); margin-inline: auto; gap: clamp(2rem, 4.5vw, 3.3rem); align-items: center; }

.mac { --u: calc(100cqw / 686); position: relative; width: 100%; aspect-ratio: 686 / 388; container-type: inline-size; filter: drop-shadow(0 calc(18.709 * var(--u)) calc(15.591 * var(--u)) #1b14282e); }
.mac > * { position: absolute; }
.mac-bezel { left: calc(43.65 * var(--u)); top: 0; width: calc(598.691 * var(--u)); height: calc(374.182 * var(--u)); background: #141317; border: calc(1.247 * var(--u)) solid #3a3940; border-radius: calc(16.215 * var(--u)); }
.mac-notch { left: calc(299.35 * var(--u)); top: calc(8.73 * var(--u)); width: calc(87.309 * var(--u)); height: calc(12.473 * var(--u)); background: #141317; border-radius: 0 0 calc(6.236 * var(--u)) calc(6.236 * var(--u)); }
.mac-base { left: 0; top: calc(371.69 * var(--u)); width: 100%; height: calc(16.215 * var(--u)); background: linear-gradient(#e4e4e9, #b4b4bc); border-radius: calc(2.495 * var(--u)) calc(2.495 * var(--u)) calc(11.225 * var(--u)) calc(11.225 * var(--u)); }
.mac-base span { position: absolute; top: 0; left: calc(286.87 * var(--u)); width: calc(112.255 * var(--u)); height: calc(5.613 * var(--u)); background: #9a9aa3; border-radius: 0 0 calc(5.613 * var(--u)) calc(5.613 * var(--u)); }

.mac-screen { left: calc(52.39 * var(--u)); top: calc(8.73 * var(--u)); width: calc(581.229 * var(--u)); height: calc(356.72 * var(--u)); overflow: hidden; isolation: isolate; border-radius: calc(7.484 * var(--u)); background: linear-gradient(140.7deg, #2b2140 7.14%, #6e54b8 42.86%, #ff9a72 78.57%); }
.mac-screen > * { position: absolute; }
.mock-menubar { inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; height: calc(16.215 * var(--u)); padding-inline: calc(11.23 * var(--u)) calc(9 * var(--u)); background: #ffffff2e; color: #ffffffeb; font: 500 calc(7.484 * var(--u))/1 var(--body); white-space: nowrap; }
.mock-menus { display: flex; gap: calc(11.225 * var(--u)); }
.mock-menus strong { font-weight: 600; }

.mock-window { --k: var(--u); overflow: hidden; background: #fff; border-radius: calc(7.484 * var(--k)); box-shadow: 0 calc(8.731 * var(--k)) calc(18.709 * var(--k)) #00000047; }
.mock-window > * { position: absolute; }
.mock-titlebar { inset: 0 0 auto; height: calc(21.204 * var(--k)); background: #f3eef6; }
.mock-lights { position: absolute; left: calc(8.73 * var(--k)); top: calc(6.86 * var(--k)); display: flex; gap: calc(4.99 * var(--k)); }
.mock-lights img { width: calc(7.484 * var(--k)); height: calc(7.484 * var(--k)); }
.mock-title { position: absolute; left: 50%; top: calc(6.24 * var(--k)); translate: -50% 0; color: #1b1428b3; font: 600 calc(7.484 * var(--k))/1.2 var(--body); }

/* The single sample window: 1.25× the drawn Photos window, centered above the Dock. */
.mock-photos { --k: calc(1.25 * var(--u)); left: calc(134.71 * var(--u)); top: calc(61.4 * var(--u)); width: calc(249.455 * var(--k)); height: calc(162.145 * var(--k)); }
.mock-photos .mock-photo { left: calc(8.73 * var(--k)); top: calc(28.69 * var(--k)); width: calc(231.993 * var(--k)); height: calc(124.727 * var(--k)); border-radius: calc(4.989 * var(--k)); background: linear-gradient(144.37deg, #4a3a75 7.14%, #b08cff 50%, #ff8a63 78.57%); }
.mac-screen:not([data-state=ready]) .mock-photos { visibility: hidden; }
.mac-screen[data-state=ready] .mock-photos.is-back { animation: window-back .32s cubic-bezier(.2, .75, .25, 1) both; }
@keyframes window-back { from { opacity: 0; scale: .94; } }

/* The real buttons sit on the drawn traffic lights with a bigger hit area. */
.mock-light { position: relative; display: block; width: calc(7.484 * var(--k)); height: calc(7.484 * var(--k)); padding: 0; border: 0; background: none; cursor: pointer; }
.mock-light::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: max(24px, 100%); height: max(24px, 100%); translate: -50% -50%; }
.mock-light:active img { filter: brightness(.75); }
.mock-light:focus-visible { outline: 2px solid #6b3db8; outline-offset: 2px; border-radius: 50%; }
.mock-light:disabled { cursor: default; }

.mock-effect { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mock-cursor { left: calc(149.4 * var(--u)); top: calc(73.4 * var(--u)); width: calc(14.967 * var(--u)); height: calc(21.204 * var(--u)); pointer-events: none; transition: opacity .2s; }
.mac-screen:not([data-state=ready]) .mock-cursor, .mac-screen:hover .mock-cursor { opacity: 0; }

.mock-dock { left: 50%; top: calc(309.32 * var(--u)); translate: -50% 0; display: flex; align-items: center; gap: calc(6.236 * var(--u)); padding: calc(6.236 * var(--u)) calc(7.484 * var(--u)); border: calc(.624 * var(--u)) solid #ffffff66; border-radius: calc(13.72 * var(--u)); background: #ffffff47; backdrop-filter: blur(calc(6.236 * var(--u))); -webkit-backdrop-filter: blur(calc(6.236 * var(--u))); }
.mock-dock i, .mock-kapoof { width: calc(27.44 * var(--u)); height: calc(27.44 * var(--u)); border-radius: calc(6.236 * var(--u)); flex: none; }
.mock-dock i:nth-child(1) { background: linear-gradient(#5b8def, #3a5fc8); }
.mock-dock i:nth-child(2) { background: linear-gradient(#ffd166, #f4a62a); }
.mock-dock i:nth-child(3) { background: linear-gradient(#b08cff, #6e54b8); }
.mock-dock i:nth-child(4) { background: linear-gradient(#ff8a63, #ff5a3c); }
.mock-dock i:nth-child(5) { background: linear-gradient(#6ee7b7, #22a37a); }
.mock-dock-separator { width: calc(.624 * var(--u)); height: calc(22.451 * var(--u)); background: #ffffff73; }
.mock-kapoof { position: relative; overflow: hidden; border: calc(.572 * var(--u)) solid #ffffff8c; border-radius: calc(6.174 * var(--u)); background: linear-gradient(#2b2140, #18121f); }
.mock-kapoof img { position: absolute; left: calc(-1.14 * var(--u)); top: calc(-1.67 * var(--u)); width: calc(30.329 * var(--u)); height: calc(30.329 * var(--u)); max-width: none; }
.dock-window { display: grid; place-items: center; width: calc(36 * var(--u)); height: calc(27.44 * var(--u)); padding: 0; border: 0; background: none; cursor: pointer; }
.dock-window[hidden] { display: none; }
.dock-window span { width: 100%; aspect-ratio: 249.455 / 162.145; border-radius: calc(2 * var(--u)); background: linear-gradient(#f3eef6 0 13%, #fff 13%) padding-box; box-shadow: 0 1px 3px #10071b80; position: relative; overflow: hidden; animation: dock-arrive .25s cubic-bezier(.2, .75, .25, 1) both; }
.dock-window span::after { content: ""; position: absolute; inset: 18% 4% 5%; border-radius: 1px; background: linear-gradient(144deg, #4a3a75 7%, #b08cff 50%, #ff8a63 79%); }
.dock-window:focus-visible { outline: 2px solid var(--ivory); outline-offset: 1px; }
@keyframes dock-arrive { from { transform: translateY(-10px) scale(.8); opacity: 0; } }

/* Effect picker */
.play-controls { position: relative; top: -12px; display: flex; flex-direction: column; gap: 1.5rem; }
.effect-group { display: flex; flex-direction: column; gap: .75rem; }
.effect-group h3 { font-size: 1.25rem; line-height: normal; letter-spacing: -.015em; }
#effects-pro .effect-more em { color: var(--tangerine); }
.effect-more em { font-style: normal; }
.effect-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; padding: .5rem; background: #fff; border: 1px solid #1b14281a; border-radius: .75rem; box-shadow: 0 6px 16px #1b14280f; }
.effect-chip { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; aspect-ratio: 1; min-width: 0; padding: .875rem clamp(.35rem, 1.6vw, 1.125rem); border: 1px solid #cacaca; border-radius: .625rem; background: transparent; color: var(--plum); font: 600 .875rem/1.2 var(--body); text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.effect-emoji { font-size: 1.5rem; line-height: 1; }
.effect-label { display: flex; align-items: center; min-height: 2.4em; overflow-wrap: anywhere; }
.effect-chip:hover:not([aria-pressed=true]) { background: #d7c6ff59; border-color: #b9a6e0; }
.effect-chip[aria-pressed=true] { background: var(--plum); border-color: var(--plum); color: var(--ivory); }
.effect-chip:disabled { cursor: default; opacity: .65; }
.effect-noscript { color: var(--muted); }

.privacy { background: var(--plum); color: var(--ivory); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2.4rem, 8vw, 7rem); padding-block: clamp(4rem, 8vw, 7rem); }
.privacy h2 { font-size: clamp(2.3rem, 4.6vw, 3.25rem); line-height: 1.2; text-wrap: initial; }
.privacy-copy > p { max-width: 40ch; margin-top: 1.2rem; font-size: clamp(1rem, 1.6vw, 1.18rem); }
.privacy-copy .privacy-note { color: var(--lavender); font-size: .96rem; }
/* The card sits on an orange slab like a raised button. On arrival it starts pressed flat onto the
   slab and pops up; hovering presses it down again. */
.permission-slip { --lift-x: .44rem; --lift-y: .44rem; background: var(--ivory); color: var(--plum); border-radius: 1.15rem; padding: clamp(1.35rem, 4vw, 2.45rem); box-shadow: var(--lift-x) var(--lift-y) 0 var(--tangerine); }
.permission-slip.is-popping { animation: slip-press-pop .9s both; }
@keyframes slip-press-pop {
    0% { transform: translate(0, 0); box-shadow: var(--lift-x) var(--lift-y) 0 var(--tangerine); animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
    25% { transform: translate(var(--lift-x), var(--lift-y)); box-shadow: 0 0 0 var(--tangerine); }
    45% { transform: translate(var(--lift-x), var(--lift-y)); box-shadow: 0 0 0 var(--tangerine); animation-timing-function: cubic-bezier(.34, 1.8, .5, 1); }
    100% { transform: translate(0, 0); box-shadow: var(--lift-x) var(--lift-y) 0 var(--tangerine); }
}
.permission-slip dl { margin-top: 1.2rem; }
.permission-slip dl > div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.permission-slip dt { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.permission-slip dd { margin: .15rem 0 0 2.2rem; }
.permission-icon { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: .38rem; background: var(--lavender); font-weight: 600; }
.permission-slip > p { margin-top: 1rem; color: var(--muted); font-size: .94rem; }

.pricing { padding-block: clamp(4rem, 8vw, 7rem) 0; }
/* Single-edition fallback, same card language */
.pricing-box { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: min(100%, 30rem); margin-inline: auto; padding: 2.25rem; text-align: center; background: #fff; border: 2px solid var(--plum); border-radius: 1.5rem; box-shadow: 0 16px 40px #1b142814; }
.pricing-box h2 + p { margin-top: .8rem; color: var(--muted); }
.price-side { display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.price-side > span { font-size: .85rem; color: var(--muted); }
.price { font: 800 clamp(2.8rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; }
.price-pending { font-size: clamp(1.6rem, 3vw, 2.2rem); }
/* Edition cards (Figma pricing card) */
.pricing-devices { margin: 0 0 2rem; min-width: 0; padding: 0; border: 0; text-align: center; }
.launch-test-code { display: grid; gap: .3rem; margin-bottom: .75rem; text-align: left; }
.launch-test-code input { width: 100%; padding: .5rem; border: 1px solid var(--line); border-radius: .5rem; font: inherit; }
.device-options { display: inline-flex; gap: .3rem; padding: .35rem; background: #fff; border: 1px solid #1b14281a; border-radius: 999px; box-shadow: 0 6px 16px #1b14280f; }
.device-options label { position: relative; cursor: pointer; }
.device-options span { display: flex; align-items: center; gap: .5rem; padding: .55rem 1.15rem; border-radius: 999px; font-weight: 550; color: #1b1428bf; }
.device-save { padding: .15rem .5rem; border-radius: 999px; background: var(--tangerine); color: var(--plum); font-size: .75rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.device-options input:checked + span { background: var(--plum); color: var(--ivory); font-weight: 600; }
.device-options input:focus-visible + span { outline: 3px solid #6b3db8; outline-offset: 3px; }
.edition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.15rem, 3vw, 1.75rem); width: min(100%, 56rem); margin-inline: auto; }
.edition-card { display: flex; flex-direction: column; align-items: center; padding: 2.25rem 2.25rem 2rem; text-align: center; background: #fff; border: 2px solid var(--plum); border-radius: 1.5rem; box-shadow: 0 16px 40px #1b142814; }
.edition-badge { order: 0; padding: .35rem .85rem; border-radius: 999px; background: #ff684624; color: var(--ember); font-size: .85rem; font-weight: 600; }
.edition-pro .edition-badge { background: var(--lavender); color: var(--plum); }
.edition-card h3 { order: 1; font-size: 2rem; }
.edition-desc { order: 1; min-height: 5em; margin-top: .6rem; max-width: 34ch; color: var(--muted); font-size: .95rem; }
.edition-offers, .edition-action { display: contents; }
.edition-card .price-was { order: 2; margin-top: 1.25rem; font-weight: 500; color: #1b142873; text-decoration: line-through; }
.edition-card .price { order: 2; margin-top: 1.1rem; }
.edition-card .price-was + .price { margin-top: .15rem; }
.price-note { order: 3; margin-top: .55rem; font-size: .82rem; color: var(--muted); }
.edition-features { order: 4; align-self: stretch; display: grid; gap: .8rem; margin: 1.6rem 0 1.8rem; padding: 0; list-style: none; text-align: left; }
.edition-features li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.45; }
.edition-features li::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: .05rem; border-radius: 50%; background: #ff684629 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4 8.7 13 14 7.4' fill='none' stroke='%23BE351C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.edition-buy { order: 5; align-self: stretch; margin-top: auto; }
.edition-buy-pending { border-color: var(--tangerine); background: var(--tangerine); color: var(--plum); cursor: default; }
.pricing:not(:has(input[value="3"]:checked)) .edition-action[data-devices="3"],
.pricing:has(input[value="3"]:checked) .edition-action[data-devices="1"] { display: none; }
.edition-note { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: .92rem; }

.terms { max-width: 48rem; padding-block: clamp(2.5rem, 7vw, 6rem); }
.terms h1 { font-size: clamp(2.6rem, 7vw, 4rem); max-width: none; text-wrap: balance; }
.terms h2 { font-size: clamp(1.65rem, 4vw, 2.45rem); text-wrap: initial; }
.terms section { margin-top: 2rem; }
.terms p { margin-top: .9rem; }

/* FAQ (Figma "FAQ"): each question is a small window card. */
.faq { padding-block: 128px; }
.faq .section-intro { margin-bottom: 3rem; }
.faq h2 { font-size: clamp(2.4rem, 4.2vw, 3rem); line-height: 1.2; }
.faq .section-intro p { margin-top: .875rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.faq-list { display: flex; flex-direction: column; gap: .75rem; width: min(100%, 53.75rem); margin-inline: auto; }
.faq details { position: relative; overflow: hidden; background: #fff; border: 1px solid #1b142814; border-radius: 1rem; transition: border-color .15s, box-shadow .15s; }
.faq details:hover, .faq details[open] { border-color: #1b142824; }
.faq details[open] { box-shadow: 0 10px 24px #1b14280f; }
.faq summary { display: flex; align-items: center; gap: 1.125rem; padding: 1.25rem 1.375rem; font: 600 1.125rem/1.35 var(--body); list-style: none; cursor: pointer; border-radius: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq-dots { flex: none; width: 47px; height: 11px; }
.faq-question { flex: 1; min-width: 0; }
.faq-toggle { flex: none; color: #1b142880; font: 500 1.375rem/1 var(--body); }
.faq-toggle::before { content: "+"; }
.faq details[open] .faq-toggle::before { content: "×"; }
.faq details p { margin: 0; padding: 0 2.5rem 1.5rem 5.125rem; color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* Final CTA (Figma "Final CTA") */
.final-cta { --art: clamp(18rem, 37vw, 35rem); position: relative; overflow: hidden; display: flex; align-items: center; width: calc(100% - 2rem); min-height: 25.875rem; margin: 0 auto 1rem; padding: 3rem clamp(1.75rem, 5vw, 4.5rem); background: var(--lavender); border-radius: 1.75rem; }
.final-cta-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.125rem; max-width: calc(100% - var(--art) * .8); }
.final-cta h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.15; letter-spacing: -.015em; }
.final-cta p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #1b1428cc; }
.final-cta .button { margin-top: .5rem; min-height: 0; padding: .9375rem 1.5rem; border-radius: .75rem; font-size: 1.0625rem; }
.final-cta-art { position: absolute; top: calc(var(--art) * -.118); right: calc(var(--art) * -.021); width: var(--art); height: auto; pointer-events: none; }
.footer { background: var(--plum); color: var(--ivory); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.9rem; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; text-underline-offset: .23em; }

/* Footer */
.footer { overflow: hidden; background: var(--plum); color: var(--ivory); }
.footer-top { display: flex; justify-content: space-between; gap: 2.5rem 4rem; flex-wrap: wrap; padding: clamp(3.5rem, 6vw, 4.5rem) clamp(1.05rem, 4.4vw, 4rem) 0; }
.footer-brand { max-width: 24rem; }
.footer-brand p { margin-top: .9rem; color: #fff4e899; font-size: .95rem; }
.footer-brand p + p { margin-top: .4rem; }
.footer-columns { display: flex; flex-wrap: wrap; gap: 2rem clamp(2rem, 5vw, 4.5rem); }
.footer-columns h2 { margin-bottom: .35rem; font: 600 1.02rem/1.4 var(--body); letter-spacing: 0; }
.footer-columns a { display: block; margin-top: .55rem; color: #fff4e899; font-size: .95rem; text-decoration: none; }
.footer-cookie-settings { display: block; margin: .55rem 0 0; padding: 0; border: 0; background: none; color: #fff4e899; font: inherit; font-size: .95rem; cursor: pointer; }
.footer-cookie-settings:hover { text-decoration: underline; }
.footer a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: .23em; }
.footer-legal { display: grid; gap: .9rem; margin-top: .9rem; color: #fff4e899; font-size: .88rem; }
.footer-brand .footer-legal p { margin: 0; font-size: .88rem; }
.footer-copyright { display: flex; align-items: center; gap: .85rem; }
.footer-credit { display: flex; align-items: center; gap: .4rem; }
.footer-credit a { display: inline-flex; align-items: center; gap: .4rem; color: var(--ivory); text-decoration: none; font-weight: 500; }
.footer-credit img { width: 1.35rem; height: 1.35rem; }
.footer-heart { color: #fff; }
.footer-dots { display: inline-flex; gap: .45rem; }
.footer-dots i { width: .62rem; height: .62rem; border-radius: 50%; background: #fff4e84d; }
.footer-dots i:first-child { background: var(--tangerine); }
.footer-wordmark { width: min(100% - 3.5rem, 70rem); margin: clamp(1rem, 2.5vw, 1.5rem) auto 0; }
.footer-wordmark img { width: calc(100% * 1360 / 1210); max-width: none; height: auto; }

/* Terms page shares the floating nav */
.masthead + .terms { padding-top: calc(var(--nav-space) + 2rem); }

@media (max-width: 58rem) {
    .final-cta { --art: 17rem; align-items: flex-start; min-height: 0; padding-bottom: calc(var(--art) * .78); }
    .final-cta-copy { max-width: none; }
    .final-cta-art { top: auto; bottom: calc(var(--art) * -.16); right: calc(var(--art) * -.06); }
    .play-grid { grid-template-columns: minmax(0, 1fr); }
    .mac { max-width: 44rem; margin-inline: auto; }
    .play-controls { top: 0; width: min(100%, 27.625rem); margin-inline: auto; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-glow-lavender { top: 24rem; right: -12rem; }
    .hero-glow-tangerine { top: 34rem; }
    .nav-links { gap: 1.25rem; }
}

@media (max-width: 43rem) {
    .wrap { width: calc(100% - 2.1rem); }
    .nav-links { display: none; }
    h1 { font-size: clamp(2.7rem, 11vw, 3.6rem); }
    .hero-grid { padding-top: calc(var(--nav-space) + .5rem); gap: 2.2rem; }
    .hero-pixels { display: none; }
    .effect-picker { gap: .35rem; padding: .35rem; }
    .effect-chip { gap: .3rem; padding: .4rem .25rem; font-size: .75rem; }
    .effect-emoji { font-size: 1.25rem; }

    .permission-slip { --lift-x: .27rem; --lift-y: .31rem; }
    .hero-grid, .privacy-grid, .pricing-box, .edition-grid { grid-template-columns: minmax(0, 1fr); }
    .faq summary { gap: .75rem; padding: 1rem 1.1rem; font-size: 1.02rem; }
    .faq-dots { width: 38px; height: auto; }
    .faq details p { padding: 0 1.1rem 1.2rem; }

    .footer-wordmark { width: calc(100% - 2.1rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .dock-window span, .mac-screen[data-state=ready] .mock-photos.is-back { animation: none; }
    .permission-slip.is-popping { animation: none; }
}

/* FAQ close effect */
.faq details { position: relative; }
.faq-dissolve { position: absolute; z-index: 2; max-width: none; pointer-events: none; }

.permission-title { display: flex; align-items: center; gap: .6rem; }
.permission-lock { flex: none; width: 1.5rem; height: 1.5rem; color: var(--tangerine); }
.permission-slip dl > div:last-child { border-bottom: 0; padding-bottom: 0; }

/* Launch offer bar (same shared count on both cards) */
.offer-bar { order: 3; align-self: stretch; margin-block: 1.75rem 1rem; }
.offer-bar-label { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; font-weight: 600; color: var(--ember); }
.offer-bar-label span:last-child { flex: none; color: var(--muted); font-weight: 500; white-space: nowrap; }
.offer-bar-track { height: .55rem; margin-top: .45rem; border-radius: 999px; background: #ff684626; overflow: hidden; }
.offer-bar-track span { display: block; height: 100%; min-width: .55rem; border-radius: inherit; background: var(--tangerine); }
.edition-buy-form { order: 5; align-self: stretch; margin-top: auto; }
.edition-buy-form .edition-buy { width: 100%; margin-top: 0; }
.edition-req { order: 5; margin: auto 0 .7rem; font-size: .82rem; color: var(--muted); }
.edition-card:has(.edition-req) .edition-buy-form, .edition-card:has(.edition-req) .edition-buy { margin-top: 0; }
