/* ═══════════════════════════════════════════════════════════════
   NotiTodo — marketing site
   Tokens mirror the app: constants/Colors.ts and constants/motion.ts
   ═══════════════════════════════════════════════════════════════ */

/* ── tokens ───────────────────────────────────────────────── */
:root {
  /* APP_COLORS */
  --bg:          #FAF7F2;
  --card:        #FFFFFF;
  --surface-alt: #F2EEE7;
  --text:        #1F1B16;
  --muted:       #7A7269;
  --faint:       #B8B0A5;
  --border:      #EBE5DA;
  --accent:      #FF8A5B;
  --danger:      #E55B5B;
  --success:     #4E9440;

  /* TASK_COLORS.light */
  --peach-bg:#FFD9C4; --peach-fg:#7A3E22; --peach-dot:#FF8A5B;
  --sage-bg:#CFE4C8;  --sage-fg:#2F5A35;  --sage-dot:#7CB36F;
  --sky-bg:#C7DDF0;   --sky-fg:#1F4870;   --sky-dot:#5C9DD9;
  --lav-bg:#DFD2EE;   --lav-fg:#4A3573;   --lav-dot:#9881C7;
  --butter-bg:#FBE8A6;--butter-fg:#6E5510;--butter-dot:#D9B340;
  --rose-bg:#F4C7D2;  --rose-fg:#7A2F45;  --rose-dot:#D9728C;
  --plain-bg:#F0EBE2; --plain-fg:#5C544A; --plain-dot:#C4BBAC;

  /* the ink section inverts, whatever the theme */
  --ink-bg:   #1F1B16;
  --ink-text: #F4EFE6;
  --ink-muted:#A69C8E;

  /* radii — CARD_RADIUS 22, sheet 32, pills 100, badges 8 */
  --r-card:  22px;
  --r-sheet: 32px;
  --r-pill:  100px;
  --r-badge: 8px;

  /* motion — DURATION.in 200 / DURATION.out 140 */
  --in:  200ms;
  --out: 140ms;
  --ease: cubic-bezier(.22,.61,.36,1);

  --shadow-sm: 0 2px 8px rgba(31,27,22,.05);
  --shadow-md: 0 8px 24px rgba(31,27,22,.07);
  --shadow-lg: 0 24px 60px rgba(31,27,22,.12);
  --shadow-fab: 0 8px 16px rgba(31,27,22,.15);

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 40px);

  color-scheme: light;
}

/* DARK_COLORS + TASK_COLORS.dark */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; }
}
:root[data-theme="dark"] { color-scheme: dark; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#161310; --card:#221E1A; --surface-alt:#2D2924;
    --text:#F4EFE6; --muted:#9E968A; --faint:#5C544A;
    --border:#332E28; --accent:#FFA079; --danger:#F08080; --success:#5FA850;

    --peach-bg:#5A3324; --peach-fg:#FFD2B8;
    --sage-bg:#2D4A2F;  --sage-fg:#C5E4BD;
    --sky-bg:#23425E;   --sky-fg:#BCD7EE;
    --lav-bg:#3E305C;   --lav-fg:#D8C9EA;
    --butter-bg:#5C4715;--butter-fg:#F8E29D;
    --rose-bg:#5C2937;  --rose-fg:#F0BECC;
    --plain-bg:#2D2924; --plain-fg:#9E968A; --plain-dot:#5C544A;

    --ink-bg:#221E1A;

    --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,.36);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
    --shadow-fab: 0 8px 16px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"] {
  --bg:#161310; --card:#221E1A; --surface-alt:#2D2924;
  --text:#F4EFE6; --muted:#9E968A; --faint:#5C544A;
  --border:#332E28; --accent:#FFA079; --danger:#F08080; --success:#5FA850;

  --peach-bg:#5A3324; --peach-fg:#FFD2B8;
  --sage-bg:#2D4A2F;  --sage-fg:#C5E4BD;
  --sky-bg:#23425E;   --sky-fg:#BCD7EE;
  --lav-bg:#3E305C;   --lav-fg:#D8C9EA;
  --butter-bg:#5C4715;--butter-fg:#F8E29D;
  --rose-bg:#5C2937;  --rose-fg:#F0BECC;
  --plain-bg:#2D2924; --plain-fg:#9E968A; --plain-dot:#5C544A;

  --ink-bg:#221E1A;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,.36);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
  --shadow-fab: 0 8px 16px rgba(0,0,0,.45);
}

/* ── reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--in) var(--ease), color var(--in) var(--ease);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 700; }
i, em { font-style: italic; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #1F1B16;
  padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px;
  transition: top var(--in) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ── layout ───────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 760px; }

.section { padding: clamp(72px, 11vw, 132px) 0; }
.section-alt { background: var(--surface-alt); }

/* ── type ─────────────────────────────────────────────────── */
h1 {
  font-size: clamp(2.35rem, 6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 700;
}
h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -.018em;
  font-weight: 700;
}

