:root {
  --bg: #fbfaf7;
  --panel: #ffffff;
  --ink: #14161c;
  --muted: #5b6070;
  --line: #e4e1d8;
  --brand: #0f6b5c;
  --brand-ink: #ffffff;
  --brand-soft: #e3f1ed;
  --warn: #8a5a00;
  --warn-soft: #fff4dc;
  --code-bg: #12151c;
  --code-ink: #e6e8ee;
  --radius: 12px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1015;
    --panel: #161922;
    --ink: #eceef3;
    --muted: #a0a6b5;
    --line: #2a2f3b;
    --brand: #4fc3a8;
    --brand-ink: #06231d;
    --brand-soft: #14302a;
    --warn: #f3c46b;
    --warn-soft: #2e2512;
    --code-bg: #0a0c10;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: var(--brand); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 58px; }
.logo { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.logo svg { flex: none; }
nav.links { display: flex; gap: 18px; margin-left: auto; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--ink); }
@media (max-width: 640px) { nav.links .hide-sm { display: none; } nav.links { gap: 12px; } }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.hero { padding: 64px 0 40px; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin: 0 0 12px; }
section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }
.btn { display: inline-block; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink); padding: 10px 18px; border-radius: 8px; font-weight: 650; text-decoration: none; cursor: pointer; font-size: 15px; font-family: inherit; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
pre, code { font-family: var(--mono); font-size: 13.5px; }
pre { background: var(--code-bg); color: var(--code-ink); padding: 16px; border-radius: 10px; overflow-x: auto; line-height: 1.5; margin: 0; }
:not(pre) > code { background: var(--brand-soft); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.tabs { display: flex; gap: 4px; margin-bottom: -1px; flex-wrap: wrap; }
.tabs button { background: transparent; border: 1px solid transparent; border-bottom: none; color: var(--muted); padding: 6px 12px; border-radius: 8px 8px 0 0; cursor: pointer; font: inherit; font-size: 14px; }
.tabs button[aria-selected="true"] { background: var(--code-bg); color: var(--code-ink); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #999; }
.dot.open { background: #18a058; }
.dot.closed { background: #d03050; }
.dot.break { background: #e0a020; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.price { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 12px 0 16px; color: var(--muted); }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--panel); }
.toggle button { border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; color: var(--muted); }
.toggle button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.note { background: var(--warn-soft); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--warn); padding: 12px 14px; border-radius: 8px; }
.ok { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 12px 14px; border-radius: 8px; }
input, select { font: inherit; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); min-width: 0; }
input[type="email"], input.key { flex: 1 1 260px; }
label.sr { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.badge.good { border-color: var(--brand); color: var(--brand); }
.badge.warn { border-color: var(--warn); color: var(--warn); }
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .row { justify-content: space-between; }
footer a { color: var(--muted); }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding-top: 32px; }
.docs aside { position: sticky; top: 74px; align-self: start; font-size: 14px; }
.docs aside a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.docs aside a:hover { color: var(--ink); }
.docs h2 { margin-top: 40px; padding-top: 8px; }
.docs h3 { margin-top: 28px; font-family: var(--mono); font-size: 16px; overflow-wrap: anywhere; }
@media (max-width: 820px) { .docs { grid-template-columns: minmax(0, 1fr); } .docs aside { position: static; } }
.result { margin-top: 12px; }
.hidden { display: none !important; }
