/* Sandiko LP v2 — "Quiet Ledger" (docs/plan.md §43.1, design: docs/proposals/2026-10-04-planning-chat/design/lp/).
   Mobile first (390px reference); the desktop layout (1440px reference) switches on at 768px. */

:root {
  /* §43.1 Ledger tokens */
  --paper: #F4EFE4;        /* ground */
  --receipt: #FFFDF7;      /* surface */
  --ink: #1E1C19;          /* text */
  --ledger: #0E5A52;       /* primary */
  --ledger-dark: #093F3A;
  --check-bg: #FBE7B5;     /* "amount to check" only */
  --check-ink: #8A5A00;
  --danger: #C2452D;
  --night: #0F1A16;
  /* supporting tones from the design */
  --ink-2: #3A362F;
  --muted: #5C574E;
  --line: #DDD5C4;
  --line-2: #E4DCCB;
  --line-3: #EDE6D6;
  --dash: #CFC6B3;
  --sand: #EAE3D3;
  --field: #F9F5EC;
  --forest: #2E4A40;
  --phone: #18251F;
  --phone-card: #24332B;
  --phone-ink: #ECE8DE;
  --phone-muted: #AEB6A8;
  --mint: #9FD3C4;
  --biz-col: #F3F7F5;
  --highlight-row: #FBF7EC;
  --white: #FFFFFF;

  --serif: 'Fraunces', 'Noto Sans Devanagari', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Noto Sans Devanagari', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: 20px;
  --section-y: 56px;
  --focus: 0 0 0 3px var(--receipt), 0 0 0 5px var(--ledger);
}

