/* apibreaker — design system */
:root {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --card: #0d1017;
  --card-2: #12151d;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.13);
  --text: #eceff4;
  --dim: #9aa3b2;
  --faint: #68718253;
  --fainter: #687182;
  --acc: #f97316;
  --acc-2: #fb923c;
  --acc-soft: rgba(249, 115, 22, 0.11);
  --vio: #a78bfa;
  --green: #34d399;
  --yellow: #fbbf24;
  --red: #f87171;
  --blue: #60a5fa;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --r-sm: 9px;
  --r-md: 14px;
  --r-lg: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(249, 115, 22, 0.35); }
a { color: var(--acc-2); text-decoration: none; }
code, pre, .mono { font-family: var(--mono); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--dim); }

/* ── nav ─────────────────────────────────────────────── */
nav.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(7, 8, 11, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.brand a { color: var(--text); display: flex; align-items: center; gap: 10px; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.45);
}
.brand .mark svg { width: 15px; height: 15px; stroke: #0b0d12; }
.brand .dot { color: var(--acc-2); }
nav.top .links { display: flex; gap: 26px; align-items: center; }
nav.top .links > a { color: var(--dim); font-size: 14px; font-weight: 500; transition: color .15s; }
nav.top .links > a:hover { color: var(--text); }
nav.top .links a.btn { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-2);
  border-radius: 8px; padding: 8px 10px; color: var(--dim); cursor: pointer;
  font-size: 15px; line-height: 1;
}

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600; font-family: var(--sans);
  cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: linear-gradient(180deg, var(--acc-2), var(--acc));
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 24px -8px rgba(249,115,22,.55);
}
.btn.primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 32px -8px rgba(249,115,22,.75); transform: translateY(-1px); }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-2); }
.btn.ghost:hover { border-color: rgba(249,115,22,.6); color: var(--acc-2); background: var(--acc-soft); }
.btn.sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }

/* ── hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 84px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 340px at 18% -4%, rgba(249, 115, 22, 0.16), transparent 65%),
    radial-gradient(640px 340px at 84% 6%, rgba(167, 139, 250, 0.12), transparent 65%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(720px 420px at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 420px at 50% 0%, #000 20%, transparent 78%);
}
.hero > * { position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border-2); border-radius: 999px;
  background: rgba(255,255,255,.03);
  padding: 6px 14px; font-size: 13px; color: var(--dim); margin-bottom: 26px;
}
.pill .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.pill b { color: var(--text); font-weight: 600; }
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.06; letter-spacing: -0.035em;
  margin: 0 0 22px; font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(92deg, var(--acc-2) 10%, var(--acc) 45%, var(--vio) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub {
  font-size: 19px; color: var(--dim); max-width: 660px; margin: 0 auto 34px; line-height: 1.65;
}
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .trust {
  margin-top: 26px; font-size: 13px; color: var(--fainter);
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
.hero .trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero .trust svg { width: 13px; height: 13px; stroke: var(--green); }

/* ── code window ─────────────────────────────────────── */
.codewin {
  max-width: 860px; margin: 56px auto 0; text-align: left;
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  background: #0a0c11;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset, 0 0 120px -40px rgba(249,115,22,.22);
  overflow: hidden;
}
.codewin .chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.codewin .chrome .dots { display: flex; gap: 6px; }
.codewin .chrome .dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3a; }
.codewin .chrome .dots i:nth-child(1) { background: #ff5f57; }
.codewin .chrome .dots i:nth-child(2) { background: #febc2e; }
.codewin .chrome .dots i:nth-child(3) { background: #28c840; }
.codewin .tabs { display: flex; gap: 4px; margin-left: 8px; }
.codewin .tabs button {
  background: none; border: none; color: var(--dim); font: 500 12.5px var(--mono);
  padding: 5px 12px; border-radius: 7px; cursor: pointer; transition: all .15s;
}
.codewin .tabs button:hover { color: var(--text); }
.codewin .tabs button.on { background: rgba(255,255,255,.07); color: var(--text); }
.codewin .pane { display: none; }
.codewin .pane.on { display: block; }
.codewin pre {
  margin: 0; padding: 22px 24px 26px; overflow-x: auto;
  font-size: 13.5px; line-height: 1.75; tab-size: 4;
}
.codewin .cmt { color: #596274; font-style: italic; }
.codewin .fn { color: var(--acc-2); }
.codewin .s { color: #86efac; }
.codewin .k { color: var(--vio); }
.codewin .n { color: #93c5fd; }
.codewin .p { color: #8b93a5; }

/* ── sections ────────────────────────────────────────── */
.section { padding: 84px 0; position: relative; }
.section .eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acc-2); margin-bottom: 12px;
}
.section h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; letter-spacing: -0.025em; line-height: 1.15; }
.section .lead { color: var(--dim); max-width: 620px; margin: 0 0 48px; font-size: 17px; }
.section.center { text-align: center; }
.section.center .lead { margin-left: auto; margin-right: auto; }

/* ── feature grid ────────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--card), rgba(13,16,23,.6));
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 26px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.card h3 { margin: 0 0 8px; font-size: 16.5px; letter-spacing: -0.01em; }
.card p { color: var(--dim); font-size: 14.5px; margin: 0; }
.card .ic {
  width: 38px; height: 38px; border-radius: 10px; margin-bottom: 16px;
  background: var(--acc-soft); border: 1px solid rgba(249,115,22,.25);
  display: flex; align-items: center; justify-content: center;
}
.card .ic svg { width: 19px; height: 19px; stroke: var(--acc-2); }
.card .ic.violet { background: rgba(167,139,250,.1); border-color: rgba(167,139,250,.25); }
.card .ic.violet svg { stroke: var(--vio); }
.card .ic.green { background: rgba(52,211,153,.09); border-color: rgba(52,211,153,.25); }
.card .ic.green svg { stroke: var(--green); }

/* ── steps ───────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 26px; border: 1px solid var(--border); border-radius: var(--r-md); background: linear-gradient(180deg, var(--card), transparent); }
.step .num {
  font: 700 13px var(--mono); color: var(--acc-2);
  border: 1px solid rgba(249,115,22,.35); background: var(--acc-soft);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 16.5px; }
.step p { margin: 0; color: var(--dim); font-size: 14.5px; }
.step code { color: var(--acc-2); font-size: 12.5px; background: rgba(249,115,22,.08); padding: 2px 6px; border-radius: 5px; }

/* ── endpoint surface ────────────────────────────────── */
.surface { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: start; }
.surface .sticky { position: sticky; top: 100px; }
.eps { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--card); }
.eps .group { border-bottom: 1px solid var(--border); }
.eps .group:last-child { border-bottom: none; }
.eps .group > header {
  padding: 12px 18px; font: 600 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--fainter); background: rgba(255,255,255,.02);
  display: flex; justify-content: space-between; align-items: center;
}
.eps .row {
  display: flex; align-items: center; gap: 14px; padding: 11px 18px;
  border-top: 1px solid var(--border); font-size: 13.5px;
  transition: background .12s;
}
.eps .row:hover { background: rgba(255,255,255,.025); }
.eps .row:hover:first-of-type { border-top-color: var(--border); }
.method {
  font: 700 10.5px var(--mono); letter-spacing: .05em;
  padding: 3px 8px; border-radius: 6px; width: 52px; text-align: center; flex: none;
}
.method.get { color: var(--blue); background: rgba(96,165,250,.12); border: 1px solid rgba(96,165,250,.3); }
.method.post { color: var(--green); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); }
.method.del { color: var(--red); background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); }
.eps .row .path { font-family: var(--mono); color: var(--text); }
.eps .row .desc { margin-left: auto; color: var(--fainter); font-size: 12.5px; text-align: right; }

