/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DESIGN TOKENS — THE LEGAL SEAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


:root {
  /* Depths */
  --ink:       #060911;
  --void:      #080C16;
  --abyss:     #0B1020;
  --deep:      #101828;
  --surface:   #162035;
  --panel:     #1E2D4A;
  --lift:      #263659;
  /* Light */
  --parchment: #EDE8DC;
  --cream:     #D5CEBC;
  --stone:     #9E9585;
  --slate:     #5A5446;
  /* Gold — the legal seal */
  --gold:      #C9A84C;
  --gold-hi:   #E8C86A;
  --gold-lo:   #A88430;
  --gold-glow: rgba(201,168,76,0.16);
  --gold-faint: rgba(201,168,76,0.06);
  /* States */
  --jade:      #1DBA74;
  --jade-g:    rgba(29,186,116,0.12);
  --ruby:      #D94F4F;
  --ruby-g:    rgba(217,79,79,0.12);
  --sapphire:  #3D7DE4;
  --violet:    #9068E0;
  /* Rims */
  --rim:       rgba(255,255,255,0.055);
  --rim2:      rgba(255,255,255,0.03);
  --rim3:      rgba(255,255,255,0.1);
  /* Fonts */
  --serif:     'Cormorant Garamond','Palatino Linotype','Palatino','Book Antiqua',Georgia,serif;
  --mono:      'IBM Plex Mono','SFMono-Regular','Consolas','Liberation Mono','Menlo',Courier,monospace;
  --sans:      'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;
  /* Easing */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease2:     cubic-bezier(0.4, 0, 0.2, 1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  RESET  */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--parchment);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  CURSOR  */
#CUR { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; }
#CD {
  position: absolute; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%;
  transform: translate(-50%, -50%);
}
#CR {
  position: absolute; width: 36px; height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.45); border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.3s, opacity 0.3s;
}
.hov #CR { width: 60px; height: 60px; border-color: rgba(201, 168, 76, 0.75); }
.hov #CD { transform: translate(-50%, -50%) scale(2.5); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  GLOBAL OVERLAYS  */
#PB {
  position: fixed; top: 0; left: 0; height: 1.5px; z-index: 1000;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  width: 0%; box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
  transition: width 0.08s linear;
}
#GRAIN {
  position: fixed; inset: 0; z-index: 500; pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  NAV  */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: 64px; display: flex; align-items: center;
  padding: 0 56px; gap: 48px;
  background: rgba(6, 9, 17, 0.75);
  backdrop-filter: blur(32px) saturate(1.8);
  border-bottom: 1px solid var(--rim);
  transition: background 0.4s;
}
nav.solid { background: rgba(6, 9, 17, 0.97); }
.nav-glow {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold-hi) 60%, transparent 100%);
  opacity: 0.22;
}
/* ━━━━━━━━━━━━━━━━━━━━  OFFICIAL LEGALO BRAND LOGO  */
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(188px, 17vw, 244px);
  min-width: 0;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  text-decoration: none !important;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.logo:hover {
  transform: translateY(-1px);
  border-color: rgba(201,168,76,.55);
  box-shadow: 0 12px 32px rgba(0,0,0,.32), 0 0 0 1px rgba(201,168,76,.12);
}
.logo-tm-img {
  display: block;
  width: 100%;
  height: 39px;
  object-fit: contain;
  object-position: left center;
}
.logo-cos-badge { display: none !important; }
.footer-brand-logo {
  display: inline-flex;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.footer-tm-img { display:block; width:100%; height:auto; object-fit:contain; }
/* Hide superseded generated marks while retaining official artwork. */
.logo-mark, .logo-type, .logo-mark-svg, .logo-text-wrap,
.logo-wordmark, .logo-tagline, .footer-logo-mark { display:none !important; }
.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
.nm {
  font-size: 11px; font-weight: 400; letter-spacing: 0.07em; color: var(--stone);
  text-decoration: none; padding: 8px 12px; transition: color 0.2s;
  position: relative;
}
.nm::after {
  content: ''; position: absolute; bottom: 4px; left: 12px; right: 12px;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s var(--ease);
}
.nm:hover { color: var(--parchment); }
.nm:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav-ghost {
  font-size: 11px; font-weight: 500; letter-spacing: 0.07em; color: var(--stone);
  text-decoration: none; padding: 8px 16px;
  border: 1px solid var(--rim3); transition: all 0.25s;
}
.btn-nav-ghost:hover { color: var(--parchment); border-color: var(--gold); }
.btn-nav-prime {
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em;
  color: var(--ink); background: var(--gold); text-decoration: none;
  padding: 9px 20px; display: inline-flex; align-items: center; gap: 7px;
  transition: all 0.3s; position: relative; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.btn-nav-prime::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%); transition: transform 0.35s var(--ease);
}
.btn-nav-prime:hover::before { transform: translateX(0); }
.btn-nav-prime:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(201, 168, 76, 0.35); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  TICKER  */
.ticker {
  background: var(--jade); padding: 6px 56px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; color: rgba(0,0,0,0.82);
  animation: slideDown 0.7s 1.8s var(--ease) both;
}
@keyframes slideDown { from { transform: translateY(-110%); } to { transform: translateY(0); } }
.t-pulse { width: 7px; height: 7px; background: rgba(0,0,0,0.4); border-radius: 50%; animation: tpulse 2.5s infinite; }
@keyframes tpulse { 0%, 100% { box-shadow: 0 0 0 2px rgba(0,0,0,0.15); } 50% { box-shadow: 0 0 0 7px rgba(0,0,0,0); } }
.t-left, .t-right { display: flex; align-items: center; gap: 12px; }
.t-badge { background: rgba(0,0,0,0.15); padding: 1px 9px; font-size: 8px; letter-spacing: 0.16em; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  HERO  */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 500px;
  align-items: center; gap: 60px;
  padding: 148px 56px 100px;
}
#HC { position: absolute; inset: 0; z-index: 0; }
/* Vertical left rule */
.hero::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.35; z-index: 1;
}
.h-left { position: relative; z-index: 2; }
.h-pretag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 36px;
  animation: fadeUp 0.9s 0.2s var(--ease) both;
}
.h-pretag-line { width: 40px; height: 1px; background: var(--gold); }
.h-pretag-text {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.h-pretag-dot {
  width: 6px; height: 6px; background: var(--jade); border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(29,186,116,0.3); animation: jp 2.5s infinite;
}
@keyframes jp { 0%,100%{box-shadow:0 0 0 2px rgba(29,186,116,0.3);} 50%{box-shadow:0 0 0 8px rgba(29,186,116,0);} }
.h-headline {
  font-family: var(--serif); font-size: clamp(54px, 5.8vw, 94px);
  font-weight: 700; line-height: 0.96; letter-spacing: -0.025em;
  color: var(--parchment); margin-bottom: 32px;
}
.h-headline .row { display: block; overflow: hidden; }
.h-headline .inner { display: block; animation: lineUp 1.1s var(--ease) both; }
.h-headline .inner-2 { animation-delay: 0.12s; }
.h-headline .inner-3 { animation-delay: 0.24s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: translateY(0); } }
.h-headline .gold-text {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-lo) 0%, var(--gold-hi) 50%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.h-headline .dim { color: var(--slate); font-weight: 300; font-size: 0.74em; }
.h-sub {
  font-size: 17px; font-weight: 300; line-height: 1.82; color: var(--stone);
  max-width: 480px; margin-bottom: 48px;
  animation: fadeUp 0.9s 0.55s var(--ease) both;
}
.h-sub strong { color: var(--parchment); font-weight: 500; }
.refuse-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ruby); background: var(--ruby-g); border: 1px solid rgba(217,79,79,0.28);
  padding: 5px 14px; margin-top: 10px;
}
.h-ctas {
  display: flex; align-items: center; gap: 14px;
  animation: fadeUp 0.9s 0.8s var(--ease) both;
}
.btn-prime {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 30px; text-decoration: none;
  position: relative; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.btn-prime::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 35%, rgba(255,255,255,0.22));
  transform: translateX(-100%); transition: transform 0.4s var(--ease);
}
.btn-prime:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(201,168,76,0.4); }
.btn-prime:hover::before { transform: translateX(0); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cream); font-size: 12px; font-weight: 400; letter-spacing: 0.05em;
  padding: 15px 28px; text-decoration: none;
  border: 1px solid var(--rim3); transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--parchment); transform: translateY(-2px); }
.arr { font-size: 16px; transition: transform 0.25s; }
.btn-prime:hover .arr, .btn-ghost:hover .arr { transform: translateX(4px); }

/* HERO RIGHT — THE PROOF ENGINE */
.h-right { position: relative; z-index: 2; animation: fromRight 1.1s 0.5s var(--ease) both; }
@keyframes fromRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
.proof-card {
  background: var(--abyss); border: 1px solid var(--rim3);
  position: relative; overflow: hidden;
  box-shadow: 0 48px 96px rgba(0,0,0,0.72), 0 0 0 1px rgba(201,168,76,0.1), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.proof-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold-hi) 35%, var(--gold) 65%, transparent 95%);
}
.proof-card::after {
  content: ''; position: absolute; top: 0; right: 0; width: 220px; height: 220px;
  background: radial-gradient(ellipse at top right, rgba(201,168,76,0.055), transparent 65%);
  pointer-events: none;
}
.pc-bar {
  padding: 13px 18px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--rim);
  display: flex; align-items: center; gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; } .dot-y { background: #FEBC2E; } .dot-g { background: #28C840; }
.pc-title { flex: 1; text-align: center; font-family: var(--mono); font-size: 10.5px; color: var(--slate); letter-spacing: 0.05em; }
.live-badge {
  font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.16em;
  background: var(--jade-g); border: 1px solid rgba(29,186,116,0.25); color: var(--jade);
  padding: 2px 8px; text-transform: uppercase;
}
.pc-body { padding: 18px 20px; font-family: var(--mono); font-size: 11.5px; }
.tl { display: flex; gap: 10px; line-height: 1.95; }
.ts { color: var(--slate); flex-shrink: 0; width: 50px; font-size: 10.5px; }
.tok { color: var(--jade); flex-shrink: 0; }
.twarn { color: #FEBC2E; flex-shrink: 0; }
.tc { color: var(--stone); flex: 1; }
.tk { color: #7DD3FC; } .tv { color: #C084FC; } .tg { color: var(--gold); }
.tdiv { border: none; border-top: 1px solid var(--rim); margin: 12px 0; }
.tres {
  margin-top: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, rgba(29,186,116,0.08), rgba(29,186,116,0.04));
  border: 1px solid rgba(29,186,116,0.22); border-left: 3px solid var(--jade);
}
.tres-label { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--jade); margin-bottom: 7px; }
.tres-val { font-size: 19px; font-weight: 600; color: var(--parchment); letter-spacing: -0.2px; margin-bottom: 5px; }
.tres-meta { font-size: 10.5px; color: var(--slate); line-height: 1.5; }
.cur-blink { animation: blink 1s step-end infinite; color: var(--gold); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  PROOF CHAIN STRIP  */
.chain-strip {
  background: var(--surface); border-top: 1px solid var(--rim); border-bottom: 1px solid var(--rim);
  padding: 0 56px; display: flex; align-items: stretch;
  position: relative; overflow: hidden;
}
.chain-strip::before {
  content: ''; position: absolute; top: 50%; left: 3%; right: 3%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), rgba(201,168,76,0.2), transparent);
}
.chain-node {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; padding: 26px 8px; position: relative; z-index: 1; cursor: default;
  transition: background 0.3s;
}
.chain-node:hover { background: var(--rim2); }
.cn-num { font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); }
.cn-indicator { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); transition: all 0.4s var(--ease); }
.cn-label { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); text-align: center; }
.chain-node.done .cn-label { color: var(--jade); }
.chain-node.done .cn-indicator { background: var(--jade); box-shadow: 0 0 10px rgba(29,186,116,0.5); }
.chain-node.active .cn-label { color: var(--gold); }
.chain-node.active .cn-indicator { background: var(--gold); box-shadow: 0 0 14px rgba(201,168,76,0.65); animation: goldpulse 1.8s infinite; }
@keyframes goldpulse { 0%,100%{box-shadow:0 0 0 2px rgba(201,168,76,0.4);}50%{box-shadow:0 0 0 9px rgba(201,168,76,0);} }
.chain-sep { width: 1px; background: var(--rim); flex-shrink: 0; margin: 14px 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  SYSTEM OF RECORD  */
.sor-section {
  background: var(--void); border-bottom: 1px solid var(--rim);
  padding: 120px 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
  position: relative;
}
.sor-section::before {
  content: '"'; position: absolute; top: 40px; left: 40px;
  font-family: var(--serif); font-size: 300px; line-height: 1;
  color: rgba(201,168,76,0.04); pointer-events: none; user-select: none;
}
.sor-quote {
  font-family: var(--serif); font-size: clamp(22px, 2.8vw, 36px); font-weight: 300;
  line-height: 1.55; color: var(--parchment); position: relative; z-index: 1;
}
.sor-quote em { font-style: italic; color: var(--gold); }
.sor-quote .rule {
  display: flex; align-items: center; gap: 16px; margin-top: 32px;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone);
}
.sor-quote .rule::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.sor-pillars { display: flex; flex-direction: column; gap: 2px; }
.sor-pillar {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 24px; border: 1px solid var(--rim); background: var(--rim2);
  transition: all 0.3s;
}
.sor-pillar:hover { background: var(--surface); border-color: rgba(201,168,76,0.25); transform: translateX(4px); }
.sp-idx {
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--gold); flex-shrink: 0; padding-top: 3px; min-width: 28px;
}
.sp-content-title { font-size: 14px; font-weight: 500; color: var(--parchment); margin-bottom: 4px; }
.sp-content-desc { font-size: 13px; font-weight: 300; color: var(--stone); line-height: 1.6; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  STATS  */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rim); border-bottom: 1px solid var(--rim);
  background: var(--abyss);
}
.stat-cell {
  padding: 56px 48px; border-right: 1px solid var(--rim);
  position: relative; overflow: hidden; transition: background 0.4s; cursor: default;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--deep); }
