/* Lippy website. System fonts, no network, no build step.

   Same tokens as the app's Home window (lippy/home_static/app.css): the light / dark palettes,
   the pill's radius family, its spring curves, and the chromatic ring as the single accent.
   The pill's glow follows the app's "auto" style: chromatic in light, metallic in dark. */

:root {
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --spring-pop: cubic-bezier(0.3, 1.7, 0.5, 1);
  --spring-soft: cubic-bezier(0.25, 1.1, 0.5, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  --wrap: 1080px;
  --gutter: clamp(20px, 5vw, 40px);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.03, 0.104, 0.203, 0.314, 0.426, 0.533, 0.63, 0.715, 0.788, 0.848, 0.897, 0.935, 0.964, 0.986, 1.001, 1.011, 1.017, 1.02, 1.021, 1.02, 1.019, 1.017, 1.014, 1.012, 1.01, 1.008, 1.006, 1.005, 1.003, 1.002, 1.001, 1);
    --spring-pop: linear(0, 0.108, 0.364, 0.67, 0.948, 1.15, 1.259, 1.282, 1.24, 1.162, 1.075, 1, 0.949, 0.923, 0.922, 0.936, 0.959, 0.984, 1.004, 1.017, 1.022, 1.022, 1.017, 1.01, 1.003, 0.998, 0.995, 0.994, 0.994, 0.996, 0.998, 0.999, 1);
    --spring-soft: linear(0, 0.028, 0.099, 0.193, 0.297, 0.402, 0.503, 0.596, 0.677, 0.748, 0.808, 0.857, 0.897, 0.928, 0.953, 0.971, 0.985, 0.994, 1.001, 1.005, 1.008, 1.009, 1.009, 1.009, 1.008, 1.008, 1.007, 1.006, 1.005, 1.004, 1.003, 1.002, 1);
  }
}

/* ---------- Light ---------- */
:root {
  color-scheme: light dark;
  --bg: #fbfbfc;
  --bg-2: #f4f4f6;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #3c3c43;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --line: rgba(0, 0, 0, 0.075);
  --line-strong: rgba(0, 0, 0, 0.13);
  --hover: rgba(0, 0, 0, 0.04);

  --accent: #007aff;
  --focus-c: rgba(0, 122, 255, 0.42);
  --ok-fill: #34c759;
  --ok: #248a3d;

  --primary: #1d1d1f;
  --primary-ink: #ffffff;

  /* the chrome ring (chromatic in light mode) */
  --c1: #4fd2e6; --c2: #4f8cf0; --c3: #9a5cf0; --c4: #e663d2; --c5: #f0b25a;
  --glint: #f2f4f8; --glint-2: #e6e6ea;
  --chrome: conic-gradient(from 210deg, var(--c1), var(--c2), var(--glint), var(--c3), var(--c4), var(--glint-2), var(--c5), var(--c1));
  --chrome-line: linear-gradient(90deg, var(--c1), var(--c2) 28%, var(--c3) 52%, var(--c4) 76%, var(--c5));
  --halo-o: 0.5;
  --rim-w: 1.75px;

  /* the pill: dark HUD glass */
  --pill: rgba(28, 28, 32, 0.86);
  --pill-ink: #f5f5f7;
  --pill-muted: rgba(235, 235, 245, 0.56);
  --pill-row: rgba(255, 255, 255, 0.07);
  --pill-row-on: rgba(10, 132, 255, 0.3);
  --pill-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25), 0 10px 30px -8px rgba(0, 0, 0, 0.35), 0 30px 60px -20px rgba(40, 30, 90, 0.25);
  --glyph: #b9b7ff;

  --shadow-card: 0 0 0 0.5px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 10px -4px rgba(0, 0, 0, 0.06);
  --shadow-window: 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04), 0 30px 70px -20px rgba(20, 20, 40, 0.22);
  --hi: inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
}

