/* onlybills.app marketing site. Sits on tokens.css (copied from split-app at build time),
   so colours, radii and type match the app. DESIGN.md is the rulebook: grouped surfaces,
   glass only on floating chrome, one blue accent, faces, rounded money, light + dark. */

:root {
  --page: 1120px;          /* marketing width */
  --prose: 680px;          /* reading width */
  --bar-h: 60px;
  --hero-art-light: url("/assets/img/og-card.jpg");
}
@media (min-width: 400px) { :root { --gutter: 20px; } }
@media (min-width: 900px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--bar-h) + 24px);
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  position: relative;
}
/* The app's PageBackground: a faint accent wash at the top of every page */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  background:
    radial-gradient(1000px 480px at 50% -160px, var(--wash), transparent 72%),
    radial-gradient(600px 360px at 88% -80px, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 10px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.022em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.money, .num { font-family: var(--font-rounded); font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--accent-text); font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.skip-link:focus-visible { top: 12px; text-decoration: none; }

.wrap { position: relative; z-index: 1; max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-prose { max-width: calc(var(--prose) + 2 * var(--gutter)); }

/* ── Top bar: floating glass pill (the only glass besides the mobile dock) ── */
.bar {
  position: sticky; top: 0; z-index: 40;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 0;
  pointer-events: none;
}
.bar-inner {
  pointer-events: auto;
  max-width: var(--page); margin: 0 auto; height: 52px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 10px;
  border-radius: var(--r-pill);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0.5px 0 var(--glass-specular), inset 0 0 0 0.5px var(--glass-edge);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; margin-right: auto; padding: 4px; border-radius: 12px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 0.5px var(--hairline); }
.nav { display: none; gap: 2px; }
.nav a {
  color: var(--text); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: var(--r-pill);
  transition: background-color 200ms var(--ease-out);
}
.nav a:hover { text-decoration: none; background: var(--fill); }
.nav a[aria-current="page"] { background: var(--fill); }
@media (min-width: 760px) { .nav { display: flex; } }
.get {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--accent-fill); color: var(--on-accent);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform 200ms var(--ease-out), background-color 200ms;
}
.get:hover { text-decoration: none; background: color-mix(in srgb, var(--accent-fill) 88%, black); }
.get:active { transform: scale(0.97); }
.get svg { width: 15px; height: 15px; }
.menu-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--fill); color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 760px) { .menu-btn { display: none; } }
.mobile-nav {
  pointer-events: auto;
  max-width: var(--page); margin: 8px auto 0; padding: 8px;
  border-radius: var(--r-lg); background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0 0 0.5px var(--glass-edge);
  display: none;
}
.mobile-nav.open { display: grid; animation: drop 280ms var(--ease-out); }
.mobile-nav a { color: var(--text); font-size: 17px; font-weight: 500; padding: 12px 14px; border-radius: 14px; }
.mobile-nav a:hover { text-decoration: none; background: var(--fill); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ── Type scale ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--accent-text);
}
.display { font-size: clamp(40px, 7.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
.h1 { font-size: clamp(34px, 5.2vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
.h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.45; color: var(--text-2); letter-spacing: -0.01em; }
.quiet { color: var(--text-2); }
.small { font-size: 15px; }
.foot { font-size: 13px; line-height: 18px; color: var(--text-2); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--cta-h); padding: 0 28px; border-radius: var(--r-pill); border: 0;
  font: 600 17px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform 200ms var(--ease-out), background-color 200ms, box-shadow 200ms;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent-fill); color: var(--on-accent); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent-fill) 88%, black); }
.btn-secondary { background: var(--surface); color: var(--accent-text); box-shadow: inset 0 0 0 0.5px var(--hairline), var(--card-shadow); }
.btn-secondary:hover { background: color-mix(in srgb, var(--surface) 92%, var(--accent)); }
.btn svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.text-link::after { content: "›"; font-size: 1.2em; line-height: 0; transform: translateY(-1px); }

/* App Store badge-style button (Apple's own badge artwork isn't bundled, so we draw a capsule) */
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px;
  border-radius: 16px; background: var(--text); color: var(--bg);
  transition: transform 200ms var(--ease-out);
}
.store:hover { text-decoration: none; }
.store:active { transform: scale(0.97); }
.store svg { width: 26px; height: 26px; }
.store span { display: grid; line-height: 1.1; text-align: left; }
.store small { font-size: 11px; font-weight: 500; opacity: 0.8; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

/* ── Surfaces ── */
.card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline);
}
.card-pad { padding: 24px; }
@media (min-width: 700px) { .card-pad { padding: 32px; } }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border-radius: var(--r-pill); background: var(--fill); font-size: 13px; font-weight: 600; color: var(--text);
}
.chip-live { background: var(--positive-soft); color: var(--positive-text); }
.chip-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--positive); }
.chip-accent { background: var(--accent-soft); color: var(--accent-text); }

