@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --color-white:      #EEF2F9;
  --color-blue:       #3B82F6;
  --color-black:      #14181E;
  --color-dark-grey:  #373C45;
  --color-mid-grey:   #5E646D;
  --color-light-grey: #999EA6;
  --bg-dark:        #14181E;
  --bg-base:        #14181E;
  --bg-secondary:   #373C45;
  --bg-elevated:    #373C45;
  --bg-panel:       rgba(20, 24, 30, 0.82);
  --panel-border:        #373C45;
  --panel-border-bright: #5E646D;
  --semantic-critical:  #F90000;
  --semantic-clear:     #2A7A48;
  --semantic-pending:   #5E646D;
  --semantic-inactive:  #5E646D;
  --accent-blue:        #EEF2F9;
  --accent-blue-rgb:    238, 242, 249;
  --accent-blue-dim:    rgba(238, 242, 249, 0.06);
  --accent-teal:        #2A7A48;
  --accent-teal-rgb:    42, 122, 72;
  --accent-teal-dim:    rgba(42, 122, 72, 0.10);
  --accent-red:         #3B82F6;
  --accent-red-rgb:     59, 130, 246;
  --accent-orange:      #EEF2F9;
  --accent-orange-rgb:  238, 242, 249;
  --accent-orange-dim:  rgba(238, 242, 249, 0.06);
  --accent-yellow:      #999EA6;
  --accent-cyan:        #2A7A48;
  --accent-lime:        #2A7A48;
  --wd-orange:      #3B82F6;
  --wd-orange-glow: 0 0 16px rgba(59, 130, 246, 0.25);
  --wd-cyan:        #2A7A48;
  --wd-cyan-glow:   0 0 16px rgba(42, 122, 72, 0.15);
  --wd-hex-color:   rgba(238, 242, 249, 0.02);
  --signal-long:    #2A7A48;
  --signal-short:   #F90000;
  --signal-watch:   #5E646D;
  --signal-alert:   #F90000;
  --text-primary:   #EEF2F9;
  --text-secondary: #999EA6;
  --text-muted:     #5E646D;
  --text-bright:    #EEF2F9;
  --font-header: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-main:   "Geist Mono", "JetBrains Mono", monospace;
  --font-mono:   "Geist Mono", "JetBrains Mono", monospace;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --glow-blue: 0 0 16px rgba(238, 242, 249, 0.08);
  --glow-teal: 0 0 16px rgba(42, 122, 72, 0.15);
  --nav-height: 64px;
  --tier-limbo:         #5E646D;
  --tier-limbo-bg:      #373C45;
  --tier-purgatoria:    #999EA6;
  --tier-purgatoria-bg: #373C45;
  --tier-lumin:         #EEF2F9;
  --tier-lumin-bg:      #373C45;
}

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

html {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { background-color: transparent; min-height: 100vh; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #373C45; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #5E646D; }

.glass {
  background: var(--bg-panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-md);
}

.wd-panel {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-md);
}

.wd-panel::before, .wd-panel::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--panel-border-bright);
  border-style: solid;
  opacity: 0.5;
}
.wd-panel::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.wd-panel::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 500;
}

.tag {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid currentColor;
}

.wd-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.wd-label::before { content: '[ '; opacity: 0.4; }
.wd-label::after  { content: ' ]'; opacity: 0.4; }

.grid-bg {
  background-color: var(--bg-dark);
  background-image:
    linear-gradient(rgba(238, 242, 249, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 249, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.grid-bg-fine {
  background-image:
    linear-gradient(rgba(238, 242, 249, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 242, 249, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-main); }
img { max-width: 100%; display: block; }

/* ── Animations ── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--wd-orange-glow); }
  50%       { box-shadow: 0 0 24px rgba(59, 130, 246, 0.35); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(58, 184, 154, 0.3); }
  50%       { text-shadow: 0 0 40px rgba(58, 184, 154, 0.8); }
}
@keyframes hex-boot { from { opacity: 0; } to { opacity: 1; } }
@keyframes hex-glow-blue {
  0%,100% { fill: rgba(238,242,249,0.05); stroke: rgba(238,242,249,0.28); }
  50%     { fill: rgba(238,242,249,0.10); stroke: rgba(238,242,249,0.50); filter: drop-shadow(0 0 4px rgba(238,242,249,0.12)); }
}
@keyframes hex-glow-teal {
  0%,100% { fill: rgba(42,122,72,0.08); stroke: rgba(42,122,72,0.38); }
  50%     { fill: rgba(42,122,72,0.16); stroke: rgba(42,122,72,0.65); filter: drop-shadow(0 0 4px rgba(42,122,72,0.2)); }
}
@keyframes hex-glow-slate {
  0%,100% { fill: rgba(238,242,249,0.06); stroke: rgba(238,242,249,0.32); }
  50%     { fill: rgba(238,242,249,0.14); stroke: rgba(238,242,249,0.55); filter: drop-shadow(0 0 4px rgba(238,242,249,0.12)); }
}
@keyframes dot-blink {
  0%,85%,100% { opacity: 1; fill: rgba(238,242,249,0.40); }
  92%         { opacity: 0.2; fill: rgba(238,242,249,0.12); }
}
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── FOOTER ── */
.footer {
  position: relative; background: var(--bg-dark);
  border-top: 1px solid var(--panel-border); overflow: hidden;
}
.footer-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200, 132, 30, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 132, 30, 0.025) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.footer-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 64px 32px 32px; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 64px; margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-name {
  font-family: var(--font-mono); font-weight: 700; font-size: 16px;
  letter-spacing: 0.12em; color: var(--text-bright);
}
.footer-tagline { font-size: 13px; line-height: 1.7; color: var(--text-secondary); max-width: 300px; }
.footer-status { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--text-muted); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; }
.status-dot.live { background: var(--accent-lime); animation: pulse-dot 2s ease-in-out infinite; }
.sep { color: var(--panel-border-bright); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-section { display: flex; flex-direction: column; gap: 10px; }
.footer-section-title { color: var(--text-muted); margin-bottom: 4px; }
.footer-link { font-size: 13px; color: var(--text-secondary); text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--panel-border);
}
.text-muted { color: var(--text-muted); font-size: 10px; }
.footer-badges { display: flex; gap: 8px; }
.badge {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--text-muted); padding: 3px 7px;
  border: 1px solid var(--panel-border); border-radius: 2px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .footer-inner { padding: 40px 16px 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ── PAGE BACKGROUND ── */
.page-bg {
  position: fixed; inset: 0; background: #14181E;
  z-index: 0; overflow: hidden; pointer-events: none;
  perspective: 1200px;
}
.dither-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
}
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(238,242,249,0.09) 1.2px, transparent 1.2px);
  background-size: 38px 38px; opacity: 0.80;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 25%, black 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 25%, black 100%);
}
.hex-corner { position: absolute; }
.hex-tl { top: 0; left: 0; }
.hex-tr { top: 0; right: 0; transform: scaleX(-1); }
.hex-bl { bottom: 0; left: 0; transform: scaleY(-1); }
.hex-br { bottom: 0; right: 0; transform: scale(-1,-1); }
.hex-svg { display: block; overflow: visible; }
.hex-poly { opacity: 0; animation: hex-boot 0.5s ease forwards; }
.hex-pulse-blue {
  animation: hex-boot 0.5s ease forwards, hex-glow-blue 3.5s ease-in-out infinite;
  animation-delay: var(--d, 0ms), calc(var(--d, 0ms) + 0.5s);
}
.hex-pulse-teal {
  animation: hex-boot 0.5s ease forwards, hex-glow-teal 4s ease-in-out infinite;
  animation-delay: var(--d, 0ms), calc(var(--d, 0ms) + 0.5s);
}
.hex-pulse-slate {
  animation: hex-boot 0.5s ease forwards, hex-glow-slate 3s ease-in-out infinite;
  animation-delay: var(--d, 0ms), calc(var(--d, 0ms) + 0.5s);
}
.conn-line {
  stroke: rgba(238,242,249,0.16); stroke-width: 0.8;
  stroke-dasharray: 3 4; animation: hex-boot 0.6s ease forwards; opacity: 0;
}
.node-dot {
  fill: rgba(238,242,249,0.40);
  animation: hex-boot 0.5s ease 0.4s forwards, dot-blink 3s ease-in-out 1s infinite;
  opacity: 0;
}
.bracket { stroke: rgba(238,242,249,0.20); stroke-width: 1.2; fill: none; animation: hex-boot 0.4s ease 0.8s forwards; opacity: 0; }
.scatter-hex { position: absolute; pointer-events: none; opacity: 0.9; }
.scatter-hex svg { display: block; overflow: visible; }
.scatter-a { top: 32%; left: 22%; width: 90px; height: 90px; }
.scatter-b { top: 58%; left: 68%; width: 74px; height: 74px; }
.scatter-c { top: 44%; right: 28%; width: 110px; height: 110px; }
.scatter-d { top: 22%; left: 52%; width: 80px; height: 80px; }
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(20, 24, 30, 0.40) 100%);
}