/* the app's uppercase section label: 11.5 / 600 / .6 tracking */
.kicker {
  font-size: .719rem;
  font-weight: 700;
  letter-spacing: .085em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head { max-width: 660px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  margin-top: 18px;
}
.ink-accent { color: var(--accent); }

/* ── buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px;
  border-radius: 26px;
  font-size: .9375rem; font-weight: 700; letter-spacing: -.012em;
  white-space: nowrap;
  transition: transform var(--out) var(--ease),
              background var(--out) var(--ease),
              border-color var(--out) var(--ease),
              box-shadow var(--out) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.985); }

.btn-primary {
  background: var(--accent);
  color: #241009;
  box-shadow: var(--shadow-fab);
}
.btn-primary:hover { filter: brightness(1.04); }

.btn-ghost {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--faint); }

.btn-sm { height: 40px; padding: 0 18px; font-size: .875rem; border-radius: 20px; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 1rem; border-radius: 29px; }

/* ── nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--in) var(--ease), background var(--in) var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--border); }

.nav-inner {
  display: flex; align-items: center; gap: 20px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-mark-sm { width: 40px; height: 40px; border-radius: 13px; }
.brand-mark-sm svg { width: 30px; height: 30px; }
.brand-name { font-weight: 700; font-size: 1.0625rem; letter-spacing: -.028em; }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: .9063rem; font-weight: 600; color: var(--muted);
  letter-spacing: -.012em;
  transition: color var(--out) var(--ease);
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-links + .nav-actions { margin-left: 0; }
.nav-links:not(:last-child) ~ .nav-actions { margin-left: 0; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 19px;
  display: grid; place-items: center;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--card);
  transition: color var(--out) var(--ease), border-color var(--out) var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--faint); }
.theme-toggle svg { width: 17px; height: 17px; }
.ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ic-sun { display: none; }
  :root:not([data-theme="light"]) .ic-moon { display: block; }
}
:root[data-theme="dark"] .ic-sun { display: none; }
:root[data-theme="dark"] .ic-moon { display: block; }
:root[data-theme="light"] .ic-sun { display: block; }
:root[data-theme="light"] .ic-moon { display: none; }

@media (max-width: 900px) { .nav-links { display: none; } .nav-inner { justify-content: space-between; } .nav-actions { margin-left: auto; } }

/* ── hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 780px;
  background:
    radial-gradient(46% 52% at 22% 34%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 68%),
    radial-gradient(40% 46% at 78% 20%, color-mix(in srgb, var(--lav-dot) 20%, transparent), transparent 66%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 14px 6px 11px;
  margin-bottom: 26px;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 4px; flex: none;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 22%, transparent);
}

.lede {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.7vw, 1.1875rem);
  line-height: 1.62;
  max-width: 34em;
  margin-top: 24px;
}
.lede strong { color: var(--text); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-center { justify-content: center; }

.hero-facts {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 28px;
}
.hero-facts li,
.check-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: .875rem; font-weight: 600; color: var(--muted);
}
.tick {
  width: 17px; height: 17px; border-radius: 9px; flex: none;
  background: color-mix(in srgb, var(--success) 16%, transparent);
  position: relative;
}
.tick::after {
  content: ""; position: absolute;
  left: 5px; top: 4px; width: 5px; height: 8px;
  border: solid var(--success); border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.check-list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 28px; }
.check-list li { font-size: .9375rem; }

/* ── phone / notification shade ───────────────────────────── */
.hero-phone { justify-self: center; width: 100%; max-width: 380px; }

/* 300px of screen inside an 11px bezel. Capped rather than fluid, because
   the screen's height comes from its width — let the width float and the
   handset drifts towards a tablet in the wider columns. */
.phone {
  position: relative;
  max-width: 322px;
  margin-inline: auto;
  border-radius: 44px;
  padding: 11px;
  background: linear-gradient(160deg, #3A342D, #1B1815 60%, #2A251F);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.35);
}
.phone::after {
  content: ""; position: absolute; left: 50%; top: 20px;
  transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 5px;
  background: #0C0A09;
  z-index: 3;
}
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  padding: 14px 12px 20px;
  /* 19.5:9 — the shape of the phones this app runs on. min-height:0 keeps
     the ratio hard, so it can't be stretched back out by its contents. */
  aspect-ratio: 9 / 19.5;
  min-height: 0;
  background:
    radial-gradient(120% 80% at 20% 0%, #4B3D5E 0%, transparent 55%),
    radial-gradient(110% 70% at 90% 15%, #6B4437 0%, transparent 50%),
    linear-gradient(175deg, #2A2333 0%, #17141A 55%, #120F14 100%);
}

.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px 18px;
  color: rgba(255,255,255,.92);
}
.clock { font-size: .8125rem; font-weight: 600; letter-spacing: -.01em; }
.status-icons { display: flex; gap: 6px; }
.status-icons svg { width: 13px; height: 13px; opacity: .9; }

.shade-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 6px 9px;
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.shade-clear { letter-spacing: .02em; text-transform: none; font-weight: 600; }

/* A column rather than a grid: a card that completes collapses its own
   height and margin, and a grid gap can't be animated away with it. */
.shade { display: flex; flex-direction: column; }

.noti {
  background: rgba(248,245,240,.96);
  color: #1F1B16;
  border-radius: 26px;
  padding: 13px 15px 11px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
  max-height: 200px;
  overflow: hidden;
}
.noti:last-child { margin-bottom: 0; }
.noti-top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .6563rem; font-weight: 600; color: #6E6459;
  margin-bottom: 5px;
}
.noti-app { display: inline-flex; align-items: center; gap: 6px; }
.app-dot {
  width: 13px; height: 13px; border-radius: 7px; flex: none;
  background: linear-gradient(140deg, #FF8A5B, #9881C7);
}
.noti-title {
  font-size: .8125rem; font-weight: 700; line-height: 1.3;
  letter-spacing: -.015em;
}
.noti-body {
  font-size: .75rem; font-weight: 500; color: #6E6459;
  line-height: 1.35; margin-top: 2px;
}
.noti-actions {
  display: flex; gap: 18px;
  margin-top: 9px; padding-top: 8px;
  border-top: 1px solid rgba(31,27,22,.09);
}
.na {
  font-size: .6875rem; font-weight: 800;
  letter-spacing: .045em;
  color: #B4593A;
  padding: 3px 9px; margin: -3px -9px;
  border-radius: var(--r-pill);
  transition: background var(--out) var(--ease);
}
/* the looping demo taps DONE, then the card files itself away */
.na.is-tap { background: rgba(255,138,91,.24); }
.noti-checked .noti-title { text-decoration: line-through; opacity: .55; }
.noti-checked .noti-body  { opacity: .45; }
.noti {
  transition: max-height 260ms var(--ease), margin 260ms var(--ease),
              padding 260ms var(--ease), opacity var(--out) var(--ease),
              transform 260ms var(--ease);
}
.noti-title, .noti-body { transition: opacity var(--out) var(--ease); }
.noti-going {
  max-height: 0; margin-bottom: 0;
  padding-top: 0; padding-bottom: 0;
  opacity: 0; transform: scale(.97);
}
.noti-arriving { animation: notiIn 300ms var(--ease); }
@keyframes notiIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.noti-hi { box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 0 0 1.5px rgba(255,138,91,.5); }
.noti-quote .noti-title { font-weight: 600; font-style: italic; letter-spacing: -.005em; }
.noti-quote { background: rgba(248,245,240,.9); }

.phone-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 0 6px;
  font-size: .8125rem; font-weight: 500; color: var(--muted);
}
.phone-note-line { width: 26px; height: 1px; background: var(--faint); flex: none; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-phone { margin-top: 12px; }
}

/* Below ~365px the handset can no longer reach its 322px cap, so it gets
   shorter — and the screen's height is its width. The contents tighten with
   it, or the last card is clipped through the middle of a line. */
@media (max-width: 365px) {
  .phone-screen { padding: 12px 10px 14px; }
  .noti { padding: 11px 13px 9px; margin-bottom: 6px; }
  .app-head { padding: 20px 16px 10px; }
  .task { padding: 11px 11px 11px 13px; }
}

/* ── strip ────────────────────────────────────────────────── */
.strip {
  border-block: 1px solid var(--border);
  background: var(--card);
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 34px;
}
.strip-item { display: flex; flex-direction: column; gap: 2px; }
.strip-item b {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.1;
  color: var(--accent);
}
.strip-item span { font-size: .8125rem; font-weight: 600; color: var(--muted); }
@media (max-width: 720px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
}

/* ── steps ────────────────────────────────────────────────── */
.steps {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-block;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; font-size: 1.125rem; }
.step p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.step p b { color: var(--text); }

.inline-plus {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 10px;
  background: var(--accent); color: #241009;
  font-weight: 700; font-size: .8125rem; line-height: 1;
  vertical-align: -4px;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ── split sections ───────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.92fr);
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}
.split-reverse .split-copy { order: 2; }
.split-reverse .split-visual { order: 1; }
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-copy,
  .split-reverse .split-visual { order: initial; }
}

