:root {
  --bg: #0b0d12;
  --bg-alt: #11141b;
  --panel: #161a23;
  --border: #232838;
  --text: #e7eaf2;
  --muted: #9aa3b8;
  --accent: #6aa8ff;
  --accent-2: #b48cff;
  --hl: #ffe27a;
  --max: 1100px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 540px at 80% -10%,
      rgba(106,168,255,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%,
      rgba(180,140,255,0.16), transparent 55%),
    linear-gradient(180deg, #0b0d12 0%, #0b0d12 60%, #0e1119 100%);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0d12;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.brand-mark.small { width: 22px; height: 22px; font-size: 13px; }

.brand-text { font-size: 16px; }

.nav-cta {
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  background: rgba(255,255,255,0.02);
}
.nav-cta:hover {
  text-decoration: none;
  border-color: var(--accent);
  color: var(--accent);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hl {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 18px;
  color: #c9d0e0;
  max-width: 680px;
  margin: 0 0 18px;
}

.qualification {
  font-size: 18px;
  color: var(--hl);
  font-weight: 600;
  margin: 0 0 28px;
}
.qualification.big {
  font-size: clamp(22px, 3.4vw, 30px);
  margin: 18px 0 28px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-row.center { justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease,
              border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0d12;
}
.btn.primary:hover { filter: brightness(1.05); }

.btn.ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,0.02);
}
.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 88px 0;
}
.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.01em;
  margin: 0 0 36px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.bullets li {
  padding-left: 26px;
  position: relative;
  color: #c9d0e0;
}
.bullets li::before {
  content: "λ";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.bullets strong { color: var(--text); }

/* ---------- FOOTER ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.muted { color: var(--muted); }
