:root {
  --bg: #020817;
  --panel: rgba(8, 18, 37, .88);
  --panel-soft: rgba(8, 18, 37, .72);
  --line: #172554;
  --text: #ffffff;
  --muted: #94a3b8;
  --subtle: #5f6a87;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --electric: #60a5fa;
  --friction: #f59e0b;
  --optimization: #22c55e;
  --risk: #ef4444;
  --core: #2563eb;
  --reality: #7c3aed;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 8px;
  --grad: linear-gradient(135deg, var(--violet), var(--indigo) 50%, var(--blue));
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading: "Inter Tight", Satoshi, "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --metric: "Space Grotesk", "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
}

button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 20, .9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(37,99,235,.28);
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(124,58,237,.36), 0 0 32px rgba(37,99,235,.24);
}

.brand sup {
  margin-left: 2px;
  color: #90adff;
  font-size: 9px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

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

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(15, 23, 48, .86);
  font-weight: 850;
}

.button.primary {
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 10px 28px rgba(37,99,235,.22);
}

.button.ghost:hover,
.button.primary:hover { transform: translateY(-1px); }
.button.full { width: 100%; margin-top: 10px; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: 44px;
  align-items: center;
  padding: 58px 7vw 42px;
  border-bottom: 1px solid var(--line);
}

.hero-data-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .58;
}

.hero-data-field span {
  position: absolute;
  left: -18%;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.32), rgba(37,99,235,.28), transparent);
  animation: dataDrift 18s linear infinite;
}

.hero-data-field span:nth-child(1) { top: 18%; animation-delay: -2s; }
.hero-data-field span:nth-child(2) { top: 42%; animation-delay: -8s; animation-duration: 24s; }
.hero-data-field span:nth-child(3) { top: 66%; animation-delay: -13s; animation-duration: 21s; }
.hero-data-field span:nth-child(4) { top: 82%; animation-delay: -5s; animation-duration: 27s; }

.hero-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 12px;
  color: #91aaff;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  line-height: 1;
}

h1 {
  font-size: clamp(58px, 8vw, 112px);
  letter-spacing: 0;
}

h1 sup {
  color: #91aaff;
  font-size: .18em;
  vertical-align: super;
}

h2 {
  max-width: 870px;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: 0;
}

h3 { font-size: 20px; }

.lead {
  margin: 16px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 850;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-statement {
  margin: 14px 0 0;
  color: var(--text);
  font-family: var(--heading);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.04;
}

.support {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.diamond-orbit {
  position: absolute;
  width: min(92%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 8px;
  transform: rotate(45deg);
  animation: diamondOrbit 20s ease-in-out infinite;
}

.diamond-streams {
  position: absolute;
  inset: 8%;
  pointer-events: none;
}

.diamond-streams span {
  position: absolute;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,.4), rgba(37,99,235,.38), transparent);
  animation: streamPulse 7s ease-in-out infinite;
}

.diamond-streams span:nth-child(1) { top: 30%; left: 0; }
.diamond-streams span:nth-child(2) { top: 48%; right: 0; animation-delay: -1.7s; }
.diamond-streams span:nth-child(3) { bottom: 31%; left: 8%; animation-delay: -3.4s; }
.diamond-streams span:nth-child(4) { bottom: 44%; right: 7%; animation-delay: -5.1s; }

.hero-media img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,.3);
  box-shadow: 0 34px 80px rgba(0,0,0,.45);
  filter: drop-shadow(0 0 38px rgba(124,58,237,.44)) drop-shadow(0 0 46px rgba(37,99,235,.34));
}

.animated-diamond {
  animation: diamondFloat 12s ease-in-out infinite;
}

.section {
  padding: 74px 7vw;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 980px;
  margin-bottom: 26px;
}

.section-head p,
.split p,
.mobile-band p,
.cta p {
  color: var(--muted);
  line-height: 1.55;
}

.pain-section {
  background:
    linear-gradient(135deg, rgba(124,58,237,.11), rgba(37,99,235,.05)),
    rgba(5,8,20,.54);
}