/* ── SPLASH (earth hero) ── */
.splash {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.splash-earth-wrap { position: absolute; inset: 0; pointer-events: none; }
.splash-earth-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.splash-bottom-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 22%; background: linear-gradient(to bottom, transparent, #14181E); }
.splash-content {
  position: absolute; bottom: 67%; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.splash-content::before {
  content: ''; position: absolute; inset: -60px -80px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.52) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}
.splash-logo-row { display: flex; align-items: center; gap: 20px; }
.splash-mark {
  width: 54px; height: 66px; flex-shrink: 0;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.7)); opacity: 0.92;
}
.splash-wordmark {
  font-family: var(--font-mono); font-size: 48px; font-weight: 700;
  letter-spacing: 0.3em; color: #fff; line-height: 1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.85), 0 0 48px rgba(0,0,0,0.6);
}
.splash-tagline {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.24em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9); text-align: center;
}
.splash-status {
  position: absolute; bottom: 30%; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; z-index: 2;
}
.splash-status .statchip {
  background: rgba(20,24,30,0.55); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 9px; padding: 4px 10px;
}
.splash-scroll-hint {
  position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.ssh-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.22em; color: rgba(255,255,255,0.4); }
.ssh-line { width: 1px; height: 32px; background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent); }
@media (max-width: 600px) {
  .splash-status { display: none; }
  .splash-wordmark { font-size: 32px; letter-spacing: 0.24em; }
  .splash-mark { width: 38px; height: 46px; }
  .splash-scroll-hint { bottom: 4%; }
}

/* ── MAIN LAYOUT wrapper for pages with nav ── */
.page-wrap {
  position: relative; z-index: 1;
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex; flex-direction: column;
}

.hero {
  position: relative; padding: 64px 48px;
  max-width: 900px; margin: 64px auto; text-align: center;
  background: rgba(20, 24, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.center-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center top, rgba(238,242,249,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--text-muted); margin-bottom: 24px; text-transform: uppercase;
}
.eyebrow-bracket { color: var(--wd-orange); }
.hero-title {
  font-size: clamp(36px, 5vw, 56px); font-weight: 800;
  color: var(--text-bright); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 24px;
}
.hero-desc {
  font-size: 17px; line-height: 1.75; color: var(--text-secondary);
  max-width: 640px; margin: 0 auto 36px; text-align: center;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: #14181E; padding: 12px 28px; background: #EEF2F9;
  border: 1px solid #EEF2F9; border-radius: 2px; text-decoration: none;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { opacity: 0.88; box-shadow: 0 0 16px rgba(238,242,249,0.15); }
.btn-secondary {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-secondary); padding: 12px 28px;
  border: 1px solid var(--panel-border-bright); border-radius: 2px; text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.btn-secondary:hover { color: var(--text-primary); border-color: var(--text-primary); }
.audience-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.audience-chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--text-muted); padding: 4px 12px; border: 1px solid var(--panel-border);
  border-radius: 2px;
}

/* Stat section */
.stat-section { border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); background: var(--bg-secondary); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1280px; margin: 0 auto; }
.stat {
  padding: 32px 32px; border-right: 1px solid var(--panel-border);
  display: flex; flex-direction: column; gap: 8px;
}
.stat:last-child { border-right: none; }
.stat-top { display: flex; align-items: baseline; gap: 10px; }
.stat-val { font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--text-bright); letter-spacing: -0.02em; }
.stat-delta { font-family: var(--font-mono); font-size: 10px; font-weight: 700; }
.delta-up { color: var(--accent-lime); }
.delta-neutral { color: var(--text-muted); }
.stat-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; }
.stat-bar { height: 2px; background: var(--panel-border); margin-top: 4px; }
.stat-bar-fill { height: 100%; width: 70%; background: var(--text-muted); opacity: 0.4; }

/* Tiers section */
.tiers-section {
  padding: 64px 48px; max-width: 1280px; margin: 64px auto;
  background: rgba(20, 24, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--text-muted); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--text-bright);
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 560px; margin: 0 auto; }
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--panel-border); border: 1px solid var(--panel-border); margin-bottom: 32px; }
.tier-card {
  background: rgba(20, 24, 30, 0.80); padding: 36px 28px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.tier-card.tier-limbo     { border-left: 3px solid var(--tier-limbo); }
.tier-card.tier-purgatoria { border-left: 3px solid var(--tier-purgatoria); }
.tier-card.tier-lumin     { border-left: 3px solid var(--tier-lumin); }
.tier-card-top { display: flex; align-items: center; justify-content: space-between; }
.tier-badge {
  display: inline-block; font-family: var(--font-mono);
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  padding: 3px 8px; border-radius: 2px; border: 1px solid currentColor;
}
.tier-badge.tier-limbo     { color: var(--tier-limbo);     background: var(--tier-limbo-bg); }
.tier-badge.tier-purgatoria { color: var(--tier-purgatoria); background: var(--tier-purgatoria-bg); }
.tier-badge.tier-lumin     { color: var(--tier-lumin);     background: var(--tier-lumin-bg); }
.tier-step { font-size: 10px; color: var(--text-muted); }
.tier-tagline { font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.tier-desc { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tier-feature { display: flex; align-items: baseline; gap: 10px; font-size: 12px; color: var(--text-secondary); }
.feature-dot { color: var(--text-muted); flex-shrink: 0; }
.tier-card-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--panel-border); }
.tier-link { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-secondary); transition: color 0.15s; }
.tier-link:hover { color: var(--text-primary); }

.tier-progression {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 24px 0;
}
.tp-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-muted); }
.tp-line { flex: 1; max-width: 80px; height: 1px; background: var(--panel-border); }
.tp-arrow { color: var(--text-muted); font-size: 18px; }

/* Principle section */
.principle { padding: 80px 32px; background: var(--bg-secondary); }
.principle-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.principle-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; color: var(--text-bright); letter-spacing: -0.02em; margin: 16px 0 20px; line-height: 1.15; }
.principle-desc { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 16px; }
.pipeline { display: flex; flex-direction: column; gap: 0; }
.pipeline-step {
  display: grid; grid-template-columns: 40px 1fr 24px;
  gap: 16px; align-items: center; padding: 20px 0;
  border-bottom: 1px solid var(--panel-border);
}
.pipeline-step:last-child { border-bottom: none; }
.pipe-num { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); }
.pipe-body { display: flex; flex-direction: column; gap: 6px; }
.pipe-head { display: flex; align-items: center; gap: 10px; }
.pipe-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-primary); }
.pipe-tier-badge {
  font-size: 8px; font-weight: 700; letter-spacing: 0.1em;
  padding: 2px 6px; border: 1px solid var(--panel-border); color: var(--text-muted);
}
.pipe-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.pipe-arrow { color: var(--text-muted); font-size: 18px; }

/* Contrast section */
.contrast-section { padding: 80px 32px; }
.contrast-section .section-header { max-width: 1280px; margin: 0 auto 40px; }
.contrast-section .section-header.centered { text-align: center; }
.contrast-table { max-width: 1280px; margin: 0 auto; border: 1px solid var(--panel-border); }
.contrast-header {
  display: grid; grid-template-columns: 1fr 1.5fr 1.5fr;
  background: var(--bg-secondary); border-bottom: 1px solid var(--panel-border); padding: 12px 24px; gap: 16px;
}
.contrast-dim-col { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--text-muted); }
.contrast-col { display: flex; align-items: center; gap: 8px; justify-content: center; }
.contrast-col-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.contrast-icon { width: 16px; height: 16px; opacity: 0.6; }
.contrast-row {
  display: grid; grid-template-columns: 1fr 1.5fr 1.5fr;
  border-bottom: 1px solid var(--panel-border); align-items: center;
}
.contrast-row:last-child { border-bottom: none; }
.contrast-row:hover { background: rgba(238,242,249,0.02); }
.contrast-dim { padding: 14px 24px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.contrast-cell { padding: 14px 24px; font-size: 12px; line-height: 1.5; }
.contrast-cell.old { color: var(--text-muted); }
.contrast-cell.dante { color: var(--text-secondary); }

/* CTA Section */
.cta-section { padding: 96px 32px; background: var(--bg-secondary); }
.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 20px; }
.cta-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-sub { font-size: 16px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-lg { padding: 14px 32px !important; font-size: 12px !important; }
.cta-note { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--text-muted); }

