/* ki-bo.com. Tokens mirror the iOS app (Sources/Design: KiboColors, KiboSurface,
   KiboSpacing, KiboAnimations.Motion) so the site reads like the app. */

:root {
  color-scheme: light dark;
  --accent: #FF6B5B;
  --accent-deep: #D9412F;
  --accent-soft: #FFE6E1;
  --accent-ink: #C2382A;          /* small accent text: 5.1:1 on paper */
  --grad-a: #E4503F;              /* headline gradient, large text only */
  --grad-b: #C2382A;
  --paper: #FAF9F7;
  --warm-paper: #FCF6F0;
  --cream: #FDEEDC;
  --peach: #FCDAC2;
  --ink: #0F0F14;
  --text: #17141A;
  --muted: #6B6560;               /* 5.4:1 on paper */
  --sheet: #FFFBF8;
  --card: #FFFFFF;
  --line: rgba(60, 35, 28, 0.09);
  --track: #EBE0DA;
  --income: #178A46;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-solid: rgba(255, 255, 255, 0.94);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --shadow: 0 1px 2px rgba(60, 35, 28, 0.06), 0 12px 32px rgba(60, 35, 28, 0.10);
  --shadow-lg: 0 2px 6px rgba(60, 35, 28, 0.08), 0 30px 70px rgba(120, 40, 25, 0.18);
  --bloom: rgba(255, 107, 91, 0.30);
  --bloom-2: rgba(252, 218, 194, 0.85);

  --s-xs: 4px; --s-sm: 8px; --s-md: 12px; --s-lg: 16px; --s-xl: 24px; --s-2xl: 32px; --s-3xl: 48px;
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 36px;

  /* KiboAnimations.Motion: quick 150 ms and standard 250 ms never overshoot;
     emphasized is spring(0.4 s, bounce 0.2), sampled into linear(). */
  --ease-std: cubic-bezier(0.2, 0, 0, 1);
  --ease-emph: cubic-bezier(0.34, 1.3, 0.64, 1);
  --t-quick: 150ms;
  --t-std: 250ms;
  --t-emph: 700ms;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1160px;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --ease-emph: linear(0, 0.082, 0.256, 0.448, 0.621, 0.76, 0.861, 0.93, 0.974, 0.999, 1.011, 1.015, 1.015, 1.013, 1.01, 1.007, 1.004, 1.003, 1.001, 1);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #FF8A7C;
    --accent-deep: #FF6B5B;
    --accent-soft: #3F2521;
    --accent-ink: #FF8A7C;
    --grad-a: #FFA295;
    --grad-b: #FF7564;
    --paper: #110E0E;
    --warm-paper: #1C1416;
    --cream: #241A18;
    --peach: #2E201C;
    --text: #F6F1EE;
    --muted: #A8A09C;
    --sheet: #1E1B1A;
    --card: #242020;
    --line: rgba(255, 240, 235, 0.08);
    --track: #3A3433;
    --income: #3FCB6E;
    --glass: rgba(44, 38, 37, 0.55);
    --glass-solid: rgba(36, 32, 32, 0.96);
    --glass-edge: rgba(255, 240, 235, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 30px 70px rgba(0, 0, 0, 0.55);
    --bloom: rgba(255, 107, 91, 0.22);
    --bloom-2: rgba(120, 40, 28, 0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }

/* The emphasised word, like the captions in the store frames. */
.em {
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}

/* ─── Glass (Liquid Glass translated to CSS) ───────────────────── */
.glass {
  background: var(--glass-solid);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ─── Header ───────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  padding: 10px 0;
}
.top-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 12px;
  border-radius: 999px;
  transition: box-shadow var(--t-std) var(--ease-std), background-color var(--t-std) var(--ease-std);
}
.top:not(.scrolled) .top-bar { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(217, 65, 47, 0.25); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  transition: background-color var(--t-quick) var(--ease-std);
}
.nav a:hover { background: var(--line); }
.nav .lang { border: 1px solid var(--line); font-weight: 700; letter-spacing: 0.04em; }
.nav .get { background: var(--ink); color: #fff; }
.nav .get:hover { background: #2a2a33; }
@media (prefers-color-scheme: dark) { .nav .get { background: #F6F1EE; color: #110E0E; } .nav .get:hover { background: #fff; } }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* ─── Store badges ─────────────────────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 9px 20px 9px 16px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform var(--t-quick) var(--ease-std), box-shadow var(--t-std) var(--ease-std);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 14px 28px rgba(0, 0, 0, 0.24); }
.store:active { transform: scale(0.97); }
.store svg { flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.9; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

.badges .store:only-child { flex: none; }
@media (max-width: 420px) {
  .badges { gap: 8px; }
  .store { min-height: 50px; padding: 8px 14px 8px 11px; gap: 8px; border-radius: 12px; }
  .store b { font-size: 16.5px; }
  .store small { font-size: 10px; }
  .store svg { width: 19px; height: 22px; }
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding: 24px 0 56px; overflow: clip; }
.hero::before {
  /* CoralBackdrop: a coral pool blooming into paper. */
  content: ""; position: absolute; inset: -80px 0 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 18%, var(--bloom), transparent 70%),
    radial-gradient(55% 50% at 12% 0%, var(--bloom-2), transparent 70%),
    linear-gradient(180deg, var(--warm-paper), var(--paper) 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7.2vw, 84px); margin-bottom: 22px; }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 33ch; margin-bottom: 30px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero .note b { color: var(--text); font-weight: 650; }
.hero-art { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: 8px; }
}

/* ─── Device ───────────────────────────────────────────────────── */
.phone {
  --w: 300px;
  position: relative;
  width: var(--w); max-width: 76vw;
  aspect-ratio: 1320 / 2868;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.155);
  background: linear-gradient(145deg, #3a3a40, #121216 40%, #26262c);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  flex-shrink: 0;
}
.phone img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: calc(var(--w) * 0.125);
  background: var(--card);
}
.phone.sm { --w: 250px; }
.phone.lg { --w: 320px; }

/* Floating glass chips next to the phones, built from catalog images. */
.chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 22px;
  font-size: 14px; line-height: 1.25;
  white-space: nowrap;
}
.chip img { width: 44px; height: 44px; border-radius: 13px; }
.chip .t { font-weight: 700; color: var(--text); }
.chip .s { color: var(--muted); font-size: 12.5px; }
.chip .amt { font-family: var(--font-round); font-weight: 700; font-size: 17px; margin-left: 6px; font-variant-numeric: tabular-nums; }
.chip.pill { padding: 8px 14px 8px 8px; border-radius: 999px; gap: 8px; font-weight: 700; }
.chip.pill img { width: 28px; height: 28px; border-radius: 9px; }
.chip .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--income); display: grid; place-items: center; }
.chip .tick svg { width: 12px; height: 12px; }