/* Grouped list, Apple Pay style */
.group { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline); }
.row { position: relative; display: flex; align-items: center; gap: 14px; min-height: var(--row-min); padding: 12px 18px; }
.row + .row::before { content: ""; position: absolute; top: 0; left: var(--sep-inset, 18px); right: 0; height: 0.5px; background: var(--separator); }
.row-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.row-title { font-size: 17px; line-height: 22px; }
.row-sub { font-size: 15px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.row-end { text-align: right; display: grid; gap: 2px; }
.row-end .money { font-size: 17px; font-weight: 600; }
.row-end .you { font-size: 13px; font-weight: 600; color: var(--accent-text); }
.tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ring-idle);
  display: grid; place-items: center;
}
.tick.on { box-shadow: none; background: var(--accent-soft); color: var(--accent-text); }
.tick.on::after { content: ""; width: 10px; height: 6px; border: 2.2px solid currentColor; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.qty { font-family: var(--font-rounded); font-size: 15px; font-weight: 600; background: var(--fill); border-radius: var(--r-pill); padding: 3px 10px; }

/* Faces */
.face { width: var(--size, 40px); height: var(--size, 40px); border-radius: 50%; flex: none; object-fit: cover; }
.faces { display: inline-flex; }
.faces .face { box-shadow: 0 0 0 2px var(--surface); }
.faces .face + .face { margin-left: calc(var(--size, 22px) * -0.32); }

/* Phone frame around screenshots */
.phone {
  position: relative; width: var(--w, 300px); max-width: 100%; aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--w, 300px) * 0.16); padding: calc(var(--w, 300px) * 0.028);
  background: linear-gradient(145deg, #e9ebef, #c9ccd3 40%, #f4f5f7 60%, #b8bcc4);
  box-shadow: 0 40px 80px -20px rgba(20, 40, 80, 0.28), 0 0 0 0.5px rgba(0, 0, 0, 0.12);
  flex: none;
}
.phone > picture, .phone > picture > img { width: 100%; height: 100%; border-radius: calc(var(--w, 300px) * 0.135); overflow: hidden; object-fit: cover; background: var(--bg); }
.figure { margin: 36px 0; display: grid; justify-items: center; gap: 14px; }
.figure figcaption { font-size: 15px; color: var(--text-2); text-align: center; max-width: 44ch; }

/* :::imessage, a stylised sent link preview (illustration, not the Messages UI) */
.imsg { width: min(100%, 360px); display: grid; justify-items: end; gap: 6px; }
.imsg-bubble {
  width: min(82%, 280px); overflow: hidden;
  border-radius: 20px 20px 6px 20px;                 /* tighter corner on the sender's side */
  background: var(--surface); box-shadow: var(--card-shadow), 0 0 0 0.5px var(--hairline);
}
.imsg-media {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background:
    radial-gradient(60% 55% at 50% 58%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 70%),
    radial-gradient(120% 90% at 20% 0%, var(--wash), transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), color-mix(in srgb, var(--p-purple) 14%, var(--surface)));
}
.imsg-media picture { width: 62%; }
.imsg-media img { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 16px rgba(30, 70, 140, 0.16)); }
.imsg-bar { display: grid; gap: 1px; padding: 9px 14px 11px; background: var(--surface-raised); border-top: 0.5px solid var(--hairline); text-align: left; }
.imsg-bar b { font-size: var(--fs-subhead); line-height: 1.3; font-weight: 600; color: var(--text); }
.imsg-bar span { font-size: var(--fs-footnote); line-height: var(--lh-footnote); color: var(--text-2); }
.imsg-status { font-size: 11px; line-height: 1; font-weight: 500; color: var(--text-2); padding-right: 4px; }

/* ── Sections ── */
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; display: grid; gap: 14px; justify-items: center; }

/* Stat cards (:::stat, :::stats) */
.stat-card { padding: 26px; display: grid; gap: 8px; align-content: start; }
.stat-card .num { font-size: clamp(44px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--accent-text); }
.stat-card p { font-size: 17px; line-height: 1.4; }
.stat-card cite { font-style: normal; font-size: 13px; color: var(--text-2); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 0.5px var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-size: 17px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg); transition: transform 280ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); display: grid; gap: 10px; }

a.eyebrow:hover { text-decoration: underline; }

/* Tutorials list */
.tut-list { display: grid; gap: 0; }
.tut-list a { color: var(--text); }
.tut-list a:hover { text-decoration: none; background: var(--fill); }
.tut-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-family: var(--font-rounded); font-weight: 700; flex: none; }
.chev { color: var(--text-3); flex: none; font-size: 22px; }

/* ── Article page ── */
.crumbs { font-size: 15px; color: var(--text-2); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--text-2); }
.crumbs span[aria-hidden] { opacity: 0.6; }
.article-head { padding: clamp(28px, 5vw, 56px) 0 8px; display: grid; gap: 18px; }

.byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-2); }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--text); font-weight: 600; display: block; }

.prose { font-size: 18px; line-height: 1.7; color: var(--text); padding-bottom: 24px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3.4vw, 32px); line-height: 1.18; margin-top: 2em; letter-spacing: -0.025em; }
.prose h3 { font-size: 21px; line-height: 1.3; margin-top: 1.7em; letter-spacing: -0.015em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 86%, transparent); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent-text) 45%, transparent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--text-2); }
.prose ol li::marker { font-family: var(--font-rounded); font-weight: 700; color: var(--accent-text); }
.prose blockquote {
  margin-left: 0; margin-right: 0; padding: 18px 22px; border-radius: 20px;
  background: var(--surface); box-shadow: inset 0 0 0 0.5px var(--hairline);
  font-size: 17px; line-height: 1.6;
}
.prose blockquote p { color: var(--text); }
.prose code { font-size: 0.88em; background: var(--fill); padding: 2px 6px; border-radius: 6px; }
.prose hr { border: 0; height: 0.5px; background: var(--separator); margin: 2.4em 0; }
.prose .table-wrap { overflow-x: auto; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 0.5px var(--hairline); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; }
.prose th { font-size: 13px; font-weight: 600; color: var(--text-2); background: color-mix(in srgb, var(--fill) 50%, transparent); }
.prose tr + tr td { border-top: 0.5px solid var(--separator); }
.prose td:not(:first-child) { font-variant-numeric: tabular-nums; }

