/* doMahan website. Hand written, no framework. Colors match the app (core/design/Color.kt). */
@font-face { font-family: "Jakarta"; src: url(/fonts/jakarta.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/fonts/caveat.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #FBFAF7; --raised: #FFFFFF; --ink: #1E1B18; --muted: #5C554D; --line: rgba(30,27,24,.12);
  --yellow: #FDE66C; --green: #6AE08D; --aqua: #80E5DC; --coral: #FA9B9B; --lavender: #B5A9F6;
  --blue: #86B4F9; --sky: #B0CEFB; --pink: #F897E3; --peach: #FFC58A; --lime: #CDEB7A;
  --done: #15963C; --skip: #E5484D; --sticky-ink: #1E1B18;
  --radius: 22px; --radius-sm: 14px; --shadow: 0 1px 2px rgba(30,27,24,.06), 0 12px 32px -12px rgba(30,27,24,.22);
  --shadow-lg: 0 2px 4px rgba(30,27,24,.06), 0 30px 60px -20px rgba(30,27,24,.35);
  --hand: "Caveat", "Segoe Print", cursive; --sans: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 32px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17140F; --raised: #221E18; --ink: #F4EFE6; --muted: #B8AFA3; --line: rgba(244,239,230,.12);
    --done: #4CD27A; --skip: #FF7A7E;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 30px 60px -20px rgba(0,0,0,.75);
  }
}
:root[data-theme="dark"] {
  --paper: #17140F; --raised: #221E18; --ink: #F4EFE6; --muted: #B8AFA3; --line: rgba(244,239,230,.12);
  --done: #4CD27A; --skip: #FF7A7E;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #8B7CF6; outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
.hand { font-family: var(--hand); font-weight: 700; letter-spacing: 0; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--sticky-ink); box-shadow: 0 10px 30px -10px rgba(253,230,108,.9); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--paper) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.brand-word { display: inline-block; width: 104px; height: 24px; background: currentColor;
  -webkit-mask: url(/img/wordmark.svg) left center / contain no-repeat; mask: url(/img/wordmark.svg) left center / contain no-repeat; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); background: var(--line); }
@media (max-width: 720px) { .nav { display: none; } .topbar .btn { margin-left: auto; } .brand-word { width: 92px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); overflow: clip; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; text-align: center; } .hero-copy .actions, .hero-copy .proof { justify-content: center; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--raised); box-shadow: var(--shadow); margin-bottom: 22px; }
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: 12px; color: var(--sticky-ink); }
.hero h1 { font-size: clamp(42px, 7.2vw, 88px); line-height: .98; letter-spacing: -.045em; }
.hero h1 .hand { display: inline-block; font-size: 1.12em; line-height: .8; color: var(--ink); position: relative; transform: rotate(-3deg); }
.hero h1 .hand::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: .02em; height: .32em; background: var(--yellow); z-index: -1; border-radius: 6px; transform: rotate(1.5deg); }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }
@media (max-width: 900px) { .hero .lede { margin-inline: auto; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); font-weight: 600; }
.proof span { display: inline-flex; align-items: center; gap: 6px; }
.proof span::before { content: "✓"; color: var(--done); font-weight: 800; }

/* floating background notes */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.floaters i { position: absolute; width: 90px; height: 90px; border-radius: 12px; opacity: .55; filter: blur(.2px); box-shadow: var(--shadow);
  transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--r, 0deg)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .floaters i { opacity: .22; } }
@media (max-width: 900px) { .floaters i { opacity: .28; width: 56px; height: 56px; } }