.hero-art .c1 { left: max(-8px, calc(50% - 250px)); top: 22%; }
.hero-art .c2 { right: max(-8px, calc(50% - 250px)); top: 44%; }
.hero-art .c3 { left: max(0px, calc(50% - 230px)); bottom: 16%; }
.total-k { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.total-v { font-family: var(--font-round); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.c3 { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 18px; }
@media (max-width: 520px) {
  .hero-art .c1 { left: 0; top: 16%; }
  .hero-art .c2 { right: 0; top: 46%; }
  .hero-art .c3 { left: 4px; bottom: 10%; }
  .chip { font-size: 13px; }
  .chip img { width: 38px; height: 38px; }
}

/* ─── Sections ─────────────────────────────────────────────────── */
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
.eyebrow img { width: 34px; height: 34px; border-radius: 10px; }
.sec h2 { font-size: clamp(36px, 5.2vw, 60px); margin-bottom: 18px; }
.sec .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 46ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.flip .feature-copy { order: 2; }
.feature-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.feature-art::before {
  content: ""; position: absolute; inset: 6% 2%; z-index: -1; border-radius: 48px;
  background: radial-gradient(70% 60% at 50% 45%, var(--bloom-2), transparent 75%);
}
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-copy { order: 0; }
  .feature-art { min-height: 0; }
}

.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.points li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9412F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Logging steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); background: var(--card);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.step-copy { padding: 26px 26px 0; }
.step h3 { font-size: 24px; margin-bottom: 8px; letter-spacing: -0.025em; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .num { font-family: var(--font-round); font-weight: 800; font-size: 14px; color: var(--accent-ink); margin-bottom: 10px; display: block; }
.step-art {
  position: relative; margin-top: 24px; flex: 1;
  min-height: 300px;
  display: flex; justify-content: center; align-items: flex-start;
  background: linear-gradient(180deg, transparent, var(--accent-soft));
  overflow: hidden;
}
.step-art .phone { --w: 230px; margin-bottom: -210px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* Typing demo inside step 3 */
.typer { position: absolute; inset: 28px 18px auto; display: grid; gap: 12px; justify-items: center; }
.field {
  width: 100%; max-width: 280px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 18px;
  font-size: 17px; font-weight: 650;
}
.field .amt { margin-left: auto; font-family: var(--font-round); font-weight: 800; font-variant-numeric: tabular-nums; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent-ink); vertical-align: -0.18em; margin-left: 1px; }
.cat {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line);
  font-weight: 700; font-size: 15px;
}
.cat img { width: 32px; height: 32px; border-radius: 10px; }
.cat small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.row-landed {
  width: 100%; max-width: 280px; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 18px; background: var(--card);
  box-shadow: var(--shadow); border: 1px solid var(--line); font-size: 15px;
}
.row-landed img { width: 42px; height: 42px; border-radius: 12px; }
.row-landed b { display: block; font-size: 15px; }
.row-landed small { color: var(--muted); font-size: 12.5px; }
.row-landed .amt { margin-left: auto; font-family: var(--font-round); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Two-up cards (Spaces, savings jars) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.duo-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(26px, 3.5vw, 40px) clamp(24px, 3.5vw, 40px) 0;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.duo-card.tint-a { background: linear-gradient(170deg, var(--card) 30%, var(--accent-soft)); }
.duo-card.tint-b { background: linear-gradient(170deg, var(--card) 30%, var(--cream)); }
.duo-card h3 { font-size: clamp(26px, 3vw, 34px); margin: 4px 0 10px; }
.duo-card p { color: var(--muted); max-width: 40ch; }
.duo-art {
  position: relative; display: flex; justify-content: center;
  /* flex-start keeps the phone at its real aspect ratio; stretch squashed it to
     the box height and object-fit cropped the screenshot's middle. The card
     crops the phone's bottom instead, with a soft fade. */
  align-items: flex-start;
  margin-top: 32px; height: 420px; overflow: hidden;
}
.duo-art .phone {
  --w: 280px;
  /* Fade only the phone where the card cuts it, so the chip on top stays crisp. */
  -webkit-mask-image: linear-gradient(to bottom, #000 330px, transparent 420px);
  mask-image: linear-gradient(to bottom, #000 330px, transparent 420px);
}
.duo-card .chip { bottom: 40px; white-space: normal; width: max-content; max-width: calc(100% - 24px); text-align: left; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* Make it yours */
.yours { padding: clamp(56px, 8vw, 96px) 0; overflow: hidden; }
.icons { display: flex; gap: clamp(10px, 2vw, 22px); justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.icons img {
  width: clamp(56px, 8vw, 96px); height: clamp(56px, 8vw, 96px);
  border-radius: 23%; box-shadow: var(--shadow);
  transition: transform var(--t-emph) var(--ease-emph);
}
.icons img:hover { transform: translateY(-6px) rotate(-4deg); }
.swatches { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }

/* Small things grid */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.extra { padding: 24px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.extra h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.extra p { color: var(--muted); font-size: 15px; }
.tag { font-size: 11.5px; font-weight: 750; letter-spacing: 0.03em; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.tag.ios { background: var(--line); color: var(--text); }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .extras { grid-template-columns: 1fr; } }

/* ─── Premium ──────────────────────────────────────────────────── */
.premium { background: linear-gradient(180deg, var(--paper), var(--warm-paper) 30%, var(--paper)); }
.trial {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  padding: 10px 18px 10px 10px; border-radius: 999px; font-weight: 650; font-size: 15px;
}
.trial img { width: 36px; height: 36px; border-radius: 11px; }
.plans { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 48px; align-items: start; }
.compare { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; padding: 22px 24px 6px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: middle; }
.compare thead th { border-top: 0; font-size: 12.5px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 14px; }
.compare thead th:last-child { color: var(--accent-ink); }
.compare tbody th { font-weight: 600; }
.compare tbody th span { display: flex; align-items: center; gap: 12px; }
.compare tbody th img { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.compare td { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.compare td:last-child { color: var(--text); font-weight: 700; }
.compare tfoot td, .compare tfoot td:last-child { white-space: normal; font-size: 13.5px; padding: 14px 24px 20px; font-weight: 400; color: var(--muted); }
@media (max-width: 560px) {
  .compare th, .compare td { padding: 10px 8px; font-size: 14px; }
  .compare tbody th img { width: 28px; height: 28px; }
  .compare tbody th span { gap: 8px; }
  .compare td:last-child { white-space: normal; }
  .compare caption { padding: 18px 16px 6px; }
}

.prices { display: grid; gap: 14px; }
.price {
  position: relative; padding: 22px 24px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline;
}
.price.best { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price h3 { font-size: 19px; letter-spacing: -0.015em; }
.price .v { font-family: var(--font-round); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; text-align: right; font-variant-numeric: tabular-nums; }
.price .v small { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price p { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.price .flag { position: absolute; top: -11px; left: 20px; font-size: 12px; font-weight: 750; padding: 3px 10px; border-radius: 999px; background: var(--accent-deep); color: #fff; }
@media (prefers-color-scheme: dark) { .price .flag { background: #FF8A7C; color: #2A0B06; } }
.prices .fine { margin-top: 6px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ─── Privacy ──────────────────────────────────────────────────── */
.privacy-card {
  border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px);
  background: var(--ink); color: #F6F1EE;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.privacy-card::after {
  content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 107, 91, 0.35), transparent);
}
.privacy-card h2 { color: #fff; }
.privacy-card .em { background-image: linear-gradient(120deg, #FFA295, #FF6B5B); }
.privacy-card .lead { color: rgba(246, 241, 238, 0.78); }
.privacy-card a { color: #FFA295; }
.privacy-card .points li::before { background-color: rgba(255, 138, 124, 0.18); }
.privacy-card .cat-sleep { width: 120px; height: 120px; border-radius: 28px; margin-bottom: 24px; }
@media (max-width: 900px) { .privacy-card { grid-template-columns: 1fr; } }

/* ─── FAQ ──────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg); transition: transform var(--t-std) var(--ease-std);
}
.faq details[open] summary::after { transform: translateY(5px) rotate(225deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }
.faq details > div p + p { margin-top: 10px; }

/* ─── Final CTA + footer ───────────────────────────────────────── */
.final { text-align: center; }
.final .cats { display: flex; justify-content: center; gap: 14px; margin-bottom: 26px; }
.final .cats img { width: 84px; height: 84px; border-radius: 22%; box-shadow: var(--shadow); }
.final .cats img:nth-child(2) { transform: translateY(-10px); width: 100px; height: 100px; }
.final .badges { justify-content: center; margin-top: 30px; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14.5px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.foot nav a:hover { text-decoration: underline; }
.foot .brand { font-size: 17px; }
.foot .brand img { width: 30px; height: 30px; border-radius: 8px; }

/* ─── Motion ───────────────────────────────────────────────────────
   Content rests visible. The hero entrance is a CSS animation that runs
   once on load and ends visible whatever JS or the scroll does. Section
   reveals are scroll-driven (animation-timeline: view()) where supported,
   so anything inside the viewport is at its final, visible state; browsers
   without support show the content with no motion. */
@keyframes k-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes k-phone { from { opacity: 0; transform: translateY(60px) scale(0.96); } }
@keyframes k-pop { from { opacity: 0; transform: translateY(14px) scale(0.9); } }
@keyframes k-reveal { from { opacity: 0.001; transform: translateY(32px); } }

@media (prefers-reduced-motion: no-preference) {
  .hero .rise { animation: k-rise var(--t-emph) var(--ease-emph) both; animation-delay: calc(var(--i, 0) * 60ms); }
  .hero .phone { animation: k-phone 900ms var(--ease-emph) 120ms both; }
  .hero .chip { animation: k-pop var(--t-emph) var(--ease-emph) both; }
  .hero .c1 { animation-delay: 800ms; }
  .hero .c2 { animation-delay: 1180ms; }
  .hero .c3 { animation-delay: 1560ms; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: k-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0px entry 180px;
    }
  }
}

/* Typing demo: hidden states apply only while site.js plays it. */
.typer.playing .cat, .typer.playing .row-landed { opacity: 0; transform: translateY(10px) scale(0.94); }
.typer.playing.show-cat .cat, .typer.playing.show-row .row-landed { opacity: 1; transform: none; transition: opacity 250ms var(--ease-std), transform var(--t-emph) var(--ease-emph); }
.typer.playing.show-row .field { opacity: 0.45; transition: opacity var(--t-std) var(--ease-std); }
.typer.done .caret { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .icons img, .store, .faq summary::after { transition: none; }
  .icons img:hover, .store:hover { transform: none; }
}
@media print { .top, .hero::before { display: none; } * { animation: none !important; } }
.phone picture { display: block; width: 100%; height: 100%; }
/* Overview and recap side by side, the recap a step forward. */
.feature-art.pair { gap: 0; }
.pair .back { transform: translateX(14%) rotate(-4deg) scale(0.94); opacity: 0.96; }
.pair .front { transform: translateX(-14%) translateY(24px) rotate(3deg); z-index: 1; }
@media (max-width: 600px) { .pair .phone { --w: 200px; max-width: 46vw; } .pair .front { transform: translateX(-8%) translateY(18px) rotate(3deg); } .pair .back { transform: translateX(8%) rotate(-4deg) scale(0.94); } }
