/* Meridian Verity Group — Worldclass Static Site
   Design goals: security-grade, forward-thinking, procurement-ready, Apple-level polish.
   No framework. No build. Minimal JS. High accessibility. */

:root{
  --max: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --border: rgba(255,255,255,.10);
  --border-2: rgba(255,255,255,.16);
  --shadow: 0 28px 80px rgba(0,0,0,.55);
  --shadow-soft: 0 14px 40px rgba(0,0,0,.38);
  --blur: 18px;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --bg: #06070a;
  --bg2: #0a0d14;
  --text: #eef0f7;
  --muted: rgba(238,240,247,.72);
  --muted2: rgba(238,240,247,.56);
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --glass: rgba(12,14,20,.55);

  --brand: #7c5cff;
  --brand2: #43d3ff;
  --ok: #2ee59d;
  --warn: #ffb020;
  --bad: #ff4d67;

  --link: #b2a6ff;

  /* Subtle edge color used for scroll-hint gradients (matches page background). */
  --edge-hint: rgba(6,7,10,.92);

  color-scheme: dark;
}

:root[data-theme="light"]{
  --bg: #fbfcff;
  --bg2: #f1f4ff;
  --text: #0c1020;
  --muted: rgba(12,16,32,.72);
  --muted2: rgba(12,16,32,.56);
  --card: rgba(12,16,32,.05);
  --card2: rgba(12,16,32,.08);
  --glass: rgba(255,255,255,.72);
  --border: rgba(12,16,32,.10);
  --border-2: rgba(12,16,32,.14);
  --shadow: 0 28px 80px rgba(12,16,32,.12);
  --shadow-soft: 0 14px 40px rgba(12,16,32,.10);
  --link: #4a36ff;

  --edge-hint: rgba(241,244,255,.92);

  color-scheme: light;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--font-sans);
  background: radial-gradient(1100px 600px at 80% -30%, rgba(124,92,255,.30), transparent 60%),
              radial-gradient(900px 520px at 10% 0%, rgba(67,211,255,.20), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x:hidden;
}


/* Subtle grid + noise (Apple-grade polish, still lightweight) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: .14;
  mask-image: radial-gradient(900px 520px at 55% 5%, rgba(0,0,0,1), transparent 70%);
  -webkit-mask-image: radial-gradient(900px 520px at 55% 5%, rgba(0,0,0,1), transparent 70%);
}
:root[data-theme="light"] body::before{
  background-image:
    linear-gradient(to right, rgba(12,16,32,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,16,32,.08) 1px, transparent 1px);
  opacity: .12;
}
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('/assets/noise.png');
  opacity: .055;
  mix-blend-mode: overlay;
}


a{color:inherit; text-decoration:none}
a:hover{color: var(--text)}
p{color: var(--muted); line-height:1.65; margin:0 0 14px}
h1,h2,h3{margin:0; letter-spacing:-.02em}
h1{font-size: clamp(40px, 4.6vw, 60px); line-height:1.05}
h2{font-size: clamp(26px, 3vw, 38px); line-height:1.15}
h3{font-size: 18px; line-height:1.2}
small{color: var(--muted2)}
code,kbd,pre{font-family: var(--font-mono)}
pre{
  margin:0;
  padding:16px;
  border-radius: var(--radius-sm);
  border:1px solid var(--border);
  background: rgba(0,0,0,.35);
  overflow:auto;
}
:root[data-theme="light"] pre{background: rgba(255,255,255,.65)}

.container{
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  padding:10px 12px;
  border-radius: 10px;
  background: var(--card2);
  border:1px solid var(--border);
  color: var(--text);
  z-index: 9999;
}
.skip-link:focus{left:10px}

.nav{
  position:sticky;
  top:0;
  z-index: 90;
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  /* Slightly higher opacity to avoid content "show-through" under the sticky header (desktop) */
  background: linear-gradient(180deg, rgba(10,12,18,.90), rgba(10,12,18,.74));
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 28px rgba(0,0,0,.20);
}
:root[data-theme="light"] .nav{
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.80));
  border-bottom: 1px solid rgba(12,16,32,.12);
  box-shadow: 0 10px 26px rgba(12,16,32,.08);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand svg{width:34px;height:34px}
.brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-name strong{font-size:14px; letter-spacing:.02em}
.brand-name span{font-size:12px; color: var(--muted2)}

.nav-links{
  display:flex;
  align-items:center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a{
  padding:8px 10px;
  border-radius: 12px;
  border:1px solid transparent;
}
.nav-links a:hover{
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,.04);
}

