/* ============ GLASS INDUSTRIES — SOL AGE HUD ============ */

:root {
  --bg: #05070a;
  --bg-2: #080c12;
  --panel: #0b1017;
  --panel-2: #0e151f;
  --line: #1c2733;
  --line-2: #2a3a4c;
  --accent: #f97316;
  --accent-2: #f25509;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --text: #e8edf2;
  --muted: #7c8794;
  --muted-2: #8ea0b2;
  --warm: #ff8a3d;
  --mono: 'Share Tech Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --display: 'Orbitron', system-ui, sans-serif;
  --body: 'Rajdhani', system-ui, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(249, 115, 22, 0.07), transparent 60%),
    radial-gradient(900px 600px at 0% 28%, rgba(242, 85, 9, 0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #000; }

.mono { font-family: var(--mono); font-size: 0.85em; letter-spacing: 0.04em; }
.dim { color: var(--muted); }
.accent { color: var(--accent); }
.warm { color: var(--warm); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c2733; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2a3a4c; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 30px; height: 22px; filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.35)); }
.brand-text { font-family: var(--display); font-weight: 800; letter-spacing: 0.06em; font-size: 17px; }
.brand-text .dim { color: var(--muted); font-weight: 600; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 61px;
  left: 0; right: 0;
  z-index: 59;
  display: none;
  flex-direction: column;
  background: rgba(8, 12, 18, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(249,115,22,0.4), 0 8px 30px -8px rgba(249,115,22,0.55);
}
.btn-primary:hover { box-shadow: 0 0 0 1px var(--accent), 0 12px 40px -6px rgba(249,115,22,0.7); }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--warm); background: rgba(249,115,22,0.06); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 60px;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.grid-plane {
  position: absolute;
  left: -20%; right: -20%;
  bottom: -6vh;
  height: 46vh;
  background-image:
    linear-gradient(rgba(249,115,22,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(700px) rotateX(62deg) scale(1.2);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent 78%);
          mask-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent 78%);
  animation: gridScroll 9s linear infinite;
}
@keyframes gridScroll { from { background-position: 0 0; } to { background-position: 0 44px; } }

.glow {
  position: absolute;
  width: 900px; height: 500px;
  left: 50%; bottom: -180px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.16), transparent);
  filter: blur(10px);
}

