:root {
  --bg: #0a0e14;
  --bg-2: #0d1420;
  --panel: #101826;
  --panel-2: #141f30;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9eef6;
  --muted: #8b96ab;
  --compass: #4fa8ff;
  --compass-dim: #2c6bb0;
  --forge: #ff8a3d;
  --forge-dim: #c9601f;
  --good: #7ee0b0;
  --radius: 14px;
  --maxw: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(79, 168, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 900px 500px at 90% 10%, rgba(255, 138, 61, 0.10), transparent 60%),
    var(--bg);
}

a { color: var(--compass); text-decoration: none; }
a:hover { color: #7cc1ff; }

img { max-width: 100%; display: block; }

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

/* ---- Header / Nav ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand .mark { width: 30px; height: 30px; flex: none; }

nav.links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.95rem;
}

nav.links a { color: var(--muted); }
nav.links a:hover, nav.links a.active { color: var(--text); }
nav.links a.btn-forge { color: #1a0d02; }
nav.links a.btn-forge:hover { color: #1a0d02; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-forge {
  background: linear-gradient(180deg, var(--forge), var(--forge-dim));
  color: #1a0d02;
  box-shadow: 0 6px 20px rgba(255, 138, 61, 0.25);
}
.btn-forge:hover { filter: brightness(1.08); color: #1a0d02; }

.btn-outline {
  border-color: var(--line);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--compass); color: var(--compass); }

/* ---- Hero ---- */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--compass);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 .accent { color: var(--forge); }

.lede {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Sections ---- */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-row { flex-wrap: wrap; row-gap: 12px; }
  nav.links { width: 100%; justify-content: center; flex-wrap: wrap; gap: 16px 20px; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(79, 168, 255, 0.12);
  color: var(--compass);
}
.card.forge .icon { background: rgba(255, 138, 61, 0.14); color: var(--forge); }

.card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---- Two-column ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.split h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 18px; font-weight: 800; }
.split p { color: var(--muted); margin: 0 0 16px; }

.compass-glyph { width: 100%; max-width: 340px; margin: 0 auto; opacity: 0.9; }

/* ---- List rows ---- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; color: var(--text); }
.checklist li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(126, 224, 176, 0.15);
  border: 1px solid var(--good);
}

/* ---- CTA band ---- */
.cta-band {
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(79, 168, 255, 0.12), rgba(255, 138, 61, 0.12));
  border: 1px solid var(--line);
}
.cta-band h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: var(--muted); margin: 0 0 28px; }

/* ---- Footer ---- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-fine { border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.82rem; }

/* ---- Simple page (legal, etc.) ---- */
.page-head { padding: 64px 0 32px; text-align: center; }
.page-head + section { padding-top: 8px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: var(--muted); }
.prose { max-width: 760px; margin: 0 auto; padding-bottom: 80px; color: var(--text); }
.prose h2 { color: var(--text); margin-top: 40px; font-size: 1.3rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--compass); }

/* ---- Contact form ---- */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--compass);
}
