/* Breezy landing. Tokens come from design/tokens/breezy-tokens.json (light / dark).
   Colors, radii, shadows and type below are token values; do not add ad-hoc hex. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f2f3f8; --surface: #ffffff; --surface-2: #edeff7; --line: #e0e2ee;
  --ink: #1a1c28; --ink-muted: #63667c; --ink-faint: #9a9db2;
  --accent: #3654d6; --accent-ink: #ffffff; --accent-soft: #e4e8fb;
  --sage: #3f7357; --sage-soft: #e2ede5;
  --coral: #d97a5b; --coral-soft: #f7e5dd;
  --lavender: #7458c4; --lavender-soft: #ece7fa;
  --coral-text: #a5482a; /* coral darkened for text on coral-soft (AA) */
  --session-1: #5b6df0; --session-2: #6d4fe8; --session-3: #8a3fc4; --session-4: #d9498f;
  --night: #14151f; --night-surface: #1c1e2c; --night-ink: #eef0f8; --night-muted: #a4a7bd; --night-accent: #7c94ff;
  --shadow-card: 0 2px 8px -4px rgba(41, 41, 61, .16);
  --shadow-mascot: drop-shadow(0 1px 1.5px rgba(54, 64, 140, .2)) drop-shadow(0 5px 10px rgba(54, 64, 140, .14));
  --bezel: #1a1c28;
  --shadow-hero: 0 16px 32px -18px rgba(41, 41, 61, .35), 0 2px 6px -2px rgba(41, 41, 61, .12);
  --shadow-phone: 0 40px 60px -30px rgba(41, 41, 61, .45), 0 8px 18px -8px rgba(41, 41, 61, .2);
  --r-sm: 10px; --r-md: 14px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 24px; --r-pill: 999px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1); /* strong ease-out for UI */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1); /* on-screen movement */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14151f; --surface: #1c1e2c; --surface-2: #252739; --line: #2c2e42;
    --ink: #eef0f8; --ink-muted: #a4a7bd; --ink-faint: #6d7089;
    --accent: #7c94ff; --accent-ink: #10143a; --accent-soft: #1c2350;
    --sage: #8fc4a4; --sage-soft: #22322a;
    --coral: #e79a7d; --coral-soft: #3a2620; --coral-text: #e79a7d;
    --lavender: #b3a1f0; --lavender-soft: #2a2442;
    --shadow-card: 0 2px 8px -4px rgba(4, 3, 7, .16);
    --shadow-hero: 0 16px 32px -18px rgba(4, 3, 7, .55), 0 2px 6px -2px rgba(4, 3, 7, .12);
    --shadow-phone: 0 40px 60px -30px rgba(0, 0, 0, .7), 0 8px 18px -8px rgba(0, 0, 0, .4);
    --shadow-mascot: drop-shadow(0 5px 10px rgba(0, 0, 0, .35));
  }
}
:root[data-theme="dark"] {
    --bg: #14151f; --surface: #1c1e2c; --surface-2: #252739; --line: #2c2e42;
  --ink: #eef0f8; --ink-muted: #a4a7bd; --ink-faint: #6d7089;
  --accent: #7c94ff; --accent-ink: #10143a; --accent-soft: #1c2350;
  --sage: #8fc4a4; --sage-soft: #22322a;
  --coral: #e79a7d; --coral-soft: #3a2620; --coral-text: #e79a7d;
  --lavender: #b3a1f0; --lavender-soft: #2a2442;
  --shadow-card: 0 2px 8px -4px rgba(4, 3, 7, .16);
  --shadow-hero: 0 16px 32px -18px rgba(4, 3, 7, .55), 0 2px 6px -2px rgba(4, 3, 7, .12);
  --shadow-phone: 0 40px 60px -30px rgba(0, 0, 0, .7), 0 8px 18px -8px rgba(0, 0, 0, .4);
    --shadow-mascot: drop-shadow(0 5px 10px rgba(0, 0, 0, .35));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

/* Layout rhythm: 8pt scale. Sections 96 / 64 / 48 */
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(40px, 4.5vw, 64px); }
h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.025em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink-muted); max-width: 46ch; margin-top: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-hero); }

/* Buttons: 14px radius, pills only for tabs and badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px var(--accent); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-card); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; box-shadow: none; }

/* Nav */
.nav {
  --nav-line: transparent;
  position: sticky; top: 0; z-index: 50; height: 68px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-line);
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.nav.stuck { --nav-line: color-mix(in srgb, var(--line) 90%, transparent); background: color-mix(in srgb, var(--bg) 78%, transparent); box-shadow: 0 10px 30px -24px rgba(41, 41, 61, .5); }
/* Scroll progress hairline, driven by the scroll timeline (no JS). Hidden where unsupported. */
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; pointer-events: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -.01em; min-height: 44px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-muted); }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; } :root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: block; } :root:not([data-theme="light"]) .theme-btn .moon { display: none; } }

