:root {
  --bg: #ffffff;
  --text: #1b1f24;
  --muted: #5b6470;
  --accent: #0b6e4f;
  --accent-soft: #e6f2ee;
  --border: #d9dee3;
  --note: #fff7e0;
  --max: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161a;
    --text: #e6e9ec;
    --muted: #9aa4ae;
    --accent: #4fc39a;
    --accent-soft: #17302a;
    --border: #2b333b;
    --note: #2e2a1a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem; }
header.site, footer.site, main { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
header.site nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
header.site .brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--text); margin-right: auto; }
header.site .lang { border: 1px solid var(--border); border-radius: 999px; padding: .1rem .7rem; text-decoration: none; }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 1.5rem 0 1rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .25rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { border: 1px solid var(--border); padding: .45rem .6rem; text-align: left; vertical-align: top; }
th { background: var(--accent-soft); }
aside.note { background: var(--note); border-left: 4px solid var(--accent); padding: .25rem 1rem; margin: 1rem 0; }
.answer { background: var(--accent-soft); padding: .75rem 1rem; border-radius: 6px; }
.sources ul { font-size: .9rem; color: var(--muted); }
.updated { color: var(--muted); font-size: .9rem; }
footer.site { border-top: 1px solid var(--border); margin-top: 3rem; padding: 1rem; font-size: .85rem; color: var(--muted); }

form.calc { border: 1px solid var(--border); border-radius: 8px; padding: 1rem; margin: 1rem 0 2rem; }
form.calc label { display: block; font-size: .9rem; margin: .4rem 0; }
form.calc input { display: block; width: 100%; padding: .4rem; font-size: 1rem; border: 1px solid var(--muted); border-radius: 4px; background: var(--bg); color: var(--text); }
form.calc .usage input { max-width: 12rem; }
form.calc .plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; }
form.calc fieldset { border: 1px solid var(--border); border-radius: 6px; }
form.calc button { margin-top: .75rem; padding: .5rem 1.2rem; font-size: 1rem; background: var(--accent); color: #fff; border: 0; border-radius: 4px; cursor: pointer; }
.paid { font-size: .8rem; color: var(--muted); white-space: nowrap; }
nav.related { border-top: 1px solid var(--border); margin-top: 2rem; }
nav.related h2 { font-size: 1.1rem; }
.byline { color: var(--muted); font-size: .9rem; margin: -.5rem 0 1rem; }

/* Header logo */
header.site .brand { display: inline-flex; align-items: center; }
header.site .brand img { display: block; height: 36px; width: auto; }

/* Home page */
article.home { max-width: none; }
.hero { padding: 2.5rem 0 1.5rem; }
.hero .kicker { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 .5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.12; margin: 0 0 1rem; letter-spacing: -.01em; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.btn { display: inline-block; padding: .65rem 1.1rem; border-radius: 8px; border: 1px solid var(--border); text-decoration: none; font-weight: 600; color: var(--text); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0d1512; } }
.tasks h2, .trust h2 { font-size: 1.25rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .8rem; }
.card { display: flex; flex-direction: column; gap: .3rem; padding: 1rem; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); background: var(--bg); }
.card:hover, .card:focus { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.card strong { font-size: 1.05rem; }
.card span:last-child { color: var(--muted); font-size: .92rem; }
.card-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); font-weight: 700; }
.data-box { margin: 2rem 0; padding: 1.25rem; border-radius: 12px; background: var(--accent-soft); }
.data-label { margin: 0; font-weight: 600; }
.data-figure { margin: .2rem 0; font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.data-note { margin: 0; color: var(--muted); font-size: .92rem; }
.trust ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .8rem; }
.trust li { padding: .9rem; border-left: 3px solid var(--accent); background: var(--bg); }

.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 .5rem; }
.crumbs a { color: inherit; }