.blindspot-grid,
.blindspot-contrast,
.friction-grid,
.rgs-details,
.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.blindspot-grid article,
.blindspot-contrast article,
.friction-grid article,
.ai-grid article,
.rgs-details article,
.rgs-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.blindspot-grid article,
.blindspot-contrast article,
.friction-grid article,
.ai-grid article,
.rgs-details article {
  padding: 18px;
}

.blindspot-contrast {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.blindspot-contrast article {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(15,23,48,.9), rgba(5,8,20,.7));
}

.blindspot-contrast article:nth-child(2) {
  border-color: rgba(245,158,11,.36);
  background: linear-gradient(180deg, rgba(245,158,11,.14), rgba(8,13,30,.86));
}

.blindspot-contrast ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.blindspot-contrast li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5,8,20,.48);
  color: var(--muted);
  padding: 12px;
  font-weight: 850;
}

.blindspot-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 72px;
  min-height: 28px;
  margin-bottom: 18px;
  border: 1px solid rgba(124,58,237,.34);
  border-radius: 7px;
  color: #c4b5fd;
  background: rgba(124,58,237,.12);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.blindspot-grid p,
.blindspot-contrast li,
.friction-grid span,
.ai-grid span,
.rgs-card span,
.rgs-card small {
  color: var(--muted);
  line-height: 1.45;
}

.truth-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.truth-band strong,
.truth-band span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  background: rgba(10,15,32,.94);
  font-family: var(--heading);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
}

.truth-band span {
  background: linear-gradient(135deg, rgba(124,58,237,.34), rgba(37,99,235,.2));
  color: var(--text);
}

.architecture-grid,
.industry-grid,
.comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.architecture-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.friction-hero {
  background: linear-gradient(180deg, rgba(8,13,30,.92), rgba(5,8,20,.98));
}

.friction-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.friction-grid article {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(245,158,11,.34);
  background: linear-gradient(180deg, rgba(245,158,11,.14), rgba(10,15,32,.9));
}

.friction-grid strong {
  display: block;
  font-family: var(--heading);
  font-size: 22px;
  color: var(--friction);
}

.feature-card,
.industry-grid article,
.comparison article,
.module-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.feature-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 28px;
  margin-bottom: 18px;
  border: 1px solid rgba(37,99,235,.32);
  border-radius: 7px;
  color: #9fb8ff;
  font-size: 11px;
  font-weight: 850;
  background: rgba(37,99,235,.12);
}

.feature-card p,
.industry-grid p,
.comparison p,
.comparison li,
.module-panel p,
.module-panel li {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.flow-map {
  display: grid;
  gap: 10px;
}

.flow-map div {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 12px;
}

.flow-map div::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.13), rgba(37,99,235,.1), transparent);
  transform: translateX(-120%);
  animation: flowSweep 9s ease-in-out infinite;
}

.flow-map div:nth-child(2)::after { animation-delay: .8s; }
.flow-map div:nth-child(3)::after { animation-delay: 1.6s; background: linear-gradient(90deg, transparent, rgba(245,158,11,.16), transparent); }
.flow-map div:nth-child(4)::after { animation-delay: 2.4s; background: linear-gradient(90deg, transparent, rgba(34,197,94,.14), transparent); }
.flow-map div:nth-child(5)::after { animation-delay: 3.2s; background: linear-gradient(90deg, transparent, rgba(239,68,68,.11), transparent); }
.flow-map div:nth-child(6)::after { animation-delay: 4s; }

.flow-map strong { color: var(--text); }
.flow-map small { color: var(--muted); }

.rgs-example {
  background:
    radial-gradient(circle at 78% 20%, rgba(124,58,237,.12), transparent 34%),
    rgba(5,8,20,.72);
}

.rgs-card {
  overflow: hidden;
  padding: 0;
}

.rgs-topline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.rgs-topline div {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: rgba(10,15,32,.96);
}

.rgs-topline .gap {
  background: linear-gradient(135deg, rgba(124,58,237,.36), rgba(79,70,229,.2));
}

.rgs-topline strong,
.value-recovered strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1;
}

