/* ==========================================================================
   Calico — website
   Apple's product-page typography and spacing; Liquid-Glass surfaces; Ghost's scroll motion
   (Lenis smooth scrolling, reveal-on-scroll, a scroll-linked fan) with Apple-style springs.
   Light and dark follow the visitor's system. No orange anywhere.
   ========================================================================== */

/* Springs: SwiftUI-style response/damping sampled into linear() (scripts/make-springs.js in the app). */
:root {
  --spring-smooth: linear(0, 0.017, 0.058, 0.116, 0.182, 0.253, 0.324, 0.393, 0.459, 0.52, 0.577, 0.628, 0.675, 0.716, 0.754, 0.786, 0.815, 0.84, 0.862, 0.88, 0.896, 0.91, 0.921, 0.931, 0.94, 0.947, 0.953, 0.958, 0.963, 0.967, 0.97, 0.973, 0.976, 0.978, 0.98, 0.982, 0.983, 0.985, 0.986, 0.987, 0.988, 0.989, 0.99, 0.991, 0.992, 0.993, 0.995, 0.997, 1);
  --spring-smooth-ms: 740ms;
  --spring-snappy: linear(0, 0.015, 0.054, 0.11, 0.176, 0.247, 0.321, 0.394, 0.465, 0.532, 0.595, 0.652, 0.703, 0.749, 0.79, 0.826, 0.857, 0.884, 0.907, 0.926, 0.942, 0.955, 0.966, 0.974, 0.981, 0.986, 0.99, 0.993, 0.996, 0.998, 0.999, 1, 1.001, 1.001, 1.001, 1.001, 1.001, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
  --spring-snappy-ms: 530ms;
  --spring-bouncy: linear(0, 0.011, 0.041, 0.086, 0.143, 0.207, 0.275, 0.347, 0.419, 0.489, 0.558, 0.623, 0.683, 0.739, 0.79, 0.836, 0.877, 0.912, 0.942, 0.967, 0.986, 1.001, 1.01, 1.016, 1.018, 1.018, 1.016, 1.013, 1.01, 1.007, 1.004, 1.002, 1, 0.999, 0.998, 0.998, 0.998, 0.998, 0.999, 0.999, 1, 1, 1, 1, 1, 1, 1, 1, 1);
  --spring-bouncy-ms: 590ms;
  --spring-gentle: linear(0, 0.009, 0.032, 0.066, 0.108, 0.156, 0.207, 0.26, 0.313, 0.366, 0.418, 0.467, 0.515, 0.56, 0.602, 0.642, 0.678, 0.712, 0.743, 0.771, 0.797, 0.82, 0.842, 0.861, 0.878, 0.894, 0.908, 0.921, 0.932, 0.942, 0.951, 0.959, 0.966, 0.972, 0.977, 0.981, 0.985, 0.988, 0.991, 0.993, 0.995, 0.996, 0.997, 0.998, 0.999, 0.999, 1, 1, 1);
  --spring-gentle-ms: 840ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* light */
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.1);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-hi: rgba(255, 255, 255, 0.85);
  --rim: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 24px 60px -28px rgba(30, 40, 90, 0.35);
  --accent: #0071e3;
  --accent-ink: #fff;
  --blue: #5b8cff; --violet: #9a6bff; --pink: #ff6fb5; --teal: #2fd8c8;
  --select: rgba(124, 92, 255, 0.32);
  --nav-bg: rgba(251, 251, 253, 0.72);
  --wall-a: #ffffff; --wall-b: #d9dce6; --wall-c: #aab2cc;
  --blob-op: 0.5;
  --blob-blend: normal;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --bg-2: #0c0c10;
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --ink-3: #86868b;
    --line: rgba(255, 255, 255, 0.14);
    --glass: rgba(255, 255, 255, 0.07);
    --glass-hi: rgba(255, 255, 255, 0.13);
    --rim: rgba(255, 255, 255, 0.34);
    --card-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
    --accent: #2997ff;
    --select: rgba(154, 107, 255, 0.5);
    --nav-bg: rgba(0, 0, 0, 0.6);
    --wall-a: #1b3a8f; --wall-b: #131a40; --wall-c: #0a6a78;
    --blob-op: 0.38;
    --blob-blend: screen;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-optical-sizing: auto; font-synthesis: none;
}
/* The highlight colour: Calico's violet-blue, in light and dark. */
::selection { background: var(--select); color: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }

kbd { font: 600 0.78em var(--font); padding: 0.1em 0.5em; border-radius: 7px; background: var(--glass-hi); box-shadow: inset 0 0 0 1px var(--line), inset 0 -1px 0 var(--line); color: var(--ink); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-2); margin-bottom: 14px; }
h1 { font-size: clamp(46px, 8.2vw, 100px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -0.038em; font-weight: 700; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; }
.lead { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.4; letter-spacing: -0.016em; color: var(--ink-2); font-weight: 450; max-width: 40ch; }
.fine { font-size: 13px; color: var(--ink-3); }
/* Apple's two-tone headline: the first line in ink, the second in secondary grey. The colour lives in the aura behind it, not in the letters. */
.dim { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  transition: transform var(--spring-snappy-ms) var(--spring-snappy), background-color 200ms, box-shadow 200ms; }
.btn:hover { background: var(--glass-hi); }
.btn:active { transform: scale(0.96); }
.btn--solid { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -10px var(--accent); }
.btn--solid:hover { background: color-mix(in srgb, var(--accent) 88%, white); }
.btn--lg { height: 54px; padding: 0 30px; font-size: 18px; }
.btn--sm { height: 34px; padding: 0 16px; font-size: 14px; }
.arrow { display: inline-block; transition: transform var(--spring-snappy-ms) var(--spring-snappy); }
.btn:hover .arrow, .textlink:hover .arrow { transform: translateX(4px); }
.textlink { display: inline-flex; align-items: center; gap: 6px; height: 54px; padding: 0 6px; font-size: 18px; font-weight: 600; color: var(--accent); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; -webkit-backdrop-filter: saturate(1.8) blur(22px); backdrop-filter: saturate(1.8) blur(22px); background: var(--nav-bg); box-shadow: 0 1px 0 var(--line); transition: background-color 400ms, box-shadow 400ms; }
.nav.is-top { background: transparent; box-shadow: 0 1px 0 transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.brand img { border-radius: 7px; }
.pill { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); }
.pill a { position: relative; padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 220ms, background-color 220ms; }
.pill a:hover { color: var(--ink); }
.pill a.is-here { color: var(--ink); background: var(--glass-hi); box-shadow: inset 0 1px 0 var(--rim), 0 2px 10px rgba(0, 0, 0, 0.08); }
.nav__dl { margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 40px; text-align: center; overflow: clip; }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero .lead { margin: 26px auto 0; max-width: 34ch; text-align: center; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 34px; }
.hero .fine { margin-top: 14px; }

/* fluid colour behind the hero, drifting and following the scroll */
.aura { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aura i { position: absolute; border-radius: 50%; mix-blend-mode: var(--blob-blend); opacity: var(--blob-op); will-change: transform; }
.aura i:nth-child(1) { width: 760px; height: 760px; left: -220px; top: -160px; background: radial-gradient(closest-side, var(--blue), transparent 72%); animation: drift-a 26s ease-in-out infinite alternate; }
.aura i:nth-child(2) { width: 700px; height: 700px; right: -240px; top: 10%; background: radial-gradient(closest-side, var(--violet), transparent 72%); animation: drift-b 31s ease-in-out infinite alternate; }
.aura i:nth-child(3) { width: 640px; height: 640px; left: 18%; bottom: -120px; background: radial-gradient(closest-side, var(--teal), transparent 70%); animation: drift-c 29s ease-in-out infinite alternate; }
.aura i:nth-child(4) { width: 520px; height: 520px; right: 10%; bottom: -200px; background: radial-gradient(closest-side, var(--pink), transparent 72%); animation: drift-a 34s ease-in-out infinite alternate-reverse; opacity: calc(var(--blob-op) * 0.8); }
@keyframes drift-a { to { transform: translate3d(140px, 120px, 0) scale(1.14); } }
@keyframes drift-b { to { transform: translate3d(-160px, -90px, 0) scale(0.92); } }
@keyframes drift-c { to { transform: translate3d(180px, -110px, 0) scale(1.1); } }

/* the stage: a Mac desktop with the real panel on it */
.stage { position: relative; z-index: 2; margin: 56px auto 0; width: min(1080px, calc(100% - 32px)); transform: translateY(calc(var(--hero-p, 0) * 40px)) scale(calc(1 - var(--hero-p, 0) * 0.04)); opacity: calc(1 - var(--hero-p, 0) * 0.35); transform-origin: 50% 0; will-change: transform; }
.desk { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: var(--wall-b); box-shadow: 0 0 0 1px var(--line), var(--card-shadow); isolation: isolate; }
.wall { position: absolute; inset: 0; z-index: 0; }
.wall i { position: absolute; border-radius: 50%; }
.wall i:nth-child(1) { width: 70%; height: 90%; left: -10%; top: 10%; background: radial-gradient(closest-side, var(--wall-a), var(--wall-b) 70%, transparent); }
.wall i:nth-child(2) { width: 60%; height: 100%; left: 30%; top: -20%; background: radial-gradient(closest-side, var(--wall-a), var(--wall-b) 75%, transparent); opacity: 0.9; }
.wall i:nth-child(3) { width: 60%; height: 70%; right: -10%; bottom: -25%; background: radial-gradient(closest-side, var(--wall-c), transparent 70%); }
.menubar { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 28px; display: flex; align-items: center; gap: 18px; padding: 0 16px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); color: #111; }
@media (prefers-color-scheme: dark) { .menubar { background: rgba(20, 24, 40, 0.38); color: #fff; } }
.mb-apple { width: 12px; height: 14px; border-radius: 6px 6px 7px 7px; background: currentColor; opacity: 0.9; }
.mb-grow { flex: 1; }
.mb-cat { display: grid; place-items: center; width: 26px; height: 20px; border-radius: 6px; transition: background-color 160ms, transform var(--spring-snappy-ms) var(--spring-snappy); }
.mb-cat img { filter: var(--cat-filter, none); }
@media (prefers-color-scheme: dark) { .mb-cat img { filter: invert(1); } }
.mb-cat:hover { background: rgba(127, 127, 127, 0.25); }
.mb-cat:active { transform: scale(0.88); }
.mb-cat.is-nudge { animation: nudge 1.6s var(--ease-out) 1; }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: scale(1.3) rotate(-8deg); } 60% { transform: scale(0.95) rotate(4deg); } }
.doc { position: absolute; left: 5%; top: 22%; width: 48%; height: 56%; z-index: 1; padding: 22px; border-radius: 14px; text-align: left; background: rgba(255, 255, 255, 0.66); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35); color: #222; font-size: 14px; }
@media (prefers-color-scheme: dark) { .doc { background: rgba(38, 42, 62, 0.78); color: #e8e9f3; } }
.doc i { display: block; height: 8px; border-radius: 4px; background: currentColor; opacity: 0.1; margin-top: 12px; }
.doc i.short { width: 55%; }
.doc b { display: block; margin-bottom: 8px; }

/* the panel on the stage: the real UI in an iframe, in a glass frame (the blur stands in for the native Liquid Glass) */
.panel-wrap { position: absolute; z-index: 4; top: 38px; right: 12px; bottom: 12px; width: min(420px, 46%); border-radius: 26px; overflow: hidden;
  -webkit-backdrop-filter: blur(var(--stage-blur, 26px)) saturate(1.8); backdrop-filter: blur(var(--stage-blur, 26px)) saturate(1.8);
  background: rgba(255, 255, 255, calc(0.08 + var(--stage-tint, 0.12) * 0.7));
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateX(16px) scale(0.985); transition: opacity 160ms ease-in, transform 160ms ease-in; }
@media (prefers-color-scheme: dark) { .panel-wrap { background: rgba(26, 30, 48, calc(0.1 + var(--stage-tint, 0.12) * 0.7)); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 30px 80px -20px rgba(0, 0, 0, 0.8); } }
.panel-wrap.is-on { opacity: 1; transform: none; transition: opacity 120ms ease-out, transform var(--spring-snappy-ms) var(--spring-snappy); }
.panel-wrap iframe { width: 100%; height: 100%; border: 0; display: block; background: transparent; color-scheme: normal; }
.stage__controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 22px; }
.slider { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.slider small { color: var(--ink-3); font-weight: 500; font-size: 12px; }
.slider input { width: 180px; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill, 12%), var(--line) var(--fill, 12%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), inset 0 0 0 0.5px rgba(0, 0, 0, 0.1); transition: transform var(--spring-snappy-ms) var(--spring-snappy); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.14); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.stage .fine { margin-top: 14px; max-width: 60ch; margin-inline: auto; }

/* ---------- strip ---------- */
.strip { padding: 90px 0 40px; }
.strip__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.strip__lead { font-size: clamp(22px, 2.8vw, 34px); line-height: 1.25; letter-spacing: -0.026em; font-weight: 600; max-width: 24ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 18px 20px; border-radius: 22px; background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line); }
.stat dt { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.stat dd { margin-top: 6px; font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.stat dd kbd { font-size: 14px; vertical-align: 6px; }

/* ---------- sections ---------- */
section { position: relative; }
.glass-sec, .panels, .ask, .reminders, .steps, .privacy, .download, .faq, .feedback { padding: 110px 0; }
.glass-sec, .privacy, .steps { background: var(--bg-2); }
.head { margin-bottom: 56px; }
.head .lead { margin-top: 20px; }
.head--center { text-align: center; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: 30px 28px 32px; border-radius: 30px; background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), var(--card-shadow); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); }
.tile h3 { margin-top: 22px; }
.tile p { margin-top: 10px; color: var(--ink-2); font-size: 17px; line-height: 1.45; }
.tile__art { position: relative; height: 150px; border-radius: 22px; overflow: hidden; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.tile__art i, .tile__art b { position: absolute; display: block; }
.tile__art--glass i:nth-child(1) { inset: -30% auto auto -10%; width: 70%; height: 140%; border-radius: 50%; background: radial-gradient(closest-side, var(--blue), transparent 70%); opacity: 0.65; animation: drift-a 14s ease-in-out infinite alternate; }
.tile__art--glass i:nth-child(2) { left: 22%; top: 22%; width: 56%; height: 56%; border-radius: 26px; background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.9); backdrop-filter: blur(14px) saturate(1.9); }
.tile__art--spring i { left: 12%; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet) 60%, var(--pink)); animation: spring-x 3.2s infinite; }
@keyframes spring-x { 0%, 12% { transform: translateX(0); animation-timing-function: var(--spring-bouncy); } 46%, 58% { transform: translateX(520%); animation-timing-function: var(--spring-bouncy); } 92%, 100% { transform: translateX(0); } }
.tile__art--top i { left: 12%; top: 18%; width: 52%; height: 64%; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.tile__art--top b { right: 10%; top: 12%; width: 30%; height: 76%; border-radius: 16px; background: var(--glass-hi); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), 0 14px 30px -10px rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: lift 4.4s var(--ease-out) infinite; }
@keyframes lift { 0%, 20% { transform: translateY(18px) scale(0.96); opacity: 0.6; } 50%, 80% { transform: none; opacity: 1; } 100% { transform: translateY(18px) scale(0.96); opacity: 0.6; } }