@media (min-width: 768px) {
  :root {
    --gutter: clamp(32px, 7.8vw, 112px);
    --section-y: 88px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: var(--ledger); }
a:hover { color: var(--ledger-dark); }
b, strong { font-weight: 700; }
s { text-decoration-thickness: 1.5px; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--receipt);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- type ---------- */
.display {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em;
  font-size: 42px; line-height: 1.02;
}
.h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 30px; line-height: 1.08; }
.h2-md { font-size: 28px; line-height: 1.1; }
.h2-lg { font-size: 32px; line-height: 1.05; }
@media (min-width: 768px) {
  .display { font-size: clamp(52px, 5.3vw, 76px); }
  .h2 { font-size: clamp(38px, 3.4vw, 48px); line-height: 1.06; }
  .h2-md { font-size: clamp(34px, 3.1vw, 44px); line-height: 1.1; }
  .h2-lg { font-size: clamp(40px, 3.6vw, 52px); line-height: 1.05; }
}
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 540px; }
@media (min-width: 768px) { .lead { font-size: 20px; } }
.body-lg { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 768px) { .body-lg { font-size: 18px; } }
.body { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.small-body { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ledger); letter-spacing: 0.01em; }
.mono { font-family: var(--mono); }
.mono-sm { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mono-xs { font-family: var(--mono); font-size: 10px; font-weight: 600; }
.mono-tag { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--muted); }
.mono-label { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted); }
.mono-step { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted); }
.mono-amount { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.mono-strong { font-family: var(--mono); font-weight: 600; }
.mono-time { font-family: var(--mono); font-size: 12px; color: var(--phone-muted); }
.serif-16 { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.serif-18 { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.serif-20 { font-family: var(--serif); font-size: 20px; line-height: 1.25; font-weight: 600; }
.serif-22 { font-family: var(--serif); font-size: 22px; line-height: 1.2; font-weight: 600; }
.serif-24 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.serif-26 { font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 600; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.tone-green { color: var(--ledger); }
.tone-amber { color: var(--check-ink); }
.tone-ink { color: var(--ink); }
.tone-mint { color: var(--mint); }

.stack-2 { display: flex; flex-direction: column; gap: 2px; }
.stack-10, .stack-12, .stack-14, .stack-16, .stack-18, .stack-20, .stack-28, .stack-32, .stack-36 { display: flex; flex-direction: column; }
.stack-10 { gap: 10px; } .stack-12 { gap: 12px; } .stack-14 { gap: 14px; } .stack-16 { gap: 16px; }
.stack-18 { gap: 18px; } .stack-20 { gap: 20px; } .stack-28 { gap: 28px; } .stack-32 { gap: 32px; } .stack-36 { gap: 36px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.row-between.baseline { align-items: baseline; }

/* responsive label swaps */
.only-narrow { display: inline; }
.only-wide { display: none; }
@media (min-width: 768px) {
  .only-narrow { display: none; }
  .only-wide { display: inline; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px;
  font: 700 15px/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--ledger); color: var(--receipt); }
.btn-primary:hover { background: var(--ledger-dark); color: var(--receipt); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--receipt); color: var(--ink); }
.btn-quiet { border: 1px solid var(--line); background: var(--receipt); color: var(--ink); font-weight: 600; font-size: 14px; }
.btn-quiet:hover { border-color: var(--ink); }
.btn-lg { min-height: 50px; padding: 0 20px; font-size: 17px; border-radius: 12px; }
@media (min-width: 768px) { .btn-lg { min-height: 54px; padding: 0 24px; } }
.btn-sm { font-size: 14px; padding: 0 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- header ---------- */
.site-header { padding-block: 16px; }
.header-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.brand-name-sm { font-size: 20px; }
.brand-tagline { display: none; font-size: 13px; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; width: 100%; font-size: 15px; font-weight: 600; }
.nav-link { display: none; color: var(--ink); text-decoration: none; padding: 10px 2px; }
.nav-link:hover { color: var(--ledger); }
.lang-menu { position: relative; }
.lang-menu > summary {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--receipt);
  color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; list-style: none;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover { background: var(--field); }
.lang-globe { color: var(--muted); flex-shrink: 0; }
.lang-chevron { color: var(--muted); transition: transform .15s ease; }
.lang-menu[open] .lang-chevron { transform: rotate(180deg); }
.lang-list {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 230px; margin: 0; padding: 6px;
  list-style: none; border-radius: 12px; border: 1px solid var(--line); background: var(--receipt);
  box-shadow: 0 12px 32px rgba(30, 28, 25, .12);
}
.lang-item {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font: 500 15px/1.2 var(--sans); white-space: nowrap;
}
.lang-item:hover { background: var(--paper); color: var(--ink); }
.lang-item[aria-current="page"] { background: var(--ink); color: var(--receipt); }
.lang-code { width: 32px; font: 600 12px/1 var(--mono); letter-spacing: .04em; }
.counter { margin: 0; font: 600 14px/1.4 var(--sans); color: var(--ledger); }
.btn-nav { min-height: 44px; padding: 0 20px; }
@media (min-width: 768px) {
  .site-header { padding-block: 28px; }
  .header-row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
  .brand-name { font-size: 30px; }
  .site-nav { width: auto; justify-content: flex-end; gap: 12px 24px; }
  .lang-list { left: auto; right: 0; }
}
@media (min-width: 1100px) {
  .brand-tagline { display: inline; }
  .nav-link { display: inline-block; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.section-paper { background: var(--receipt); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-rule { border-top: 1px solid var(--line-2); }
.section-night { background: var(--night); color: var(--phone-ink); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 768px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 64px); } }
.split-center { align-items: center; }

/* ---------- 1. hero ---------- */
.hero { padding-block: 12px 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip-lock {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 10px 14px; border-radius: 999px; background: var(--receipt); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; line-height: 1.35;
}
.chip-lock svg { color: var(--ledger); flex-shrink: 0; }
@media (min-width: 768px) {
  .hero { padding-block: 32px 88px; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4.5vw, 64px); }
  .cta-row { gap: 12px; }
}
.hero-phone-wrap { display: flex; justify-content: center; }
.lock-phone {
  width: 330px; max-width: 100%; height: 600px; padding: 12px;
  border-radius: 42px; background: var(--night); box-shadow: 0 24px 48px rgba(30, 28, 25, 0.22);
}
.lock-phone:focus { outline: none; }
@media (min-width: 768px) { .lock-phone { width: 380px; height: 660px; border-radius: 46px; } }
.lock-screen {
  height: 100%; border-radius: 34px; background: var(--phone); overflow: hidden;
  display: flex; flex-direction: column; gap: 8px; padding: 30px 14px 16px;
}
.lock-time { text-align: center; color: var(--phone-ink); font-family: var(--serif); font-size: 54px; line-height: 1; padding-bottom: 8px; }
.storm-view { display: flex; flex-direction: column; gap: 6px; }
.storm-feed { display: flex; flex-direction: column; gap: 6px; }
.storm-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 14px;
  background: var(--phone-card); animation: drop-in 0.25s ease-out;
}
.storm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.storm-app { font-size: 11px; font-weight: 600; color: var(--phone-muted); }
.storm-msg { font-size: 13px; line-height: 1.3; color: var(--phone-ink); overflow-wrap: anywhere; }
.storm-more {
  align-self: center; margin-top: 4px; padding: 6px 12px; border-radius: 999px;
  background: var(--phone-card); color: #FFB547; font-family: var(--mono); font-size: 12px; font-weight: 600;
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.sorted-view { display: flex; flex-direction: column; gap: 10px; animation: fade-in 0.4s ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.receipt { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 12px; border-radius: 16px; background: var(--receipt); color: var(--ink); }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.receipt-title { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.receipt-lines { display: flex; flex-direction: column; gap: 8px; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; line-height: 1.35; }
.receipt-value { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.receipt-foot { font-size: 12px; color: var(--muted); }
hr.dash { margin: 0; border: 0; border-top: 1.5px dashed var(--dash); }
.btn-ghost-dark {
  align-self: center; min-height: 44px; padding: 0 18px; border: 1px solid #3A4A41; border-radius: 12px;
  background: transparent; color: var(--phone-ink); font: 600 14px/1.2 var(--sans); cursor: pointer;
}
.btn-ghost-dark:hover { border-color: var(--phone-ink); }
.btn-ghost-dark:focus-visible { box-shadow: 0 0 0 2px var(--phone), 0 0 0 4px var(--mint); }

/* ---------- app icons / tiles (official logo files, or abbreviation tiles) ---------- */
.app-icon { flex-shrink: 0; object-fit: contain; background: var(--white); border-radius: 6px; }
.app-tile {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--line-2); color: var(--ink); border-radius: 6px;
  font-family: var(--mono); font-weight: 600; font-size: 9px; letter-spacing: -0.02em; line-height: 1;
}
.app-tile.tile-dark { background: #3A4A41; color: var(--phone-ink); }
.s18 { width: 18px; height: 18px; border-radius: 5px; font-size: 7.5px; }
.s20 { width: 20px; height: 20px; border-radius: 5px; font-size: 8px; }
.s22 { width: 22px; height: 22px; }
.s24 { width: 24px; height: 24px; border-radius: 7px; }
.app-dot { flex-shrink: 0; width: 6px; height: 6px; border-radius: 999px; background: var(--dash); margin: 0 7px; }

/* ---------- 2. widget ---------- */
.widget-board {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: center;
  padding: 20px 10px; border-radius: 22px; background: var(--forest);
}
@media (min-width: 768px) { .widget-board { gap: 28px; padding: 36px; border-radius: 28px; justify-content: flex-start; } }
.widget-cell { display: flex; flex-direction: column; gap: 10px; align-items: center; max-width: 100%; }
.widget-cell figcaption { font-size: 13px; color: #DCE7E1; }
.wd { background: var(--receipt); border-radius: 24px; display: flex; flex-direction: column; max-width: 100%; }
.wd-s { width: 155px; height: 155px; padding: 16px; justify-content: space-between; }
@media (min-width: 768px) { .wd-s { width: 170px; height: 170px; } }
.wd-m { width: 330px; min-height: 176px; padding: 16px 18px; gap: 6px; }
.wd-l { width: 330px; min-height: 360px; padding: 18px; gap: 10px; }
@media (min-width: 768px) { .wd-m { width: 360px; min-height: 170px; } .wd-l { width: 360px; height: 360px; } }
.wd-brand { font-family: var(--serif); font-size: 15px; font-weight: 600; }
.wd-count { display: flex; flex-direction: column; gap: 2px; }
.wd-num { font-family: var(--serif); font-size: 46px; line-height: 1; font-weight: 600; }
.wd-need { font-size: 13px; font-weight: 600; }
.wd-clear { font-family: var(--serif); font-size: 24px; line-height: 1.1; font-weight: 600; }
.wd-m-title { font-size: 17px; line-height: 1.3; font-weight: 700; }
.wd-btns { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.wd-btns.wrap-row { margin-top: 0; }
.wd-foot { font-size: 12px; color: var(--muted); }
.amount-chip {
  align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 600;
  background: var(--check-bg); color: var(--ink); padding: 2px 6px; border-radius: 4px; white-space: nowrap;
}
.fake-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; background: var(--receipt);
}
.fake-btn-primary { background: var(--ledger); border-color: var(--ledger); color: var(--receipt); font-weight: 700; }
.fake-btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.wd-rows { display: flex; flex-direction: column; gap: 8px; }
.wd-rows li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; padding-bottom: 8px; border-bottom: 1.5px dashed var(--dash); }
.wd-coming { display: flex; flex-direction: column; gap: 4px; }
.wd-coming li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.wd-ask { margin-top: auto; display: flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 12px; background: var(--paper); color: var(--muted); font-size: 14px; }
.tap-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .tap-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-white { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 6px; background: var(--white); box-shadow: 0 1px 0 var(--line-2); }
.quote-box { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; background: var(--paper); }
.quote-text { display: flex; flex-direction: column; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.draft-bubble { font-size: 16px; line-height: 1.5; padding: 12px 14px; border-radius: 14px 14px 4px 14px; background: #DCEDE8; }

/* ---------- 3. paste demo ---------- */
.try-head { display: flex; flex-direction: column; gap: 20px; }
.try-head .btn-quiet { align-self: flex-start; }
@media (min-width: 768px) { .try-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; } .try-head .section-head { max-width: 760px; } .try-head .btn-quiet { align-self: auto; flex-shrink: 0; } }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .try-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.try-form { display: flex; flex-direction: column; gap: 12px; }
.field-label { font-size: 13px; font-weight: 700; color: var(--muted); }
textarea, input[type="email"], input[type="text"], select {
  width: 100%; border: 1px solid var(--line); background: var(--field); color: var(--ink);
  font: 16px/1.5 var(--sans); border-radius: 10px;
}
textarea { height: 380px; resize: vertical; padding: 18px; border-radius: 14px; font-size: 15px; line-height: 1.65; }
@media (min-width: 768px) { textarea { height: 440px; } }
input[type="email"], select { min-height: 52px; padding: 0 16px; }
textarea:focus-visible, input:focus-visible, select:focus-visible { border-color: var(--ledger); box-shadow: 0 0 0 3px rgba(14, 90, 82, 0.25); border-radius: 10px; }
textarea:focus-visible { border-radius: 14px; }
.ledger-card {
  display: flex; flex-direction: column; padding: 24px 20px; border-radius: 6px; background: var(--white);
  box-shadow: 0 1px 0 var(--line-2), 0 12px 28px rgba(30, 28, 25, 0.08);
}
@media (min-width: 768px) { .ledger-card { padding: 28px 28px 24px; } }
.ledger-card-head { padding-bottom: 14px; }
.result-empty { padding: 20px 0; border-top: 1.5px dashed var(--dash); font-size: 16px; line-height: 1.55; color: var(--muted); }
.result-body { display: flex; flex-direction: column; gap: 18px; border-top: 1.5px dashed var(--dash); padding-top: 16px; }
.result-group { display: flex; flex-direction: column; gap: 6px; }
.result-group h4 { font-size: 12px; }
.result-list { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; }
.result-list li { overflow-wrap: anywhere; }
.result-list .is-empty { font-size: 14px; color: var(--muted); }
.result-money { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.result-money .amount-chip { font-size: 14px; padding: 0 6px; align-self: auto; }
.with-icon { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.result-total { border-top: 1.5px dashed var(--dash); padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; }

/* ---------- 4. differences ---------- */
.diff-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 768px) { .diff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.diff-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 14px; background: var(--sand); font-size: 17px; line-height: 1.5; }
.diff-card-ours { background: var(--ledger); color: var(--receipt); }
.diff-card-ours .mono-label { color: #BFE0D8; }

/* ---------- 5. setup ---------- */
.setup-steps { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.setup-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--paper); }
.setup-time { flex-shrink: 0; width: 44px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ledger); padding-top: 3px; }
@media (min-width: 768px) { .setup-step { gap: 16px; } .setup-time { width: 52px; } }
.setup-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mock-switch { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: var(--receipt); font-size: 14px; }
.toggle { flex-shrink: 0; position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--dash); }
.toggle::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 999px; background: var(--receipt); }
.toggle.is-on { background: var(--ledger); }
.toggle.is-on::after { left: auto; right: 3px; }
.app-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.app-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 7px; border-radius: 999px; background: var(--receipt); font-size: 13px; font-weight: 600; }
.tick { color: var(--ledger); }
.mini-widget { align-self: flex-start; display: flex; flex-direction: column; gap: 2px; margin-top: 4px; padding: 12px 14px; border-radius: 16px; background: var(--receipt); min-width: 150px; }
.never-card { display: flex; flex-direction: column; gap: 4px; padding: 24px 22px; border-radius: 18px; background: var(--ink); color: var(--phone-ink); }
@media (min-width: 768px) { .never-card { padding: 24px 26px; } }
.never-card .mono-tag { font-size: 12px; padding-bottom: 8px; }
.never-list li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed rgba(236, 232, 222, 0.22); font-size: 17px; line-height: 1.4; }
.never-list s { text-decoration-color: rgba(236, 232, 222, 0.45); }
.never-x { flex-shrink: 0; color: var(--mint); font-weight: 700; }
.never-foot { padding-top: 14px; font-size: 15px; line-height: 1.5; color: #C9CFC4; }
.new-app-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 18px; border: 1.5px dashed var(--dash); }
.new-app-widget { align-self: flex-start; margin-top: 4px; padding: 14px; border-radius: 16px; background: var(--forest); width: 100%; max-width: 300px; }
.new-app-inner { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--receipt); }
.new-app-q { font-size: 15px; font-weight: 700; }
.new-app-inner .wd-btns { margin-top: 0; gap: 6px; }

/* ---------- 6. supported apps ---------- */
.apps-groups { display: flex; flex-direction: column; gap: 14px; }
.apps-group { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; border-bottom: 1.5px dashed var(--dash); }
.app-list { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 17px; line-height: 1.6; }
.app-list li { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 768px) { .app-list { font-size: 18px; } }

/* ---------- 7. learn ---------- */
.learn-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 768px) { .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1200px) { .learn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.learn-col { display: flex; flex-direction: column; gap: 14px; }
.learn-text { display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 1200px) { .learn-text { min-height: 196px; } }
.surface-tag { align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--receipt); background: var(--ledger); padding: 3px 8px; border-radius: 6px; }
.mini-phone {
  width: 100%; max-width: 280px; height: 500px; align-self: center; overflow: hidden;
  border-radius: 34px; border: 8px solid var(--ink); padding: 20px 12px; background: var(--forest);
  display: flex; flex-direction: column; gap: 10px;
}
.mini-phone-dark { border: 2px dashed #9AB3A8; background: var(--night); color: var(--phone-ink); padding: 22px 16px; }
.mini-time { align-self: center; font-family: var(--serif); font-size: 30px; color: var(--phone-ink); }
.mini-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 20px; background: var(--receipt); margin-top: 30px; }
.mini-card-tight { gap: 4px; padding: 12px 10px 10px; }
.mini-card-week { gap: 8px; margin-top: 18px; }
.mini-pad { padding: 0 4px 4px; }
.mini-highlight { font-size: 15px; line-height: 1.3; font-weight: 700; padding: 4px; margin: -4px; border-radius: 8px; box-shadow: 0 0 0 3px rgba(14, 90, 82, 0.35); }
.mini-card .wd-btns { margin-top: 0; padding-top: 4px; gap: 6px; }
.mini-dock { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px; border-radius: 20px; background: rgba(255, 253, 247, 0.14); }
.mini-dock span { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 253, 247, 0.35); }
.x-row { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 6px; border-radius: 10px; }
.x-row-dismissed { background: var(--paper); opacity: 0.8; }
.x-text { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.3; }
.x-btn { flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; color: #8C8577; }
.x-btn-active { color: var(--receipt); background: var(--ledger); box-shadow: 0 0 0 5px rgba(14, 90, 82, 0.28); }
.mini-toast { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 10px; border-radius: 10px; background: var(--ink); color: var(--phone-ink); font-size: 11.5px; line-height: 1.35; }
.mini-undo { flex-shrink: 0; font-weight: 700; color: var(--mint); }
.timeline { display: flex; flex-direction: column; gap: 11px; padding-top: 6px; }
.timeline li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.35; }
.timeline .dot { flex-shrink: 0; width: 10px; height: 10px; margin-top: 5px; border-radius: 999px; border: 2px solid var(--mint); }
.timeline li.is-noted { color: var(--mint); font-weight: 600; }
.timeline li.is-noted .dot { background: var(--mint); }
.mini-foot { margin-top: auto; font-size: 13px; line-height: 1.45; color: var(--phone-muted); }
.week-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1.5px dashed var(--dash); font-size: 12px; line-height: 1.35; }
.mini-undo-ink { flex-shrink: 0; color: var(--ledger); font-weight: 700; }
.learn-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1.5px dashed var(--dash); }

/* ---------- 8. control ---------- */
.control-list { display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.settings-mocks { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: flex-start; }
@media (min-width: 1200px) { .settings-mocks { flex-wrap: nowrap; } }
.settings-phone { flex: 0 1 300px; width: 300px; min-width: 0; max-width: 100%; padding: 20px 16px; border-radius: 32px; background: var(--paper); border: 8px solid var(--ink); display: flex; flex-direction: column; gap: 10px; }
.settings-phone .mono-xs { font-size: 11px; padding-top: 4px; }
.settings-group { display: flex; flex-direction: column; padding: 2px 12px; border-radius: 12px; background: var(--receipt); }
.settings-group li { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; border-bottom: 1px solid var(--line-3); }
.settings-group li:last-child { border-bottom: 0; }
.settings-group .toggle { width: 36px; height: 20px; }
.settings-group .toggle::after { width: 14px; height: 14px; }
.settings-group-tall li { min-height: 48px; padding-block: 6px; }
.undo-ink { color: var(--ledger); font-weight: 700; flex-shrink: 0; }
.settings-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: var(--receipt); font-size: 14px; }
.settings-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); font-weight: 700; }

