/* Reels Flow site. Same look as the extension popup: cool, quiet surfaces
   and one warm glow, saved for what matters. Never Instagram's marks or colours. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;
  --glow: linear-gradient(135deg, #ff3b6b 0%, #ff6a3d 55%, #ffb938 100%);
  --glow-flat: #ff5a4a;
  --on-glow: #17151c;

  --canvas: #f3f3f6;
  --surface: #ffffff;
  --sunken: #ececf1;
  --ink: #17151c;
  --muted: #6b6875;
  --accent: #d8372a;
  --line: rgba(23, 21, 28, 0.08);
  --line-strong: rgba(23, 21, 28, 0.14);
  --switch-off: #d9d8df;

  --shadow-sm: 0 1px 2px rgba(23, 21, 28, 0.05), 0 4px 14px -8px rgba(23, 21, 28, 0.12);
  --shadow: 0 1px 2px rgba(23, 21, 28, 0.06), 0 12px 32px -14px rgba(23, 21, 28, 0.2);
  --shadow-lg: 0 2px 4px rgba(23, 21, 28, 0.04), 0 40px 80px -30px rgba(23, 21, 28, 0.35);
  --glow-shadow: 0 12px 32px -14px rgba(255, 74, 74, 0.7);
  --halo: rgba(255, 106, 61, 0.22);

  /* Abstract Reel art: cool tones only. */
  --reel-1a: #d5d7e8; --reel-1b: #9aa0c4;
  --reel-2a: #cfe2df; --reel-2b: #86aca6;
  --reel-3a: #e2dbee; --reel-3b: #a99cc8;
  --reel-4a: #dfe3ea; --reel-4b: #9ea7b8;
  --reel-shape: rgba(255, 255, 255, 0.55);
  --reel-shape-2: rgba(23, 21, 28, 0.1);

  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
  --wrap: 1160px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #131117;
    --surface: #1d1b22;
    --sunken: #28252e;
    --ink: #f3f1f6;
    --muted: #a19cab;
    --accent: #ff8a62;
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.13);
    --switch-off: #3a3741;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px -8px rgba(0, 0, 0, 0.5);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -14px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
    --glow-shadow: 0 14px 36px -16px rgba(255, 74, 74, 0.55);
    --halo: rgba(255, 90, 74, 0.16);
    --reel-1a: #3a3c52; --reel-1b: #22233a;
    --reel-2a: #2f4743; --reel-2b: #1b2b29;
    --reel-3a: #40384f; --reel-3b: #251f31;
    --reel-4a: #383d48; --reel-4b: #20232b;
    --reel-shape: rgba(255, 255, 255, 0.14);
    --reel-shape-2: rgba(0, 0, 0, 0.25);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #131117;
  --surface: #1d1b22;
  --sunken: #28252e;
  --ink: #f3f1f6;
  --muted: #a19cab;
  --accent: #ff8a62;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --switch-off: #3a3741;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px -8px rgba(0, 0, 0, 0.5);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -14px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  --glow-shadow: 0 14px 36px -16px rgba(255, 74, 74, 0.55);
  --halo: rgba(255, 90, 74, 0.16);
  --reel-1a: #3a3c52; --reel-1b: #22233a;
  --reel-2a: #2f4743; --reel-2b: #1b2b29;
  --reel-3a: #40384f; --reel-3b: #251f31;
  --reel-4a: #383d48; --reel-4b: #20232b;
  --reel-shape: rgba(255, 255, 255, 0.14);
  --reel-shape-2: rgba(0, 0, 0, 0.25);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

main { flex: 1; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }

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

button, input, select, textarea { font: inherit; color: inherit; }

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

::selection { background: var(--glow-flat); color: #fff; }

kbd, .kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 0.4em;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 2px 0 var(--line-strong);
  font-family: var(--font);
  font-size: 0.85em;
  font-weight: 800;
  line-height: 1;
  vertical-align: 0.08em;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--canvas);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap-narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: 32px;
  height: 32px;
  transition: transform 0.5s var(--spring);
}
.brand:hover img { transform: rotate(-8deg) scale(1.06); }

.nav {
  display: none;
  gap: 0.25rem;
}

.nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--sunken); }

@media (min-width: 900px) {
  .nav { display: flex; }
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.4s var(--spring), border-color 0.2s;
}
.theme-toggle:hover { transform: rotate(-12deg); border-color: var(--muted); }
.theme-toggle svg {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: transform 0.6s var(--spring), opacity 0.3s var(--ease);
}
.theme-toggle .i-moon { transform: translateY(140%) rotate(-40deg); opacity: 0; }
:root[data-resolved-theme="dark"] .theme-toggle .i-sun { transform: translateY(-140%) rotate(40deg); opacity: 0; }
:root[data-resolved-theme="dark"] .theme-toggle .i-moon { transform: none; opacity: 1; }

/* ---------- Buttons ---------- */

.btn {
  --lift: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(var(--lift));
  transition: transform 0.45s var(--spring), box-shadow 0.3s var(--ease), background-color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --lift: -2px; }
.btn:active { --lift: 1px; transition-duration: 0.1s; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-glow {
  background-color: var(--glow-flat);
  background-image: var(--glow);
  color: var(--on-glow);
  box-shadow: var(--glow-shadow);
}
.btn-glow:hover { box-shadow: 0 18px 40px -14px rgba(255, 74, 74, 0.8); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--muted); }

.btn-sm { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.92rem; }
.btn-sm svg { width: 18px; height: 18px; }

.btn.is-soon, .btn[aria-disabled="true"] {
  background: var(--sunken);
  background-image: none;
  color: var(--muted);
  box-shadow: none;
  cursor: default;
  --lift: 0px;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  text-decoration: none;
}
.arrow-link svg { width: 18px; height: 18px; transition: transform 0.4s var(--spring); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Common bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--muted);
}
.badge-dot {
  display: inline-grid;
  place-items: center;
  height: 22px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section { padding-block: clamp(72px, 11vw, 150px); }
.section-tight { padding-block: clamp(48px, 7vw, 96px); }

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(2.1rem, 5.4vw, 3.75rem); }
.section-head p { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 600px; }

.lede { color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* Soft light that follows the pointer across a card. */
.spot { isolation: isolate; overflow: hidden; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--halo), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.spot:hover::after { opacity: 1; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background-color: var(--glow-flat);
  background-image: var(--glow);
  color: #fff;
  box-shadow: var(--glow-shadow);
  flex: none;
}
.icon-tile svg { width: 26px; height: 26px; }

.icon-soft {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--sunken);
  color: var(--ink);
  flex: none;
}
.icon-soft svg { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--spring);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(24px, 5vw, 72px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.hero::before {
  /* faint dot grid that fades out toward the edges */
  content: "";
  position: absolute;
  inset: -72px 0 0;
  z-index: -1;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: clamp(48px, 6vw, 64px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.hero-copy { display: grid; gap: 1.6rem; justify-items: start; }

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 .line { display: block; }

/* Load-in: each heading line rises in turn. */
.js .hero h1 .line,
.js .hero-in {
  opacity: 0;
  transform: translateY(0.45em);
  animation: rise 1s var(--spring) forwards;
  animation-delay: calc(120ms + var(--d, 0) * 110ms);
}

@keyframes rise { to { opacity: 1; transform: none; } }

.swoosh { position: relative; display: inline-block; white-space: nowrap; }
.swoosh svg {
  position: absolute;
  left: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
}
.swoosh path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.4s 0.75s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero .lede { max-width: 560px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }

.also {
  color: var(--muted);
  font-size: 0.95rem;
}
.also a { color: var(--ink); font-weight: 650; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0;
  margin: 0.25rem 0 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust svg { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Phone + Reel stack ---------- */

.stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 0;
  perspective: 1200px;
}

.stage::before {
  /* the one warm glow behind the phone */
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(70px);
  opacity: 0.32;
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.26; }
  50% { transform: scale(1.06); opacity: 0.38; }
}

.phone {
  position: relative;
  width: clamp(232px, 26vw, 300px);
  aspect-ratio: 9 / 18.5;
  padding: 9px;
  border-radius: 46px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, -6deg)) rotateZ(2deg);
  transition: transform 0.9s var(--spring);
  transform-style: preserve-3d;
}

.phone::before {
  /* stacked cards peeking out behind: the "next" Reels */
  content: "";
  position: absolute;
  inset: 18px -14px -14px 14px;
  z-index: -1;
  border-radius: 46px;
  background: var(--sunken);
  border: 1px solid var(--line);
  transform: translateZ(-40px);
}

.screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: var(--sunken);
  isolation: isolate;
}