/* Statusbar */
.statusbar {
  background: rgba(20,24,30,0.95); border-top: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 32px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em;
  color: var(--text-muted); flex-shrink: 0;
}
.sb-left { display: flex; align-items: center; gap: 8px; }
.sb-dot { color: var(--accent-lime); }
.sb-item { color: var(--text-muted); }
.sb-item.teal { color: var(--accent-lime); }
.sb-sep { color: var(--panel-border-bright); }
.sb-right { color: var(--text-muted); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding: 96px 0 80px; border-bottom: 1px solid var(--panel-border); }
.page-hero-inner {
  max-width: 800px; margin: 0 auto; padding: 0 32px; text-align: center;
  opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s;
}
.page-hero-inner.visible { opacity: 1; transform: translateY(0); }
.eyebrow { margin-bottom: 20px; display: flex; justify-content: center; }
.page-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 20px; line-height: 1.1; }
.page-desc { font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
.section { padding: 96px 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ── FEATURES PAGE ── */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.feat-row.reverse .feat-text { order: 2; }
.feat-row.reverse .feat-visual { order: 1; }
.feature-tag { font-size: 10px; letter-spacing: 0.15em; margin-bottom: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.feat-heading { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2; }
.feat-intro { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 28px; }
.feat-points { display: flex; flex-direction: column; gap: 0; }
.feat-point { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--panel-border); }
.feat-point:last-child { border-bottom: none; }
.fp-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.fp-dot.tier-limbo-dot     { background: var(--tier-limbo); }
.fp-dot.tier-purgatoria-dot { background: var(--tier-purgatoria); }
.fp-dot.tier-lumin-dot     { background: var(--tier-lumin); }
.fp-label { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.fp-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.feat-visual { border-radius: 4px; overflow: hidden; }
.vis-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--panel-border); background: var(--bg-secondary); }
.vis-title { font-size: 10px; color: var(--text-muted); }
.graph-vis-area { height: 220px; background: var(--bg-dark); background-image: linear-gradient(rgba(79,124,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(79,124,255,0.03) 1px, transparent 1px); background-size: 20px 20px; padding: 8px; }
.w-full { width: 100%; } .h-full { height: 100%; }
.vis-footer { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--panel-border); background: var(--bg-secondary); }
.vf-item { display: flex; gap: 12px; align-items: center; }
.agent-status-chips { display: flex; gap: 6px; }
.chip { font-size: 9px; padding: 2px 7px; border: 1px solid; border-radius: 2px; }
.agent-tasks { display: flex; flex-direction: column; background: var(--bg-dark); padding: 4px 0; }
.agent-task { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--panel-border); }
.agent-task:last-child { border-bottom: none; }
.task-info { flex-shrink: 0; min-width: 120px; }
.task-name { font-size: 9px; letter-spacing: 0.1em; margin-bottom: 4px; }
.task-target { font-size: 12px; color: var(--text-secondary); }
.task-progress-wrap { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.task-progress-bar { width: 100%; height: 2px; background: var(--bg-elevated); border-radius: 1px; overflow: hidden; }
.task-progress-fill { height: 100%; border-radius: 1px; opacity: 0.7; }
.task-status { font-size: 9px; letter-spacing: 0.08em; }
.agent-footer { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--panel-border); background: var(--bg-secondary); font-size: 10px; }
.live-feed { background: var(--bg-dark); padding: 4px 0; }
.feed-item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--panel-border); transition: background 0.15s; }
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: rgba(255,255,255,0.02); }
.feed-time { font-size: 9px; color: var(--text-muted); min-width: 24px; }
.feed-type { font-size: 9px; font-weight: 700; padding: 2px 6px; border: 1px solid; border-radius: 1px; flex-shrink: 0; min-width: 44px; text-align: center; }
.feed-cat { font-size: 9px; color: var(--text-muted); min-width: 80px; letter-spacing: 0.06em; }
.feed-title { font-size: 11px; color: var(--text-secondary); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── PRICING PAGE ── */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--panel-border); border: 1px solid var(--panel-border); }
.tier-card-p { background: #14181E; padding: 36px 28px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.tier-card-p:nth-child(1) { border-left: 3px solid var(--tier-limbo); }
.tier-card-p:nth-child(2) { border-left: 3px solid var(--tier-purgatoria); }
.tier-card-p:nth-child(3) { border-left: 3px solid var(--tier-lumin); }
.tier-top { display: flex; align-items: center; justify-content: space-between; }
.tier-tagline-p { font-size: 16px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.tier-desc-p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.tier-price { padding: 16px 0; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.price-val { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.04em; }
.tier-cta-link { display: inline-block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; padding: 10px 0; transition: color 0.15s; }
.tier-cta-limbo { color: var(--tier-limbo); }
.tier-cta-purgatoria { color: var(--tier-purgatoria); }
.tier-cta-lumin { color: var(--tier-lumin); }
.tier-features-list { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier-feat { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.4; }
.tier-feat.included { color: var(--text-secondary); }
.tier-feat.excluded { color: var(--text-muted); opacity: 0.5; }
.feat-check { font-family: var(--font-mono); font-size: 10px; flex-shrink: 0; width: 12px; text-align: center; }
.tier-feat.included .feat-check { color: var(--accent-teal); }
.tier-feat.excluded .feat-check { color: var(--text-muted); }
.comparison-table { border: 1px solid var(--panel-border); overflow: hidden; }
.comparison-header { display: grid; grid-template-columns: 1fr 120px 120px 120px; background: var(--bg-secondary); border-bottom: 1px solid var(--panel-border); padding: 12px 20px; align-items: center; gap: 8px; }
.comp-feat-col { font-size: 9px; letter-spacing: 0.14em; color: var(--text-muted); }
.comp-tier-col { display: flex; justify-content: center; }
.comp-category-row { display: grid; grid-template-columns: 1fr 120px 120px 120px; background: var(--tier-lumin-bg); border-bottom: 1px solid var(--panel-border); padding: 8px 20px; }
.comp-category-label { font-size: 9px; letter-spacing: 0.14em; color: var(--text-muted); }
.comp-row { display: grid; grid-template-columns: 1fr 120px 120px 120px; border-bottom: 1px solid var(--panel-border); align-items: center; }
.comp-row:last-child { border-bottom: none; }
.comp-row:hover { background: rgba(238,242,249,0.04); }
.comp-feat { padding: 12px 20px; font-size: 12px; color: var(--text-secondary); }
.comp-val { padding: 12px 0; text-align: center; font-family: var(--font-mono); font-size: 12px; }
.comp-val.comp-yes { color: var(--accent-teal); }
.comp-val.comp-no  { color: var(--text-muted); opacity: 0.4; }
.section-header-p { text-align: center; margin-bottom: 48px; }
.section-eyebrow-p { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.section-eyebrow-p::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--text-muted); opacity: 0.4; }
.section-title-p { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-center { max-width: 640px; margin: 0 auto; padding: 0 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-row { display: flex; gap: 16px; align-items: center; }
.cta-note-small { font-size: 9px; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 8px; }
.cta-primary { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #14181E; padding: 12px 24px; background: #EEF2F9; border: 1px solid #EEF2F9; border-radius: 2px; text-decoration: none; transition: opacity 0.15s; }
.cta-primary:hover { opacity: 0.85; }
.cta-secondary { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-secondary); padding: 12px 24px; border: 1px solid var(--panel-border); border-radius: 2px; text-decoration: none; transition: color 0.15s, border-color 0.15s; }
.cta-secondary:hover { color: var(--text-primary); border-color: var(--text-muted); }

/* ── SOLUTIONS PAGE ── */
.industry-nav { display: flex; gap: 4px; margin-bottom: 32px; flex-wrap: wrap; border-bottom: 1px solid var(--panel-border); padding-bottom: 0; }
.ind-tab { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; color: var(--text-muted); padding: 10px 16px; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; transition: color 0.15s, border-color 0.15s; position: relative; bottom: -1px; }
.ind-tab:hover { color: var(--text-secondary); }
.ind-tab.active { border-bottom-color: currentColor; }
.ind-tab-icon { flex-shrink: 0; }
.soon-pill { font-size: 8px; padding: 2px 5px; border: 1px solid rgba(0,200,255,0.3); border-radius: 2px; color: var(--accent-cyan); letter-spacing: 0.1em; }
.industry-panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; padding-top: 32px; }
.industry-panel.active { display: grid; }
.coming-banner { display: inline-block; font-size: 10px; color: var(--accent-cyan); border: 1px solid rgba(0,200,255,0.3); padding: 4px 12px; border-radius: 2px; margin-bottom: 20px; letter-spacing: 0.12em; }
.ind-headline-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.ind-color-bar { width: 3px; height: 36px; border-radius: 2px; flex-shrink: 0; margin-top: 4px; opacity: 0.7; }
.ind-headline { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ind-tier-rec { display: flex; align-items: center; gap: 10px; padding: 10px 0 16px; }
.tier-compare-link { font-size: 9px; letter-spacing: 0.08em; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.tier-compare-link:hover { color: var(--text-secondary); }
.ind-desc { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 32px; }
.use-cases { margin-bottom: 32px; }
.use-cases-title { font-size: 10px; color: var(--text-muted); letter-spacing: 0.15em; margin-bottom: 12px; }
.use-case-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--panel-border); font-size: 13px; color: var(--text-secondary); }
.use-case-item:last-child { border-bottom: none; }
.uc-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.ind-ctas { display: flex; gap: 12px; }
.btn-sol-primary { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: #fff; padding: 10px 20px; border: 1px solid; border-radius: 2px; text-decoration: none; transition: opacity 0.15s; }
.btn-sol-primary:hover { opacity: 0.85; }
.btn-sol-outline { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-secondary); padding: 10px 20px; border: 1px solid var(--panel-border-bright); border-radius: 2px; text-decoration: none; transition: color 0.15s, border-color 0.15s; }
.btn-sol-outline:hover { color: var(--text-primary); border-color: var(--accent-blue); }
.ind-detail-right { display: flex; flex-direction: column; gap: 16px; }
.metrics-panel, .signal-demo { border-radius: 4px; overflow: hidden; }
.metrics-header, .sig-demo-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--panel-border); background: var(--bg-secondary); }
.live-indicator { display: flex; align-items: center; gap: 5px; }
.live-dot-sm { width: 5px; height: 5px; border-radius: 50%; animation: pulse-dot 1.8s ease-in-out infinite; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 20px 16px; gap: 16px; }
.metric-item { display: flex; flex-direction: column; gap: 4px; }
.metric-val { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.metric-label { font-size: 9px; color: var(--text-muted); letter-spacing: 0.1em; }
.sig-demo-body { padding: 8px 0; }
.sig-demo-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; transition: background 0.15s; }
.sig-demo-item:hover { background: rgba(255,255,255,0.02); }
.sig-chip { font-size: 9px; font-weight: 700; padding: 2px 7px; border: 1px solid; border-radius: 1px; flex-shrink: 0; width: 46px; text-align: center; }
.sig-chip.long  { color: var(--signal-long);  border-color: rgba(42,122,72,0.3);  background: rgba(42,122,72,0.06); }
.sig-chip.short { color: var(--signal-short); border-color: rgba(249,0,0,0.3);    background: rgba(249,0,0,0.06); }
.sig-chip.watch { color: var(--signal-watch); border-color: rgba(94,100,109,0.3); background: rgba(94,100,109,0.06); }
.sig-demo-text { flex: 1; }
.sig-demo-title { font-size: 12px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.sig-demo-sub { font-size: 11px; color: var(--text-muted); }
.sig-demo-conf { font-size: 12px; font-weight: 700; }
.tier-rec-banner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 48px; border: 1px solid var(--panel-border); background: var(--bg-dark); }
.tier-rec-text { flex: 1; }
.tier-rec-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ── PLATFORM PAGE ── */
.arch-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.arch-text { display: flex; flex-direction: column; gap: 0; }
.arch-layers { display: flex; flex-direction: column; margin-top: 24px; }
.arch-layer { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--panel-border); align-items: start; }
.arch-layer:last-child { border-bottom: none; }
.layer-num { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); padding-top: 2px; }
.layer-content { display: flex; flex-direction: column; gap: 4px; }
.layer-head { display: flex; align-items: center; gap: 10px; }
.layer-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-primary); }
.layer-tier-badge { font-size: 8px; font-weight: 700; letter-spacing: 0.1em; padding: 2px 6px; border: 1px solid currentColor; border-radius: 2px; }
.layer-tier-badge.tier-limbo { color: var(--tier-limbo); }
.layer-tier-badge.tier-purgatoria { color: var(--tier-purgatoria); }
.layer-tier-badge.tier-lumin { color: var(--tier-lumin); }
.layer-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.arch-visual { border-radius: 4px; overflow: hidden; }
.arch-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--panel-border); background: var(--bg-secondary); }
.header-dots { display: flex; gap: 5px; }
.hdot { width: 8px; height: 8px; border-radius: 50%; }
.hdot.red    { background: #ff5f57; }
.hdot.yellow { background: #febc2e; }
.hdot.green  { background: #28c840; }
.arch-diagram { display: flex; align-items: stretch; background: var(--bg-dark); padding: 16px; gap: 0; overflow-x: auto; }
.diag-col { display: flex; flex-direction: column; gap: 6px; min-width: 90px; }
.diag-header { font-size: 8px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 8px; border-radius: 2px; margin-bottom: 4px; text-align: center; }
.diag-header.diag-tier-limbo     { color: var(--tier-limbo);     background: rgba(94,100,109,0.15); }
.diag-header.diag-tier-purgatoria { color: var(--tier-purgatoria); background: rgba(153,158,166,0.10); }
.diag-header.diag-tier-lumin     { color: var(--tier-lumin);     background: rgba(238,242,249,0.08); }
.diag-node { padding: 6px 8px; border: 1px solid var(--panel-border); border-radius: 2px; text-align: center; animation: hex-boot 0.4s ease forwards; opacity: 0; }
.diag-node-limbo     { border-color: rgba(94,100,109,0.4); }
.diag-node-purgatoria { border-color: rgba(153,158,166,0.3); }
.diag-node-lumin     { border-color: rgba(238,242,249,0.15); }
.diag-arrow { display: flex; align-items: center; padding: 0 8px; padding-top: 28px; }
.arch-footer { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--panel-border); background: var(--bg-secondary); font-size: 10px; }
.tier-section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.tier-header-badge { display: inline-block; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; padding: 3px 10px; border-radius: 2px; margin-bottom: 16px; }
.tier-header-badge.tier-limbo     { color: var(--tier-limbo);     border: 1px solid var(--tier-limbo);     background: rgba(94,100,109,0.1); }
.tier-header-badge.tier-purgatoria { color: var(--tier-purgatoria); border: 1px solid var(--tier-purgatoria); background: rgba(153,158,166,0.08); }
.tier-header-badge.tier-lumin     { color: var(--tier-lumin);     border: 1px solid rgba(238,242,249,0.3); background: rgba(238,242,249,0.04); }
.tier-section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 16px; }
.tier-section-desc { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--panel-border); border: 1px solid var(--panel-border); }
.feat-card { background: var(--bg-dark); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.feat-dot { width: 6px; height: 6px; border-radius: 50%; }
.feat-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.feat-desc { font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.tier-nav-bar { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.tier-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; padding: 12px 20px; border: 1px solid var(--panel-border); border-radius: 3px; transition: border-color 0.15s, background 0.15s; background: rgba(255,255,255,0.03); }
.tier-nav-item:hover { background: var(--bg-secondary); }
.tier-nav-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; }
.tier-nav-sub { font-size: 11px; color: var(--text-muted); }
.tier-nav-arrow { color: var(--text-muted); font-size: 20px; }
.raven-section { background: var(--bg-dark); border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.raven-header-block { margin-bottom: 32px; }
.raven-badge-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.raven-badge { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; padding: 3px 8px; border-radius: 2px; background: rgba(153,158,166,0.10); border: 1px solid var(--panel-border); color: var(--text-muted); }
.raven-badge-name { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; padding: 3px 8px; border-radius: 2px; background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.25); color: #3B82F6; }
.raven-title { font-family: var(--font-header); font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text-primary); margin-bottom: 12px; line-height: 1.2; }
.raven-desc { font-size: 15px; color: var(--text-secondary); max-width: 640px; line-height: 1.7; }
.raven-domains { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 28px; }
.raven-domain-card { display: flex; border-radius: 6px; overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--panel-border); }
.raven-domain-strip { width: 3px; flex-shrink: 0; }
.raven-domain-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.raven-domain-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.raven-domain-name { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-primary); }
.raven-domain-count { font-size: 8px; font-weight: 700; letter-spacing: 0.10em; padding: 1px 6px; border-radius: 8px; background: var(--bg-dark); color: var(--text-muted); }
.raven-domain-tag { font-size: 10px; color: var(--text-muted); line-height: 1.5; }
.raven-apps-row { display: flex; flex-direction: column; gap: 10px; }
.raven-apps-label { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; color: var(--text-muted); }
.raven-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.raven-app-chip { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 4px; background: var(--bg-secondary); border: 1px solid var(--panel-border); }
.raven-app-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.raven-app-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.raven-app-domain { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; }
.agent-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.agent-capabilities { display: flex; flex-direction: column; gap: 0; }
.agent-cap { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--panel-border); }
.agent-cap:last-child { border-bottom: none; }
.agent-cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tier-lumin); flex-shrink: 0; margin-top: 5px; }
.agent-cap-label { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.agent-cap-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.agent-terminal { border-radius: 4px; overflow: hidden; }
.term-header { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--panel-border); background: var(--bg-secondary); }
.term-dots { display: flex; gap: 5px; }
.term-body { padding: 16px; background: var(--bg-dark); display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); }
.term-line { display: flex; gap: 10px; align-items: baseline; }
.term-cmd { font-size: 12px; color: var(--text-primary); }
.response-label { font-size: 10px; font-weight: 700; min-width: 80px; color: var(--accent-teal); }
.term-text { font-size: 11px; color: var(--text-secondary); }
.term-cursor { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.cursor-blink { animation: cursor-blink 1s step-end infinite; color: var(--accent-teal); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--panel-border); border: 1px solid var(--panel-border); }
.security-item { background: var(--bg-dark); padding: 24px; display: flex; gap: 14px; align-items: flex-start; }
.sec-icon { font-size: 16px; color: var(--text-muted); flex-shrink: 0; }
.sec-label { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.sec-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── CONTACT PAGE ── */
.contact-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.access-form { border-radius: 4px; overflow: hidden; }
.form-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: var(--bg-secondary); border-bottom: 1px solid var(--panel-border); }
.form-title-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.12em; }
.form-tag { font-size: 9px; letter-spacing: 0.1em; }
.form-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.12em; }
.form-input { background: var(--bg-dark); border: 1px solid var(--panel-border); border-radius: 2px; padding: 10px 12px; font-family: var(--font-main); font-size: 13px; color: var(--text-primary); outline: none; transition: border-color 0.15s; width: 100%; }
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--accent-blue); }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237f8fa6' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-select option { background: var(--bg-secondary); }
.form-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.submit-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; background: var(--accent-blue); border: 1px solid var(--accent-blue); border-radius: 2px; color: #14181E; font-family: var(--font-main); font-size: 12px; letter-spacing: 0.1em; cursor: pointer; transition: opacity 0.15s; margin-top: 4px; font-weight: 700; }
.submit-btn:hover { opacity: 0.9; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.success-panel { border-radius: 4px; padding: 48px 32px; text-align: center; display: none; flex-direction: column; align-items: center; gap: 16px; }
.success-panel.visible { display: flex; }
.success-title { font-size: 24px; font-weight: 700; color: var(--text-bright); }
.success-desc { font-size: 14px; line-height: 1.7; color: var(--text-secondary); max-width: 360px; }
.success-ref { font-size: 11px; color: var(--text-muted); letter-spacing: 0.12em; border: 1px solid var(--panel-border); padding: 6px 16px; border-radius: 2px; }
.info-panel { border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.info-section { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.info-label { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.15em; margin-bottom: 4px; }
.next-step { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.step-num { font-family: var(--font-mono); font-size: 10px; color: var(--accent-blue); flex-shrink: 0; padding-top: 1px; letter-spacing: 0.06em; }
.step-text { flex: 1; }
.info-divider { height: 1px; background: var(--panel-border); }
.cohort-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cstat-val { font-family: var(--font-mono); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.cstat-label { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); letter-spacing: 0.1em; }
.security-contact-item { display: flex; gap: 10px; font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* ── LOGIN / SIGNUP PAGES ── */
.auth-page { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; background: #14181E; }
.shell {
  position: relative; z-index: 2; width: 420px;
  background: rgba(14, 17, 24, 0.92); backdrop-filter: blur(20px);
  border: 1px solid var(--panel-border);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 28px;
}
.bracket-corner { position: absolute; width: 16px; height: 16px; z-index: 3; }
.bracket-corner.tl { top: -1px; left: -1px; border-top: 2px solid var(--accent-blue); border-left: 2px solid var(--accent-blue); }
.bracket-corner.tr { top: -1px; right: -1px; border-top: 2px solid var(--accent-blue); border-right: 2px solid var(--accent-blue); }
.bracket-corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--accent-blue); border-left: 2px solid var(--accent-blue); }
.bracket-corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent-blue); border-right: 2px solid var(--accent-blue); }
.back-link { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.18em; color: var(--text-muted); text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.back-link:hover { color: var(--accent-blue); }
.card-head { display: flex; flex-direction: column; gap: 12px; }
.logo-row { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-mono); }
.diamond { color: var(--accent-blue); font-size: 20px; }
.brand { font-size: 17px; font-weight: 700; letter-spacing: 0.16em; color: var(--text-primary); }
.head-divider { height: 1px; background: linear-gradient(to right, var(--accent-blue), transparent); opacity: 0.4; }
.auth-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--accent-orange); text-transform: uppercase; }
.auth-sub { font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--text-secondary); text-transform: uppercase; }
.toggle-pass { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; color: var(--accent-blue); background: none; border: none; cursor: pointer; padding: 0; text-transform: uppercase; transition: color 0.2s; }
.toggle-pass:hover { color: #6b93ff; }
.field-input { background: rgba(0,0,0,0.35); border: 1px solid var(--panel-border); border-bottom-color: rgba(79,124,255,0.25); color: var(--text-primary); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; padding: 11px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; width: 100%; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.field-input::placeholder { color: var(--text-muted); }
.field-input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 1px rgba(79,124,255,0.25), inset 0 0 12px rgba(79,124,255,0.04); background: rgba(79,124,255,0.04); }
.error-msg { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--semantic-critical); padding: 8px 12px; border: 1px solid rgba(201,96,96,0.35); background: rgba(201,96,96,0.06); text-transform: uppercase; display: none; }
.error-msg.visible { display: block; }
.btn-auth { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; background: var(--accent-blue); color: #14181E; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; border: none; cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); transition: background 0.2s, box-shadow 0.2s; margin-top: 4px; }
.btn-auth:hover { background: #c8cdd4; box-shadow: 0 0 28px rgba(238,242,249,0.2); }
.btn-auth.loading { opacity: 0.7; cursor: not-allowed; }
.btn-icon { font-size: 13px; }
.loader { display: inline-block; width: 12px; height: 12px; border: 2px solid rgba(20,24,30,0.3); border-top-color: #14181E; border-radius: 50%; animation: spin 0.7s linear infinite; }
.card-footer { display: flex; align-items: center; justify-content: center; gap: 12px; }
.foot-link { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; color: var(--text-secondary); text-decoration: none; text-transform: uppercase; transition: color 0.2s; background: none; border: none; cursor: pointer; }
.foot-link:hover { color: var(--accent-blue); }
.foot-sep { font-family: var(--font-mono); font-size: 8px; color: var(--text-muted); }
.security-bar { display: flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase; border-top: 1px solid var(--panel-border); padding-top: 16px; }
.sec-dot { color: var(--accent-teal); animation: blink 2.5s step-end infinite; }
.classification { position: fixed; bottom: 0; left: 0; right: 0; z-index: 2; text-align: center; padding: 7px; font-family: var(--font-mono); font-size: 7.5px; letter-spacing: 0.16em; color: var(--text-muted); text-transform: uppercase; border-top: 1px solid var(--panel-border); background: rgba(14,16,22,0.8); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .feat-row { grid-template-columns: 1fr; gap: 40px; }
  .feat-row.reverse .feat-text { order: 1; }
  .feat-row.reverse .feat-visual { order: 2; }
  .arch-row { grid-template-columns: 1fr; gap: 40px; }
  .agent-showcase { grid-template-columns: 1fr; gap: 40px; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; }
  .comparison-header, .comp-category-row, .comp-row { grid-template-columns: 1fr 90px 90px 90px; }
  .industry-panel { grid-template-columns: 1fr; gap: 32px; }
  .ind-detail-right { display: none; }
  .principle-inner { grid-template-columns: 1fr; gap: 40px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tier-rec-banner { flex-direction: column; align-items: flex-start; padding: 24px; }
  .shell { width: 95%; max-width: 420px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 60px 0; }
  .page-hero-inner, .section-inner, .cta-center, .contact-inner { padding: 0 16px; }
  .section { padding: 64px 0; }
  .tiers-section { padding: 64px 16px; }
  .cta-row { flex-direction: column; }
  .feature-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .comparison-header, .comp-category-row, .comp-row { grid-template-columns: 1fr 70px 70px 70px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px; }
  .feed-cat { display: none; }
  .tier-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ── PLATFORM PAGE ──────────────────────────────────────────────────────── */
.tier-nav {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.tier-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; padding: 12px 20px;
  border: 1px solid var(--panel-border); border-radius: 3px;
  transition: border-color 0.15s, background 0.15s;
  background: rgba(55,60,69,0.5);
}
.tier-nav-item:hover { background: var(--bg-secondary); }
.tier-nav-item.tier-limbo:hover      { border-color: var(--tier-limbo); }
.tier-nav-item.tier-purgatoria:hover { border-color: var(--tier-purgatoria); }
.tier-nav-item.tier-raven:hover      { border-color: #3B82F6; }
.tier-nav-item.tier-lumin:hover      { border-color: var(--tier-lumin); }
.tier-nav-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-primary); }
.tier-nav-sub { font-size: 11px; color: var(--text-muted); }
.tier-nav-arrow { font-size: 20px; color: var(--text-muted); font-weight: 300; opacity: 0.4; }

.arch-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.arch-text { display: flex; flex-direction: column; gap: 0; }
.arch-layers { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.arch-layer { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--panel-border); }
.arch-layer:last-child { border-bottom: none; }
.layer-num { font-size: 10px; letter-spacing: 0.1em; flex-shrink: 0; padding-top: 2px; color: var(--text-muted); }
.layer-content { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.layer-head { display: flex; align-items: center; gap: 10px; }
.layer-label { font-size: 10px; letter-spacing: 0.1em; color: var(--text-secondary); font-family: var(--font-mono); }
.layer-tier-badge {
  font-size: 8px; font-weight: 700; letter-spacing: 0.1em;
  padding: 1px 5px; border-radius: 1px; border: 1px solid currentColor;
  font-family: var(--font-mono);
}
.layer-tier-badge.tier-limbo     { color: var(--tier-limbo);     background: var(--tier-limbo-bg); }
.layer-tier-badge.tier-purgatoria { color: var(--tier-purgatoria); background: var(--tier-purgatoria-bg); }
.layer-tier-badge.tier-lumin     { color: var(--tier-lumin);     background: var(--tier-lumin-bg); }
.layer-desc { font-size: 12px; color: var(--text-muted); }

.arch-visual { border-radius: 4px; overflow: hidden; }
.arch-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--panel-border); background: var(--bg-secondary); }
.arch-diagram { display: flex; align-items: flex-start; padding: 20px 16px; gap: 4px; background: var(--bg-dark); overflow-x: auto; }
.diag-col { flex: 1; min-width: 90px; display: flex; flex-direction: column; gap: 6px; }
.diag-header { font-size: 8px; letter-spacing: 0.1em; text-align: center; margin-bottom: 4px; min-height: 20px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); }
.diag-header.diag-tier-limbo     { color: var(--tier-limbo); }
.diag-header.diag-tier-purgatoria { color: var(--tier-purgatoria); }
.diag-header.diag-tier-lumin     { color: var(--tier-lumin); }
.diag-node { border: 1px solid; padding: 6px 8px; border-radius: 2px; text-align: center; }
.diag-node.diag-node-limbo     { border-color: rgba(120,120,120,0.3); color: var(--tier-limbo); }
.diag-node.diag-node-purgatoria { border-color: rgba(58,58,58,0.3); color: var(--tier-purgatoria); }
.diag-node.diag-node-lumin     { border-color: rgba(238,242,249,0.15); color: var(--tier-lumin); }
.diag-arrow { display: flex; align-items: center; justify-content: center; padding: 32px 2px 0; flex-shrink: 0; }
.arch-footer { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--panel-border); font-size: 10px; background: var(--bg-secondary); font-family: var(--font-mono); }

.tier-section { scroll-margin-top: 80px; }
.tier-section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.tier-header-badge {
  display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
  padding: 4px 12px; border-radius: 2px; border: 1px solid currentColor;
  margin-bottom: 20px; font-family: var(--font-mono);
}
.tier-header-badge.tier-limbo     { color: var(--tier-limbo);     background: var(--tier-limbo-bg); }
.tier-header-badge.tier-purgatoria { color: var(--tier-purgatoria); background: var(--tier-purgatoria-bg); }
.tier-header-badge.tier-lumin     { color: var(--tier-lumin);     background: var(--tier-lumin-bg); }
.tier-section-title { font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 16px; }
.tier-section-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { padding: 24px; border-radius: 4px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.2s; }
.feat-card:hover { border-color: var(--panel-border-bright); }
.feat-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.feat-dot.tier-limbo-dot     { background: var(--tier-limbo); }
.feat-dot.tier-purgatoria-dot { background: var(--tier-purgatoria); }
.feat-dot.tier-lumin-dot     { background: var(--tier-lumin); }
.feat-title { font-size: 15px; font-weight: 600; color: var(--text-bright); }
.feat-desc { font-size: 13px; line-height: 1.6; color: var(--text-secondary); }

/* Raven section */
.raven-section { background: var(--bg-dark); border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.raven-header-block { margin-bottom: 32px; }
.raven-badge-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.raven-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
  padding: 3px 8px; border-radius: 2px;
  background: rgba(153,158,166,0.10); border: 1px solid var(--panel-border);
  color: var(--text-muted); font-family: var(--font-mono);
}
.raven-badge-name {
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
  padding: 3px 8px; border-radius: 2px;
  background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.25);
  color: #3B82F6; font-family: var(--font-mono);
}
.raven-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text-primary); margin-bottom: 12px; line-height: 1.2; }
.raven-desc { font-size: 15px; color: var(--text-secondary); max-width: 640px; line-height: 1.7; }
.raven-domains { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 28px; }
.raven-domain-card { display: flex; border-radius: 6px; overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--panel-border); transition: border-color 0.12s; }
.raven-domain-card:hover { border-color: var(--text-muted); }
.raven-domain-strip { width: 3px; flex-shrink: 0; }
.raven-domain-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.raven-domain-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.raven-domain-name { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-primary); font-family: var(--font-mono); }
.raven-domain-count { font-size: 8px; font-weight: 700; letter-spacing: 0.10em; padding: 1px 6px; border-radius: 8px; background: var(--bg-dark); color: var(--text-muted); font-family: var(--font-mono); }
.raven-domain-tag { font-size: 10px; color: var(--text-muted); line-height: 1.5; }
.raven-apps-row { display: flex; flex-direction: column; gap: 10px; }
.raven-apps-label { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; color: var(--text-muted); font-family: var(--font-mono); }
.raven-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.raven-app-chip { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 4px; background: var(--bg-secondary); border: 1px solid var(--panel-border); transition: border-color 0.12s; }
.raven-app-chip:hover { border-color: var(--text-muted); }
.raven-app-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.raven-app-name { font-size: 11px; font-weight: 600; color: var(--text-primary); }
.raven-app-domain { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; font-family: var(--font-mono); }