.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  cursor:pointer;
  font-weight: 540;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: var(--border-2);
  background: rgba(255,255,255,.10);
  box-shadow: var(--shadow-soft);
}
.btn:active{transform: translateY(0)}
.btn.primary{
  border-color: rgba(124,92,255,.45);
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(67,211,255,.14));
}
.btn.primary:hover{
  border-color: rgba(124,92,255,.65);
  background: linear-gradient(135deg, rgba(124,92,255,.32), rgba(67,211,255,.18));
}
.btn.ghost{
  background: transparent;
}
.icon-btn{
  width: 42px;
  height: 42px;
  padding:0;
  border-radius: 14px;
}
.icon-btn svg{width:18px;height:18px}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-size: 13px;
}
.pill .dot{
  width:8px; height:8px; border-radius:99px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 18px rgba(124,92,255,.45);
}

.hero{
  padding: 64px 0 28px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr; gap:16px}
  .brand{min-width: unset}
}

.hero h1{
  margin: 18px 0 12px;
}
.hero-lede{
  font-size: 17px;
  color: var(--muted);
  max-width: 58ch;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Quiet, counsel-friendly secondary link under hero buttons */
.hero-subactions{ margin-top: 10px; }
.quiet-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 13px;
  color: var(--muted2);
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
}
.quiet-link:hover{
  color: var(--text);
  border-bottom-color: rgba(255,255,255,.20);
}
.hero-right{
  position:relative;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  box-shadow: var(--shadow-soft);
  overflow:hidden;
}
.hero-right::before{
  content:"";
  position:absolute; inset:-120px -120px auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(124,92,255,.55), transparent 60%),
              radial-gradient(circle at 60% 70%, rgba(67,211,255,.35), transparent 55%);
  filter: blur(1px);
  opacity:.9;
  transform: rotate(8deg);
}
.hero-right-inner{
  position:relative;
  padding: 18px 18px 14px;
}
.kpi{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.kpi .card{
  padding: 14px 14px 12px;
}
.kpi strong{font-size: 14px}
.kpi span{display:block; font-size: 12px; color: var(--muted2); margin-top: 6px}

.section{
  padding: 54px 0;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 22px;
}
.section-head p{margin: 0; max-width: 68ch}

/* Section header actions (stackable links on the right). */
.section-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end;
}
.section-actions a{
  color: var(--link);
}
.section-actions a:hover{color: var(--text)}

/* Compact, professional action chips (used in section headers). */
.action-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.action-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.1;
}
.action-link:hover{
  color: var(--text);
  border-color: var(--border-2);
  background: rgba(255,255,255,.08);
}

/* Small workflow line under Evidence anchors heading */
.workflow-hint{
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted2);
  letter-spacing: .01em;
}
.workflow-hint .sep{ opacity: .65; margin: 0 6px; }
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .grid-3{grid-template-columns:1fr}
}

/* Carousel (3-up on desktop, 1-up on mobile). Used for Evidence anchors. */
.carousel-shell{
  position: relative;
}
.carousel-shell::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width: 44px;
  height:100%;
  pointer-events:none;
  opacity:0;
  transition: opacity .18s ease;
  background: linear-gradient(90deg, rgba(0,0,0,0), var(--edge-hint));
}
.carousel-shell.has-next::after{opacity: .95;}

.carousel{
  --g:14px;
  display:flex;
  gap: var(--g);
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar{display:none}
.carousel > .card{
  flex: 0 0 calc((100% - (2 * var(--g))) / 3);
  scroll-snap-align: start;
}
@media (max-width: 980px){
  .carousel > .card{flex-basis:100%}
  .carousel-shell::after{width: 34px;}
}

/* Carousel controls (icon buttons) */
.carousel-controls{
  display:flex;
  gap:10px;
  align-items:center;
}
.icon-btn{
  width: 38px;
  height: 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border:1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
  font-size: 20px;
  line-height: 1;
}
.icon-btn:hover{
  transform: translateY(-1px);
  border-color: var(--border-2);
  background: var(--card2);
}
.icon-btn:disabled{
  opacity:0.45;
  cursor:not-allowed;
  transform:none;
}
.carousel:focus{
  outline: 2px solid var(--border-2);
  outline-offset: 6px;
  border-radius: var(--radius);
}

/* Sub-meta line under chips (keeps cards tidy when a third attribute is needed). */
.meta-sub{
  font-size: 12px;
  color: var(--muted2);
  margin-top: 2px;
}


.card{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--card);
  padding: 18px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  position:relative;
  overflow:hidden;
}
.card:hover{
  transform: translateY(-2px);
  border-color: var(--border-2);
  background: var(--card2);
  box-shadow: var(--shadow-soft);
}
.card .meta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom: 10px;
}