/* ---------- Dark (metallic glow, like the app's "auto") ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b1e;
    --bg-2: #202024;
    --surface: #242428;
    --ink: #f5f5f7;
    --ink-2: #d1d1d6;
    --muted: #98989f;
    --faint: #68686e;
    --line: rgba(255, 255, 255, 0.075);
    --line-strong: rgba(255, 255, 255, 0.13);
    --hover: rgba(255, 255, 255, 0.05);

    --accent: #0a84ff;
    --focus-c: rgba(10, 132, 255, 0.6);
    --ok-fill: #30d158;
    --ok: #30d158;

    --primary: #f5f5f7;
    --primary-ink: #1d1d1f;

    --m-deep: #45474e; --m-graphite: #6b6f77; --m-steel: #a1a6ae; --m-silver: #d9dce1; --m-glint: #ffffff;
    --chrome: conic-gradient(from 210deg,
      var(--m-graphite) 0%, var(--m-steel) 5.5%, var(--m-silver) 9.5%, var(--m-glint) 12.5%, var(--m-silver) 15.5%,
      var(--m-steel) 20.5%, var(--m-deep) 29%, var(--m-steel) 37%, var(--m-deep) 44%, var(--m-graphite) 50%,
      var(--m-steel) 55.5%, var(--m-silver) 59.5%, var(--m-glint) 62.5%, var(--m-silver) 65.5%,
      var(--m-steel) 70.5%, var(--m-deep) 79%, var(--m-steel) 87%, var(--m-deep) 94%, var(--m-graphite) 100%);
    --chrome-line: linear-gradient(90deg, var(--m-graphite), var(--m-steel) 26%, var(--m-silver) 44%,
      var(--m-glint) 50%, var(--m-silver) 56%, var(--m-steel) 74%, var(--m-graphite));
    --halo-o: 0.22;
    --rim-w: 1.6px;

    --pill: rgba(44, 44, 50, 0.82);
    --pill-row: rgba(255, 255, 255, 0.06);
    --pill-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 30px 70px -20px rgba(0, 0, 0, 0.7);
    --glyph: #eef0f5;

    --shadow-card: 0 0 0 0.5px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -14px rgba(0, 0, 0, 0.6);
    --shadow-window: 0 0 0 0.5px rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.3), 0 40px 80px -24px rgba(0, 0, 0, 0.7);
    --hi: inset 0 0.5px 0 rgba(255, 255, 255, 0.06);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font-ui); letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, dd a, .faq a { color: var(--accent); }
p a:hover, li a:hover, dd a:hover, .faq a:hover { text-decoration: underline; text-underline-offset: 2px; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus-c); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--primary); color: var(--primary-ink); font-weight: 500;
}
.skip:focus-visible { top: 12px; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; height: 56px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 17px/1 var(--font-display); letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 14px; }
.nav a { padding: 6px 10px; border-radius: 7px; color: var(--muted); transition: color 0.15s, background-color 0.15s; }
.nav a:hover { color: var(--ink); background: var(--hover); }
.nav .nav-gh { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.nav .nav-gh svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px 0 22px; border-radius: 14px;
  font: 600 17px/1 var(--font-ui); letter-spacing: -0.015em; white-space: nowrap;
  transition: transform 0.4s var(--spring-soft), opacity 0.15s, background-color 0.15s;
}
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }
.btn-primary {
  border: 1px solid transparent; color: var(--primary-ink);
  background: linear-gradient(var(--primary), var(--primary)) padding-box, var(--chrome-line) border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16), 0 10px 30px -10px color-mix(in srgb, var(--c3, #888) 60%, transparent);
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary .ico { width: 20px; height: 20px; }
.btn-quiet { height: 52px; padding: 0 16px; color: var(--ink-2); font-weight: 500; }
.btn-quiet:hover { background: var(--hover); color: var(--ink); }
.btn-quiet svg { width: 18px; height: 18px; }
.btn:focus-visible { outline-offset: 3px; border-radius: 14px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5vw, 56px) 0 0; text-align: center; overflow-x: clip; position: relative; isolation: isolate; }
.ionize { /* the Ionize ribbons behind the hero (js/ionize.js) */
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 1.6s var(--ease-out);
}
.ionize.on { opacity: 1; }
.rm .ionize { transition: none; }
.hero-icon { width: 64px; height: 64px; margin: 0 auto 22px; filter: drop-shadow(0 10px 24px rgba(60, 40, 120, 0.18)); }
.hero h1 {
  font-size: clamp(42px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -0.036em; font-weight: 700;
  max-width: 16em; margin: 0 auto; text-wrap: balance;
}
.hero .lede {
  margin: 20px auto 0; max-width: 30em; color: var(--muted);
  font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4; letter-spacing: -0.02em; text-wrap: balance;
}
.cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 8px; margin-top: 32px; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: -0.005em; }
.mac-note {
  display: none; margin: 14px auto 0; max-width: 26em; font-size: 14px; color: var(--ink-2);
  padding: 10px 14px; border-radius: var(--r-md); background: var(--bg-2);
}
.not-mac .mac-note { display: block; }