/* ── in-app mock ──────────────────────────────────────────── */
.split-visual { justify-self: center; width: 100%; max-width: 380px; }

/* same handset as the hero, in a 9px bezel */
.app-frame {
  position: relative;
  max-width: 318px;
  margin-inline: auto;
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(160deg, #3A342D, #1B1815 60%, #2A251F);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.3);
}
.app-inner {
  position: relative;
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  padding-bottom: 22px;
  aspect-ratio: 9 / 19.5;
  min-height: 0;
}

.app-head { padding: 24px 20px 12px; }
.app-head-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.app-date { font-size: .7188rem; font-weight: 500; color: var(--muted); letter-spacing: .015em; }
.app-icons { display: flex; gap: 7px; }
.app-btn {
  width: 26px; height: 26px; border-radius: 13px;
  background: var(--surface-alt);
  display: block;
}
.app-title {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.04em; line-height: 1.1;
  margin-bottom: 12px;
  color: var(--text);
}
.app-stats { display: flex; align-items: center; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px 10px 4px 8px;
  font-size: .6875rem; font-weight: 600; color: var(--text);
}
.chip-dot { width: 6px; height: 6px; border-radius: 3px; background: var(--accent); }
.chip-plain { font-size: .6875rem; font-weight: 500; color: var(--muted); }

.app-list { display: grid; gap: 7px; padding: 6px 13px 0; }

.task {
  display: flex; align-items: center; gap: 11px;
  border-radius: var(--r-card);
  padding: 13px 13px 13px 15px;
  background: var(--plain-bg);
  color: var(--plain-fg);
}
.task-box {
  width: 22px; height: 22px; border-radius: 11px; flex: none;
  border: 1.8px solid currentColor;
  opacity: .5;
}
.task-text { flex: 1; min-width: 0; }
.task-title {
  font-size: .8125rem; font-weight: 700;
  letter-spacing: -.015em; line-height: 1.28;
}
.task-note {
  font-size: .6875rem; font-weight: 500;
  line-height: 1.35; margin-top: 2px; opacity: .78;
}
.task-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tbadge {
  font-size: .5938rem; font-weight: 800; letter-spacing: .02em;
  padding: 3px 7px; border-radius: var(--r-badge);
  background: color-mix(in srgb, currentColor 13%, transparent);
}
.task-pin { flex: none; opacity: .42; }
.task-pin svg { width: 15px; height: 15px; }

.task-muted { background: transparent; color: var(--muted); border: 1px dashed var(--border); }
.app-group-label {
  font-size: .625rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint);
  padding: 14px 4px 2px;
}