.stat-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.stat-cell:hover::before { transform: scaleX(1); }
.stat-val {
  font-family: var(--serif); font-size: 60px; font-weight: 700;
  letter-spacing: -2px; line-height: 1; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold-lo), var(--gold-hi));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-key {
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px;
}
.stat-desc { font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.65; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  SHARED SECTION  */
.S { padding: 120px 56px; position: relative; }
.section-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.section-meta::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-meta::after { content: ''; flex: 1; height: 1px; background: rgba(201,168,76,0.18); max-width: 80px; }
.sec-h {
  font-family: var(--serif); font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 700; line-height: 1.0; letter-spacing: -0.022em;
  color: var(--parchment); margin-bottom: 22px;
}
.sec-h em { font-style: italic; color: var(--gold); }
.sec-p {
  font-size: 16px; font-weight: 300; color: var(--stone);
  line-height: 1.88; max-width: 520px;
}
.sec-p strong { color: var(--parchment); font-weight: 500; }

/* REVEAL */
.rv { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; } .d6 { transition-delay: 0.6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  HOW IT WORKS  */
.how-section { background: var(--abyss); border-top: 1px solid var(--rim); padding: 0; }
.how-head { padding: 100px 56px 56px; }
.how-body { display: grid; grid-template-columns: 340px 1fr; }
.how-steps { border-right: 1px solid var(--rim); }
.hs {
  padding: 28px 36px; display: flex; gap: 18px; align-items: flex-start;
  cursor: pointer; border-bottom: 1px solid var(--rim);
  position: relative; transition: background 0.3s;
}
.hs::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease);
}
.hs.on { background: var(--deep); }
.hs.on::before { transform: scaleY(1); }
.hs-n { font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--slate); padding-top: 2px; flex-shrink: 0; transition: color 0.3s; }
.hs.on .hs-n { color: var(--gold); }
.hs-label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); margin-bottom: 5px; transition: color 0.3s; }
.hs.on .hs-label { color: var(--parchment); }
.hs-desc { font-size: 12px; font-weight: 300; color: var(--slate); line-height: 1.65; }
.hs.on .hs-desc { color: var(--stone); }
.how-panel-area { padding: 48px 56px; }
.hp { display: none; animation: panelFade 0.45s var(--ease); }
.hp.on { display: block; }
@keyframes panelFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hp-title { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--parchment); margin-bottom: 12px; letter-spacing: -0.5px; }
.hp-sub { font-size: 14px; font-weight: 300; color: var(--stone); line-height: 1.78; margin-bottom: 32px; max-width: 500px; }
.data-table { background: var(--deep); border: 1px solid var(--rim3); overflow: hidden; position: relative; }
.data-table::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.dt-head {
  padding: 12px 20px; background: rgba(0,0,0,0.25); border-bottom: 1px solid var(--rim);
  display: flex; align-items: center; justify-content: space-between;
}
.dt-head-title { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.dt-head-status { font-family: var(--mono); font-size: 9px; color: var(--jade); display: flex; align-items: center; gap: 5px; }
.dt-head-status::before { content: ''; width: 5px; height: 5px; background: var(--jade); border-radius: 50%; box-shadow: 0 0 6px var(--jade); }
.dt-row { display: flex; border-bottom: 1px solid var(--rim); transition: background 0.2s; }
.dt-row:last-child { border-bottom: none; }
.dt-row:hover { background: var(--rim2); }
.dt-k {
  width: 110px; flex-shrink: 0; padding: 13px 18px;
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate); border-right: 1px solid var(--rim);
}
.dt-v { padding: 13px 18px; font-size: 12px; font-weight: 300; color: var(--stone); flex: 1; line-height: 1.6; }
.tag { display: inline-block; padding: 1px 7px; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.06em; border-radius: 1px; }
.t-j { background: var(--jade-g); border: 1px solid rgba(29,186,116,0.3); color: var(--jade); }
.t-g { background: var(--gold-faint); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); }
.t-r { background: var(--ruby-g); border: 1px solid rgba(217,79,79,0.3); color: var(--ruby); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  ARCHITECTURE  */
.arch-section { background: var(--void); border-top: 1px solid var(--rim); }
.arch-diagram { margin-top: 64px; display: flex; flex-direction: column; gap: 3px; }
.arch-layer {
  border: 1px solid var(--rim); background: var(--abyss); overflow: hidden;
  position: relative; transition: all 0.3s;
}
.arch-layer:hover { border-color: rgba(201,168,76,0.2); }
.arch-layer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.arch-layer:hover::before { opacity: 0.4; }
.arch-layer-head {
  padding: 14px 24px; background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--rim);
  display: flex; align-items: center; justify-content: space-between;
}
.alh-title { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.alh-badge { font-family: var(--mono); font-size: 8px; font-weight: 500; letter-spacing: 0.14em; color: var(--slate); background: var(--rim2); border: 1px solid var(--rim); padding: 2px 10px; }
.arch-layer-body { padding: 20px 24px; }
.arch-cards { display: flex; gap: 3px; flex-wrap: wrap; }
.arch-card {
  flex: 1; min-width: 100px; padding: 16px 14px; border: 1px solid var(--rim);
  background: var(--deep); display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all 0.3s; cursor: default; position: relative; overflow: hidden;
}
.arch-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.arch-card:hover { background: var(--surface); border-color: rgba(201,168,76,0.3); transform: translateY(-3px); }
.arch-card:hover::after { transform: scaleX(1); }
.ac-ico { font-size: 22px; line-height: 1; }
.ac-lbl { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); text-align: center; line-height: 1.4; transition: color 0.3s; }
.arch-card:hover .ac-lbl { color: var(--parchment); }
/* OKG */
.okg-row { display: flex; align-items: center; justify-content: center; gap: 0; padding: 28px 0; position: relative; }
.okg-row::before { content: ''; position: absolute; top: 50%; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent); }
.okg-node { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; position: relative; z-index: 1; }
.okg-circle {
  width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid; cursor: default; transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.okg-circle:hover { transform: scale(1.1); }
.oc-law { border-color: rgba(61,125,228,0.6); background: rgba(61,125,228,0.1); color: var(--sapphire); }
.oc-obl { border-color: rgba(29,186,116,0.6); background: rgba(29,186,116,0.1); color: var(--jade); }
.oc-evi { border-color: rgba(201,168,76,0.6); background: rgba(201,168,76,0.1); color: var(--gold); }
.oc-app { border-color: rgba(144,104,224,0.6); background: rgba(144,104,224,0.1); color: var(--violet); }
.okg-circle:hover { box-shadow: 0 0 24px currentColor; }
.okg-arrow { font-size: 18px; color: rgba(201,168,76,0.4); padding: 0 8px; flex-shrink: 0; }
.okg-label { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); text-align: center; }
.okg-queries { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 16px; }
.okg-query { padding: 10px 14px; border: 1px solid var(--rim); background: var(--deep); font-family: var(--mono); font-size: 10px; color: var(--stone); }
.okg-query span { color: var(--jade); }
/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.svc-card {
  padding: 18px 12px; border: 1px solid var(--rim); background: var(--deep);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all 0.3s; cursor: default;
}
.svc-card:hover { background: var(--surface); border-color: rgba(201,168,76,0.3); transform: translateY(-2px); }
.svc-icon { font-size: 20px; }
.svc-label { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); text-align: center; line-height: 1.4; transition: color 0.3s; }
.svc-card:hover .svc-label { color: var(--gold); }
/* Compliance engine */
.ce-flow { display: flex; align-items: center; gap: 0; }
.ce-box {
  flex: 1; padding: 18px 16px; border: 1px solid var(--rim); background: var(--deep); text-align: center;
  transition: all 0.3s;
}
.ce-box:hover { background: var(--surface); border-color: rgba(201,168,76,0.3); }
.ce-box-title { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 5px; transition: color 0.3s; }
.ce-box:hover .ce-box-title { color: var(--gold); }
.ce-box-desc { font-size: 11px; font-weight: 300; color: var(--slate); }
.ce-arrow { padding: 0 12px; color: rgba(201,168,76,0.4); font-size: 18px; flex-shrink: 0; }
/* EIL */
.eil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.eil-card {
  padding: 22px 18px; border: 1px solid var(--rim); background: var(--deep);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all 0.3s; cursor: default;
}
.eil-card:hover { background: var(--surface); border-color: rgba(29,186,116,0.3); }
.eil-icon { font-size: 24px; }
.eil-label { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); text-align: center; transition: color 0.3s; }
.eil-card:hover .eil-label { color: var(--jade); }
/* DB */
.db-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.db-card {
  padding: 20px 14px; border: 1px solid var(--rim); background: var(--deep);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all 0.3s; cursor: default;
}
.db-card:hover { background: var(--surface); border-color: rgba(144,104,224,0.3); }
.db-icon { font-size: 24px; }
.db-label { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); text-align: center; transition: color 0.3s; }
.db-card:hover .db-label { color: var(--violet); }
/* RAG sidebar */
.arch-with-rag { display: grid; grid-template-columns: 1fr 190px; gap: 3px; }
.rag-card { border: 1px solid rgba(144,104,224,0.25); background: rgba(144,104,224,0.04); padding: 20px 18px; }
.rag-title { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; display: flex; align-items: center; gap: 7px; }
.rag-title::before { content: ''; width: 6px; height: 6px; background: var(--violet); border-radius: 50%; }
.rag-item { font-size: 12px; font-weight: 300; color: var(--stone); padding: 8px 0; border-bottom: 1px solid var(--rim); display: flex; align-items: center; gap: 8px; }
.rag-item:last-child { border-bottom: none; }
.rag-item::before { content: ''; width: 3px; height: 3px; background: var(--violet); border-radius: 50%; flex-shrink: 0; }
/* Layer arrows */
.layer-connector { display: flex; align-items: center; justify-content: center; padding: 4px 0; }
.layer-connector svg { opacity: 0.45; }
/* Regulators */
.reg-band {
  border: 1px solid rgba(29,186,116,0.22); background: rgba(29,186,116,0.04);
  padding: 20px 24px; display: flex; align-items: center; gap: 20px;
}
.reg-band-icon { font-size: 30px; }
.reg-band-title { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--jade); margin-bottom: 4px; }
.reg-band-desc { font-size: 13px; font-weight: 300; color: var(--stone); }
/* Integration top row */
.int-top { display: flex; gap: 3px; margin-bottom: 3px; }
.int-top-chip {
  flex: 1; padding: 12px 14px; border: 1px solid var(--rim); background: var(--deep);
  font-family: var(--mono); font-size: 10px; font-weight: 500; color: var(--slate);
  text-align: center; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: all 0.3s; cursor: default;
}
.int-top-chip:hover { color: var(--gold); border-color: rgba(201,168,76,0.3); background: var(--surface); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  AUDIT PACK  */
.pack-section { background: var(--ink); border-top: 1px solid var(--rim); }
.pack-grid { display: grid; grid-template-columns: 1fr 470px; gap: 80px; align-items: center; }
.artifact-showcase {
  background: var(--abyss); border: 1px solid var(--rim3);
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.1);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.artifact-showcase::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--gold-hi) 35%, var(--gold) 65%, transparent 95%);
}
.artifact-showcase:hover { transform: translateY(-6px); box-shadow: 0 60px 100px rgba(0,0,0,0.7), 0 0 40px rgba(201,168,76,0.08); }
.as-head {
  padding: 20px 26px; border-bottom: 1px solid var(--rim);
  background: rgba(0,0,0,0.3);
}
.as-id-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.as-id { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--parchment); letter-spacing: 0.03em; }
.as-locked {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--jade); background: var(--jade-g); border: 1px solid rgba(29,186,116,0.25); padding: 3px 10px;
}
.as-meta { font-family: var(--mono); font-size: 10px; color: var(--slate); }
.as-item { display: flex; align-items: center; border-bottom: 1px solid var(--rim); transition: background 0.2s; }
.as-item:last-child { border-bottom: none; }
.as-item:hover { background: var(--rim2); }
.as-item-status { width: 50px; height: 54px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--rim); font-size: 15px; }
.as-item-label { flex: 1; padding: 15px 18px; font-size: 12.5px; font-weight: 300; color: var(--stone); }
.as-item-badge { padding: 0 18px; font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: 0.14em; color: var(--slate); flex-shrink: 0; }
.as-footer {
  padding: 15px 26px; background: rgba(0,0,0,0.3); border-top: 1px solid var(--rim);
  display: flex; align-items: center; justify-content: space-between;
}
.as-footer-lock { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--jade); display: flex; align-items: center; gap: 6px; }
.as-footer-hash { font-family: var(--mono); font-size: 9px; color: var(--slate); }
.pack-features { display: flex; flex-direction: column; gap: 0; }
.pf {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--rim);
}
.pf:last-child { border-bottom: none; padding-bottom: 0; }
.pf-ico {
  width: 46px; height: 46px; flex-shrink: 0; background: var(--deep);
  border: 1px solid var(--rim); display: flex; align-items: center; justify-content: center;
  font-size: 19px; transition: all 0.3s;
}
.pf:hover .pf-ico { border-color: var(--gold); background: var(--gold-faint); }
.pf-title { font-size: 15px; font-weight: 500; color: var(--parchment); margin-bottom: 6px; }
.pf-desc { font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.68; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  ENFORCEMENT  */
.enf-section { background: var(--abyss); border-top: 1px solid var(--rim); position: relative; overflow: hidden; }
.enf-section::after {
  content: 'BLOCKED'; position: absolute; right: -40px; bottom: -60px;
  font-family: var(--serif); font-size: 300px; font-weight: 700; letter-spacing: -20px;
  color: rgba(217,79,79,0.022); pointer-events: none; user-select: none; line-height: 1;
}
.enf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.enf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ruby-g); border: 1px solid rgba(217,79,79,0.32); padding: 6px 16px; margin-bottom: 28px;
}
.enf-eyebrow-dot { width: 6px; height: 6px; background: var(--ruby); border-radius: 50%; animation: rubyPulse 2.2s infinite; }
@keyframes rubyPulse { 0%,100%{box-shadow:0 0 0 2px rgba(217,79,79,0.3);}50%{box-shadow:0 0 0 8px rgba(217,79,79,0);} }
.enf-eyebrow-text { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ruby); }
.enf-rules { margin-top: 32px; display: flex; flex-direction: column; gap: 2px; }
.enf-rule {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--rim); background: var(--rim2); transition: all 0.3s;
}
.enf-rule:hover { border-color: rgba(217,79,79,0.32); background: rgba(217,79,79,0.04); transform: translateX(6px); }
.enf-rule-icon {
  width: 28px; height: 28px; flex-shrink: 0; border: 1px solid rgba(217,79,79,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: var(--ruby); transition: background 0.3s;
}
.enf-rule:hover .enf-rule-icon { background: var(--ruby-g); }
.enf-rule-text { font-size: 13.5px; font-weight: 300; color: var(--stone); line-height: 1.58; }
.enf-rule-text strong { color: var(--parchment); font-weight: 500; }
.blocked-terminal {
  background: var(--void); border: 1px solid rgba(217,79,79,0.25);
  position: relative; overflow: hidden;
  box-shadow: 0 0 48px rgba(217,79,79,0.07), inset 0 1px 0 rgba(255,255,255,0.03);
}
.bt::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ruby), transparent);
}
.bt-bar { padding: 11px 18px; background: rgba(0,0,0,0.4); border-bottom: 1px solid var(--rim); display: flex; align-items: center; gap: 8px; }
.bt-title { flex: 1; text-align: center; font-family: var(--mono); font-size: 10px; color: var(--slate); letter-spacing: 0.05em; }
.bt-body { padding: 18px 22px; font-family: var(--mono); font-size: 11.5px; }
.bl { display: flex; gap: 10px; line-height: 2.0; }
.bl-ts { color: var(--slate); flex-shrink: 0; width: 50px; font-size: 10.5px; }
.bl-err { color: var(--ruby); } .bl-dim { color: var(--slate); }
.bt-verdict {
  margin: 14px 22px 20px; padding: 14px 18px;
  background: rgba(217,79,79,0.06); border: 1px solid rgba(217,79,79,0.22); border-left: 3px solid var(--ruby);
}
.bt-vt { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ruby); letter-spacing: 0.05em; margin-bottom: 6px; }
.bt-vs { font-size: 12px; font-weight: 300; color: var(--slate); line-height: 1.6; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  EVIDENCE VAULT  */
.vault-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.vault-card {
  background: var(--abyss); border: 1px solid var(--rim); padding: 40px 30px;
  position: relative; overflow: hidden; transition: all 0.4s var(--ease); cursor: default;
}
.vault-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.vault-card:hover { background: var(--deep); transform: translateY(-5px); box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
.vault-card:hover::after { transform: scaleX(1); }
.vc-num { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 20px; }
.vc-title { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--parchment); margin-bottom: 14px; }
.vc-desc { font-size: 13.5px; font-weight: 300; color: var(--slate); line-height: 1.72; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  WHO IT'S FOR  */
.who-section { background: var(--deep); border-top: 1px solid var(--rim); }
.who-tabs { display: flex; border-bottom: 1px solid var(--rim); margin-bottom: 0; }
.wt {
  padding: 17px 32px; font-size: 13px; font-weight: 400; letter-spacing: 0.04em;
  color: var(--slate); cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.25s; user-select: none;
}
.wt.on { color: var(--gold); border-bottom-color: var(--gold); }
.wt:hover { color: var(--parchment); }
.who-pane { display: none; padding: 64px 0 0; animation: panelFade 0.5s var(--ease); }
.who-pane.on { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.who-role { font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--parchment); letter-spacing: -1.2px; margin-bottom: 16px; line-height: 1.04; }
.who-desc { font-size: 15px; font-weight: 300; color: var(--stone); line-height: 1.82; margin-bottom: 32px; }
.who-benefits { display: flex; flex-direction: column; gap: 0; }
.who-benefit {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--rim); font-size: 13.5px; font-weight: 300; color: var(--stone);
}
.who-benefit:last-child { border-bottom: none; }
.wba { color: var(--gold); font-family: var(--mono); font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.who-metrics { display: flex; flex-direction: column; gap: 2px; }
.who-metric { background: var(--abyss); border: 1px solid var(--rim); padding: 28px 32px; transition: all 0.3s; }
.who-metric:hover { background: var(--surface); }
.wm-val { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--gold); letter-spacing: -1px; margin-bottom: 6px; }
.wm-label { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  TESTIMONIALS  */
.testi-section { background: var(--void); border-top: 1px solid var(--rim); padding: 100px 56px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
.testi-card {
  background: var(--abyss); border: 1px solid var(--rim); padding: 36px 30px;
  position: relative; transition: all 0.3s;
}
.testi-card:hover { background: var(--deep); }
.testi-quote-mark { font-family: var(--serif); font-size: 80px; line-height: 0.6; color: var(--gold-faint); margin-bottom: 20px; }
.testi-text { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--cream); line-height: 1.65; margin-bottom: 28px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--rim); }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--rim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--gold);
}
.testi-name { font-size: 13px; font-weight: 500; color: var(--parchment); margin-bottom: 3px; }
.testi-role { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  SECURITY  */
.sec-section { background: var(--abyss); border-top: 1px solid var(--rim); }
.sec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.sec-card {
  background: var(--void); border: 1px solid var(--rim); padding: 40px 30px;
  position: relative; transition: all 0.3s;
}
.sec-card:hover { background: var(--deep); }
.sec-card-rule { width: 2px; height: 32px; background: var(--gold); margin-bottom: 22px; }
.sec-card-num { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 7px; }
.sec-card-title { font-size: 15.5px; font-weight: 500; color: var(--parchment); margin-bottom: 10px; }
.sec-card-desc { font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.72; }
.compliance-marks { display: flex; gap: 2px; flex-wrap: wrap; margin-top: 44px; }
.cm {
  flex: 1; min-width: 88px; padding: 14px 12px; text-align: center;
  border: 1px solid var(--rim); background: var(--void);
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate); transition: all 0.25s; cursor: default;
}
.cm:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-faint); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  INTEGRATIONS  */
.int-section { background: var(--ink); border-top: 1px solid var(--rim); }
.int-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.int-card {
  border: 1px solid var(--rim); background: var(--abyss); padding: 30px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all 0.35s; cursor: default;
}
.int-card:hover { background: var(--deep); border-color: rgba(201,168,76,0.3); transform: translateY(-4px); }
.int-icon { font-size: 26px; }
.int-name { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); text-align: center; transition: color 0.3s; }
.int-card:hover .int-name { color: var(--gold); }
.int-points { display: flex; flex-direction: column; gap: 2px; margin-top: 36px; }
.int-point { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--rim); background: var(--abyss); transition: background 0.2s; }
.int-point:hover { background: var(--deep); }
.int-pt-ico { width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--rim); display: flex; align-items: center; justify-content: center; font-size: 14px; background: var(--surface); }
.int-pt-title { font-size: 13px; font-weight: 500; color: var(--parchment); margin-bottom: 3px; }
.int-pt-desc { font-size: 12px; font-weight: 300; color: var(--slate); line-height: 1.6; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  RESOURCES  */
/* res-section rebuilt — see below */



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  CTA  */
.cta-section {
  padding: 160px 56px; text-align: center; position: relative; overflow: hidden;
  background: var(--void); border-top: 1px solid var(--rim);
}
#CTAC { position: absolute; inset: 0; z-index: 0; }
.cta-inner { position: relative; z-index: 1; }
.cta-tag { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--rim); padding: 7px 20px; margin-bottom: 32px; }
.cta-tag span { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); }
.cta-h { font-family: var(--serif); font-size: clamp(44px, 5.5vw, 82px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.0; color: var(--parchment); max-width: 820px; margin: 0 auto 24px; }
.cta-h em { font-style: italic; color: var(--gold); }
.cta-p { font-size: 17px; font-weight: 300; color: var(--stone); max-width: 420px; margin: 0 auto 52px; line-height: 1.82; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 14px; }
.cta-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 80px; position: relative; z-index: 1; }
.cta-pillar {
  padding: 28px 24px; border: 1px solid var(--rim);
  background: rgba(10, 14, 24, 0.65); backdrop-filter: blur(12px);
  display: flex; align-items: flex-start; gap: 14px;
}
.cta-pillar-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.cta-pillar-title { font-size: 14px; font-weight: 500; color: var(--parchment); margin-bottom: 4px; }
.cta-pillar-desc { font-size: 12px; font-weight: 300; color: var(--slate); line-height: 1.65; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  DEMO OVERLAY  */
#DEMO {
  position: fixed; inset: 0; z-index: 900; display: none;
  align-items: center; justify-content: center;
  background: rgba(6,9,17,0.94); backdrop-filter: blur(24px);
}
#DEMO.open { display: flex; }
.demo-modal {
  width: min(920px, 96vw); max-height: 94vh; overflow-y: auto;
  background: var(--abyss); border: 1px solid var(--rim3);
  display: grid; grid-template-columns: 1fr 1fr; position: relative;
  box-shadow: 0 60px 120px rgba(0,0,0,0.88), 0 0 0 1px rgba(201,168,76,0.12);
  animation: modalPop 0.5s var(--ease);
}
@keyframes modalPop { from { opacity: 0; transform: scale(0.94) translateY(24px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.demo-modal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), var(--gold), transparent); }
.dm-info { padding: 52px 46px; background: var(--deep); border-right: 1px solid var(--rim); }
.dm-info .sec-h { font-size: 30px; margin-bottom: 12px; }
.dm-info .sec-p { font-size: 13.5px; margin-bottom: 0; }
.dm-promises { margin-top: 36px; display: flex; flex-direction: column; }
.dm-promise { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rim); }
.dm-promise:last-child { border-bottom: none; }
.dm-pn { font-family: var(--mono); font-size: 9px; font-weight: 600; color: var(--gold); flex-shrink: 0; padding-top: 2px; }
.dm-pt { font-size: 12.5px; font-weight: 500; color: var(--parchment); margin-bottom: 3px; }
.dm-pd { font-size: 11.5px; font-weight: 300; color: var(--slate); line-height: 1.58; }
.dm-form { padding: 52px 46px; }
.dm-form h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--parchment); margin-bottom: 28px; letter-spacing: -0.3px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 16px; }
.fl { display: block; font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.fi, .fs {
  width: 100%; padding: 11px 14px; background: var(--surface); border: 1px solid var(--rim);
  color: var(--parchment); font-family: var(--sans); font-size: 13px; font-weight: 300;
  outline: none; transition: border-color 0.25s, background 0.25s; appearance: none;
}
.fi:focus, .fs:focus { border-color: var(--gold); background: var(--panel); }
.fi::placeholder { color: var(--slate); }
.f-submit {
  width: 100%; background: var(--gold); color: var(--ink);
  padding: 13px; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; border: none; cursor: pointer;
  margin-top: 6px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background 0.25s, transform 0.3s var(--ease);
}
.f-submit:hover { background: #dbb83a; transform: translateY(-2px); }
.f-note { margin-top: 10px; font-size: 11px; font-weight: 300; color: var(--slate); text-align: center; }
.dm-close {
  position: absolute; top: 18px; right: 18px; z-index: 1;
  width: 34px; height: 34px; border: 1px solid var(--rim); background: transparent;
  color: var(--slate); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.25s;
}
.dm-close:hover { border-color: var(--gold); color: var(--parchment); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  REGULATION BAND  */
.reg-coverage {
  background: var(--deep); border-top: 1px solid var(--rim); border-bottom: 1px solid var(--rim);
  padding: 18px 56px; overflow: hidden;
}
.reg-coverage-inner { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.reg-label { font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); white-space: nowrap; margin-right: 14px; }
.reg-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border: 1px solid var(--rim); background: var(--abyss);
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--stone); white-space: nowrap; transition: all 0.3s; cursor: default;
}
.reg-chip:hover { border-color: rgba(201,168,76,0.4); color: var(--gold); background: var(--gold-faint); }
.reg-chip-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.rc-india { background: var(--jade); }
.rc-global { background: var(--sapphire); }
.reg-chip-sep { width: 1px; height: 24px; background: var(--rim); flex-shrink: 0; margin: 0 8px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  COMPARISON  */
.compare-section { background: var(--void); border-top: 1px solid var(--rim); }
.compare-table { margin-top: 56px; border: 1px solid var(--rim); overflow: hidden; }
.ct-head { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; background: var(--abyss); border-bottom: 1px solid var(--rim); }
.ct-head-cell { padding: 18px 24px; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); border-right: 1px solid var(--rim); }
.ct-head-cell:last-child { border-right: none; }
.ct-head-cell.legalo { color: var(--gold); background: var(--gold-faint); }
.ct-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; border-bottom: 1px solid var(--rim); transition: background 0.2s; }
.ct-row:last-child { border-bottom: none; }
.ct-row:hover { background: var(--rim2); }
.ct-cell { padding: 15px 24px; border-right: 1px solid var(--rim); display: flex; align-items: center; }
.ct-cell:last-child { border-right: none; }
.ct-cell.feature { font-size: 12.5px; font-weight: 300; color: var(--stone); }
.ct-cell.feature strong { color: var(--parchment); font-weight: 500; display: block; margin-bottom: 2px; font-size: 13px; }
.ct-cell.legalo { background: rgba(201,168,76,0.03); }
.ct-yes { color: var(--jade); font-family: var(--mono); font-size: 11px; font-weight: 700; }
.ct-partial { color: #FEBC2E; font-family: var(--mono); font-size: 11px; }
.ct-no { color: var(--ruby); font-family: var(--mono); font-size: 11px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  PRICING  */
.pricing-section { background: var(--ink); border-top: 1px solid var(--rim); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
.pricing-card {
  background: var(--abyss); border: 1px solid var(--rim); padding: 44px 36px;
  position: relative; overflow: hidden; transition: all 0.4s var(--ease); display: flex; flex-direction: column;
}
.pricing-card.featured { background: var(--deep); border-color: rgba(201,168,76,0.4); }
.pricing-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(0,0,0,0.5); }
.pricing-featured-badge {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); padding: 3px 10px;
}
.pricing-tier { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.pricing-name { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--parchment); margin-bottom: 8px; }
.pricing-desc { font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.65; margin-bottom: 28px; }
.pricing-price { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--rim); }
.pricing-price-val { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--parchment); line-height: 1; letter-spacing: -1.5px; }
.pricing-price-note { font-family: var(--mono); font-size: 10px; color: var(--slate); margin-top: 7px; letter-spacing: 0.05em; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0; flex: 1; margin-bottom: 32px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rim2); font-size: 12.5px; font-weight: 300; color: var(--stone); line-height: 1.5; }
.pricing-feature:last-child { border-bottom: none; }
.pf-check { color: var(--jade); font-family: var(--mono); font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.pf-dash { color: var(--slate); font-family: var(--mono); font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.pricing-cta {
  display: block; text-align: center; padding: 13px 24px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s; cursor: pointer; border: none; font-family: var(--sans);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.pricing-cta.ghost { background: transparent; color: var(--stone); border: 1px solid var(--rim3); }
.pricing-cta.ghost:hover { border-color: var(--gold); color: var(--parchment); }
.pricing-cta.prime { background: var(--gold); color: var(--ink); }
.pricing-cta.prime:hover { background: var(--gold-hi); transform: translateY(-2px); }
.pricing-note { text-align: center; margin-top: 36px; font-size: 12px; font-weight: 300; color: var(--slate); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  FAQ  */
.faq-section { background: var(--abyss); border-top: 1px solid var(--rim); }
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 100px; align-items: start; margin-top: 56px; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--rim); background: var(--void); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(201,168,76,0.3); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; font-size: 13.5px; font-weight: 400; color: var(--parchment);
  line-height: 1.45; user-select: none; transition: background 0.2s;
}
.faq-q:hover { background: var(--rim2); }
.faq-icon {
  width: 22px; height: 22px; border: 1px solid var(--rim); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; color: var(--slate); transition: all 0.3s;
}
.faq-item.open .faq-icon { border-color: var(--gold); color: var(--gold); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a-inner { padding: 0 22px 20px; }
.faq-a strong { color: var(--stone); font-weight: 500; }
.faq-sidebar { position: sticky; top: 100px; }
.faq-sidebar-card { background: var(--deep); border: 1px solid var(--rim); padding: 36px 32px; border-left: 3px solid var(--gold); }
.faq-sidebar-title { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--parchment); margin-bottom: 14px; }
.faq-sidebar-desc { font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.72; margin-bottom: 28px; }
.faq-sidebar-items { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.faq-sidebar-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--rim); background: var(--abyss); font-size: 12px; font-weight: 300; color: var(--stone); }
.faq-sidebar-item::before { content: '✓'; color: var(--jade); font-family: var(--mono); font-size: 10px; flex-shrink: 0; }

/* ━━━━━━━━━━━━━━━━━━━━  EVIDENCE LIFECYCLE  */
.evlc-section { background: var(--deep); border-top: 1px solid var(--rim); }
.evlc-pipeline { display: flex; align-items: stretch; gap: 2px; margin-top: 56px; }
.evlc-stage {
  flex: 1; background: var(--abyss); border: 1px solid var(--rim);
  padding: 28px 20px; position: relative; transition: all 0.3s; cursor: default;
}
.evlc-stage:hover { background: var(--surface); }
.evlc-stage.locked-stage { border-color: rgba(29,186,116,0.3); background: rgba(29,186,116,0.04); }
.evlc-stage.rejected-stage { border-color: rgba(217,79,79,0.25); background: rgba(217,79,79,0.03); }
.evlc-num { font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.2em; color: var(--slate); margin-bottom: 14px; }
.evlc-icon { font-size: 22px; margin-bottom: 12px; }
.evlc-name { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--parchment); margin-bottom: 8px; }
.evlc-desc { font-size: 12px; font-weight: 300; color: var(--slate); line-height: 1.6; }
.evlc-arrow { display: flex; align-items: center; justify-content: center; padding: 0; color: rgba(201,168,76,0.3); font-size: 16px; flex-shrink: 0; align-self: center; }
.evlc-note { font-family: var(--mono); font-size: 9px; color: var(--jade); margin-top: 10px; }
.evlc-note-r { font-family: var(--mono); font-size: 9px; color: var(--ruby); margin-top: 10px; }
.evlc-controls { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 40px; }
.evlc-control { background: var(--void); border: 1px solid var(--rim); padding: 18px 20px; }
.evlc-control-title { font-size: 13px; font-weight: 500; color: var(--parchment); margin-bottom: 6px; }
.evlc-control-desc { font-size: 12px; font-weight: 300; color: var(--slate); line-height: 1.6; }
.evlc-control-badge { display: inline-block; margin-top: 8px; font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.14em; padding: 3px 9px; border: 1px solid; }
.ecb-gold { color: var(--gold); border-color: rgba(201,168,76,0.35); background: var(--gold-faint); }
.ecb-jade { color: var(--jade); border-color: rgba(29,186,116,0.35); background: var(--jade-g); }
.ecb-ruby { color: var(--ruby); border-color: rgba(217,79,79,0.35); background: var(--ruby-g); }