/* ── pricing ─────────────────────────────────────────── */
.pricing .plan { display: flex; flex-direction: column; position: relative; }
.pricing .plan h3 { font-size: 15px; color: var(--dim); font-weight: 600; }
.pricing .price { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 2px; }
.pricing .price span { font-size: 15px; color: var(--fainter); font-weight: 500; }
.pricing ul { list-style: none; padding: 0; margin: 22px 0 26px; font-size: 14.5px; color: var(--dim); flex: 1; }
.pricing ul li { padding: 7px 0; display: flex; gap: 10px; align-items: baseline; border-bottom: 1px dashed rgba(255,255,255,.05); }
.pricing ul li:last-child { border-bottom: none; }
.pricing ul li svg { width: 14px; height: 14px; stroke: var(--green); flex: none; position: relative; top: 2px; }
.pricing ul li b { color: var(--text); font-weight: 600; }
.pricing .popular {
  border-color: rgba(249,115,22,.5);
  background: linear-gradient(180deg, rgba(249,115,22,.09), rgba(13,16,23,.6) 45%);
  box-shadow: 0 0 60px -20px rgba(249,115,22,.35);
}
.pricing .popular::after {
  content: "MOST POPULAR"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--acc-2), var(--acc)); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 20px -6px rgba(249,115,22,.7);
}
.kit {
  margin-top: 22px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  border: 1px solid rgba(167,139,250,.3);
  background: linear-gradient(120deg, rgba(167,139,250,.08), transparent 55%);
  border-radius: var(--r-md); padding: 26px 28px;
}
.kit .ic { background: rgba(167,139,250,.12); border-color: rgba(167,139,250,.3); margin: 0; }
.kit .ic svg { stroke: var(--vio); }
.kit h3 { margin: 0 0 4px; font-size: 17px; }
.kit p { margin: 0; color: var(--dim); font-size: 14.5px; max-width: 620px; }
.kit .tag { margin-left: auto; font: 700 13px var(--mono); color: var(--vio); white-space: nowrap; }

/* ── faq ─────────────────────────────────────────────── */
.faq details {
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--card); margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 22px;
  font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font: 400 20px var(--sans); color: var(--fainter); transition: transform .2s; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--acc-2); }
.faq details p { margin: 0; padding: 0 22px 18px; color: var(--dim); font-size: 14.5px; max-width: 760px; }
.faq details code { color: var(--acc-2); font-size: 12.5px; background: rgba(249,115,22,.08); padding: 2px 6px; border-radius: 5px; }

/* ── cta banner ──────────────────────────────────────── */
.cta-banner {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--border-2); border-radius: var(--r-lg);
  padding: 72px 32px; margin: 40px 0 0;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px 260px at 50% 120%, rgba(249,115,22,.22), transparent 70%);
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; letter-spacing: -0.025em; position: relative; }
.cta-banner p { color: var(--dim); margin: 0 0 30px; position: relative; }
.cta-banner .btn { position: relative; }