.app-fab {
  position: absolute; right: 18px; bottom: 18px;
  width: 48px; height: 48px; border-radius: 24px;
  background: var(--accent); color: #241009;
  display: grid; place-items: center;
  box-shadow: var(--shadow-fab);
}
.app-fab svg { width: 20px; height: 20px; }

/* task swatches */
.sw-peach   { background: var(--peach-bg);  color: var(--peach-fg); }
.sw-sage    { background: var(--sage-bg);   color: var(--sage-fg); }
.sw-sky     { background: var(--sky-bg);    color: var(--sky-fg); }
.sw-lavender{ background: var(--lav-bg);    color: var(--lav-fg); }
.sw-butter  { background: var(--butter-bg); color: var(--butter-fg); }
.sw-rose    { background: var(--rose-bg);   color: var(--rose-fg); }
.sw-plain   { background: var(--plain-bg);  color: var(--plain-fg); }

/* ── feature grid ─────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border-radius: var(--r-card);
  padding: 26px 24px 28px;
  transition: transform var(--in) var(--ease), box-shadow var(--in) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: .875rem; line-height: 1.58; opacity: .82; }
.card p b { font-weight: 700; opacity: 1; }

.card-ic {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: color-mix(in srgb, currentColor 13%, transparent);
  margin-bottom: 18px;
}
.card-ic svg { width: 19px; height: 19px; }

.card-outline {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.card-outline .card-ic { background: var(--surface-alt); color: var(--accent); }
.card-outline p { color: var(--muted); opacity: 1; }

@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .grid { grid-template-columns: 1fr; } }

/* ── quote card ───────────────────────────────────────────── */
.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sheet);
  padding: 38px 34px 30px;
  box-shadow: var(--shadow-md);
  position: relative;
  margin: 0;
}
.quote-card::before {
  content: "";
  position: absolute; left: 34px; top: -14px;
  width: 44px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--lav-dot));
}
.quote-card blockquote p {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.42;
  letter-spacing: -.025em;
  font-weight: 600;
  min-height: 3.2em;
}
.quote-card figcaption {
  margin-top: 18px;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .02em;
  color: var(--accent);
}
.quote-next {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px; padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 700; color: var(--muted);
  transition: color var(--out) var(--ease), border-color var(--out) var(--ease);
}
.quote-next:hover { color: var(--text); border-color: var(--faint); }
.quote-next svg { width: 15px; height: 15px; }

/* ── ink section ──────────────────────────────────────────── */
.section-ink { background: var(--ink-bg); color: var(--ink-text); }
.section-ink .section-sub { color: var(--ink-muted); }
.section-ink .kicker { color: var(--accent); }