.rgs-details {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 14px;
}

.rgs-details article {
  background: rgba(5,8,20,.5);
}

.rgs-details span,
.value-recovered span,
.rgs-topline small {
  display: block;
  margin-bottom: 8px;
  color: #91aaff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.rgs-details strong {
  display: block;
  font-family: var(--heading);
  font-size: 22px;
}

.value-recovered {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(37,99,235,.12));
  text-align: center;
}

.value-recovered strong {
  color: var(--optimization);
}

.diamond-section {
  background:
    radial-gradient(circle at 30% 50%, rgba(124,58,237,.14), transparent 30%),
    radial-gradient(circle at 72% 42%, rgba(37,99,235,.1), transparent 32%),
    rgba(5,8,20,.82);
}

.diamond-method {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) 1.25fr;
  gap: 28px;
  align-items: center;
}

.diamond-visual {
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid rgba(37,99,235,.28);
  border-radius: 8px;
  background: rgba(5,8,20,.66);
  overflow: hidden;
}

.diamond-visual img {
  width: min(88%, 420px);
  filter: drop-shadow(0 0 34px rgba(124,58,237,.38)) drop-shadow(0 0 38px rgba(37,99,235,.28));
}

.diamond-map {
  display: grid;
  gap: 10px;
}

.diamond-map article,
.stack-grid article,
.case-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.diamond-map article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
}

.diamond-map span,
.provider-band span,
.case-metrics small {
  color: #91aaff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.diamond-map strong {
  font-family: var(--heading);
  font-size: 24px;
}

.diamond-map article:nth-child(1) { border-color: rgba(124,58,237,.34); }
.diamond-map article:nth-child(2) { border-color: rgba(37,99,235,.34); }
.diamond-map article:nth-child(3) { border-color: rgba(245,158,11,.36); }
.diamond-map article:nth-child(4) { border-color: rgba(239,68,68,.34); }
.diamond-map article:nth-child(5) { border-color: rgba(34,197,94,.36); }

.diamond-map article:nth-child(1) strong { color: var(--reality); }
.diamond-map article:nth-child(2) strong { color: var(--core); }
.diamond-map article:nth-child(3) strong { color: var(--friction); }
.diamond-map article:nth-child(4) strong { color: var(--risk); }
.diamond-map article:nth-child(5) strong { color: var(--optimization); }

.stack-section {
  background: linear-gradient(180deg, rgba(8,13,30,.96), rgba(5,8,20,.94));
}

.stack-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 14px;
}

.stack-grid article {
  padding: 18px;
}

.stack-grid h3 {
  margin-bottom: 16px;
}

.stack-grid div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5,8,20,.46);
  padding: 12px;
}

.stack-grid span {
  color: var(--muted);
  font-weight: 850;
}

.vynora-stack {
  border-color: rgba(124,58,237,.34);
  background: linear-gradient(180deg, rgba(124,58,237,.16), rgba(10,15,32,.92));
}

.ai-section {
  background:
    linear-gradient(135deg, rgba(124,58,237,.1), rgba(37,99,235,.06)),
    rgba(5,8,20,.74);
}

.ai-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ai-grid article {
  min-height: 156px;
  background: linear-gradient(180deg, rgba(10,15,32,.94), rgba(5,8,20,.72));
}

.ai-grid strong {
  display: block;
  margin-bottom: 18px;
  font-family: var(--heading);
  font-size: 22px;
}