/* The stage: a quiet window with the pill floating over its bottom edge */
.stage { position: relative; margin: clamp(44px, 5vw, 60px) auto 0; max-width: 760px; padding-bottom: 26px; }
.stage-glow {
  position: absolute; inset: 10% -10% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 70%, color-mix(in srgb, var(--c2, #888) 16%, transparent), transparent 70%),
              radial-gradient(40% 40% at 30% 80%, color-mix(in srgb, var(--c4, #888) 10%, transparent), transparent 70%);
  filter: blur(10px);
}
@media (prefers-color-scheme: dark) {
  .stage-glow { background: radial-gradient(60% 55% at 50% 75%, rgba(220, 228, 240, 0.06), transparent 70%); }
}
.window {
  position: relative; z-index: 1; text-align: left;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-window);
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 0.5px solid var(--line); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
.window-bar span { margin: 0 auto; transform: translateX(-30px); font-size: 13px; font-weight: 500; color: var(--muted); }
.doc { height: 220px; overflow: hidden; padding: 26px 30px 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.doc p { min-height: 1.6em; }
.doc p + p { margin-top: 6px; }
.doc .muted { color: var(--faint); }
.doc .typed { display: inline; }
.doc .typed.fresh { background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 3px; transition: background-color 1.2s 0.6s; }
.doc .typed.fresh.settled { background: transparent; }
.caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -0.2em; background: var(--accent); border-radius: 1px; animation: blink 1.1s steps(1) infinite; }

.pill-dock {
  position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(560px, calc(100vw - 2 * var(--gutter))); height: 190px;
  display: flex; align-items: flex-end; justify-content: center; pointer-events: none;
}

/* ---------- The pill ---------- */
.pill {
  --w: 104px; --h: 44px; --r: 22px;
  position: relative; isolation: isolate; width: var(--w); height: var(--h); border-radius: var(--r);
  color: var(--pill-ink); font-size: 15px; line-height: 1.35; letter-spacing: -0.01em;
  transition: width 0.55s var(--spring), height 0.55s var(--spring), border-radius 0.55s var(--spring);
}
.pill-body {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit; overflow: hidden;
  background: var(--pill); box-shadow: var(--pill-shadow), inset 0 0.5px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
}
/* the rim: a turning conic gradient seen through a ring-shaped mask */
.pill-rim, .pill-halo { position: absolute; border-radius: inherit; overflow: hidden; pointer-events: none; transition: opacity 0.45s var(--ease-out); }
.pill-rim {
  inset: calc(-1 * var(--rim-w)); z-index: 2; padding: var(--rim-w);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.pill-halo { inset: -3px; z-index: 0; filter: blur(14px); opacity: var(--halo-o); }
.pill-rim::before, .pill-halo::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: var(--ring, var(--chrome));
  animation: spin var(--spin, 7s) linear infinite;
}
@media (prefers-color-scheme: dark) { .pill { --spin: 9s; } }
.pill[data-state="thinking"] { --spin: 2.2s; }
.pill[data-state="done"] { --ring: conic-gradient(var(--ok-fill), color-mix(in srgb, var(--ok-fill) 70%, transparent), var(--ok-fill), color-mix(in srgb, var(--ok-fill) 70%, transparent), var(--ok-fill)); }
.pill[data-state="preview"] .pill-halo, .pill[data-state="confirm"] .pill-halo { opacity: calc(var(--halo-o) * 0.5); }
.pill[data-state="preview"] .pill-rim, .pill[data-state="confirm"] .pill-rim { opacity: 0.55; }
.pill[data-state="listening"] .pill-halo { animation: halo-breathe 2.6s ease-in-out infinite; }

/* state content layers crossfade */
.pill-layer {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.96); transition: opacity 0.18s var(--ease-out), transform 0.45s var(--spring);
  pointer-events: none;
}
.pill[data-state="listening"] .l-listening,
.pill[data-state="thinking"] .l-thinking,
.pill[data-state="preview"] .l-preview,
.pill[data-state="confirm"] .l-confirm,
.pill[data-state="done"] .l-done { opacity: 1; transform: none; transition-delay: 0.08s; }

.lips { width: 30px; height: 30px; color: var(--glyph); }
.pill[data-state="listening"] .lips { animation: breathe 1.4s ease-in-out infinite; }
.spinner { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 25%, var(--pill-muted) 85%, transparent 86%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: spin 0.9s linear infinite; }

.l-preview, .l-confirm { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 16px 18px 14px; text-align: left; }
.pill-text { font-size: 17px; line-height: 1.38; color: var(--pill-ink); letter-spacing: -0.015em; }
.pill-head { font-size: 13px; font-weight: 600; color: var(--pill-muted); margin-bottom: 8px; }
.pill-hint { margin-top: auto; font-size: 12px; color: var(--pill-muted); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-hint b { font-weight: 500; color: var(--pill-ink); }
.opt { padding: 7px 12px; border-radius: 9px; background: var(--pill-row); font-size: 16px; line-height: 1.35; transition: background-color 0.25s; }
.opt + .opt { margin-top: 6px; }
.opt.on { background: var(--pill-row-on); }
.l-done { gap: 8px; font-weight: 600; font-size: 15px; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-fill); display: grid; place-items: center; color: #fff; }
.tick svg { width: 13px; height: 13px; }
.pill[data-state="done"] .tick { animation: pop 0.7s var(--spring-pop) both; }

/* static pills (how it works) */
.pill.static { --spin: 0s; }
.pill.static .pill-rim::before, .pill.static .pill-halo::before, .pill.static .lips, .pill.static .pill-halo, .pill.static .tick { animation: none; }
.pill.static .pill-layer { transition: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 140px) 0 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 19px; line-height: 1.45; letter-spacing: -0.018em; text-wrap: pretty; }

/* demo video */
.film { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #1c1c20; box-shadow: var(--shadow-window); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { counter-increment: step; display: flex; flex-direction: column; }
.step-art {
  height: 196px; border-radius: var(--r-xl); background: var(--bg-2);
  display: grid; place-items: center; padding: 0 18px; overflow: hidden;
  box-shadow: inset 0 0 0 0.5px var(--line);
}
.step-art .pill { --w: 104px; --h: 44px; --r: 22px; transform: scale(1); }
.step-art .pill.wide { --w: min(100%, 300px); --h: 120px; --r: 20px; }
.step-art .pill.wide .pill-text { font-size: 15px; }
.step h3 { margin-top: 22px; font-size: 19px; letter-spacing: -0.022em; display: flex; gap: 10px; align-items: baseline; }
.step h3::before { content: counter(step); font-size: 15px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.step p { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.step kbd, .faq kbd {
  font: 500 13px/1 var(--font-ui); color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 21px; padding: 0 6px; background: var(--surface); border-radius: 5px; vertical-align: 1px;
  box-shadow: inset 0 0 0 0.5px var(--line-strong), 0 1px 0 var(--line-strong);
}

/* features, grouped */
.groups { display: grid; gap: clamp(40px, 6vw, 64px); }
.group { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 48px; padding-top: 28px; border-top: 0.5px solid var(--line-strong); }
.group h3 { font-size: 21px; letter-spacing: -0.025em; line-height: 1.25; }
.group > div > p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; margin: 0; }
.feat dt { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.feat dt svg { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
.feat dd { margin: 6px 0 0 30px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.feat.wide { grid-column: 1 / -1; }
.feat.wide dd { max-width: 40em; }

/* privacy */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.flow {
  position: relative; border-radius: var(--r-xl); padding: 22px; background: var(--bg-2);
  box-shadow: inset 0 0 0 0.5px var(--line);
}
.zone { position: relative; border-radius: var(--r-lg); padding: 16px 16px 18px; }
.zone-mac { background: var(--surface); box-shadow: var(--shadow-card), var(--hi); }
.zone-cloud { margin-top: 14px; border: 1px dashed var(--line-strong); }
.zone-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.zone-label svg { width: 15px; height: 15px; }
.chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.chain li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 7px 0; font-size: 15px; line-height: 1.35; }
.chain li + li::before { content: ""; position: absolute; left: 16.5px; top: -7px; height: 14px; width: 1px; background: var(--line-strong); }
.chain .node { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); box-shadow: inset 0 0 0 0.5px var(--line); }
.chain .node svg { width: 18px; height: 18px; }
.chain small { display: block; color: var(--muted); font-size: 13px; }
.chain .node.ring { position: relative; background: var(--primary); color: var(--primary-ink); box-shadow: none; }
.chain .node.ring::after { content: ""; position: absolute; inset: -2px; border-radius: 12px; padding: 1.5px; background: var(--chrome-line);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.facts svg { width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }
.facts strong { display: block; font-weight: 600; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 15.5px; line-height: 1.5; }

/* requirements + faq */
.reqs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-xl); overflow: hidden; background: var(--line); box-shadow: 0 0 0 0.5px var(--line); margin: 0 0 56px; }
.req { background: var(--surface); padding: 20px 20px 22px; }
.req dt { font-size: 13px; color: var(--muted); }
.req dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1.3; }
.req dd small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; letter-spacing: -0.01em; margin-top: 4px; }
.faq { max-width: 760px; }
.faq details { border-top: 0.5px solid var(--line-strong); }
.faq details:last-child { border-bottom: 0.5px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px; font-weight: 600; font-size: 18px; letter-spacing: -0.022em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.4s var(--spring-soft);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--ink-2); }
.faq summary:focus-visible { outline-offset: -2px; border-radius: 8px; }
.faq .a { padding: 0 2px 22px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 40em; }
.faq .a p + p { margin-top: 10px; }

/* closing call */
.closer { text-align: center; padding: clamp(96px, 14vw, 160px) 0 clamp(72px, 10vw, 112px); }
.closer img { width: 72px; height: 72px; margin: 0 auto 22px; }
.closer h2 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -0.035em; line-height: 1.08; font-weight: 700; }
.closer .cta { margin-top: 30px; }

/* footer */
.foot { border-top: 0.5px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.foot a:hover { color: var(--ink); }
.foot .brand { font-size: 14px; color: var(--ink-2); }
.foot .brand img { width: 20px; height: 20px; }


/* ---------- Spice: floating chips, marquee, per-app styles, gradient type ---------- */
/* frosted glass with a light-catching gradient edge */
.glass {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 0.5px var(--line-strong), var(--hi), 0 8px 24px -10px rgba(20, 20, 50, 0.25);
  animation: float 7s ease-in-out infinite;
}
.float-chip svg { width: 16px; height: 16px; color: var(--muted); }
.chip-a { left: -156px; top: 128px; }
.chip-b { right: -164px; top: 196px; animation-delay: -3.5s; }
@media (max-width: 1180px) { .float-chip { display: none; } }

.where { margin-top: clamp(56px, 7vw, 84px); }
.where-title { font-size: 14px; color: var(--muted); }
.marquee {
  display: flex; overflow: hidden; margin-top: 16px; user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track {
  list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 12px; padding-right: 12px;
  animation: marquee 48s linear infinite;
}
.marquee-track li {
  padding: 10px 18px; border-radius: 999px; font-size: 16px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-2);
  background: var(--surface); box-shadow: var(--shadow-card), var(--hi); white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.rm .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
.rm .marquee-track { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; }
.rm .marquee-track[aria-hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; }
  .marquee-track[aria-hidden] { display: none; }
}

.styles { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
.said {
  position: relative; padding: 26px 26px 28px; border-radius: var(--r-xl); color: var(--pill-ink);
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.08), transparent 60%), #1f1f24;
  box-shadow: var(--pill-shadow);
}
.said::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: calc(var(--r-xl) + 1.5px); padding: 1.5px; pointer-events: none;
  background: var(--chrome-line);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.said-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--pill-muted); }
