/* hustless landing — editorial, warm espresso / paper. Tokens mirror the app (DesignTokens.swift). */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  /* paper (light) */
  --bg: #f5f0e8;
  --bg-deep: #ece4d6;
  --surface: #fdfaf4;
  --text: #1a1814;
  --dim: rgba(26, 24, 20, 0.66);
  --faint: rgba(26, 24, 20, 0.14);
  --accent: #c4956a;
  --accent-ink: #8a5d36; /* accent for text on paper — 4.6:1 */
  --chip-bg: rgba(196, 149, 106, 0.14);

  /* product window — always espresso, like the app */
  --app-bg: #1c1814;
  --app-surface: #2a2420;
  --app-bubble-me: #3a322c;
  --app-text: #ffffff;
  --app-dim: rgba(255, 255, 255, 0.58);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  --font-voice: "Newsreader", ui-serif, "New York", Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lead: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-h2: clamp(2rem, 1.3rem + 3vw, 3.75rem);
  --text-hero: clamp(3.1rem, 1.2rem + 8vw, 8.25rem);

  --space-section: clamp(5rem, 3.5rem + 6vw, 10rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --duration-fast: 160ms;
  --duration-normal: 320ms; /* shadows and non-UI fades */
  --duration-ui: 240ms;   /* UI motion stays under 300ms */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15120f;
    --bg-deep: #1c1814;
    --surface: #221d19;
    --text: #f6f1ea;
    --dim: rgba(246, 241, 234, 0.64);
    --faint: rgba(246, 241, 234, 0.12);
    --accent-ink: #d4a77c;
    --chip-bg: rgba(196, 149, 106, 0.16);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  accent-color: var(--accent); caret-color: var(--accent);
  scrollbar-color: rgba(196, 149, 106, 0.55) transparent;
  -webkit-tap-highlight-color: rgba(196, 149, 106, 0.18);
}
::selection { background: rgba(196, 149, 106, 0.35); color: var(--text); }
.demo ::selection, .manifesto ::selection { background: rgba(196, 149, 106, 0.45); color: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--text-base) / 1.6 var(--font-sans);
  overflow-x: hidden;
}
/* paper grain — a single tiny SVG noise tile */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.voice { font-family: var(--font-voice); font-style: italic; font-weight: 400; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { padding-block: 1.25rem; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark {
  font-size: 1.5rem; letter-spacing: -0.03em; text-decoration: none; color: var(--text);
  display: inline-flex; align-items: baseline;
}
.wordmark b { font-weight: 800; }
.wordmark span { font-weight: 300; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  color: var(--dim); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  padding: 0.45rem 0.75rem; border-radius: 999px;
  transition: color var(--duration-fast), background-color var(--duration-fast);
}
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { color: var(--text); background: var(--chip-bg); } }
.site-nav .lang { border: 1px solid var(--faint); }
@media (max-width: 640px) { .site-nav .optional { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 5rem) var(--space-section); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero h1 {
  font-size: var(--text-hero); font-weight: 800; line-height: 0.94; letter-spacing: -0.045em;
  margin: 0; text-wrap: balance;
}
.hero h1 .voice { color: var(--accent); font-weight: 400; letter-spacing: -0.03em; padding-right: 0.04em; }
.lead { font-size: var(--text-lead); color: var(--dim); max-width: 34ch; margin: 1.75rem 0 2.25rem; text-wrap: pretty; }
.lead strong { color: var(--text); font-weight: 600; }

/* get block: store button + QR */
.get { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 56px; padding: 0.6rem 1.35rem 0.6rem 1.1rem; border-radius: 14px;
  background: var(--text); color: var(--bg); text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out-expo), box-shadow var(--duration-normal);
  box-shadow: 0 10px 30px -12px rgba(26, 18, 10, 0.5);
}
@media (hover: hover) and (pointer: fine) {
  .store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(26, 18, 10, 0.6); }
}
.store-btn:active { transform: scale(0.97); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.75; line-height: 1.1; }
.store-btn b { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.store-btn[aria-disabled="true"] { cursor: default; }
.store-btn[aria-disabled="true"]:hover, .store-btn[aria-disabled="true"]:active { transform: none; }
.qr {
  display: flex; align-items: center; gap: 0.85rem;
  color: var(--dim); font-size: 0.85rem; line-height: 1.35; max-width: 15rem;
}
.qr-code {
  width: 76px; height: 76px; flex: none; padding: 7px; border-radius: 12px;
  background: #fff; color: #15120f; box-shadow: 0 0 0 1px var(--faint);
}
@media (hover: none) and (pointer: coarse) { .qr { display: none; } } /* on phones the button is the path */
.fine-print { color: var(--dim); font-size: 0.85rem; margin: 1.25rem 0 0; }

/* launch state: <html data-store="soon|live"> */
[data-store="soon"] .when-live, [data-store="live"] .when-soon { display: none !important; }

/* ---------- demo (product window) ---------- */
.demo {
  background: var(--app-bg); color: var(--app-text);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 2px 3px rgba(20, 12, 4, 0.1),
    0 12px 24px -8px rgba(20, 12, 4, 0.2),
    0 32px 64px -24px rgba(20, 12, 4, 0.35),
    0 70px 120px -50px rgba(20, 12, 4, 0.5);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.demo::after { /* warm glow behind the conversation */
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; z-index: -1;
  background: radial-gradient(closest-side, rgba(196, 149, 106, 0.22), transparent);
}
.demo-bar {
  display: grid; grid-template-columns: 2rem 1fr 2rem; align-items: center;
  padding: 0.9rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.demo-bar .wordmark { font-size: 1rem; justify-self: center; color: var(--app-text); }
.demo-bar .x { color: var(--app-dim); width: 16px; height: 16px; }
.demo-log {
  list-style: none; margin: 0; padding: 1.25rem 1.1rem 0.5rem;
  min-height: 25rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.msg {
  max-width: 84%; padding: 0.7rem 0.95rem; border-radius: 16px;
  font-size: 0.98rem; line-height: 1.45;
}
.msg.me { align-self: flex-end; background: var(--app-bubble-me); border-bottom-right-radius: 6px; font-weight: 500; }
.msg.ai {
  align-self: flex-start; background: var(--app-surface); border-bottom-left-radius: 6px;
  font-family: var(--font-voice); font-style: italic; font-size: 1.06rem;
}
.msg.closing { color: var(--accent); }
/* until the demo starts, the static transcript is held back; a fallback reveals it if the script never runs */
.js .demo-log.is-pending > * { opacity: 0; }
.js:not(.demo-ready) .demo-log.is-pending > * { animation: pending-fallback 1ms 6s forwards; }
.js .demo-figure:has(.demo-log.is-pending) .demo-decide { visibility: hidden; }
@keyframes pending-fallback { to { opacity: 1; } }
.msg.enter { animation: msg-in var(--duration-ui) var(--ease-out-expo) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 0.85rem 1rem; background: var(--app-surface); border-radius: 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--app-dim); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.demo-decide { padding: 0.25rem 1.1rem 0.5rem; }
.demo-decide p { margin: 0.25rem 0 0.6rem; color: var(--app-dim); font-size: 0.85rem; text-align: center; }
.decide-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.demo button {
  font: inherit; cursor: pointer; border: 0; color: inherit;
  transition: background-color var(--duration-fast), transform var(--duration-fast) var(--ease-out-expo);
}
.decide-row button {
  min-height: 44px; border-radius: 12px; font-weight: 600; font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
@media (hover: hover) and (pointer: fine) { .decide-row button:hover { background: rgba(196, 149, 106, 0.22); } }
.decide-row button:active { transform: scale(0.97); }

.demo-picker { padding: 0.9rem 1.1rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.demo-picker p { margin: 0 0 0.6rem; color: var(--app-dim); font-size: 0.82rem; }
.picks { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.picks button {
  min-height: 40px; padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
@media (hover: hover) and (pointer: fine) { .picks button:hover { background: rgba(196, 149, 106, 0.2); } }
.picks button:active { transform: scale(0.97); }
.picks button[aria-pressed="true"] { background: var(--accent); color: #1a1410; box-shadow: none; }
.demo-note { margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--app-dim); }
.demo-figure { margin: 0; }
.demo-figure figcaption { margin-top: 0.9rem; color: var(--dim); font-size: 0.85rem; }

/* ---------- facts strip ---------- */
.facts { border-block: 1px solid var(--faint); }
.facts ul {
  list-style: none; margin-block: 0; padding: 1.1rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem;
  font-size: 0.92rem; font-weight: 600; color: var(--dim);
}
.facts li { display: inline-flex; align-items: center; gap: 0.55rem; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
@media (max-width: 640px) {
  .facts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .facts li { align-items: flex-start; }
  .facts li::before { margin-top: 0.45em; }
  .facts li:last-child { grid-column: 1 / -1; }
}

/* ---------- chapters ---------- */
.chapter { padding-block: var(--space-section) 0; }
.chapter-head { margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.chapter h2 {
  font-size: var(--text-h2); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  margin: 0; max-width: 18ch; text-wrap: balance;
}
.chapter h2 .voice { color: var(--accent); font-weight: 400; }
.chapter-head p { color: var(--dim); font-size: var(--text-lead); max-width: 46ch; margin: 1.25rem 0 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.points li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.25rem 0.9rem; }
.points .dot {
  grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 12px;
  display: grid; place-items: center; background: var(--chip-bg); color: var(--accent-ink);
}
.points .dot svg { width: 1.2rem; height: 1.2rem; }
.points h3 { margin: 0; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.points p { margin: 0; color: var(--dim); }

/* phones */
.phone {
  width: min(300px, 78vw); margin-inline: auto; padding: 9px; border-radius: 46px;
  background: #0d0b0a;
  box-shadow: 0 0 0 1px #3a332e inset, 0 0 0 5px #201c19,
    0 2px 3px rgba(20, 12, 4, 0.12), 0 10px 20px -6px rgba(20, 12, 4, 0.18),
    0 34px 60px -22px rgba(20, 12, 4, 0.38), 0 80px 120px -50px rgba(20, 12, 4, 0.5);
}
.phone img { border-radius: 38px; width: 100%; height: auto; }
.phones { position: relative; display: flex; justify-content: center; padding-block: 1rem 2rem; }
.phones .phone + .phone { margin-left: -18%; transform: translateY(12%) rotate(3deg); }
.phones .phone:first-child { transform: rotate(-3deg); }
@media (max-width: 520px) { .phones .phone { width: 62vw; } }

/* notification + bills stack */
.stack { display: grid; gap: 0.75rem; max-width: 26rem; margin-inline: auto; }
.notif {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.15rem 0.8rem;
  padding: 0.95rem 1.05rem; border-radius: 22px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--faint), 0 24px 50px -30px rgba(20, 12, 4, 0.45);
}
.notif:nth-child(2) { margin-left: 6%; }
.notif .icon { grid-row: span 3; width: 2.6rem; height: 2.6rem; border-radius: 10px; overflow: hidden; }
.notif b { font-size: 0.9rem; }
.notif .when { float: right; color: var(--dim); font-size: 0.78rem; font-weight: 500; }
.notif p { margin: 0; font-size: 0.92rem; line-height: 1.4; }
.notif .muted { color: var(--dim); }
.bills {
  margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-md);
  background: var(--app-bg); color: var(--app-text);
}
.bills h3 { margin: 0 0 0.6rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.bills ul { list-style: none; margin: 0; padding: 0; }
.bills li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: 0.92rem; }
.bills li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.bills .total { color: var(--accent); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile { border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 0 0 1px var(--faint); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); overflow: hidden; }
.tile h3 { margin: 0 0 0.4rem; font-size: 1.2rem; letter-spacing: -0.015em; }
.tile p { margin: 0; color: var(--dim); }
.tile.big { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; gap: 1.5rem; }
.tile.big .phone { width: min(260px, 70vw); margin-top: auto; margin-bottom: -16%; }
.tile.wide { grid-column: span 3; }
.tile.dark { background: var(--app-bg); color: var(--app-text); box-shadow: none; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.insight-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--app-dim); font-size: 0.85rem; }
.insight-foot span:first-child { padding: 0.5rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--app-text); font-weight: 600; }
.tile.dark p { color: var(--app-dim); }
.insight-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.6rem; }
.insight-quote { font-family: var(--font-voice); font-style: italic; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem); line-height: 1.35; margin: 0; }
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 1.25rem; max-width: 20rem; }
.heat i { aspect-ratio: 1; border-radius: 50%; background: var(--faint); }
.heat .l1 { background: #15803d; } .heat .l2 { background: #22c55e; } .heat .l3 { background: #84cc16; }
.heat .l4 { background: #f59e0b; } .heat .l5 { background: #ef4444; }
@media (max-width: 860px) { .tile.big, .tile.wide { grid-column: span 6; } .tile.big { grid-row: auto; } }

/* who it's for */
.who { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--faint); }
.who li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: baseline;
  padding: 1.35rem 0; border-bottom: 1px solid var(--faint);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
}
.who li span { font-family: var(--font-voice); font-style: italic; font-weight: 400; color: var(--accent); font-size: 0.8em; }

/* privacy manifesto */
.manifesto { padding-block: var(--space-section); margin-top: var(--space-section); background: var(--app-bg); color: var(--app-text); }
.manifesto .big {
  font-size: clamp(1.9rem, 1.1rem + 3.4vw, 4.25rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em;
  margin: 0; max-width: 20ch; text-wrap: balance;
}
.manifesto .big .voice { color: var(--accent); font-weight: 400; }
.manifesto .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 3.5rem; color: var(--app-dim); }
.manifesto .cols b { display: block; color: var(--app-text); margin-bottom: 0.3rem; }
@media (max-width: 760px) { .manifesto .cols { grid-template-columns: 1fr; } }
/* in dark mode the manifesto flips to paper, so it still reads as its own layer */
@media (prefers-color-scheme: dark) {
  .manifesto { --app-bg: #f5f0e8; --app-text: #1a1814; --app-dim: rgba(26, 24, 20, 0.66); }
  .manifesto a, .manifesto .big .voice { color: #8a5d36; }
}
.manifesto a { color: var(--accent); }

/* pricing */
.price-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: 0 0 0 1px var(--faint);
}
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; } }
.price-card h3 { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); letter-spacing: -0.03em; }
.price-card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--dim); }
.price-card li { margin: 0.3rem 0; }
.plans { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.plan { padding: 1rem 1.25rem; border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--faint); min-width: 9.5rem; }
.plan small { display: block; color: var(--dim); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.plan b { font-size: 1.6rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* the yearly plan: a gold ring with a bright head running round it, a long tail fading out behind it */
@property --gold-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan.best {
  --gold-base: rgba(196, 149, 106, 0.28); --gold-tail: rgba(201, 143, 61, 0.55); --gold-hi: #c27d1f; --gold-glow: rgba(201, 143, 61, 0.5);
  position: relative; box-shadow: none; isolation: isolate;
}
.plan.best::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2px; pointer-events: none;
  /* clockwise from --gold-a: quiet ring, then the tail swelling towards the head, then a sharp fall-off behind the head */
  background: conic-gradient(from var(--gold-a), var(--gold-base) 0deg, var(--gold-base) 120deg, var(--gold-tail) 250deg, var(--gold-hi) 336deg, var(--gold-hi) 344deg, var(--gold-base) 352deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px var(--gold-glow));
  animation: gold-turn 6s linear infinite;
}
@keyframes gold-turn { to { --gold-a: 360deg; } }
@media (prefers-color-scheme: dark) { .plan.best { --gold-base: rgba(196, 149, 106, 0.22); --gold-tail: rgba(232, 193, 140, 0.55); --gold-hi: #f7dfb2; --gold-glow: rgba(247, 223, 178, 0.5); } }
@media (prefers-reduced-motion: reduce) { .plan.best::before { animation: none; --gold-a: 40deg; } }
.plan em { display: block; font-style: normal; font-size: 0.8rem; color: var(--accent-ink); font-weight: 600; }

/* faq — answers always visible (content behind accordions is less likely to be quoted) */
.faq { max-width: none; }
.qa {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 0.5rem 3rem;
  padding: 1.6rem 0; border-top: 1px solid var(--faint);
}
.qa:last-child { border-bottom: 1px solid var(--faint); }
.qa h3 { margin: 0; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; text-wrap: balance; }
.qa p { margin: 0; color: var(--dim); max-width: 62ch; }
@media (max-width: 760px) { .qa { grid-template-columns: minmax(0, 1fr); } }

/* final call */
.final { padding-block: var(--space-section); text-align: center; }
.final h2 { font-size: var(--text-h2); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 0 auto 2rem; max-width: 14ch; }
.final h2 .voice { color: var(--accent); font-weight: 400; }
.final .get { justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--faint); padding-block: 2.25rem 3rem; color: var(--dim); font-size: 0.88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-footer a { color: var(--dim); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--text); text-decoration: underline; } }

/* reduced motion: keep gentle fades, drop movement */
@keyframes msg-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .msg.enter { animation: msg-fade 200ms ease-out both; }
  .typing i { animation: none; opacity: 0.6; }
  .store-btn { transition: box-shadow var(--duration-normal); }
  .store-btn:active { transform: none; }
}

