:root {
  --bg: #0e1014;
  --bg-elev: #161a22;
  --panel: #1c2230;
  --line: #2a3344;
  --text: #e8eaed;
  --muted: #9aa3b2;
  --accent: #7dcea0;
  --accent-dim: #3d8b6a;
  --hex: #3d8bfd;
  --wood: #c48a4a;
  --radius: 14px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  color: var(--text); font-weight: 650; letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--hex), var(--accent));
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.nav-links { display: flex; gap: 0.35rem 1rem; flex-wrap: wrap; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: 0.92rem; text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.15rem; border-radius: 999px; font: inherit; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent); color: #0b1210; border-color: var(--accent);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--line);
}
.btn-ghost:hover { border-color: #4a5568; background: var(--panel); }

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, color-mix(in srgb, var(--hex) 22%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%);
}
.hero-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.15fr 0.85fr; align-items: center;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  color: var(--accent); font-size: 0.8rem; font-weight: 650;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.75rem;
}
.hero h1 {
  margin: 0 0 1rem; font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12; letter-spacing: -0.03em;
}
.lead { color: var(--muted); font-size: 1.1rem; max-width: 38rem; margin: 0 0 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.hero-viz {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background:
    linear-gradient(160deg, #1a2233, #12161f),
    repeating-linear-gradient(60deg, transparent, transparent 18px, color-mix(in srgb, var(--hex) 18%, transparent) 18px, color-mix(in srgb, var(--hex) 18%, transparent) 19px);
  border: 1px solid var(--line);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.hero-viz svg { width: 72%; max-width: 280px; opacity: 0.95; }
.hero-caption {
  margin: 0.85rem 0 0; color: var(--muted); font-size: 0.85rem; text-align: center;
}

/* Sections */
section { padding: 3.25rem 0; }
section.alt { background: var(--bg-elev); border-block: 1px solid var(--line); }
h2 { margin: 0 0 0.75rem; font-size: 1.65rem; letter-spacing: -0.02em; }
h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 1.75rem; }

.cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.25rem;
}
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .tag {
  display: inline-block; margin-bottom: 0.55rem;
  font-size: 0.72rem; font-weight: 650; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--hex);
}

.steps { counter-reset: step; display: grid; gap: 0.85rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.15rem;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 2rem; height: 2rem; border-radius: 999px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent); font-weight: 700; font-size: 0.9rem;
}
.step p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; }

.note {
  margin-top: 1.5rem; padding: 1rem 1.15rem;
  border-left: 3px solid var(--wood);
  background: color-mix(in srgb, var(--wood) 10%, var(--panel));
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted); font-size: 0.92rem;
}

.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.9rem 1.1rem; margin-bottom: 0.65rem;
}
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { margin-bottom: 0.5rem; }
.faq p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.page-hero { padding: 2.75rem 0 1.5rem; }
.page-hero h1 { margin: 0 0 0.65rem; font-size: clamp(1.75rem, 3.5vw, 2.35rem); letter-spacing: -0.02em; }

.footer {
  border-top: 1px solid var(--line); padding: 2rem 0 2.5rem;
  color: var(--muted); font-size: 0.88rem;
}
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: start;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.fineprint { margin-top: 1.25rem; max-width: 48rem; line-height: 1.5; opacity: 0.85; }

code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
pre {
  background: #0a0c10; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem; overflow: auto;
  color: #c8d0dc; font-size: 0.88rem;
}

.hero-viz img { width: 100%; height: 100%; object-fit: cover; display: block; }