/* ---------- 9. privacy ---------- */
.privacy-points { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.55; color: #CFCBC0; }
@media (min-width: 768px) { .privacy-points { font-size: 18px; } }
.link-light { color: var(--mint); }
.link-light:hover { color: var(--receipt); }
.section-night :focus-visible { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--mint); }

/* ---------- 10. pricing (3 columns on every width; smaller type on phones) ---------- */
.price-table {
  width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed;
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 0 var(--line-2), 0 12px 28px rgba(30, 28, 25, 0.06);
}
.price-table col, .price-table th, .price-table td { text-align: center; vertical-align: middle; }
.price-table thead th { padding: 22px 6px; border-bottom: 1.5px dashed var(--dash); }
.price-table thead th.price-corner { width: 50%; }
.price-plan { font-weight: 400; }
.price-plan > span { display: block; }
.price-plan-biz { background: var(--ledger); color: var(--receipt); }
.plan-name { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.plan-price { font-family: var(--mono); font-size: 12px; font-weight: 600; margin-top: 6px; }
.plan-sub { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.price-plan-biz .plan-sub { color: #CFE6E0; }
.price-table tbody th { text-align: left; font-weight: 400; padding: 12px; font-size: 14px; line-height: 1.4; }
.price-table tbody th, .price-table tbody td { border-bottom: 1px solid var(--line-3); }
.price-table tbody td { padding: 12px 0; }
.price-table .col-biz { background: var(--biz-col); }
.feat-title { display: block; }
.feat-desc { display: block; font-size: 12px; line-height: 1.4; color: var(--muted); margin-top: 3px; }
.row-highlight th, .row-highlight td:not(.col-biz) { background: var(--highlight-row); }
.row-highlight .feat-title { font-weight: 700; }
.mark-yes { display: inline-flex; color: var(--ledger); }
.mark-no { display: inline-flex; color: #B5AC98; font-size: 18px; }
.price-table tfoot td { padding: 16px 4px; }
.price-table tfoot .price-note { text-align: left; padding: 16px 12px; font-size: 13px; color: var(--muted); }
.price-table tfoot .btn { min-height: 44px; padding: 0 10px; }
@media (min-width: 768px) {
  .price-table thead th.price-corner { width: 50%; }
  .plan-name { font-size: 26px; }
  .plan-price { font-size: 18px; }
  .plan-sub { font-size: 13px; }
  .price-table tbody th { padding: 14px 20px; font-size: 16px; }
  .price-table tbody td { padding: 14px 0; }
  .feat-desc { font-size: 13px; }
  .price-table tfoot .price-note { padding: 16px 20px; font-size: 14px; }
  .price-table tfoot .btn { padding: 0 16px; }
}

/* ---------- 11. waitlist ---------- */
.join-card { gap: 12px; }
.use-fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.use-fieldset legend { padding: 0; margin-bottom: 8px; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { position: relative; }
.radio-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pills span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--receipt); font-size: 14px; font-weight: 600; cursor: pointer;
}
.radio-pills input:checked + span { background: var(--ink); color: var(--receipt); border-color: var(--ink); font-weight: 700; }
.radio-pills input:focus-visible + span { box-shadow: var(--focus); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { min-height: 1.2em; color: var(--danger); font-size: 14px; font-weight: 600; }
.join-done { display: flex; flex-direction: column; gap: 10px; }
.join-done:focus { outline: none; }

/* ---------- footer ---------- */
.site-footer { padding-block: 28px; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 768px) { .site-footer { padding-block: 36px; } .footer-row { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-row .brand-name { color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-nav a { padding-block: 10px; }
.footer-note { padding-top: 12px; }

/* ---------- privacy policy page ---------- */
.doc { max-width: 820px; padding-block: 24px 64px; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.6; }
.doc h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.25; margin: 16px 0 10px; }
.doc p + p { margin-top: 10px; }
.doc-list { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; margin-block: 8px; }
.draft-banner { padding: 14px 16px; border-radius: 10px; background: var(--check-bg); color: var(--ink); font-size: 15px; }
.doc .btn { align-self: flex-start; }

/* ---------- language tweaks ---------- */
/* Long single words (German compounds) must wrap inside the small mock rows. */
.settings-group li > span:first-child, .week-row > span:first-child, .x-text, .wd-rows .grow { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
/* Devanagari has no monospace face: set the small labels in the text face so word spacing stays natural. */
:lang(hi) .kicker, :lang(hi) .mono-tag, :lang(hi) .mono-label, :lang(hi) .mono-step, :lang(hi) .mono-xs,
:lang(hi) .mono-sm, :lang(hi) .surface-tag { font-family: var(--sans); letter-spacing: 0; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- pricing: row details in a popover (HTML popover API; no JS) ---------- */
.feat-btn {
  display: inline-flex; align-items: flex-start; gap: 6px; padding: 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.feat-btn:hover .feat-title, .feat-btn:focus-visible .feat-title { text-decoration: underline; text-decoration-color: var(--dash); text-underline-offset: 3px; }
.feat-info { flex-shrink: 0; margin-top: 2px; color: var(--muted); }
.feat-btn:hover .feat-info { color: var(--ledger); }
.feat-pop {
  width: min(420px, calc(100vw - 32px)); margin: auto; padding: 20px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--receipt); color: var(--ink);
  box-shadow: 0 20px 48px rgba(30, 28, 25, .18);
}
.feat-pop::backdrop { background: rgba(30, 28, 25, .28); }
.feat-pop-title { margin: 0 0 8px; font: 600 17px/1.3 var(--sans); }
.feat-pop-body { margin: 0 0 16px; font: 400 15px/1.55 var(--sans); color: var(--muted); }
/* Browsers without popover support simply show the text under the row. */
@supports not selector(:popover-open) {
  .feat-pop { width: auto; margin: 6px 0 0; padding: 0; border: 0; box-shadow: none; background: none; }
  .feat-pop .btn, .feat-pop-title, .feat-info { display: none; }
  .feat-pop-body { margin: 0; font-size: 13px; }
}
