:root {
  --bg: #f5f8f7; --surface: #ffffff; --text: #10242f; --muted: #4d6470; --line: #dbe5e3;
  --brand: #0b8f76; --brand-strong: #0a7a65; --navy: #0e3552; --tint: #e6f4f1;
  --radius: 14px; --max: 1080px; --read: 720px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081e2f; --surface: #0d2a3f; --text: #eaf4f4; --muted: #a6c1cc; --line: #1c3d52;
    --brand: #1fb393; --brand-strong: #5be8c4; --navy: #eaf4f4; --tint: #0f3247;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-strong); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
main { padding: 48px 0 72px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.015em; }
h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }
/* Home */
.hero { padding: 24px 0 40px; }
.hero h1 { font-size: clamp(34px, 6.2vw, 56px); max-width: 760px; }
.hero .lede { font-size: clamp(17px, 2.2vw, 20px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; }
.pill.solid { background: var(--navy); color: var(--bg); }
.pill.ghost { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h2 { font-size: 19px; margin: 12px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.band { margin-top: 40px; background: var(--tint); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.band h2 { margin: 0 0 6px; font-size: 22px; }
.band p { margin: 0; color: var(--muted); }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.levels li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.levels b { font-weight: 600; }
.levels span { color: var(--muted); text-align: right; }
/* Legal */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 14px; }
.toc summary { font-weight: 700; margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); list-style: none; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.doc-head { max-width: var(--read); margin: 0 0 32px 268px; }
.doc-head .meta { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
.prose { max-width: var(--read); }
.prose > h2:first-child { margin-top: 0; }
.prose h2 { font-size: 22px; margin: 44px 0 12px; padding-top: 8px; scroll-margin-top: 16px; }
.prose h3 { font-size: 17px; margin: 28px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.table-scroll { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) { .table-scroll table { min-width: 560px; } }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--tint); }
tr:last-child td { border-bottom: 0; }
/* Support */
.faq { max-width: var(--read); margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.contact { max-width: var(--read); margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact .card a { font-weight: 600; font-size: 17px; }
/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; gap: 0; }
  .doc-head { margin-left: 0; margin-bottom: 20px; }
  .toc { position: static; margin-bottom: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
  .toc summary { cursor: pointer; margin: 0; display: flex; justify-content: space-between; }
  .toc summary::after { content: "+"; color: var(--brand); }
  .toc details[open] summary::after { content: "–"; }
  .toc details[open] ol { margin-top: 10px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav { gap: 14px; font-size: 14px; }
  .toc ol { grid-template-columns: 1fr; }
  main { padding-top: 32px; }
}