/* Meta stack: keep the product name (brand tag) on its own row, with secondary chips beneath. */
.meta.stack{
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.meta.stack .meta-row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  color: var(--muted);
  background: rgba(255,255,255,.04);

  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;}
.tag.brand{
  border-color: rgba(124,92,255,.40);
  background: rgba(124,92,255,.12);
  color: var(--text);
}

/* Micro badge (used sparingly — e.g., Air-gapped kit: Offline-first). */
.micro-badge{
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(67,211,255,.26);
  background: rgba(67,211,255,.10);
  color: var(--text);
  white-space: nowrap;
  letter-spacing: .02em;
}
:root[data-theme="light"] .micro-badge{
  border-color: rgba(74,54,255,.20);
  background: rgba(74,54,255,.08);
}
.tag.ok{
  border-color: rgba(46,229,157,.35);
  background: rgba(46,229,157,.10);
  color: var(--text);
}
.tag.warn{
  border-color: rgba(255,176,32,.32);
  background: rgba(255,176,32,.10);
  color: var(--text);
}

.card h3{margin-bottom: 8px}
.tag.deny{
  border-color: rgba(255,77,79,.35);
  background: rgba(255,77,79,.12);
  color: var(--text);
}
.tag.hold{
  border-color: rgba(255,176,32,.32);
  background: rgba(255,176,32,.12);
  color: var(--text);
}
.tag.neutral{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.card p{margin-bottom: 0}

.mini{
  margin-top: 14px;
  border-top:1px solid var(--border);
  padding-top: 12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}
.mini a{
  color: var(--link);
}
.mini a:hover{color: var(--text)}

.hr{
  height:1px;
  background: var(--border);
  width:100%;
  margin: 18px 0;
}

.cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 980px){.cols{grid-template-columns:1fr}}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{margin: 10px 0}

.callout{
  border-radius: var(--radius);
  border: 1px solid rgba(124,92,255,.35);
  background: linear-gradient(135deg, rgba(124,92,255,.13), rgba(67,211,255,.08));
  padding: 18px;
  overflow:hidden;
  position:relative;
}
.callout::before{
  content:"";
  position:absolute;
  inset:-80px auto auto -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle at 40% 40%, rgba(67,211,255,.40), transparent 60%);
  opacity:.8;
}
.callout > *{position:relative}

.accordion{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
details{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--card);
  padding: 14px 14px 12px;
}
details[open]{background: var(--card2); border-color: var(--border-2)}
summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  font-weight: 650;
}
summary::-webkit-details-marker{display:none}
summary .chev{
  flex: 0 0 auto;
  width: 18px; height: 18px;
  opacity:.8;
  transform: rotate(0deg);
  transition: transform .16s ease;
}
details[open] summary .chev{transform: rotate(90deg)}

.kbd{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.footer{
  padding: 40px 0 56px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.12));
}
:root[data-theme="light"] .footer{background: linear-gradient(180deg, transparent, rgba(12,16,32,.04))}

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}
@media (max-width: 980px){.footer-grid{grid-template-columns:1fr}}

.footer a{color: var(--link)}
.footer a:hover{color: var(--text)}
.footer small{display:block; margin-top: 10px; line-height:1.45}

.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events:none;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(10,12,18,.72);
  padding: 10px 14px;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: opacity .16s ease, transform .16s ease;
  z-index: 999;
}
.toast.show{opacity:1; transform: translateX(-50%) translateY(0)}
:root[data-theme="light"] .toast{background: rgba(255,255,255,.75)}

.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

.proof-steps{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 1100px){
  .proof-steps{grid-template-columns: repeat(2, 1fr)}
}
.step{
  border-radius: var(--radius-sm);
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  padding: 12px;
}
.step strong{font-size: 12px}
.step span{
  display:block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height:1.35;
}

.subnav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.subnav a{
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 13px;
}
.subnav a:hover{color: var(--text); border-color: var(--border-2)}
.subnav a.active{color: var(--text); border-color: rgba(124,92,255,.55); background: rgba(124,92,255,.12)}

