/* ==========================================================================
   Somnera — sitio web
   Sistema visual: noche profunda + vidrio líquido con refracción real (WebGL)
   y vidrio CSS como respaldo. Las clases `.lg` / [data-glass] las dibuja el
   motor WebGL cuando está activo (html.gl); sin él, usan vidrio CSS.
   ========================================================================== */

:root {
    --bg: #05060e;
    --bg-2: #080b18;
    --ink: #eef1ff;
    --ink-2: #bcc3de;
    --ink-3: #8a92b2;
    --line: rgba(255, 255, 255, .09);
    --violet: #8e7dff;
    --violet-2: #b8acff;
    --aqua: #6cf2ff;
    --cyan: #00f5ff;
    --blue: #20a4f3;
    --gold: #ffd166;
    --rose: #ff8fae;
    --peach: #ffb48a;
    --grad: linear-gradient(100deg, #d9d2ff 0%, #a597ff 34%, #6cf2ff 100%);
    --grad-dawn: linear-gradient(100deg, #ffe2c7 0%, #ff9fbc 45%, #b8acff 100%);

    --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --shell: min(1200px, calc(100% - 48px));
    --r-xl: 40px;
    --r-lg: 30px;
    --r-md: 22px;
    --r-sm: 16px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --nav-h: 60px;
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 96px;
    background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: clip;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--aqua);
    outline-offset: 3px;
    border-radius: 10px;
}

::selection {
    background: rgba(142, 125, 255, .42);
    color: #fff;
}

[hidden] {
    display: none !important;
}

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

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: #05060e;
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform .25s var(--ease);
}

.skip-link:focus {
    transform: none;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.mono {
    font-family: var(--mono);
    font-feature-settings: "zero" 0, "tnum" 1;
}

/* ---------- Atmosphere ---------- */
.sky {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(1100px 760px at 82% -8%, rgba(142, 125, 255, .17), transparent 62%),
        radial-gradient(900px 700px at -12% 34%, rgba(32, 164, 243, .09), transparent 62%),
        radial-gradient(1000px 700px at 50% 112%, rgba(108, 242, 255, .06), transparent 60%),
        linear-gradient(180deg, #05060e 0%, #070a17 46%, #05060e 100%);
}

.sky::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/stars.webp");
    background-size: 1024px 1024px;
    opacity: .55;
}

.grain {
    position: fixed;
    inset: -50%;
    z-index: 60;
    pointer-events: none;
    opacity: .055;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.display,
.display-md,
.display-sm {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.018em;
    text-wrap: balance;
}

.display {
    font-size: clamp(58px, 9.4vw, 136px);
    line-height: .9;
}

.display-md {
    font-size: clamp(44px, 6.4vw, 92px);
    line-height: .94;
}

.display-sm {
    font-size: clamp(36px, 4.4vw, 64px);
    line-height: .98;
}

.display em,
.display-md em,
.display-sm em {
    font-style: italic;
    color: transparent;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    padding-right: .06em;
}

.lede {
    max-width: 36em;
    color: var(--ink-2);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.6;
    letter-spacing: -.005em;
    text-wrap: pretty;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--aqua);
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: .7;
}

.kicker .icon {
    width: 16px;
    height: 16px;
}

.kicker:has(.icon)::before {
    display: none;
}

/* ---------- Liquid glass (CSS) ---------- */
.glass {
    position: relative;
}

.glass,
html:not(.gl) .lg {
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .02) 100%),
        rgba(16, 19, 40, .32);
    -webkit-backdrop-filter: blur(22px) saturate(175%) brightness(1.06);
    backdrop-filter: blur(22px) saturate(175%) brightness(1.06);
    box-shadow:
        inset 0 1px .5px rgba(255, 255, 255, .26),
        inset 0 -1px .5px rgba(255, 255, 255, .07),
        inset 0 0 22px rgba(255, 255, 255, .025),
        0 30px 70px -32px rgba(0, 0, 0, .75);
}

.glass::before,
html:not(.gl) .lg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .08) 26%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .06) 74%, rgba(255, 255, 255, .26));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Chromium: real refraction of the backdrop through an SVG displacement map. */
.glass.refracts {
    -webkit-backdrop-filter: var(--refract) blur(16px) saturate(175%) brightness(1.06);
    backdrop-filter: var(--refract) blur(16px) saturate(175%) brightness(1.06);
}

