/* Dropwell site v3. System fonts, no libraries, no external requests. */

:root {
  color-scheme: light dark;
  --brand: #2a87f5;
  --accent: #0469eb;
  --link: #0469eb;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #616166;
  --line: #d9d9de;
  --line-soft: #e8e8ed;
  --ok: #1b7f3b;
  --ok-bg: #e4f5e9;
  --warn: #a64b00;
  --warn-bg: #fff1e2;
  --focus: #0469eb;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .08);
  --shot-shadow: drop-shadow(0 18px 40px rgba(16, 24, 40, .16)) drop-shadow(0 2px 6px rgba(16, 24, 40, .08));
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --gutter: 16px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --link: #5aa9ff;
    --bg: #000000;
    --bg-alt: #111113;
    --surface: #1c1c1e;
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --muted: #a1a1a6;
    --line: #3a3a3c;
    --line-soft: #2c2c2e;
    --ok: #4cd472;
    --ok-bg: #12301c;
    --warn: #ffab5c;
    --warn-bg: #3a2410;
    --focus: #5aa9ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px rgba(0, 0, 0, .5);
    --shot-shadow: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 1px rgba(255, 255, 255, .18));
  }
}

@media (min-width: 640px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 var(--font);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
strong { font-weight: 600; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -.02em; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink-2); font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--ink); text-decoration: none; background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .nav-wide { display: none; }
.nav .btn { margin-left: 6px; }
@media (min-width: 720px) { .nav .nav-wide { display: inline-block; } .nav a { padding: 8px 12px; } }
@media (max-width: 400px) { .nav .btn { display: none; } }
@media (max-width: 899px), (pointer: coarse) {
  .nav a:not(.btn) { min-height: 44px; line-height: 28px; }
  .feature-index a { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 14px; }
  .balance .seg button { min-height: 44px; padding: 8px 14px; }
  .brand { min-height: 44px; }
  .teaser-links a { display: inline-block; padding: 9px 0; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: block; padding: 12px 0; line-height: 20px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border-radius: 980px;
  font: 600 17px/1.2 var(--font); letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #035bcc; }
.btn-secondary { background: transparent; color: var(--link); border-color: currentColor; }
.btn-secondary:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.btn-sm { min-height: 32px; padding: 6px 14px; font-size: 14px; }
.nav .btn-sm { color: #fff; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow::after { content: " \203A"; }

/* Hero */
.hero { text-align: center; padding: 56px 0 24px; overflow: hidden; overflow: clip visible; }
.hero-icon { width: 88px; height: 88px; margin: 0 auto 18px; }
.eyebrow { display: block; font-size: 17px; font-weight: 600; color: var(--accent); margin-bottom: 10px; letter-spacing: -.01em; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--link); } }
.hero h1 { font-size: clamp(38px, 7.2vw, 76px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; max-width: 15ch; margin: 0 auto; }
.hero .lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; color: var(--ink-2); max-width: 34em; margin: 20px auto 0; letter-spacing: -.015em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.fineprint { font-size: 14px; color: var(--muted); margin-top: 16px; }
.hero-shot { margin: 48px auto 0; max-width: 1100px; padding: 0 var(--gutter); }
.hero-shot img { width: 100%; filter: var(--shot-shadow); }
@media (max-width: 600px) { .hero-shot img { border-radius: 14px; border: 1px solid var(--line-soft); } }
@media (min-width: 900px) { .hero { padding-top: 80px; } .hero-shot { margin-top: 64px; } }

/* Proof band */
.proof { padding: 72px 0 24px; }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.proof li { border-top: 1px solid var(--line); padding-top: 18px; }
.proof .big { display: block; font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 8px; }
.proof p { color: var(--ink-2); margin: 0; font-size: 16px; }
@media (min-width: 760px) { .proof ul { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Section basics */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.07; letter-spacing: -.03em; font-weight: 700; }
.section-head p { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin-top: 16px; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

#features { padding-bottom: 40px; }
#features .section-head { margin-bottom: 0; }
@media (min-width: 900px) { #features { padding-bottom: 56px; } }

/* Feature index (chips) */
.feature-index { position: sticky; top: 56px; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-soft); }
@media (prefers-reduced-transparency: reduce) { .feature-index { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.feature-index ul { list-style: none; margin: 0 auto; padding: 10px var(--gutter); display: flex; justify-content: safe center; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: var(--max); }
.feature-index ul::-webkit-scrollbar { display: none; }
.feature-index a { display: inline-block; white-space: nowrap; font-size: 14px; color: var(--ink-2); padding: 6px 12px; border-radius: 980px; border: 1px solid transparent; }
.feature-index a:hover { text-decoration: none; background: var(--bg-alt); color: var(--ink); }
.feature-index a[aria-current="true"] { background: var(--ink); color: var(--bg); }

/* Feature sections */
.feature { padding: 80px 0; border-top: 1px solid var(--line-soft); scroll-margin-top: 64px; }
.feature:first-of-type { border-top: 0; }
.feature-grid { display: grid; gap: 36px; align-items: center; }
.feature-copy { max-width: 520px; }
.feature .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.feature .tag svg { width: 22px; height: 22px; color: var(--accent); }
@media (prefers-color-scheme: dark) { .feature .tag svg { color: var(--link); } }
.feature h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin-bottom: 18px; }
.feature-copy > p { font-size: 19px; color: var(--ink-2); line-height: 1.45; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.facts li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 16px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.facts li::after { content: ""; position: absolute; left: 5px; top: calc(.32em + 4px); width: 4px; height: 7px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (prefers-color-scheme: dark) { .facts li::after { border-color: var(--link); } }
@media (min-width: 900px) {
  .feature { padding: 112px 0; }
  .feature-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .feature-grid.flip { grid-template-columns: 7fr 5fr; }
  .feature-grid.flip .feature-copy { order: 2; }
}

/* Wide feature (Bank statements): centered head, large screenshot, then 2 columns */
.feature-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.feature-head .tag { justify-content: center; }
.feature-head > p:not(.tag) { font-size: clamp(19px, 2vw, 21px); color: var(--ink-2); line-height: 1.45; }
.feature-head .formats { justify-content: center; }
.feature-wide .demo { max-width: 1000px; margin: 0 auto; }
.feature-split { display: grid; gap: 32px; max-width: 1000px; margin: 56px auto 0; align-items: start; }
.feature-split .facts { margin-top: 0; }
.feature-split .facts li { font-size: 17px; }
.feature-split .balance { margin-top: 0; }
@media (min-width: 900px) { .feature-split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Demo media */
.demo { position: relative; margin: 0; }
.demo-frame { position: relative; }
.demo-frame > picture img, .demo-frame > img { width: 100%; filter: var(--shot-shadow); }
.demo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.demo-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 14px; border-radius: 980px; border: 0;
  background: rgba(29, 29, 31, .78); color: #fff; font: 600 14px/1 var(--font); cursor: pointer;
}
.demo-toggle svg { width: 14px; height: 14px; }
.demo figcaption { font-size: 14px; color: var(--muted); margin-top: 14px; text-align: center; }
.demo-narrow { max-width: 460px; margin-inline: auto; }
.demo-finder { max-width: 520px; margin-inline: auto; }
.demo-finder .finder-menu { position: absolute; right: -2%; top: 9%; width: 44%; max-width: 171px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .28)); }
@media (min-width: 900px) { .demo-finder .finder-menu { right: -14%; } }

/* Balance check widget */
.balance { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line-soft); margin-bottom: 16px; }
.seg button { font: 500 14px/1 var(--font); border: 0; background: transparent; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; cursor: pointer; min-height: 32px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.equation { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-variant-numeric: tabular-nums; font-size: 15px; }
.equation span { white-space: nowrap; }
.equation b { font-weight: 600; color: var(--ink); }
.equation .op { color: var(--muted); }
.equation .bad { color: var(--warn); text-decoration: underline wavy; text-underline-offset: 3px; }
.verdict { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 15px; }
.verdict svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.verdict.ok { color: var(--ok); }
.verdict.warn { color: var(--warn); }
.verdict span { color: var(--ink-2); }
.verdict strong { display: block; }
.balance-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* Formats row */
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.formats li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 980px; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line-soft); }

/* AI panel */
.ai-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.ai-panel picture img { width: 100%; border-radius: 10px; }
.ai-panel h3 { font-size: 15px; font-weight: 600; color: var(--muted); margin: 20px 0 10px; }
.tools { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tools li { font: 13px/1.2 var(--mono); padding: 6px 9px; border-radius: 8px; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line-soft); }
.ai-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; text-align: center; color: var(--ink-2); }
.ai-flow div { padding: 10px 6px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line-soft); }
.ai-flow svg { width: 16px; height: 16px; color: var(--muted); }

/* Privacy band */
.privacy-band { background: #0a1424; color: #f5f5f7; padding: 96px 0; }
.privacy-band h2 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; text-align: center; }
.privacy-band .sub { text-align: center; color: #c7d2e2; font-size: clamp(18px, 2vw, 21px); max-width: 640px; margin: 18px auto 52px; }
.privacy-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.privacy-band li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.privacy-band li svg { width: 28px; height: 28px; color: #7fb8ff; margin-bottom: 14px; }
.privacy-band h3 { color: #fff; font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.privacy-band li p { color: #c7d2e2; font-size: 16px; margin: 0; }
.privacy-band a { color: #8cc2ff; }
.privacy-band .more { text-align: center; margin: 36px 0 0; }
@media (min-width: 820px) { .privacy-band ul { grid-template-columns: repeat(3, 1fr); } }

/* Pricing */
.founding-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; text-align: center; margin: 0 auto 32px; font-size: 16px; color: var(--ink-2); min-height: 28px; }
.founding-line .pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); background: color-mix(in srgb, var(--brand) 12%, var(--bg)); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); padding: 6px 14px; border-radius: 980px; }
.meter { width: 64px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--brand) 20%, transparent); overflow: hidden; display: inline-block; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 3px; width: 0; transition: width .6s var(--ease); }
.plans { display: grid; gap: 20px; max-width: 880px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan h2, .plan h3 { font-size: 24px; letter-spacing: -.02em; }
.plan .plan-sub { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amount { font-family: var(--font-display); font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price .per { color: var(--muted); font-size: 16px; }
.price-note { font-size: 14px; color: var(--muted); margin: 8px 0 0; min-height: 21px; }
.price-note.founding { color: var(--ok); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; align-content: start; gap: 10px; font-size: 16px; color: var(--ink-2); flex: 1; }
.plan ul li { padding-left: 26px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (prefers-color-scheme: dark) { .plan ul li::before { border-color: var(--link); } }
.plan .btn { width: 100%; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan-badge { position: absolute; top: 32px; right: 28px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #0354c0; background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 4px 10px; border-radius: 980px; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .plan-badge { color: var(--link); } }
.news-opt { max-width: 880px; margin: 24px auto 0; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--line-soft); }
.news-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.news-opt label { font-weight: 600; }
.news-opt p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.checkout-msg { max-width: 880px; margin: 16px auto 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--warn-bg); color: var(--ink); font-size: 15px; }
.checkout-msg:empty { display: none; }
.guarantee { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: left; max-width: 880px; margin: 28px auto 0; color: var(--ink-2); font-size: 16px; }
.guarantee svg { width: 32px; height: 32px; color: var(--ok); flex: none; }
.guarantee.note svg { color: var(--link); }
.teaser-links { text-align: center; margin-top: 28px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: 17px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 600; padding: 14px 16px 0; color: var(--ink); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
thead th { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
tbody th { font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { th, td { padding: 10px 10px; } table { font-size: 15px; } thead th { font-size: 12px; letter-spacing: .01em; } }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; }
tr.current { background: color-mix(in srgb, var(--brand) 10%, transparent); }
tr.current td:first-child { font-weight: 600; }
.now-badge { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 980px; vertical-align: 1px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-size: 18px; font-weight: 600; position: relative; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); font-size: 17px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Plain pages (pricing, download, support, legal) */
.page-head { padding-top: 64px; padding-bottom: 32px; text-align: center; }
.page-head h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.page-head p { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 640px; margin: 16px auto 0; }
.prose { max-width: 740px; margin: 0 auto; padding: 0 var(--gutter) 96px; }
.section .prose { padding-bottom: 0; }
.center { text-align: center; }
@media (max-width: 600px) {
  .founding-line .pill { font-size: 14px; }
  table.stack thead { display: none; }
  table.stack tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
  table.stack tbody tr:last-child { border-bottom: 0; }
  table.stack th[scope="row"] { display: block; padding: 0 0 4px; border: 0; }
  table.stack td { display: block; padding: 2px 0; border: 0; text-align: left; }
  table.stack td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}
.prose h2 { font-size: 26px; letter-spacing: -.02em; margin: 44px 0 12px; line-height: 1.2; }
.prose h3 { font-size: 19px; letter-spacing: -.015em; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose address { font-style: normal; color: var(--ink-2); margin-bottom: 1em; }
.prose .table-wrap { margin: 12px 0 20px; }
.prose table { font-size: 15px; }
.prose code { font: 14px var(--mono); background: var(--bg-alt); padding: 1px 5px; border-radius: 5px; }
.draft-banner { max-width: 740px; margin: 0 auto 28px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--warn-bg); color: var(--ink); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); font-weight: 600; text-align: center; }
.updated { color: var(--muted); font-size: 15px; }
.cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .cards-2 { grid-template-columns: 1fr 1fr; } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h2, .card h3 { font-size: 20px; letter-spacing: -.02em; margin: 0 0 8px; }
.card p { color: var(--ink-2); font-size: 16px; }
.card p:last-child { margin-bottom: 0; }
.card > svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .card > svg { color: var(--link); } }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; display: grid; place-items: center; font-size: 15px; }
.steps strong { color: var(--ink); }

/* Download */
.release { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; text-align: center; box-shadow: var(--shadow); }
.release img.app-icon { width: 96px; height: 96px; margin: 0 auto 14px; }
.release h2 { font-size: 28px; letter-spacing: -.02em; }
.release .meta { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.release .notes { text-align: left; margin-top: 24px; border-top: 1px solid var(--line-soft); padding-top: 20px; color: var(--ink-2); font-size: 16px; white-space: pre-line; }
.release .notes h3 { font-size: 17px; margin-bottom: 8px; white-space: normal; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line-soft); padding: 48px 0 36px; font-size: 14px; color: var(--muted); }
.footer-top { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin: 10px 0 0; max-width: 30em; }
.site-footer h2 { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; display: grid; gap: 6px; font-size: 12px; }
.footer-bottom p { margin: 0; }
@media (min-width: 820px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* Reveal on scroll (only when JS marks it ready and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal-ready .reveal.in { opacity: 1; transform: none; }
}

/* 404 */
.notfound { text-align: center; padding: 96px 0 120px; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 24px; }
.notfound h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.03em; }
.notfound p { color: var(--ink-2); font-size: 19px; max-width: 520px; margin: 14px auto 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .feature-index, .site-footer, .demo-toggle { display: none; }
  body { background: #fff; color: #000; }
}