.star-field { position: absolute; inset: 0; overflow: hidden; }
.star { position: absolute; background: #fff; border-radius: 50%; animation: twinkle var(--t, 3s) ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 0.15; } 50% { opacity: 0.9; } }

/* hero top status strip */
.hero-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.sys-cell, .meta-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(11, 16, 23, 0.6);
  padding: 9px 14px;
  border-radius: 6px;
}
.sys-cell .ok { color: #34d399; font-weight: 700; }
.sys-meta { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.meta-read { gap: 10px; color: var(--text); }
.meta-read .val { color: var(--accent); font-weight: 700; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.pill.online { color: #34d399; border-color: rgba(52,211,153,0.3); }
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

/* announcement */
.announce {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}
.announce-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.announce .tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--warm);
  border: 1px solid var(--accent-2);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}
.announce-text { color: var(--muted); font-size: 15px; letter-spacing: 0.02em; }
.chev-right, .chev-left { flex-shrink: 0; opacity: 0.85; }

/* hero title */
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 15ch;
}
.hero-title .accent { color: var(--accent); text-shadow: 0 0 40px rgba(249,115,22,0.35); }

.hero-sub {
  margin-top: 26px;
  max-width: 620px;
  color: var(--muted-2);
  font-size: 19px;
  font-weight: 500;
}
.hero-sub .caret { color: var(--accent); font-family: var(--mono); }

.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* hero visual */
.hero-visual { position: relative; max-width: 560px; margin: 54px auto 0; }
.carrier { width: 100%; height: auto; display: block; position: relative; z-index: 2; }

.radar-sweep {
  position: absolute;
  left: 50%;
  top: 68%;
  width: 430px;
  height: 430px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(249,115,22,0.18), transparent 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, transparent 46%, #000 100%);
          mask-image: radial-gradient(closest-side, transparent 46%, #000 100%);
  animation: sweep 4.5s linear infinite;
  opacity: 0.8;
  z-index: 1;
}
@keyframes sweep { to { transform: translate(-50%, -50%) rotate(360deg); } }
.carrier-body { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.engine-l rect:last-child { animation: burn 0.9s ease-in-out infinite; }
.engine-r rect:last-child { animation: burn 0.9s ease-in-out infinite 0.15s; }
@keyframes burn { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
.radar { animation: pulse 3s ease-in-out infinite; transform-origin: 410px 167px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

.hud-corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--accent); opacity: 0.7; }
.hud-corner.tl { top: -14px; left: -14px; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: -14px; right: -14px; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: -14px; left: -14px; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: -14px; right: -14px; border-left: 0; border-top: 0; }

.readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 16, 23, 0.82);
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.readout .label { color: var(--muted); }
.readout .val { color: var(--text); font-weight: 700; }
.readout .val.warm { color: var(--warm); }

.hero-visual .readout { position: absolute; }
.readout-a { top: 6px; right: 2%; min-width: 150px; }
.readout-b { top: 46px; right: 6%; min-width: 150px; }
.readout-c { bottom: 8px; left: 4%; min-width: 150px; }
.readout-d { bottom: 8px; right: 4%; min-width: 150px; }

/* terminal boot log */
.boot {
  max-width: 560px;
  margin: 26px auto 0;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  background: rgba(5, 7, 10, 0.72);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--mono);
}
.boot-head {
  display: flex;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.boot-body {
  min-height: 116px;
  padding: 12px 14px 14px;
  font-size: 12px;
  line-height: 1.9;
  color: #9fe0a9;
  letter-spacing: 0.03em;
}
.boot-line { white-space: pre; }
.boot-line .ts { color: var(--muted); }
.boot-line .st { color: #9fe0a9; }
.boot-line.final .st { color: var(--warm); }
.caret-blink { color: var(--accent); animation: caretBlink 0.9s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.boot-fade { opacity: 0; transition: opacity 0.4s ease; }

/* ticker */
.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 13px 0;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 90px;
  z-index: 2;
  background: linear-gradient(90deg, var(--bg-2), transparent);
}
.ticker::after { left: auto; right: 0; transform: scaleX(-1); }
.ticker-track { display: flex; width: max-content; animation: tickerScroll 26s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; white-space: nowrap; }
.ticker-group span {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 0 8px;
}
.ticker-group i { color: var(--accent); font-style: normal; font-family: var(--mono); padding: 0 8px; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* scanlines grain */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
  opacity: 0.5;
}

/* clock */
.clock-cell .mono { color: var(--accent); }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; position: relative; }
.section-dark {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(249,115,22,0.05), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 10px 0 14px;
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.sec-sub { color: var(--muted); font-size: 17px; font-weight: 500; max-width: 620px; }

/* cards */
.grid { display: grid; gap: 18px; }
.cards-6 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(249,115,22,0.12);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 22px;
  color: var(--accent);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--accent-soft);
  margin-bottom: 18px;
}
.card h3 {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.card .mono { font-size: 11px; color: #34d399; letter-spacing: 0.08em; }

/* theater viz */
.theater {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: radial-gradient(600px 340px at 50% 50%, rgba(249,115,22,0.05), transparent 65%), var(--panel);
  padding: 18px;
  overflow: hidden;
}
#theater-canvas { width: 100%; height: auto; display: block; border-radius: 8px; }

.theater-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 90px);
  margin: 26px 0 18px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 54px);
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 30px rgba(249,115,22,0.3);
}
.stat-label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.14em; margin-top: 8px; display: block; }

.theater-read {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 4px;
}

/* split / steps */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.split-rev .prog-visual { order: -1; }

