:root {
  --bg: #05070d;
  --bg-alt: #0a0f1e;
  --panel: rgba(14, 20, 38, 0.82);
  --panel-solid: #0e1426;
  --text: #eaf0ff;
  --muted: #94a3c9;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #ff8a3d;
  --accent-4: #39ff9d;
  --gold: #e7b65b;
  --border: rgba(148, 178, 255, 0.16);
  --border-bright: rgba(34, 211, 238, 0.45);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glow-cyan: 0 0 24px rgba(34, 211, 238, 0.35);
  --glow-violet: 0 0 24px rgba(124, 92, 255, 0.35);
  --font-display: "Orbitron", "Rajdhani", Inter, Arial, sans-serif;
  --font-heading: "Rajdhani", Inter, Arial, sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(124, 92, 255, 0.24), transparent 32%),
    radial-gradient(circle at 88% 6%, rgba(34, 211, 238, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 138, 61, 0.08), transparent 40%),
    linear-gradient(180deg, #04060c 0%, #070b16 100%),
    repeating-linear-gradient(0deg, rgba(148, 178, 255, 0.035) 0px, rgba(148, 178, 255, 0.035) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, rgba(148, 178, 255, 0.035) 0px, rgba(148, 178, 255, 0.035) 1px, transparent 1px, transparent 48px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-width='1' opacity='0.14'%3E%3Cpath d='M20 20 H120 V70 H220'/%3E%3Cpath d='M0 110 H70 V220'/%3E%3Cpath d='M160 0 V90 H240'/%3E%3Cpath d='M110 140 H180 V240'/%3E%3Cpath d='M40 200 H100 V240'/%3E%3C/g%3E%3Cg fill='%2322d3ee' opacity='0.16'%3E%3Ccircle cx='120' cy='70' r='3'/%3E%3Ccircle cx='70' cy='220' r='3'/%3E%3Ccircle cx='160' cy='90' r='3'/%3E%3Ccircle cx='180' cy='140' r='3'/%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3Cg fill='none' stroke='%237c5cff' stroke-width='1' opacity='0.12'%3E%3Cpath d='M20 160 H90 V110'/%3E%3Cpath d='M140 30 H200 V0'/%3E%3Cpath d='M0 60 H40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, auto, auto, auto, auto, 240px 240px;
  background-attachment: fixed;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
::selection { background: rgba(34, 211, 238, 0.35); color: #fff; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); }

/* header + nav */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 13, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; gap: 20px;
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.brand::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2), 0 0 2px #fff;
  display: inline-block;
}
.menu-toggle {
  border: 1px solid var(--border-bright);
  background: rgba(34, 211, 238, 0.06);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.menu-toggle:hover { box-shadow: var(--glow-cyan); }
.menu-panel {
  display: none;
  background: rgba(5, 7, 13, 0.98);
  border-top: 1px solid var(--border);
}
.menu-panel.open { display: block; }
.menu-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 24px;
}
.menu-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.menu-heading {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem;
  font-weight: 700; color: var(--accent-2);
}
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { border-bottom: 1px solid rgba(148, 178, 255, 0.08); }
.menu-link, .menu-forward {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0; color: var(--text); text-decoration: none; background: transparent; border: 0;
  cursor: pointer; font-size: 1.02rem; font-family: var(--font-heading); letter-spacing: 0.02em;
}
.menu-link:hover, .menu-forward:hover, .menu-back:hover, .menu-toggle:hover { text-decoration: none; opacity: 0.92; }
.menu-back { background: transparent; color: var(--text); border: 0; padding: 0; cursor: pointer; }

/* eyebrow / hud tag */
.eyebrow {
  margin: 0 0 14px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent-2); font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before, .eyebrow::after { content: "//"; opacity: 0.5; }

h1, h2, h3 { margin-top: 0; font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.01em; }
h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.04; margin-bottom: 18px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
h3 { font-size: 1.3rem; }
.lead, p, li { color: var(--muted); line-height: 1.7; }
.gradient-text {
  background: linear-gradient(120deg, var(--accent-2), var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}


/* status badges */
.status-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--muted); margin-bottom: 14px;
}
.status-badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.status-badge.online { color: var(--accent-4); border-color: rgba(57, 255, 157, 0.35); }
.status-badge.online .dot { background: var(--accent-4); box-shadow: 0 0 8px var(--accent-4); }
.status-badge.dev { color: var(--accent-2); border-color: rgba(34, 211, 238, 0.35); }
.status-badge.dev .dot { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
.status-badge.soon { color: var(--accent-3); border-color: rgba(255, 138, 61, 0.35); }
.status-badge.soon .dot { background: var(--accent-3); box-shadow: 0 0 8px var(--accent-3); }

/* hero */
.hero { padding: 72px 0 56px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--border);
  text-decoration: none; font-weight: 700; font-family: var(--font-heading); letter-spacing: 0.03em;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.button.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04060c; border: 0; }