/* Agent showcase */
.agent-showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.agent-capabilities { display: flex; flex-direction: column; gap: 0; }
.agent-cap { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--panel-border); }
.agent-cap:last-child { border-bottom: none; }
.agent-cap-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.agent-cap-dot.tier-lumin-dot { background: var(--tier-lumin); }
.agent-cap-label { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.agent-cap-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* Terminal */
.agent-terminal { border-radius: 4px; overflow: hidden; font-family: var(--font-mono); }
.term-header { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--panel-border); background: var(--bg-secondary); }
.term-body { padding: 20px 16px; background: var(--bg-dark); display: flex; flex-direction: column; gap: 8px; min-height: 300px; }
.term-line { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; }
.term-cmd { color: var(--text-primary); font-size: 11px; }
.term-line.response { padding-left: 8px; }
.response-label { font-size: 10px; color: var(--accent-teal); flex-shrink: 0; width: 80px; }
.term-text { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }
.term-cursor { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.cursor-blink { color: var(--accent-blue); animation: pulse-dot 1s ease-in-out infinite; font-size: 11px; }

/* ── CONTACT PAGE ──────────────────────────────────────────────────────── */
.contact-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: start;
}
.access-form { border-radius: 4px; overflow: hidden; }
.form-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: var(--bg-secondary);
  border-bottom: 1px solid var(--panel-border);
}
.form-title { font-size: 10px; color: var(--text-muted); letter-spacing: 0.12em; font-family: var(--font-mono); }
.form-tag  { font-size: 9px; letter-spacing: 0.1em; font-family: var(--font-mono); }
.form-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 9px; color: var(--text-muted); letter-spacing: 0.12em; font-family: var(--font-mono); }
.form-input {
  background: var(--bg-dark); border: 1px solid var(--panel-border); border-radius: 2px;
  padding: 10px 12px; font-family: var(--font-main); font-size: 13px;
  color: var(--text-primary); outline: none; transition: border-color 0.15s; width: 100%;
  box-sizing: border-box;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--accent-blue); }