/* WebGL draws these surfaces; the DOM only carries content. */
html.gl .lg {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

/* ---------- Navigation ---------- */
.nav-wrap {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.nav {
    pointer-events: auto;
    width: min(1100px, calc(100% - 24px));
    height: var(--nav-h);
    padding: 0 8px 0 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: width .5s var(--ease-out), background-color .4s;
}

.nav-wrap.is-scrolled .nav {
    width: min(980px, calc(100% - 24px));
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -.01em;
}

.brand img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 18px rgba(142, 125, 255, .35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s, background-color .2s;
}

.nav-links a:hover,
.nav-links a.is-current {
    color: var(--ink);
    background: rgba(255, 255, 255, .07);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    transition: color .2s, background-color .2s;
}

.lang-toggle:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, .07);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, #dcdfff);
    color: #0a0b1a;
    font-size: 14px;
    font-weight: 600;
    box-shadow: inset 0 -2px 4px rgba(90, 80, 200, .25), 0 10px 30px -8px rgba(142, 125, 255, .65);
    transition: transform .25s var(--ease), box-shadow .25s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 -2px 4px rgba(90, 80, 200, .25), 0 14px 34px -8px rgba(142, 125, 255, .85);
}

.nav-cta .icon {
    width: 15px;
    height: 15px;
}

.nav-menu {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    place-items: center;
}

.nav-menu-bars,
.nav-menu-bars::before,
.nav-menu-bars::after {
    display: block;
    width: 18px;
    height: 1.6px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .35s var(--ease), opacity .2s;
}

.nav-menu-bars {
    position: relative;
}

.nav-menu-bars::before,
.nav-menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-menu-bars::before {
    top: -6px;
}

.nav-menu-bars::after {
    top: 6px;
}

.nav-menu[aria-expanded="true"] .nav-menu-bars {
    background: transparent;
}

.nav-menu[aria-expanded="true"] .nav-menu-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-menu[aria-expanded="true"] .nav-menu-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    pointer-events: auto;
    width: calc(100% - 24px);
    padding: 10px;
    border-radius: 28px;
    display: grid;
    gap: 2px;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu a {
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 500;
}

.mobile-menu a:active,
.mobile-menu a:hover {
    background: rgba(255, 255, 255, .07);
}

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 58px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.005em;
    transition: transform .3s var(--ease), color .3s;
    -webkit-tap-highlight-color: transparent;
}

.btn .icon {
    width: 18px;
    height: 18px;
    transition: transform .3s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn-primary {
    color: #fff;
    text-shadow: 0 1px 12px rgba(20, 10, 60, .45);
}

html:not(.gl) .btn-primary {
    background: linear-gradient(135deg, rgba(160, 145, 255, .55), rgba(80, 200, 255, .35));
}

.btn-ghost {
    color: var(--ink);
}

.btn:active {
    transform: scale(.97);
}

/* ---------- Scenes ---------- */
[data-scene] {
    position: relative;
    isolation: isolate;
}

.scene-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

html:not(.gl) .scene-canvas {
    display: none;
}

/* ---------- Devices (CSS frames are the no-WebGL fallback) ---------- */
.device {
    position: relative;
}

.device img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .6s var(--ease);
}

.device-phone {
    border-radius: 13.6% / 6.3%;
}

.device-phone img {
    border-radius: inherit;
}

.device-watch {
    border-radius: 23% / 19%;
}

.device-watch img {
    border-radius: inherit;
}

html:not(.gl) .device-phone {
    box-shadow:
        0 0 0 clamp(5px, .9vw, 9px) #06070c,
        0 0 0 calc(clamp(5px, .9vw, 9px) + 3px) #2b3550,
        0 0 0 calc(clamp(5px, .9vw, 9px) + 4px) rgba(255, 255, 255, .25),
        0 50px 100px -30px rgba(0, 0, 0, .9);
}

html:not(.gl) .device-watch {
    box-shadow:
        0 0 0 clamp(9px, 1.6vw, 16px) #050506,
        0 0 0 calc(clamp(9px, 1.6vw, 16px) + 7px) #2a2b31,
        0 0 0 calc(clamp(9px, 1.6vw, 16px) + 8px) rgba(255, 255, 255, .18),
        0 40px 90px -30px rgba(0, 0, 0, .9);
}

html.gl .scene-canvas {
    opacity: 0;
    transition: opacity 1.1s var(--ease);
}

html.gl .scene-canvas.is-ready {
    opacity: 1;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    min-height: max(100svh, 720px);
    display: grid;
    align-items: center;
    padding: 132px 0 120px;
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 660px;
}

.hero-moon {
    position: absolute;
    top: 50%;
    right: max(-6vw, calc((100vw - 1360px) / 2));
    width: min(76vh, 50vw, 780px);
    aspect-ratio: 1;
    transform: translateY(-48%);
    pointer-events: none;
}