.button.primary:hover { box-shadow: var(--glow-cyan); transform: translateY(-1px); text-decoration: none; }
.button.secondary { color: var(--text); background: rgba(255,255,255,0.04); border: 1px solid var(--border-bright); }
.button.secondary:hover { box-shadow: var(--glow-violet); text-decoration: none; }
button.button { cursor: pointer; font-size: 1rem; }

.price { font-family: var(--font-mono); font-size: 1.1rem; color: var(--accent-2); margin: 6px 0 0; }

.hero-card, .card {
  position: relative; overflow: hidden;
  padding: 26px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.hero-card::before, .card::before, .page-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 26px;
  border-top: 2px solid var(--accent-2); border-left: 2px solid var(--accent-2);
  border-radius: 14px 0 0 0; opacity: 0.7;
}
.hero-card::after, .card::after, .page-card::after {
  content: ""; position: absolute; bottom: 0; right: 0; width: 26px; height: 26px;
  border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent);
  border-radius: 0 0 14px 0; opacity: 0.7;
}
.hero-card ul { margin: 0; padding-left: 20px; }
.hero-card h2 { font-family: var(--font-heading); }
.glow {
  position: absolute; inset: -40% auto auto -10%; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.45), transparent 70%);
  pointer-events: none;
}

.section { padding: 68px 0; position: relative; }
.section.alt { background: rgba(10, 15, 30, 0.5); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.card:hover { border-color: var(--border-bright); box-shadow: var(--glow-cyan); transform: translateY(-2px); }
.card.muted { opacity: 0.85; }
.card.flagship { border-color: rgba(255, 138, 61, 0.3); }
.card.flagship:hover { box-shadow: 0 0 24px rgba(255, 138, 61, 0.3); }
.card-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.plain-list { padding-left: 20px; }

.site-footer { padding: 32px 0 50px; border-top: 1px solid var(--border); background: rgba(0,0,0,0.25); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid a { color: var(--muted); }
.footer-grid strong { font-family: var(--font-heading); letter-spacing: 0.04em; }

.page-hero { padding: 64px 0 26px; }
.page-card {
  position: relative;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 28px;
}
.page-card h2 { margin-top: 28px; font-family: var(--font-heading); }
.page-card ul, .page-card ol { color: var(--muted); line-height: 1.7; }
.small { font-size: 0.95rem; color: var(--muted); }
.text-center { text-align: center; }
.hero-title-wide {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4.4vw, 2.5rem);
  line-height: 1.2;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* media gallery + video embeds */
.media-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.media-tile {
  position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: rgba(255,255,255,0.02);
}
.media-tile img, .media-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-tile.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 1px dashed var(--border-bright); color: var(--muted);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(34, 211, 238, 0.05) 0px, rgba(34, 211, 238, 0.05) 10px, transparent 10px, transparent 20px);
}
.media-tile.placeholder .icon { font-size: 1.8rem; opacity: 0.6; }
.media-caption { padding: 10px 4px 0; font-size: 0.85rem; color: var(--muted); }

.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin: 20px 0; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .media-tile.placeholder { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }

.devlog-list { display: flex; flex-direction: column; gap: 20px; }
.devlog-item h2 { font-size: 1.5rem; margin-bottom: 6px; }
.devlog-item h2 a { color: var(--text); }
.devlog-body h2 { font-size: 1.4rem; font-family: var(--font-heading); }
.devlog-body ul { padding-left: 20px; }
.devlog-body img { max-width: 100%; border-radius: 12px; border: 1px solid var(--border); margin: 12px 0; }