.said-label svg { width: 20px; height: 20px; color: var(--glyph); }
.said p { margin-top: 14px; font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; color: rgba(245, 245, 247, 0.82); font-style: italic; }
.outs { display: grid; gap: 12px; position: relative; }
.out {
  margin: 0; padding: 16px 20px 18px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--shadow-card), var(--hi);
}
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--bg-2); box-shadow: inset 0 0 0 0.5px var(--line); }
.tag svg { width: 14px; height: 14px; color: var(--muted); }
.out p { margin-top: 10px; font-size: 17px; line-height: 1.45; letter-spacing: -0.015em; }
.out p.mono { font: 15px/1.5 var(--font-mono); letter-spacing: 0; }
@media (max-width: 900px) { .styles { grid-template-columns: 1fr; } }

/* gradient type: once, on the closing call */
.shine {
  background: linear-gradient(90deg, var(--ink) 0%, var(--c2, var(--ink)) 35%, var(--c3, var(--ink)) 55%, var(--c4, var(--ink)) 75%, var(--ink) 100%);
  background-size: 220% 100%; background-position: 0% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@media (prefers-color-scheme: dark) {
  .shine { background-image: linear-gradient(90deg, var(--ink) 0%, var(--m-silver) 30%, var(--m-steel) 50%, var(--m-glint) 70%, var(--ink) 100%); }
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes sheen { to { background-position: 100% 0; } }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.92); opacity: 0.72; } }
@keyframes halo-breathe { 0%, 100% { opacity: var(--halo-o); } 50% { opacity: calc(var(--halo-o) * 0.45); } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }

.paused .pill *, .paused .pill *::before, .paused .caret { animation-play-state: paused !important; }

/* JS sets .rm on <html> when the system asks for less motion (and the CSS fallback below
   covers a page without JS): no spinning, breathing or springing; the hero holds one state. */
.rm *, .rm *::before, .rm *::after { animation: none !important; transition-duration: 0.01s !important; transition-delay: 0s !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01s !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .group { grid-template-columns: 1fr; gap: 20px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
  .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .req:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav a:not(.nav-gh) { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-art { height: 176px; }
  .feats { grid-template-columns: 1fr; gap: 24px; }
  .doc { height: 260px; padding: 20px 20px 0; font-size: 15px; }
  .window-bar span { transform: none; }
  .window-bar span { margin: 0 auto 0 12px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .reqs { grid-template-columns: 1fr; }
  .req:last-child { grid-column: auto; }
  .cta .btn-primary { width: 100%; }
  .pill-text { font-size: 16px; }
  .opt { font-size: 15px; }
  .pill-hint { font-size: 11.5px; }
}