/* Japanese: system fonts carry Japanese; tighten the display sizes */
:lang(ja) .hero h1 { font-size: clamp(2.6rem, 1rem + 6.4vw, 6.5rem); line-height: 1.08; letter-spacing: -0.03em; }
:lang(ja) .chapter h2, :lang(ja) .final h2 { letter-spacing: -0.02em; line-height: 1.15; }
:lang(ja) .lead, :lang(ja) .chapter-head p { max-width: 30em; line-break: strict; }
:lang(ja) .who li { font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.5rem); }
/* Japanese has no true italic: the AI voice becomes upright Mincho */
:lang(ja) .voice, :lang(ja) .msg.ai, :lang(ja) .insight-quote, :lang(ja) .who li span {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", var(--font-voice);
  font-style: normal;
}
:lang(ja) .msg.ai { font-size: 0.98rem; }

:lang(ja) .msg, :lang(ja) h1, :lang(ja) h2, :lang(ja) .lead, :lang(ja) .manifesto .big, :lang(ja) .who li, :lang(ja) .chapter-head p { word-break: auto-phrase; }

/* ---------- one subscription, two devices ---------- */
/* Geometry uses container units (cqw) so the chips, arc and dot stay aligned at every width.
   The arc is a quadratic curve (14,68) → (26,24) → (60,26) in cqw; the dot keyframes sample it. */