.hero-moon img {
    width: 100%;
    height: 100%;
    border-radius: 22%;
    opacity: .95;
    -webkit-mask: radial-gradient(closest-side, #000 70%, transparent);
    mask: radial-gradient(closest-side, #000 70%, transparent);
}

html.gl .hero-moon img {
    opacity: 0;
}

.eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    margin-bottom: 30px;
    padding: 0 16px 0 14px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}

.eyebrow .icon {
    width: 15px;
    height: 15px;
    color: var(--ink-2);
    transition: transform .3s var(--ease);
}

.eyebrow:hover .icon {
    transform: translateX(3px);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 0 4px rgba(108, 242, 255, .14), 0 0 14px var(--aqua);
}

.hero h1 {
    margin-bottom: 28px;
}

.hero .lede {
    max-width: 31em;
    margin-bottom: 38px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: var(--ink-3);
    font-size: 13.5px;
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta .icon {
    width: 16px;
    height: 16px;
    color: var(--ink-2);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--ink-3);
    font-size: 12px;
    letter-spacing: .14em;
    transform: translateX(-50%);
}

.scroll-cue-line {
    position: relative;
    width: 1px;
    height: 44px;
    overflow: hidden;
    background: rgba(255, 255, 255, .14);
}

.scroll-cue-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: -40%;
    width: 1px;
    height: 40%;
    background: linear-gradient(transparent, var(--aqua));
    animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
    to {
        top: 110%;
    }
}

/* ==========================================================================
   STORY (pinned)
   ========================================================================== */
.story {
    position: relative;
    height: 360vh;
}

.story-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    overflow: hidden;
}

.story-grid {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: center;
    padding-top: calc(var(--nav-h) + 20px);
}

.story-numerals {
    position: absolute;
    left: max(24px, calc((100vw - 1200px) / 2));
    top: 13%;
    width: min(46vw, 600px);
    height: min(26vh, 220px);
    pointer-events: none;
    font-family: var(--serif);
    font-size: min(24vh, 13vw, 210px);
    line-height: 1;
    letter-spacing: -.02em;
}

.story-numerals span {
    position: absolute;
    left: 0;
    bottom: 0;
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .04));
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0;
    transition: opacity .6s var(--ease);
}

.story-numerals span.is-active {
    opacity: 1;
}

html.gl .story-numerals span {
    visibility: hidden;
}

.story-copy {
    position: relative;
    align-self: end;
    padding-bottom: 12vh;
}

.story-steps {
    position: relative;
    min-height: 17em;
}

.story-step {
    position: absolute;
    inset: 0 0 auto 0;
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    transition: opacity .7s var(--ease), transform .9s var(--ease-out), filter .7s var(--ease);
    pointer-events: none;
}

.story-step.is-active {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
}

.step-label .mono {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(108, 242, 255, .28);
    color: var(--aqua);
    font-size: 12.5px;
    letter-spacing: .06em;
}

.story-step h3 {
    margin-bottom: 20px;
}

.story-step p:last-child {
    max-width: 30em;
    color: var(--ink-2);
    font-size: clamp(16.5px, 1.3vw, 19px);
    line-height: 1.6;
}

.story-progress {
    display: flex;
    gap: 8px;
    margin-top: 28px;
}

.story-progress li {
    width: 54px;
    height: 3px;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, .14);
}

.story-progress span {
    display: block;
    height: 100%;
    width: calc(var(--p, 0) * 100%);
    background: var(--grad);
}

.story-devices {
    position: relative;
    height: min(80svh, 780px);
    align-self: center;
}

.story-devices .device-phone {
    position: absolute;
    left: 7%;
    top: 5%;
    height: 86%;
    aspect-ratio: 900 / 1955;
}

.story-devices .device-watch {
    position: absolute;
    right: 9%;
    bottom: 13%;
    height: 29%;
    aspect-ratio: 422 / 514;
}

.story-devices .device img {
    opacity: 0;
}

.story-devices .device img.is-active {
    opacity: 1;
}

.chip {
    position: absolute;
    left: var(--cx);
    top: var(--cy);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 14px;
    border-radius: 22px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(14px) scale(.96);
    transition: opacity .6s var(--ease), transform .8s var(--ease-out);
}

.chip.is-active {
    opacity: 1;
    transform: none;
}

html.gl .chip {
    transition: none;
}

.chip .icon {
    width: 22px;
    height: 22px;
    color: var(--aqua);
}

.chip strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.chip small {
    display: block;
    color: var(--ink-2);
    font-size: 12.5px;
}

/* ==========================================================================
   SECTIONS (common)
   ========================================================================== */
.section {
    position: relative;
    isolation: isolate;
    padding: clamp(104px, 11.5vw, 168px) 0;
}

/* Ambient light so the CSS glass has colour to bend and blur. */
.section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(var(--g1s, 520px 420px) at var(--g1p, 18% 62%), var(--g1c, rgba(142, 125, 255, .16)), transparent 70%),
        radial-gradient(var(--g2s, 560px 460px) at var(--g2p, 82% 58%), var(--g2c, rgba(32, 164, 243, .11)), transparent 70%),
        radial-gradient(var(--g3s, 0 0) at var(--g3p, 50% 50%), var(--g3c, transparent), transparent 70%);
}

.listen {
    --g1p: 16% 64%;
    --g2p: 78% 62%;
    --g2c: rgba(108, 242, 255, .10);
    --g3s: 420px 320px;
    --g3p: 70% 78%;
    --g3c: rgba(255, 209, 102, .07);
}