.ink-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.ink-list {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-card);
  overflow: hidden;
}
.ink-list li {
  background: var(--ink-bg);
  padding: 26px 22px;
  font-size: .8125rem; font-weight: 600;
  color: var(--ink-muted);
  display: flex; flex-direction: column; gap: 4px;
}
.ink-list b {
  font-size: 2rem; font-weight: 700;
  letter-spacing: -.04em; line-height: 1;
  color: var(--ink-text);
}
.section-ink .btn-ghost { background: transparent; border-color: rgba(255,255,255,.22); color: var(--ink-text); }
@media (max-width: 940px) { .ink-grid { grid-template-columns: 1fr; } }

/* ── faq ──────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 4px 24px;
  transition: border-color var(--in) var(--ease);
}
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 42%, var(--border)); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 34px 19px 0;
  font-size: 1rem; font-weight: 700; letter-spacing: -.018em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 10px; height: 10px;
  border: solid var(--faint); border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--in) var(--ease), border-color var(--in) var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--accent);
}
.faq details p {
  color: var(--muted);
  font-size: .9375rem; line-height: 1.65;
  padding-bottom: 22px;
  max-width: 62ch;
}
.faq details[open] p { animation: faqIn var(--in) var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ── final cta ────────────────────────────────────────────── */
.cta-section {
  background:
    radial-gradient(60% 90% at 50% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-inner { text-align: center; }
.cta-mark {
  display: grid; place-items: center;
  width: 62px; height: 62px; margin: 0 auto 26px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.cta-mark svg { width: 44px; height: 44px; }
.cta-inner .section-sub { margin-inline: auto; max-width: 46ch; }
.cta-fine {
  margin-top: 20px;
  font-size: .8125rem; font-weight: 500; color: var(--faint);
}

/* ── footer ───────────────────────────────────────────────── */
.footer { background: var(--surface-alt); border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 30px;
  justify-content: space-between; align-items: flex-start;
  padding-block: 48px 34px;
}
.footer-brand { display: flex; gap: 13px; align-items: center; }
.footer-name { font-weight: 700; font-size: 1rem; letter-spacing: -.028em; }
.footer-tag { font-size: .8438rem; color: var(--muted); margin-top: 1px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a {
  font-size: .875rem; font-weight: 600; color: var(--muted);
  transition: color var(--out) var(--ease);
}
.footer-links a:hover { color: var(--text); }
.footer-base {
  border-top: 1px solid var(--border);
  padding-block: 22px 30px;
}
.footer-base p { font-size: .8125rem; color: var(--faint); }

/* ═══════════════════════════════════════════════════════════════
   Illustrations

   Everything below draws a piece of the app rather than describing
   it. All of it is CSS on top of the same tokens, so both themes
   come free and nothing has to be re-exported when a colour moves.
   The loops are long and low-contrast on purpose — they should read
   as a diagram that happens to move, not as an advert.
   ═══════════════════════════════════════════════════════════════ */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* the seven task colours, as dots */
.dot { display: block; flex: none; width: 10px; height: 10px; border-radius: 6px; }
.dot-peach  { background: var(--peach-dot); }
.dot-sage   { background: var(--sage-dot); }
.dot-sky    { background: var(--sky-dot); }
.dot-lav    { background: var(--lav-dot); }
.dot-butter { background: var(--butter-dot); }
.dot-rose   { background: var(--rose-dot); }
.dot-plain  { background: var(--plain-dot); }

.eyebrow-ic { width: 14px; height: 14px; flex: none; fill: currentColor; }

/* ── strip icons ──────────────────────────────────────────────
   Scoped to beat `.strip-item span`, which would otherwise grey
   these out along with the labels. */
.strip-item .strip-ic {
  width: 32px; height: 32px; border-radius: 11px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 10px;
}
.strip-ic svg { width: 16px; height: 16px; }

/* ── step figures ─────────────────────────────────────────── */
.step { overflow: hidden; }
.step-fig {
  position: relative;
  height: 148px;
  margin: -28px -26px 20px;
  border-radius: 21px 21px 0 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg,
              color-mix(in srgb, var(--surface-alt) 70%, var(--card)),
              var(--surface-alt));
  overflow: hidden;
}

/* 01 — the composer sheet rising, with a line being typed */
.mini-sheet {
  position: absolute; left: 16px; right: 16px; bottom: 0; z-index: 2;
  background: var(--card);
  border: 1px solid var(--border); border-bottom: 0;
  border-radius: 18px 18px 0 0;
  padding: 9px 14px 16px;
  box-shadow: 0 -6px 18px rgba(31,27,22,.06);
  animation: sheetUp 6s var(--ease) infinite;
}
@keyframes sheetUp {
  0%, 7%   { transform: translateY(76%); }
  20%, 90% { transform: translateY(0); }
  100%     { transform: translateY(76%); }
}
.mini-grab {
  display: block; width: 34px; height: 4px; border-radius: 2px;
  background: var(--border); margin: 0 auto 13px;
}
.mini-line {
  display: flex; align-items: center; gap: 2px; height: 18px;
  font-size: .75rem; font-weight: 600; letter-spacing: -.02em;
}
.typed { display: inline-block; overflow: hidden; white-space: nowrap; animation: typing 6s steps(17) infinite; }
@keyframes typing { 0%, 22% { width: 0; } 48%, 90% { width: 8.3em; } 100% { width: 0; } }
.caret { width: 1.5px; height: 14px; background: var(--accent); animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.mini-dots { display: flex; gap: 7px; margin-top: 13px; }
.mini-dots .dot { width: 12px; height: 12px; border-radius: 7px; }
.mini-dots .is-on { box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--accent); }
.mini-fab {
  position: absolute; right: 22px; bottom: 18px;
  width: 30px; height: 30px; border-radius: 15px;
  background: var(--accent); color: #241009;
  display: grid; place-items: center;
  box-shadow: var(--shadow-fab);
  animation: fabTap 6s var(--ease) infinite;
}
.mini-fab svg { width: 14px; height: 14px; }
@keyframes fabTap { 0% { transform: none; } 4% { transform: scale(.84); } 10%, 100% { transform: none; } }

/* 02 — a notification dropping into the shade */
.mini-shade {
  position: absolute; top: 14px; left: 22px; right: 22px; height: 106px;
  border-radius: 14px; overflow: hidden; padding: 8px;
  background: linear-gradient(175deg, #2A2333, #17141A);
}
.mini-status { display: flex; gap: 3px; justify-content: flex-end; padding: 0 4px 8px; }
.mini-status i { width: 9px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.42); }
.mini-noti {
  background: rgba(248,245,240,.96);
  border-radius: 11px; padding: 7px 9px; margin-bottom: 6px;
}
.mini-noti-top { display: block; margin-bottom: 6px; }
.mini-noti .app-dot { width: 9px; height: 9px; border-radius: 5px; }
.mini-bar { display: block; height: 4px; border-radius: 2px; background: #1F1B16; opacity: .7; margin-bottom: 4px; }
.mini-bar:last-child { margin-bottom: 0; }
.mini-bar.is-faint { opacity: .3; }
.w-40 { width: 40%; } .w-50 { width: 50%; } .w-60 { width: 60%; }
.w-70 { width: 70%; } .w-80 { width: 80%; }
.is-dropping { animation: notiDrop 4.4s var(--ease) infinite; }
@keyframes notiDrop {
  0%, 6%   { opacity: 0; transform: translateY(-26px) scale(.96); }
  20%, 86% { opacity: 1; transform: none; }
  100%     { opacity: 0; transform: translateY(-26px) scale(.96); }
}
.is-below { opacity: .5; }
.step-badge {
  position: absolute; right: 18px; bottom: 14px;
  width: 30px; height: 30px; border-radius: 15px;
  background: var(--accent); color: #241009;
  display: grid; place-items: center;
  box-shadow: var(--shadow-fab);
}
.step-badge svg { width: 15px; height: 15px; }

/* 03 — the three actions, each taking its turn */
.mini-card {
  position: absolute; left: 18px; right: 18px; top: 28px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 14px 10px;
  box-shadow: var(--shadow-sm);
}
.mini-card .mini-bar { background: var(--text); }
.mini-actions {
  display: flex; gap: 5px;
  margin-top: 12px; padding-top: 9px;
  border-top: 1px solid var(--border);
}
.mini-btn {
  font-size: .5625rem; font-weight: 800; letter-spacing: .05em;
  color: var(--accent);
  padding: 4px 8px; border-radius: var(--r-pill);
}
.tap-1 { animation: btnTap 5.4s var(--ease) infinite; }
.tap-2 { animation: btnTap 5.4s var(--ease) 1.8s infinite; }
.tap-3 { animation: btnTap 5.4s var(--ease) 3.6s infinite; }
@keyframes btnTap {
  0%, 3%    { background: transparent; }
  7%, 17%   { background: color-mix(in srgb, var(--accent) 24%, transparent); }
  25%, 100% { background: transparent; }
}
.tap-ring {
  position: absolute; left: 41px; bottom: 46px;
  width: 28px; height: 28px; border-radius: 15px;
  border: 2px solid var(--accent); opacity: 0;
  animation: tapRing 5.4s var(--ease) infinite;
}
@keyframes tapRing {
  0%, 3%    { opacity: 0; transform: scale(.5); }
  9%        { opacity: .7; transform: scale(1); }
  22%, 100% { opacity: 0; transform: scale(1.5); }
}

/* ── swipe-to-complete, inside the app mock ───────────────── */
.swipe-row { position: relative; border-radius: var(--r-card); overflow: hidden; }
.swipe-back {
  position: absolute; inset: 0;
  display: flex; align-items: center; padding-left: 18px;
  background: var(--success); color: #FFF;
}
.swipe-back svg { width: 18px; height: 18px; }
.swipe-card { position: relative; animation: swipeHint 6.4s var(--ease) infinite; }
@keyframes swipeHint {
  0%, 52%   { transform: translateX(0); }
  62%, 76%  { transform: translateX(38%); }
  88%, 100% { transform: translateX(0); }
}

.snackbar {
  position: absolute; left: 14px; right: 74px; bottom: 18px;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: var(--ink-bg); color: var(--ink-text);
  font-size: .6875rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  animation: snackIn 6.4s var(--ease) infinite;
}
.snackbar b { margin-left: auto; color: var(--accent); font-weight: 800; letter-spacing: .05em; }
.snack-ic { width: 13px; height: 13px; flex: none; color: var(--success); }
@keyframes snackIn {
  0%, 58%   { opacity: 0; transform: translateY(10px); }
  66%, 84%  { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(10px); }
}

/* ── figures inside the feature cards ─────────────────────── */
.card-fig { margin-top: 16px; }

.fig-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.fig-actions span {
  font-size: .5625rem; font-weight: 800; letter-spacing: .06em;
  padding: 5px 9px; border-radius: var(--r-pill);
  background: color-mix(in srgb, currentColor 16%, transparent);
}

.fig-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fig-chips span {
  font-size: .625rem; font-weight: 700;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: color-mix(in srgb, currentColor 13%, transparent);
}
.fig-chips .is-icon { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; }
.fig-chips svg { width: 14px; height: 14px; }

.fig-days { display: flex; gap: 5px; }
.fig-days i {
  width: 24px; height: 24px; border-radius: 12px;
  display: grid; place-items: center;
  font-style: normal; font-size: .625rem; font-weight: 800;
  background: color-mix(in srgb, currentColor 11%, transparent);
  opacity: .55;
}
.fig-days .is-on {
  opacity: 1;
  background: color-mix(in srgb, currentColor 26%, transparent);
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.fig-bars { display: grid; gap: 6px; }
.fig-bars .bar {
  width: var(--w); min-width: 66px; height: 21px;
  border-radius: var(--r-badge);
  background: color-mix(in srgb, currentColor 16%, transparent);
  display: flex; align-items: center; padding-left: 9px;
}
.fig-bars b { font-size: .5625rem; font-weight: 800; letter-spacing: .05em; opacity: .85; }

.fig-swipe {
  position: relative; height: 36px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px;
  border-radius: 12px; overflow: hidden;
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.fig-swipe svg { width: 15px; height: 15px; }
.fs-left  { color: var(--success); }
.fs-right { color: var(--danger); }
.fs-card {
  position: absolute; left: 6px; right: 6px; top: 5px; bottom: 5px;
  border-radius: 9px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  animation: figSwipe 5.6s var(--ease) infinite;
}
@keyframes figSwipe {
  0%, 26%   { transform: translateX(0); }
  38%, 50%  { transform: translateX(24%); }
  62%, 72%  { transform: translateX(0); }
  82%, 92%  { transform: translateX(-24%); }
  100%      { transform: translateX(0); }
}

.fig-stack { display: grid; gap: 7px; }
.fig-stack .row { display: flex; align-items: center; gap: 9px; }
.fig-stack .rc {
  width: 17px; height: 17px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: color-mix(in srgb, currentColor 22%, transparent);
}
.fig-stack .rc svg { width: 9px; height: 9px; }
.fig-stack .row b {
  width: var(--w); height: 5px; border-radius: 3px;
  background: color-mix(in srgb, currentColor 26%, transparent);
}

.fig-swatches { display: flex; gap: 8px; }
.fig-swatches .dot { width: 20px; height: 20px; border-radius: 11px; box-shadow: var(--shadow-sm); }

/* The two themes, drawn literally — these two do not follow the page,
   they set it. Hard-coded palettes on purpose: the figure's job is to
   show both at once, so it cannot follow the current one. */
.fig-theme { display: flex; gap: 8px; }
.fig-theme .th {
  flex: 1; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform var(--out) var(--ease), box-shadow var(--out) var(--ease);
}
.fig-theme svg { width: 16px; height: 16px; }
.th-light { background: #FAF7F2; color: #B4593A; box-shadow: inset 0 0 0 1px rgba(31,27,22,.12); }
.th-dark  { background: #161310; color: #FFA079; }

.fig-theme .th:hover { transform: translateY(-2px); }
.fig-theme .th:active { transform: none; }
/* which one the page is currently showing */
.fig-theme .th[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); }
.th-light[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px rgba(31,27,22,.12), 0 0 0 2px var(--accent);
}

/* ── entry-point figures ──────────────────────────────────── */
.entry-fig {
  height: 150px; margin-bottom: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  display: grid; place-items: center;
  overflow: hidden;
}

.home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; width: 58%; }
.home-grid > i {
  aspect-ratio: 1; border-radius: 9px;
  background: color-mix(in srgb, var(--text) 9%, transparent);
}
.home-tile {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.home-tile-ic { width: 18px; height: 18px; flex: none; }
.home-tile span { font-size: .625rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.home-tile b { color: var(--text); font-weight: 800; }
.home-tile em {
  margin-left: auto; font-style: normal; line-height: 1;
  width: 20px; height: 20px; border-radius: 11px;
  background: var(--accent); color: #241009;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 800;
}

.qs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
.qs {
  width: 40px; height: 40px; border-radius: 21px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--faint);
}
.qs svg { width: 17px; height: 17px; }
.qs.is-on {
  background: var(--card);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 26%, transparent), var(--shadow-sm);
}
.qs.is-on svg { width: 22px; height: 22px; }

.press { position: relative; display: flex; flex-direction: column; align-items: center; gap: 11px; }
.press-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--border);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.press-icon svg { width: 30px; height: 30px; }
.press-menu {
  min-width: 132px; padding: 5px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid; gap: 2px;
  animation: menuIn 4.6s var(--ease) infinite;
}
@keyframes menuIn {
  0%, 14%  { opacity: 0; transform: translateY(-6px) scale(.96); }
  26%, 86% { opacity: 1; transform: none; }
  100%     { opacity: 0; transform: translateY(-6px) scale(.96); }
}
.pm-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 9px; border-radius: 9px;
  font-size: .6875rem; font-weight: 600; color: var(--muted);
}
.pm-row.is-on { background: var(--surface-alt); color: var(--text); }
.pm-plus {
  font-style: normal; line-height: 1;
  width: 16px; height: 16px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: .625rem; font-weight: 800;
  background: var(--accent); color: #241009;
}
.pm-row:not(.is-on) .pm-plus {
  background: color-mix(in srgb, var(--text) 12%, transparent);
  color: var(--muted);
}
.press-ring {
  position: absolute; top: -4px; left: 50%; margin-left: -26px;
  width: 52px; height: 52px; border-radius: 28px;
  border: 2px solid var(--accent); opacity: 0;
  animation: pressRing 4.6s var(--ease) infinite;
}
@keyframes pressRing {
  0%       { opacity: 0; transform: scale(.6); }
  8%       { opacity: .7; transform: scale(1); }
  22%, 100%{ opacity: 0; transform: scale(1.35); }
}

/* ── pills beside the quote card ──────────────────────────── */
.pill-list {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 26px;
}
.pill-list li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 12px;
  border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--border);
  font-size: .8125rem; font-weight: 600; color: var(--muted);
}
.pill-list svg { width: 15px; height: 15px; flex: none; color: var(--accent); }

.quote-mark {
  position: absolute; right: 26px; top: 8px;
  font-size: 5rem; line-height: 1; font-weight: 700;
  color: var(--accent); opacity: .16;
  pointer-events: none;
}

/* ── the privacy diagram ──────────────────────────────────── */
.privacy-fig { margin: 30px 0 32px; max-width: 390px; }
.privacy-fig svg { width: 100%; height: auto; color: var(--ink-text); }
.pf-label { fill: currentColor; opacity: .5; font-size: 10px; font-weight: 600; letter-spacing: .02em; }

.ink-ic {
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  color: var(--accent);
  margin-bottom: 8px;
}
.ink-ic svg { width: 16px; height: 16px; }

/* ── download meta ────────────────────────────────────────── */
.cta-meta {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 10px;
  margin-top: 22px;
}
.cta-meta li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--card); border: 1px solid var(--border);
  font-size: .75rem; font-weight: 600; color: var(--muted);
}
.cta-meta svg { width: 14px; height: 14px; flex: none; color: var(--accent); }
.btn-android { fill: currentColor; }

/* ── reveal (motion.ts: 200ms in, 6px travel, 20ms stagger) ──
   Scoped to .js so the page is readable with scripting off.     */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--in) var(--ease), transform var(--in) var(--ease);
  transition-delay: calc(var(--d, 0) * 40ms);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-in { transition: none; }
  .card:hover { transform: none; }
  .fig-theme .th:hover { transform: none; }
  .btn:active { transform: none; }
  .faq details[open] p { animation: none; }
  /* The looping figures settle on their resting frame; these two rest
     invisible, so they are placed by hand instead. */
  .snackbar { opacity: 1; transform: none; }
  .tap-ring, .press-ring { display: none; }
  .typed { width: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
