/* ═══════════════════════════════════════════════════════════
   recon · landing · v2 (typographic, parallax, two-phase)
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #07080a;
  --bg-2: #0c0d10;
  --surface: #0f1115;
  --surface-2: #14171c;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #ececee;
  --text-dim: #9a9ba0;
  --text-faint: #5e5f64;
  --text-ghost: rgba(255, 255, 255, 0.025);
  --accent: #cdfb53;
  --accent-soft: rgba(205, 251, 83, 0.12);
  --accent-glow: rgba(205, 251, 83, 0.35);
  --helm: #7ec5ff;
  --helm-soft: rgba(126, 197, 255, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1200px;
  --max-narrow: 880px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(205, 251, 83, 0.06), transparent 60%),
    radial-gradient(800px 500px at 95% 110%, rgba(126, 197, 255, 0.05), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
/* theme variants — applied via body[data-theme] */
body[data-theme="helm"] {
  --accent: #7ec5ff;
  --accent-soft: rgba(126, 197, 255, 0.12);
  --accent-glow: rgba(126, 197, 255, 0.35);
}
body[data-theme="agency"] {
  --accent: #7892bd;
  --accent-soft: rgba(120, 146, 189, 0.13);
  --accent-glow: rgba(120, 146, 189, 0.38);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em, .italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
code { font-family: var(--font-mono); font-size: 0.86em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section-narrow .container { max-width: var(--max-narrow); }

/* grain / film overlay */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; mix-blend-mode: overlay; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.spotlight {
  position: fixed; pointer-events: none; z-index: 1;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(205, 251, 83, 0.10) 0%, rgba(205, 251, 83, 0.04) 25%, transparent 60%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 600ms ease;
}
body.ready .spotlight { opacity: 1; }

/* ═══════════ NAVBAR ═══════════ */
.nav-wrap {
  position: fixed;
  top: 18px; left: 0; right: 0;
  display: flex; justify-content: center;
  z-index: 50;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 22px;
  padding: 8px 8px 8px 18px;
  border-radius: 100px;
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 40px -12px rgba(0,0,0,0.7);
  transition: transform 380ms var(--ease-out), background 220ms ease;
}
.nav-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.01em; font-size: 15px; }
.brand-mark {
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent) 0%, #9bd83a 100%);
  color: #0a0c08;
  box-shadow: 0 0 0 1px rgba(205, 251, 83, 0.25), 0 0 24px -2px var(--accent-glow);
}
/* Denim brand mark for 42nights — used on /, and as the parent-brand mark on pulse/helm navs */
.brand-mark.denim,
body[data-theme="agency"] .brand-mark {
  background: linear-gradient(135deg, #88a3cd 0%, #5a7bb0 100%);
  color: #f5f7fb;
  box-shadow: 0 0 0 1px rgba(120, 146, 189, 0.35), 0 0 24px -2px rgba(120, 146, 189, 0.45);
}
body[data-theme="helm"] .brand-mark:not(.denim) {
  background: linear-gradient(135deg, #b6dcff 0%, #5a9adc 100%);
  color: #07101c;
  box-shadow: 0 0 0 1px rgba(126, 197, 255, 0.32), 0 0 24px -2px rgba(126, 197, 255, 0.45);
}
.brand-name {
  background: linear-gradient(180deg, #fff, #b8b9be);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-links {
  position: relative;
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0 4px;
}
.nav-link {
  display: inline-block;
  position: relative;
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--text-dim);
  border-radius: 100px;
  transition: color 220ms var(--ease-out);
  z-index: 2;
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-indicator {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}
.nav-links:hover .nav-indicator { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  background: var(--accent); color: #0a0c08;
  box-shadow: 0 0 0 1px rgba(205, 251, 83, 0.5), 0 6px 24px -6px var(--accent-glow);
  transition: box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
  will-change: transform;
}
.nav-cta:hover { box-shadow: 0 0 0 1px rgba(205, 251, 83, 0.8), 0 10px 32px -6px var(--accent-glow); }
.nav-cta:active { transform: scale(0.97); }
.nav.compact { transform: translateY(-2px) scale(.96); background: rgba(10, 12, 14, 0.85); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 200px 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute; inset: -10% 0 -10% 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 35%, transparent 75%);
  will-change: transform;
}
.hero-orb {
  position: absolute;
  width: 700px; height: 700px;
  left: 50%; top: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  will-change: transform;
}
.hero-radar {
  position: absolute;
  width: 720px; height: 720px;
  right: -200px; bottom: -300px;
  z-index: -1;
  opacity: 0.55;
  will-change: transform;
}
.hero-radar .radar-ring { position: absolute; inset: 0; border: 1px dashed rgba(205, 251, 83, 0.15); border-radius: 50%; }
.hero-radar .r2 { inset: 80px; border-color: rgba(205, 251, 83, 0.10); }
.hero-radar .r3 { inset: 160px; border-color: rgba(205, 251, 83, 0.08); }
.hero-radar .radar-sweep {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(205, 251, 83, 0.18) 30deg, transparent 60deg);
  animation: sweep 6s linear infinite;
  mask-image: radial-gradient(circle, transparent 30%, #000 30.5%, #000 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 30%, #000 30.5%, #000 100%);
}
@keyframes sweep { to { transform: rotate(360deg); } }
.hero-bg-word {
  position: absolute;
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(180px, 26vw, 360px);
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--text-ghost);
  z-index: -1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.ping {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.ping::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%; background: var(--accent);
  animation: pingAnim 2s ease-out infinite;
}
@keyframes pingAnim { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

/* ─── phase toggle ─── */
.phase-toggle {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(15, 17, 21, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.pt-btn {
  position: relative;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  border: 0; background: transparent;
  font: inherit; font-size: 13.5px; font-weight: 500;
  color: var(--text-dim);
  border-radius: 100px;
  cursor: pointer;
  transition: color 220ms var(--ease-out);
}
.pt-glyph {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.6;
  transition: opacity 220ms var(--ease-out);
}
.pt-btn:hover { color: var(--text); }
.pt-btn.active { color: #0a0c08; }
.pt-btn.active .pt-glyph { opacity: 0.9; }
.pt-btn:active { transform: scale(0.97); }
.pt-indicator {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  background: var(--accent);
  border-radius: 100px;
  z-index: 1;
  box-shadow: 0 0 0 1px rgba(205, 251, 83, 0.5), 0 6px 20px -4px var(--accent-glow);
  transition: background 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
body[data-phase="pe"] .pt-indicator {
  background: var(--helm);
  box-shadow: 0 0 0 1px rgba(126, 197, 255, 0.5), 0 6px 20px -4px rgba(126, 197, 255, 0.35);
}

/* hero-stage holds both phases stacked */
.hero-stage {
  position: relative;
  width: 100%;
  display: grid;
}
.hero-phase {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 22px;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(6px);
  pointer-events: none;
  transition:
    opacity 360ms var(--ease-out),
    transform 360ms var(--ease-out),
    filter 360ms var(--ease-out);
}
.hero-phase.is-active {
  opacity: 1;
  transform: none;
  filter: blur(0);
  pointer-events: auto;
}

.hero-title {
  font-size: clamp(46px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0;
  max-width: 1100px;
}
.hero-title .line { display: block; overflow: hidden; padding: 0.04em 0; }
.hero-title .word { display: inline-block; will-change: transform; }
.hero-title .word.italic { color: #d6d7db; }
.hero-sub {
  max-width: 600px;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}
.hero-audience {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0;
}
.inline-link {
  color: var(--accent);
  border-bottom: 1px dashed rgba(205, 251, 83, 0.4);
  transition: color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.inline-link:hover { border-bottom-color: var(--accent); }
.inline-link.helm-link { color: var(--helm); border-bottom-color: rgba(126, 197, 255, 0.4); }
.inline-link.helm-link:hover { border-bottom-color: var(--helm); }

[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 700ms ease, transform 700ms var(--ease-out); }

.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: box-shadow 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 160ms var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--accent); color: #0a0c08;
  box-shadow: 0 0 0 1px rgba(205,251,83,0.5), 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(205,251,83,0.85), 0 12px 36px -6px var(--accent-glow); }
.btn-primary:active { transform: scale(0.97); }
.btn-ghost {
  background: rgba(255,255,255,0.03); color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--line-strong); }
.btn-ghost:active { transform: scale(0.97); }

.hero-stats {
  display: flex; align-items: center; gap: 28px;
  margin-top: 12px;
  padding: 16px 28px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(15,17,21,0.5);
  backdrop-filter: blur(10px);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 20px; font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 26px; background: var(--line); }

/* marquee */
.marquee {
  margin-top: 90px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 22px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  will-change: transform;
}

/* ═══════════ SECTION CHROME ═══════════ */
.section { padding: 140px 0; position: relative; z-index: 1; }
.section-head { margin-bottom: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid rgba(205, 251, 83, 0.18);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 880px;
}
.section-lede {
  font-size: 17px; color: var(--text-dim); max-width: 640px; line-height: 1.55;
  margin: 0;
}

/* ─── parallax background numerals ─── */
.bg-numeral {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(220px, 30vw, 460px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--text-ghost);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

/* ═══════════ SECTION HEAD VARIANT ═══════════ */
.section-head-narrow { max-width: var(--max-narrow); margin-left: auto; margin-right: auto; text-align: left; }

/* ═══════════ PERIMETER DIAGRAM (SVG lines + HTML liquid-glass boxes) ═══════════ */
.perimeter-stage {
  position: relative;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 280px at 36% 56%, rgba(205, 251, 83, 0.10), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  padding: 28px;
  overflow: hidden;
}
.perimeter-stage::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(900px 240px at 30% 30%, var(--accent-soft), transparent 60%);
  opacity: 0.5;
}
.perim-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 540;
}
.perimeter-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.perim-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.perim-overlay > * { pointer-events: auto; }

.perim-flows path {
  stroke: rgba(205, 251, 83, 0.55);
  animation: flowDash 1.6s linear infinite;
}
.perim-flows path:nth-child(2) { animation-duration: 2.0s; animation-delay: -0.3s; }
.perim-flows path:nth-child(3) { animation-duration: 1.8s; animation-delay: -0.6s; }
.perim-flows path:nth-child(4) { animation-duration: 2.2s; animation-delay: -0.9s; }
.perim-flows path:nth-child(5) { animation-duration: 2.4s; animation-delay: -1.2s; }
@keyframes flowDash { to { stroke-dashoffset: -20; } }
.perim-boundary { animation: boundaryPulse 4s ease-in-out infinite; }
@keyframes boundaryPulse { 50% { stroke-opacity: 0.8; } }

/* ─── perimeter labels ─── */
.perim-label-text {
  position: absolute;
  left: calc(var(--x, 0) / 1000 * 100%);
  top: calc(var(--y, 0) / 540 * 100%);
  transform: translateY(-55%);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.perim-title-text { color: var(--accent); font-size: clamp(10px, 1.2vw, 12px); letter-spacing: 0.16em; }
.perim-sub-text { color: var(--text-faint); font-size: clamp(9px, 1.1vw, 11px); letter-spacing: 0.06em; }

/* ─── glass primitive ─── */
.glass {
  position: absolute;
  left: calc(var(--x, 0) / 1000 * 100%);
  top: calc(var(--y, 0) / 540 * 100%);
  width: calc(var(--w, 0) / 1000 * 100%);
  height: calc(var(--h, 0) / 540 * 100%);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02),
    0 4px 14px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 320ms var(--ease-out), border-color 220ms var(--ease-out);
}
/* spec-highlight gradient — top-left light reflection */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 55%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .glass:hover { transform: translateY(-2px); }
}

/* ─── glass variants ─── */
.glass-pulse {
  background: rgba(205, 251, 83, 0.07);
  border-color: rgba(205, 251, 83, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(205, 251, 83, 0.20),
    inset 0 -1px 0 rgba(205, 251, 83, 0.06),
    0 0 32px -8px rgba(205, 251, 83, 0.30),
    0 4px 14px rgba(0, 0, 0, 0.28);
}
.glass-helm {
  background: rgba(126, 197, 255, 0.07);
  border-color: rgba(126, 197, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(126, 197, 255, 0.20),
    inset 0 -1px 0 rgba(126, 197, 255, 0.06),
    0 0 32px -8px rgba(126, 197, 255, 0.30),
    0 4px 14px rgba(0, 0, 0, 0.28);
}
.glass-gateway {
  background:
    linear-gradient(135deg, rgba(205, 251, 83, 0.20) 0%, rgba(205, 251, 83, 0.10) 100%);
  border-color: rgba(205, 251, 83, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(205, 251, 83, 0.32),
    inset 0 -1px 0 rgba(205, 251, 83, 0.10),
    0 0 60px -10px rgba(205, 251, 83, 0.55),
    0 6px 22px rgba(0, 0, 0, 0.35);
}
.glass-gateway::after {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 251, 83, 0.18), transparent 60%);
  z-index: -1;
  filter: blur(28px);
  pointer-events: none;
}
.glass-db {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.13);
  align-items: center;
  text-align: center;
}
.glass-ext {
  border-radius: 100px;
  align-items: flex-start;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.2vw, 12px);
  color: var(--text-dim);
  letter-spacing: -0.005em;
}
.glass-tag {
  border-radius: 100px;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: clamp(9px, 1.05vw, 11px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.glass-deny { border-color: rgba(255, 100, 100, 0.32); }
.glass-deny .x-mark { color: rgba(255, 130, 130, 0.75); font-size: clamp(11px, 1.3vw, 13px); }
.glass-allow {
  background: rgba(205, 251, 83, 0.08);
  border-color: rgba(205, 251, 83, 0.40);
  color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(205, 251, 83, 0.22),
    0 0 24px -8px rgba(205, 251, 83, 0.30);
}

/* ─── glass content typography ─── */
.glass .g-name {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.65vw, 18px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.1;
}
.glass-helm .g-name { color: var(--helm); }
.glass-gateway .g-name {
  font-size: clamp(15px, 2.0vw, 22px);
  font-weight: 600;
  color: #f7fff0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.glass-db .g-name { font-size: clamp(12px, 1.4vw, 15px); color: var(--text-dim); font-weight: 400; }
.glass .g-tag {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1.05vw, 11.5px);
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: 3px;
  line-height: 1.2;
}
.glass-gateway .g-tag {
  color: rgba(245, 255, 215, 0.80);
  letter-spacing: 0.06em;
}

/* ═══════════ ARCHITECTURE STACK DIAGRAM ═══════════ */
.arch-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}
.arch-layer {
  width: 100%;
  padding: 20px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex; align-items: center; gap: 22px;
  transition: border-color 220ms var(--ease-out);
}
.arch-layer:hover { border-color: var(--line-strong); }
.arch-gateway {
  background: linear-gradient(90deg, rgba(205,251,83,0.05), rgba(205,251,83,0.13), rgba(205,251,83,0.05));
  border-color: rgba(205,251,83,0.3);
  box-shadow: 0 0 30px -10px var(--accent-glow);
}
.al-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  min-width: 100px;
}
.al-cells {
  display: flex; gap: 8px; flex: 1; flex-wrap: wrap;
}
.al-cell {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.al-cell.pulse { background: var(--accent-soft); color: var(--accent); border-color: rgba(205,251,83,0.22); }
.al-cell.helm { background: var(--helm-soft); color: var(--helm); border-color: rgba(126,197,255,0.22); }
.al-cell.strong { background: var(--accent-soft); color: var(--accent); border-color: rgba(205,251,83,0.32); font-weight: 500; }

.arch-arrow {
  height: 26px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), var(--line));
  position: relative;
  margin: 0 auto;
}
.arch-arrow::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--line-strong);
}
.arch-arrow.down { margin-bottom: 6px; }

.arch-deploys {
  margin-top: 6px;
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
}

/* ═══════════ CAPABILITIES (cap-grid + mini SVGs) ═══════════ */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.cap-tile {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out);
}
.cap-tile::before {
  content: ""; position: absolute; top: 0; left: 28px; width: 24px; height: 1px;
  background: var(--accent);
  transition: width 280ms var(--ease-out);
}
.cap-tile:hover { border-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .cap-tile:hover::before { width: 60px; }
}
.cap-vis {
  width: 100%;
  height: 100px;
  margin-bottom: 14px;
  margin-top: 6px;
}
.cap-tile h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}
.cap-tile p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}
.cap-label { fill: var(--text-faint); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.02em; }
.cap-label-out { fill: var(--accent); font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.cap-label-out.muted { fill: var(--text-dim); }

/* ═══════════ ROADMAP TIMELINE ═══════════ */
.rm-timeline {
  margin-top: 36px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.rm-track {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  margin-bottom: 28px;
}
.rm-line {
  position: absolute; left: 16px; right: 16px; top: 50%;
  height: 1px;
  background: var(--line);
  transform: translateY(-50%);
}
.rm-progress {
  position: absolute; left: 16px; top: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(205,251,83,0.7));
  box-shadow: 0 0 10px var(--accent-glow);
  transform: translateY(-50%);
}
body[data-phase="pe"] .rm-progress {
  background: linear-gradient(90deg, var(--helm), rgba(126,197,255,0.7));
  box-shadow: 0 0 10px rgba(126,197,255,0.4);
}
.rm-dot {
  position: relative; z-index: 2;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  cursor: pointer;
  display: grid; place-items: center;
  font: inherit;
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.rm-dot span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  transition: color 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .rm-dot:hover { transform: scale(1.08); border-color: rgba(205,251,83,0.55); }
  .rm-dot:hover span { color: var(--text); }
}
.rm-dot:active { transform: scale(0.95); }
.rm-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(205,251,83,0.15), 0 0 24px var(--accent-glow);
}
.rm-dot.active span { color: #0a0c08; font-weight: 600; }

.rm-stage {
  position: relative;
  min-height: 180px;
}
.rm-panels { display: none; }
.rm-panels.active { display: block; position: relative; }
.rm-panel {
  display: none;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
}
.rm-panel.active { display: block; }
.rm-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid rgba(205, 251, 83, 0.2);
  margin-bottom: 14px;
}
.rm-panels[data-roadmap-panel="helm"] .rm-tag {
  color: var(--helm);
  background: var(--helm-soft);
  border-color: rgba(126, 197, 255, 0.2);
}
.rm-panel h4 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--text);
}
.rm-panel p {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  max-width: 680px;
}
.rm-panel code {
  background: rgba(255,255,255,0.05);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text);
}