.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  opacity: 0.85;
  line-height: 1.2;
}
.step h3 { font-family: var(--display); font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.rig-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.rig-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(340px, 80vw);
}
.rig-frame svg { width: 100%; height: auto; position: relative; z-index: 2; }
.rig g { transform-origin: 170px 172px; }
@keyframes rigFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.rig { animation: rigFloat 5s ease-in-out infinite; }
.rig-lines { opacity: 0.6; }

.ring {
  position: absolute;
  border: 1px solid rgba(249,115,22,0.22);
  border-radius: 50%;
  animation: ringSpin 9s linear infinite;
}
.ring-a { width: 260px; height: 260px; }
.ring-b { width: 320px; height: 320px; border-style: dashed; animation-direction: reverse; animation-duration: 14s; }
.ring-c { width: 380px; height: 380px; border-color: rgba(249,115,22,0.10); animation-duration: 20s; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.rig-visual .readout { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); min-width: 170px; justify-content: center; z-index: 3; }

/* app cards */
.cards-apps { grid-template-columns: repeat(3, 1fr); }
.card-app { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.card-app .app-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 20px;
  color: var(--accent);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--accent-soft);
}

/* module preview */
.module-preview {
  margin-top: 26px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(249,115,22,0.06), transparent 45%),
    var(--panel);
}
.module-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.module-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  padding: 30px;
  align-items: center;
}
.module-body h3 { font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.module-body p { color: var(--muted); font-size: 15px; margin-bottom: 20px; max-width: 46ch; }
.module-hud {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(5,7,10,0.5);
}
.hud-inline { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.hud-inline span { color: var(--muted); letter-spacing: 0.08em; }
.hud-inline b { color: var(--text); font-weight: 700; }

/* program file */
.prog-spec h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 48px); font-weight: 800; text-transform: uppercase; line-height: 1.02; margin: 10px 0 18px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 26px 0; }
.specs > div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.specs > div:nth-child(2n) { border-right: 0; }
.specs > div:nth-last-child(-n+2) { border-bottom: 0; }
.specs dt { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.12em; margin-bottom: 6px; text-transform: uppercase; }
.specs dd { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); }

.prog-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: radial-gradient(420px 300px at 50% 45%, rgba(249,115,22,0.08), transparent 70%), var(--panel);
  padding: 20px;
  overflow: hidden;
}
.prog-visual svg { width: 100%; height: auto; display: block; }
.jackal { animation: rigFloat 5s ease-in-out infinite; transform-origin: 230px 170px; }
.trails { animation: trailPulse 1.6s ease-in-out infinite; }
@keyframes trailPulse { 0%,100% { opacity: 0.9; } 50% { opacity: 0.4; } }

/* r&d */
.cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* allies */
.allies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ally {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 26px 18px;
  text-align: center;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  opacity: 0.85;
  transition: 0.2s;
}
.ally:hover { color: var(--accent); border-color: var(--accent); opacity: 1; }

/* form */
.feed-form {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.16em; }
.field input, .field select, .field textarea {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.field input::placeholder, .field textarea::placeholder { color: #4a5560; }

/* footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.footer-grid .brand { margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 14px;
}
.footer-links a:hover { color: var(--accent); }
.footer-meta { text-align: right; font-size: 12px; line-height: 2; }
.footer-meta .warm { color: var(--warm); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .cards-6 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-apps { grid-template-columns: repeat(2, 1fr); }
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-rev .prog-visual { order: 0; }
  .module-body { grid-template-columns: 1fr; }
  .allies-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { text-align: left; }
  .hero-title { max-width: 14ch; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .cards-6, .cards-4, .cards-apps { grid-template-columns: 1fr; }
  .allies-grid { grid-template-columns: 1fr; }
  .feed-form { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding-top: 120px; }
  .hero-top { gap: 8px; }
  .sys-meta { margin-left: 0; }
  .module-body { padding: 22px; }
  .announce { gap: 10px; }
  .chev-right, .chev-left { display: none; }
  .readout-d, .readout-b { display: none; }
}