.reel {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--a), var(--b));
  transform: translateY(calc((var(--n) - var(--i, 0)) * 100%));
  transition: transform 1.05s var(--spring);
}
.reels.no-anim .reel { transition: none; }

.reel:nth-child(1), .reel:nth-child(5) { --a: var(--reel-1a); --b: var(--reel-1b); }
.reel:nth-child(2) { --a: var(--reel-2a); --b: var(--reel-2b); }
.reel:nth-child(3) { --a: var(--reel-3a); --b: var(--reel-3b); }
.reel:nth-child(4) { --a: var(--reel-4a); --b: var(--reel-4b); }

.reel-art { position: absolute; inset: 0; }
.reel-art i {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: var(--reel-shape);
}
/* Each Reel gets its own arrangement of plain shapes. */
.reel:nth-child(1) .reel-art i:nth-child(1), .reel:nth-child(5) .reel-art i:nth-child(1) { width: 58%; aspect-ratio: 1; left: 21%; top: 22%; }
.reel:nth-child(1) .reel-art i:nth-child(2), .reel:nth-child(5) .reel-art i:nth-child(2) { width: 140%; height: 40%; left: -20%; top: 62%; border-radius: 50%; background: var(--reel-shape-2); }
.reel:nth-child(2) .reel-art i:nth-child(1) { width: 46%; height: 34%; left: 12%; top: 18%; border-radius: 24px; transform: rotate(-8deg); }
.reel:nth-child(2) .reel-art i:nth-child(2) { width: 38%; aspect-ratio: 1; right: 10%; top: 44%; left: auto; background: var(--reel-shape-2); }
.reel:nth-child(3) .reel-art i:nth-child(1) { width: 80%; aspect-ratio: 1; left: -20%; top: 10%; }
.reel:nth-child(3) .reel-art i:nth-child(2) { width: 36%; aspect-ratio: 1; left: 50%; top: 52%; background: var(--reel-shape-2); }
.reel:nth-child(4) .reel-art i:nth-child(1) { width: 18%; height: 56%; left: 22%; top: 16%; }
.reel:nth-child(4) .reel-art i:nth-child(2) { width: 18%; height: 40%; left: 48%; top: 30%; background: var(--reel-shape-2); }

.reel-caption {
  position: absolute;
  left: 16px;
  bottom: 26px;
  right: 64px;
  display: grid;
  gap: 7px;
}
.reel-caption b { display: flex; align-items: center; gap: 8px; }
.reel-caption b::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--reel-shape); }
.reel-caption b::after, .reel-caption span { content: ""; display: block; height: 7px; border-radius: 4px; background: var(--reel-shape); }
.reel-caption b::after { width: 46%; }
.reel-caption span:nth-of-type(1) { width: 92%; opacity: 0.8; }
.reel-caption span:nth-of-type(2) { width: 64%; opacity: 0.6; }

.reel-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 3px;
  border-radius: 3px;
  background: var(--reel-shape);
  overflow: hidden;
}
.reel-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}
.reel.is-playing .reel-progress span { animation: progress var(--dur, 2800ms) linear forwards; }
.reel.is-done .reel-progress span { transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }

/* The column of buttons beside each Reel; ours sits at the bottom. */
.rail {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 30px;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.rail i {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
}
.rail-rf {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: 0 6px 18px -6px rgba(255, 74, 74, 0.9);
}
.rail-rf img { width: 100%; height: 100%; }
.rail-rf::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 15px;
  border: 2px solid #fff;
  opacity: 0;
  animation: ping 2.8s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(0.85); opacity: 0.9; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

.screen-top {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 22px;
  border-radius: 999px;
  background: var(--surface);
  transform: translateX(-50%);
  opacity: 0.9;
}

/* Floating chips around the phone */
.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem 0.55rem 0.6rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.chip small { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 650; line-height: 1.1; }
.chip strong { display: block; font-size: 1rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.chip .kbd { font-size: 0.95rem; }
.chip-count { top: 16%; left: -2%; }
.chip-speed { bottom: 22%; right: -4%; animation-delay: -2s; }
.chip-key { bottom: 6%; left: 4%; animation-delay: -4s; }
.chip-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--sunken);
}
.chip-num svg { width: 18px; height: 18px; }
.chip-count strong { transition: transform 0.5s var(--spring); }
.chip-count strong.bump { transform: scale(1.18); }

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