/* ━━━━━━━━━━━━━━━━━━━━  AUDIT READINESS SCORE  */
.readiness-section { background: var(--void); border-top: 1px solid var(--rim); }
.readiness-grid { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: start; margin-top: 56px; }
.readiness-score-card {
  background: var(--abyss); border: 1px solid var(--rim3);
  position: relative; overflow: hidden;
}
.readiness-score-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
}
.rsc-head { padding: 24px 28px; border-bottom: 1px solid var(--rim); display: flex; align-items: center; justify-content: space-between; }
.rsc-title { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.rsc-live { font-family: var(--mono); font-size: 8px; color: var(--jade); background: var(--jade-g); border: 1px solid rgba(29,186,116,0.25); padding: 2px 8px; }
.rsc-score-row { padding: 28px 28px 20px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--rim); }
.rsc-big { font-family: var(--serif); font-size: 72px; font-weight: 700; line-height: 1; letter-spacing: -3px; background: linear-gradient(135deg, var(--gold-lo), var(--gold-hi)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rsc-label { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.rsc-status { font-size: 13px; font-weight: 300; color: var(--stone); }
.rsc-components { padding: 20px 28px; display: flex; flex-direction: column; gap: 14px; }
.rsc-comp { display: flex; align-items: center; gap: 14px; }
.rsc-comp-label { font-size: 12px; font-weight: 300; color: var(--stone); min-width: 160px; flex-shrink: 0; }
.rsc-bar { flex: 1; height: 3px; background: var(--rim); border-radius: 2px; overflow: hidden; }
.rsc-fill { height: 100%; border-radius: 2px; }
.rsc-pct { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--slate); min-width: 36px; text-align: right; }
.readiness-features { display: flex; flex-direction: column; gap: 2px; }
.rf-item { background: var(--abyss); border: 1px solid var(--rim); padding: 22px 24px; transition: all 0.3s; }
.rf-item:hover { background: var(--surface); border-color: rgba(201,168,76,0.25); transform: translateX(4px); }
.rf-item-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.rf-icon { font-family: var(--mono); font-size: 11px; color: var(--gold); flex-shrink: 0; }
.rf-title { font-size: 13px; font-weight: 500; color: var(--parchment); }
.rf-desc { font-size: 12px; font-weight: 300; color: var(--slate); line-height: 1.62; padding-left: 26px; }

/* ━━━━━━━━━━━━━━━━━━━━  AUDITOR PORTAL  */
.portal-section { background: var(--ink); border-top: 1px solid var(--rim); }
.portal-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
.portal-tier {
  background: var(--abyss); border: 1px solid var(--rim); padding: 40px 32px;
  position: relative; transition: all 0.4s var(--ease); display: flex; flex-direction: column;
}
.portal-tier:hover { background: var(--deep); }
.portal-tier.featured-tier { border-color: rgba(201,168,76,0.35); }
.portal-tier.featured-tier::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
}
.pt-eyebrow { font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.pt-eyebrow-cxo { color: var(--sapphire); }
.pt-eyebrow-int { color: var(--gold); }
.pt-eyebrow-ext { color: var(--jade); }
.pt-name { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--parchment); margin-bottom: 10px; letter-spacing: -0.5px; line-height: 1.1; }
.pt-desc { font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.65; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--rim); }
.pt-pages { display: flex; flex-direction: column; gap: 0; flex: 1; }
.pt-page { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rim2); font-size: 12.5px; font-weight: 300; color: var(--stone); line-height: 1.45; }
.pt-page:last-child { border-bottom: none; }
.pt-tick { font-family: var(--mono); font-size: 10px; flex-shrink: 0; margin-top: 1px; }
.pt-tick-cxo { color: var(--sapphire); }
.pt-tick-int { color: var(--gold); }
.pt-tick-ext { color: var(--jade); }
.pt-blocked { color: var(--ruby); text-decoration: line-through; opacity: 0.5; }
.pt-restrict { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rim2); font-size: 12px; font-weight: 300; line-height: 1.45; }
.pt-restrict .pt-tick { color: var(--ruby); }
.pt-restrict .pt-label { color: rgba(217,79,79,0.7); }
.pt-badge-row { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rim); }
.pt-badge { display: inline-block; font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.14em; padding: 4px 10px; border: 1px solid; }
.pb-cxo { color: var(--sapphire); border-color: rgba(61,125,228,0.35); background: rgba(61,125,228,0.06); }
.pb-int { color: var(--gold); border-color: rgba(201,168,76,0.35); background: var(--gold-faint); }
.pb-ext { color: var(--jade); border-color: rgba(29,186,116,0.35); background: var(--jade-g); }
.portal-qa { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 56px; }
.pqa-card { background: var(--abyss); border: 1px solid var(--rim); padding: 32px 28px; }
.pqa-title { font-size: 15px; font-weight: 500; color: var(--parchment); margin-bottom: 10px; }
.pqa-desc { font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.68; margin-bottom: 16px; }
.pqa-steps { display: flex; flex-direction: column; gap: 2px; }
.pqa-step { display: flex; gap: 12px; padding: 10px 14px; border: 1px solid var(--rim); background: var(--deep); font-size: 12px; font-weight: 300; color: var(--stone); align-items: flex-start; }
.pqa-step-n { font-family: var(--mono); font-size: 9px; color: var(--gold); flex-shrink: 0; padding-top: 1px; }