/* ═══════════ PLATFORM REFERENCE (small linkback card on product pages) ═══════════ */
.platform-ref { padding-top: 80px; padding-bottom: 80px; }
.ref-card {
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  position: relative;
  overflow: hidden;
}
.ref-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 60px;
  background: var(--accent);
}
.ref-card h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500; letter-spacing: -0.025em;
  margin: 4px 0 0;
}
.ref-card p {
  font-size: 15.5px; color: var(--text-dim); line-height: 1.55; margin: 0; max-width: 720px;
}

/* ═══════════ STUDIO (42nights agency page) ═══════════ */
.studio-hero { padding-top: 180px; }
.studio-inner { max-width: 920px; }
.studio-title { font-size: clamp(40px, 6.4vw, 80px); }
.studio-sub { max-width: 700px; }
.studio-stats { gap: 24px; }

/* ─── process-list (4-week timeline) ─── */
.process-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.process-row {
  display: grid;
  grid-template-columns: 64px 1fr 140px;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.pr-week {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--accent);
  line-height: 1;
  padding-top: 4px;
}
.pr-body h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--text);
}
.pr-body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  max-width: 580px;
}
.pr-out {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: right;
}

/* ─── studio-products (3 cards) ─── */
.studio-products {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.sp-card {
  position: relative;
  display: flex; flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  overflow: hidden;
  transition: border-color 320ms var(--ease-out), transform 320ms var(--ease-out), background 320ms var(--ease-out);
  color: inherit;
}
.sp-card::before {
  content: ""; position: absolute; top: 0; left: 28px; width: 32px; height: 1px;
  background: var(--accent);
  transition: width 320ms var(--ease-out);
}
.sp-recon::before { background: var(--accent); }
.sp-pulse::before { background: #cdfb53; }
.sp-helm::before { background: #7ec5ff; }
.sp-card:hover { border-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .sp-card:hover::before { width: 80px; }
  .sp-card:hover .sp-arrow { transform: translateX(4px); }
}
.sp-head { display: flex; align-items: center; justify-content: space-between; }
.sp-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.sp-badge.accent { color: #cdfb53; border-color: rgba(205,251,83,0.3); background: rgba(205,251,83,0.08); }
.sp-badge.helm { color: #7ec5ff; border-color: rgba(126,197,255,0.3); background: rgba(126,197,255,0.08); }
.sp-arrow {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-dim);
  transition: transform 320ms var(--ease-out), color 220ms ease;
}
.sp-card:hover .sp-arrow { color: var(--text); }
.sp-name {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 8px 0 0;
  color: var(--text);
}
.sp-pulse .sp-name { color: #cdfb53; }
.sp-helm .sp-name { color: #7ec5ff; }
.sp-tag {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.sp-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.sp-meta li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: -0.005em;
}
.sp-meta li::before { content: "› "; color: var(--accent); }

/* ─── reason-list ─── */
.reason-list {
  list-style: none; padding: 0; margin: 0;
}
.reason-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.reason-row:first-child { border-top: 1px solid var(--line); }
.rr-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  padding-top: 4px;
}
.rr-body h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 8px;
}
.rr-body p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  max-width: 640px;
}

/* ─── terms-table (engagement) ─── */
.terms-table {
  margin: 0;
  border-top: 1px solid var(--line);
}
.tt-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.tt-row dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding-top: 3px;
}
.tt-row dd {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ─── contact-card (variant of cta-card with no terminal duplication) ─── */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  border-radius: 28px;
  background: radial-gradient(800px 300px at 50% 0%, var(--accent-soft), transparent 50%);
  opacity: 0.7;
}
.contact-detail {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: -0.005em;
}
.contact-detail span { display: inline; }

/* ═══════════ TYPOGRAPHIC LISTS (lede-list, phase-list) ═══════════ */
.lede-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.lede-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 220ms var(--ease-out);
}
.lede-row:hover { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.015) 50%, transparent); }
.lr-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 6px;
}
.lr-body h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--text);
}
.lr-body p {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
}
.lr-body code {
  background: rgba(255,255,255,0.05);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text);
}