.showcase {
    --g1s: 760px 560px;
    --g1p: 14% 34%;
    --g2s: 760px 600px;
    --g2p: 88% 70%;
    --g3s: 620px 420px;
    --g3p: 50% 96%;
    --g3c: rgba(255, 143, 174, .07);
}

.companions {
    --g1s: 900px 520px;
    --g1p: 50% 66%;
    --g1c: rgba(142, 125, 255, .17);
    --g2s: 520px 380px;
    --g2p: 85% 92%;
    --g2c: rgba(255, 209, 102, .08);
    --g3s: 520px 380px;
    --g3p: 12% 92%;
    --g3c: rgba(108, 242, 255, .08);
}

.experiments {
    --g1p: 72% 52%;
    --g1c: rgba(108, 242, 255, .10);
    --g2p: 88% 40%;
    --g2c: rgba(255, 209, 102, .07);
}

.privacy {
    --g1s: 900px 560px;
    --g1p: 50% 52%;
    --g1c: rgba(142, 125, 255, .15);
    --g2s: 600px 420px;
    --g2p: 50% 98%;
    --g2c: rgba(255, 143, 174, .08);
}

.faq {
    --g1p: 74% 40%;
    --g1c: rgba(32, 164, 243, .09);
    --g2p: 12% 80%;
    --g2c: rgba(142, 125, 255, .09);
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head h2 {
    margin-bottom: 24px;
}

.section-head-center {
    margin-inline: auto;
    text-align: center;
}

.section-head-center .lede {
    margin-inline: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform 1.1s var(--ease-out), translate .45s var(--ease-out), box-shadow .45s var(--ease);
    transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}

@media (hover: hover) {
    .tile.is-in:hover,
    .mascot.is-in:hover,
    .pv.is-in:hover,
    .wf.is-in:hover,
    .pipe-step.is-in:hover {
        translate: 0 -4px;
        box-shadow:
            inset 0 1px .5px rgba(255, 255, 255, .34),
            inset 0 -1px .5px rgba(255, 255, 255, .08),
            inset 0 0 22px rgba(255, 255, 255, .03),
            0 40px 80px -34px rgba(0, 0, 0, .8),
            0 0 0 1px rgba(184, 172, 255, .14);
    }

    .tile:hover .tile-shot img {
        transform: translateY(-6px);
    }

    .tile:hover .shot-crop img {
        transform: translateY(calc(var(--crop, 0%) * -1 - 6px));
    }
}

.tile-shot img {
    transition: transform .6s var(--ease-out);
}

.reveal.is-in,
html.no-js .reveal {
    opacity: 1;
    transform: none;
}

/* ---------- Listen ---------- */
.listen-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
}

.pipeline {
    display: grid;
    gap: 14px;
}

.pipe-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 24px 26px;
    border-radius: var(--r-md);
}

.pipe-num {
    color: var(--violet-2);
    font-size: 13px;
    padding-top: 4px;
}

.pipe-step h3 {
    margin-bottom: 6px;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.015em;
}

.pipe-step p {
    color: var(--ink-2);
    font-size: 15px;
}

.spectrum-card {
    position: sticky;
    top: 110px;
    padding: 12px;
    border-radius: var(--r-lg);
}

.spectrum {
    position: relative;
    height: clamp(360px, 40vw, 520px);
    border-radius: calc(var(--r-lg) - 10px);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(108, 242, 255, .05), rgba(142, 125, 255, .06)),
        #070918;
}

html.no-gl-ready .spectrum,
html:not(.gl) .spectrum {
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px),
        linear-gradient(180deg, rgba(108, 242, 255, .1), rgba(142, 125, 255, .14) 55%, rgba(255, 209, 102, .12)),
        #070918;
}

.spectrum-lens {
    position: absolute;
    left: 52%;
    top: 46%;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    pointer-events: none;
}

html:not(.gl) .spectrum-lens {
    display: none;
}

.spectrum-bands {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    pointer-events: none;
}

.spectrum-bands li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 0 18px;
    border-top: 1px dashed rgba(255, 255, 255, .12);
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

.spectrum-bands li:first-child {
    border-top: 0;
}

.spectrum-bands small {
    color: var(--ink-3);
    font-size: 11.5px;
    font-weight: 400;
}

.spectrum-legend {
    position: absolute;
    left: 16px;
    top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--ink-2);
    font-size: 11.5px;
    pointer-events: none;
}