@media (min-width: 960px) {
  .chip-count { left: -6%; }
  .chip-speed { right: -2%; }
  .chip-key { left: 0; }
}

/* ---------- Strip ---------- */

.strip {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}
.strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.strip li { display: inline-flex; align-items: center; gap: 0.5rem; }
.strip svg { width: 18px; height: 18px; }

/* ---------- Features bento ---------- */

.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .f-auto, .f-popup, .f-limit { grid-column: span 2; }
}

@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .f-auto { grid-column: span 4; }
  .f-control, .f-speed, .f-keys, .f-count { grid-column: span 2; }
  .f-popup, .f-limit { grid-column: span 3; }
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 14px 14px 26px;
  transition: transform 0.6s var(--spring), box-shadow 0.4s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.3rem; letter-spacing: -0.025em; padding: 14px 12px 0; }
.feature p { color: var(--muted); padding: 0 12px; font-size: 1rem; }

.viz {
  position: relative;
  display: grid;
  place-items: center;
  height: 200px;
  border-radius: 14px;
  background: var(--sunken);
  overflow: hidden;
}

/* Hold looping demos until the card is on screen. */
.js [data-reveal]:not(.is-visible) .viz *,
.js [data-reveal]:not(.is-visible) .viz { animation-play-state: paused !important; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill-glow { background: var(--glow); color: var(--on-glow); border-color: transparent; }

/* Auto-Scroll demo */
.viz-auto { gap: 18px; align-content: center; padding: 18px; }
.auto-flow { display: flex; align-items: center; gap: 0.6rem; }
.auto-flow svg { width: 22px; height: 22px; color: var(--muted); }
.auto-flow .pill-glow { animation: nudge 3.2s var(--spring) infinite; }
@keyframes nudge {
  0%, 60%, 100% { transform: none; }
  70% { transform: translateY(-5px) scale(1.04); }
  82% { transform: none; }
}
.waits { display: grid; gap: 10px; justify-items: center; }
.waits-label { font-size: 0.78rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.waits ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.waits li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--muted);
  animation: wait-on 8s infinite;
  animation-delay: calc(var(--k) * 2s);
}
.waits li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
@keyframes wait-on {
  0%, 22% { background: var(--surface); color: var(--ink); border-color: transparent; box-shadow: var(--shadow-sm); }
  28%, 100% { background: transparent; color: var(--muted); border-color: var(--line-strong); box-shadow: none; }
}

/* Reel Control demo */
.mini-reel {
  position: relative;
  width: 132px;
  height: 172px;
  margin-top: 28px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(165deg, var(--reel-3a), var(--reel-3b));
  box-shadow: var(--shadow);
}
.mini-reel .rail { right: -46px; bottom: 18px; gap: 12px; }
.mini-reel .rail i { border-color: var(--muted); opacity: 0.6; width: 24px; height: 24px; }
.mini-reel .rail-rf::after { border-color: var(--glow-flat); }
.tip {
  position: absolute;
  right: 6px;
  bottom: 24px;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
  transform-origin: right center;
  animation: tip 4s var(--spring) infinite;
}
@keyframes tip {
  0%, 15% { opacity: 0; transform: translateX(8px) scale(0.9); }
  25%, 75% { opacity: 1; transform: none; }
  85%, 100% { opacity: 0; transform: translateX(8px) scale(0.9); }
}