/* Phone frame around raw screens */
/* Bezel is a fixed-width border: percentage padding resolves against the parent, not the phone, and blew up the frame on wide layouts */
.phone { position: relative; box-sizing: border-box; aspect-ratio: 720 / 1560; border-radius: 15% / 7%; background: var(--bezel); border: 7px solid var(--bezel); overflow: hidden; box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11% / 5%; }

/* Hero */
.hero { overflow-x: clip; padding-block: clamp(32px, 5vw, 56px) clamp(40px, 5vw, 64px); background: radial-gradient(60% 70% at 78% 40%, var(--accent-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: center; min-height: min(700px, calc(100dvh - 140px)); }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); letter-spacing: -.035em; line-height: 1.04; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .w, h2.split .w { display: inline-block; }
.hero .lead { margin-top: 24px; max-width: 40ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stage { position: relative; height: clamp(500px, 54vw, 700px); }
.rings { position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.rings i:nth-child(1) { background: color-mix(in srgb, var(--accent-soft) 70%, transparent); inset: 18%; border-color: transparent; }
.rings i:nth-child(2) { inset: 9%; }
.phone-front { position: absolute; width: 54%; left: 42%; top: 2%; z-index: 2; }
.phone-back { position: absolute; width: 45%; left: 6%; top: 12%; transform: rotate(-6deg); opacity: .96; }
.hero-copy { position: relative; z-index: 1; }
/* Rings and the circular glow stay until the orb is actually running: with reduced motion, no WebGL or a dead CDN the hero looks exactly as before */
.hero-stage.has-orb .rings { visibility: hidden; }
.hero-stage.has-orb::before { display: none; }
.hero-3d { position: absolute; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; opacity: 0; transition: opacity 1200ms var(--ease); }
.hero-3d.ready { opacity: 1; }
.hero-breezy { position: absolute; width: 120px; left: 6%; bottom: 4%; z-index: 3; filter: var(--shadow-mascot); }

/* Facts strip */
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.facts li { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { font: 700 28px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts span { font-size: 14.5px; color: var(--ink-muted); }
.facts strong span { font: inherit; color: inherit; }

/* States */
.states .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.states .wrap { align-items: stretch; }
.state-pick { margin-top: 32px; display: grid; gap: 12px; max-width: 480px; }
.state {
  --tone: var(--sage); --tone-soft: var(--sage-soft); --tone-ink: var(--sage);
  display: grid; grid-template-columns: 48px 1fr 22px; gap: 16px; align-items: center; width: 100%; text-align: left; cursor: pointer;
  padding: 16px 20px; border-radius: var(--r-xl); background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow-card);
  font: inherit; color: var(--ink); transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 160ms var(--ease);
}
.state.tone-relax { --tone: var(--coral); --tone-soft: var(--coral-soft); --tone-ink: var(--coral-text); }
.state.tone-balance { --tone: var(--lavender); --tone-soft: var(--lavender-soft); --tone-ink: var(--lavender); }
.state img { width: 48px; height: 48px; }
.state-txt b { display: block; font: 700 20px/1.2 var(--display); letter-spacing: -.01em; }
.state-txt small { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-muted); }
.state .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
.state[aria-checked="true"] { background: var(--tone-soft); border-color: var(--tone); }
.state[aria-checked="true"] .dot { border-color: var(--tone); background: radial-gradient(circle, var(--tone) 0 5px, transparent 6px); }
.state:active { transform: scale(.98); }

/* Demo card */
.demo {
  --tone: var(--sage); --tone-soft: var(--sage-soft); --tone-ink: var(--sage);
  border-radius: 32px; padding: clamp(24px, 3.5vw, 40px); background: var(--tone-soft); display: flex; flex-direction: column; gap: 20px;
  transition: background-color 300ms var(--ease);
}
.demo[data-tone="relax"] { --tone: var(--coral); --tone-soft: var(--coral-soft); --tone-ink: var(--coral-text); }
.demo[data-tone="balance"] { --tone: var(--lavender); --tone-soft: var(--lavender-soft); --tone-ink: var(--lavender); }
.demo-head { display: flex; align-items: center; gap: 16px; }
.demo-ico { width: 56px; height: 56px; }
.demo-name { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.015em; color: var(--ink); }
.demo-meta { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--tone-ink); }
.demo-stage { display: grid; place-items: center; padding: 8px 0; }
.orb-ring { position: relative; width: min(240px, 62vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--tone) 45%, transparent); }
.sq { display: none; position: absolute; left: 50%; top: 50%; width: 125%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; max-width: none; }
.sq-box { fill: var(--surface); stroke: color-mix(in srgb, var(--tone) 35%, transparent); stroke-width: 3; }
.sq-trail { fill: none; stroke: var(--tone); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.sq-dot { fill: var(--tone); }
.sq-lab { font: 700 15px var(--sans); fill: var(--tone-ink); opacity: .55; transition: opacity 200ms var(--ease); }
.sq-lab.on { opacity: 1; }
.demo[data-shape="square"] .sq { display: block; }
.demo[data-shape="square"] .orb { display: none; }
.demo[data-shape="square"] .orb-ring { border-color: transparent; }
.orb { position: absolute; inset: 4%; border-radius: 50%; background: var(--surface); border: 2px solid var(--tone); box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--tone) 60%, transparent); transform: scale(.8);
  transition: transform var(--dur, 0s) cubic-bezier(.45, 0, .55, 1); }