/* ━━━━━━━━━━━━━━━━━━━━  IMPACT ANALYSIS  */
.impact-section { background: var(--abyss); border-top: 1px solid var(--rim); }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 56px; }
.impact-card {
  background: var(--void); border: 1px solid var(--rim); padding: 36px 30px;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.impact-card:hover { background: var(--deep); }
.impact-query { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--jade); margin-bottom: 16px; display: flex; gap: 8px; }
.impact-query::before { content: 'QUERY:'; color: var(--slate); flex-shrink: 0; }
.impact-answer { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--parchment); line-height: 1.4; margin-bottom: 18px; font-style: italic; }
.impact-detail { font-size: 12.5px; font-weight: 300; color: var(--slate); line-height: 1.68; }
.impact-detail strong { color: var(--stone); font-weight: 500; }
.impact-chain { display: flex; align-items: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.ic-node { font-family: var(--mono); font-size: 9px; font-weight: 600; padding: 4px 10px; border: 1px solid var(--rim); background: var(--deep); color: var(--stone); }
.ic-arrow { color: rgba(201,168,76,0.4); font-size: 12px; }
.ic-node.red { border-color: rgba(217,79,79,0.4); color: var(--ruby); background: var(--ruby-g); }
.ic-node.gold { border-color: rgba(201,168,76,0.4); color: var(--gold); background: var(--gold-faint); }

/* ━━━━━━━━━━━━━━━━━━━━  FOOTER  */
footer { background: var(--abyss); border-top: 1px solid var(--rim); }
.footer-top { display: grid; grid-template-columns: 280px 1fr 1fr 1fr; gap: 56px; padding: 70px 56px 56px; border-bottom: 1px solid var(--rim); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-mark { width: 28px; height: 28px; }
.footer-wordmark { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--parchment); }
.footer-tagline { font-size: 13px; font-weight: 300; color: var(--slate); line-height: 1.72; max-width: 210px; }
.footer-col-head { font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--slate); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.36); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--parchment); }
.footer-bottom { padding: 20px 56px; display: flex; align-items: center; justify-content: space-between; }
.footer-legal { font-family: var(--mono); font-size: 9px; color: rgba(255,255,255,0.18); letter-spacing: 0.07em; }
.footer-seals { display: flex; gap: 6px; }
.footer-seal { border: 1px solid var(--rim); padding: 4px 11px; font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  RESPONSIVE  */
@media (max-width: 1100px) {
  nav { padding: 0 32px; gap: 24px; }
  .hero { padding: 120px 32px 80px; gap: 40px; grid-template-columns: 1fr 420px; }
  .S { padding: 80px 32px; }
  .chain-strip { padding: 0 32px; }
  .sor-section { padding: 80px 32px; gap: 60px; }
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid var(--rim); }
  .arch-diagram { padding: 0; }
  .arch-with-rag { grid-template-columns: 1fr; }
  .rag-card { margin: 0 24px 20px !important; }
  .pack-grid { grid-template-columns: 1fr; gap: 48px; }
  .artifact-showcase { max-width: 560px; }
  .enf-grid { gap: 48px; }
  .readiness-grid { grid-template-columns: 1fr; gap: 40px; }
  .portal-tiers { grid-template-columns: 1fr; gap: 2px; }
  .portal-qa { grid-template-columns: 1fr; gap: 2px; }
  .impact-grid { grid-template-columns: 1fr; gap: 2px; }
  .int-layout { grid-template-columns: 1fr; gap: 40px; }
  .int-grid { max-width: 400px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testi-section { padding: 80px 32px; }
  .testi-grid { grid-template-columns: 1fr; gap: 2px; }
  .sec-cards { grid-template-columns: repeat(2,1fr); }
  .evlc-pipeline { flex-direction: column; }
  .evlc-arrow { transform: rotate(90deg); padding: 4px 0; align-self: center; }
  .evlc-controls { grid-template-columns: 1fr; }
  .who-pane.on { grid-template-columns: 1fr; gap: 40px; }
  .compare-table { overflow-x: auto; }
  .ct-head, .ct-row { min-width: 680px; }
  .res-grid { grid-template-columns: repeat(4,1fr) !important; }
  .cta-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  #CUR { display: none; }
  #HAMBURGER { display: flex !important; align-items: center; justify-content: center; }
  .mobile-nav-link { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--parchment); text-decoration: none; letter-spacing: -0.3px; padding: 10px 0; transition: color 0.2s; }
  .mobile-nav-link:hover { color: var(--gold); }
  nav { padding: 0 20px; gap: 12px; height: 56px; }
  .nm { display: none; }
  .btn-nav-ghost { display: none; }
  .logo-type { font-size: 17px; }
  .ticker { padding: 5px 20px; flex-wrap: wrap; gap: 4px; }
  .t-right { gap: 6px; }
  .t-badge { font-size: 7px; padding: 1px 6px; }
  .hero { grid-template-columns: 1fr; padding: 100px 20px 60px; min-height: auto; gap: 40px; }
  .h-right { display: none; }
  .h-headline { font-size: clamp(42px, 10vw, 64px); }
  .h-sub { font-size: 15px; }
  .h-ctas { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-prime, .btn-ghost { padding: 13px 24px; font-size: 11px; }
  .chain-strip { padding: 0 20px; flex-wrap: wrap; }
  .chain-sep { display: none; }
  .chain-node { padding: 16px 12px; min-width: 80px; }
  .sor-section { grid-template-columns: 1fr; padding: 60px 20px; gap: 40px; }
  .sor-quote { font-size: 20px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 36px 24px; }
  .stat-val { font-size: 44px; }
  .S { padding: 60px 20px; }
  .sec-h { font-size: clamp(28px, 7vw, 48px); }
  .how-section { padding: 0; }
  .how-body { grid-template-columns: 1fr; }
  .how-steps { border-right: none; border-bottom: 1px solid var(--rim); padding-bottom: 24px; }
  .how-panel-area { padding: 28px 20px; }
  .arch-layer { margin-bottom: 4px; }
  .svc-grid { grid-template-columns: repeat(3,1fr); }
  .okg-row { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .eil-grid { grid-template-columns: repeat(2,1fr); }
  .db-grid { grid-template-columns: repeat(2,1fr); }
  .ce-flow { flex-direction: column; }
  .ce-arrow { transform: rotate(90deg); }
  .pack-grid { grid-template-columns: 1fr; gap: 32px; }
  .pack-features { margin-top: 0; }
  .pf { gap: 14px; }
  .enf-grid { grid-template-columns: 1fr; gap: 32px; }
  .evlc-pipeline { flex-direction: column; }
  .evlc-controls { grid-template-columns: 1fr; }
  .readiness-grid { grid-template-columns: 1fr; gap: 32px; }
  .rsc-big { font-size: 56px; }
  .vault-cards { grid-template-columns: 1fr; }
  .who-tabs { flex-wrap: wrap; }
  .wt { padding: 12px 16px; font-size: 12px; flex: 1; min-width: 130px; text-align: center; }
  .who-pane.on { grid-template-columns: 1fr; gap: 32px; }
  .who-role { font-size: 34px; }
  .who-metrics { flex-direction: row; flex-wrap: wrap; gap: 2px; }
  .who-metric { flex: 1; min-width: 140px; }
  .testi-section { padding: 60px 20px; }
  .testi-grid { grid-template-columns: 1fr; }
  .sec-cards { grid-template-columns: 1fr; }
  .compliance-marks { flex-wrap: wrap; gap: 3px; }
  .int-layout { grid-template-columns: 1fr; gap: 32px; }
  .int-grid { grid-template-columns: repeat(3,1fr); max-width: 100%; }
  .res-grid { grid-template-columns: repeat(2,1fr) !important; gap: 3px; }
  .compare-section, .pricing-section, .faq-section { overflow-x: hidden; }
  .compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
  .pricing-card { padding: 32px 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-sidebar { position: static; }
  .portal-tiers { grid-template-columns: 1fr; }
  .portal-qa { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 80px 20px; }
  .cta-h { font-size: clamp(32px, 8vw, 56px); }
  .cta-pillars { grid-template-columns: 1fr; gap: 3px; }
  .cta-btns { flex-direction: column; align-items: center; gap: 10px; }
  footer { overflow: hidden; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 32px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 10px; text-align: center; }
  .footer-seals { flex-wrap: wrap; justify-content: center; }
  .demo-modal { grid-template-columns: 1fr; max-height: 96vh; }
  .dm-info { display: none; }
  .dm-form { padding: 36px 28px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  #GRAIN { display: none; }
  .sor-section::before { font-size: 180px; }
  .okg-queries { grid-template-columns: 1fr; }
  .reg-coverage { padding: 14px 20px; }
}

@media (max-width: 480px) {
  .stats-band { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--rim); }
  .stat-cell:last-child { border-bottom: none; }
  .who-tabs { flex-direction: column; }
  .wt { text-align: left; min-width: auto; }
  .h-headline { font-size: clamp(36px, 9vw, 52px); }
  .int-grid { grid-template-columns: repeat(2,1fr); }
  .res-grid { grid-template-columns: 1fr 1fr !important; }
  .portal-tier { padding: 28px 20px; }
  .pt-name { font-size: 24px; }
  .pricing-card { padding: 28px 20px; }
  .footer-seals { gap: 4px; }
}

/* ═══════════════════════════════ LEGAL MODALS ═══════════════════════════════ */
#PRIVACY_MODAL,#TOS_MODAL{
  position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;
  background:rgba(6,9,17,0.92);backdrop-filter:blur(16px);padding:24px;
}
#PRIVACY_MODAL.open,#TOS_MODAL.open{display:flex}
.legal-modal-box{
  background:var(--abyss);border:1px solid var(--rim3);max-width:760px;width:100%;
  max-height:88vh;overflow:hidden;display:flex;flex-direction:column;
  position:relative;
}
.legal-modal-box::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent 5%,var(--gold-hi) 35%,var(--gold) 65%,transparent 95%);
}
.legal-head{
  padding:20px 28px;border-bottom:1px solid var(--rim);
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(0,0,0,0.3);flex-shrink:0;
}
.legal-head-title{font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold)}
.legal-close{
  background:none;border:1px solid var(--rim);color:var(--slate);
  width:32px;height:32px;cursor:pointer;font-size:14px;
  display:flex;align-items:center;justify-content:center;transition:all 0.2s;
}
.legal-close:hover{border-color:var(--gold);color:var(--parchment)}
.legal-body{padding:28px;overflow-y:auto;flex:1}
.legal-body h1{font-family:var(--serif);font-size:28px;font-weight:700;color:var(--parchment);margin-bottom:6px;letter-spacing:-0.3px}
.legal-body .legal-date{font-family:var(--mono);font-size:9px;color:var(--slate);letter-spacing:0.12em;margin-bottom:28px}
.legal-body h2{font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:0.16em;text-transform:uppercase;color:var(--gold);margin:24px 0 10px}
.legal-body p,.legal-body li{font-size:13.5px;font-weight:300;color:var(--stone);line-height:1.82;margin-bottom:12px}
.legal-body li{margin-left:20px;margin-bottom:8px}
.legal-body ul{margin-bottom:14px}
.legal-body strong{color:var(--parchment);font-weight:500}
.legal-body a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.legal-foot{padding:16px 28px;border-top:1px solid var(--rim);background:rgba(0,0,0,0.3);flex-shrink:0}
.legal-foot p{font-family:var(--mono);font-size:9px;color:var(--slate);letter-spacing:0.06em;margin:0}