.stat-big { padding: 26px 26px 22px; display: grid; gap: 6px; }
.stat-big .num { font-size: clamp(48px, 7vw, 68px); font-weight: 700; color: var(--accent-text); letter-spacing: -0.03em; line-height: 1; }
.stat-big p { font-size: 19px; line-height: 1.4; color: var(--text) !important; }
.stat-big cite { font-style: normal; font-size: 13px; color: var(--text-2); }
.prose .stat-strip { margin-top: 1.4em; }

.note { padding: 18px 22px; border-radius: var(--r-md); background: var(--accent-soft); }
.note > * + * { margin-top: 0.6em; }
.note p { font-size: 17px; color: var(--text) !important; }

.sources { font-size: 15px; line-height: 1.5; }
.sources li { color: var(--text-2) !important; }
.toc { padding: 18px 22px; }
.toc b { font-size: 13px; color: var(--text-2); font-weight: 600; }

.share-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 15px; color: var(--text-2); }
.share-row button, .share-row a {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  border: 0; background: var(--surface); box-shadow: inset 0 0 0 0.5px var(--hairline); color: var(--text); font: 500 15px var(--font); cursor: pointer;
}
.share-row a:hover { text-decoration: none; }

/* ── Footer ── */
.footer { position: relative; z-index: 1; margin-top: 40px; padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 0.5px solid var(--separator); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 12px; align-content: start; }
@media (min-width: 860px) { .footer-brand { grid-column: auto; } }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); font-size: 15px; }
.footer a:hover { color: var(--text); }
.maker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.maker img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.legal { margin-top: 36px; font-size: 13px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Reveal on scroll: progressive enhancement only (no-JS stays visible) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  * { scroll-behavior: auto !important; }
}

/* Dark mode touches the tokens don't cover */
@media (prefers-color-scheme: dark) {
  .phone { background: linear-gradient(145deg, #3a3b3f, #1d1e21 40%, #46474b 60%, #18191b); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
  .imsg-bubble { box-shadow: 0 0 0 0.5px var(--hairline); }
  .imsg-media img { filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.4)); }
  .btn-primary { box-shadow: none; }
}
@media print {
  .bar, .footer, .share-row { display: none !important; }
  body::before { display: none; }
}

[hidden] { display: none !important; }
.toc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translateY(-3px); transition: transform 280ms var(--ease-out); margin-left: auto; }
.toc[open] summary::after { transform: rotate(225deg); }
.toc summary b { font-size: 15px; color: var(--text); }
.toc ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.prose .toc li + li { margin-top: 0; }

/* Comparison tables: Yes / No in words */
.prose table.compare th:not(:first-child), .prose table.compare td:not(:first-child) { text-align: center; width: 24%; }
.prose table.compare td.mark { font-size: 15px; font-weight: 600; }
.prose table.compare td.yes { color: var(--positive-text); }
.prose table.compare td.no { color: var(--text-2); font-weight: 500; }
.prose table.compare th:nth-child(2) { color: var(--accent-text); }
.prose table.compare tr:last-child td { font-size: 15px; }

/* ── OnlyBills vs Splitwise ── */
.vs-top { padding: clamp(28px, 6vw, 64px) 0 clamp(24px, 4vw, 40px); }
.vs-hero { text-align: center; display: grid; justify-items: center; gap: 20px; max-width: 760px; margin: 0 auto; }
.vs-h1 { font-size: clamp(52px, 9vw, 96px); line-height: 0.98; letter-spacing: -0.045em; }
.vs-hero .lede { max-width: 30ch; }
.vs-reassure { font-size: 15px; color: var(--text-2); }

/* Price anchor: the high price first, struck out, then ours. Names in words, no logos. */
.vs-anchor { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 640px; padding: 28px 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; border-radius: var(--r-xl); }
.vs-anchor-side { display: grid; justify-items: center; gap: 6px; padding: 0 12px; }
.vs-anchor-side + .vs-anchor-side { border-left: 0.5px solid var(--separator); }
.vs-anchor-name { font-size: 15px; font-weight: 600; color: var(--text-2); }
.us .vs-anchor-name { color: var(--text); }
.vs-anchor-price { font-family: var(--font-rounded); font-weight: 700; font-size: clamp(40px, 7vw, 68px); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.them .vs-anchor-price { color: var(--text-3); }
.them .vs-anchor-price s { text-decoration: none; position: relative; }
.them .vs-anchor-price s::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 3px; border-radius: 3px; background: var(--negative); transform: rotate(-8deg) scaleX(0); transform-origin: left; animation: strike 600ms 500ms var(--ease-out) forwards; }
@keyframes strike { to { transform: rotate(-8deg) scaleX(1); } }
.us .vs-anchor-price { color: var(--accent-text); }
.vs-anchor .quiet { font-size: 15px; }
.vs-anchor-note { text-align: center; margin: 16px auto 0; max-width: 52ch; font-size: 15px; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .them .vs-anchor-price s::after { animation: none; transform: rotate(-8deg); } }