.orb-info { position: relative; display: grid; justify-items: center; gap: 2px; color: var(--tone-ink); }
.phase-label { font: 700 18px/1.2 var(--display); }
.phase-count { font: 700 48px/1 var(--display); font-variant-numeric: tabular-nums; }
.track { display: flex; gap: 6px; height: 10px; }
.track i { border-radius: 999px; background: color-mix(in srgb, var(--tone) 22%, transparent); transition: background-color 250ms var(--ease); }
.track i.on { background: var(--tone); }
.pattern { margin-top: -8px; font-size: 14.5px; font-weight: 600; color: var(--tone-ink); font-variant-numeric: tabular-nums; }
.demo-about { font-size: 16.5px; line-height: 1.55; color: var(--ink); max-width: 52ch; }
.demo-note { font-size: 13px; color: var(--ink-muted); }
@media (prefers-reduced-motion: no-preference) {
  .demo .demo-text, .demo .pattern, .demo .track { transition: opacity 140ms ease; }
  .demo.swap .demo-text, .demo.swap .pattern, .demo.swap .track, .demo.swap .orb-ring { opacity: 0; }
  .demo .orb-ring { transition: opacity 140ms ease; }
}

/* Techniques */
.tech-panel { padding: clamp(24px, 4vw, 48px); }
.tech-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.tech-top h2 { max-width: 14ch; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-muted); font: 600 15px/1 var(--sans); cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tab[data-tone="relax"][aria-selected="true"] { background: var(--coral-soft); color: var(--coral-text); }
.tab[data-tone="calm"][aria-selected="true"] { background: var(--sage-soft); color: var(--sage); }
.tab[data-tone="balance"][aria-selected="true"] { background: var(--lavender-soft); color: var(--lavender); }
.fams { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.fam { border-radius: var(--r-2xl); padding: 8px; }
.fam[hidden] { display: none; }
.fam-relax { background: var(--coral-soft); } .fam-calm { background: var(--sage-soft); } .fam-balance { background: var(--lavender-soft); }
.fam-head { padding: 16px 16px 16px; }
.fam-head h3 { font-size: 22px; }
.fam-relax h3 { color: var(--coral-text); } .fam-calm h3 { color: var(--sage); } .fam-balance h3 { color: var(--lavender); }
.fam-head p { margin-top: 4px; font-size: 14.5px; color: var(--ink); opacity: .75; }
.fam ul { display: grid; gap: 6px; }
.tech { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-lg); background: var(--surface); }
.tech img { width: 44px; height: 44px; }
.tech h4 { font-size: 16px; letter-spacing: -.01em; line-height: 1.2; }
.tech p { margin-top: 2px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.35; }
.tech .mins { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fams.single { grid-template-columns: 1fr; }
.fams.single .fam { display: grid; grid-template-columns: 260px 1fr; align-items: center; }
.fams.single .fam[hidden] { display: none; }
.fams.single ul { grid-template-columns: 1fr 1fr; }

/* How a session works */
.how h2 { text-align: center; }
.how-stage { margin-top: 48px; display: flex; justify-content: center; align-items: center; gap: clamp(16px, 3vw, 40px); position: relative; }
.how-stage::before { content: ""; position: absolute; inset: 12% 0; border-radius: 32px; background: linear-gradient(180deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 30%, var(--bg))); z-index: -1; }
.how-side { width: min(230px, 26%); }
.how-main { width: min(280px, 32%); }
.how-steps { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.how-steps h3 { font-size: 24px; }
.how-steps p { margin: 8px auto 0; color: var(--ink-muted); max-width: 30ch; }

/* Breezy */
.breezy-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; padding: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0; overflow: hidden; background: linear-gradient(160deg, var(--accent-soft), var(--surface) 75%); }
.breezy-copy { padding-bottom: clamp(28px, 5vw, 64px); }
.speech { margin-top: 32px; display: flex; gap: 16px; align-items: center; max-width: 480px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 6px; box-shadow: var(--shadow-card); }
.speech img { width: 56px; flex: none; filter: var(--shadow-mascot); }
.speech p { font-size: 17px; line-height: 1.45; }
.note { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.moods { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.moods li { width: 76px; height: 64px; display: grid; place-items: center; border-radius: var(--r-lg); background: var(--accent-soft); }
.moods img { width: 56px; filter: var(--shadow-mascot); }
.breezy-shot { align-self: end; display: flex; justify-content: center; }
.breezy-shot .phone { width: min(300px, 100%); margin-bottom: -28%; }

/* Bento: 6-column grid, 5 cells */
.bento { margin-top: 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell { position: relative; overflow: hidden; border-radius: var(--r-2xl); padding: 32px; border: 1px solid transparent; }
.cell h3 { font-size: 24px; letter-spacing: -.015em; }
.cell p { margin-top: 8px; max-width: 34ch; color: var(--ink); opacity: .75; }
.cell img.m { width: 64px; margin-bottom: 16px; filter: var(--shadow-mascot); }
.cell.night { grid-column: span 4; display: grid; grid-template-columns: 1fr 230px; gap: 24px; min-height: 340px; padding-bottom: 0;
  background: radial-gradient(90% 80% at 80% 0%, var(--night-surface), transparent 70%), var(--night); color: var(--night-ink); border-color: var(--line); }
.cell.night p { color: var(--night-muted); opacity: 1; }
.cell.night img.m { filter: none; }
.cell.night .shot { align-self: end; width: 100%; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px -20px var(--night-accent); }
.cell.progress { grid-column: span 2; grid-row: span 2; background: var(--accent-soft); display: flex; flex-direction: column; padding-bottom: 0; }
.cell.progress .phone { width: 88%; margin: 24px auto -30%; flex: none; }
.cell.health { grid-column: span 2; background: var(--sage-soft); }
.cell.streak { grid-column: span 4; background: var(--coral-soft); }
.cell.touch { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--lavender-soft); }
.cell.touch ul { display: grid; gap: 12px; }
.cell.touch li { display: grid; gap: 2px; padding: 16px 20px; background: var(--surface); border-radius: var(--r-lg); }
.cell.touch li b { font-weight: 600; }
.cell.touch li span { color: var(--ink-muted); font-size: 15px; }

/* Pricing */
.price-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); }
.included { margin-top: 32px; display: grid; gap: 12px; }
.included li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.included svg { width: 22px; height: 22px; color: var(--sage); flex: none; }
.plans { display: grid; gap: 16px; }
.plan { padding: 24px 28px; border-radius: var(--r-2xl); background: var(--bg); border: 1px solid var(--line); }
.plan.best { border: 2px solid var(--accent); background: var(--accent-soft); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 20px; }
.plan .badge { font: 600 13px/1 var(--sans); padding: 7px 12px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); }
.plan .amount { font: 700 44px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 12px; }
.plan .amount small { font: 500 16px var(--sans); color: var(--ink-muted); letter-spacing: 0; }
.plan .note { margin-top: 4px; color: var(--ink-muted); font-size: 15px; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 108px; }
.faq-head img { margin-top: 24px; width: 108px; filter: var(--shadow-mascot); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 0; font: 600 18px/1.3 var(--sans);
}
summary::-webkit-details-marker { display: none; }
summary svg { width: 22px; height: 22px; flex: none; color: var(--ink-muted); transition: transform 200ms var(--ease); }
details[open] summary svg { transform: rotate(45deg); }
details p { padding: 0 0 24px; color: var(--ink-muted); max-width: 64ch; }
details a { color: var(--accent); }