.spectrum-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-snore {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.dot-fan {
    background: #5b6487;
}

.spectrum-card figcaption {
    padding: 14px 10px 4px;
    color: var(--ink-3);
    font-size: 13px;
}

/* ---------- Showcase / bento ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 30px 30px 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    grid-column: span 6;
    min-height: 420px;
}

.tile-hero {
    grid-column: span 5;
    grid-row: span 2;
}

.tile-hero + .tile,
.tile-hero + .tile + .tile {
    grid-column: span 7;
}

.tile-wide {
    grid-column: span 12;
    flex-direction: row;
    align-items: stretch;
    gap: 40px;
    min-height: 0;
}

.tile-wide .tile-copy {
    flex: 1 1 40%;
    align-self: center;
    padding-bottom: 30px;
}

.tile-mini {
    grid-column: span 4;
    min-height: 0;
    gap: 12px;
    padding: 30px;
}

.tile-copy {
    position: relative;
    z-index: 1;
}

.tile-tag {
    margin-bottom: 12px;
    color: var(--aqua);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tile h3 {
    margin-bottom: 10px;
    font-family: var(--serif);
    font-size: clamp(30px, 2.8vw, 40px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.01em;
}

.tile-mini h3 {
    font-size: 28px;
}

.tile p {
    max-width: 34em;
    color: var(--ink-2);
    font-size: 15.5px;
}

.tile-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    fill: none;
    stroke: var(--violet-2);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tile-shot {
    position: relative;
    flex: 1;
    min-height: 220px;
    margin: 0 auto;
    width: min(100%, 420px);
}

.tile-shot img {
    width: 100%;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 -20px 60px -20px rgba(142, 125, 255, .45);
}

.shot-tall {
    width: min(100%, 360px);
}

.shot-tall img {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
}

.shot-crop {
    position: relative;
    overflow: hidden;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 -24px 60px -24px rgba(142, 125, 255, .5);
}

.shot-crop img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(calc(var(--crop, 0%) * -1));
}

.shot-pair {
    flex: 1 1 58%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: auto;
    align-self: flex-end;
    height: 380px;
    min-height: 0;
    margin: 0;
}

.shot-pair .shot-crop {
    height: 100%;
    min-height: 0;
}

.tile::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 60%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(142, 125, 255, .2), transparent);
    pointer-events: none;
}

/* ==========================================================================
   APPLE WATCH
   ========================================================================== */
.watch {
    padding: clamp(120px, 12vw, 170px) 0 clamp(90px, 10vw, 140px);
    overflow: hidden;
}

.watch-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}

.watch-stage {
    position: relative;
    height: clamp(520px, 52vw, 680px);
    display: grid;
    place-items: center;
}

.device-watch-xl {
    width: min(48%, 252px);
    aspect-ratio: 422 / 514;
}

.device .breath-screen {
    z-index: 1;
    opacity: 0;
    transition: opacity .45s var(--ease);
}

.device .breath-screen.is-on {
    opacity: 1;
}

.breath-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(108%, 660px);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(var(--breath, .9));
    pointer-events: none;
}

html.gl .breath-ring {
    transform: translate(-50%, -50%);
}

html:not(.gl) .breath-ring {
    border: 1px solid rgba(108, 242, 255, .25);
    box-shadow: inset 0 0 60px rgba(108, 242, 255, .08), 0 0 80px rgba(142, 125, 255, .12);
    transition: transform 1s linear;
}

.breath-label {
    position: absolute;
    left: 50%;
    bottom: 3%;
    min-height: 1.4em;
    transform: translateX(-50%);
    font-family: var(--serif);
    font-size: clamp(26px, 2.6vw, 36px);
    font-style: italic;
    color: var(--ink);
    text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
    white-space: nowrap;
    pointer-events: none;
}

.watch-copy .lede {
    margin-bottom: 32px;
}

.watch-copy h2 {
    margin-bottom: 22px;
}

.segmented {
    position: relative;
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    max-width: 100%;
    padding: 5px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.segmented button {
    position: relative;
    z-index: 1;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .3s;
}

.segmented button[aria-selected="true"] {
    color: var(--ink);
}

.segmented-thumb {
    position: absolute;
    top: 5px;
    left: 0;
    height: 42px;
    width: 0;
    border-radius: 999px;
    pointer-events: none;
}

html:not(.gl) .segmented-thumb {
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    transition: transform .5s var(--ease-out), width .5s var(--ease-out);
}

.watch-state-copy {
    min-height: 5.2em;
    margin-bottom: 28px;
    color: var(--ink-2);
    font-size: 16.5px;
    max-width: 32em;
}

.picker-label {
    margin-bottom: 12px;
    color: var(--ink-3);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.picker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.bubble {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform .4s var(--ease-out);
}

.bubble img {
    width: 92%;
    height: 92%;
    object-fit: contain;
    transition: transform .5s var(--ease-out), filter .4s;
    filter: saturate(.85) brightness(.9);
}

.bubble:hover img,
.bubble[aria-checked="true"] img {
    transform: scale(1.1);
    filter: none;
}

html:not(.gl) .bubble[aria-checked="true"] {
    box-shadow: 0 0 0 2px var(--aqua), 0 0 24px rgba(108, 242, 255, .4);
}

.breath-btn {
    height: 52px;
    font-size: 15px;
}

.breath-btn .icon {
    color: var(--aqua);
}

.breath-btn:hover .icon {
    transform: none;
}

.watch-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(60px, 8vw, 110px);
}

.wf {
    padding: 26px 24px 28px;
    border-radius: var(--r-md);
}

.wf .icon {
    width: 26px;
    height: 26px;
    margin-bottom: 18px;
    color: var(--aqua);
}

.wf h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.wf p {
    color: var(--ink-2);
    font-size: 14.5px;
}

/* ==========================================================================
   COMPANIONS
   ========================================================================== */
.mood-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 44px;
    padding: 6px;
    border-radius: 999px;
}