/* Speed demo */
.viz-speed { padding: 0 28px; align-content: center; gap: 22px; }
.odo {
  height: 1.1em;
  overflow: hidden;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.odo span { display: block; text-align: center; animation: odo 10s var(--spring) infinite; }
@keyframes odo {
  0%, 15% { transform: translateY(0); }
  20%, 35% { transform: translateY(-1.1em); }
  40%, 55% { transform: translateY(-2.2em); }
  60%, 75% { transform: translateY(-3.3em); }
  80%, 95% { transform: translateY(-4.4em); }
  100% { transform: translateY(-5.5em); }
}
.track { position: relative; width: 100%; max-width: 280px; }
.track-bar { height: 6px; border-radius: 6px; background: var(--switch-off); }
.track-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  border-radius: 6px;
  background: var(--glow);
  animation: track-fill 10s var(--spring) infinite;
}
.track-thumb {
  position: absolute;
  top: -8px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 21, 28, 0.2), 0 3px 10px rgba(23, 21, 28, 0.2);
  animation: track-thumb 10s var(--spring) infinite;
}
@keyframes track-thumb {
  0%, 15% { left: 20%; } 20%, 35% { left: 40%; } 40%, 55% { left: 60%; }
  60%, 75% { left: 100%; } 80%, 95% { left: 0%; } 100% { left: 20%; }
}
@keyframes track-fill {
  0%, 15% { width: 20%; } 20%, 35% { width: 40%; } 40%, 55% { width: 60%; }
  60%, 75% { width: 100%; } 80%, 95% { width: 0%; } 100% { width: 20%; }
}
.track-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Shortcuts demo */
.viz-keys { grid-auto-flow: column; gap: 22px; }
.key {
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
.key b {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 6px 0 var(--line-strong), var(--shadow-sm);
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 800;
  animation: press 4s var(--spring) infinite;
}
.key:nth-child(2) b { animation-delay: 2s; }
@keyframes press {
  0%, 8%, 100% { transform: none; box-shadow: 0 6px 0 var(--line-strong), var(--shadow-sm); }
  3% { transform: translateY(5px); box-shadow: 0 1px 0 var(--line-strong), 0 0 0 4px var(--halo); }
}

/* Reels watched demo */
.viz-count { align-content: center; gap: 4px; text-align: center; }
.big-num {
  font-size: 4.6rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.viz-count small { color: var(--muted); font-weight: 700; font-size: 0.85rem; }

/* One Popup demo */
.mini-popup {
  width: min(300px, 86%);
  padding: 12px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}
.mini-popup header { display: flex; align-items: center; gap: 8px; padding: 2px 4px 6px; }
.mini-popup header img { width: 22px; height: 22px; }
.mp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--sunken);
}
.mp-row small { color: var(--muted); font-weight: 650; margin-left: 4px; }
.switch {
  position: relative;
  width: 36px;
  height: 22px;
  border-radius: 999px;
  background: var(--switch-off);
  flex: none;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.switch.on { background: var(--glow); }
.switch.on::after { transform: translateX(14px); }
.switch.flip { animation: flip-bg 5s var(--ease) infinite; }
.switch.flip::after { animation: flip-knob 5s var(--spring) infinite; }
@keyframes flip-bg { 0%, 40% { background: var(--switch-off); } 50%, 90% { background: var(--glow-flat); } 100% { background: var(--switch-off); } }
@keyframes flip-knob { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(14px); } 100% { transform: none; } }

/* Session Limit & Break Nudge demo */
.nudge {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(340px, 88%);
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: nudge-in 8s var(--spring) infinite;
}
.nudge strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.nudge small { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.ring { width: 46px; height: 46px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .ring-bg { stroke: var(--switch-off); }
.ring .ring-fg {
  stroke: url(#ringGlow);
  stroke-linecap: round;
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  animation: ring 8s var(--ease) infinite;
}
@keyframes ring { 0% { stroke-dashoffset: 113; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes nudge-in {
  0%, 38% { transform: translateY(0) scale(0.96); opacity: 0.55; }
  46%, 92% { transform: translateY(-4px) scale(1); opacity: 1; }
  100% { transform: translateY(0) scale(0.96); opacity: 0.55; }
}

/* ---------- How it works ---------- */

.steps {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps::before {
    content: "";
    position: absolute;
    top: 54px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--line-strong) 50%, transparent 0) 0 0 / 12px 2px repeat-x;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.6s 0.3s var(--ease);
  }
  .steps.is-visible::before, html:not(.js) .steps::before { transform: none; }
}

.step {
  position: relative;
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  padding: 28px;
}
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sunken);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.step:last-child .step-num { background: var(--glow); color: var(--on-glow); box-shadow: var(--glow-shadow); }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); }