/* Mobile nav */
.nav-toggle{display:none}
@media (max-width: 860px){
  .nav-links{display:none}
  .nav-toggle{display:inline-flex}
  .nav.open .nav-links{
    display:flex;
    flex-direction:column;
    position:absolute;
    left:0; right:0;
    top: 62px;
    padding: 14px 22px 18px;
    background: linear-gradient(180deg, rgba(10,12,18,.92), rgba(10,12,18,.72));
    border-bottom: 1px solid var(--border);
  }
  :root[data-theme="light"] .nav.open .nav-links{
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.80));
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important}
  .reveal{opacity:1 !important; transform:none !important; transition:none !important}
  .card, .btn{transition:none !important}
  .hero-right::before{display:none}
}

/* Form-ish helpers */
.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.field label{font-size: 13px; color: var(--muted)}
.field input, .field textarea{
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
}
.field textarea{min-height: 120px; resize: vertical}
.field input:focus, .field textarea:focus{
  border-color: rgba(124,92,255,.55);
  box-shadow: 0 0 0 4px rgba(124,92,255,.12);
}

/* Table-lite */
.table{
  width:100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
}
.table th, .table td{
  text-align:left;
  padding: 12px 12px;
  border-bottom:1px solid var(--border);
  vertical-align: top;
  font-size: 14px;
}
.table th{font-size: 13px; color: var(--muted2); font-weight: 650}
.table tr:last-child td{border-bottom:none}

/* Timeline (Why now) */
.timeline{
  position:relative;
  display:grid;
  gap: 14px;
  margin-top: 18px;
}
.timeline:before{
  content:"";
  position:absolute;
  left: 22px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(67,211,255,0), rgba(124,92,255,.55), rgba(67,211,255,0));
  opacity: .85;
}
.timeline-item{
  position:relative;
  padding-left: 54px;
}
.timeline-item:before{
  content:"";
  position:absolute;
  left: 16px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(124,92,255,.18);
  border:1px solid rgba(124,92,255,.45);
  box-shadow: 0 0 0 6px rgba(124,92,255,.08);
}
.timeline-item .meta{margin-bottom: 8px}
.timeline-item h3{margin-bottom: 6px}
.timeline-item p{margin-bottom:0}
@media (max-width: 720px){
  .timeline:before{left: 18px}
  .timeline-item{padding-left: 46px}
  .timeline-item:before{left: 12px}
}


/* Subtle animated background (Apple-grade polish) */
@media (prefers-reduced-motion: no-preference){
  body::before{
    content:"";
    position: fixed;
    inset: -140px -140px -140px -140px;
    pointer-events:none;
    z-index:-1;
    background:
      radial-gradient(700px 520px at 18% 22%, rgba(124,92,255,.16), transparent 60%),
      radial-gradient(900px 620px at 80% 12%, rgba(67,211,255,.13), transparent 60%),
      radial-gradient(780px 680px at 60% 78%, rgba(124,92,255,.08), transparent 60%);
    filter: blur(0px);
    animation: bgdrift 18s ease-in-out infinite alternate;
    opacity:.9;
  }
  @keyframes bgdrift{
    0%{ transform: translate3d(-10px,-8px,0) scale(1.01) }
    100%{ transform: translate3d(14px,10px,0) scale(1.03) }
  }
}



/* Gradient text */
.grad{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Active nav */
.nav-links a.active{
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,.04);
}

/* Flow components */
.flow{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.flow-step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  width: 100%;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  font: inherit;
}
:root[data-theme="light"] .flow-step{background: rgba(255,255,255,.70)}
.flow-dot{
  width:10px;
  height:10px;
  margin-top:6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 3px rgba(124,92,255,.16);
  flex: 0 0 auto;
}
.flow-step strong{
  display:block;
  font-size: 14px;
}
.flow-step span{
  display:block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.35;
}

/* Wider step list */
.flow-wide{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 760px){
  .flow-wide{grid-template-columns:1fr}
}
.flow-wide-step{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}
:root[data-theme="light"] .flow-wide-step{background: rgba(255,255,255,.70)}
.flow-wide-step .kbd{
  min-width: 26px;
  justify-content:center;
}

/* Footer bottom row */
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sep{opacity:.55}

/* Slightly sharper primary button sheen */
.btn.primary{
  position: relative;
  overflow: hidden;
}
.btn.primary::after{
  content:"";
  position:absolute;
  inset:-30% -60%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 50%);
  opacity: 0;
  transform: translate3d(-12px, 0, 0) rotate(8deg);
  transition: opacity .18s ease, transform .18s ease;
}
.btn.primary:hover::after{
  opacity: .55;
  transform: translate3d(0,0,0) rotate(8deg);
}


/* === Apex Motion Layer (v3.1) — Apple-grade, still security-grade === */