/* ━━━━━━━━━━━━━━━━━━━━  RESOURCES — REBUILT ━━━━━━━━━━━━━━━━━━━━ */
.res-section { background: var(--deep); border-top: 1px solid var(--rim); }
.res-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 56px; }
.res-featured {
  background: var(--abyss); border: 1px solid rgba(201,168,76,0.2);
  position: relative; overflow: hidden; grid-column: span 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.res-featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
}
.res-feat-info { padding: 44px 48px; border-right: 1px solid var(--rim); }
.res-feat-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); background: var(--gold-faint);
  border: 1px solid rgba(201,168,76,0.25); padding: 4px 12px; margin-bottom: 20px;
}
.res-feat-title {
  font-family: var(--serif); font-size: 32px; font-weight: 700;
  color: var(--parchment); margin-bottom: 14px; letter-spacing: -0.4px; line-height: 1.15;
}
.res-feat-desc {
  font-size: 14px; font-weight: 300; color: var(--stone); line-height: 1.78;
  margin-bottom: 28px;
}
.res-feat-contents { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.res-feat-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--rim); background: var(--deep);
  font-size: 12.5px; font-weight: 300; color: var(--stone); line-height: 1.5;
  transition: all 0.25s;
}
.res-feat-item:hover { border-color: rgba(201,168,76,0.2); background: var(--surface); }
.res-feat-item-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.res-feat-item-text strong { color: var(--parchment); font-weight: 500; display: block; margin-bottom: 2px; }
.res-feat-preview { padding: 32px 36px; background: rgba(0,0,0,0.2); }
.res-preview-label {
  font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 16px;
}
.res-pack-mock {
  background: var(--void); border: 1px solid var(--rim3); overflow: hidden;
  position: relative;
}
.res-pack-mock::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rp-head {
  padding: 14px 18px; background: rgba(0,0,0,0.4); border-bottom: 1px solid var(--rim);
  display: flex; align-items: center; justify-content: space-between;
}
.rp-head-id { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--parchment); }
.rp-head-lock { font-family: var(--mono); font-size: 8px; color: var(--jade); background: var(--jade-g); border: 1px solid rgba(29,186,116,0.25); padding: 2px 8px; }
.rp-section { border-bottom: 1px solid var(--rim); }
.rp-section:last-child { border-bottom: none; }
.rp-sec-head {
  padding: 10px 18px; background: rgba(201,168,76,0.04);
  display: flex; align-items: center; justify-content: space-between;
}
.rp-sec-title { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.rp-sec-count { font-family: var(--mono); font-size: 8px; color: var(--slate); }
.rp-row { display: flex; align-items: center; gap: 10px; padding: 9px 18px; border-top: 1px solid var(--rim); }
.rp-row-status { font-size: 11px; flex-shrink: 0; }
.rp-row-label { font-size: 11px; font-weight: 300; color: var(--stone); flex: 1; }
.rp-row-tag { font-family: var(--mono); font-size: 7px; font-weight: 700; letter-spacing: 0.1em; padding: 2px 6px; border: 1px solid rgba(29,186,116,0.3); color: var(--jade); background: var(--jade-g); }
.rp-footer { padding: 12px 18px; background: rgba(0,0,0,0.3); border-top: 1px solid var(--rim); display: flex; align-items: center; justify-content: space-between; }
.rp-foot-hash { font-family: var(--mono); font-size: 8.5px; color: var(--slate); }
.rp-foot-seal { font-family: var(--mono); font-size: 8px; color: var(--jade); }
.res-notify-form { display: flex; gap: 3px; margin-top: 20px; }
.res-notify-input {
  flex: 1; background: var(--deep); border: 1px solid var(--rim); color: var(--parchment);
  padding: 10px 14px; font-family: var(--sans); font-size: 12px; outline: none;
  transition: border-color 0.2s;
}
.res-notify-input:focus { border-color: var(--gold); }
.res-notify-input::placeholder { color: var(--slate); }
.res-notify-btn {
  background: var(--gold); color: var(--ink); border: none; cursor: pointer;
  padding: 10px 18px; font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.07em; white-space: nowrap; transition: all 0.2s;
}
.res-notify-btn:hover { background: var(--gold-hi); }
.res-card-v2 {
  background: var(--abyss); border: 1px solid var(--rim);
  padding: 32px 28px; position: relative; overflow: hidden; transition: all 0.3s;
  display: flex; flex-direction: column;
}
.res-card-v2:hover { background: var(--surface); border-color: rgba(201,168,76,0.22); transform: translateY(-3px); }
.res-card-v2::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.res-card-v2:hover::before { transform: scaleX(1); }
.rc2-type { font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.rc2-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--parchment); margin-bottom: 10px; letter-spacing: -0.3px; line-height: 1.2; }
.rc2-desc { font-size: 13px; font-weight: 300; color: var(--stone); line-height: 1.72; margin-bottom: 20px; flex: 1; }
.rc2-topics { display: flex; flex-direction: column; gap: 1px; margin-bottom: 20px; }
.rc2-topic { display: flex; align-items: flex-start; gap: 9px; padding: 8px 12px; border: 1px solid var(--rim); background: var(--deep); font-size: 12px; font-weight: 300; color: var(--slate); line-height: 1.45; }
.rc2-topic::before { content: '—'; font-family: var(--mono); font-size: 10px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.rc2-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--rim); margin-top: auto; }
.rc2-soon { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate); display: flex; align-items: center; gap: 6px; }
.rc2-soon::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.5; }
.rc2-notify { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); cursor: pointer; background: none; border: 1px solid rgba(201,168,76,0.3); padding: 5px 12px; transition: all 0.2s; }
.rc2-notify:hover { background: var(--gold-faint); }
@media (max-width:1100px){
  .res-featured { grid-column: span 2; grid-template-columns: 1fr; }
  .res-feat-info { border-right: none; border-bottom: 1px solid var(--rim); }
  .res-main-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:768px){
  .res-main-grid { grid-template-columns: 1fr; }
  .res-featured { grid-column: span 1; }
  .res-feat-info { padding: 28px 24px; }
  .res-feat-preview { padding: 24px; }
}