/* ---------- Privacy ---------- */

.privacy-panel {
  display: grid;
  gap: 40px;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
}

@media (min-width: 900px) {
  .privacy-panel { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
}

.privacy-panel h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.privacy-panel .lede { margin-top: 1rem; }

.shield {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  margin: 8px auto 0;
}
.shield span {
  position: absolute;
  inset: calc(var(--k) * 15%);
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  animation: ripple 6s var(--ease) infinite;
  animation-delay: calc(var(--k) * -2s);
}
@keyframes ripple {
  0% { transform: scale(0.6); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}
.shield .icon-tile { width: 88px; height: 88px; border-radius: 26px; }
.shield .icon-tile svg { width: 42px; height: 42px; }

.checks {
  display: grid;
  gap: 4px;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.checks li:first-child { border-top: 0; }
.checks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.checks strong { display: block; font-weight: 750; }
.checks span { color: var(--muted); font-size: 0.97rem; }
.checks code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--sunken);
}

/* ---------- Install ---------- */

.stores {
  display: grid;
  gap: 16px;
}
.stores { max-width: 860px; margin-inline: auto; }
@media (min-width: 720px) {
  .stores { grid-template-columns: repeat(2, 1fr); }
}

.store {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 28px;
  border: 2px solid var(--line);
  transition: transform 0.6s var(--spring), box-shadow 0.4s var(--ease);
}
.store:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.store h3 { font-size: 1.35rem; }
.store p { color: var(--muted); font-size: 0.97rem; }
.store .btn { justify-self: start; margin-top: 0.4rem; }
.store-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.store-tag {
  display: none;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--sunken);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.store.is-detected {
  border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--glow) border-box;
  box-shadow: var(--glow-shadow);
}
.store.is-detected .store-tag { display: inline-block; }
.store:not(.is-detected) .btn-glow {
  background: var(--surface);
  background-image: none;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.store:not(.is-detected) .btn-glow.is-soon { background: var(--sunken); color: var(--muted); box-shadow: none; border-color: transparent; }

.note { color: var(--muted); font-size: 0.95rem; text-align: center; margin-top: 1.75rem; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }

.faq details {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 750;
  font-size: 1.07rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sunken);
  flex: none;
  transition: transform 0.5s var(--spring), background-color 0.3s;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { transform: rotate(135deg); }
.faq .answer { padding: 0 1.35rem 1.3rem; color: var(--muted); max-width: 680px; }
.faq .answer a { color: var(--ink); font-weight: 650; }

.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* ---------- Help-it-grow band ---------- */

.band {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(32px, 6vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  top: -60%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(80px);
  opacity: 0.2;
}
@media (min-width: 860px) {
  .band { grid-template-columns: 1.2fr auto; align-items: center; }
}
.band h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.band p { color: var(--muted); margin-top: 0.8rem; max-width: 520px; }
.band-icons { display: flex; gap: 10px; margin-top: 1.4rem; }
.band-icons span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sunken); }
.band-icons svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-block: 48px 40px;
  color: var(--muted);
  font-size: 0.93rem;
}
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
}
.footer-brand { display: flex; gap: 0.85rem; align-items: flex-start; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand strong { color: var(--ink); font-size: 1rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.87rem;
}

/* ---------- Inner pages ---------- */

.page-hero {
  padding-top: clamp(32px, 7vw, 96px);
  padding-bottom: clamp(32px, 5vw, 64px);
  text-align: center;
}
.page-hero .wrap { display: grid; justify-items: center; gap: 1.25rem; }
.page-hero h1 { font-size: clamp(2.6rem, 7.5vw, 5rem); letter-spacing: -0.05em; line-height: 1; }
.page-hero .lede { max-width: 620px; }

.mark {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 0.5rem;
}
.mark img { position: relative; z-index: 1; width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(255, 74, 74, 0.35)); }
.mark::before {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(40px);
  opacity: 0.25;
  animation: breathe 7s ease-in-out infinite;
}
.mark .check {
  position: absolute;
  z-index: 2;
  right: -10px;
  bottom: -10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--accent);
}
.mark .check svg { width: 22px; height: 22px; }
.mark .check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.7s 0.9s var(--ease) forwards; }
.js .mark .check { transform: scale(0); animation: pop 0.6s 0.7s var(--spring) forwards; }
@keyframes pop { to { transform: scale(1); } }

