:root {
  --bg: #ffffff; --surface: #f5f6f8; --raised: #ffffff; --line: #e2e5ea; --text: #1b2230; --muted: #5b6577;
  --accent: #2f5cff; --accent-ink: #1e3fcc; --accent-soft: #eef2ff; --on-accent: #ffffff;
  --ok: #12805c; --ok-soft: #e6f5ee; --warn: #8a5207; --warn-soft: #fff3e0;
  --radius: 12px; --wide: 1080px; --narrow: 760px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1420; --surface: #171d2b; --raised: #1c2333; --line: #2a3347; --text: #e8ecf4; --muted: #a2adc2;
    --accent: #7b96ff; --accent-ink: #a9bbff; --accent-soft: #1d2745; --on-accent: #0f1420;
    --ok: #5fd0a4; --ok-soft: #13312a; --warn: #f0b660; --warn-soft: #3a2a10;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--accent-ink); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: var(--narrow); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--raised); padding: 8px 12px; border-radius: 8px; z-index: 5; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }

/* buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--raised); }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.025em; }
.lead { font-size: 19px; color: var(--muted); margin: 18px 0 0; max-width: 34em; }
.notice { margin-top: 24px; padding: 14px 16px; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-size: 15px; border: 1px solid transparent; }
.notice strong { color: inherit; }

/* the picture of a sheet in the hero */
.sheet { border: 1px solid var(--line); border-radius: 14px; background: var(--raised); box-shadow: 0 18px 50px rgba(20, 30, 60, 0.12); overflow: hidden; font-size: 13px; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.sheet-bar b { font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.sheet th { font-weight: 600; color: var(--muted); background: var(--surface); font-size: 12px; }
.sheet td.n, .sheet th.n { text-align: right; font-variant-numeric: tabular-nums; }
.sheet td.own, .sheet th.own { background: var(--accent-soft); color: var(--accent-ink); }
.sheet tr:last-child td { border-bottom: 0; }
.sheet-foot { padding: 9px 14px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); background: var(--surface); }

/* sections */
section { padding: 56px 0; }
section.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 40em; margin-bottom: 32px; }
.head h2 { font-size: clamp(26px, 3.4vw, 34px); }
.head p { color: var(--muted); margin: 12px 0 0; font-size: 17px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); padding: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); padding: 22px; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }
.sources h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 22px 0 10px; }
.sources h3:first-child { margin-top: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills li { border: 1px solid var(--line); background: var(--raised); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.cta { text-align: center; }
.cta h2 { font-size: clamp(26px, 3.4vw, 34px); }
.cta p { color: var(--muted); margin: 12px auto 0; max-width: 34em; }
.cta .actions { justify-content: center; }

/* pricing */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); align-items: stretch; margin-top: 28px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); padding: 24px 20px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan h2 { font-size: 19px; }
.price { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 0; line-height: 1.1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .alt { color: var(--muted); font-size: 14px; margin: 6px 0 18px; min-height: 2.9em; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan li.no { color: var(--muted); }
.plan li.no::before { border: 0; width: 10px; height: 2px; top: 12px; background: var(--muted); transform: none; }
.fine { color: var(--muted); font-size: 15px; }
.fine li { margin-bottom: 6px; }

/* documents */
.doc { padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 40px); letter-spacing: -0.02em; }
.doc .meta { color: var(--muted); margin: 10px 0 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); font-weight: 600; }
.scroll { overflow-x: auto; }
.box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px 20px; margin: 0 0 1.4em; }
.box p:last-child { margin-bottom: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--muted); }
.foot p { margin: 0; max-width: 44em; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid, .steps, .plans, .checks { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  .top .wrap { padding-top: 10px; padding-bottom: 10px; }
}