.mood-switch button {
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 600;
    transition: color .25s, background-color .25s, box-shadow .25s;
}

.mood-switch button:hover {
    color: var(--ink);
}

.mood-switch button[aria-checked="true"] {
    color: var(--ink);
    background: rgba(255, 255, 255, .13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 18px -6px rgba(0, 0, 0, .5);
}

.mascots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mascot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 26px 28px;
    border-radius: var(--r-lg);
}

.mascot-art {
    align-self: center;
    width: min(220px, 70%);
    aspect-ratio: 1;
    margin-bottom: 6px;
    animation: floaty 7s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -1.1s);
}

.mascot:nth-child(2) .mascot-art { --i: 1; }
.mascot:nth-child(3) .mascot-art { --i: 2; }
.mascot:nth-child(4) .mascot-art { --i: 3; }
.mascot:nth-child(5) .mascot-art { --i: 4; }
.mascot:nth-child(6) .mascot-art { --i: 5; }

.mascot-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .35s var(--ease), transform .5s var(--ease-out);
}

.mascot-art img.is-swapping {
    opacity: 0;
    transform: scale(.92);
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mascot h3 {
    margin-bottom: 6px;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -.01em;
}

.mascot p {
    flex: 1;
    margin-bottom: 18px;
    color: var(--ink-2);
    font-size: 15px;
}

.badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--ink-2);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.badge-aqua {
    border-color: rgba(108, 242, 255, .4);
    color: var(--aqua);
}

.badge-violet {
    border-color: rgba(184, 172, 255, .45);
    color: var(--violet-2);
}

.badge-gold {
    border-color: rgba(255, 209, 102, .45);
    color: var(--gold);
}

/* ==========================================================================
   EXPERIMENTS
   ========================================================================== */
.exp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.exp-grid .section-head {
    margin-bottom: 0;
}

.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.option-chips li {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--ink-2);
    font-size: 13.5px;
}

.exp-card {
    padding: 34px;
    border-radius: var(--r-xl);
}

.exp-steps {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
}

.exp-steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: baseline;
}

.exp-steps .mono {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(142, 125, 255, .16);
    color: var(--violet-2);
    font-size: 13px;
}

.exp-steps p {
    color: var(--ink);
    font-size: 16px;
}

.exp-chart {
    padding: 22px 20px 16px;
    border-radius: var(--r-md);
    background: rgba(5, 6, 14, .45);
    border: 1px solid rgba(255, 255, 255, .07);
}

.exp-bars {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 10px;
    height: 150px;
}

.exp-bars span {
    height: calc(var(--h) * 100%);
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(180deg, rgba(255, 209, 102, .9), rgba(255, 209, 102, .25));
    transform-origin: bottom;
    transform: scaleY(.05);
    transition: transform 1.2s var(--ease-out);
}

.exp-bars span.is-trial {
    background: linear-gradient(180deg, rgba(108, 242, 255, .95), rgba(142, 125, 255, .3));
}

.exp-card.is-in .exp-bars span {
    transform: none;
}

.exp-card.is-in .exp-bars span:nth-child(2) { transition-delay: .06s; }
.exp-card.is-in .exp-bars span:nth-child(3) { transition-delay: .12s; }
.exp-card.is-in .exp-bars span:nth-child(4) { transition-delay: .24s; }
.exp-card.is-in .exp-bars span:nth-child(5) { transition-delay: .3s; }
.exp-card.is-in .exp-bars span:nth-child(6) { transition-delay: .36s; }
.exp-card.is-in .exp-bars span:nth-child(7) { transition-delay: .42s; }

.exp-axis {
    display: grid;
    grid-template-columns: 3fr 4fr;
    gap: 10px;
    margin-top: 12px;
    color: var(--ink-3);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.exp-axis span + span {
    color: var(--aqua);
}

.exp-note {
    margin-top: 12px;
    color: var(--ink-3);
    font-size: 11px;
}

.fine {
    margin-top: 18px;
    color: var(--ink-3);
    font-size: 13px;
}

/* ==========================================================================
   PRIVACY
   ========================================================================== */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pv {
    padding: 28px 26px 30px;
    border-radius: var(--r-md);
}

.pv .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 22px;
    color: var(--violet-2);
}

.pv h3 {
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.012em;
}