/* ---------- fan (scroll-linked, like Ghost's mode cards) ---------- */
@property --p { syntax: "<number>"; inherits: false; initial-value: 1; }
.fan { display: flex; justify-content: center; align-items: flex-start; gap: 0; padding: 20px 0 10px; }
.fcard { --p: 1; flex: 1 1 0; max-width: 232px; margin: 0 -6px; min-height: 270px; padding: 24px 22px; border-radius: 28px; background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), var(--card-shadow); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  transform: translate(calc(var(--x) * (1 - var(--p))), calc(var(--y) * var(--p))) rotate(calc(var(--r) * var(--p))) scale(calc(0.93 + 0.07 * var(--p)));
  transition: --p 900ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms; will-change: transform; }
.fcard:hover { transform: translateY(-14px) rotate(0deg) scale(1.02); transition: transform var(--spring-snappy-ms) var(--spring-snappy); z-index: 2; }
.fcard__ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 10px 26px -10px var(--violet), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.fcard:nth-child(2) .fcard__ico { background: linear-gradient(135deg, var(--teal), var(--blue)); box-shadow: 0 10px 26px -10px var(--teal), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.fcard:nth-child(4) .fcard__ico { background: linear-gradient(135deg, var(--pink), var(--violet)); box-shadow: 0 10px 26px -10px var(--pink), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.fcard:nth-child(5) .fcard__ico { background: linear-gradient(135deg, var(--violet), var(--teal)); }
.fcard h3 { margin-top: 22px; }
.fcard p { margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 46px; }
.chips li { padding: 7px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line); }

/* ---------- ask ---------- */
.ask__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.ask .lead { margin-top: 20px; }
.ticks { margin-top: 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; color: var(--ink-2); font-size: 17px; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--pink)); }
.ticks b { color: var(--ink); }
.ask__stage { position: relative; padding: 54px 28px 40px; border-radius: 36px; overflow: hidden; background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 22%, var(--bg)), color-mix(in srgb, var(--violet) 18%, var(--bg)) 55%, color-mix(in srgb, var(--pink) 16%, var(--bg))); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); min-height: 440px; display: flex; align-items: flex-end; }
.askbox { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.askbox__pill { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-radius: 999px; color: #fff;
  background: linear-gradient(96deg, rgba(4, 6, 13, 0.92) 0%, rgba(8, 10, 20, 0.7) 50%, rgba(18, 22, 36, 0.28) 100%); -webkit-backdrop-filter: blur(26px) saturate(1.9); backdrop-filter: blur(26px) saturate(1.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 40px -14px rgba(0, 0, 0, 0.6); position: relative; }
.askbox__pill::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--angle, 0deg), #5b8cff, #9a6bff, #ff6fb5, #2fd8c8, #5b8cff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.85; animation: edge 7s linear infinite; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes edge { to { --angle: 360deg; } }
.askbox[data-state="thinking"] .askbox__pill::after { animation-duration: 1.4s; }
.askbox__spark { display: grid; place-items: center; color: rgba(255, 255, 255, 0.85); }
.askbox__field { flex: 1; font-size: 17px; min-width: 0; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.askbox__field .ph { color: rgba(255, 255, 255, 0.55); }
.askbox__field #ask-typed:not(:empty) ~ .ph { display: none; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: #fff; box-shadow: 0 0 12px 2px rgba(150, 140, 255, 0.9); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.askbox__sheet { order: -1; padding: 16px 18px; border-radius: 28px; background: var(--glass-hi); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), 0 24px 50px -20px rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(34px) saturate(1.9); backdrop-filter: blur(34px) saturate(1.9);
  transform-origin: 50% 100%; opacity: 0; transform: translateY(14px) scale(0.96); transition: opacity 200ms, transform var(--spring-snappy-ms) var(--spring-snappy); pointer-events: none; min-height: 150px; }
.askbox:not([data-state="input"]) .askbox__sheet { opacity: 1; transform: none; }
.sheet-title { font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.sheet-list li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); animation: row-in 420ms var(--ease-out) both; }
.sheet-list li:first-child { margin-top: 10px; }
.sheet-list b { display: block; font-size: 15px; font-weight: 600; } .sheet-list span { display: block; font-size: 13px; color: var(--ink-3); }
.sheet-list i { flex: none; width: 30px; height: 30px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 16%, transparent); }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
.sheet-text { margin-top: 10px; font-size: 16px; line-height: 1.5; white-space: pre-wrap; min-height: 24px; }
.sheet-dots { display: none; align-items: center; gap: 10px; margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.askbox[data-state="thinking"] .sheet-dots { display: flex; }
.dots { display: inline-flex; gap: 4px; } .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dot 1.1s var(--ease-out) infinite; } .dots i:nth-child(2) { animation-delay: 0.14s; } .dots i:nth-child(3) { animation-delay: 0.28s; }
@keyframes dot { 0%, 100% { opacity: 0.25; transform: none; } 40% { opacity: 1; transform: translateY(-4px); } }
.sheet-foot { display: none; margin-top: 12px; font-size: 11.5px; color: var(--ink-3); }
.askbox[data-state="answer"] .sheet-foot { display: block; }
.askbox[data-state="results"] .sheet-text, .askbox[data-state="action"] .sheet-text { display: none; }
.askbox[data-state="thinking"] .sheet-list, .askbox[data-state="answer"] .sheet-list { display: none; }

