:root {
  --bg: #0a1020;
  --bg-alt: #0e1630;
  --surface: #121b38;
  --line: #22305a;
  --text: #e8ecf8;
  --muted: #9aa7c7;
  --accent: #5eead4;
  --accent-2: #818cf8;
  --crit: #f87171;
  --high: #fb923c;
  --med: #fbbf24;
  --low: #60a5fa;
  --ok: #4ade80;
  --radius: 14px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - 32px, 780px); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lead { color: var(--muted); font-size: 1.15rem; max-width: 56ch; }
.note { color: var(--muted); font-size: 0.8rem; margin-top: 18px; opacity: 0.8; }
.note.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 14px 24px; font-size: 1rem; }
.btn--primary { background: var(--accent); color: #062018; }
.btn--primary:hover { background: #7ff3df; }
.btn--outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--accent); }
.btn--ghost { color: var(--text); }
.btn--ghost:hover { color: var(--accent); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 48, 90, 0.6);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.logo b { color: var(--accent); }
.nav__links { display: flex; gap: 26px; margin-left: 12px; }
.nav__links a { color: var(--muted); font-size: 0.95rem; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: auto; display: flex; gap: 8px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(129, 140, 248, 0.18), transparent 60%),
    radial-gradient(600px 400px at 0% 20%, rgba(94, 234, 212, 0.12), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.hero__points { display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.hero__points li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: 700; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.panel__bar, .term__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace; font-size: 0.75rem; color: var(--muted);
}
.panel__bar i, .term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3968; }
.panel__bar span, .term__bar span { margin-left: 10px; }
.panel__body { padding: 8px 6px 10px; }
.panel__row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 12px; font-size: 0.86rem; border-bottom: 1px solid rgba(34, 48, 90, 0.5);
}
.panel__row--head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.panel__row em { font-style: normal; font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; min-width: 64px; text-align: center; }
.sev--crit { background: rgba(248,113,113,.15); color: var(--crit); }
.sev--high { background: rgba(251,146,60,.15); color: var(--high); }
.sev--med  { background: rgba(251,191,36,.15); color: var(--med); }
.sev--low  { background: rgba(96,165,250,.15); color: var(--low); }
.st--open { color: var(--crit); }
.st--fix { color: var(--med); }
.st--done { color: var(--ok); }
.panel__foot { padding: 12px 12px 4px; font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(74,222,128,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }

/* Metrics */
.metrics { padding: 40px 0; border-block: 1px solid var(--line); background: var(--bg-alt); }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.metrics strong { display: block; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: var(--accent); }
.metrics span { color: var(--muted); font-size: 0.9rem; }
.metrics .note { text-align: center; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section__head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card__icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(94, 234, 212, 0.1); margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--feature {
  grid-column: span 2; position: relative;
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(94,234,212,.09), var(--surface) 55%);
}
.card--feature h3 { font-size: 1.4rem; }
.card--feature p { max-width: 62ch; }
.tag {
  position: absolute; top: 24px; right: 24px; background: var(--accent); color: #062018;
  font-size: 0.72rem; font-weight: 700; padding: 3px 12px; border-radius: 99px;
}
.mini { display: grid; gap: 6px; margin-top: 16px; color: var(--muted); font-size: 0.92rem; }
.mini li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: 700; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 24px; }
.checks { display: grid; gap: 14px; margin-bottom: 32px; color: var(--muted); }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.checks b { color: var(--text); }
.term { background: #070c1a; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.term pre { padding: 20px; font-family: "JetBrains Mono", monospace; font-size: 0.82rem; line-height: 1.75; overflow-x: auto; color: #cdd6f4; }
.term .c { color: #6b7aa6; } .term .k { color: var(--accent-2); } .term .g { color: var(--ok); } .term .r { color: var(--crit); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps li > span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #062018; font-weight: 700; margin-bottom: 16px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.badges span {
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); font-weight: 600; letter-spacing: .04em;
}

/* Pricing (custom quote) */
.quote-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.qs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.qs > span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #062018; font-weight: 700; margin-bottom: 16px;
}
.qs h3 { margin-bottom: 6px; }
.qs p { color: var(--muted); font-size: 0.95rem; }
.factors {
  background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 36px 32px; text-align: center; box-shadow: 0 20px 50px rgba(94,234,212,.08);
}
.factors h3 { font-size: 1.3rem; margin-bottom: 18px; }
.factors ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); margin-bottom: 28px; }
.factors li::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 700; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; }

/* CTA */
.cta { padding: 96px 0; background: radial-gradient(700px 400px at 20% 0%, rgba(94,234,212,.13), transparent 60%), var(--bg-alt); border-top: 1px solid var(--line); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta h2 { margin-bottom: 16px; }
.cta p { color: var(--muted); }
.contact-list { margin-top: 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; }
.contact-list span { min-width: 84px; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { color: var(--accent); font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { text-decoration: underline; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 500; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 9px; padding: 11px 12px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form__status { font-size: 0.9rem; min-height: 1.2em; }

/* Footer */
.footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.footer p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.footer nav { display: flex; gap: 24px; color: var(--muted); font-size: 0.92rem; }
.footer nav a:hover { color: var(--text); }
.footer .copy { width: 100%; text-align: center; margin-top: 8px; font-size: 0.82rem; }

/* Honeypot field: hidden from sighted users, still reachable by simple bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Responsive */
@media (max-width: 960px) {
  .quote-steps { grid-template-columns: 1fr; }
  .hero__grid, .split, .cta__grid { grid-template-columns: 1fr; gap: 44px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 16px 16px; border-top: 1px solid var(--line); }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 620px) {
  .section, .cta { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .cards, .steps, .quote-steps { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; }
  .tag { position: static; display: inline-block; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