/* iOS Safari zooms the whole page when a focused field is under 16px, which
   leaves the form sitting half off-screen — keep touch targets at 16px */
@media (max-width: 720px) {
  .form-input, .form-select, .form-textarea { font-size: 16px; padding: 12px; }
  .submit-btn { min-height: 48px; }
}
.form-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237f8fa6' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.form-select option { background: var(--bg-secondary); }
.form-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px; background: var(--accent-blue);
  border: 1px solid var(--accent-blue); border-radius: 2px;
  color: #14181E; font-size: 12px; letter-spacing: 0.1em;
  cursor: pointer; transition: opacity 0.15s, box-shadow 0.15s; margin-top: 4px;
  font-family: var(--font-mono);
}
.submit-btn:hover:not(:disabled) { opacity: 0.9; box-shadow: var(--glow-blue); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-btn.loading { animation: pulse-dot 1s ease-in-out infinite; }
.success-panel {
  border-radius: 4px; padding: 48px 32px; text-align: center;
  display: none; flex-direction: column; align-items: center; gap: 16px;
}
.success-panel.visible { display: flex; }
.success-title { font-size: 24px; font-weight: 700; color: var(--text-bright); }
.success-desc { font-size: 14px; line-height: 1.7; color: var(--text-secondary); max-width: 360px; }
.success-ref {
  font-size: 11px; color: var(--text-muted); letter-spacing: 0.12em;
  border: 1px solid var(--panel-border); padding: 6px 16px; border-radius: 2px;
  font-family: var(--font-mono);
}
.info-panel { border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.info-section { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.info-label { font-size: 9px; color: var(--text-muted); letter-spacing: 0.15em; margin-bottom: 4px; font-family: var(--font-mono); }
.next-step { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.step-num { font-size: 10px; color: var(--accent-blue); flex-shrink: 0; padding-top: 1px; letter-spacing: 0.06em; font-family: var(--font-mono); }
.step-text { flex: 1; }
.info-divider { height: 1px; background: var(--panel-border); }
.cohort-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cstat-val { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; font-family: var(--font-mono); }
.cstat-label { font-size: 9px; color: var(--text-muted); letter-spacing: 0.1em; font-family: var(--font-mono); }
.contact-security-item { display: flex; gap: 10px; font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

@media (max-width: 900px) {
  /* the sidebar stacks under the form rather than disappearing — "what happens
     next" is the reassurance that gets people to submit */
  .contact-inner { grid-template-columns: 1fr; }
  .arch-row { grid-template-columns: 1fr; gap: 40px; }
  .agent-showcase { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .contact-inner { padding: 0 16px; }
  .form-row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .raven-domains { grid-template-columns: 1fr; }
  .tier-nav { gap: 8px; }
  .tier-nav-arrow { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GUARDBASE-INSPIRED REDESIGN LAYER
   Same palette — only structure, type-scale, motion and the technical
   fine-line / corner-tick system are introduced. No new colors.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Scroll-reveal motion ────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1),
              transform 0.7s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Technical frame: animated corner ticks on hover ─────────────────────── */
.tick-frame { position: relative; }
.tick-frame::before, .tick-frame::after {
  content: ''; position: absolute; width: 11px; height: 11px;
  border-color: var(--panel-border-bright); border-style: solid;
  opacity: 0; transition: opacity 0.25s ease, width 0.25s ease, height 0.25s ease;
  pointer-events: none;
}
.tick-frame::before { top: 9px;    left: 9px;  border-width: 1px 0 0 1px; }
.tick-frame::after  { bottom: 9px; right: 9px; border-width: 0 1px 1px 0; }
.tick-frame:hover::before, .tick-frame:hover::after { opacity: 0.8; width: 15px; height: 15px; }

/* ── Status chip (eyebrow live indicator) ────────────────────────────────── */
.statchip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-secondary);
  padding: 5px 13px; border: 1px solid var(--panel-border); border-radius: 2px;
  background: rgba(238,242,249,0.02);
}
.statchip .sc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-teal); box-shadow: 0 0 8px rgba(42,122,72,0.7);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.statchip .sc-code { color: var(--text-muted); }

/* ── HERO — larger, more deliberate ──────────────────────────────────────── */
.hero { max-width: 940px; }
.hero-eyebrow { margin-bottom: 20px; }
.hero-title {
  font-size: clamp(40px, 5.5vw, 64px); font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.0;
}
.hero-status { margin-bottom: 26px; display: flex; justify-content: center; }
.btn-primary, .btn-secondary { padding: 14px 30px; }

/* ── STAT ROW — count-up surface ─────────────────────────────────────────── */
.stat { transition: background 0.25s ease; }
.stat:hover { background: rgba(238,242,249,0.02); }
.stat-val { font-variant-numeric: tabular-nums; }
.stat-bar-fill { transition: width 1.1s cubic-bezier(.16,.84,.44,1); }

/* ── TIER CARDS — fine-line technical cards ──────────────────────────────── */
.tiers-grid { gap: 1px; }
.tier-card { transition: background 0.28s ease, box-shadow 0.28s ease; }
.tier-card:hover {
  background: #171c23; z-index: 2;
  box-shadow: inset 0 0 0 1px var(--panel-border-bright), var(--glow-teal);
}
.tier-card .tier-step {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; color: var(--panel-border-bright);
  transition: color 0.28s ease;
}
.tier-card:hover .tier-step { color: var(--accent-teal); }
.tier-card .tier-badge { transition: border-color 0.28s ease, color 0.28s ease; }
.tier-card:hover .tier-badge { border-color: var(--accent-teal); color: var(--accent-teal); }
/* arrow markers instead of dashes */
.tier-feature .feature-dot { font-size: 0; line-height: 1; position: relative; top: 1px; }
.tier-feature .feature-dot::before {
  content: '→'; font-family: var(--font-mono); font-size: 11px;
  color: var(--accent-teal); opacity: 0.85;
}

/* ── PROGRESSION RAIL — animated dashed flow ─────────────────────────────── */
.tier-progression .tp-line {
  background: repeating-linear-gradient(90deg,
    var(--panel-border-bright) 0 6px, transparent 6px 12px);
  opacity: 0.6; height: 1px; max-width: 90px;
}
.tier-progression .tp-arrow { color: var(--accent-teal); opacity: 0.7; }

/* ── CONTRAST — red ✕ (old) vs teal ✓ (Dante) markers ────────────────────── */
.contrast-table { position: relative; }
.contrast-col.contrast-old  .contrast-col-label::before { content: '✕ '; color: var(--semantic-critical); }
.contrast-col.contrast-dante .contrast-col-label::before { content: '✓ '; color: var(--accent-teal); }
.contrast-cell.old   { position: relative; padding-left: 40px; }
.contrast-cell.dante { position: relative; padding-left: 40px; color: var(--text-primary); }
.contrast-cell.old::before {
  content: '✕'; position: absolute; left: 24px;
  font-family: var(--font-mono); font-size: 11px; color: var(--semantic-critical); opacity: 0.85;
}
.contrast-cell.dante::before {
  content: '✓'; position: absolute; left: 24px;
  font-family: var(--font-mono); font-size: 11px; color: var(--accent-teal);
}
.contrast-row { transition: background 0.18s ease; }
.contrast-col.contrast-dante { border-left: 1px solid var(--panel-border); }

/* ── CTA — bordered console panel ────────────────────────────────────────── */
.cta-section { background: var(--bg-dark); }
.cta-inner {
  position: relative; max-width: 900px; padding: 72px 48px;
  border: 1px solid var(--panel-border); background: var(--bg-secondary);
  overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(238,242,249,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 0%, transparent 75%);
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner::after {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 140px; height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), transparent);
}
.cta-title { font-size: clamp(34px, 5.4vw, 56px); font-weight: 900; letter-spacing: -0.03em; }

/* ── SECTION HEADER — annotated rule under eyebrow ───────────────────────── */
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--accent-teal); opacity: 0.6;
}
.section-header.centered .section-eyebrow,
.contrast-section .section-eyebrow { justify-content: center; }

/* ── STATUSBAR — pulsing live dot ────────────────────────────────────────── */
.statusbar .sb-dot { animation: pulse-dot 1.8s ease-in-out infinite; display: inline-block; }

/* ── RESPONSIVE tweaks for redesign layer ────────────────────────────────── */
@media (max-width: 600px) {
  .cta-inner { padding: 44px 24px; }
  .hero-title { line-height: 1.05; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   LANDING v2 — layout primitives, staggered menu, section system
   All new classes are `d-` / `sm-` prefixed so nothing collides with the
   legacy page styles still used by contact / accept-invitation.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --d-fl-h1: clamp(40px, 5.4vw, 76px);
  --d-fl-h2: clamp(30px, 3.6vw, 50px);
  --d-fl-h3: clamp(20px, 1.7vw, 25px);
  --d-hair:  #2A2F37;
  --d-deep:  #0E1116;
  --d-panel-w: clamp(360px, 42vw, 620px);
  --fm-line: rgba(238, 242, 249, 0.30);
  --fm-panel: #EEF2F9;
  --fm-panel-fg: #14181E;
  --d-menu-bg: #EEF2F9;
  --d-menu-fg: #14181E;
}

/* ── Layout primitives ──────────────────────────────────────────────────── */
.d-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.d-sec  { padding: 96px 0; scroll-margin-top: 96px; position: relative; }
@media (min-width: 768px) { .d-sec { padding: 128px 0; } }

.d-g75   { display: grid; grid-template-columns: 1fr; gap: 40px; }
.d-split { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .d-g75   { grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 64px; }
  .d-split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .d-split.flip .d-split-copy  { order: 2; }
  .d-split.flip .d-split-media { order: 1; }
}

.d-rule { border-top: 1px solid var(--d-hair); padding-top: 48px; margin-top: 56px;
          display: grid; grid-template-columns: 1fr; gap: 40px 40px; }
@media (min-width: 640px) { .d-rule { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .d-rule { margin-top: 80px; } }
.d-rule.d-rule-5 { gap: 36px 32px; }
@media (min-width: 640px)  { .d-rule.d-rule-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .d-rule.d-rule-5 { grid-template-columns: repeat(5, 1fr); } }

/* ── Type scale ─────────────────────────────────────────────────────────── */
.d-h1, .d-h2, .d-h3, .d-tile-name { font-family: var(--font-header); }
.d-body, .d-body-sm, .d-lead, .d-mini p { font-family: var(--font-header); }
.d-h1 { font-size: var(--d-fl-h1); font-weight: 800; line-height: 1.02;
        letter-spacing: -0.035em; color: var(--text-bright); }
/* hero headline: hold each sentence to one line from tablet up */
.d-h1-hero { font-size: clamp(32px, 4.4vw, 62px); }
@media (min-width: 640px) { .d-h1-hero .nb { white-space: nowrap; } }
.d-h2 { font-size: var(--d-fl-h2); font-weight: 700; line-height: 1.08;
        letter-spacing: -0.03em; color: var(--text-bright); max-width: 20ch; }
.d-h2.wide { max-width: 26ch; }
.d-h3 { font-size: var(--d-fl-h3); font-weight: 600; line-height: 1.25;
        letter-spacing: -0.02em; color: var(--text-primary); }
.d-body { font-size: 15px; line-height: 1.8; color: var(--text-secondary); max-width: 54ch; }
.d-body-sm { font-size: 13.5px; line-height: 1.75; color: var(--text-secondary); }
.d-lead { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.7; color: var(--text-secondary); max-width: 52ch; }

/* ── Eyebrow with section number ────────────────────────────────────────── */
.d-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-secondary); display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.d-eyebrow .n    { color: var(--wd-orange); font-weight: 700; }
.d-eyebrow .slash { color: var(--text-muted); }

/* ── Mono spec line ─────────────────────────────────────────────────────── */
.d-spec {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--text-muted); margin-top: 26px; line-height: 1.9;
}

/* ── Text link with arrow ───────────────────────────────────────────────── */
.d-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-primary); text-decoration: none;
  border-bottom: 1px solid var(--panel-border-bright); padding-bottom: 4px;
  transition: color 0.18s, border-color 0.18s;
}
.d-link:hover { color: var(--wd-orange); border-color: var(--wd-orange); }
.d-link .arw { transition: transform 0.18s; }
.d-link:hover .arw { transform: translate(2px, -2px); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.d-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 15px 28px; border-radius: 2px; border: 1px solid transparent;
  transition: opacity 0.18s, color 0.18s, border-color 0.18s, background 0.18s;
}
.d-btn-primary { background: var(--text-bright); color: var(--bg-dark); border-color: var(--text-bright); }
.d-btn-primary:hover { opacity: 0.86; }
.d-btn-ghost { color: var(--text-secondary); border-color: var(--panel-border-bright); }
.d-btn-ghost:hover { color: var(--text-bright); border-color: var(--text-bright); }
.d-btn-invert { background: var(--bg-dark); color: var(--text-bright); border-color: var(--bg-dark); }
.d-btn-invert:hover { opacity: 0.88; }
.d-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ── Media slots (placeholders until real imagery lands) ────────────────── */
.d-media {
  position: relative; overflow: hidden; background: var(--d-deep);
  border: 1px solid var(--d-hair);
}
.d-media.square { aspect-ratio: 1 / 1; }
.d-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-media-slot {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  background-image:
    linear-gradient(rgba(238,242,249,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238,242,249,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
}
.d-media-slot::before {
  content: ''; width: 26px; height: 26px;
  border: 1px solid var(--panel-border-bright); opacity: 0.5;
  transform: rotate(45deg);
}

/* ── Full-bleed image band ──────────────────────────────────────────────── */
.d-band {
  position: relative; width: 100%; height: 68svh; max-height: 720px; min-height: 380px;
  overflow: hidden; background: var(--d-deep);
  border-top: 1px solid var(--d-hair); border-bottom: 1px solid var(--d-hair);
}
.d-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Problem / flow cells ───────────────────────────────────────────────── */
.d-cell { display: flex; flex-direction: column; gap: 10px; }
.d-cell-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--wd-orange);
}
.d-cell-num.muted { color: var(--panel-border-bright); }