/* Five thoughts against one, drawn as chat bubbles */
.vs-minds { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); max-width: 920px; margin: 0 auto; }
@media (min-width: 760px) { .vs-minds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vs-mind {
  padding: 24px 22px 26px; display: grid; gap: 16px; align-content: start; border-radius: var(--r-xl);
  background: var(--surface); box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline);
}
.vs-mind-head { font-size: 13px; font-weight: 600; color: var(--text-2); }
.vs-bubbles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; justify-items: start; }
.vs-bubbles li { padding: 8px 14px; border-radius: 19px; max-width: 90%; background: var(--bubble-in, var(--fill)); font-size: 16px; line-height: 21px; }
.vs-bubbles li:last-child { border-bottom-left-radius: 6px; }
.vs-mind.us { align-content: center; }
.vs-mind.us .vs-bubbles { justify-items: end; }
.vs-bubbles li.one { background: var(--accent-fill); color: #fff; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; padding: 14px 22px; border-radius: 26px 26px 8px 26px; }
.vs-thats-it { font-size: 16px; color: var(--text-2); text-align: right; }

/* The table: logos once, in the header; Yes / No in words */
.vs-table { padding: 6px 0; overflow: hidden; border-radius: var(--r-xl); }
.vs-row { display: grid; grid-template-columns: minmax(0, 1fr) 76px 80px; align-items: center; gap: 6px; padding: 13px 14px 13px 18px; position: relative; }
@media (min-width: 640px) { .vs-row { grid-template-columns: minmax(0, 1fr) 150px 150px; padding: 16px 28px; } }
.vs-row + .vs-row::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 0.5px; background: var(--separator); }
.vs-row > span:not(:first-child) { text-align: center; display: grid; justify-items: center; }
.vs-row > span:first-child { font-size: 16px; line-height: 1.35; }
@media (min-width: 640px) { .vs-row > span:first-child { font-size: 17px; } }
.vs-headrow { font-size: 15px; font-weight: 600; color: var(--text-2); }
.vs-headrow .vs-col-us, .vs-headrow .vs-col-them { display: grid; justify-items: center; gap: 8px; }
.vs-headrow .vs-col-us { color: var(--text); }
.vs-icon { width: 32px; height: 32px; border-radius: 22.5%; box-shadow: 0 0 0 0.5px var(--hairline); display: block; }
.vs-col-us { background: color-mix(in srgb, var(--accent) 6%, transparent); margin: -16px 0; padding: 16px 0; align-self: stretch; align-content: center; }
.vs-yes { font-size: 15px; font-weight: 600; color: var(--positive-text); }
.vs-no { font-size: 15px; color: var(--text-2); }
.vs-txt { font-size: 14px; line-height: 1.35; color: var(--text-2); }
.vs-col-us .vs-txt { color: var(--text); }
.vs-txt b { font-family: var(--font-rounded); color: var(--text); font-size: 16px; }
@media (max-width: 639px) {
  .vs-row > span:first-child { font-size: 15px; }
  .vs-txt { font-size: 12px; }
  .vs-txt b { font-size: 14px; }
  .vs-headrow { font-size: 13px; }
  .vs-headrow .vs-col-us, .vs-headrow .vs-col-them { gap: 6px; }
}
.vs-lane { text-align: center; margin: 22px auto 0; max-width: 46ch; font-size: 16px; color: var(--text-2); }
.vs-sources { text-align: center; margin: 24px auto 0; max-width: 70ch; }

/* ── Real app recordings ── */
.vid { position: relative; }
.vid video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w, 300px) * 0.135); background: var(--bg); }
.vid-replay {
  position: absolute; right: 9%; bottom: 7%; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--text);
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow);
}
.vid-replay:active { transform: scale(0.94); }

/* ══════════════════════════════════════════════════════════════════════════
   Inner pages, November 2026: articles, tutorials, indexes, topic hubs, vs,
   about and 404, in the home page's language. Type-led, text lists with
   hairlines, real screens in big rounded cards, one luminous blue card to close.
   No decorative art or icon tiles.
   ══════════════════════════════════════════════════════════════════════════ */
.wrap-mid { max-width: calc(820px + 2 * var(--gutter)); }

/* Index pages (/blog/, topic hubs, /how-to/, 404) */
.index-top { padding: clamp(24px, 5vw, 64px) 0 clamp(16px, 3vw, 32px); }
.index-top .crumbs { margin-bottom: 18px; }
.index-head { display: grid; gap: 14px; justify-items: start; max-width: 760px; margin-bottom: clamp(28px, 5vw, 48px); }
.index-head .lede { max-width: 36ch; }
.list-head { font-size: var(--fs-footnote); line-height: 18px; font-weight: 600; letter-spacing: 0; color: var(--text-2); margin: 40px 0 10px 4px; }
.index-head + .list-head { margin-top: 0; }

.feature-posts { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .feature-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-post {
  display: grid; gap: 12px; align-content: start; justify-items: start; padding: 28px 26px 26px; color: var(--text);
  border-radius: var(--r-xl); background: radial-gradient(90% 80% at 100% 0%, var(--wash), transparent 70%), var(--surface);
  box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline);
  transition: transform 280ms var(--ease-out);
}
.feature-post:hover { text-decoration: none; transform: translateY(-2px); }
.feature-post:active { transform: scale(0.985); }
.feature-post h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.12; letter-spacing: -0.025em; }
.feature-post p { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.feature-post .text-link { color: var(--accent-text); font-size: 16px; }
@media (min-width: 900px) { .feature-post { padding: 34px 32px 30px; } }

/* Topic jump row: scrolls sideways on phones, wraps on laptops */
.jump { display: flex; gap: 8px; margin: 28px calc(var(--gutter) * -1) 0; padding: 2px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .jump { flex-wrap: wrap; overflow: visible; margin: 32px 0 0; padding: 0; } }
.jump a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 0.5px var(--hairline);
  color: var(--text); font-size: 15px; font-weight: 600;
}
.jump a:hover { text-decoration: none; background: color-mix(in srgb, var(--surface) 90%, var(--accent)); }
.jump .num { font-size: 13px; color: var(--text-2); }