/* Final CTA: a vivid moment, same gradient as the live session */
.final { padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 88px); }
.final-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 6vw, 72px);
  background: radial-gradient(70% 120% at 85% 20%, var(--session-2), transparent 70%), linear-gradient(135deg, var(--session-1), var(--session-3) 85%); color: #fff;
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: center;
}
.final-card h2 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); max-width: 14ch; }
.final-card p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .86); }
.btn-light { background: #fff; color: var(--bezel); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.final-card img { width: min(240px, 100%); justify-self: center; filter: drop-shadow(0 16px 24px rgba(20, 21, 31, .35)); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 48px 40px; }
.footer .wrap { display: flex; flex-direction: column; gap: 32px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand p { margin: 0; font-size: 14px; color: var(--ink-muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-inline: -10px; }
.footer nav a { padding: 12px 10px; text-decoration: none; color: var(--ink-muted); font-size: 15px; }
.footer nav a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-muted); }
.foot-bottom p { margin: 0; }
.foot-bottom .legal { max-width: 70ch; }

/* Motion. Rules: ease-out on entrances, UI under 300ms, transform and opacity only, hover motion gated to real pointers, everything off under reduced motion. */
/* Press feedback sits after hover so it wins while the button is held */
.btn:active, .btn:hover:active, .tab:active, .theme-btn:active { transform: scale(.97); }

@media (prefers-reduced-motion: no-preference) {
  /* Hero: first-visit entrance, copy then stage, 60ms apart. Uses the separate translate property so the back phone keeps its rotation. */
  .hero .lead, .hero .cta-row { animation: rise 700ms var(--ease) backwards; }
  .hero .lead { animation-delay: 360ms; }
  .hero .cta-row { animation-delay: 440ms; }
  /* Phones arrive from depth: back first, front a beat later, both settling from a slight scale */
  .phone-back, .phone-front { animation: stageIn 900ms var(--ease) backwards; }
  .phone-back { animation-delay: 160ms; }
  .phone-front { animation-delay: 280ms; }
  .rings { animation: fadeIn 1200ms var(--ease) backwards; }
  .hero-breezy { animation: rise 700ms var(--ease) 600ms backwards; }
  .hero-stage.live .hero-breezy { animation: rise 700ms var(--ease) 600ms backwards, bob 6s ease-in-out 1.3s infinite; }
  /* The rings breathe at the app's 4 s in / 4 s out pace */
  .rings i:nth-child(1) { animation: breathe 8s ease-in-out infinite; }
  .rings i:nth-child(2) { animation: breathe 8s ease-in-out infinite .25s; }
  /* Sections fade in once; items in a group follow 50ms apart */
  .js .reveal { opacity: 0; translate: 0 14px; transition: opacity 500ms var(--ease), translate 500ms var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }
  .js .reveal.in { opacity: 1; translate: 0 0; }
  /* Technique family switch: the visible columns settle in */
  .fam.enter { animation: rise 260ms var(--ease) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
  /* FAQ answers open and close smoothly where the browser supports it */
  :root { interpolate-size: allow-keywords; }
  details::details-content { block-size: 0; overflow: clip; transition: block-size 240ms var(--ease), content-visibility 240ms allow-discrete; }
  details[open]::details-content { block-size: auto; }
  /* Theme switch crossfades instead of snapping */
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; animation-timing-function: var(--ease); }
}
@keyframes rise { from { opacity: 0; translate: 0 16px; } }
@keyframes breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes stageIn { from { opacity: 0; translate: 0 48px; scale: .96; } }
@keyframes fadeIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== Premium layer: structure that exists with or without motion ===== */
.btn { position: relative; overflow: hidden; isolation: isolate; }
/* Live session overlay: drawn on top of a Session screenshot whose circle area is empty (session-live.webp).
   Positions are measured from the 720 x 1560 source screen. Static state matches the original screenshot. */
.session-live .live-ui { position: absolute; inset: 0; container-type: inline-size; pointer-events: none; color: #fff; text-align: center; }
.lv-ring, .lv-orb { position: absolute; left: 50%; top: 37.3%; border-radius: 50%; translate: -50% -50%; }
.lv-ring { width: 61.7cqw; aspect-ratio: 1; border: .5cqw dotted rgba(255, 255, 255, .45); }
.lv-orb { width: 54.7cqw; aspect-ratio: 1; border: .55cqw solid rgba(255, 255, 255, .92);
  background: radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .42), rgba(255, 255, 255, .16) 70%); box-shadow: 0 0 6cqw rgba(255, 255, 255, .12); }