/* ── Card row (the layer underneath) ────────────────────────────────────── */
.d-cards { display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 56px; }
@media (min-width: 768px) { .d-cards { grid-template-columns: repeat(3, 1fr); margin-top: 80px; } }
.d-card {
  background: var(--d-deep); border: 1px solid var(--d-hair);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 12px;
  transition: background 0.25s, border-color 0.25s;
}
.d-card:hover { background: #12161c; border-color: var(--panel-border-bright); }

/* ── Nested mini grid (ontology emphasis) ───────────────────────────────── */
.d-mini {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  margin-top: 30px; background: var(--d-hair); border: 1px solid var(--d-hair);
}
@media (min-width: 560px) { .d-mini { grid-template-columns: 1fr 1fr; } }
.d-mini > div { background: var(--bg-dark); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.d-mini-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--wd-orange);
}
.d-mini p { font-size: 12.5px; line-height: 1.65; color: var(--text-secondary); }

/* ── Stats ──────────────────────────────────────────────────────────────── */
.d-stat-val {
  font-family: var(--font-mono); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700;
  color: var(--text-bright); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}

/* ── FLOWING MENU (industries) ──────────────────────────────────────────── */
.fm {
  margin-top: 56px; border-top: 1px solid var(--fm-line);
  overflow: hidden; background: var(--bg-dark);
}
.fm + .d-wrap .d-deploy { margin-top: 56px !important; }
@media (min-width: 768px) { .fm { margin-top: 80px; } }
.fm-item {
  position: relative; overflow: hidden;
  height: clamp(96px, 12vw, 148px);
  border-bottom: 1px solid var(--fm-line);
}
.fm-link {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  height: 100%; text-decoration: none;
  font-family: var(--font-header); font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 54px); letter-spacing: -0.02em;
  color: var(--text-bright);
  transition: opacity 0.4s ease;
}
.fm-item.fm-on .fm-link { opacity: 0; }