/* ---------- reminders ---------- */
.reminders__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.reminders .lead { margin-top: 20px; max-width: 36ch; }
.reminders__stage { position: relative; height: 430px; }
.note { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 24px; background: var(--glass-hi); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), 0 22px 50px -22px rgba(30, 40, 90, 0.45); -webkit-backdrop-filter: blur(30px) saturate(1.9); backdrop-filter: blur(30px) saturate(1.9);
  opacity: 0; transform: translateY(40px) scale(0.94); transition: opacity 300ms, transform var(--spring-bouncy-ms) var(--spring-bouncy); }
.note img { border-radius: 9px; flex: none; }
.note b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -0.012em; }
.note span { display: block; font-size: 14px; color: var(--ink-2); }
.note div { flex: 1; min-width: 0; } .note span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note em { font-style: normal; font-size: 12.5px; color: var(--ink-3); align-self: flex-start; }
.n1 { top: 0; z-index: 4; } .n2 { top: 100px; z-index: 3; margin: 0 14px; } .n3 { top: 200px; z-index: 2; margin: 0 28px; } .n4 { top: 300px; z-index: 1; margin: 0 42px; }
.reminders__stage.is-in .note { opacity: 1; transform: none; }
.reminders__stage.is-in .n2 { transition-delay: 160ms; } .reminders__stage.is-in .n3 { transition-delay: 320ms; } .reminders__stage.is-in .n4 { transition-delay: 480ms; }

