:root {
  --bg: #07111d;
  --panel: #0d1d2d;
  --text: #eaf1f7;
  --muted: #a9b8c5;
  --line: #24384b;
  --accent: #71d9c7;
  --light: #f4f7f9;
  --ink: #12202c;
}

* { 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;
  color: var(--ink);
  background: white;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 760px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 17, 29, .94);
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: .01em; }
nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: .93rem; color: var(--muted); }
nav a:hover { color: white; }

.hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(113,217,199,.18), transparent 30%),
    linear-gradient(135deg, #07111d 0%, #0b1b2b 100%);
  color: var(--text);
  padding: 96px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: #4fbda9; font-weight: 800; letter-spacing: .13em; font-size: .78rem; }
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 5.7rem); max-width: 850px; margin-bottom: 26px; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
.lead { color: #c8d5df; max-width: 760px; font-size: 1.17rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-block; padding: 12px 18px; border-radius: 7px; font-weight: 750; border: 1px solid var(--line); }
.button.primary { background: var(--accent); color: #07111d; border-color: var(--accent); }
.button.secondary { color: var(--text); }

.hero-card { border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 16px; padding: 26px; display: grid; gap: 12px; }
.hero-card span { font-weight: 700; }
.hero-card strong { color: var(--accent); }

.section { padding: 86px 0; }
.section.alt { background: var(--light); }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.two-col p:first-child { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.cards article { background: white; border: 1px solid #dce4ea; border-radius: 12px; padding: 24px; min-height: 220px; }
.number { color: #2d9f8d; font-weight: 850; font-size: .82rem; letter-spacing: .08em; }
.code-card { background: #0d1d2d; color: var(--text); border-radius: 14px; padding: 10px 24px; }
.code-card div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.code-card div:last-child { border-bottom: 0; }
.code-card span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent); font-size: .92rem; }
.code-card b { font-weight: 600; color: #c8d5df; }
.statement { border-top: 1px solid #e2e8ed; text-align: center; }
.statement p:last-child { font-size: 1.1rem; color: #485b6b; }
.dark { background: var(--bg); color: var(--text); }
.dark .muted { color: var(--muted); }
footer { background: #050c14; color: #8ea0ae; padding: 24px 0; border-top: 1px solid #182738; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; font-size: .9rem; }

@media (max-width: 850px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .hero { padding: 72px 0 62px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .code-card div { grid-template-columns: 1fr; gap: 6px; }
  .footer-row { flex-direction: column; }
}