/* Official-logo responsive tuning */
@media (max-width: 1180px) {
  nav { gap: 22px; }
  .logo { width: 205px; }
  .nm { padding-inline: 9px; }
}
@media (max-width: 900px) {
  .logo { width: 190px; padding: 4px 8px; }
  .logo-tm-img { height: 35px; }
}
@media (max-width: 768px) {
  nav { min-height: 60px; height: 60px; }
  .logo { width: 176px; padding: 4px 7px; border-radius: 7px; }
  .logo-tm-img { height: 34px; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 420px) {
  nav { padding-inline: 14px; }
  .logo { width: 154px; }
  .logo-tm-img { height: 30px; }
  #HAMBURGER { margin-left: 4px !important; }
}

/* ══════════════════════════════
   FOOTER BRAND LOGO
══════════════════════════════ */

.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: min(100%, 285px);
  padding: 9px 12px;
  margin-bottom: 24px;

  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(201, 168, 76, 0.06);

  text-decoration: none;

  transition:
    transform 0.3s var(--ease),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 168, 76, 0.55);

  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(201, 168, 76, 0.14);
}

.footer-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78px;

  object-fit: contain;
  object-position: center;
}

.footer-tagline {
  max-width: 340px;

  color: var(--stone);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
}

.footer-legal-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tablet */
@media (max-width: 960px) {
  .footer-logo {
    width: min(100%, 250px);
  }

  .footer-logo-img {
    max-height: 68px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .footer-brand {
    width: 100%;
  }

  .footer-logo {
    width: min(100%, 230px);
    margin-bottom: 20px;
  }

  .footer-logo-img {
    max-height: 62px;
  }

  .footer-tagline {
    max-width: 100%;
  }
}
/* ═══════════════════════════════════════════════════════════════
   LEGALO — PRODUCTION REFINEMENT LAYER
   Preserves the existing HTML and class names.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Refined colour system: deeper canvas, clearer readable neutrals. */
  --ink: #05070d;
  --void: #080b13;
  --abyss: #0b101b;
  --deep: #111827;
  --surface: #172238;
  --panel: #1e2a42;
  --lift: #293852;

  --parchment: #f4efe4;
  --cream: #ded5c2;
  --stone: #aaa18f;
  --slate: #777065;

  --gold: #d0ae52;
  --gold-hi: #efcf76;
  --gold-lo: #9d7626;
  --gold-glow: rgba(208, 174, 82, 0.18);
  --gold-faint: rgba(208, 174, 82, 0.075);

  --jade: #28c883;
  --jade-g: rgba(40, 200, 131, 0.12);
  --ruby: #ed6262;
  --ruby-g: rgba(237, 98, 98, 0.12);
  --sapphire: #5a91ee;
  --violet: #a47ae7;

  --rim: rgba(255, 255, 255, 0.075);
  --rim2: rgba(255, 255, 255, 0.045);
  --rim3: rgba(255, 255, 255, 0.13);

  --page-gutter: clamp(20px, 4.5vw, 72px);
  --section-space: clamp(76px, 8vw, 132px);
  --content-max: 1440px;
  --nav-height: 72px;

  --radius-xs: 5px;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 24px 64px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 46px 110px rgba(0, 0, 0, 0.64);
  --focus-ring: 0 0 0 3px rgba(208, 174, 82, 0.23);
}