/* ---------- steps ---------- */
.stepgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 30px 28px 34px; border-radius: 30px; background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 8px 20px -8px var(--violet); }
.step h3 { margin-top: 22px; } .step p { margin-top: 10px; color: var(--ink-2); font-size: 17px; line-height: 1.45; }

/* ---------- download ---------- */
.dlcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 70px 24px 60px; border-radius: 44px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 18%, var(--bg-2)), color-mix(in srgb, var(--violet) 16%, var(--bg-2)) 50%, color-mix(in srgb, var(--pink) 14%, var(--bg-2))); box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow); }
.dlcard__icon { border-radius: 24px; box-shadow: 0 24px 50px -16px rgba(80, 90, 200, 0.6); }
.dlcard .lead { max-width: 30ch; }
.dlcard .fine { max-width: 46ch; }
.how { max-width: 52ch; margin-top: 8px; text-align: left; font-size: 15px; color: var(--ink-2); }
.how summary { cursor: pointer; text-align: center; color: var(--accent); font-weight: 600; list-style: none; }
.how summary::-webkit-details-marker { display: none; }
.how p { margin-top: 12px; padding: 16px 18px; border-radius: 18px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ---------- faq ---------- */
.faq__inner { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; transition: transform var(--spring-snappy-ms) var(--spring-snappy); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; background: var(--ink-3); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 17px; }

/* ---------- feedback ---------- */
.fbcard { max-width: 720px; margin: 0 auto; padding: 44px 40px; border-radius: 36px; background: var(--glass); box-shadow: inset 0 1px 0 var(--rim), inset 0 0 0 1px var(--line), var(--card-shadow); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); }
.fbcard .lead { margin: 12px 0 26px; }
.fbcard h2 { font-size: clamp(30px, 4vw, 44px); }
form { display: grid; gap: 12px; }
textarea, input[type="email"] { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 14px 18px; border: 0; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 160ms; resize: vertical; }
textarea:focus, input[type="email"]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.fb-row { display: flex; gap: 12px; } .fb-row input { flex: 1; border-radius: 999px; }
.fb-status { min-height: 22px; font-size: 14px; color: var(--ink-2); }
.fb-status.is-ok { color: #1f9d58; } .fb-status.is-bad { color: #d62f4b; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 60px; }
.foot__inner { display: grid; gap: 18px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-2); }
.foot__links a:hover { color: var(--ink); }
.foot__copy { font-size: 12.5px; color: var(--ink-3); max-width: 80ch; }