/* white panel that wipes in from whichever edge the cursor entered */
.fm-marquee {
  position: absolute; inset: 0; z-index: 2; overflow: hidden;
  background: var(--fm-panel); transform: translateY(101%);
  pointer-events: none;
}
.fm-marquee-inner { height: 100%; width: 100%; display: flex; align-items: center; }
.fm-marquee, .fm-marquee-inner {
  transition: transform 0.55s cubic-bezier(.19,1,.22,1);
}
.fm-marquee.fm-instant, .fm-marquee.fm-instant .fm-marquee-inner { transition: none; }

/* two identical tracks scrolling as one continuous loop */
.fm-track {
  display: flex; align-items: center; flex-shrink: 0; gap: 0;
  animation: fm-scroll var(--fm-speed, 22s) linear infinite;
  will-change: transform;
}
.fm-item:hover .fm-track { animation-play-state: running; }
@keyframes fm-scroll { to { transform: translateX(-100%); } }

.fm-word {
  flex-shrink: 0; padding: 0 clamp(16px, 2vw, 30px);
  font-family: var(--font-header); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.2vw, 48px); letter-spacing: -0.02em;
  color: var(--fm-panel-fg); white-space: nowrap; line-height: 1;
}
.fm-word-spec {
  font-family: var(--font-mono); font-weight: 500; text-transform: none;
  font-size: clamp(11px, 1vw, 14px); letter-spacing: 0.06em;
  color: rgba(20,24,30,0.55);
}
.fm-img {
  flex-shrink: 0; width: clamp(120px, 15vw, 210px); height: clamp(56px, 7vw, 96px);
  border-radius: 999px; background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background-size: cover; background-position: center;
}
.fm-img span {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted);
}
.fm-img[style*="background-image"] span { display: none; }