html {
  color-scheme: dark;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100%;
  cursor: auto;
  background:
    radial-gradient(circle at 12% -8%, rgba(208, 174, 82, 0.08), transparent 31rem),
    radial-gradient(circle at 92% 6%, rgba(90, 145, 238, 0.055), transparent 30rem),
    var(--ink);
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
[role='button'],
.hs,
.wt,
.faq-q {
  -webkit-tap-highlight-color: transparent;
}

section,
footer {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

::selection {
  background: var(--gold-hi);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--void);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-lo), var(--gold));
  border: 2px solid var(--void);
  border-radius: 999px;
}

/* Custom cursor only where a precise pointing device exists. */
#CUR {
  display: none;
  mix-blend-mode: screen;
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  #CUR {
    display: block;
  }

  :where(a, button, input, select, textarea, [role='button']) {
    cursor: none;
  }
}

/* ───────────────────────────── NAVIGATION ───────────────────────────── */
nav {
  height: var(--nav-height);
  padding-inline: var(--page-gutter);
  gap: clamp(18px, 2.8vw, 44px);
  background: rgba(5, 7, 13, 0.78);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
  backdrop-filter: blur(26px) saturate(1.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02), 0 12px 42px rgba(0, 0, 0, 0.18);
}

nav.solid {
  background: rgba(5, 7, 13, 0.94);
  box-shadow: 0 1px 0 var(--rim), 0 18px 56px rgba(0, 0, 0, 0.38);
}

.logo {
  width: clamp(174px, 15vw, 224px);
  padding: 5px 9px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(208, 174, 82, 0.04);
}

.logo-tm-img {
  height: 37px;
}

.nav-menu {
  min-width: 0;
  justify-content: center;
}

.nm {
  white-space: nowrap;
  color: color-mix(in srgb, var(--stone) 90%, white 10%);
}

.nm::after {
  bottom: 1px;
}

.nav-actions {
  flex: 0 0 auto;
}

.btn-nav-ghost,
.btn-nav-prime,
.btn-prime,
.btn-ghost,
.pricing-cta,
.f-submit,
.res-notify-btn,
.rc2-notify {
  min-height: 42px;
  align-items: center;
  justify-content: center;
}

.btn-nav-ghost,
.btn-ghost,
.pricing-cta.ghost {
  background: rgba(255, 255, 255, 0.018);
}

/* ───────────────────────────── TICKER ───────────────────────────── */
.ticker {
  min-height: 30px;
  padding-inline: var(--page-gutter);
  background: linear-gradient(90deg, #20b978, var(--jade), #31d28d);
  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.16);
}

/* ───────────────────────────── HERO ───────────────────────────── */
.hero {
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 520px);
  gap: clamp(42px, 6vw, 96px);
  padding: clamp(136px, 13vw, 178px) var(--page-gutter) clamp(84px, 8vw, 122px);
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 34%, rgba(208, 174, 82, 0.075), transparent 32%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.12), rgba(5, 7, 13, 0.02) 54%, rgba(5, 7, 13, 0.2));
}

.h-left {
  max-width: 850px;
}

.h-pretag {
  margin-bottom: clamp(24px, 3vw, 38px);
}

.h-headline {
  max-width: 980px;
  margin-bottom: clamp(24px, 2.5vw, 34px);
  font-size: clamp(52px, 6.25vw, 100px);
  line-height: 0.94;
  text-wrap: balance;
}

.h-headline .gold-text {
  filter: drop-shadow(0 8px 24px rgba(208, 174, 82, 0.09));
}

.h-headline .dim {
  color: #8f8779;
}

.h-sub {
  max-width: 590px;
  margin-bottom: 42px;
  color: var(--stone);
  text-wrap: pretty;
}

.h-ctas {
  flex-wrap: wrap;
}

.btn-prime,
.btn-ghost {
  min-width: 172px;
}

.btn-prime {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, #b78a2f);
  box-shadow: 0 10px 30px rgba(208, 174, 82, 0.14);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
}

.proof-card,
.artifact-showcase,
.blocked-terminal,
.readiness-score-card,
.res-featured,
.demo-modal,
.legal-modal-box {
  border-radius: var(--radius-md);
}

.proof-card {
  background:
    radial-gradient(circle at 100% 0, rgba(208, 174, 82, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 36%),
    var(--abyss);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(208, 174, 82, 0.09);
}

.proof-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 58px 122px rgba(0, 0, 0, 0.76), 0 0 0 1px rgba(208, 174, 82, 0.16), 0 0 48px rgba(208, 174, 82, 0.06);
}

.pc-bar,
.bt-bar {
  min-height: 46px;
}

.pc-body,
.bt-body {
  font-variant-numeric: tabular-nums;
}

/* ───────────────────────────── SHARED LAYOUT ───────────────────────────── */
.S {
  padding: var(--section-space) var(--page-gutter);
}

.sor-section {
  padding: var(--section-space) var(--page-gutter);
  gap: clamp(54px, 7vw, 112px);
}

.how-head,
.testi-section,
.cta-section {
  padding-inline: var(--page-gutter);
}

.sec-h,
.cta-h,
.sor-quote,
.who-role,
.hp-title,
.res-feat-title,
.rc2-title {
  text-wrap: balance;
}

.sec-p,
.who-desc,
.pf-desc,
.vc-desc,
.sec-card-desc,
.int-pt-desc,
.testi-text,
.res-feat-desc,
.rc2-desc {
  text-wrap: pretty;
}

.section-meta {
  gap: 12px;
}

.section-meta::after {
  max-width: 110px;
}

/* ───────────────────────────── SURFACES / CARDS ───────────────────────────── */
:where(
  .sor-pillar,
  .stat-cell,
  .data-table,
  .arch-layer,
  .arch-card,
  .svc-card,
  .ce-box,
  .eil-card,
  .db-card,
  .rag-card,
  .vault-card,
  .who-metric,
  .testi-card,
  .sec-card,
  .int-card,
  .int-point,
  .pricing-card,
  .faq-item,
  .faq-sidebar-card,
  .evlc-stage,
  .rf-item,
  .portal-tier,
  .pqa-card,
  .impact-card,
  .res-card-v2,
  .res-feat-item,
  .res-pack-mock
) {
  border-radius: var(--radius-sm);
}

:where(
  .sor-pillar,
  .arch-card,
  .svc-card,
  .ce-box,
  .eil-card,
  .db-card,
  .vault-card,
  .who-metric,
  .testi-card,
  .sec-card,
  .int-card,
  .int-point,
  .pricing-card,
  .faq-item,
  .rf-item,
  .portal-tier,
  .pqa-card,
  .impact-card,
  .res-card-v2
) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

@media (hover: hover) {
  :where(
    .sor-pillar,
    .arch-card,
    .svc-card,
    .ce-box,
    .eil-card,
    .db-card,
    .vault-card,
    .who-metric,
    .testi-card,
    .sec-card,
    .int-card,
    .int-point,
    .pricing-card,
    .rf-item,
    .portal-tier,
    .pqa-card,
    .impact-card,
    .res-card-v2
  ):hover {
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }
}

.stats-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent), var(--abyss);
}

.stat-cell {
  min-height: 232px;
  padding: clamp(38px, 4vw, 60px) clamp(26px, 3vw, 48px);
}

.stat-val {
  font-variant-numeric: tabular-nums;
  filter: drop-shadow(0 10px 24px rgba(208, 174, 82, 0.08));
}

/* ───────────────────────────── HOW IT WORKS ───────────────────────────── */
.how-body {
  grid-template-columns: minmax(300px, 370px) minmax(0, 1fr);
}

.hs {
  min-height: 108px;
}

.hs.on {
  background: linear-gradient(90deg, rgba(208, 174, 82, 0.055), transparent 68%), var(--deep);
}

.how-panel-area {
  min-width: 0;
  padding: clamp(36px, 4vw, 64px);
}

.data-table {
  box-shadow: var(--shadow-sm);
}

/* ───────────────────────────── ARCHITECTURE ───────────────────────────── */
.arch-diagram {
  gap: 6px;
}

.arch-layer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent), var(--abyss);
}

.arch-cards,
.svc-grid,
.eil-grid,
.db-grid,
.int-grid,
.vault-cards,
.testi-grid,
.sec-cards,
.pricing-grid,
.portal-tiers,
.portal-qa,
.impact-grid,
.res-main-grid {
  gap: 6px;
}

.okg-circle {
  background-color: rgba(255, 255, 255, 0.012);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.012);
}

/* Correct the terminal top-rule even when the optional .bt class is absent. */
.blocked-terminal::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ruby), transparent);
}

/* ───────────────────────────── TABLES / FORMS ───────────────────────────── */
.compare-table {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.ct-head {
  position: sticky;
  top: 0;
  z-index: 2;
}

.fi,
.fs,
.res-notify-input {
  min-height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.035);
}

.fi:hover,
.fs:hover,
.res-notify-input:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.fi:focus,
.fs:focus,
.res-notify-input:focus {
  border-color: var(--gold);
  box-shadow: var(--focus-ring);
}

/* ───────────────────────────── FAQ ───────────────────────────── */
.faq-layout {
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 104px);
}

.faq-q {
  min-height: 66px;
}

.faq-item.open {
  background: linear-gradient(180deg, rgba(208, 174, 82, 0.035), transparent 52%), var(--void);
}

/* ───────────────────────────── CTA ───────────────────────────── */
.cta-section {
  padding-block: clamp(104px, 12vw, 174px);
  background:
    radial-gradient(circle at 50% 20%, rgba(208, 174, 82, 0.09), transparent 28rem),
    var(--void);
}

.cta-pillars {
  max-width: 1120px;
  margin-inline: auto;
}