/* Page fade in/out (JS adds html.js + body.page-ready/page-out) */
html.js body{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .36s cubic-bezier(.2,.8,.2,1), transform .36s cubic-bezier(.2,.8,.2,1);
}
html.js body.page-ready{
  opacity: 1;
  transform: translateY(0);
}
html.js body.page-out{
  opacity: 0;
  transform: translateY(8px);
}
@media (prefers-reduced-motion: reduce){
  html.js body{opacity:1; transform:none; transition:none}
}

/* Cinematic background float (injected by JS) */
.bg-float{
  position: fixed;
  inset: -18%;
  pointer-events:none;
  z-index: -3;
  background:
    radial-gradient(780px 520px at 22% 18%, rgba(124,92,255,.18), transparent 62%),
    radial-gradient(860px 560px at 82% 32%, rgba(67,211,255,.14), transparent 60%),
    radial-gradient(720px 520px at 54% 90%, rgba(46,229,157,.09), transparent 62%);
  filter: blur(26px);
  opacity: .95;
  transform: translate3d(0,0,0);
  animation: floatOrbs 18s cubic-bezier(.2,.8,.2,1) infinite alternate;
}
@keyframes floatOrbs{
  0%{transform: translate3d(-1.6%, -1.2%, 0) scale(1.02) rotate(-.6deg)}
  50%{transform: translate3d(1.2%, -.2%, 0) scale(1.04) rotate(.4deg)}
  100%{transform: translate3d(.8%, 1.4%, 0) scale(1.02) rotate(-.2deg)}
}
@media (prefers-reduced-motion: reduce){
  .bg-float{animation:none}
}

/* Cursor glow (injected; subtle; disabled on touch/reduced) */
.cursor-glow{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity: .55;
  background: radial-gradient(560px circle at var(--gx, 50vw) var(--gy, 20vh),
    rgba(124,92,255,.16), transparent 58%);
  mix-blend-mode: screen;
  transition: opacity .2s ease;
}
:root[data-theme="light"] .cursor-glow{
  mix-blend-mode: multiply;
  opacity: .22;
  background: radial-gradient(560px circle at var(--gx, 50vw) var(--gy, 20vh),
    rgba(124,92,255,.22), transparent 58%);
}
@media (prefers-reduced-motion: reduce){
  .cursor-glow{display:none}
}

/* Hero spine — evidence line animation (injected by JS for every .hero) */
.hero{
  position: relative;
  overflow: hidden;
}
.hero > .container,
.hero-grid{
  position: relative;
  z-index: 1;
}
.hero-spine{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  width: min(var(--max), calc(100% - 44px));
  height: 120px;
  pointer-events:none;
  z-index: 0;
  opacity: .95;
}
@media (max-width: 720px){
  .hero-spine{display:none}
}
.hero-spine svg{width:100%; height:100%}
.spine-path{fill:none; stroke-linecap:round; stroke-linejoin:round}
.spine-base{stroke-width: 1.8; opacity:.62}
.spine-glow{stroke-width: 7; opacity:.18; filter: blur(6px)}
.spine-draw{
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: spineDraw 1.25s cubic-bezier(.2,.8,.2,1) forwards;
}
.spine-dash{
  stroke-width: 1.6;
  opacity: .72;
  stroke-dasharray: 10 18;
  animation: spineDash 7.8s linear infinite;
}
.spine-node{
  fill: rgba(255,255,255,.08);
  stroke: rgba(255,255,255,.22);
  stroke-width: 1;
}
.spine-pulse{
  animation: nodePulse 2.9s ease-in-out infinite;
  transform-origin: center;
}
.spine-labels{
  position:absolute;
  left:0; right:0; bottom: 6px;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted2);
  opacity: .85;
}
.spine-labels span{
  text-align:center;
  white-space:nowrap;
  user-select:none;
}
@keyframes spineDraw{to{stroke-dashoffset:0}}
@keyframes spineDash{to{stroke-dashoffset:-280}}
@keyframes nodePulse{
  0%,100%{transform: scale(1); opacity: .92}
  50%{transform: scale(1.55); opacity: .18}
}
@media (prefers-reduced-motion: reduce){
  .spine-draw,.spine-dash,.spine-pulse{animation:none}
  .spine-draw{stroke-dashoffset:0}
}