/* Category groups on /blog/: heading on the left (sticky on laptops), list on the right */
.index-groups { padding-bottom: clamp(16px, 3vw, 40px); }
.cat-group { display: grid; gap: 16px; padding: clamp(32px, 4vw, 48px) 0; scroll-margin-top: calc(var(--bar-h) + 12px); }
.cat-group + .cat-group { border-top: 0.5px solid var(--separator); }
.cat-head { display: grid; gap: 8px; justify-items: start; align-content: start; }
.cat-head p { font-size: 15px; line-height: 1.45; color: var(--text-2); max-width: 40ch; }
.cat-head .text-link { font-size: 15px; }
.cat-group .post-list { max-width: none; width: 100%; margin: 0; }
@media (min-width: 900px) {
  .cat-group { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; }
  .cat-head { position: sticky; top: calc(var(--bar-h) + 40px); }
}

/* Article rows with a quiet description line (shares .post-list/.post-line with home) */
.post-line.with-desc { padding: 15px 20px 16px; }
.post-line-desc {
  grid-column: 1; font-size: 15px; line-height: 1.4; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-line.with-desc .chev { grid-row: 1 / -1; }
.wrap-mid .post-list, .wrap-prose .post-list { max-width: none; }

/* /how-to/: the first tutorial as a card with a real screen, then the list */
.start-card {
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; color: var(--text);
  border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline);
  transition: transform 280ms var(--ease-out);
}
.start-card:hover { text-decoration: none; transform: translateY(-2px); }
.start-copy { display: grid; gap: 10px; justify-items: start; align-content: center; padding: 26px 26px 4px; }
.start-copy h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; letter-spacing: -0.025em; }
.start-sub { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.start-copy .text-link { color: var(--accent-text); font-size: 16px; margin-top: 4px; }
.start-shot { height: 250px; overflow: hidden; display: grid; justify-items: center; padding-top: 26px; background: radial-gradient(80% 70% at 50% 100%, var(--wash), transparent 70%); }
.start-shot .phone, .end-cta-shot .phone, .shot-stage .phone { box-shadow: 0 20px 40px -16px rgba(20, 40, 80, 0.30), 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.start-shot .phone { --w: 220px; }
@media (min-width: 700px) {
  .start-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .start-copy { padding: 36px 0 36px 36px; }
  .start-shot { height: 320px; padding-top: 40px; }
  .start-shot .phone { --w: 240px; }
}
.tut-list .row { padding-top: 14px; padding-bottom: 14px; --sep-inset: 68px; }
.tut-num { width: 34px; height: 34px; font-size: 16px; }
.index-foot { text-align: center; margin-top: 24px; font-size: 15px; color: var(--text-2); }

/* Article head: words only */
.article-head { padding: clamp(20px, 4vw, 48px) 0 28px; gap: 16px; }
.article-head .h1 { font-size: clamp(34px, 5.4vw, 52px); }
.byline { margin-top: 4px; padding-top: 18px; border-top: 0.5px solid var(--separator); }
@media (max-width: 639px) {
  /* The last crumb repeats the h1 just below it; phones show the path only. */
  .article-head .crumbs [aria-current], .article-head .crumbs span[aria-hidden]:nth-last-child(2) { display: none; }
  .article-head .crumbs:not(:has(a ~ a)) { display: none; }
}

/* Screens and recordings in a soft rounded stage, sized for a phone held in one hand */
.prose > .shot-fig { margin: 2em 0; gap: 12px; }
.shot-stage {
  width: 100%; display: grid; justify-items: center; padding: 28px 16px;
  border-radius: var(--r-xl); background: radial-gradient(80% 60% at 50% 100%, var(--wash), transparent 70%), var(--surface);
  box-shadow: inset 0 0 0 0.5px var(--hairline);
}
.shot-stage .phone { --w: 224px; }
@media (min-width: 640px) { .shot-stage { padding: 36px 16px; } .shot-stage .phone { --w: 256px; } }
.shot-fig figcaption { font-size: 15px; line-height: 1.45; max-width: 46ch; padding: 0 8px; }

/* Stats: one big card, or a grouped list of rows (not three stacked cards) */
.stat-big { padding: 24px 24px 20px; border-radius: var(--r-lg); }
.stat-strip { display: block; padding: 0 20px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline); }
.stat-strip .stat-card {
  background: none; box-shadow: none; border-radius: 0; padding: 18px 0;
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 2px 16px; align-items: baseline;
}
.stat-strip .stat-card + .stat-card { border-top: 0.5px solid var(--separator); }
.prose .stat-strip .stat-card .num { grid-row: 1 / span 2; font-size: 30px; }
.prose .stat-strip .stat-card p { font-size: 16px; line-height: 1.4; color: var(--text) !important; }
.stat-strip .stat-card cite { grid-column: 2; }

/* :::cta inside an article: one quiet line between hairlines */
.prose > .cta-line { margin: 2em 0; }
.cta-line { display: grid; gap: 3px; padding: 16px 4px; border-top: 0.5px solid var(--separator); border-bottom: 0.5px solid var(--separator); }
.prose .cta-line a { font-size: 17px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.prose .cta-line a:hover { text-decoration: underline; }
.cta-line a::after { content: " ›"; }
.cta-line span { font-size: 15px; line-height: 1.45; color: var(--text-2); }

/* Next tutorial: a plain text card */
.prose > .next-tut { margin-top: 2.4em; }
.next-tut {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; align-items: center; padding: 18px 20px;
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline);
  color: var(--text); text-decoration: none !important;
}
.next-tut > span:first-child { font-size: 13px; font-weight: 600; color: var(--accent-text); }
.next-tut b { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.next-tut .chev { grid-column: 2; grid-row: 1 / span 2; }
.next-tut:hover { background: color-mix(in srgb, var(--surface) 94%, var(--accent)); }

/* End of page: a small version of the home closer, with a real screen rising from the edge */
.end-cta {
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(70% 70% at 85% 100%, rgba(140, 190, 255, 0.55), transparent 70%), #345fde;
}
.end-cta-copy { display: grid; gap: 12px; justify-items: start; align-content: center; padding: 30px 26px 4px; }
.end-cta-h { font-size: clamp(26px, 3.2vw, 32px); line-height: 1.12; letter-spacing: -0.028em; color: #fff; }
.end-cta p { font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); max-width: 34ch; }
.end-cta .store { background: #fff; color: #000; margin-top: 8px; }
.end-cta-shot { height: 230px; overflow: hidden; display: grid; justify-items: center; padding-top: 30px; }
.end-cta-shot .phone { --w: 220px; }
@media (min-width: 640px) {
  .end-cta { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .end-cta-copy { padding: 36px 0 36px 36px; }
  .end-cta-shot { height: 320px; padding-top: 40px; }
}
.article-foot { padding: 8px 0 clamp(40px, 6vw, 72px); }
.article-foot .list-head { margin-top: 48px; }

/* About */
.about-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.prose ul.values { list-style: none; padding: 0 20px; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 0.5px var(--hairline); }
.prose ul.values li { padding: 16px 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.prose ul.values li + li { margin-top: 0; border-top: 0.5px solid var(--separator); }
.prose ul.values strong { display: block; font-size: 17px; color: var(--text); }
.wrap-prose > .end-cta { margin-top: 32px; }

.prose > .share-row { margin-top: 2em; }
.prose .share-row a { text-decoration: none; }
.tut-list .row-title { font-weight: 600; }

@media print { .end-cta, .cta-line, .jump { display: none !important; } }

/* ══════════════════════════════════════════════════════════════════════════
   Home, November 2026 redesign. Story order: film → the awkward group chat →
   three steps → bento of reasons → real messages → free → questions → closer.
   Few icons: real screens, faces and type carry it.
   ══════════════════════════════════════════════════════════════════════════ */

/* Hero: copy + the App Store film on a navy stage (DESIGN.md §12 "dark navy") */
.hero2 { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.hero2-grid { display: grid; gap: 36px; align-items: center; }
.hero2-copy { display: grid; gap: 22px; justify-items: start; }
.hero2-copy .lede { max-width: 30ch; }
.hero2-copy .btn-row { gap: 20px; }
.hero2-note { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-2); }
.hero2-note .faces .face { box-shadow: 0 0 0 2px var(--bg); }
@media (min-width: 960px) {
  .hero2-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .hero2-copy .display { font-size: clamp(56px, 6.2vw, 80px); }
}

.stage {
  --navy: #050a14;
  position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 45% at 50% 52%, #10254d 0%, var(--navy) 75%), var(--navy);
  padding: 72px 0 64px; display: grid; justify-items: center;
  box-shadow: 0 30px 80px -30px rgba(8, 24, 60, 0.55), inset 0 0 0 0.5px rgba(255, 255, 255, 0.06);
}
.stage-video { width: min(92%, 400px); aspect-ratio: 720 / 1268; }
.stage-video video {
  width: 100%; height: 100%; object-fit: cover;
  /* The film's own glow reaches its sides: feather every edge into the stage. */
  -webkit-mask-image: radial-gradient(75% 80% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(75% 80% at 50% 50%, #000 70%, transparent 100%);
}
.stage-caps { list-style: none; margin: 0; padding: 0; position: absolute; top: 26px; left: 16px; right: 16px; height: 34px; }
.stage-caps li {
  position: absolute; inset: 0; text-align: center; color: #fff;
  font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 34px;
  opacity: 0; transform: translateY(8px); transition: opacity 350ms var(--ease-out), transform 450ms var(--ease-out);
}
.stage-caps li.on { opacity: 1; transform: none; }
.stage-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 6px; }
.stage-dots button { border: 0; padding: 10px 0; background: none; cursor: pointer; }
.stage-dots i {
  display: block; width: 8px; height: 6px; border-radius: 3px; overflow: hidden; position: relative;
  background: rgba(255, 255, 255, 0.28); transition: width 400ms var(--ease-out);
}
.stage-dots [aria-current="true"] i { width: 34px; }
.stage-dots [aria-current="true"] i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.stage-pause {
  position: absolute; right: 14px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: grid; place-items: center;
}
.stage-pause span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.stage.paused .stage-pause span { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 959px) { .stage { width: 100%; max-width: 560px; justify-self: center; } }
@media (max-width: 520px) {
  .stage { margin: 0 calc(var(--gutter) * -0.5); padding-top: 64px; width: auto; }
}

/* "Sound familiar?": the post-dinner group chat */
.awk-grid { display: grid; gap: 40px; align-items: center; }
.awk-copy { display: grid; gap: 18px; justify-items: start; }
.awk-copy .lede { max-width: 34ch; }
.awk-stat { display: flex; gap: 14px; align-items: baseline; margin-top: 6px; padding-top: 18px; border-top: 0.5px solid var(--separator); max-width: 40ch; font-size: 15px; color: var(--text-2); }
.awk-stat .num { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.awk-stat a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--text-3); }
@media (min-width: 900px) { .awk-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

.chat-card, .quote-thread {
  position: relative; width: 100%; max-width: 440px; justify-self: center;
  background: var(--surface); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(20, 40, 80, 0.30), inset 0 0 0 0.5px var(--hairline);
  display: flex; flex-direction: column;
}
.chat-card { height: 580px; }
.chat-head {
  display: grid; justify-items: center; gap: 4px; padding: 18px 16px 12px; text-align: center;
  border-bottom: 0.5px solid var(--hairline); background: var(--surface); position: relative; z-index: 2;
}
.chat-head .faces { margin-bottom: 4px; }
.chat-head b { font-size: 15px; font-weight: 600; }
.chat-head small { font-size: 12px; color: var(--text-2); }
.chat-body {
  flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0;
  padding: 16px 14px 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 56px); mask-image: linear-gradient(to bottom, transparent, #000 56px);
}
.msg { display: grid; flex: none; }
.msg.run { margin-top: 10px; }
.msg:not(.run) { margin-top: 3px; }
.msg-name { font-size: 12px; color: var(--text-2); margin: 0 0 2px 48px; }
.msg-row { display: flex; align-items: flex-end; gap: 8px; }
.msg-row .face, .msg-gap { width: 28px; height: 28px; flex: none; }
.bub {
  margin: 0; padding: 8px 13px; border-radius: 19px; max-width: 78%;
  font-size: 16px; line-height: 21px; background: var(--bubble-in); color: var(--text);
  overflow-wrap: anywhere;
}
.recv.tail .bub { border-bottom-left-radius: 6px; }
.sent { justify-items: end; }
.sent .bub { background: var(--accent-fill); color: #fff; }
.sent.tail .bub { border-bottom-right-radius: 6px; }
:root { --bubble-in: #e9e9eb; }
@media (prefers-color-scheme: dark) { :root { --bubble-in: #26252a; } }
.bub-link { width: min(78%, 250px); border-radius: 19px 19px 6px 19px; overflow: hidden; background: var(--bubble-in); }
.bub-link-art { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(180deg, #78b2ff, #2868e2); }
.bub-link-art img { width: 46%; filter: drop-shadow(0 10px 14px rgba(10, 40, 120, 0.35)); }
.bub-link-bar { display: grid; gap: 1px; padding: 8px 13px 10px; }
.bub-link-bar b { font-size: 14px; line-height: 18px; font-weight: 600; }
.bub-link-bar span { font-size: 12px; color: var(--text-2); }
.bub.dots { display: inline-flex; gap: 4px; padding: 12px 14px; }
.bub.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); opacity: 0.5; animation: dot 1.2s ease-in-out infinite; }
.bub.dots i:nth-child(2) { animation-delay: 0.15s; }
.bub.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.45; } 30% { transform: translateY(-3px); opacity: 0.9; } }
/* With JS, messages wait their turn and pop in (DESIGN.md: springy, ≤ 0.45 s). */
.js [data-chat] [data-msg] { display: none; }
.js [data-chat] [data-msg].show { display: grid; animation: pop 420ms var(--spring) both; }
.js [data-chat] .recv[data-msg].show { transform-origin: bottom left; }
.js [data-chat] .sent[data-msg].show { transform-origin: bottom right; }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } }
.chat-notifs { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 3; display: grid; pointer-events: none; }
.chat-notifs .notif2 { grid-area: 1 / 1; transition: transform 450ms var(--ease-out), opacity 450ms var(--ease-out); }
/* An iOS-style stack: the newest banner in front, older ones tucked behind it. */
.notif2[data-depth="1"] { transform: translateY(9px) scale(0.94); opacity: 0.75; z-index: -1; }
.notif2[data-depth="2"] { transform: translateY(17px) scale(0.88); opacity: 0.4; z-index: -2; }
.notif2 {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0.5px 0 var(--glass-specular), inset 0 0 0 0.5px var(--glass-edge);
  font-size: 14px; line-height: 1.25;
}
.notif2 b { display: block; font-weight: 600; }
.notif2 .money { color: var(--positive-text); }
.notif2 small { color: var(--text-2); font-size: 12px; }
.js .notif2 { display: none; }
.js .notif2.show { display: flex; animation: notif-in 450ms var(--spring) both; }
@keyframes notif-in { from { opacity: 0; transform: translateY(-14px) scale(0.96); } }
.chat-replay {
  position: absolute; right: 12px; bottom: 12px; z-index: 4;
  border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--accent-text);
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0 0 0.5px var(--glass-edge);
}
.chat-replay[hidden] { display: none; }
.chat-replay svg { width: 18px; height: 18px; }

/* Three steps: real screens cropped into cards; a swipeable row on phones */
.steps2-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step2 { background: var(--surface); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline); }
.step2-shot { height: 300px; overflow: hidden; display: grid; justify-items: center; padding-top: 28px; background: radial-gradient(80% 70% at 50% 100%, var(--wash), transparent 70%), var(--surface-raised); }
.step2-shot .phone { --w: 230px; box-shadow: 0 20px 40px -16px rgba(20, 40, 80, 0.30), 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.step2-text { padding: 22px 24px 28px; display: grid; gap: 8px; align-content: start; }
.step2-text h3 { font-size: 21px; letter-spacing: -0.015em; }
.step2-text p { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.step2-n { font-family: var(--font-rounded); font-size: 14px; font-weight: 700; color: var(--accent-text); }
@media (max-width: 759px) {
  .steps2-grid {
    grid-auto-flow: column; grid-auto-columns: min(82%, 340px); overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none;
    scroll-padding: 0 var(--gutter);
  }
  .steps2-grid::-webkit-scrollbar { display: none; }
  .step2 { scroll-snap-align: start; }
}
@media (min-width: 760px) { .steps2-grid { grid-template-columns: repeat(3, 1fr); } }

/* Bento of reasons */
.bento { display: grid; gap: 16px; }
.tile {
  background: var(--surface); border-radius: var(--r-xl); overflow: hidden; position: relative;
  box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline);
  display: grid; gap: 22px; padding: 28px 26px; align-content: start;
}
.tile-text { display: grid; gap: 10px; justify-items: start; align-content: start; }
.tile h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.025em; }
.tile p { font-size: 16px; line-height: 1.5; color: var(--text-2); max-width: 40ch; }
.tile-shot { height: 280px; margin: 0 -26px -28px; overflow: hidden; display: grid; justify-items: center; background: radial-gradient(70% 80% at 50% 100%, var(--wash), transparent 70%); }
.tile-shot .phone { --w: 250px; box-shadow: 0 20px 40px -16px rgba(20, 40, 80, 0.30), 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile { padding: 34px 32px; }
  .tile-wide { grid-column: span 2; grid-template-columns: 1fr 1fr; align-items: start; min-height: 400px; }
  .tile-wide .tile-shot { position: absolute; top: 34px; right: 0; bottom: 0; width: 50%; height: auto; margin: 0; }
  .tile-full { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
}
.mini-bill { background: var(--surface-raised); border-radius: var(--r-md); padding: 6px 16px; }
.mini-row, .mini-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; }
.mini-row + .mini-row, .mini-row + .mini-total { border-top: 0.5px solid var(--separator); }
.mini-row > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.mini-row.quiet { color: var(--text-2); }
.mini-total b { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.pay-list { list-style: none; margin: 0; padding: 4px 16px; background: var(--surface-raised); border-radius: var(--r-md); }
.pay-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.pay-list li + li { border-top: 0.5px solid var(--separator); }
.pay-list img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 0.5px var(--hairline); flex: none; object-fit: cover; }
.pay-list span { display: grid; line-height: 1.3; }
.pay-list b { font-size: 15px; font-weight: 600; }
.pay-list small { font-size: 13px; color: var(--text-2); }
.xlate { background: var(--surface-raised); border-radius: var(--r-md); padding: 4px 18px; }
.xl-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 11px 0; }
.xl-row + .xl-row { border-top: 0.5px solid var(--separator); }
.xl-row s { grid-column: 1; font-size: 13px; color: var(--text-2); text-decoration-color: var(--text-3); }
.xl-row span:not(.money) { grid-column: 1; font-size: 16px; font-weight: 500; }
.xl-row .money { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 600; }

/* Real messages */
.quotes-grid { display: grid; gap: 36px; align-items: center; }
.quotes-copy { display: grid; gap: 14px; justify-items: start; }
.quote-thread .chat-body { padding-top: 22px; -webkit-mask-image: none; mask-image: none; }
/* The quotes keep their space and fade in place, so nothing scrolls away. */
.js .quote-thread [data-msg] { display: grid; visibility: hidden; }
.js .quote-thread [data-msg].show { visibility: visible; }
@media (min-width: 900px) { .quotes-grid { grid-template-columns: 1fr 1fr; gap: 72px; } .quote-thread { order: -1; } }

/* Free */
.free-grid { display: grid; gap: 32px; align-items: start; }
.free-copy { display: grid; gap: 14px; justify-items: start; }
.free-side { display: grid; gap: 14px; }
.free-list .row-end b { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.free-list .row:first-child .row-end b { color: var(--positive-text); }
.vs-strip {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px; margin-top: 6px; border-radius: var(--r-lg);
  background: var(--accent-soft); color: var(--text);
}
.vs-strip:hover { text-decoration: none; background: color-mix(in srgb, var(--accent-soft) 70%, var(--accent) 12%); }
.vs-strip > span:first-child { flex: 1; display: grid; gap: 2px; }
.vs-strip b { font-size: 16px; }
.vs-strip small { font-size: 14px; color: var(--text-2); }
@media (min-width: 900px) { .free-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Article list (text only, no art) */
.post-list { max-width: 820px; margin: 0 auto; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--card-shadow), inset 0 0 0 0.5px var(--hairline); }
.post-line { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 16px 20px; color: var(--text); }
.post-line + .post-line::before { content: ""; position: absolute; top: 0; left: 20px; right: 0; height: 0.5px; background: var(--separator); }
.post-line:hover { text-decoration: none; background: var(--fill); }
.post-line-cat { grid-column: 1; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.post-line b { grid-column: 1; font-size: 17px; font-weight: 600; line-height: 1.3; }
.post-line .chev { grid-column: 2; grid-row: 1 / span 2; }

/* Closer: the Orbit film on the app icon's luminous blue */
.closer2 {
  position: relative; margin: clamp(24px, 4vw, 48px) var(--gutter) 0; border-radius: var(--r-xl); overflow: hidden;
  background: #345fde; color: #fff; text-align: center;
  max-width: calc(var(--page) + 0px); margin-left: auto; margin-right: auto;
}
@media (max-width: 1183px) { .closer2 { margin-left: var(--gutter); margin-right: var(--gutter); } }
.closer2-media { aspect-ratio: 1080 / 640; }
.closer2-media video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) { .closer2-media { aspect-ratio: 1920 / 700; } }
.closer2-copy { display: grid; justify-items: center; gap: 14px; padding: 0 var(--gutter) clamp(40px, 6vw, 64px); margin-top: -8px; }
.closer2 .lede { color: rgba(255, 255, 255, 0.86); max-width: 30ch; }
.closer2 .store { background: #fff; color: #000; margin-top: 8px; }
.footer-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-chat] [data-msg].show, .js .notif2.show { animation: none; }
  .bub.dots i { animation: none; }
}

/* Regional pages (2.3). /us/ hero: a still pay sheet on the navy stage until a dollar film exists */
.stage-still { padding: 28px 0 44px; gap: 18px; }
.stage-still-cap { margin: 0; color: #fff; font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.02em; text-align: center; padding: 0 16px; }
.stage-still .phone { --w: 260px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
/* Trademark and non-affiliation lines on pages that name payment brands */
.tm-notice { margin-top: 28px; padding-top: 16px; border-top: 0.5px solid var(--separator); display: grid; gap: 8px; }
.tm-notice p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.notice-sec { padding: 0 0 32px; }
.notice-sec .tm-notice { margin-top: 0; border-top: 0; }