.provider-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.provider-band span {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid rgba(37,99,235,.32);
  border-radius: 8px;
  background: rgba(15,23,48,.78);
  padding: 0 14px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.rgs-flagship {
  background:
    radial-gradient(circle at 82% 18%, rgba(124,58,237,.13), transparent 30%),
    linear-gradient(180deg, rgba(8,18,37,.92), rgba(2,8,23,.98));
}

.flagship-slide {
  overflow: hidden;
  border: 1px solid rgba(124,58,237,.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(124,58,237,.14), rgba(37,99,235,.06)),
    rgba(8,18,37,.94);
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
  padding: 18px;
}

.slide-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.slide-kicker span {
  color: #91aaff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.slide-kicker strong {
  max-width: 620px;
  font-family: var(--heading);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  text-align: right;
}

.comparison {
  margin-top: 18px;
}

.comparison ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.kpi-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.kpi-table div {
  min-height: 54px;
  display: flex;
  align-items: center;
  background: rgba(10, 15, 32, .9);
  color: var(--muted);
  padding: 14px 16px;
  font-weight: 800;
}

.kpi-table .kpi-head {
  color: var(--text);
  background: rgba(124,58,237,.18);
  font-family: var(--heading);
  font-size: 22px;
}

.rgs-motion {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 14px;
  margin-bottom: 0;
}

.rgs-motion article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.rgs-motion span {
  color: #91aaff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.rgs-motion strong {
  display: block;
  margin-top: 10px;
  font-family: var(--heading);
  font-size: clamp(30px, 4vw, 54px);
}

.rgs-motion small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.flat-line {
  height: 2px;
  margin-top: 34px;
  border-radius: 99px;
  background: rgba(148,163,184,.46);
}

.rgs-trend {
  height: 96px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  align-items: end;
  margin-top: 18px;
}

.rgs-trend i {
  display: block;
  min-height: 14px;
  border: 1px solid rgba(124,58,237,.34);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(124,58,237,.7), rgba(37,99,235,.36));
  transform-origin: bottom;
  animation: rgsResolve 8s ease-in-out infinite;
}

.rgs-trend i:nth-child(2) { animation-delay: .18s; }
.rgs-trend i:nth-child(3) { animation-delay: .36s; }
.rgs-trend i:nth-child(4) { animation-delay: .54s; }
.rgs-trend i:nth-child(5) { animation-delay: .72s; }
.rgs-trend i:nth-child(6) { animation-delay: .9s; }

.signal-panel {
  background: linear-gradient(180deg, rgba(124,58,237,.16), rgba(15,23,48,.72));
}

.mini-chart {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  align-items: end;
  margin: 18px 0 10px;
}

.mini-chart span {
  display: block;
  min-height: 24px;
  border: 1px solid rgba(124,58,237,.34);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(124,58,237,.72), rgba(37,99,235,.38));
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.module-tabs button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15,23,48,.78);
  color: var(--muted);
  padding: 0 13px;
  font-weight: 850;
}

.module-tabs button.active {
  color: var(--text);
  background: rgba(124,58,237,.18);
  border-color: rgba(124,58,237,.42);
}

.module-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.module-panel ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.module-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.module-metrics div {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5,8,20,.42);
  padding: 12px;
}

.module-metrics strong {
  display: block;
  font-family: var(--metric);
  font-size: 28px;
}

.module-metrics small { color: var(--muted); }

.mobile-band {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 34px;
  align-items: center;
}

.phone-preview {
  width: 260px;
  min-height: 420px;
  justify-self: end;
  border: 1px solid rgba(37,99,235,.38);
  border-radius: 34px;
  background: #080d1e;
  box-shadow: 0 28px 70px rgba(0,0,0,.46);
  padding: 24px 18px;
}

.phone-top {
  width: 68px;
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 99px;
  background: #202c56;
}

.phone-preview strong {
  display: block;
  margin-bottom: 16px;
  font-size: 24px;
}

.phone-preview span {
  display: block;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15,23,48,.86);
  color: var(--muted);
  padding: 12px;
}

.phone-preview button {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: var(--grad);
  font-weight: 850;
}

.case-study {
  background:
    radial-gradient(circle at 18% 18%, rgba(34,197,94,.1), transparent 26%),
    rgba(5,8,20,.82);
}

.case-card {
  overflow: hidden;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.case-metrics div {
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(10,15,32,.96);
  padding: 20px;
}

.case-metrics strong {
  display: block;
  margin: 8px 0;
  font-family: var(--metric);
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
}

.case-metrics span,
.case-flow p {
  color: var(--muted);
  line-height: 1.45;
}

.case-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
}

.case-flow article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5,8,20,.46);
  padding: 18px;
}