/* ═══════════ PRODUCTS ═══════════ */
.product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.product-card {
  position: relative;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  overflow: hidden;
  transition: border-color 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.product-card .product-glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), var(--accent-soft), transparent 50%);
  opacity: 0; transition: opacity 320ms var(--ease-out);
}
.product-card:hover { border-color: var(--line-strong); }
.product-card:hover .product-glow { opacity: 1; }
.product-card.helm .product-glow { background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), var(--helm-soft), transparent 50%); }

.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.product-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(205,251,83,0.22);
}
.helm-mark { background: var(--helm-soft); color: var(--helm); border-color: rgba(126,197,255,0.22); }
.product-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.product-tag { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.product-headline {
  font-size: 24px; font-weight: 500; line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  max-width: 460px;
}
.product-copy {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 480px;
}
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.product-audience {
  font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent);
}
.product-card.helm .product-audience { color: var(--helm); }
.product-arrow {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  transition: transform 320ms var(--ease-out), background 220ms ease, color 220ms ease;
}
.product-card:hover .product-arrow { transform: translateX(4px); background: var(--accent); color: #0a0c08; }
.product-card.helm:hover .product-arrow { background: var(--helm); }

/* ═══════════ HOW (stack-table) ═══════════ */
.stack-table {
  margin: 0;
  border-top: 1px solid var(--line);
}
.st-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.st-row dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-top: 4px;
}
.st-row dd {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.55;
}
.kbd {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  margin: 0 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
  color: var(--text);
}