.pv p {
    color: var(--ink-2);
    font-size: 15px;
}

.honesty {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    margin-top: 18px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--r-xl);
}

.honesty-mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(255, 143, 174, .25), rgba(142, 125, 255, .2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    color: var(--rose);
}

.honesty-mark .icon {
    width: 30px;
    height: 30px;
}

.honesty h3 {
    margin-bottom: 16px;
}

.honesty p {
    max-width: 52em;
    margin-bottom: 20px;
    color: var(--ink-2);
    font-size: 16.5px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--aqua);
    font-weight: 600;
}

.text-link .icon {
    width: 16px;
    height: 16px;
    transition: transform .3s var(--ease);
}

.text-link:hover .icon {
    transform: translateX(3px);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}

.faq-grid .section-head {
    position: sticky;
    top: 120px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.qa {
    border-radius: var(--r-md);
}

.qa summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
    list-style: none;
    cursor: pointer;
}

.qa summary::-webkit-details-marker {
    display: none;
}

.qa summary .icon {
    width: 20px;
    height: 20px;
    color: var(--ink-2);
    transition: transform .4s var(--ease-out);
}

.qa[open] summary .icon {
    transform: rotate(45deg);
}

.qa p {
    padding: 0 24px 24px;
    color: var(--ink-2);
    font-size: 15.5px;
    max-width: 40em;
}

/* ==========================================================================
   FINALE
   ========================================================================== */
.finale {
    min-height: max(100svh, 760px);
    display: grid;
    align-items: center;
    padding: 140px 0 110px;
    overflow: hidden;
    text-align: center;
}

.finale-moon {
    position: absolute;
    right: -7%;
    top: -9%;
    width: min(62vh, 48vw, 640px);
    aspect-ratio: 1;
    pointer-events: none;
}

.finale-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.finale-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 34px;
    border-radius: 24px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 26px 60px -12px rgba(255, 143, 174, .45);
}

.finale .kicker {
    color: var(--peach);
}

.finale .kicker::before {
    display: none;
}

.finale h2 {
    margin-bottom: 26px;
}

.finale h2 em {
    background: var(--grad-dawn);
    -webkit-background-clip: text;
    background-clip: text;
}

.finale .lede {
    margin: 0 auto 44px;
}

.finale-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.store-badge {
    display: inline-block;
    border-radius: 14px;
    transition: transform .3s var(--ease), filter .3s;
}

.store-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
}

.store-badge img {
    width: 180px;
    height: 60px;
}

.qr-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 22px 12px 12px;
    border-radius: 26px;
    text-align: left;
}

.qr {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    padding: 6px;
    border-radius: 16px;
    background: #fff;
    color: #05060e;
}

.qr img {
    width: 100%;
    height: 100%;
}

.qr-copy strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.qr-copy small {
    color: var(--ink-2);
    font-size: 13px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    position: relative;
    border-top: 1px solid var(--line);
    background: rgba(5, 6, 14, .6);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0 18px;
    color: var(--ink-3);
    font-size: 14px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 600;
}