.devices { position: relative; container-type: inline-size; max-width: 620px; width: 100%; margin-inline: auto; padding-bottom: 2rem; }
.tablet {
  width: 80%; margin-left: auto; padding: 10px; border-radius: 34px; background: #0d0b0a;
  box-shadow: 0 0 0 1px #3a332e inset, 0 0 0 5px #201c19,
    0 2px 3px rgba(20, 12, 4, 0.12), 0 12px 24px -8px rgba(20, 12, 4, 0.18),
    0 40px 70px -26px rgba(20, 12, 4, 0.36), 0 90px 130px -55px rgba(20, 12, 4, 0.5);
}
.tablet img { width: 100%; height: auto; border-radius: 25px; }
.devices .phone {
  position: absolute; left: 0; bottom: 0; width: 33%; padding: 6px; border-radius: 30px; margin: 0;
  box-shadow: 0 0 0 1px #3a332e inset, 0 0 0 4px #201c19, 0 40px 60px -25px rgba(20, 12, 4, 0.75);
}
.devices .phone img { border-radius: 24px; }
.sync-arc { position: absolute; inset: 0; width: 100%; height: auto; pointer-events: none; overflow: visible; }
.sync-arc path { fill: none; stroke: var(--accent); stroke-width: 0.35; stroke-dasharray: 1 1.4; stroke-linecap: round; opacity: 0.7; }
.sync-chip {
  position: absolute; z-index: 2; display: grid; gap: 0.1rem;
  padding: 0.6rem 0.85rem; border-radius: 14px; white-space: nowrap;
  background: #fdfaf4; color: #1a1814; font-size: clamp(0.72rem, 0.6rem + 0.5cqw, 0.9rem); line-height: 1.25;
  box-shadow: 0 0 0 1px rgba(26, 24, 20, 0.08), 0 18px 40px -16px rgba(20, 12, 4, 0.55);
}
.sync-chip small { color: #8a5d36; font-weight: 700; font-size: 0.8em; letter-spacing: 0.04em; }
.sync-chip b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sync-chip.from { left: 2cqw; top: 62cqw; }
.sync-chip.to { left: 50cqw; top: 14cqw; }
.sync-label {
  position: absolute; left: 24cqw; top: 31cqw; z-index: 2; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-ink); background: var(--bg); padding: 0.15rem 0.5rem; border-radius: 999px;
}