/* ═══════════ ROADMAP (vertical phase-list) ═══════════ */
.roadmap-tabs {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  margin-bottom: 36px;
}
.rt-btn {
  position: relative;
  padding: 9px 18px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font: inherit; font-size: 13.5px;
  border-radius: 100px;
  cursor: pointer;
  transition: color 220ms var(--ease-out);
  z-index: 2;
}
.rt-btn.active { color: var(--text); }
.rt-btn:active { transform: scale(0.97); }
.rt-indicator {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  z-index: 1;
}
.phase-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.phase-list.hidden { display: none; }
.phase-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: baseline;
  transition: background 220ms var(--ease-out);
}
.phase-row:hover { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.015) 50%, transparent); }
.ph-head { display: flex; align-items: baseline; gap: 14px; }
.ph-num {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.phase-row h4 {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 500; letter-spacing: -0.02em;
  margin: 0; color: var(--text);
}
.phase-row p {
  font-size: 14.5px; color: var(--text-dim); line-height: 1.55;
  margin: 0; max-width: 580px;
}
.phase-row code {
  background: rgba(255,255,255,0.05);
  padding: 1px 5px; border-radius: 4px;
  font-size: 12.5px; color: var(--text);
}

/* ═══════════ TRUST ═══════════ */
.trust-statement {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 40px;
  max-width: 780px;
}
.trust-tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.trust-tags li {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
  transition: border-color 220ms var(--ease-out), color 220ms var(--ease-out), background 220ms var(--ease-out);
}
.trust-tags li::before {
  content: "·"; color: var(--accent); margin-right: 8px; font-size: 14px;
}
.trust-tags li:hover {
  border-color: rgba(205, 251, 83, 0.3);
  color: var(--text);
  background: var(--accent-soft);
}

/* ═══════════ CTA + TERMINAL ═══════════ */
.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  border-radius: 28px;
  background: radial-gradient(800px 300px at 50% 0%, var(--accent-soft), transparent 50%);
  opacity: 0.7;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy .section-lede { margin-bottom: 30px; }

.terminal {
  position: relative; z-index: 1;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #07080a;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.terminal-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-bar .d-r { background: #ff5f57; }
.terminal-bar .d-y { background: #ffbd2e; }
.terminal-bar .d-g { background: #28ca42; }
.terminal-title { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); }
.terminal-body { padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; min-height: 240px; }
.t-line { color: var(--text); }
.t-line .prompt { color: var(--accent); margin-right: 8px; }
.t-line .cmd::after {
  content: ""; display: inline-block; width: 7px; height: 14px;
  background: var(--accent); margin-left: 2px; transform: translateY(2px);
  animation: blink 1s steps(2) infinite;
  opacity: 0;
}
.t-line.is-typing .cmd::after { opacity: 1; }
.t-line.out { color: var(--text-dim); }
.t-line.out.ok { color: var(--accent); }
.t-line.out.muted { color: var(--text-faint); }
@keyframes blink { 50% { opacity: 0; } }

/* ═══════════ FOOTER ═══════════ */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-faint); }
.footer-links { display: flex; gap: 22px; font-size: 13px; color: var(--text-dim); }
.footer-links a { transition: color 220ms var(--ease-out); }
.footer-links a:hover { color: var(--text); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { padding: 6px 6px 6px 14px; gap: 8px; }
  .hero { padding: 150px 0 50px; }
  .hero-stats { flex-wrap: wrap; gap: 16px 18px; padding: 14px 22px; border-radius: 22px; justify-content: center; }
  .stat-divider { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 28px; }
  .product-headline { font-size: 22px; }
  .cap-grid { grid-template-columns: 1fr; }
  .arch-layer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; }
  .al-tag { min-width: auto; }
  .perimeter-stage { padding: 14px; }
  .glass { padding: 0 10px; border-radius: 10px; }
  .glass-ext, .glass-tag { padding: 0 12px; }
  .rm-panel { padding: 22px 22px; }
  .cta-card, .contact-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .studio-products { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 48px 1fr; gap: 18px; }
  .pr-out { grid-column: 2; text-align: left; }
  .reason-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .tt-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 44px; }
  .terminal-body { font-size: 11.5px; }
  .phase-toggle { width: 100%; }
  .pt-btn { flex: 1; padding: 10px 12px; font-size: 12.5px; }
}

@media (hover: hover) and (pointer: fine) {
  .lede-row:hover { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02) 50%, transparent); }
}

/* ═══════════ MOTION RESPECT ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-title .word { opacity: 1 !important; transform: none !important; }
  .hero-phase { opacity: 1 !important; transform: none !important; filter: none !important; }
  .radar-sweep { animation: none !important; }
  .ping::before { animation: none !important; }
}