.lv-count { position: absolute; left: 0; right: 0; top: 37.3%; translate: 0 -50%; font: 700 15.5cqw/1 var(--display); font-variant-numeric: tabular-nums; }
.lv-phase { position: absolute; left: 0; right: 0; top: 58.5%; translate: 0 -50%; font: 600 6.8cqw/1 var(--sans); letter-spacing: -.01em; }
.lv-hint { position: absolute; left: 50%; top: 64.7%; translate: -50% -50%; padding: 2.4cqw 4.6cqw; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .16); border: .3cqw solid rgba(255, 255, 255, .3); font: 600 3.6cqw/1 var(--sans); }
.tabs { position: relative; }
.tab-ind { display: none; }
.tabs.has-ind .tab-ind { display: block; position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--accent); pointer-events: none; }
.tabs.has-ind .tab-ind[data-tone="relax"] { background: var(--coral-soft); } .tabs.has-ind .tab-ind[data-tone="calm"] { background: var(--sage-soft); } .tabs.has-ind .tab-ind[data-tone="balance"] { background: var(--lavender-soft); }
.tabs.has-ind .tab { position: relative; background: transparent; }
.tabs.has-ind .tab[aria-selected="true"] { background: transparent; }
.cell { isolation: isolate; }
.cell > * { position: relative; z-index: 1; }