form label { display: block; margin-bottom: 16px; color: var(--muted); font-size: 0.95rem; }
form input[type="email"], form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  color: var(--text); font: inherit;
}
form fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
form legend { padding: 0 6px; color: var(--muted); font-size: 0.9rem; }
form fieldset label { display: inline-flex; align-items: center; gap: 6px; margin: 4px 12px 4px 0; }
button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* pyramid */
.pyramid { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 8px auto 0; }
.pyramid-tier {
  display: block; width: 100%; text-align: center; padding: 18px 20px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--panel); color: var(--text);
  font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.03em;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.pyramid-tier:hover { text-decoration: none; border-color: var(--border-bright); box-shadow: var(--glow-cyan); transform: translateY(-2px); }
.pyramid-tier .tier-label { font-size: 1.05rem; }
.pyramid-tier .tier-desc { display: block; margin-top: 4px; font-family: Inter, Arial, sans-serif; font-weight: 400; font-size: 0.85rem; color: var(--muted); letter-spacing: normal; }
.pyramid-tier[data-tier="1"] { width: 100%; border-color: rgba(255, 138, 61, 0.35); }
.pyramid-tier[data-tier="2"] { width: 82%; }
.pyramid-tier[data-tier="3"] { width: 64%; }
.pyramid-tier[data-tier="4"] { width: 46%; }
.pyramid-tier[data-tier="5"] { width: 30%; }

/* feature panel (used by the MurrAI panel and similar callouts) */
.feature-panel {
  position: relative; background: var(--panel-solid); border: 1px solid var(--border-bright);
  border-radius: 14px; padding: 32px; box-shadow: var(--glow-cyan);
}
.panel-tag { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--accent-2); text-transform: uppercase; }
.capability-list {
  list-style: none; padding: 0; margin: 20px auto 0; display: flex; flex-direction: column;
  align-items: center; gap: 8px; max-width: 620px;
}
.capability-list li {
  width: 100%; text-align: center; border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px;
  background: rgba(255,255,255,0.02); color: var(--text); font-size: 0.92rem; line-height: 1.5;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.capability-list li:hover { border-color: var(--border-bright); box-shadow: var(--glow-cyan); }
.capability-list li strong { display: block; color: var(--accent-2); font-family: var(--font-heading); font-size: 1rem; margin-bottom: 4px; }
.capability-list li:nth-last-child(1) { width: 100%; border-color: rgba(255, 138, 61, 0.3); }
.capability-list li:nth-last-child(2) { width: 84%; }
.capability-list li:nth-last-child(3) { width: 68%; }
.capability-list li:nth-last-child(4) { width: 52%; }
.capability-list li:nth-last-child(5) { width: 38%; }
.panel-note { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-3); letter-spacing: 0.03em; margin-top: 20px; }

/* stat strip (quick-stats rows) */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 28px; }
.stat-strip .stat {
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; text-align: center;
  background: rgba(255,255,255,0.02);
}
.stat-strip .stat .stat-value {
  display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--accent-2); font-weight: 800;
}
.stat-strip .stat .stat-label {
  display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}

/* vehicle status rows on the Hephaestus vehicles page */
.zone-list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.zone-list li {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; background: rgba(255,255,255,0.02);
}
.zone-list strong { color: var(--accent-2); font-family: var(--font-heading); }

/* project pages */
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.spec-table th { width: 34%; color: var(--accent-2); font-family: var(--font-mono); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }
.spec-table td { color: var(--muted); }
.spec-note { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.build-stage {
  border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; margin: 20px 0;
  background: rgba(255,255,255,0.02);
}
.build-stage .spec-table { margin: 12px 0; }
.decision-block, .lesson-block {
  border-left: 3px solid var(--accent-2); padding: 4px 0 4px 18px; margin: 18px 0;
}
.lesson-block { border-left-color: var(--accent-3); }
.decision-block h3, .lesson-block h3 { font-size: 1.05rem; margin-bottom: 6px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.project-tags a {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted);
}
.project-tags a:hover { color: var(--accent-2); border-color: var(--border-bright); text-decoration: none; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