.footer-brand img {
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a {
    color: var(--ink-2);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-legal {
    padding: 0 0 34px;
    color: #5f6684;
    font-size: 12.5px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
    .nav-links a {
        padding: 8px 10px;
    }

    .bento .tile-hero {
        grid-column: span 12;
        grid-row: auto;
        flex-direction: row;
        min-height: 0;
    }

    .bento .tile-hero .tile-copy {
        align-self: center;
        padding-bottom: 30px;
    }

    .tile-hero + .tile,
    .tile-hero + .tile + .tile {
        grid-column: span 6;
    }

    .shot-tall {
        height: 460px;
        overflow: hidden;
    }

    .watch-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .hero-moon {
        right: -8vw;
        width: min(70vh, 46vw);
    }

    .hero .display {
        font-size: clamp(58px, 8.6vw, 136px);
    }
}

@media (max-width: 900px) {
    :root {
        --shell: min(1200px, calc(100% - 32px));
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-menu {
        display: grid;
    }

    .nav {
        padding: 0 6px 0 14px;
    }

    /* Hero: moon above, copy below */
    .hero {
        align-items: start;
        padding: calc(min(64vw, 420px) + 92px) 0 72px;
    }

    .hero-moon {
        top: 70px;
        left: 50%;
        right: auto;
        width: min(64vw, 420px);
        transform: translateX(-50%);
    }

    .hero .eyebrow {
        margin-bottom: 20px;
    }

    .hero h1 {
        margin-bottom: 18px;
    }

    .hero .lede {
        margin-bottom: 26px;
    }

    .hero-copy {
        max-width: none;
    }

    .scroll-cue {
        display: none;
    }

    /* Story: devices on top, copy below */
    .story {
        height: 380vh;
    }

    .story-grid {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 0;
        padding-top: calc(var(--nav-h) + 26px);
    }

    .story-devices {
        grid-row: 1;
        height: 100%;
        max-height: 62svh;
        width: 100%;
        max-width: 460px;
        margin-inline: auto;
    }

    .story-copy {
        grid-row: 2;
        align-self: end;
        padding-bottom: max(26px, env(safe-area-inset-bottom));
    }

    .story-copy .kicker {
        display: none;
    }

    .story-steps {
        min-height: 13.5em;
    }

    .story-step h3 {
        margin-bottom: 12px;
        font-size: clamp(32px, 8.4vw, 44px);
    }

    .story-step p:last-child {
        font-size: 15.5px;
    }

    .step-label {
        margin-bottom: 12px;
    }

    .story-progress {
        margin-top: 18px;
    }

    .story-numerals {
        display: none;
    }

    .story-devices .device-phone {
        left: 1%;
        top: 6%;
        height: 82%;
    }

    .story-devices .device-watch {
        right: 1%;
        bottom: 9%;
        height: 26%;
    }

    .story-devices .chip {
        left: 59%;
    }

    .chip small {
        display: none;
    }

    .chip {
        padding: 9px 13px 9px 11px;
        border-radius: 18px;
        gap: 9px;
    }

    .chip .icon {
        width: 18px;
        height: 18px;
    }

    .chip strong {
        font-size: 13px;
    }

    .chip small {
        font-size: 11px;
    }

    .listen-grid,
    .exp-grid,
    .faq-grid,
    .watch-grid {
        grid-template-columns: 1fr;
    }

    .spectrum-card,
    .faq-grid .section-head {
        position: relative;
        top: 0;
    }

    .watch-stage {
        height: min(118vw, 560px);
    }

    .watch-copy {
        text-align: left;
    }

    .bento .tile,
    .tile-hero + .tile,
    .tile-hero + .tile + .tile,
    .tile-mini {
        grid-column: span 12;
    }

    .bento .tile-hero,
    .tile-wide {
        flex-direction: column;
    }

    .shot-pair {
        width: 100%;
    }

    .privacy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mascots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .display {
        font-size: clamp(50px, 14.2vw, 66px);
    }

    .hero .lede {
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-actions {
        flex-wrap: nowrap;
        gap: 10px;
        margin-bottom: 26px;
    }

    .hero-actions .btn {
        flex: 1 1 0;
        min-width: 0;
        height: 52px;
        padding: 0 10px;
        font-size: 15px;
        white-space: nowrap;
    }

    .hero-actions .btn .icon {
        display: none;
    }

    .hero-meta {
        gap: 8px 16px;
        font-size: 13px;
    }

    .segmented {
        display: grid;
        width: 100%;
        grid-auto-flow: row;
        grid-template-columns: 1fr 1fr;
        border-radius: 26px;
    }

    .segmented button {
        padding: 0 8px;
        font-size: 13.5px;
    }

    .segmented-thumb {
        display: none;
    }

    html.gl .segmented-thumb {
        display: block;
    }

    .picker-row {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .bubble {
        width: min(50px, calc((100vw - 32px - 40px) / 6));
        height: auto;
        aspect-ratio: 1;
    }

    .watch-features,
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .mascots {
        gap: 12px;
    }

    .mascot {
        padding: 12px 16px 20px;
    }

    .mascot h3 {
        font-size: 24px;
    }

    .mascot p {
        font-size: 13.5px;
    }

    .badge {
        height: auto;
        padding: 5px 10px;
        font-size: 10px;
        line-height: 1.2;
    }

    .tile {
        padding: 24px 22px 0;
        min-height: 0;
    }

    .tile-mini {
        padding: 24px 22px;
    }

    .shot-crop,
    .tile-shot {
        min-height: 260px;
    }

    .shot-tall {
        height: 380px;
    }

    .shot-pair {
        max-height: 300px;
    }

    .honesty {
        grid-template-columns: 1fr;
    }

    .exp-card {
        padding: 24px;
    }

    .qr-card {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .finale {
        text-align: left;
    }

    .finale-inner {
        align-items: flex-start;
    }

    .finale .lede {
        margin-left: 0;
    }
}

@media (max-height: 760px) and (min-width: 901px) {
    .story-step p:last-child {
        font-size: 16px;
    }

    .story-copy {
        padding-bottom: 6vh;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Social card render (?og): the hero alone at 1200×630. */
html.og-mode .nav-wrap,
html.og-mode .scroll-cue,
html.og-mode .hero .lede,
html.og-mode .hero-actions,
html.og-mode .grain {
    display: none;
}

html.og-mode .hero {
    min-height: 630px;
    height: 630px;
    padding: 0;
}

html.og-mode .hero-meta {
    margin-top: 34px;
    font-size: 17px;
}

html.og-mode .hero .eyebrow {
    height: 46px;
    font-size: 17px;
}

html.og-mode .hero-grid {
    padding-left: 52px;
}

html.og-mode .hero-moon {
    right: 3%;
    width: 560px;
}