/* How it works, pinned variant (JS adds .pin only on wide screens with motion allowed) */
.how.pin .how-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 24px; }
.how.pin .how-steps { order: -1; margin: 0; display: block; text-align: left; }
.how.pin h2 { text-align: left; }
.how.pin .how-steps > div { min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity 400ms var(--ease), translate 500ms var(--ease); }
.how.pin .how-steps > div.on { opacity: 1; }
.how.pin .how-steps h3 { font-size: clamp(32px, 3.4vw, 44px); }
.how.pin .how-steps p { margin: 12px 0 0; font-size: 18px; }
.how.pin .how-stage { position: sticky; top: max(92px, calc(50vh - min(300px, 36vh) + 34px)); height: min(600px, 72vh); margin: 0; display: block; }
.how.pin .how-stage::before { inset: 10% 0; }
.how.pin .how-stage .phone { position: absolute; left: 50%; top: 0; width: auto; height: 100%; translate: -50% 0; opacity: 0; scale: .94; filter: blur(6px);
  transition: opacity 500ms var(--ease), scale 700ms var(--ease), filter 500ms var(--ease); }
.how.pin .how-stage .phone.on { opacity: 1; scale: 1; filter: none; }

/* ===== Motion ===== */
@media (hover: hover) and (pointer: fine) {
  /* Bento spotlight: a soft light and a lit border that follow the cursor */
  .cell::before, .cell::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 240ms ease; }
  .cell::before { z-index: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--surface) 55%, transparent), transparent 70%); }
  .cell::after { z-index: 2; padding: 1px; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 70%, transparent), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
  .cell.night::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--night-accent) 16%, transparent), transparent 70%); }
  .cell.night::after { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--night-accent), transparent 70%); }
  .cell:hover::before, .cell:hover::after { opacity: 1; }
  .tech { transition: translate 200ms var(--ease); }
  .tech:hover { translate: 2px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero headline: words rise out of a soft blur, 60ms apart */
  .hero h1 .w { animation: wordIn 900ms var(--ease) backwards; animation-delay: calc(var(--w) * 60ms + 40ms); }
  /* Section headlines do the same once, when they enter */
  .js h2.split .w { opacity: 0; translate: 0 .45em; filter: blur(8px); }
  .js h2.split.in .w { opacity: 1; translate: 0 0; filter: blur(0); transition: opacity 700ms var(--ease), translate 800ms var(--ease), filter 700ms var(--ease); transition-delay: calc(var(--w) * 55ms); }
  /* Live session: the transition length is the phase length, so the circle moves exactly with the count.
     Exhaled size follows the app's visualizer (radius 58 of 98). */
  .live-ui.running .lv-orb { scale: .6; transition: scale 8s cubic-bezier(.37, 0, .63, 1); }
  .live-ui.running .lv-ring { scale: .66; opacity: .5; transition: scale 8s cubic-bezier(.37, 0, .63, 1), opacity 8s ease; }
  .live-ui.running[data-phase="in"] .lv-orb, .live-ui.running[data-phase="hold"] .lv-orb { scale: 1; }
  .live-ui.running[data-phase="in"] .lv-ring, .live-ui.running[data-phase="hold"] .lv-ring { scale: 1; opacity: 1; }
  .live-ui.running[data-phase="in"] .lv-orb, .live-ui.running[data-phase="in"] .lv-ring { transition-duration: 4s; }
  .lv-count.swap { animation: tick 360ms var(--ease); }
  .lv-phase.swap, .lv-hint.swap { animation: fadeSwap 260ms var(--ease); }
  /* Live 4-7-8 orb: the transition length is the phase length, so the circle moves exactly with the count */
  .rings.live-478 i:nth-child(1), .rings.live-478 i:nth-child(2) { animation: none; transform: scale(.72); transition: transform 8s cubic-bezier(.37, 0, .63, 1); }
  .rings.live-478 i:nth-child(2) { transform: scale(.88); }
  .rings.live-478[data-phase="in"] i:nth-child(1), .rings.live-478[data-phase="hold"] i:nth-child(1) { transform: scale(1.04); }
  .rings.live-478[data-phase="in"] i:nth-child(2), .rings.live-478[data-phase="hold"] i:nth-child(2) { transform: scale(1.02); }
  .rings.live-478[data-phase="in"] i { transition-duration: 4s; }
  .rings.live-478[data-phase="in"] i:nth-child(2) { transition-delay: 120ms; }
  .rings.live-478[data-phase="out"] i:nth-child(2) { transition-delay: 160ms; }

  /* Scroll progress hairline */
  @supports (animation-timeline: scroll()) {
    .nav::after { opacity: 1; animation: progress linear both; animation-timeline: scroll(root block); }
  }

  /* Depth on reveal: phones rise a touch further and settle from a slight scale */
  .js .reveal .phone, .js .cell.progress .phone { translate: 0 40px; scale: .97; transition: translate 900ms var(--ease), scale 900ms var(--ease); transition-delay: 120ms; }
  .js .reveal.in .phone, .js .cell.progress.in .phone { translate: 0 0; scale: 1; }
  .js .how.pin .how-stage .phone { translate: -50% 0; }

  /* Technique family switch settles out of a light blur */
  .fam.enter { animation: famIn 320ms var(--ease) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
  .tab-ind.ready { transition: clip-path 300ms var(--ease-in-out), background-color 300ms ease; }

  /* Breezy: expressions float out of step, the reply types in, Breezy reacts */
  .moods.live li img { animation: bob 4.8s ease-in-out infinite; animation-delay: calc(var(--m, 0) * -0.8s); }
  .moods li:nth-child(2) img { --m: 1; } .moods li:nth-child(3) img { --m: 2; } .moods li:nth-child(4) img { --m: 3; } .moods li:nth-child(5) img { --m: 4; } .moods li:nth-child(6) img { --m: 5; }
  .speech .ch { opacity: 0; }
  .speech.typing .ch { animation: chIn 120ms linear forwards; animation-delay: calc(var(--c) * 22ms + 400ms); }
  .speech.done img { animation: pop 420ms var(--ease); }

  /* Night cell: a slow dusk glow drifts behind the copy while on screen */
  .cell.night { --glow: color-mix(in srgb, var(--night-accent) 26%, transparent); }
  .cell.night .cell-copy::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -140px; top: -180px; border-radius: 50%;
    background: radial-gradient(closest-side, var(--glow), transparent); opacity: .7; pointer-events: none; }
  .cell.night.live .cell-copy::before { animation: dusk 14s ease-in-out infinite alternate; }
  .cell.night .shot { translate: 0 40px; transition: translate 1000ms var(--ease) 200ms; }
  .cell.night.in .shot { translate: 0 0; }

  /* Final CTA: the gradient drifts slowly on an oversized layer, Breezy floats */
  .final-card::before { content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none;
    background: radial-gradient(35% 45% at 30% 70%, color-mix(in srgb, var(--session-4) 45%, transparent), transparent 70%), radial-gradient(40% 50% at 75% 25%, color-mix(in srgb, var(--session-1) 70%, transparent), transparent 70%); }
  .final-card.live::before { animation: drift 22s ease-in-out infinite alternate; }
  .final-card > * { position: relative; z-index: 1; }
  .final-card.live img { animation: bob 6s ease-in-out infinite; }
}