.devices .sync-chip.from { animation: chip-from 7s var(--ease-out-expo) infinite; }
.devices .sync-chip.to { animation: chip-to 7s var(--ease-out-expo) infinite; }
.devices.is-paused .sync-chip { animation-play-state: paused; }
/* the dot is SVG (SMIL) so it follows the dashed arc exactly in every browser */
.sync-mover .halo { fill: rgba(196, 149, 106, 0.28); }
.sync-mover .core { fill: var(--accent); }

@keyframes chip-from {
  0% { opacity: 0; transform: translateY(10px) scale(0.94); }
  8%, 82% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes chip-to {
  0%, 44% { opacity: 0; transform: translateY(10px) scale(0.94); }
  52%, 84% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .devices .sync-chip.from, .devices .sync-chip.to { animation: none; opacity: 1; transform: none; }
  .sync-mover { display: none; }
}
.plan-note { display: flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0 0; font-weight: 600; color: var(--text); }
.plan-note svg { flex: none; color: var(--accent-ink); }

/* who makes it + last updated */
.site-footer .maker { order: 1; flex-basis: 100%; margin: 0.25rem 0 0.75rem; max-width: 40rem; font-size: 0.95rem; line-height: 1.55; }
.site-footer nav { order: 2; }
.site-footer .wrap > span { order: 3; }
.site-footer .maker a { color: var(--accent-ink); text-decoration: underline; }
.maker time { white-space: nowrap; }

/* ---------- live phone: "Say it. Logged." ----------
   A rebuilt Now screen. Every size is in cqw of the screen, so it scales like a screenshot.
   Reference: 800px-wide app screenshot, 1cqw = 8px there. */
.phone.live { padding: 9px; }
.ls {
  position: relative; container-type: inline-size; aspect-ratio: 400 / 869; overflow: hidden;
  border-radius: 38px; background: #1d1915; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Hiragino Sans", sans-serif;
  -webkit-font-smoothing: antialiased; user-select: none;
}
.ls * { box-sizing: border-box; }
.ls-status { position: absolute; top: 4.6cqw; left: 14.5cqw; right: 9cqw; display: flex; justify-content: space-between; align-items: center; font-size: 3.9cqw; font-weight: 600; letter-spacing: -0.02em; }
.ls-status svg { width: 20.5cqw; height: auto; }
.ls-top { position: absolute; top: 19.4cqw; left: 7.4cqw; right: 8.4cqw; display: flex; align-items: center; gap: 2.5cqw; }
.ls-brand { font-family: var(--font-sans); font-size: 5.1cqw; font-weight: 500; letter-spacing: -0.03em; margin-right: auto; }
.ls-brand span { font-weight: 300; color: var(--accent); }
.ls-greet { font-size: 3cqw; color: rgba(255, 255, 255, 0.55); }
.ls-avatar { width: 4cqw; height: 4cqw; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #1d1915 0 22%, transparent 23%), radial-gradient(circle at 50% 100%, #1d1915 0 34%, transparent 35%), #d9a777; }
.ls-card { position: absolute; left: 7.4cqw; right: 7.4cqw; background: #2a2420; border-radius: 3cqw; box-shadow: 0 0 0 0.12cqw rgba(255, 255, 255, 0.06) inset; }
.ls-here { top: 34.1cqw; height: 17.1cqw; display: flex; align-items: center; gap: 3.8cqw; padding: 0 4cqw 0 3.6cqw; }
.ls-heart { flex: none; width: 9.8cqw; height: 9.8cqw; border-radius: 2.4cqw; display: grid; place-items: center; background: #c99a6c; font-size: 5cqw; }
.ls-here > span:nth-child(2) { display: grid; gap: 0.5cqw; margin-right: auto; }
.ls-here i { font-family: var(--font-voice); font-size: 3.9cqw; line-height: 1; }
.ls-here small { font-size: 2.55cqw; color: #c99a6c; }
.ls-here svg { width: 2.4cqw; color: rgba(255, 255, 255, 0.55); }
.ls-today { top: 58.75cqw; height: 32.4cqw; padding: 5.2cqw 5.5cqw; display: grid; align-content: start; gap: 1.2cqw; transition: box-shadow 600ms var(--ease-out-expo); }
.ls-today small { font-size: 2.55cqw; color: #c99a6c; font-weight: 500; }
.ls-total { font-size: 9.4cqw; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ls-count { font-size: 2.8cqw; color: rgba(255, 255, 255, 0.6); }
.ls.is-bump .ls-today { box-shadow: 0 0 0 0.25cqw rgba(201, 154, 108, 0.55) inset, 0 0 8cqw -2cqw rgba(201, 154, 108, 0.45); }

.ls-mic { position: absolute; top: 98.5cqw; left: 50%; width: 15.3cqw; height: 15.3cqw; transform: translateX(-50%); }
.ls-mic-btn {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; color: #1d1915;
  background: radial-gradient(circle at 50% 35%, #d6a676, #b98757);
  box-shadow: 0 0 6cqw -1cqw rgba(201, 154, 108, 0.45);
  transition: transform 240ms var(--ease-out-expo), box-shadow 400ms;
}
.ls-mic-btn svg { width: 5cqw; }
.ls-ring { position: absolute; inset: 0; border-radius: 50%; border: 0.4cqw solid rgba(214, 166, 118, 0.7); opacity: 0; }
.ls.is-listening .ls-mic-btn { transform: scale(1.06); box-shadow: 0 0 10cqw 0 rgba(214, 166, 118, 0.55); }
.ls.is-listening .ls-ring { animation: ls-ring 1.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.ls.is-listening .ls-ring + .ls-ring { animation-delay: 0.8s; }
@keyframes ls-ring { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

.ls-hint { position: absolute; top: 117.2cqw; left: 0; right: 0; height: 4cqw; margin: 0; font-size: 2.8cqw; color: #c99a6c; text-align: center; }
.ls-hint > span { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 1.4cqw; transition: opacity 240ms, transform 240ms var(--ease-out-expo); }
.ls-hint .listen { opacity: 0; transform: translateY(1cqw); }
.ls.is-listening .ls-hint .idle { opacity: 0; transform: translateY(-1cqw); }
.ls.is-listening .ls-hint .listen { opacity: 1; transform: none; }
.ls-wave { display: inline-flex; gap: 0.5cqw; align-items: center; height: 3cqw; }
.ls-wave i { width: 0.55cqw; height: 100%; border-radius: 1cqw; background: currentColor; transform: scaleY(0.3); }
.ls.is-listening .ls-wave i { animation: ls-wave 0.9s ease-in-out infinite; }
.ls-wave i:nth-child(2) { animation-delay: -0.3s !important; }
.ls-wave i:nth-child(3) { animation-delay: -0.6s !important; }
.ls-wave i:nth-child(4) { animation-delay: -0.15s !important; }
@keyframes ls-wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

.ls-field { position: absolute; top: 128.1cqw; left: 7.4cqw; width: 75cqw; height: 9.1cqw; border-radius: 2.6cqw; background: #2a2420; display: flex; align-items: center; padding: 0 3.4cqw; transition: box-shadow 300ms; overflow: hidden; }
.ls.is-listening .ls-field, .ls.is-parsed .ls-field { box-shadow: 0 0 0 0.3cqw rgba(201, 154, 108, 0.6) inset; }
.ls-ph { position: absolute; left: 3.4cqw; font-size: 3.3cqw; color: rgba(255, 255, 255, 0.28); white-space: nowrap; transition: opacity 160ms; }
.ls.is-typing .ls-ph { opacity: 0; }
.ls-input { position: relative; display: flex; align-items: center; gap: 0; font-size: 3.4cqw; white-space: nowrap; transition: opacity 260ms, transform 360ms var(--ease-out-expo); }
.ls-input > span { white-space: pre; }
.ls-input .caret { margin-left: 0.4cqw; }
.ls-input .tok { display: inline-block; animation: ls-tok 220ms var(--ease-out-expo) both; }
.ls-input .tok.amt { transition: background-color 300ms, color 300ms, padding 300ms; border-radius: 1cqw; }
.ls.is-parsed .ls-input .tok.amt { background: rgba(201, 154, 108, 0.22); color: #e6bb8f; padding: 0 0.8cqw; }
.ls-input .caret { width: 0.3cqw; height: 4cqw; background: var(--accent); animation: ls-caret 1s steps(1) infinite; }
.ls.is-parsed .ls-input .caret { display: none; }
.ls-input.is-out { opacity: 0; transform: translateY(-3cqw); }
@keyframes ls-tok { from { opacity: 0; transform: translateY(0.8cqw); filter: blur(0.6cqw); } }
@keyframes ls-caret { 50% { opacity: 0; } }
.ls-cat {
  position: absolute; right: 2cqw; display: inline-flex; align-items: center; gap: 0.8cqw; padding: 0.9cqw 1.8cqw; border-radius: 99px;
  font-size: 2.6cqw; font-weight: 600; color: #1d1915; background: #d6a676; opacity: 0; transform: scale(0.85); transform-origin: right center;
  transition: opacity 220ms, transform 420ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.ls.is-parsed .ls-cat { opacity: 1; transform: none; }
.ls-plus { position: absolute; top: 129cqw; right: 7.9cqw; width: 7.3cqw; height: 7.3cqw; border-radius: 50%; background: #5a4532; color: #1d1915; display: grid; place-items: center; font-size: 6cqw; font-weight: 300; line-height: 1; }

.ls-recent { position: absolute; top: 144.6cqw; left: 7.4cqw; margin: 0; font-size: 2.3cqw; font-weight: 600; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); }
.ls-list { position: absolute; top: 149.4cqw; left: 7.4cqw; right: 7.4cqw; bottom: 0; overflow: hidden; border-radius: 3cqw 3cqw 0 0; }
.ls-list ul { list-style: none; margin: 0; padding: 0; will-change: transform; }
.ls-row { display: flex; align-items: center; gap: 3.8cqw; height: 13.9cqw; padding: 0 3.6cqw; background: #2a2420; border-bottom: 0.15cqw solid rgba(0, 0, 0, 0.35); position: relative; }
.ls-row .ico { flex: none; width: 9cqw; height: 9cqw; border-radius: 1.8cqw; display: grid; place-items: center; font-size: 4.8cqw; background: var(--tone, #33291f); }
.ls-row .nm { display: grid; gap: 0.5cqw; margin-right: auto; font-size: 3.3cqw; line-height: 1.1; }
.ls-row .nm small { font-size: 2.85cqw; color: #c99a6c; }
.ls-row .am { display: grid; gap: 0.5cqw; justify-items: end; font-size: 3.3cqw; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ls-row .am small { font-size: 2.5cqw; font-weight: 400; color: rgba(255, 255, 255, 0.55); }
.ls-row::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(214, 166, 118, 0.28), rgba(214, 166, 118, 0.08)); opacity: 0; pointer-events: none; }
.ls-row.is-new { animation: ls-row-in 520ms var(--ease-out-expo) both; }
.ls-row.is-new::after { animation: ls-flash 1600ms ease-out both; }
@keyframes ls-row-in { from { opacity: 0; transform: scale(0.96); } }
@keyframes ls-flash { 0%, 30% { opacity: 1; } 100% { opacity: 0; } }

.ls-tabs {
  position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqw; height: 13.8cqw; border-radius: 99px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
  background: rgba(40, 34, 30, 0.72); -webkit-backdrop-filter: blur(3cqw) saturate(1.4); backdrop-filter: blur(3cqw) saturate(1.4);
  box-shadow: 0 0 0 0.15cqw rgba(255, 255, 255, 0.1) inset; padding: 0 1cqw;
}
.ls-tabs span { display: grid; justify-items: center; gap: 0.6cqw; font-size: 2.3cqw; font-weight: 500; color: #fff; }
.ls-tabs span svg { width: 5.4cqw; height: 5.4cqw; }
.ls-tabs .on { color: #e2ad78; background: rgba(255, 255, 255, 0.1); border-radius: 99px; height: 11.8cqw; align-content: center; margin-inline: 0.5cqw; }
.ls-swap { transition: opacity 360ms var(--ease-out-expo); }
.ls.is-resetting .ls-swap { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .ls.is-listening .ls-ring { animation: ls-ring-fade 1.6s ease-in-out infinite; }
  .ls-input .tok, .ls-row.is-new { animation-name: msg-fade; }
  .ls-input.is-out { transform: none; }
  .ls-cat { transform: none; transition: opacity 220ms; }
  .ls.is-listening .ls-mic-btn { transform: none; }
}
@keyframes ls-ring-fade { 0%, 100% { opacity: 0; } 50% { opacity: 0.6; } }