/* Welcome: setup steps */
.setup { display: grid; gap: 16px; }
@media (min-width: 860px) { .setup { grid-template-columns: repeat(3, 1fr); } }
.setup .card { display: grid; gap: 0.8rem; align-content: start; padding: 28px; }
.setup h2 { font-size: 1.35rem; letter-spacing: -0.025em; }
.setup p { color: var(--muted); }
.setup .btn { justify-self: start; margin-top: 0.4rem; }
.setup-viz {
  display: grid;
  place-items: center;
  height: 120px;
  border-radius: 14px;
  background: var(--sunken);
  margin-bottom: 0.5rem;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.toolbar i { display: block; width: 22px; height: 6px; border-radius: 3px; background: var(--sunken); }
.toolbar i:first-child { width: 70px; }
.toolbar img { width: 24px; height: 24px; animation: pin-in 4s var(--spring) infinite; }
.toolbar svg { width: 20px; height: 20px; color: var(--muted); }
@keyframes pin-in {
  0%, 20% { transform: translateY(-26px) scale(0.6); opacity: 0; }
  35%, 85% { transform: none; opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.setup-keys { display: flex; gap: 14px; }
.setup-keys .key b { width: 56px; height: 56px; font-size: 1.35rem; border-radius: 15px; }

.news { display: grid; gap: 14px; }
@media (min-width: 700px) { .news { grid-template-columns: repeat(2, 1fr); } }
.news .card { display: flex; gap: 1rem; padding: 22px; align-items: flex-start; }
.news .card:first-child { grid-column: 1 / -1; }
.news h3 { font-size: 1.12rem; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.news p { color: var(--muted); font-size: 0.98rem; }

.soft-nudge {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  padding: clamp(28px, 5vw, 48px);
}
.soft-nudge h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.soft-nudge p { color: var(--muted); }
.stars { display: flex; gap: 4px; color: var(--glow-flat); }
.stars svg { width: 24px; height: 24px; animation: twinkle 3.2s var(--spring) infinite; animation-delay: calc(var(--k) * 120ms); }
@keyframes twinkle { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(-5px) scale(1.15); } }

/* Support */
.primary-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .primary-cards { grid-template-columns: repeat(3, 1fr); } }
.p-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
  transition: transform 0.6s var(--spring), box-shadow 0.4s var(--ease);
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.p-card h2 { font-size: 1.65rem; }
.p-card > p { color: var(--muted); }
.p-card .icon-tile { margin-bottom: 0.4rem; }
.p-card .btn { justify-self: start; }
.p-num { font-size: 0.8rem; font-weight: 800; color: var(--muted); letter-spacing: 0.08em; }
.p-head { display: flex; justify-content: space-between; align-items: flex-start; }
.small-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.92rem; color: var(--muted); }
.small-links a { color: var(--ink); font-weight: 650; }

.share-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--spring), border-color 0.2s, background-color 0.2s;
}
.share-btn:hover { transform: translateY(-2px); border-color: var(--muted); }
.share-btn:active { transform: translateY(1px); }
.share-btn svg { width: 18px; height: 18px; }
.share-btn.is-copied { background: var(--sunken); border-color: transparent; color: var(--accent); }
.share-native { grid-column: 1 / -1; }
.share-msg {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--sunken);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.star-count {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.6rem;
  margin-left: 0.2rem;
  border-radius: 999px;
  background: rgba(23, 21, 28, 0.12);
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
}
.star-count[hidden] { display: none; }