@keyframes wordIn { from { opacity: 0; translate: 0 .5em; filter: blur(10px); } }
@keyframes famIn { from { opacity: 0; translate: 0 12px; filter: blur(4px); } }
@keyframes tick { from { scale: .8; opacity: .4; } }
@keyframes fadeSwap { from { opacity: 0; } }
@keyframes chIn { to { opacity: 1; } }
@keyframes pop { 0% { scale: .9; } 60% { scale: 1.06; } 100% { scale: 1; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dusk { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, 60px) scale(1.25); } }
@keyframes drift { from { transform: translate(-6%, 4%) rotate(0deg); } to { transform: translate(6%, -4%) rotate(8deg); } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero .wrap, .states .wrap, .breezy-panel, .price-panel, .faq .wrap, .final-card { grid-template-columns: 1fr; }
  .hero .wrap { min-height: 0; }
  .hero-stage { height: clamp(420px, 110vw, 560px); max-width: 520px; width: 100%; justify-self: center; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fams { grid-template-columns: 1fr; }
  .fams.single .fam { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .bento { grid-template-columns: 1fr; }
  .cell.night, .cell.progress, .cell.health, .cell.streak, .cell.touch { grid-column: auto; grid-row: auto; }
  .cell.touch { grid-template-columns: 1fr; }
  .cell.progress .phone { width: min(260px, 80%); margin-bottom: -40%; }
  .faq-head { position: static; }
  .final-card img { width: 160px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 .line { white-space: normal; }
  .hero h1 { font-size: 40px; }
  .cta-row .btn { flex: 1 1 100%; }
  .fams.single ul { grid-template-columns: 1fr; }
  .cell.night { grid-template-columns: 1fr; }
  .cell.night .shot { width: min(230px, 80%); justify-self: center; }
  .plan .amount { font-size: 36px; }
  .btn { white-space: normal; text-align: center; }
}

/* Logo follows the theme: default (light) icon on light, dark icon on dark */
.logo-d { display: none; }
:root[data-theme="dark"] .logo-l { display: none; } :root[data-theme="dark"] .logo-d { display: block !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-l { display: none; } :root:not([data-theme="light"]) .logo-d { display: block !important; } }

/* Store icon */
.store-ico { width: 22px; height: 22px; flex: none; }

/* Breezy: white body on light, gradient body on dark (see commit "Breezy mascot: white body in the light theme") */
.mas-d { display: none; }
:root[data-theme="dark"] .mas-l { display: none; } :root[data-theme="dark"] .mas-d { display: revert !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mas-l { display: none; } :root:not([data-theme="light"]) .mas-d { display: revert !important; } }

/* How it works on phones: big screens in a swipe row, the next one peeks in */
@media (max-width: 900px) {
  .how-stage {
    justify-content: flex-start; align-items: center; gap: 16px; overflow-x: auto; margin: 32px -16px 0; padding: 28px calc((100% - min(260px, 68vw)) / 2);
    scroll-snap-type: x mandatory; scroll-padding-inline: calc((100% - min(260px, 68vw)) / 2); overscroll-behavior-x: contain;
    scrollbar-width: none; background: linear-gradient(180deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 30%, var(--bg)));
    border-radius: 32px;
  }
  .how-stage::-webkit-scrollbar { display: none; }
  .how-stage::before { display: none; }
  .how-stage .phone, .how-stage .how-side, .how-stage .how-main { flex: 0 0 min(260px, 68vw); width: min(260px, 68vw); scroll-snap-align: center; }
  .how-steps { margin-top: 32px; }
}

/* Motion pass: scene glow that breathes with the hero session, breath-line dividers, Breezy mood picker */
.hero-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent); opacity: .5; pointer-events: none; }
.breath-line { width: min(1160px, 100% - 48px); height: 28px; margin: 8px auto 0; color: var(--accent); }
.breath-line svg { display: block; width: 100%; height: 100%; }
.breath-line path { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .35; vector-effect: non-scaling-stroke; }
.moods li[role="button"] { cursor: pointer; transition: background-color 160ms var(--ease); }
.moods li[role="button"] img { transition: scale 200ms var(--ease); }
.moods li[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 22%, var(--accent-soft)); }
.moods li[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .moods li[role="button"]:hover img { scale: 1.1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-stage::before { scale: .8; transition: scale 4s cubic-bezier(.37, 0, .63, 1), opacity 4s cubic-bezier(.37, 0, .63, 1); }
  .hero-stage:has(.rings[data-phase="in"])::before, .hero-stage:has(.rings[data-phase="hold"])::before { scale: 1.15; opacity: .95; }
  .hero-stage:has(.rings[data-phase="out"])::before { scale: .8; opacity: .45; transition-duration: 8s; }
  .js .breath-line svg { clip-path: inset(0 100% 0 0); }
  .js .breath-line.in svg { clip-path: inset(0 0 0 0); transition: clip-path 1400ms var(--ease-in-out) 150ms; }
  .speech img.swap { animation: pop 320ms var(--ease); }
}
/* Session timer on the phone: remaining time and progress fill run with the breathing cycle */
.lv-rem { position: absolute; left: 6.1cqw; top: 79.3%; font: 800 7.1cqw/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.01em; text-align: left; }
.lv-bar { position: absolute; left: 6.1cqw; width: 87.8cqw; top: 83.65%; height: .72%; border-radius: 999px; overflow: hidden; }
.lv-bar i { display: block; height: 100%; width: 2.7%; min-width: 2.5cqw; border-radius: 999px; background: #fff; transition: width 1s linear; }
/* Optional analytics consent notice */
.notice { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(440px, calc(100% - 32px)); display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 40px rgba(20, 24, 60, .18); font-size: 14px; line-height: 1.45; }
.notice[hidden] { display: none; }
.notice p { margin: 0; }
.notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.notice .btn { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .notice { opacity: 0; translate: 0 12px; transition: opacity 250ms var(--ease), translate 250ms var(--ease); }
  .notice.show { opacity: 1; translate: 0 0; }
}
@media (max-width: 520px) { .notice { flex-direction: column; align-items: stretch; } }

.notice-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 520px) { .notice-actions .btn { flex: 1; } }

.notice-actions .btn { min-height: 44px; min-width: 90px; }
.notice-actions .btn:focus-visible, .notice a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 521px) { .notice p { flex: 1; } }