/* Reveal upgrades (blur + micro-scale for Apple-grade section transitions) */
@media (prefers-reduced-motion: no-preference){
  .reveal{
    opacity: 0;
    transform: translateY(14px) scale(.992);
    filter: blur(10px);
    will-change: opacity, transform, filter;
    transition: opacity .62s cubic-bezier(.2,.8,.2,1),
                transform .62s cubic-bezier(.2,.8,.2,1),
                filter .62s cubic-bezier(.2,.8,.2,1);
  }
  .reveal.in{
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Tilt + hover depth (JS toggles .tilting + sets --rx/--ry/--mx/--my) */
@media (hover:hover) and (pointer:fine){
  .card, .hero-right, .callout{
    transform-style: preserve-3d;
  }
  .card::after,
  .hero-right::after,
  .callout::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background: radial-gradient(680px circle at var(--mx, 50%) var(--my, 40%),
      rgba(255,255,255,.18), transparent 55%);
    opacity: 0;
    transition: opacity .18s ease;
  }
  .card.tilting::after,
  .hero-right.tilting::after,
  .callout.tilting::after{
    opacity: .85;
  }
  .card.tilting{
    transform: perspective(980px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-2px);
  }
  .hero-right.tilting{
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  }
  .callout.tilting{
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  }
}

/* Primary button sheen (subtle) */
.btn.primary{
  position: relative;
  overflow: hidden;
}
.btn.primary::after{
  content:"";
  position:absolute;
  inset:-60% -70%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.36), transparent);
  transform: translateX(-55%) rotate(12deg);
  opacity: 0;
}
.btn.primary:hover::after{
  opacity: .95;
  animation: sheen 1.1s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes sheen{
  from{transform: translateX(-55%) rotate(12deg)}
  to{transform: translateX(55%) rotate(12deg)}
}

/* Subtle section separators (cleaner hierarchy) */
.section{
  position:relative;
}
.section::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  opacity:.7;
}
:root[data-theme="light"] .section::before{
  background: linear-gradient(90deg, transparent, rgba(12,16,32,.12), transparent);
  opacity:.6;
}

/* Spine rings for node pulses */
.spine-ring{
  fill: none;
  stroke: rgba(255,255,255,.22);
  stroke-width: 1;
}

/* Glow layers behind content (no layout side-effects) */
body{ position: relative; isolation: isolate; }
.bg-float{ z-index: -2; }
.cursor-glow{ z-index: -1; }

/* Avoid clipping hero shadows while keeping horizontal overflow tidy */
.hero{ overflow-x: hidden; overflow-y: visible; }


/* ===== v7 additions: language switcher + legal typography + hero meta fix ===== */
.hero-right .meta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom: 10px;
}