@media (hover: none) {
  /* touch: no cursor to track, so the panel never opens — keep the row legible */
  .fm-marquee { display: none; }
  .fm-item.fm-on .fm-link { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-marquee, .fm-marquee-inner { transition: none; }
  .fm-track { animation: none; }
}

/* ── Dark + brand bands ─────────────────────────────────────────────────── */
.d-sec.deep  { background: var(--d-deep); border-top: 1px solid var(--d-hair); border-bottom: 1px solid var(--d-hair); }
.d-sec.brand { background: var(--wd-orange); }
.d-sec.brand .d-h2 { color: #fff; max-width: 22ch; }
.d-sec.brand .d-lead { color: rgba(255,255,255,0.85); }
.d-deploy { display: grid; grid-template-columns: 1fr; gap: 4px; margin-top: 56px; }
@media (min-width: 768px) { .d-deploy { grid-template-columns: 1fr 1fr; margin-top: 80px; } }
.d-deploy > div {
  border: 1px solid var(--d-hair); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 12px; background: var(--bg-dark);
}

/* ── Reveal stagger for grid children ───────────────────────────────────── */
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }

/* ═══ STAGGERED MENU ═══════════════════════════════════════════════════════ */
.sm-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
/* once the page scrolls, content runs underneath the fixed bar — give it a
   ground so the wordmark and the headline stop fighting each other */
.sm-header.scrolled {
  background: rgba(14, 16, 22, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(238, 242, 249, 0.08);
}
.sm-header.scrolled.on-light { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
@media (min-width: 768px) { .sm-header { padding: 0 32px; } }
.sm-header > * { pointer-events: auto; }
.sm-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sm-logo svg path, .sm-logo svg circle { transition: fill 0.3s ease; }
.sm-logo-name {
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
  letter-spacing: 0.24em; color: var(--text-bright); transition: color 0.3s ease;
}
.sm-toggle {
  display: flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer; padding: 8px 0;
  color: var(--text-bright); font-family: var(--font-header);
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.sm-toggle-label { display: block; position: relative; height: 1.15em; overflow: hidden; }
.sm-toggle-label .sm-lbl {
  display: block; height: 1.15em; line-height: 1.15em;
  transition: transform 0.42s cubic-bezier(.7,0,.2,1);
}
.sm-toggle-label .sm-lbl:first-child { transform: translateY(0); }
.sm-toggle[aria-expanded="true"] .sm-lbl { transform: translateY(-100%); }
.sm-icon { position: relative; width: 17px; height: 17px; transition: transform 0.45s cubic-bezier(.7,0,.2,1); }
.sm-icon .sm-bar {
  position: absolute; left: 0; width: 17px; height: 1.6px;
  background: currentColor;
  transition: transform 0.45s cubic-bezier(.7,0,.2,1), top 0.45s cubic-bezier(.7,0,.2,1), opacity 0.45s ease;
}
.sm-icon .sm-bar:nth-child(1) { top: 3px; }
.sm-icon .sm-bar:nth-child(2) { top: 8px; }
.sm-icon .sm-bar:nth-child(3) { top: 13px; }
.sm-toggle[aria-expanded="true"] .sm-icon { transform: rotate(180deg); }
.sm-toggle[aria-expanded="true"] .sm-bar:nth-child(1) { top: 8px; transform: rotate(45deg); }
.sm-toggle[aria-expanded="true"] .sm-bar:nth-child(2) { opacity: 0; }
.sm-toggle[aria-expanded="true"] .sm-bar:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* The panel is right-anchored, so only the toggle ends up over the light
   surface — the logo stays on the dark page and keeps its light colours. */
.sm-header.on-light .sm-toggle { color: var(--d-menu-fg); }
/* below 720px the panel covers the full width, so the logo is over the light
   surface too and has to invert with it */
@media (max-width: 720px) {
  .sm-header.on-light .sm-logo-name { color: var(--d-menu-fg); }
  .sm-header.on-light .sm-logo svg path { fill: var(--d-menu-fg); }
  .sm-header.on-light .sm-logo svg circle:not(:last-of-type) { fill: var(--d-menu-fg); }
}

/* clipping stage: keeps the parked (off-screen) panel from creating page scroll */
.sm-overlay { position: fixed; inset: 0; z-index: 110; overflow: hidden; pointer-events: none; }
.sm-overlay .sm-panel { pointer-events: auto; }
.sm-overlay .sm-panel[aria-hidden="true"] { pointer-events: none; }
.sm-prelayers { position: absolute; top: 0; right: 0; bottom: 0; pointer-events: none; }
.sm-prelayer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: var(--d-panel-w); transform: translateX(100%);
  border-radius: 20px 0 0 20px;
}
.sm-prelayer:nth-child(1) { background: #5E646D; }
.sm-prelayer:nth-child(2) { background: #373C45; }

.sm-panel {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 115;
  width: var(--d-panel-w); transform: translateX(100%);
  background: var(--d-menu-bg); color: var(--d-menu-fg);
  border-radius: 20px 0 0 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-height) + 48px) 40px 48px;
  overflow-y: auto; overscroll-behavior: contain;
}
@media (max-width: 720px) {
  .sm-prelayer, .sm-panel { width: 100vw; border-radius: 0; }
  .sm-panel { padding: calc(var(--nav-height) + 32px) 24px 36px; }
}
.sm-list { display: flex; flex-direction: column; gap: 14px; }
.sm-item-wrap { overflow: hidden; }
.sm-item {
  display: flex; align-items: flex-start; gap: 6px;
  text-decoration: none; color: var(--d-menu-fg);
  font-size: clamp(42px, 6.6vw, 86px); font-weight: 800;
  line-height: 1.06; letter-spacing: -0.04em; text-transform: uppercase;
  transform: translateY(115%) rotate(2.5deg); transform-origin: left top;
  transition: color 0.2s ease;
}
.sm-item:hover, .sm-item.current { color: var(--wd-orange); }
.sm-num {
  font-family: var(--font-mono); font-size: 0.26em; font-weight: 600;
  color: var(--wd-orange); letter-spacing: 0.02em;
  align-self: flex-start; margin-top: 0.28em; opacity: 0;
}
.sm-panel:focus { outline: none; }
.sm-item:focus-visible { outline: 2px solid var(--wd-orange); outline-offset: 6px; }
.sm-social:focus-visible, .sm-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sm-socials { display: flex; flex-direction: column; gap: 14px; padding-top: 40px; }
.sm-socials-label {
  font-size: 15px; font-weight: 500; color: var(--wd-orange); opacity: 0;
}
.sm-socials-list { display: flex; flex-wrap: wrap; gap: 22px; }
.sm-social {
  font-size: 15px; color: var(--d-menu-fg); text-decoration: none; opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.sm-social:hover { color: var(--wd-orange); }
body.sm-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .sm-item, .sm-num, .sm-social, .sm-socials-label, .sm-toggle,
  .sm-prelayer, .sm-panel, .sm-icon, .sm-toggle-label .sm-lbl { transition: none !important; }
}