/* ---------- Phone + live deck ---------- */
.phone { position: relative; width: min(340px, 82vw); aspect-ratio: 9 / 19; margin: 0 auto; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #2b2620, #0e0c09); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%); background: #0b0a08; border-radius: 999px; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(120% 60% at 50% 0%, #FFF6C9 0%, #FBFAF7 55%, #F3EEE4 100%); color: #1E1B18; padding: 56px 16px 14px; }
.screen.s-daily { background: radial-gradient(120% 60% at 50% 0%, #DCE8FF 0%, #F4F7FD 55%, #E9EEF7 100%); }
.screen.s-misc { background: radial-gradient(120% 60% at 50% 0%, #E3EEFF 0%, #F6F9FE 55%, #EDF1F8 100%); }
.screen.s-exp { background: radial-gradient(120% 60% at 50% 0%, #D6F7E0 0%, #F4FBF6 55%, #E8F2EC 100%); }
.screen.s-cal { background: radial-gradient(120% 60% at 50% 0%, #E9E4FF 0%, #F7F5FE 55%, #EEEBF7 100%); }
.screen.s-ach { background: radial-gradient(120% 60% at 50% 0%, #FFE0F7 0%, #FDF5FB 55%, #F5EAF2 100%); }
.screen.s-jour { background: radial-gradient(120% 60% at 50% 0%, #FFE6CC 0%, #FDF8F2 55%, #F5EDE3 100%); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px;
  background: rgba(255,255,255,.75); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 4px 14px -6px rgba(30,27,24,.25); white-space: nowrap; }
.pill.tint-y { background: color-mix(in srgb, var(--yellow) 55%, white); }
.mic-row { display: flex; gap: 10px; margin: 14px 0 6px; }
.mic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.8); box-shadow: 0 4px 14px -6px rgba(30,27,24,.3); }
.mic svg { width: 18px; }
.addbtn { height: 40px; padding: 0 16px; border-radius: 999px; background: #1E1B18; color: #FBFAF7; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.deck { position: relative; flex: 1; width: 100%; display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.card { position: absolute; width: 74%; aspect-ratio: 1 / 1.02; border-radius: 16px; padding: 18px 14px; text-align: center; color: #1E1B18;
  box-shadow: 0 2px 0 rgba(0,0,0,.05), 0 14px 26px -12px rgba(30,27,24,.45); display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  transition: transform .45s cubic-bezier(.2,.9,.25,1.05), opacity .3s; will-change: transform; cursor: grab; }
.card:active { cursor: grabbing; }
.card b { font-size: 17px; line-height: 1.2; margin-bottom: 6px; display: block; }
.card small { font-size: 12.5px; line-height: 1.35; opacity: .78; }
.card .chip { margin-top: auto; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.55); padding: 4px 10px; border-radius: 999px; }
.card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; border-radius: 0 0 16px 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.09) 50%); }
.card .stamp { position: absolute; top: -12px; left: -12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 800; line-height: 1;
  opacity: 0; transform: scale(.4) rotate(-20deg); transition: .2s; box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(0,0,0,.35); z-index: 2; }
.card.done .stamp { background: var(--done); opacity: 1; transform: scale(1); }
.card.done .stamp::before { content: "✓"; }
.card.skip .stamp { background: var(--skip); opacity: 1; transform: scale(1); }
.card.skip .stamp::before { content: "✕"; }
.ring-row { width: 100%; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.7); border-radius: 18px; padding: 8px 12px; font-size: 12px; font-weight: 700; }
.ring { width: 34px; height: 34px; flex: none; }
.ring circle { fill: none; stroke-width: 4; }
.ring .bg { stroke: rgba(30,27,24,.1); }
.ring .fg { stroke: var(--done); stroke-linecap: round; transition: stroke-dashoffset .5s ease; transform: rotate(-90deg); transform-origin: 50% 50%; }
.screen .wm { width: 86px; height: 20px; margin-top: 10px; background: #1E1B18; -webkit-mask: url(/img/wordmark.svg) center / contain no-repeat; mask: url(/img/wordmark.svg) center / contain no-repeat; }
.deck-hint { position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); font-family: var(--hand); font-size: 24px; white-space: nowrap; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.deck-hint svg { width: 34px; }
.phone-wrap { position: relative; padding-bottom: 54px; }
.burst { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 5; }
.burst i { position: absolute; left: 50%; top: 45%; width: 9px; height: 14px; border-radius: 2px; opacity: 0; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.8vw, 56px); letter-spacing: -.035em; }
.sec-head p { font-size: 19px; color: var(--muted); }
.kicker { display: inline-block; font-family: var(--hand); font-size: 28px; line-height: 1; margin-bottom: 10px; transform: rotate(-2deg); }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--raised); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--hand); font-size: 26px; padding: 4px 18px; border-radius: 10px; color: var(--sticky-ink); white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Try it (voice parser) ---------- */
.try { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 860px) { .try { grid-template-columns: 1fr; } }
.try-box { background: var(--raised); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--line); margin-bottom: 16px; }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: var(--shadow); }
.say { display: flex; align-items: center; gap: 10px; border-radius: 18px; padding: 6px 6px 6px 16px; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .2s; }
.say:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.say input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 18px/1.4 var(--sans); color: var(--ink); padding: 12px 0; outline: none; }
.say .mic-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; flex: none; }
.say .mic-btn.live { background: var(--skip); animation: pulse 1.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); } 100% { box-shadow: 0 0 0 16px rgba(229,72,77,0); } }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.examples button { border: 0; cursor: pointer; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--line); color: var(--ink); }
.examples button:hover { background: color-mix(in srgb, var(--yellow) 70%, transparent); color: var(--sticky-ink); }
.result { display: grid; place-items: center; min-height: 360px; position: relative; }
.result .card { position: relative; width: min(300px, 80%); cursor: default; transition: background .35s, transform .35s; }
.result .card b { font-size: 22px; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.meta span { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.6); }
.note-small { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- Seven screens ---------- */
.screens-ui { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .screens-ui { grid-template-columns: 1fr; } }
.tabs { display: grid; gap: 10px; }
.tab { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; text-align: left; border: 0; cursor: pointer; padding: 16px; border-radius: 18px; background: transparent; transition: background .2s, box-shadow .2s; }
.tab:hover { background: var(--line); }
.tab[aria-selected="true"] { background: var(--raised); box-shadow: var(--shadow); }
.tab .sw { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--sticky-ink); }
.tab h3 { font-size: 19px; margin: 2px 0 4px; letter-spacing: -.01em; }
.tab p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.45; }
.tab:not([aria-selected="true"]) p { display: none; }
.screen-cap { display: none; }
@media (max-width: 900px) {
  .tabs { display: flex; overflow-x: auto; gap: 8px; padding: 4px 2px 12px; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; scroll-snap-type: x proximity; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { grid-template-columns: 30px auto; gap: 8px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 999px; flex: none; scroll-snap-align: start; background: var(--raised); box-shadow: var(--shadow); }
  .tab .sw { width: 30px; height: 30px; border-radius: 50%; font-size: 15px; }
  .tab h3 { font-size: 15px; margin: 0; white-space: nowrap; }
  .tab p { display: none !important; }
  .tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
  .screen-cap { display: block; text-align: center; color: var(--muted); max-width: 30em; margin: 18px auto 0; font-size: 16px; min-height: 3em; }
}
.mini { width: 100%; }
.mini .card { position: relative; width: 78%; cursor: default; }
.mock-stack { position: relative; width: 100%; flex: 1; display: grid; place-items: center; }
.mock-stack .card:nth-child(1) { position: absolute; transform: rotate(-7deg) translate(-8px, 8px); }
.mock-stack .card:nth-child(2) { position: absolute; transform: rotate(5deg) translate(6px, 4px); }
.mock-stack .card:nth-child(3) { position: absolute; }
.money { width: 100%; background: linear-gradient(160deg, #6AE08D, #4FCB77); border-radius: 18px; padding: 14px; color: #0F2A17; text-align: left; margin-top: 10px; }
.money small { font-weight: 700; font-size: 11px; opacity: .8; }
.money strong { display: block; font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.bar { height: 7px; border-radius: 9px; background: rgba(15,42,23,.18); margin: 10px 0 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 38%; background: #0F2A17; border-radius: 9px; }
.cats { width: 100%; background: rgba(255,255,255,.8); border-radius: 18px; padding: 10px 12px; margin-top: 10px; font-size: 12px; text-align: left; }
.cats div { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.cats div i { width: 9px; height: 9px; border-radius: 50%; }
.cats div span { margin-left: auto; font-weight: 700; }
.cal { width: 100%; background: rgba(255,255,255,.75); border-radius: 18px; padding: 12px; margin-top: 10px; }
.cal h4 { text-align: center; font-size: 16px; margin: 0 0 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(30,27,24,.18); font-style: normal; font-size: 9px; display: grid; place-items: center; }
.cal-grid i.g { background: var(--green); border-color: transparent; }
.cal-grid i.r { background: var(--coral); border-color: transparent; }
.cal-grid i.h { background: conic-gradient(var(--green) 0 65%, var(--coral) 0); border-color: transparent; }
.paper { width: 100%; flex: 1; margin-top: 10px; border-radius: 16px; background: #fffdf8 repeating-linear-gradient(transparent 0 25px, rgba(30,27,24,.08) 25px 26px);
  padding: 10px 14px 10px 30px; font-family: var(--hand); font-size: 20px; line-height: 26px; text-align: left; position: relative; color: #3a332b; }
.paper::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 1.5px; background: rgba(229,72,77,.35); }
.moods { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.moods span { font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.75); }
.moods span.on { background: var(--yellow); }
.panel-anim { animation: pop .45s cubic-bezier(.2,.9,.25,1.1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; background: var(--raised); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; min-height: 220px; }
.tile.w3 { grid-column: span 3; } .tile.w4 { grid-column: span 4; }
.tile h3 { font-size: 22px; letter-spacing: -.02em; }
.tile p { color: var(--muted); margin: 0; font-size: 16px; }
.tile .big { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; }
.tile.sticky { color: var(--sticky-ink); }
.tile.sticky p { color: rgba(30,27,24,.75); }
@media (max-width: 900px) { .tile, .tile.w3, .tile.w4 { grid-column: span 6; min-height: 0; } }
.tile .deco { position: absolute; right: -10px; bottom: -10px; width: 120px; opacity: .9; }

/* ---------- Compare table ---------- */
.compare { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; background: var(--raised); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 16px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare thead th.us { text-transform: none; letter-spacing: 0; font-size: 17px; color: var(--ink); background: color-mix(in srgb, var(--yellow) 40%, transparent); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare td.us { background: color-mix(in srgb, var(--yellow) 22%, transparent); font-weight: 700; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--raised); border-radius: 18px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 36px; padding: clamp(36px, 6vw, 72px); background: #1E1B18; color: #F4EFE6; overflow: hidden; text-align: center; }
.cta h2 { font-size: clamp(34px, 5.4vw, 64px); letter-spacing: -.04em; }
.cta p { color: #CFC6BA; font-size: 19px; max-width: 36em; margin-inline: auto; }
.cta .btn-ink { background: #FDE66C; color: #1E1B18; }
.cta .btn-ghost { color: #F4EFE6; box-shadow: inset 0 0 0 2px rgba(244,239,230,.25); }
@media (max-width: 760px) { .cta .notes i { width: 64px !important; height: 64px !important; opacity: .55; } }
.cta .notes i { position: absolute; width: 110px; height: 110px; border-radius: 14px; opacity: .9; box-shadow: 0 20px 40px -20px #000; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px auto 8px; max-width: 900px; text-align: left; }
.steps div { background: rgba(244,239,230,.07); border-radius: 18px; padding: 18px; }
.steps b { display: block; font-family: var(--hand); font-size: 30px; color: #FDE66C; line-height: 1; margin-bottom: 6px; }
.steps span { font-size: 15px; color: #CFC6BA; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 15px; }
.footer-in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; }
.footer-brand p { color: var(--muted); max-width: 26em; margin-top: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-cols a { display: block; text-decoration: none; padding: 5px 0; overflow-wrap: anywhere; }
.footer-cols a:hover { text-decoration: underline; }
.footer-legal { margin-top: 36px; color: var(--muted); font-size: 13px; }
.footer-legal p { margin: 0 0 4px; }
@media (max-width: 760px) { .footer-in, .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .card, .floaters i { transition: none; }
}

/* ---------- Blog and prose pages ---------- */
.page-head { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); text-align: center; }
.page-head h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.045em; max-width: 15em; margin-inline: auto; }
.page-head p { color: var(--muted); font-size: 19px; max-width: 38em; margin-inline: auto; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; background: var(--raised); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.post-card .cover { aspect-ratio: 1200 / 630; display: grid; place-items: center; padding: 20px; color: var(--sticky-ink); font-family: var(--hand); font-size: clamp(26px, 3vw, 34px); line-height: 1.05; text-align: center; position: relative; }
.post-card .cover::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.1) 50%); }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.post-card .by { margin-top: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.post-card.feature { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; }
.post-card.feature .cover { aspect-ratio: auto; min-height: 280px; font-size: clamp(34px, 4vw, 52px); }
.post-card.feature h2 { font-size: clamp(24px, 3vw, 34px); }
@media (max-width: 960px) { .post-card.feature { grid-column: span 2; grid-template-columns: 1fr; } }
@media (max-width: 640px) { .post-card.feature { grid-column: span 1; } }

.article { max-width: 720px; margin: 0 auto; }
.article-head { padding: clamp(32px, 6vw, 72px) 0 24px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.article-head h1 { font-size: clamp(34px, 5.4vw, 58px); letter-spacing: -.04em; }
.article-head .dek { font-size: 20px; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); margin-top: 20px; flex-wrap: wrap; }
.byline img { width: 40px; height: 40px; border-radius: 12px; }
.byline b { color: var(--ink); }
.tldr { background: color-mix(in srgb, var(--yellow) 30%, var(--raised)); border-radius: 18px; padding: 18px 22px; margin: 8px 0 28px; box-shadow: var(--shadow); }
.tldr strong { font-family: var(--hand); font-size: 26px; display: block; line-height: 1; margin-bottom: 6px; }
.tldr p { margin: 0; }
.prose { font-size: 18.5px; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 1.8em 0 .6em; letter-spacing: -.03em; }
.prose h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.prose a { text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.6em 0; padding: 16px 22px; border-radius: 16px; background: var(--raised); box-shadow: var(--shadow); font-family: var(--hand); font-size: 28px; line-height: 1.25; }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.4em 0; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.prose code { font-size: .9em; background: var(--line); padding: 2px 6px; border-radius: 6px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose .callout { background: var(--raised); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); margin: 1.6em 0; }
.prose .callout p:last-child { margin: 0; }
.sources { font-size: 15px; color: var(--muted); }
.sources ol { padding-left: 1.2em; }
.updated { font-size: 14px; color: var(--muted); margin-top: 2em; }
.app-plug { margin: 48px 0 0; border-radius: 24px; padding: 24px; display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; background: var(--raised); box-shadow: var(--shadow); }
.app-plug img { width: 72px; height: 72px; border-radius: 18px; }
.app-plug h2 { font-size: 20px; margin: 0 0 4px; }
.app-plug p { margin: 0 0 10px; color: var(--muted); font-size: 15.5px; }
.related { margin-top: 56px; }
.related h2 { font-size: 24px; }
.legal { max-width: 760px; margin: 0 auto; font-size: 17px; }
.legal h2 { font-size: 24px; margin-top: 1.8em; }
.legal li { margin: .3em 0; }
.legal .box, .prose .box { background: var(--raised); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); margin: 1.2em 0; }
.notfound { text-align: center; padding: 80px 0 40px; }
.notfound .card { position: relative; margin: 0 auto 28px; width: 240px; background: var(--coral); transform: rotate(-4deg); cursor: default; }

/* Dark mode details */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero h1 .hand::after { background: rgba(253,230,108,.28); }
  :root:not([data-theme="light"]) .tldr { background: color-mix(in srgb, var(--yellow) 12%, var(--raised)); }
  :root:not([data-theme="light"]) .compare td.us, :root:not([data-theme="light"]) .compare thead th.us { background: rgba(253,230,108,.10); }
}


/* ---------- Glassmorphism (owner request, 11 Oct 2026) ---------- */
:root { --glass: rgba(255,255,255,.52); --glass-strong: rgba(255,255,255,.72); --glass-border: rgba(255,255,255,.75); --glass-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -18px rgba(30,27,24,.28); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --glass: rgba(40,35,28,.48); --glass-strong: rgba(44,38,30,.7); --glass-border: rgba(255,255,255,.10); --glass-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px -18px rgba(0,0,0,.7); } }
body::before { content: ""; position: fixed; inset: -10vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 8% 12%, rgba(253,230,108,.38), transparent 60%),
    radial-gradient(34vmax 34vmax at 92% 18%, rgba(181,169,246,.34), transparent 60%),
    radial-gradient(36vmax 36vmax at 85% 82%, rgba(128,229,220,.30), transparent 60%),
    radial-gradient(30vmax 30vmax at 12% 88%, rgba(250,155,155,.26), transparent 60%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { opacity: .45; } }
.glass, .eyebrow, .try-box, .tile:not(.sticky), .faq details, .compare, .post-card, .app-plug, .tab[aria-selected="true"], .feature-card, .tldr, .legal .box, .prose .box, .prose .callout {
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
.tile.sticky { border: 1px solid rgba(255,255,255,.55); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -18px rgba(30,27,24,.35);
  background-image: linear-gradient(160deg, rgba(255,255,255,.45), rgba(255,255,255,0) 55%); }
.compare td.us, .compare thead th.us { background: rgba(253,230,108,.28); }
.ring-row { background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.8); }
.pill { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.85); }
.mic { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.85); }
.tldr { background: linear-gradient(160deg, rgba(253,230,108,.45), var(--glass)); }

/* ---------- Hero phone: switch screens like the app ---------- */
.hero-screen { position: absolute; inset: 0; padding: 56px 16px 14px; display: flex; flex-direction: column; align-items: center; border-radius: 36px; }
.hero-screen[hidden] { display: none; }
.screen.hero-host { padding: 0; }
.pill-btn { border: 0; cursor: pointer; font: 700 13px/1.2 var(--sans); color: #1E1B18; }
.goto { position: absolute; left: 10px; right: 10px; top: 92px; z-index: 300; border-radius: 22px; padding: 10px; display: grid; gap: 4px;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 50px -20px rgba(30,27,24,.45); animation: pop .3s cubic-bezier(.2,.9,.25,1.1); }
.goto h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #5C554D; margin: 4px 8px 6px; }
.goto button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 9px 10px; border-radius: 12px; font: 600 14px/1.2 var(--sans); color: #1E1B18; cursor: pointer; text-align: left; }
.goto button:hover, .goto button[aria-current="true"] { background: rgba(30,27,24,.07); }
.goto button i { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(30,27,24,.15); }
.goto button small { margin-left: auto; color: #5C554D; font-weight: 600; font-size: 11px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; opacity: .45; transition: transform .2s, opacity .2s; }
.dots button[aria-current="true"] { opacity: 1; transform: scale(1.35); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.phone-wrap .deck-hint { bottom: -84px; }
.phone-wrap { padding-bottom: 92px; }

/* ---------- Seven screens at a glance ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.feature-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; color: #1E1B18;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 18px -10px rgba(0,0,0,.4); }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.feature-card li { position: relative; padding-left: 22px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.feature-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--done); font-weight: 800; }
.feature-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--c); opacity: .28; filter: blur(10px); }
.feature-card.wide { grid-column: span 2; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } .feature-card.wide { grid-column: span 1; } }
.lang-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.lang-row span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--line); }
.examples button b { font-size: 11px; letter-spacing: .04em; opacity: .6; margin-right: 6px; }

.prose a, .legal a { overflow-wrap: anywhere; }