.lang-switch{ position:relative; }
.lang-switch svg{ width:20px; height:20px; }
.lang-menu{
  position:absolute;
  right:0;
  top: 44px;
  min-width: 150px;
  padding: 10px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(15,18,24,.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  display:none;
  z-index: 60;
}
.lang-switch.open .lang-menu{ display:block; }
.lang-menu a{
  display:block;
  padding:10px 10px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
}
.lang-menu a:hover{
  background: rgba(124,92,255,.14);
  border: 1px solid rgba(124,92,255,.20);
}

.legal-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2px;
}
.legal-h{
  margin: 22px 0 12px;
}
.legal-p{
  margin: 10px 0;
  color: var(--text);
  line-height: 1.7;
}
.legal-list{
  margin: 10px 0 10px 18px;
  color: var(--text);
  line-height: 1.7;
}
.legal-list li{ margin: 6px 0; }
.legal-hr{ border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.legal-table{
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th, .legal-table td{
  border: 1px solid var(--border);
  padding: 10px 12px;
  vertical-align: top;
  font-size: 14px;
  color: var(--text);
}
.legal-table th{
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight: 600;
}


/* Evidence spine scroll-sync highlight */
.flow-step.active{
  border-color: rgba(124,92,255,.55);
  background: linear-gradient(180deg, rgba(124,92,255,.12), rgba(255,255,255,.04));
  box-shadow: 0 0 0 1px rgba(124,92,255,.08) inset, var(--shadow-soft);
}
.flow-step.active strong{ color: var(--text); }
.flow-step.active .flow-dot{ box-shadow: 0 0 0 7px rgba(124,92,255,.12); }


/* Contact form */
.mvg-form{ margin-top: 14px; }
.mvg-form .form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
@media (max-width: 760px){ .mvg-form .form-row{ grid-template-columns: 1fr; } }
.field label{ display:block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
:root[data-theme="light"] .field input, :root[data-theme="light"] .field select, :root[data-theme="light"] .field textarea{
  background: rgba(255,255,255,.75);
}
.field textarea{ resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(124,92,255,.55);
  box-shadow: 0 0 0 4px rgba(124,92,255,.12);
}
.form-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.form-hint{ font-size: 12px; color: var(--muted2); }
.draft-preview{
  width:100%;
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(124,92,255,.35);
  background: rgba(124,92,255,.08);
  color: var(--text);
}


/* Timeline filter chips */
.timeline-controls{ margin-bottom: 14px; }
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.chip:hover{ transform: translateY(-1px); border-color: var(--border-2); }
.chip.active{
  border-color: rgba(124,92,255,.55);
  background: rgba(124,92,255,.16);
}



/* === Accessibility layer (local-only controls) === */
:root{
  --a11y-scale: 1;
  --a11y-focus: 3px;
}

/* Global readability knobs */
html{ font-size: calc(16px * var(--a11y-scale)); }
body{ font-size: 1rem; }
body{ line-height: 1.55; }

:root[data-a11y-line="normal"] body{ line-height: 1.55; }
:root[data-a11y-line="spacious"] body{ line-height: 1.75; }
:root[data-a11y-line="extra"] body{ line-height: 1.95; }

:root.a11y-spacing-expanded body{
  letter-spacing: 0.015em;
  word-spacing: 0.06em;
}

:root.a11y-narrow .container{ max-width: 880px; }

:root.a11y-focus-thick{ --a11y-focus: 3px; }
:root.a11y-focus-xthick{ --a11y-focus: 5px; }

:where(a, button, input, textarea, select, summary):focus-visible{
  outline: var(--a11y-focus) solid rgba(67,211,255,.95);
  outline-offset: 2px;
}

.field input:focus-visible,
.field textarea:focus-visible{
  border-color: rgba(67,211,255,.70);
  box-shadow: 0 0 0 4px rgba(67,211,255,.12);
}

/* Underline long-form links (default on) — keep nav/buttons clean.
   Exclude key UI controls so they read as controls (not body text). */
main a:not(.btn):not(.brand):not(.card):not(.action-link):not(.quiet-link):not(.mini-link){
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1.5px;
}

:root.a11y-no-underline main a:not(.btn):not(.brand):not(.card):not(.action-link):not(.quiet-link):not(.mini-link){
  text-decoration: none;
}

:root.a11y-targets .btn,
:root.a11y-targets button{
  min-height: 48px;
}

:root.a11y-targets header a,
:root.a11y-targets footer a{
  min-height: 48px;
  padding-top: 10px;
  padding-bottom: 10px;
}

:root[data-a11y-contrast="high"]{
  --border: rgba(255,255,255,.22);
  --border-2: rgba(255,255,255,.30);
  --card: rgba(255,255,255,.10);
  --card2: rgba(255,255,255,.14);
  --muted: rgba(238,240,247,.86);
  --muted2: rgba(238,240,247,.72);
}

:root[data-a11y-contrast="low"]{
  --card: rgba(255,255,255,.05);
  --card2: rgba(255,255,255,.07);
  --border: rgba(255,255,255,.09);
  --border-2: rgba(255,255,255,.12);
}

/* Clean mode: reduce visual noise */
:root.a11y-clean .bg-float,
:root.a11y-clean .noise{
  opacity: .35 !important;
  filter: blur(18px) saturate(.85);
}

/* Reduce motion (manual + respects OS) */
:root.a11y-reduce-motion *{
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

/* Accessibility FAB + dialog */
.a11y-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,12,18,.62);
  backdrop-filter: blur(14px);
  color: var(--text);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.a11y-fab:hover{
  transform: translateY(-1px);
  border-color: rgba(124,92,255,.45);
  background: rgba(10,12,18,.72);
}

.a11y-fab-ic{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: linear-gradient(135deg, rgba(124,92,255,.28), rgba(67,211,255,.16));
  border:1px solid rgba(124,92,255,.28);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 14px;
}

.a11y-fab-txt{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

@media (max-width: 560px){
  .a11y-fab-txt{ display:none; }
  .a11y-fab{ padding: 10px; }
}

.a11y-overlay{
  position: fixed;
  inset: 0;
  z-index: 99;
  display:none;
  background: rgba(0,0,0,.46);
  backdrop-filter: blur(6px);
}

.a11y-overlay.open{ display:block; }

body.a11y-open{ overflow:hidden; }

.a11y-panel{
  position: absolute;
  right: 16px;
  bottom: 72px;
  width: min(560px, calc(100% - 32px));
  max-height: min(78vh, 760px);
  overflow:auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,10,16,.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 90px rgba(0,0,0,.70);
  padding: 16px;
}

.a11y-panel:focus{ outline: none; }

.a11y-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
}

.a11y-controls{ margin-top: 14px; }

.a11y-row{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items:center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

@media (max-width: 560px){
  .a11y-row{ grid-template-columns: 1fr; }
}

.a11y-label{
  font-size: 12px;
  color: var(--muted);
}

.a11y-seg{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seg{
  font: inherit;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
}

.seg:hover{ border-color: rgba(124,92,255,.35); }

.seg.active{
  border-color: rgba(67,211,255,.48);
  background: linear-gradient(135deg, rgba(124,92,255,.20), rgba(67,211,255,.10));
}

.a11y-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

/* Accessibility forms helpers */
.checklist{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

@media (max-width: 680px){
  .checklist{ grid-template-columns: 1fr; }
}

.checklist label{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.field-error{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,77,103,.95);
}

.toast-inline{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.toast-inline.ok{ color: rgba(46,229,157,.95); }
.toast-inline.bad{ color: rgba(255,77,103,.95); }


/* =========================
   v11 — EN-only + polish
   ========================= */

/* Hide language switcher UI (EN-only for now) */
.lang-switch{ display:none !important; }

/* Never underline card UI (keeps flagship + trust artifacts clean) */
main a.card, main a.card *{ text-decoration: none !important; }



/* Proof table (mobile-friendly) */
.proof-table td, .proof-table th{vertical-align: middle}
.proof-table td:nth-child(2), .proof-table th:nth-child(2){text-align:center}
.proof-table td:nth-child(3), .proof-table th:nth-child(3){text-align:left}

@media (max-width: 560px){
  .proof-table{border:none}
  .proof-table thead{display:none}
  .proof-table, .proof-table tbody, .proof-table tr, .proof-table td{display:block; width:100%}
  .proof-table tr{
    border:1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,.03);
    padding: 12px 12px 10px;
    margin-bottom: 10px;
  }
  .proof-table td{
    border:none;
    padding: 8px 0;
    display:flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .proof-table td::before{
    content: attr(data-label);
    color: var(--muted2);
    font-size: 12px;
    flex: 0 0 auto;
    padding-right: 10px;
  }
  .proof-table td:nth-child(1){font-weight:650}
  .proof-table code{font-size: 13px}
}


/* Proof table: prevent chip wrapping in narrow/tablet widths */
.proof-table td:nth-child(2) .tag{ white-space: nowrap !important; flex: 0 0 auto; }
.proof-table td:nth-child(2){ white-space: nowrap; }


/* Two-column QA stacks */
.qa-cols{display:grid; grid-template-columns: 1fr 1fr; gap: 14px}
@media (max-width: 980px){.qa-cols{grid-template-columns:1fr}}
.qa-stack{display:grid; gap: 12px}

/* Horizontal scroll helper for dense tables */
.table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.table-scroll .table{min-width: 880px}


.flow-step:focus-visible{
  outline: 2px solid rgba(124,92,255,.45);
  outline-offset: 2px;
}


/* Evidence spine: active label hint (clickable + scroll-sync) */
.hero[data-spine-active="verify"] .spine-labels span:nth-child(1),
.hero[data-spine-active="verify"] .spine-labels span:nth-child(2){
  color: var(--text);
  opacity: 1;
  text-shadow: 0 0 18px rgba(124,92,255,.25);
}
.hero[data-spine-active="receipts"] .spine-labels span:nth-child(3){
  color: var(--text);
  opacity: 1;
  text-shadow: 0 0 18px rgba(124,92,255,.25);
}
.hero[data-spine-active="permit"] .spine-labels span:nth-child(4){
  color: var(--text);
  opacity: 1;
  text-shadow: 0 0 18px rgba(124,92,255,.25);
}
.hero[data-spine-active="gate"] .spine-labels span:nth-child(5){
  color: var(--text);
  opacity: 1;
  text-shadow: 0 0 18px rgba(124,92,255,.25);
}



/* Standards: release bulletin (procurement-grade, compact) */
.bulletin{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  padding: 14px 16px;
}
.bulletin-row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 8px 0;
}
.bulletin-row + .bulletin-row{
  border-top: 1px solid var(--border);
}
.bulletin-label{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  padding-top: 2px;
}
.bulletin-value{color: var(--text)}
.bulletin-value code{font-size: .95em}
@media (max-width: 720px){
  .bulletin-row{grid-template-columns: 1fr; gap:6px}
  .bulletin-label{font-size: 10px}
}