.help-row { display: grid; gap: 14px; }
@media (min-width: 820px) { .help-row { grid-template-columns: repeat(3, 1fr); } }
.h-card { display: grid; gap: 0.6rem; align-content: start; padding: 24px; }
.h-card h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.h-card p { color: var(--muted); font-size: 0.97rem; }
.h-card .links { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin-top: 0.3rem; font-size: 0.95rem; }

.thanks {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.35;
  max-width: 640px;
  margin-inline: auto;
}
.thanks .heart { display: inline-block; color: var(--glow-flat); animation: beat 2.4s var(--spring) infinite; }
@keyframes beat { 0%, 60%, 100% { transform: none; } 66% { transform: scale(1.25); } 74% { transform: scale(0.95); } 82% { transform: scale(1.1); } }

/* Forms (Report, Goodbye) */
.form-card { padding: clamp(22px, 4vw, 40px); display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { font-weight: 750; font-size: 0.95rem; }
.hint { color: var(--muted); font-size: 0.88rem; font-weight: 500; }
input[type="text"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--canvas);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
input[type="text"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--halo);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6875' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}

.paths { display: grid; gap: 12px; }
@media (min-width: 620px) { .paths { grid-template-columns: 1fr 1fr; } }
.path {
  display: grid;
  gap: 0.35rem;
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.path strong { font-size: 1.05rem; }
.path p { color: var(--muted); font-size: 0.92rem; }
.path .btn { margin-top: 0.5rem; justify-self: start; }

.reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 0;
  margin: 0;
  padding: 0;
}
.reasons legend { font-weight: 750; margin-bottom: 0.75rem; padding: 0; }
.reason input { position: absolute; opacity: 0; pointer-events: none; }
.reason span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  transition: transform 0.4s var(--spring), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.reason span:hover { border-color: var(--muted); transform: translateY(-2px); }
.reason input:checked + span {
  background: var(--glow);
  border-color: transparent;
  color: var(--on-glow);
  box-shadow: var(--glow-shadow);
}
.reason input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.callout {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  background: var(--sunken);
  color: var(--muted);
  font-size: 0.95rem;
}
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--ink); }
.callout strong { color: var(--ink); }

.tips { display: grid; gap: 0.5rem; margin: 0; padding-left: 1.2rem; color: var(--muted); }

/* Prose (Privacy) */
.prose { display: grid; gap: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.5rem; letter-spacing: -0.025em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul { display: grid; gap: 0.4rem; margin: 0; padding-left: 1.2rem; }

/* 404 */
.lost {
  position: relative;
  width: 180px;
  height: 300px;
  margin: 0 auto 1rem;
  border-radius: 34px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  padding: 7px;
  transform: rotate(-4deg);
}
.lost .screen { border-radius: 28px; display: grid; place-items: center; }
.lost .big-num { font-size: 3.2rem; color: var(--muted); }
.lost .screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, var(--sunken));
  animation: scan 3.4s var(--ease) infinite;
  opacity: 0.6;
}
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

.stack-gap > * + * { margin-top: clamp(16px, 2vw, 24px); }
.center { text-align: center; }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero h1 .line, .js .hero-in { opacity: 1; transform: none; }
  .phone { transform: none; }
  /* Show the demos at a sensible resting frame. */
  .waits li:first-child { background: var(--surface); color: var(--ink); border-color: transparent; }
  .ring .ring-fg { stroke-dashoffset: 0; }
  .chip, .stage::before, .mark::before, .nudge, .tip { animation: none !important; }
  .nudge, .tip { opacity: 1; }
}

/* ---------- Small additions ---------- */

.inline-icon { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
.eyebrow .inline-icon { color: var(--accent); }
.pill .inline-icon { width: 16px; height: 16px; }
.js:not(.is-mobile) .mobile-note { display: none; }
.mobile-note .inline-icon { margin-right: 0.3rem; }
.setup .card .eyebrow { margin-top: 0.2rem; }
[hidden] { display: none !important; }

@media (max-width: 480px) {
  .site-header .btn-sm svg { display: none; }
  .site-header .btn-sm { padding-inline: 0.95rem; }
  .brand span { font-size: 0.98rem; }
}
@media (max-width: 340px) {
  .brand span { display: none; }
}
.paths:has(> [hidden]) { grid-template-columns: 1fr; }
.btn.is-soon svg { display: none; }
