/* Clarobid website — one stylesheet for every page.
   Layout: a 1200px column on a Glass ground; Ink sections for emphasis; real app screenshots carry the story.
   Colors come from the Clarobid brand kit (colors/clarobid-tokens.css). */
:root {
  --blue: #2A5FF0;        /* Claro Blue: buttons, links, the one accent */
  --blue-ink: #1D47C4;    /* blue text on light tints */
  --blue-tint: #E9EFFE;
  --ink: #0B0D12;         /* text, dark sections */
  --bg: #F4F6FA;          /* Glass: page ground */
  --surface: #FFFFFF;
  --surface-2: #EEF1F6;
  --line: #E3E7EF;        /* Mist */
  --line-strong: #D5DAE3;
  --muted: #4A5363;
  --soft: #5B6472;        /* Slate */
  --gain: #0E7A4E; --gain-tint: #E6F4EC;
  --watch: #B25E00; --watch-tint: #FDF1E3;
  --loss: #C4282D; --loss-tint: #FCEBEC;
  --dark-bg: #0B0D12; --dark-surface: #161A22; --dark-fg: #F4F6FA; --dark-muted: #A9B2C1; --dark-line: rgba(255,255,255,0.10);
  --shadow: 0 1px 2px rgba(11,13,18,0.06), 0 12px 32px rgba(11,13,18,0.08);
  --sans: 'Geist', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #3D6EF5; --blue-ink: #A9C4FF; --blue-tint: rgba(127,168,255,0.14);
    --ink: #F4F6FA; --bg: #0B0D12; --surface: #12161E; --surface-2: #1A1F29;
    --line: rgba(255,255,255,0.08); --line-strong: rgba(255,255,255,0.16);
    --muted: #A9B2C1; --soft: #8A93A3;
    --gain: #4ADE9B; --gain-tint: rgba(74,222,155,0.14); --watch: #F5A524; --watch-tint: rgba(245,165,36,0.14); --loss: #FF6B6B; --loss-tint: rgba(255,107,107,0.14);
    --dark-bg: #060709; --dark-surface: #12161E;
    --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 12px 32px rgba(0,0,0,0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --blue: #3D6EF5; --blue-ink: #A9C4FF; --blue-tint: rgba(127,168,255,0.14);
  --ink: #F4F6FA; --bg: #0B0D12; --surface: #12161E; --surface-2: #1A1F29;
  --line: rgba(255,255,255,0.08); --line-strong: rgba(255,255,255,0.16);
  --muted: #A9B2C1; --soft: #8A93A3;
  --gain: #4ADE9B; --gain-tint: rgba(74,222,155,0.14); --watch: #F5A524; --watch-tint: rgba(245,165,36,0.14); --loss: #FF6B6B; --loss-tint: rgba(255,107,107,0.14);
  --dark-bg: #060709; --dark-surface: #12161E;
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 12px 32px rgba(0,0,0,0.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 18px; } }
.section { padding-block: 96px; }
.section.tight { padding-block: 64px; }
@media (max-width: 760px) { .section { padding-block: 64px; } .section.tight { padding-block: 44px; } }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); }
.lede { font-size: 19px; color: var(--muted); max-width: 62ch; }
.h-xl { font-size: clamp(40px, 6.2vw, 76px); letter-spacing: -0.035em; line-height: 1.02; }
.h-lg { font-size: clamp(32px, 4.4vw, 52px); }
.h-md { font-size: clamp(24px, 2.8vw, 32px); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.center { text-align: center; align-items: center; margin-inline: auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand b { color: var(--blue); font-weight: 600; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); font-size: 15px; padding: 8px 12px; border-radius: 9px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 920px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-btn { display: flex; }
  .header-cta { margin-left: 0; }
  .site-header.open .nav { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 18px 18px; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-header.open .nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 420px) { .header-cta .btn { padding-inline: 12px; font-size: 14px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font: 500 15.5px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: #1F52DC; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding-block: 72px 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.hero h1 b { color: var(--blue); font-weight: 600; }
.hero .meta { font-size: 14.5px; color: var(--soft); }
.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 14px; color: var(--ink); }
.badge:hover { text-decoration: none; border-color: var(--blue); }
.badge span { padding: 3px 9px; border-radius: 999px; background: var(--blue); color: #FFFFFF; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.ticker { display: flex; gap: 10px; flex-wrap: wrap; }
.tick { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; }
.tick .k { font-family: var(--sans); color: var(--muted); }
.tick .up { color: var(--gain); } .tick .down { color: var(--watch); }

/* the app window around screenshots */
.window { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.window img { width: 100%; }
.window.tilt { transform: perspective(2200px) rotateX(4deg); transform-origin: top center; }
@media (max-width: 760px) { .window.tilt { transform: none; } }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--soft); margin-top: 12px; }

/* ---------- works with ---------- */
.works { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }
.works b { color: var(--ink); font-weight: 500; }

/* ---------- cards and features ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-tint); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; }
.feature .ico svg { width: 20px; height: 20px; }
.feature h3 { font-size: 18px; letter-spacing: -0.015em; }
.feature p { font-size: 15.5px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--muted); }
.tag.new { background: var(--blue-tint); color: var(--blue-ink); }

/* split rows: text beside a screenshot */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip > :first-child { order: 2; }
@media (max-width: 920px) { .split, .split.flip { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 9px; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%232A5FF0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks li b { color: var(--ink); font-weight: 500; }

/* ---------- dark band ---------- */
.band { background: var(--dark-bg); color: var(--dark-fg); }
.band .lede, .band .muted { color: var(--dark-muted); }
.band .eyebrow { color: #A9C4FF; }
.band .card { background: var(--dark-surface); border-color: var(--dark-line); color: var(--dark-fg); }
.band .card p { color: var(--dark-muted); }
.band .checks li { color: var(--dark-muted); }
.band .checks li b { color: var(--dark-fg); }
.band .checks li::before { background-color: rgba(127,168,255,0.16); }

/* an approval card like the app's */
.approve { display: flex; flex-direction: column; gap: 12px; }
.approve .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 10px 0; border-top: 1px solid var(--dark-line); }
.approve .row span:last-child { font-family: var(--mono); white-space: nowrap; }
.pill { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.pill.wait { background: rgba(245,165,36,0.16); color: #F5A524; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.step::before { content: "Step " counter(s); font-size: 13px; font-weight: 600; color: var(--blue-ink); letter-spacing: 0.04em; text-transform: uppercase; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- comparison ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--ink); font-weight: 500; }
td.dim { color: var(--muted); }
th.col-us, td.col-us { background: var(--blue-tint); }
td .sub { display: block; color: var(--soft); font-size: 13.5px; font-weight: 400; }

/* ---------- pricing ---------- */
.toggles { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); }
.seg button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 500 14.5px var(--sans); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line-strong); }
.plan.pop { background: #0B0D12; color: #F4F6FA; border-color: #0B0D12; }
.plan.pop .who, .plan.pop .note, .plan.pop li { color: #B7BFCC; }
.plan h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan .who { font-size: 15px; color: var(--muted); min-height: 46px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--mono); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; }
.price span { color: var(--soft); font-size: 15px; }
.plan.pop .price span { color: #B7BFCC; }
.plan .note { font-size: 14px; color: var(--soft); margin-top: -10px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.plan.pop ul { border-color: #262C38; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 9px; border-left: 2.4px solid var(--blue); border-bottom: 2.4px solid var(--blue); transform: rotate(-45deg); }
.plan.pop li::before { border-color: #7FA8FF; }
.plan .btn { width: 100%; }
.plan .spacer { flex-grow: 1; }
.pop-tag { padding: 3px 9px; border-radius: 999px; background: var(--blue); color: #FFFFFF; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.fineprint { font-size: 14px; color: var(--soft); max-width: 78ch; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--blue); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 72ch; display: flex; flex-direction: column; gap: 10px; }

/* ---------- founder / placeholder ---------- */
.placeholder { color: var(--watch); background: var(--watch-tint); padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: 0.86em; }
.founder { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; }
.founder .photo { width: 120px; height: 120px; border-radius: 60px; background: var(--surface-2); border: 2px dashed var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--soft); text-align: center; }
.founder blockquote { margin: 0; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; letter-spacing: -0.015em; }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { border-radius: 28px; padding: 64px 40px; background: var(--blue); color: #FFFFFF; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.cta p { color: rgba(255,255,255,0.86); max-width: 56ch; font-size: 18px; }
.cta .btn-primary { background: #FFFFFF; color: #1D47C4; }
.cta .btn-ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.5); }
@media (max-width: 600px) { .cta { padding: 44px 22px; border-radius: 20px; } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: 64px 32px; }
.page-head .lede { margin-top: 14px; }
.crumbs { font-size: 14px; color: var(--soft); margin-bottom: 14px; }

/* ---------- prose (help, legal, changelog) ---------- */
.prose { max-width: 74ch; display: flex; flex-direction: column; gap: 16px; font-size: 17px; }
.prose h2 { font-size: 28px; margin-top: 28px; }
.prose h3 { font-size: 20px; margin-top: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li { color: var(--ink); }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code, kbd { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.callout { padding: 16px 18px; border-radius: 12px; background: var(--blue-tint); color: var(--ink); font-size: 16px; }
.callout.warn { background: var(--watch-tint); }
.draft-banner { padding: 12px 16px; border-radius: 12px; background: var(--watch-tint); color: var(--ink); font-size: 15px; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.toc a { color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.toc a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.toc strong { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--soft); padding: 4px 10px 8px; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; flex-direction: row; flex-wrap: wrap; } .toc strong { width: 100%; } }

/* changelog */
.release { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding-block: 36px; border-top: 1px solid var(--line-strong); }
.release .ver { display: flex; flex-direction: column; gap: 6px; }
.release .ver strong { font-family: var(--mono); font-size: 22px; }
@media (max-width: 760px) { .release { grid-template-columns: 1fr; gap: 12px; } }

/* forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 500; }
.field input, .field select, .field textarea { min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 400 16px var(--sans); width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-weight: 400; color: var(--soft); font-size: 13.5px; }
.form-status { font-size: 15px; padding: 12px 14px; border-radius: 10px; background: var(--gain-tint); color: var(--ink); }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-row code { font-size: 15px; padding: 8px 12px; }

/* checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 36px; align-items: start; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } }
.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .radio-cards { grid-template-columns: 1fr; } }
.radio-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card:has(input:checked) { border: 2px solid var(--blue); padding: 15px 17px; }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.radio-card b { font-size: 16px; font-weight: 600; }
.radio-card span { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.provider-slot { border-radius: 16px; border: 2px dashed var(--line-strong); padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; color: var(--muted); font-size: 15px; }
.summary-card { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.summary-card .line { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.summary-card .line span:last-child { font-family: var(--mono); }
.summary-card hr { border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-strong); padding-block: 56px 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--ink); }
.legal-line { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--soft); font-size: 13.5px; }
.tag { align-self: flex-start; }
.band .tag.new { background: rgba(127,168,255,0.16); color: #A9C4FF; }
.band .tag { background: rgba(255,255,255,0.08); color: var(--dark-muted); }
.badge { flex-wrap: wrap; } .badge span { white-space: nowrap; }

/* long addresses in help text wrap instead of widening the page on phones */
.doc-layout > * { min-width: 0; }
.prose code { overflow-wrap: anywhere; }
