:root {
  color-scheme: dark;
  --bg: #070a10;
  --bg-elev: #0f141d;
  --panel: rgba(18, 24, 35, 0.72);
  --stroke: rgba(120, 200, 255, 0.18);
  --text: #e8eef7;
  --muted: rgba(218, 230, 244, 0.68);
  --accent: #5ef0d4;
  --accent-strong: #2dd4bf;
  --shadow: rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(1200px 600px at 12% -10%, rgba(46, 196, 182, 0.16), transparent 55%),
    radial-gradient(900px 500px at 88% 0%, rgba(72, 120, 255, 0.12), transparent 50%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0 10px;
  border-bottom: 1px solid var(--stroke);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: conic-gradient(from 140deg, #1c2a39, var(--accent), #1f3b5c);
  box-shadow: 0 12px 32px rgba(46, 196, 182, 0.25);
}

.brand-text strong {
  color: var(--accent);
  font-weight: 700;
}

.topnav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
  border-bottom: 1px solid transparent;
}

.topnav a:hover {
  color: var(--text);
  border-color: rgba(94, 240, 212, 0.55);
}

.topnav .cta-link {
  color: var(--text);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--stroke);
}

.mobile-nav a {
  color: var(--muted);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--text);
}

.mobile-nav.hidden {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.82fr);
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(36px, 6vw, 72px) 0 54px;
  align-items: start;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.06;
  margin: 14px 0 16px;
  letter-spacing: -0.03em;
}

.lede {
  color: var(--muted);
  max-width: 56ch;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 160ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4ddbd2);
  color: #03110f;
  box-shadow: 0 14px 40px rgba(46, 196, 182, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  box-shadow: 0 18px 50px rgba(46, 196, 182, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: rgba(10, 14, 20, 0.45);
}

.btn-ghost:hover {
  border-color: rgba(94, 240, 212, 0.42);
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--stroke);
}

.meta-strip dt {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: rgba(232, 238, 247, 0.55);
  margin: 0 0 4px;
}

.meta-strip dd {
  margin: 0;
  font-weight: 600;
}

.hero-panel .panel-inner {
  background: linear-gradient(160deg, rgba(94, 240, 212, 0.08), rgba(40, 60, 90, 0.25));
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 20px 60px var(--shadow);
  backdrop-filter: blur(8px);
}

.panel-kicker {
  margin: 0 0 12px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(235, 244, 255, 0.65);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bullet-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}

.bullet-grid li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(7, 10, 16, 0.55);
  border: 1px solid rgba(120, 200, 255, 0.12);
}

.bullet-grid span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 2px;
}

.callout {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.callout cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: rgba(232, 238, 247, 0.45);
  font-size: 13px;
}

.section {
  padding: 62px 0 68px;
}

.section-alt {
  background: radial-gradient(circle at 20% 20%, rgba(94, 240, 212, 0.08), transparent 45%);
  border-block: 1px solid rgba(120, 200, 255, 0.12);
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(120, 200, 255, 0.12);
  box-shadow: 0 14px 40px var(--shadow);
}

.card h3 {
  margin-top: 0;
  letter-spacing: -0.015em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.82fr);
  align-items: start;
}

.muted {
  color: var(--muted);
}

.stack {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(120, 200, 255, 0.18);
  text-decoration: none;
  color: var(--text);
  background: rgba(7, 10, 16, 0.5);
}

.chip:hover {
  border-color: rgba(94, 240, 212, 0.45);
}

.map-card {
  margin: 0;
  padding: 20px 20px 12px;
  border-radius: 16px;
  border: 1px solid rgba(120, 200, 255, 0.15);
  background: rgba(11, 16, 24, 0.75);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.map-card figcaption {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: rgba(232, 238, 247, 0.6);
}

.map-card ol {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.footer {
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footnav {
  display: flex;
  gap: 14px;
}

.footnav a {
  color: var(--muted);
}

.footnav a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .topnav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav:not(.hidden) {
    display: flex;
  }
}
