:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5b6672;
  --line: #dfe5ea;
  --bg: #ffffff;
  --soft: #f4f7f9;
  --brand: #0b5c56;
  --brand-dark: #084742;
  --brand-soft: #e6f0ee;
  --series-1: #257de0; /* chart marks */
  --radius: 8px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
main.wrap { padding-top: 28px; padding-bottom: 64px; }
main.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

h1 { font-size: 2.1rem; line-height: 1.18; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 1.4rem; line-height: 1.25; margin: 48px 0 12px; }
h3 { font-size: 1.08rem; margin: 26px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
.lead { font-size: 1.15rem; color: #2c3945; }
.small, .updated, .cite { font-size: 0.88rem; color: var(--muted); }
.cite { border-left: 3px solid var(--line); padding-left: 12px; }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); padding: 1px 5px; border-radius: 4px; }

/* header and footer */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; font-size: 1.12rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--brand); margin-right: 9px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--brand); text-decoration: underline; }
.crumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 36px 0 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; margin-bottom: 20px; }
.site-footer h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 0.93rem; }
.site-footer li { margin-bottom: 4px; }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: var(--radius); padding: 11px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn.ghost { background: #fff; color: var(--brand); margin-left: 8px; }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #8ac4be; outline-offset: 2px; }

/* hero */
.hero { padding: 28px 0 8px; max-width: 800px; }
.hero h1 { font-size: 2.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.hero-grid > div { min-width: 0; }

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 22px 0 8px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.tile-label { font-size: 0.82rem; color: var(--muted); }
.tile-value { font-size: 1.65rem; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }

/* buy box */
.buy { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--soft); position: sticky; top: 16px; }
.buy h2 { margin: 0 0 4px; font-size: 1.12rem; }
.buy-meta { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; }
.plan { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 8px; cursor: pointer; font-size: 0.93rem; line-height: 1.4; }
.plan input { margin-top: 4px; accent-color: var(--brand); }
.plan strong { font-size: 1.15rem; margin-right: 4px; }
.plan:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.buy .btn { width: 100%; margin-top: 6px; font-size: 1.02rem; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; font-size: 0.86rem; color: var(--muted); }
.ticks li { padding-left: 20px; position: relative; margin-bottom: 4px; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* tables */
.scroll { overflow-x: auto; margin-bottom: 14px; }
.scroll table.data { min-width: 600px; }
table.data { border-collapse: collapse; width: 100%; font-size: 0.93rem; margin-bottom: 14px; }
table.data caption { text-align: left; font-weight: 600; padding: 8px 0; }
table.data th, table.data td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { font-size: 0.8rem; color: var(--muted); font-weight: 600; border-bottom: 1px solid #c5ced6; white-space: nowrap; }
table.data tbody th { font-weight: 500; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data th .small { font-weight: 400; max-width: 520px; }
table.bars th[scope="row"] { width: 34%; }
.barcell { width: 42%; padding-right: 0 !important; vertical-align: middle !important; }
.bar { display: block; height: 12px; min-width: 2px; background: var(--series-1); border-radius: 0 4px 4px 0; }
tr:hover .bar { filter: brightness(0.9); }

/* lists and cards */
.cols { columns: 2; column-gap: 36px; padding-left: 20px; }
.cols li { break-inside: avoid; margin-bottom: 6px; }
.arealist { list-style: none; padding: 0; columns: 3; column-gap: 28px; font-size: 0.94rem; }
.arealist li { break-inside: avoid; padding: 3px 0; }
.mask { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.count { color: var(--muted); font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; color: var(--ink); background: #fff; }
.card:hover { border-color: var(--brand); color: var(--ink); }
.card h3 { margin: 0 0 6px; color: var(--brand); }
.card p { font-size: 0.92rem; color: #33414e; margin-bottom: 12px; }
.card-meta { margin: auto 0 0 !important; display: flex; justify-content: space-between; font-size: 0.86rem !important; color: var(--muted) !important; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.two > div { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px 6px; }
.two > div:last-child { background: var(--brand-soft); border-color: #c5ddd9; }
.two ul { padding-left: 20px; font-size: 0.95rem; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 8px; }
.linklist { list-style: none; padding: 0; }
.linklist li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.linklist a { font-weight: 600; font-size: 1.08rem; }
.linklist span { display: block; color: var(--muted); font-size: 0.93rem; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details div { margin-top: 8px; color: #2c3945; }

article h2 { margin-top: 40px; }
article li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .buy { position: static; }
  .arealist { columns: 2; }
  .two { grid-template-columns: 1fr; }
  h1, .hero h1 { font-size: 1.75rem; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cols, .arealist { columns: 1; }
  .btn.ghost { margin: 8px 0 0; }
  .barcell { display: none; }
}