/* ---------- reveal (Ghost's idea, with an Apple spring and a little blur that clears) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.985); filter: blur(8px); }
  .js .reveal.is-in { opacity: 1; transform: none; filter: none; transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform var(--spring-gentle-ms) var(--spring-gentle) var(--d, 0ms), filter 700ms var(--ease-out) var(--d, 0ms); }
}
@media (prefers-reduced-motion: reduce) {
  .aura i, .askbox__pill::after, .tile__art--spring i, .tile__art--top b { animation: none; }
  .fcard, .fcard:hover { transform: none; }
  .note { opacity: 1; transform: none; }
  .panel-wrap { transition: none; }
}

/* ---------- tablet and phone ---------- */
@media (max-width: 960px) {
  .pill { display: none; }
  .strip__inner, .ask__inner, .reminders__inner, .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .trio, .stepgrid { grid-template-columns: 1fr; }
  .fan { flex-wrap: wrap; gap: 14px; }
  .fcard { flex: 1 1 calc(50% - 14px); max-width: none; margin: 0; min-height: 0; transform: none; }
  .fcard:hover { transform: translateY(-6px); }
  .panel-wrap { width: min(420px, 56%); }
  .reminders__copy { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 104px; }
  .stage { width: calc(100% - 16px); }
  .desk { aspect-ratio: 4 / 5.6; border-radius: 18px; }
  .doc { display: none; }
  .panel-wrap { left: 10px; right: 10px; width: auto; top: 36px; bottom: 10px; }
  .stats { grid-template-columns: 1fr; }
  .glass-sec, .panels, .ask, .reminders, .steps, .privacy, .download, .faq, .feedback { padding: 76px 0; }
  .fcard { flex-basis: 100%; }
  .ask__stage { padding: 40px 14px 20px; }
  .reminders__stage { height: 400px; } .n3 { margin: 0 18px; } .n4 { margin: 0 28px; } .n2 { margin: 0 9px; }
  .fbcard { padding: 30px 22px; } .fb-row { flex-direction: column; }
  .faq details p { padding-right: 0; }
  .nav__dl { display: inline-flex; }
}