.case-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.cta {
  text-align: center;
}

.cta h2 {
  margin: 0 auto;
}

.demo-form {
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  margin: 28px auto 0;
}

.demo-form input,
.demo-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15,23,48,.88);
  color: var(--text);
  padding: 0 12px;
}

.form-status {
  min-height: 22px;
  color: var(--optimization);
  font-weight: 850;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
  background: rgba(3,6,16,.78);
  backdrop-filter: blur(5px);
}

.drawer-backdrop.open { display: block; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 92vw);
  height: 100vh;
  transform: translateX(100%);
  transition: transform .2s ease;
  z-index: 90;
  border-left: 1px solid var(--line);
  background: #080d1e;
}

.drawer.open { transform: translateX(0); }

.drawer-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-head strong { display: block; font-family: var(--heading); }
.drawer-head small { color: var(--muted); }
.drawer-body { padding: 16px; color: var(--muted); line-height: 1.55; }

.icon-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(15,23,48,.86);
  font-weight: 850;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dataDrift {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: .7; }
  70% { opacity: .45; }
  100% { transform: translateX(285%); opacity: 0; }
}

@keyframes diamondFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.012); }
}

@keyframes diamondOrbit {
  0%, 100% { opacity: .22; transform: rotate(45deg) scale(.98); }
  50% { opacity: .42; transform: rotate(46.5deg) scale(1.02); }
}

@keyframes streamPulse {
  0%, 100% { opacity: .18; transform: translateX(0); }
  50% { opacity: .7; transform: translateX(18px); }
}

@keyframes flowSweep {
  0%, 18% { transform: translateX(-120%); opacity: 0; }
  32%, 62% { opacity: .9; }
  82%, 100% { transform: translateX(260%); opacity: 0; }
}

@keyframes rgsResolve {
  0%, 100% { transform: scaleY(1); opacity: .9; }
  45% { transform: scaleY(.72); opacity: .72; }
  72% { transform: scaleY(.84); opacity: .82; }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  nav { display: none; }
  .hero,
  .split,
  .mobile-band,
  .module-panel {
    grid-template-columns: 1fr;
  }
  .hero-media { order: -1; }
  .hero-media img { width: min(100%, 340px); }
  .architecture-grid,
  .industry-grid,
  .comparison,
  .blindspot-grid,
  .blindspot-contrast,
  .friction-grid,
  .diamond-method,
  .diamond-map article,
  .rgs-topline,
  .rgs-details,
  .rgs-motion,
  .truth-band,
  .stack-grid,
  .stack-grid div,
  .ai-grid,
  .case-metrics,
  .case-flow,
  .slide-kicker {
    grid-template-columns: 1fr;
  }
  .slide-kicker {
    display: grid;
  }
  .slide-kicker strong {
    text-align: left;
  }
  .architecture-grid { grid-template-columns: 1fr; }
  .phone-preview {
    justify-self: start;
  }
  .demo-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header { padding: 10px 14px; }
  .site-header .button { display: none; }
  .hero, .section { padding-left: 18px; padding-right: 18px; }
  .hero {
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 28px;
  }
  .hero-media img { width: min(100%, 230px); }
  .module-metrics { grid-template-columns: 1fr; }
  .flow-map div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* ---- Mission & Vision ------------------------------------------- */
.mission-section {
  background:
    radial-gradient(900px 420px at 12% -20%, rgba(124,58,237,.16), transparent 60%),
    radial-gradient(900px 420px at 88% 120%, rgba(37,99,235,.14), transparent 60%),
    rgba(5,8,20,.5);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}
.mission-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 32px;
  background: var(--panel-soft);
  position: relative;
  overflow: hidden;
}
.mission-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--violet);
}
.vision-card::before { background: var(--blue); }
.mission-card .eyebrow {
  color: var(--electric);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.mission-card h2 {
  font-family: var(--heading);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.24;
  margin: 0;
  letter-spacing: -.4px;
}
@media (max-width: 820px) {
  .mission-grid { grid-template-columns: 1fr; }
}