.cta-pillar {
  border-radius: var(--radius-sm);
  background: rgba(11, 16, 27, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* ───────────────────────────── MODALS ───────────────────────────── */
#DEMO,
#PRIVACY_MODAL,
#TOS_MODAL {
  overscroll-behavior: contain;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.demo-modal,
.legal-modal-box {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(208, 174, 82, 0.09);
}

.dm-close,
.legal-close {
  border-radius: var(--radius-xs);
}

/* ───────────────────────────── RESOURCES ───────────────────────────── */
.res-featured {
  background:
    radial-gradient(circle at 90% 0, rgba(208, 174, 82, 0.055), transparent 35%),
    var(--abyss);
  box-shadow: var(--shadow-md);
}

.res-card-v2 {
  min-height: 100%;
}

.res-notify-form {
  gap: 8px;
}

/* ───────────────────────────── FOOTER ───────────────────────────── */
footer {
  background:
    linear-gradient(180deg, rgba(208, 174, 82, 0.02), transparent 22%),
    var(--abyss);
}

.footer-top {
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(34px, 5vw, 72px);
  padding: clamp(56px, 6vw, 84px) var(--page-gutter) clamp(42px, 5vw, 64px);
}

.footer-logo {
  width: min(100%, 272px);
  margin-bottom: 22px;
  border-radius: var(--radius-sm);
}

.footer-logo-img {
  max-height: 72px;
}

.footer-tagline {
  max-width: 360px;
  color: var(--stone);
}

.footer-col-head {
  color: #8b8376;
}

.footer-links {
  gap: 12px;
}

.footer-links a {
  color: rgba(244, 239, 228, 0.53);
  line-height: 1.45;
}

.footer-bottom {
  min-height: 68px;
  padding-inline: var(--page-gutter);
  gap: 20px;
}

.footer-legal {
  color: rgba(244, 239, 228, 0.34);
}

.footer-seal {
  border-radius: 999px;
  color: #8c8477;
}

/* ───────────────────────────── RESPONSIVE: LAPTOP ───────────────────────────── */
@media (max-width: 1180px) {
  :root {
    --nav-height: 66px;
  }

  nav {
    gap: 18px;
  }

  .logo {
    width: 188px;
  }

  .nm {
    padding-inline: 8px;
    font-size: 10px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 450px);
    gap: 44px;
  }

  .pack-grid,
  .enf-grid,
  .int-layout {
    gap: 52px;
  }
}

/* Move to the mobile navigation before the desktop header becomes cramped. */
@media (max-width: 960px) {
  #HAMBURGER {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .nav-menu,
  .btn-nav-ghost {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 124px;
  }

  .h-left {
    max-width: 820px;
  }

  .h-right {
    display: block;
    width: min(100%, 680px);
  }

  .proof-card {
    transform: none;
  }

  .sor-section,
  .pack-grid,
  .enf-grid,
  .readiness-grid,
  .int-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ───────────────────────────── RESPONSIVE: TABLET / MOBILE ───────────────────────────── */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --page-gutter: 20px;
    --section-space: 68px;
  }

  body {
    cursor: auto;
  }

  #CUR,
  #GRAIN {
    display: none !important;
  }

  nav {
    padding-inline: var(--page-gutter);
    background: rgba(5, 7, 13, 0.92);
  }

  .logo {
    width: 168px;
  }

  .ticker {
    min-height: 28px;
    padding-block: 5px;
  }

  .ticker .t-right {
    display: none;
  }

  .hero {
    padding: 108px var(--page-gutter) 68px;
    gap: 36px;
  }

  .hero::before {
    width: 2px;
  }

  .h-headline {
    font-size: clamp(42px, 12vw, 66px);
    line-height: 0.98;
  }

  .h-headline .dim {
    font-size: 0.78em;
  }

  .h-sub {
    font-size: 15px;
    line-height: 1.72;
    margin-bottom: 34px;
  }

  .h-ctas {
    align-items: stretch;
  }

  .btn-prime,
  .btn-ghost {
    width: 100%;
    min-width: 0;
  }

  .h-right {
    width: 100%;
  }

  .proof-card {
    border-radius: var(--radius-sm);
  }

  .pc-body {
    padding: 16px;
    font-size: 10.5px;
    overflow-x: auto;
  }

  .chain-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-inline: var(--page-gutter);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .chain-strip::-webkit-scrollbar {
    display: none;
  }

  .chain-node {
    flex: 0 0 132px;
    scroll-snap-align: start;
  }

  .chain-sep {
    display: block;
  }

  .how-body {
    grid-template-columns: 1fr;
  }

  .how-steps {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .how-steps::-webkit-scrollbar {
    display: none;
  }

  .hs {
    flex: 0 0 min(82vw, 286px);
    min-height: 112px;
    border-right: 1px solid var(--rim);
    scroll-snap-align: start;
  }

  .how-panel-area {
    padding: 30px var(--page-gutter);
  }

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

  .arch-with-rag {
    grid-template-columns: 1fr;
  }

  .rag-card {
    margin: 0 !important;
  }

  .okg-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .okg-row::before,
  .okg-arrow {
    display: none;
  }

  .okg-circle {
    width: 68px;
    height: 68px;
  }

  .stats-band,
  .vault-cards,
  .testi-grid,
  .sec-cards,
  .pricing-grid,
  .portal-tiers,
  .portal-qa,
  .impact-grid,
  .res-main-grid {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rim);
  }

  .stat-cell:last-child {
    border-bottom: 0;
  }

  .who-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .who-tabs::-webkit-scrollbar {
    display: none;
  }

  .wt {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .compare-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ct-head,
  .ct-row {
    min-width: 720px;
  }

  .res-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .res-feat-info {
    border-right: 0;
    border-bottom: 1px solid var(--rim);
  }

  .res-notify-form {
    flex-direction: column;
  }

  .res-notify-btn {
    width: 100%;
  }

  .cta-pillars {
    margin-top: 52px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-block: 20px;
  }
}

@media (max-width: 520px) {
  :root {
    --page-gutter: 16px;
    --section-space: 60px;
  }

  nav {
    padding-inline: 14px;
  }

  .logo {
    width: 150px;
    padding: 4px 6px;
  }

  .logo-tm-img {
    height: 30px;
  }

  .h-pretag-line {
    width: 24px;
  }

  .h-pretag-text {
    font-size: 8.5px;
    letter-spacing: 0.15em;
  }

  .h-headline {
    font-size: clamp(38px, 12.5vw, 54px);
  }

  .refuse-pill {
    max-width: 100%;
    white-space: normal;
  }

  .pc-title {
    display: none;
  }

  .tl,
  .bl {
    min-width: 430px;
  }

  .sor-section::before {
    font-size: 140px;
  }

  .stat-val {
    font-size: 50px;
  }

  .eil-grid,
  .db-grid,
  .int-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ce-box,
  .portal-tier,
  .pricing-card,
  .impact-card,
  .res-card-v2,
  .sec-card,
  .vault-card,
  .testi-card {
    padding-inline: 22px;
  }

  .demo-modal {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .dm-form,
  .legal-body {
    padding: 28px 20px;
  }

  #PRIVACY_MODAL,
  #TOS_MODAL {
    padding: 10px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo {
    width: min(100%, 240px);
  }

  .footer-seals {
    justify-content: center;
  }
}

/* ───────────────────────────── ACCESSIBILITY / PERFORMANCE ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  #CUR,
  #PB,
  #GRAIN,
  #HC,
  #CTAC {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --stone: #c8bfad;
    --slate: #a59d90;
    --rim: rgba(255, 255, 255, 0.16);
    --rim3: rgba(255, 255, 255, 0.24);
  }
}

@media print {
  #CUR,
  #PB,
  #GRAIN,
  nav,
  .ticker,
  .cta-section,
  footer,
  #DEMO,
  #PRIVACY_MODAL,
  #TOS_MODAL {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
    cursor: auto;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}


/* ═══════════════════════════════════════
   PREMIUM LEGALO NAVBAR BRAND LOCKUP
═══════════════════════════════════════ */

.brand-lockup {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;

  width: auto;
  min-width: max-content;
  padding: 0;

  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  text-decoration: none;
  overflow: visible;
  isolation: isolate;

  transition:
    transform 260ms var(--ease),
    opacity 260ms ease;
}

/* Small official seal container */
.brand-seal {
  position: relative;
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 4px;

  border: 1px solid rgba(232, 200, 106, 0.62);
  border-radius: 13px;

  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 1),
      rgba(237, 232, 220, 0.96) 65%,
      rgba(213, 206, 188, 0.92) 100%
    );

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(201, 168, 76, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  overflow: hidden;

  transition:
    transform 320ms var(--ease),
    border-color 320ms ease,
    box-shadow 320ms ease;
}

/* Premium highlight */
.brand-seal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.5),
      transparent 42%
    );
}

/* Gold base accent */
.brand-seal::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 3px;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-hi),
    transparent
  );

  opacity: 0.7;
}

.brand-seal img {
  position: relative;
  z-index: 0;

  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;

  transform: scale(1.12);

  filter:
    saturate(1.08)
    contrast(1.05)
    drop-shadow(0 3px 5px rgba(6, 9, 17, 0.2));

  transition:
    transform 380ms var(--ease),
    filter 380ms ease;
}

/* Text section */
.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;

  min-width: 0;
  white-space: nowrap;
}

/* Main brand name */
.brand-name {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.17em;

  color: var(--parchment);

  text-shadow:
    0 1px 16px rgba(237, 232, 220, 0.08);

  transition:
    color 280ms ease,
    letter-spacing 320ms var(--ease);
}

/* Brand descriptor */
.brand-kicker {
  font-family: var(--mono);
  font-size: 6.8px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.19em;

  color: var(--gold);
  opacity: 0.82;

  transition:
    color 280ms ease,
    opacity 280ms ease;
}

/* Subtle brand underline */
.brand-lockup::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 1px;
  bottom: -8px;

  height: 1px;

  background: linear-gradient(
    90deg,
    var(--gold),
    rgba(201, 168, 76, 0)
  );

  opacity: 0.25;
  transform: scaleX(0.35);
  transform-origin: left;

  transition:
    transform 400ms var(--ease),
    opacity 300ms ease;
}

/* Hover */
.brand-lockup:hover {
  transform: translateY(-1px);
}

.brand-lockup:hover .brand-seal {
  transform: translateY(-1px) rotate(-1.5deg);

  border-color: rgba(232, 200, 106, 0.92);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.44),
    0 0 22px rgba(201, 168, 76, 0.13),
    0 0 0 1px rgba(201, 168, 76, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.brand-lockup:hover .brand-seal img {
  transform: scale(1.17);

  filter:
    saturate(1.12)
    contrast(1.08)
    drop-shadow(0 4px 7px rgba(6, 9, 17, 0.25));
}

.brand-lockup:hover .brand-name {
  color: var(--gold-hi);
  letter-spacing: 0.185em;
}

.brand-lockup:hover .brand-kicker {
  color: var(--parchment);
  opacity: 0.95;
}

.brand-lockup:hover::after {
  opacity: 0.7;
  transform: scaleX(1);
}

/* Keyboard accessibility */
.brand-lockup:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 4px;
}

/* Tablet */
@media (max-width: 1180px) {
  .brand-lockup {
    gap: 10px;
  }

  .brand-seal {
    width: 41px;
    height: 41px;
    flex-basis: 41px;
  }

  .brand-name {
    font-size: 18px;
    letter-spacing: 0.14em;
  }

  .brand-kicker {
    display: none;
  }

  .brand-lockup::after {
    left: 51px;
    bottom: -6px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .brand-lockup {
    gap: 9px;
  }

  .brand-seal {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 17px;
    letter-spacing: 0.12em;
  }

  .brand-lockup::after {
    display: none;
  }
}

/* Very small mobile */
@media (max-width: 390px) {
  .brand-copy {
    display: none;
  }

  .brand-seal {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}