:root {
  --bg: #05080d;
  --bg-soft: #08111a;
  --panel: #0a141e;
  --panel-2: #0d1a26;
  --line: #1a2b3c;
  --line-soft: #132131;
  --text: #e8eff8;
  --muted: #8ea3b8;
  --green: #37e26b;
  --green-2: #19b84a;
  --cyan: #32d3ff;
  --amber: #ffd166;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  --max: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 520px at 12% -8%, rgba(55, 226, 107, .10), transparent 62%),
    radial-gradient(820px 520px at 92% -4%, rgba(50, 211, 255, .09), transparent 62%),
    linear-gradient(rgba(26, 43, 60, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 43, 60, .18) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
code { font-family: var(--mono); font-size: .88em; color: var(--cyan); background: rgba(50, 211, 255, .07); border: 1px solid rgba(50, 211, 255, .14); padding: .12em .38em; border-radius: 5px; }
::selection { background: rgba(55, 226, 107, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #04120a; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 8, 13, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--green), var(--cyan)); color: #04120a; font-family: var(--mono); font-weight: 800; font-size: 15px; display: grid; place-items: center; box-shadow: 0 0 24px rgba(55, 226, 107, .3); }
.brand-name { font-weight: 750; font-size: 18px; letter-spacing: -.03em; }
.brand-name span { color: var(--green); }
.brand-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(55, 226, 107, .35); background: rgba(55, 226, 107, .07); border-radius: 4px; padding: 2px 5px; transform: translateY(-7px); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s ease; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; border: 1px solid transparent; font-weight: 650; font-size: 14px; padding: 9px 15px; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: #04120a; box-shadow: 0 0 0 1px rgba(55, 226, 107, .2), 0 8px 24px rgba(55, 226, 107, .18); }
.btn.primary:hover { background: #45f07a; }
.btn.ghost { color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.btn.outline { border-color: var(--line); color: var(--text); background: rgba(10, 20, 30, .5); }
.btn.outline:hover { border-color: rgba(55, 226, 107, .45); background: rgba(55, 226, 107, .05); }
.btn.lg { padding: 12px 20px; font-size: 15px; border-radius: 9px; }

/* hero */
.hero { padding: 84px 0 76px; border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); background: rgba(8, 17, 26, .7); border-radius: 999px; padding: 6px 11px; margin-bottom: 22px; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { font-size: clamp(40px, 5.1vw, 66px); letter-spacing: -.045em; }
.hero h1 .accent { color: var(--green); }
.lead { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 560px; margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 12.5px; }
.trust li { position: relative; padding-left: 15px; }
.trust li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

/* terminal */
.terminal { background: linear-gradient(180deg, #0a141e, #071019); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(55, 226, 107, .04) inset; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--line-soft); background: rgba(255, 255, 255, .02); }
.terminal-bar span { width: 9px; height: 9px; border-radius: 50%; background: #2a3b4d; }
.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-bar em { margin-left: 8px; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.terminal pre { margin: 0; padding: 20px 18px; overflow-x: auto; font-size: 12.5px; line-height: 1.75; }
.terminal code { background: none; border: 0; padding: 0; color: #cfe0ef; font-size: inherit; }
.prompt { color: var(--green); }
.key { color: var(--cyan); }
.str { color: var(--amber); }
.dim { color: #5e7387; }
.terminal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; border-top: 1px solid var(--line-soft); font-size: 11px; }
.pill { font-family: var(--mono); font-size: 10px; color: var(--green); border: 1px solid rgba(55, 226, 107, .3); background: rgba(55, 226, 107, .06); border-radius: 999px; padding: 3px 8px; }

/* sections */
.section { padding: 76px 0; border-bottom: 1px solid var(--line-soft); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.section h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.035em; }
.section-lead { color: var(--muted); max-width: 720px; margin-top: 14px; font-size: 15.5px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.card { background: linear-gradient(180deg, var(--panel), #08111a); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: rgba(55, 226, 107, .32); transform: translateY(-2px); }
.card-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.card h3 { font-size: 19px; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.step { border-top: 1px solid var(--line); padding-top: 18px; }
.step .num { font-family: var(--mono); font-size: 11px; color: var(--green); border: 1px solid rgba(55, 226, 107, .3); background: rgba(55, 226, 107, .06); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.step h3 { font-size: 16px; margin: 13px 0 6px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1.02fr; gap: 48px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 9px; color: var(--muted); font-size: 14px; }
.checklist li { padding-left: 20px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.code-card { background: #071019; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.code-head { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.code-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #2a3b4d; }
.code-head .dot:nth-child(1) { background: #ff5f57; }
.code-head .dot:nth-child(2) { background: #febc2e; }
.code-head .dot:nth-child(3) { background: #28c840; }
.code-head em { margin-left: 6px; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.code-card pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 12.5px; line-height: 1.75; }
.code-card code { background: none; border: 0; padding: 0; color: #cfe0ef; font-size: inherit; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; margin-top: 34px; align-items: stretch; }
.price-panel, .price-highlight { background: linear-gradient(180deg, var(--panel), #08111a); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table caption { text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.price-table th, .price-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.price-table th { color: var(--muted); font-weight: 500; }
.price-table td { text-align: right; color: var(--text); }
.price-table td strong { color: var(--green); }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.fine { color: #6f8397; font-size: 12px; line-height: 1.6; margin: 14px 0 0; }
.price-highlight { display: flex; flex-direction: column; justify-content: center; background: radial-gradient(560px 260px at 80% 0%, rgba(55, 226, 107, .1), transparent 60%), linear-gradient(180deg, var(--panel), #08111a); }
.kicker { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.price-big { display: flex; align-items: baseline; gap: 8px; margin: 2px 0; }
.price-big span { font-size: clamp(30px, 3.2vw, 40px); font-weight: 750; letter-spacing: -.04em; color: var(--text); }
.price-big small { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.price-highlight .btn { margin-top: 20px; align-self: flex-start; }
.example { margin-top: 18px; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 10px; padding: 16px 20px; background: rgba(55, 226, 107, .04); }
.example-label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.example p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.example strong { color: var(--text); }

/* docs */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.doc-card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: rgba(10, 20, 30, .55); }
.doc-card h3 { font-size: 15px; margin-bottom: 8px; }
.doc-card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.endpoints { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.endpoints li { display: flex; flex-direction: column; gap: 2px; }
.endpoints code { align-self: flex-start; }
.endpoints span { color: var(--muted); font-size: 12px; }

/* pilot */
.band { display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; background: linear-gradient(90deg, rgba(55, 226, 107, .06), rgba(50, 211, 255, .04)); }
.band h2 { font-size: clamp(24px, 2.8vw, 34px); }
.band .section-lead { margin-top: 8px; }
.band .btn { flex-shrink: 0; }

/* faq */
.faq-wrap { max-width: 900px; }
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; font-weight: 600; font-size: 15px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; font-family: var(--mono); font-size: 20px; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 14px; margin: 0 0 18px; max-width: 760px; }

/* final */
.final-wrap { border-bottom: 0; }
.final { text-align: center; border: 1px solid var(--line); border-radius: 18px; padding: 52px 28px; background: radial-gradient(700px 260px at 50% 0%, rgba(55, 226, 107, .1), transparent 65%), linear-gradient(180deg, var(--panel), #071019); }
.final h2 { font-size: clamp(30px, 3.8vw, 46px); }
.final .section-lead { margin-left: auto; margin-right: auto; }
.final .fine { margin-top: 18px; }
.center { text-align: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #04070b; padding: 46px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-grid .fine { margin-top: 12px; max-width: 300px; }
.footer-title { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.footer-grid > div:not(:first-child) a { display: block; color: var(--muted); font-size: 13px; margin: 7px 0; }
.footer-grid > div:not(:first-child) a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-soft); margin-top: 34px; padding-top: 20px; color: #5e7387; font-size: 11.5px; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 60px; }
  .terminal { max-width: 720px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .header-actions .ghost { display: none; }
  .header-inner { height: 62px; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .grid-3, .grid-4, .docs-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .price-table td { text-align: right; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .terminal pre, .code-card pre { font-size: 11px; }
  .price-highlight .btn, .band .btn { width: 100%; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