/* ── footer ──────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); margin-top: 96px; padding: 56px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 13px; color: var(--text); margin: 0 0 14px; font-weight: 600; }
.foot a { display: block; color: var(--dim); font-size: 13.5px; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.foot .blurb { color: var(--fainter); font-size: 13.5px; max-width: 280px; margin: 14px 0 0; }
.legal { border-top: 1px solid var(--border); margin-top: 44px; padding-top: 24px; color: var(--fainter); font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── auth pages ──────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(560px 320px at 50% -8%, rgba(249,115,22,.13), transparent 65%),
    var(--bg);
}
.auth-card {
  width: 100%; max-width: 400px; margin: auto; padding: 40px 36px;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border-2); border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.auth-card h1 { font-size: 24px; margin: 20px 0 6px; letter-spacing: -0.02em; }
.auth-card .hint { color: var(--dim); font-size: 14px; margin: 0 0 26px; }
.auth-card .err {
  background: rgba(248,113,113,.09); color: var(--red);
  border: 1px solid rgba(248,113,113,.3); border-radius: 9px;
  padding: 11px 14px; font-size: 13.5px; margin-bottom: 18px;
}
.auth-card .alt { text-align: center; color: var(--fainter); font-size: 13.5px; margin: 22px 0 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--dim); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--border-2); background: rgba(0,0,0,.3);
  color: var(--text); font-size: 14.5px; font-family: var(--sans);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(249,115,22,.18);
}
.field select option { background: var(--bg-2); }

/* ── dashboard ───────────────────────────────────────── */
.dash { padding: 44px 0 80px; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.dash-head h1 { font-size: 26px; margin: 0; letter-spacing: -0.02em; }
.dash-head h1 .mail { color: var(--acc-2); font-family: var(--mono); font-size: 17px; }
.dash-head .sub { color: var(--dim); font-size: 14px; margin: 6px 0 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat { background: linear-gradient(180deg, var(--card), transparent); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 22px; }
.stat .val { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat .val small { font-size: 14px; color: var(--fainter); font-weight: 500; }
.stat .lbl { font-size: 11.5px; color: var(--fainter); text-transform: uppercase; letter-spacing: .09em; margin-top: 4px; }

.panel {
  background: linear-gradient(180deg, var(--card), rgba(13,16,23,.5));
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 26px; margin-bottom: 22px;
}
.panel > h2 { font-size: 17px; margin: 0 0 4px; letter-spacing: -0.01em; }
.panel > .hint { color: var(--dim); font-size: 13.5px; margin: 0 0 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel-head h2 { margin: 0; font-size: 17px; }

.keycard {
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 18px 20px; margin-bottom: 14px; background: rgba(0,0,0,.18);
}
.keyrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.keybox {
  flex: 1; min-width: 220px;
  background: rgba(0,0,0,.4); border: 1px solid var(--border-2); border-radius: 8px;
  padding: 10px 14px; font-family: var(--mono); font-size: 13px;
  color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.copy {
  flex: none; background: rgba(255,255,255,.05); border: 1px solid var(--border-2);
  color: var(--dim); border-radius: 8px; padding: 9px 13px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans);
}
.copy:hover { color: var(--acc-2); border-color: rgba(249,115,22,.5); }
.copy.done { color: var(--green); border-color: rgba(52,211,153,.5); }
.copy svg { width: 13px; height: 13px; }
.keymeta { margin-top: 12px; font-size: 13px; color: var(--dim); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.usagebar { flex: 1; min-width: 160px; max-width: 340px; display: block; }
.usagebar .track { display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.usagebar .fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--acc-2), var(--acc)); }
.usagebar .txt { display: block; font-size: 12px; color: var(--fainter); margin-top: 6px; font-variant-numeric: tabular-nums; }

.deposit {
  border: 1px solid rgba(249,115,22,.5); border-radius: var(--r-md);
  background: linear-gradient(120deg, rgba(249,115,22,.13), rgba(13,16,23,.5) 60%);
  padding: 24px 26px; margin-bottom: 22px;
  box-shadow: 0 0 60px -25px rgba(249,115,22,.45);
}
.deposit h3 { margin: 0 0 6px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.deposit h3 .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acc-2); box-shadow: 0 0 12px var(--acc-2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.deposit .amt { font-size: 13.5px; color: var(--dim); margin: 0 0 14px; }
.deposit .amt b { color: var(--text); }
.deposit .addr { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.deposit .addr .keybox { border-style: dashed; border-color: rgba(249,115,22,.55); color: var(--acc-2); }
.deposit .foot-note { font-size: 12.5px; color: var(--fainter); margin: 12px 0 0; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tbl th {
  text-align: left; color: var(--fainter); font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
}
table.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--border); }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tr:hover td { background: rgba(255,255,255,.015); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.badge.green { background: rgba(52,211,153,.1); color: var(--green); border-color: rgba(52,211,153,.3); }
.badge.yellow { background: rgba(251,191,36,.09); color: var(--yellow); border-color: rgba(251,191,36,.3); }
.badge.red { background: rgba(248,113,113,.09); color: var(--red); border-color: rgba(248,113,113,.3); }
.badge.orange { background: var(--acc-soft); color: var(--acc-2); border-color: rgba(249,115,22,.35); }
.badge.gray { background: rgba(255,255,255,.05); color: var(--dim); border-color: var(--border-2); }

.subscribe-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.subscribe-form .field { margin: 0; }

/* ── responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .grid.c3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .surface { grid-template-columns: 1fr; gap: 32px; }
  .surface .sticky { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  nav.top { padding: 12px 18px; }
  nav.top .links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(7,8,11,.98); border-bottom: 1px solid var(--border);
    padding: 14px 18px 18px;
  }
  nav.top .links.open { display: flex; }
  nav.top .links > a { padding: 10px 6px; }
  nav.top .links .btn { text-align: center; margin-top: 6px; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 56px; }
  .kit .tag { margin-left: 0; }
}

/* ── landing v2: above-the-fold split + toolbox 3d box ── */
.hero { padding: 60px 0 44px; text-align: left; }
.hero-split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; position: relative; }
.hero-split .cta { justify-content: flex-start; }
.hero-split .trust { justify-content: flex-start; }
.hero-split p.sub { margin: 0 0 30px; max-width: 560px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); }

.boxart { position: relative; display: flex; justify-content: center; padding: 24px 0 36px; perspective: 1150px; }
.boxart::before {
  content: ""; position: absolute; inset: -10% -5%; pointer-events: none;
  background: radial-gradient(360px 220px at 55% 60%, rgba(249,115,22,.22), transparent 70%);
  filter: blur(4px);
}
.box3d {
  position: relative; width: 250px; height: 330px;
  transform-style: preserve-3d;
  animation: boxfloat 7s ease-in-out infinite;
}
@keyframes boxfloat {
  0%, 100% { transform: rotateY(-27deg) rotateX(8deg) translateY(0); }
  50%      { transform: rotateY(-18deg) rotateX(5deg) translateY(-10px); }
}
.face { position: absolute; border-radius: 10px; }
.face.front {
  width: 250px; height: 330px; transform: translateZ(42px);
  background: linear-gradient(158deg, #1b1f2a 0%, #0c0e14 62%);
  border: 1px solid rgba(249,115,22,.35);
  overflow: hidden;
  box-shadow: 0 34px 70px -20px rgba(0,0,0,.75);
}
.face.front::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.09) 0%, transparent 34%);
}
.face.side {
  width: 84px; height: 330px; left: 83px;
  transform: rotateY(90deg) translateZ(125px);
  background: linear-gradient(180deg, #12141c, #0a0b10);
  border: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
}
.face.side span {
  writing-mode: vertical-rl; font: 600 11px var(--mono);
  letter-spacing: .34em; color: var(--fainter); text-transform: uppercase;
}
.face.top {
  width: 250px; height: 84px; top: 123px;
  transform: rotateX(90deg) translateZ(165px);
  background: linear-gradient(90deg, #171a23, #0d0f15);
  border: 1px solid rgba(255,255,255,.06);
}
.cover { position: relative; height: 100%; padding: 22px 20px; display: flex; flex-direction: column; }
.cover .mark.big {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--acc), var(--acc-2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 26px rgba(249,115,22,.55);
}
.cover .mark.big svg { width: 26px; height: 26px; stroke: #0b0d12; }
.cover .word { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.cover .word span { color: var(--acc-2); }
.cover .title {
  font-size: 34px; font-weight: 800; letter-spacing: .03em; line-height: 1.05; margin-top: 8px;
  background: linear-gradient(95deg, var(--acc-2), var(--acc) 60%, var(--vio));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cover .sub { font: 600 10.5px var(--sans); letter-spacing: .26em; color: var(--fainter); margin-top: 6px; text-transform: uppercase; }
.cover .feats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.cover .feats span {
  font: 600 9.5px var(--mono); letter-spacing: .08em; color: var(--dim);
  border: 1px solid var(--border-2); border-radius: 999px; padding: 3px 8px;
}
.cover .edition { margin-top: auto; font: 600 9.5px var(--mono); letter-spacing: .22em; color: var(--faint); color: var(--fainter); }
.cover .edition::before { content: ""; display: block; width: 60%; height: 1px; background: linear-gradient(90deg, rgba(249,115,22,.6), transparent); margin-bottom: 8px; }
.cover .sticker {
  position: absolute; top: 16px; right: 16px; width: 62px; height: 62px;
  border-radius: 50%; transform: rotate(9deg);
  background: radial-gradient(circle at 32% 30%, var(--acc-2), var(--acc) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(249,115,22,.8), 0 0 0 2px rgba(255,255,255,.12) inset;
}
.cover .sticker b { font-size: 16px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); line-height: 1; }
.cover .sticker i { font-style: normal; font-size: 7.5px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.85); text-transform: uppercase; margin-top: 2px; }

/* tighter page rhythm */
.section { padding: 58px 0; }
.codewin { margin-top: 40px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.pricing .plan h3 { font-size: 14px; }
.pricing .plan .price { font-size: 34px; }
.pricing .plan ul { margin: 16px 0 20px; font-size: 13.5px; }
.pricing .plan ul li { padding: 5px 0; }

/* compact endpoint chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.chips span {
  font: 500 12.5px/1 var(--mono); color: var(--dim);
  border: 1px solid var(--border); background: rgba(255,255,255,.02);
  border-radius: 8px; padding: 8px 12px; transition: all .15s;
}
.chips span:hover { color: var(--acc-2); border-color: rgba(249,115,22,.4); }
.chips span b { color: var(--green); font-weight: 700; margin-right: 6px; }
.chips span b.g { color: var(--blue); }

@media (max-width: 960px) {
  .grid.c4 { grid-template-columns: 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .hero-split .cta, .hero-split .trust { justify-content: center; }
  .hero-split p.sub { margin-left: auto; margin-right: auto; }
}
@media (max-width: 680px) {
  .boxart { transform: scale(0.84); margin: -18px 0; }
  .grid.c4 { grid-template-columns: 1fr; }
}

/* ── full-bleed hero atmosphere + gutter decorations ── */
.hero { width: 100%; overflow: hidden; }
.hero::before {
  background:
    radial-gradient(760px 400px at 12% -4%, rgba(249, 115, 22, 0.15), transparent 65%),
    radial-gradient(760px 400px at 88% 6%, rgba(167, 139, 250, 0.11), transparent 65%);
}
.hero::after {
  background-size: 56px 56px;
  mask-image: radial-gradient(1150px 640px at 50% 6%, #000 14%, transparent 76%);
  -webkit-mask-image: radial-gradient(1150px 640px at 50% 6%, #000 14%, transparent 76%);
}
.hero .container { position: relative; z-index: 1; }

.gutter { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.gchip {
  position: absolute;
  font: 500 11.5px var(--mono); color: var(--fainter); white-space: nowrap;
  border: 1px solid var(--border); border-radius: 9px;
  background: rgba(12, 14, 20, 0.72); backdrop-filter: blur(3px);
  padding: 8px 13px; opacity: 0.6;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.8);
  animation: gfloat 9s ease-in-out infinite;
  transform: rotate(var(--rot, 0deg));
}
.gchip b { color: var(--acc-2); font-weight: 600; }
.gchip b.g { color: var(--blue); }
.gchip .ok { color: var(--green); }
@keyframes gfloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-11px) rotate(var(--rot, 0deg)); }
}
@media (min-width: 1360px) { .gutter { display: block; } }

/* ── invoice page ── */
.inv {
  margin: 44px auto 80px;
  background: linear-gradient(180deg, var(--card), rgba(13,16,23,.6));
  border: 1px solid var(--border-2); border-radius: var(--r-lg);
  padding: 34px 34px 30px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.inv-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 26px 0;
  padding: 18px 0; border-top: 1px dashed var(--border-2); border-bottom: 1px dashed var(--border-2);
}
.inv-meta span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--fainter); margin-bottom: 3px; }
.inv-meta b { font-size: 13.5px; font-weight: 600; }
.inv-amount { text-align: center; padding: 10px 0 26px; }
.inv-amount .lbl, .inv-pay .lbl { font-size: 11px; letter-spacing: .16em; color: var(--fainter); text-transform: uppercase; }
.inv-amount .val { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.inv-pay { border: 1px solid rgba(249,115,22,.4); border-radius: var(--r-sm); padding: 18px; background: rgba(249,115,22,.06); }
.inv-pay .addr { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.inv-pay .hint-line { font-size: 13px; color: var(--dim); margin: 14px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc-2); box-shadow: 0 0 12px var(--acc-2); animation: pulse 1.6s infinite; flex: none; align-self: center; }
.inv-paid {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid rgba(52,211,153,.35); border-radius: var(--r-sm);
  padding: 18px; background: rgba(52,211,153,.06); font-size: 14.5px;
}
.inv-paid svg { width: 22px; height: 22px; stroke: var(--green); flex: none; margin-top: 1px; }
.inv-note { margin-top: 16px; font-size: 13px; color: var(--vio); }

/* clickable payments rows */
tr.rowlink { cursor: pointer; transition: background .12s; }
tr.rowlink:hover td { background: rgba(249,115,22,.05) !important; }
td.chev { width: 34px; text-align: right; }
td.chev svg { width: 15px; height: 15px; stroke: var(--fainter); transition: stroke .15s, transform .15s; }
tr.rowlink:hover .chev svg { stroke: var(--acc-2); transform: translateX(3px); }
@media (max-width: 640px) { .inv { padding: 24px 20px; } .inv-amount .val { font-size: 40px; } }

/* invoice qr */
.inv-qr { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.qrbox {
  background: #fff; border-radius: 12px; padding: 10px; line-height: 0;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}
.qrbox img { width: 168px; height: 168px; }
.qr-cap { font-size: 12.5px; color: var(--fainter); line-height: 1.5; }
@media (max-width: 520px) { .inv-qr { flex-direction: column; align-items: flex-start; } }

/* invoice pay panel v2 — centered scan-to-pay */
.inv-pay { text-align: center; padding: 26px 22px; }
.pay-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 18px; }
.qrbox.big {
  margin: 0 auto; padding: 14px; border-radius: 16px;
  box-shadow: 0 18px 44px -14px rgba(0,0,0,.65), 0 0 40px -10px rgba(249,115,22,.4), 0 0 0 1px rgba(255,255,255,.09);
}
.qrbox.big img { width: 204px; height: 204px; }
.inv-pay .qr-cap { margin-top: 12px; text-align: center; }
.pay-sep {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0 16px; color: var(--fainter); font-size: 12px;
}
.pay-sep::before, .pay-sep::after { content: ""; flex: 1; height: 1px; background: var(--border-2); }
.inv-pay .addr.center { justify-content: center; }
.hint-line.center { justify-content: center; text-align: center; }
.inv-approx { margin-top: 6px; font-size: 14px; color: var(--acc-2); }
@media (max-width: 520px) { .qrbox.big img { width: 176px; height: 176px; } }

/* invoice v3 — two-column, fits one screen */
.inv-screen { min-height: calc(100vh - 57px); display: flex; align-items: center; }
.inv {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 40px; align-items: center;
  width: 100%; margin: 20px auto; padding: 38px 38px 34px;
}
.inv-left .inv-head + div { margin-top: 12px; }
.inv-left .inv-meta { margin: 20px 0 16px; padding: 16px 0; }
.inv-left .inv-amount { text-align: left; padding: 2px 0 0; }
.inv-left .inv-amount .val { font-size: 46px; }
.inv-right { min-width: 0; }
.inv-pay { margin: 0; }
.qrbox.big img { width: 168px; height: 168px; }
.pay-title { margin-bottom: 14px; }
.inv-pay .qr-cap { margin-top: 10px; }
.pay-sep { margin: 18px 0 14px; }
.inv-note { margin-top: 16px; }
@media (max-width: 900px) {
  .inv { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; }
  .inv-screen { min-height: auto; }
}

/* invoice asset toggle */
.asset-toggle {
  display: inline-flex; gap: 3px; padding: 3px; margin: 0 0 16px;
  border: 1px solid var(--border-2); border-radius: 999px; background: rgba(0,0,0,.35);
}
.asset-toggle a {
  padding: 6px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--dim); transition: all .15s;
}
.asset-toggle a:hover { color: var(--text); }
.asset-toggle a.on {
  background: linear-gradient(180deg, var(--acc-2), var(--acc)); color: #fff;
  box-shadow: 0 4px 14px -4px rgba(249,115,22,.6);
}
