:root {
  --bg: #081018;
  --panel: #0e1823;
  --panel2: #121f2d;
  --text: #eaf1f8;
  --muted: #93a5b8;
  --line: #223246;
  --accent: #56d7b1;
  --accent2: #82a7ff;
  --warn: #f6c76f;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 85% 10%, #102b3b 0, transparent 28%), var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); background: rgba(8,16,24,.82); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { height: 68px; display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:-.02em; }
.logo { width:28px; height:28px; border:1px solid var(--accent); border-radius:8px; display:grid; place-items:center; color:var(--accent); font-size:14px; }
.nav-links { display:flex; gap:24px; color:var(--muted); font-size:14px; }
.nav-links a:hover { color:var(--text); }
.pill { display:inline-flex; align-items:center; gap:8px; border:1px solid var(--line); background:rgba(255,255,255,.025); padding:7px 11px; border-radius:999px; color:#b9c8d8; font-size:13px; }
.dot { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 18px var(--accent); }
.hero { padding:86px 0 54px; }
.hero-grid { display:grid; grid-template-columns:1.4fr .8fr; gap:58px; align-items:end; }
h1 { font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing:-.055em; margin:18px 0 24px; max-width: 840px; }
.lede { font-size:19px; color:#b6c4d2; max-width:720px; }
.hero-card { background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); border:1px solid var(--line); border-radius:18px; padding:22px; }
.kicker { text-transform:uppercase; letter-spacing:.14em; font-size:11px; color:var(--accent); font-weight:800; }
.metric { display:flex; justify-content:space-between; gap:14px; border-top:1px solid var(--line); padding:13px 0; color:var(--muted); }
.metric:first-of-type { margin-top:12px; }
.metric strong { color:var(--text); font-weight:650; }
section { padding:56px 0; border-top:1px solid rgba(255,255,255,.055); }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:28px; }
h2 { margin:0; font-size:32px; letter-spacing:-.035em; }
.section-head p { margin:0; color:var(--muted); max-width:570px; }
.grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card { background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:22px; transition:.2s transform,.2s border-color; }
.card:hover { transform:translateY(-2px); border-color:#34506d; }
.card .tag { color:var(--accent2); font-size:12px; font-weight:750; text-transform:uppercase; letter-spacing:.08em; }
.card h3 { font-size:20px; line-height:1.25; margin:12px 0 10px; letter-spacing:-.02em; }
.card p { color:var(--muted); margin:0 0 18px; }
.meta { color:#6f8498; font-size:12px; }
.machine { display:grid; grid-template-columns:.9fr 1.1fr; gap:24px; }
.codebox { background:#071018; border:1px solid var(--line); border-radius:14px; padding:18px; font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; color:#b9c8d8; overflow:auto; }
.codebox .green { color:var(--accent); }
.endpoint { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); }
.endpoint:last-child { border-bottom:0; }
.method { font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--accent); border:1px solid #245b4d; padding:3px 6px; border-radius:5px; }
.path { font:13px ui-monospace,SFMono-Regular,Menlo,monospace; color:#dbe6ef; }
.price { font-size:13px; color:var(--warn); white-space:nowrap; }
.cta { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.btn { border:1px solid var(--line); border-radius:10px; padding:11px 14px; font-weight:700; font-size:14px; cursor:pointer; background:#132130; color:var(--text); }
.btn.primary { background:var(--accent); color:#06120f; border-color:var(--accent); }
.btn:hover { filter:brightness(1.08); }
#api-output { min-height:78px; margin-top:14px; white-space:pre-wrap; }
.pricing { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.price-card { border:1px solid var(--line); background:var(--panel); border-radius:16px; padding:24px; }
.big-price { font-size:34px; letter-spacing:-.04em; margin:10px 0 4px; }
.small { color:var(--muted); font-size:13px; }
footer { padding:38px 0 56px; color:var(--muted); font-size:13px; }
.article { width:min(800px, calc(100% - 40px)); margin:0 auto; padding:70px 0; }
.article h1 { font-size:50px; line-height:1.03; }
.article h2 { margin-top:38px; font-size:26px; }
.article p, .article li { color:#bdc9d5; font-size:17px; }
.article .note { border-left:3px solid var(--accent); padding-left:16px; color:#dce6ee; }
.article code { background:#101e2b; border:1px solid var(--line); padding:2px 5px; border-radius:5px; }
@media (max-width: 860px) {
  .hero-grid,.machine { grid-template-columns:1fr; }
  .grid,.pricing { grid-template-columns:1fr; }
  .nav-links { display:none; }
  .hero { padding-top:56px; }
  .hero-card { max-width:520px; }
}
