:root {
  --bg: #08090a;
  --bg-deep: #010102;
  --panel: #0f1011;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.055);
  --line: rgba(255,255,255,.08);
  --line-soft: rgba(255,255,255,.05);
  --text: #f7f8f8;
  --muted: #d0d6e0;
  --dim: #8a8f98;
  --quiet: #62666d;
  --brand: #5e6ad2;
  --accent: #7170ff;
  --green: #10b981;
  --warn: #f5c542;
  --danger: #fb7185;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, rgba(113,112,255,.18), transparent 28rem), radial-gradient(circle at 80% 10%, rgba(16,185,129,.08), transparent 24rem), var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: "cv01", "ss03";
}
a { color: inherit; text-decoration: none; }
.bg-grid { position: fixed; inset: 0; pointer-events: none; opacity: .28; 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: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
.nav { position: sticky; top: 0; z-index: 10; height: 72px; padding: 0 clamp(18px, 4vw, 56px); display: flex; align-items: center; gap: 24px; background: rgba(8,9,10,.72); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-soft); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 590; letter-spacing: -.2px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #8b5cf6); box-shadow: 0 0 30px rgba(113,112,255,.32); }
.nav-links { margin-left: auto; display: flex; gap: 22px; color: var(--muted); font-size: 13px; font-weight: 510; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 8px 13px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.03); font-size: 13px; font-weight: 510; }
.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 92px 0; position: relative; }
.hero { min-height: calc(100vh - 72px); display: grid; align-content: center; text-align: center; padding-top: 80px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); border: 1px solid rgba(113,112,255,.22); background: rgba(113,112,255,.08); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 510; letter-spacing: .02em; width: fit-content; }
.pulse { width: 7px; height: 7px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 6px rgba(16,185,129,.12); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 1040px; margin: 24px auto 22px; font-size: clamp(44px, 7vw, 82px); line-height: .96; font-weight: 510; letter-spacing: clamp(-2px, -.18vw, -1px); }
h2 { font-size: clamp(32px, 4.5vw, 54px); line-height: 1.03; font-weight: 510; letter-spacing: -1.056px; margin-bottom: 18px; }
h3 { font-size: 20px; line-height: 1.18; font-weight: 590; letter-spacing: -.24px; }
p { color: var(--dim); line-height: 1.65; font-size: 16px; }
.price, .offer-price { color: var(--green); }
.hero-copy { max-width: 800px; margin: 0 auto 30px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-actions.left { justify-content: flex-start; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--line); font-weight: 590; font-size: 14px; cursor: pointer; font-family: inherit; }
.primary { background: var(--brand); color: #fff; border-color: rgba(255,255,255,.1); box-shadow: 0 12px 40px rgba(94,106,210,.28); }
.primary:hover { background: #6f7ae4; }
.ghost { background: rgba(255,255,255,.025); color: var(--muted); }
.pay { background: var(--green); color: #04130d; border-color: rgba(255,255,255,.1); box-shadow: 0 12px 40px rgba(16,185,129,.22); }
.promise-row { margin: 34px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.promise-row span, .status-pill, .state-machine code { color: var(--muted); border: 1px solid var(--line-soft); background: rgba(255,255,255,.03); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 510; }
.status-pill { color: var(--green); border-color: rgba(16,185,129,.22); background: rgba(16,185,129,.08); }
.status-pill.warn { color: var(--warn); border-color: rgba(245,197,66,.26); background: rgba(245,197,66,.08); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.reverse { direction: rtl; }
.reverse > * { direction: ltr; }
.panel, .card, .flow-card, .report-card, .pilot-card, .workspace-card, .admin-card, .offer-card { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border-radius: 18px; box-shadow: inset 0 1px rgba(255,255,255,.04), 0 20px 70px rgba(0,0,0,.28); }
.campaign-panel { padding: 18px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-weight: 590; margin-bottom: 16px; }
.timeline { display: grid; gap: 12px; }
.timeline div { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); }
.timeline strong { display: block; color: var(--text); margin-bottom: 5px; }
.timeline span { color: var(--dim); font-size: 14px; line-height: 1.5; }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head.narrow { text-align: center; margin-inline: auto; }
.section-head.narrow .eyebrow { margin-inline: auto; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 22px; min-height: 210px; }
.card-kicker { font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--accent); font-size: 12px; }
.card p { font-size: 15px; }
.app-shell { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; }
.steps { display: grid; gap: 10px; position: sticky; top: 92px; }
.step { display: flex; align-items: center; gap: 10px; color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 12px; padding: 13px; font: inherit; cursor: pointer; text-align: left; }
.step span { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: rgba(113,112,255,.12); color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.step.is-active { border-color: rgba(113,112,255,.44); background: rgba(113,112,255,.12); color: var(--text); }
.workspace-card { padding: clamp(18px, 3vw, 28px); min-height: 420px; }
.hidden { display: none !important; }
.prototype-form { display: grid; gap: 13px; }
.form-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 510; }
input, textarea { border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--text); padding: 0 13px; font: inherit; }
input { height: 44px; }
textarea { padding-top: 12px; resize: vertical; }
input:focus, textarea:focus { outline: 1px solid rgba(113,112,255,.7); }
.checks { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.checks legend { color: var(--accent); font-size: 12px; font-weight: 590; padding: 0 8px; }
.checks label, .settings-panel label { display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.checks input, .settings-panel input { width: 16px; height: 16px; margin-top: 1px; }
.compact-list { columns: 2; margin: 8px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.offer-card { padding: 18px; background: rgba(16,185,129,.06); border-color: rgba(16,185,129,.2); }
.offer-card h3 { margin-bottom: 6px; }
.offer-price { font-family: 'JetBrains Mono', monospace; margin-bottom: 8px; }
.form-note { margin: 0; font-size: 13px; color: var(--quiet); }
.checkout-box { display: grid; gap: 16px; max-width: 760px; }
.receipt { border: 1px dashed rgba(255,255,255,.16); padding: 16px; border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.025); line-height: 1.6; }
.activation-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: start; }
.deep-link-panel { margin-bottom: 18px; }
.code-form { margin-top: 18px; }
.refund-note { margin-top: 14px; padding: 13px; border: 1px solid rgba(245,197,66,.24); background: rgba(245,197,66,.08); color: var(--muted); border-radius: 12px; font-size: 14px; }
.chat { display: grid; gap: 10px; max-height: 360px; overflow: auto; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.18); margin-bottom: 16px; }
.message { padding: 12px 14px; border-radius: 14px; line-height: 1.55; color: var(--muted); background: rgba(255,255,255,.04); max-width: 88%; }
.message span { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; margin-bottom: 4px; }
.message.user { margin-left: auto; background: rgba(113,112,255,.13); color: var(--text); }
.message.bot { margin-right: auto; }
code, pre { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.terminal-panel { padding: 16px; overflow: auto; }
.dots { display: flex; gap: 7px; padding-bottom: 12px; }
.dots i { width: 10px; height: 10px; border-radius: 999px; background: var(--quiet); }
pre { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.check-list { padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); }
.settings-panel { padding: 20px; display: grid; gap: 12px; color: var(--muted); }
.report-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.report-card { padding: 24px; }
.report-card span { color: var(--accent); font-size: 12px; font-weight: 590; text-transform: uppercase; letter-spacing: .08em; }
.report-card p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }
.report-card.detail p { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--dim); }
.admin-toolbar { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.admin-card { padding: 18px; min-width: 0; }
.admin-card h3 { margin-bottom: 12px; }
.admin-card pre { max-height: 280px; overflow: auto; background: rgba(0,0,0,.16); padding: 12px; border-radius: 10px; }
.footer { display: flex; justify-content: space-between; gap: 18px; padding: 28px clamp(18px, 4vw, 56px); color: var(--quiet); border-top: 1px solid var(--line-soft); font-size: 13px; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .split, .report-grid, .app-shell, .activation-grid { grid-template-columns: 1fr; }
  .steps { position: static; grid-template-columns: repeat(4, 1fr); }
  .step { justify-content: center; font-size: 12px; }
  .card-grid, .admin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .section { width: min(100% - 28px, 1180px); padding: 62px 0; }
  .card-grid, .admin-grid, .form-grid.two, .steps { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .nav-cta { display: none; }
  .compact-list { columns: 1; }
}
