:root {
  --bg: #0a0a0a;
  --surface: #101010;
  --surface-2: #151515;
  --line: #232323;
  --line-soft: #1a1a1a;
  --text: #ededed;
  --muted: #9c9c9c;
  --dim: #6b6b6b;
  --accent: #c6f24e;
  --danger: #f87171;
  --radius: 12px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.035em; line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1rem; letter-spacing: -0.015em; }
code, pre, .mono { font-family: var(--mono); }
::selection { background: rgba(198, 242, 78, 0.25); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.wrap { width: min(1000px, calc(100% - 2.5rem)); margin: 0 auto; }
.narrow { width: min(700px, calc(100% - 2.5rem)); margin: 0 auto; }
.section { padding: 5rem 0; border-top: 1px solid var(--line); }
.section-tight { padding: 3rem 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.page-mark { width: 52px; height: 52px; display: block; margin-bottom: 1.1rem; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}
.accent { color: var(--accent); }
.lead { font-size: 1.02rem; color: var(--muted); max-width: 60ch; }
.small { font-size: 0.86rem; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.6rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(10, 10, 10, 0.94); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; letter-spacing: -0.02em; font-size: 0.95rem; }
.brand img { display: block; width: 26px; height: 26px; }
.brand-word { font-weight: 600; letter-spacing: -0.02em; }
.brand-word span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-size: 0.86rem; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0.35rem; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 0.5rem 0 0.8rem; }
.mobile-menu a { display: block; padding: 0.5rem 0; color: var(--muted); font-size: 0.9rem; }
.mobile-menu.open { display: block; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.62rem 0.95rem; border-radius: 8px; font-size: 0.86rem; font-weight: 550;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  cursor: pointer; font-family: var(--sans); transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--surface-2); border-color: #333; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #0a0a0a; font-weight: 600; }
.btn-primary:hover { background: #d3fb63; border-color: #d3fb63; color: #0a0a0a; }
.btn-sm { padding: 0.45rem 0.75rem; font-size: 0.8rem; border-radius: 7px; }
.btn-block { width: 100%; }

/* hero */
.hero { padding: 5.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: start; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.hero-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--dim); }
.status-line { display: flex; align-items: center; gap: 0.45rem; font-family: var(--mono); font-size: 0.7rem; color: var(--dim); margin-bottom: 1.4rem; text-transform: uppercase; letter-spacing: 0.1em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* report panel */
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel-head { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.68rem; color: var(--dim); display: flex; justify-content: space-between; }
.panel-body { padding: 1rem; font-family: var(--mono); font-size: 0.76rem; line-height: 1.9; color: #cfcfcf; overflow-x: auto; white-space: pre; }
.panel-body .c { color: #555; }
.panel-body .k { color: #a3a3a3; }
.panel-body .v { color: #ededed; }
.panel-body .a { color: var(--accent); }

/* platforms */
.platforms { border-top: 1px solid var(--line); padding: 1.25rem 0; }
.platforms-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: center; font-size: 0.82rem; color: var(--dim); }
.platforms-row span { white-space: nowrap; }
.platforms-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.7rem; }

/* lists / grids */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.cell { background: var(--bg); padding: 1.25rem; }
.cell h3 { margin-bottom: 0.4rem; }
.cell p { margin: 0; font-size: 0.86rem; }
.cell .num { font-family: var(--mono); font-size: 0.7rem; color: var(--dim); margin-bottom: 0.7rem; }
.kpi { font-family: var(--mono); font-size: 1.35rem; letter-spacing: -0.02em; }
.kpi-label { font-size: 0.7rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { border-top: 1px solid var(--line); padding-top: 1rem; }
.step-num { font-family: var(--mono); font-size: 0.68rem; color: var(--dim); letter-spacing: 0.08em; }
.step h3 { margin: 0.45rem 0 0.35rem; }
.step p { font-size: 0.86rem; margin: 0; }

/* tables */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 500; background: var(--surface); }
tr:last-child td { border-bottom: 0; }
td code { font-size: 0.8rem; color: var(--text); }

/* pricing */
.billing-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.billing-toggle button { border: 0; background: transparent; color: var(--muted); padding: 0.45rem 0.85rem; font-size: 0.8rem; cursor: pointer; font-family: var(--sans); }
.billing-toggle button.active { background: var(--surface-2); color: var(--text); }
.plan-single { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plan-main { background: var(--bg); padding: 2rem; }
.plan-side { background: var(--surface); padding: 2rem; }
.price { display: flex; align-items: flex-end; gap: 0.4rem; margin: 0.7rem 0 0.2rem; }
.price strong { font-size: 2.8rem; letter-spacing: -0.05em; line-height: 1; font-weight: 600; }
.price span { font-size: 0.82rem; color: var(--dim); padding-bottom: 0.4rem; }
.price-was { font-size: 0.78rem; color: var(--dim); text-decoration: line-through; margin-left: 0.3rem; }
.price-note { font-size: 0.78rem; color: var(--dim); min-height: 1.2em; }
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.45rem; font-size: 0.86rem; }
.feature-list li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--muted); }
.feature-list li::before { content: "—"; color: var(--dim); }
.feature-list li.on { color: var(--text); }
.feature-list li.on::before { content: "✓"; color: var(--accent); }
.plan-side h3 { margin-bottom: 0.8rem; }

/* docs */
.docs-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 3rem; align-items: start; padding: 3.5rem 0 5rem; }
.docs-nav { position: sticky; top: 78px; display: grid; gap: 0.05rem; font-size: 0.82rem; }
.docs-nav a { color: var(--muted); padding: 0.28rem 0 0.28rem 0.7rem; border-left: 1px solid var(--line); }
.docs-nav a:hover { color: var(--text); border-color: #444; }
.docs-nav .group { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 1rem 0 0.3rem 0.7rem; }
.doc-section { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.doc-section:first-of-type { border-top: 0; padding-top: 0; }
.doc-section h2 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.doc-section h3 { margin: 1.4rem 0 0.4rem; }
.doc-section p, .doc-section li { font-size: 0.9rem; }
.doc-section ul, .doc-section ol { color: var(--muted); padding-left: 1.15rem; }
.doc-section li { margin-bottom: 0.3rem; }
.callout { border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 8px; padding: 0.85rem 0.95rem; font-size: 0.86rem; color: var(--muted); background: var(--surface); }
.callout.warn { border-left-color: #d4a72c; }
pre.code { margin: 0.75rem 0 1.1rem; padding: 0.95rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow-x: auto; font-size: 0.78rem; line-height: 1.75; color: #cfcfcf; }
pre.code .c { color: #555; } pre.code .k { color: #a3a3a3; } pre.code .s { color: var(--accent); }
p code, li code, td code, .inline-code { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 5px; padding: 0.06rem 0.3rem; font-size: 0.82em; color: var(--text); }
.copy-row { display: flex; align-items: center; gap: 0.4rem; margin: 0.7rem 0 1.1rem; }
.copy-row input { flex: 1; background: var(--surface); border: 1px solid var(--line); color: var(--muted); border-radius: 7px; padding: 0.55rem 0.7rem; font-family: var(--mono); font-size: 0.74rem; min-width: 0; }
.copy-row button { flex: 0 0 auto; }

/* account */
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 0.6rem 0 0.4rem; }
.meter > i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.badge { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 5px; border: 1px solid var(--line); color: var(--muted); }
.badge.ok { color: var(--accent); border-color: #3a4a1c; background: rgba(198, 242, 78, 0.06); }
.badge.free { color: var(--muted); }
.kv { display: grid; gap: 0.6rem; }
.kv-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.86rem; border-bottom: 1px solid var(--line-soft); padding-bottom: 0.55rem; }
.kv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.kv-row span { color: var(--dim); }

/* faq */
details.faq { border-top: 1px solid var(--line); padding: 0.9rem 0; }
details.faq summary { cursor: pointer; font-size: 0.9rem; font-weight: 550; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--dim); font-family: var(--mono); }
details.faq[open] summary::after { content: "−"; }
details.faq p { margin: 0.6rem 0 0; font-size: 0.86rem; }

/* footer */
.footer { padding: 3rem 0 2.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer h4 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.7rem; font-weight: 500; }
.footer-links { display: grid; gap: 0.4rem; font-size: 0.82rem; }
.footer-links a { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--dim); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 0.9rem; border-radius: 6px; z-index: 100; }

@media (max-width: 900px) {
  .hero-grid, .plan-single, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .docs-layout { grid-template-columns: 1fr; gap: 1.4rem; padding-top: 2.5rem; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 0.25rem; border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem; }
  .docs-nav .group { width: 100%; margin: 0.2rem 0 0.1rem 0.4rem; }
  .docs-nav a { border-left: 0; border: 1px solid var(--line); border-radius: 5px; padding: 0.2rem 0.55rem; font-size: 0.76rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { gap: 1.2rem; }
}
@media (max-width: 640px) {
  .nav-links, .nav-actions .btn:not(.btn-primary) { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  th, td { padding: 0.6rem 0.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
