@import url('brand-tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* — SidantiX enterprise light theme (official brand kit v1.0) — */
:root {
  --navy: var(--sidantix-navy, #082A57);
  --deep-navy: var(--sidantix-deep-navy, #071526);
  --teal: var(--sidantix-teal, #10AEB4);
  --teal-light: #14c4cb;
  --teal-soft: rgba(16, 174, 180, 0.08);
  --blue: var(--sidantix-blue, #1D5FA7);
  --bg: #ffffff;
  --bg-soft: var(--sidantix-light, #F7FAFC);
  --card: #ffffff;
  --card-2: #F1F5F9;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: var(--sidantix-gray, #5E6B78);
  --muted-soft: #94A3B8;
  --line: #E2E8F0;
  --line-2: var(--sidantix-silver, #CBD5E1);
  --acc: var(--teal);
  --acc-deep: var(--deep-navy);
  --acc-cyan: var(--blue);
  --pk-teal: var(--sidantix-green, #22C55E);
  --amber: var(--sidantix-amber, #F59E0B);
  --acc-soft: var(--teal-soft);
  --sh-sm: 0 1px 2px rgba(8, 42, 87, 0.04), 0 4px 12px rgba(8, 42, 87, 0.06);
  --sh-md: 0 4px 6px rgba(8, 42, 87, 0.04), 0 16px 40px rgba(8, 42, 87, 0.08);
  --sh-lg: 0 8px 24px rgba(8, 42, 87, 0.06), 0 32px 64px rgba(8, 42, 87, 0.1);
  --serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --sans: var(--font-sans);
  --mono: 'IBM Plex Mono', monospace;
  --panel: var(--deep-navy);
  --panel-line: rgba(255, 255, 255, 0.1);
  --panel-tx: var(--sidantix-light, #F7FAFC);
  --panel-mut: rgba(247, 250, 252, 0.65);
  --pk-amber: var(--amber);
  --header-h: 88px;
  --nav-tab: var(--blue);
  --chrome: var(--navy);
  --chrome-soft: rgba(8, 42, 87, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(8, 42, 87, 0.12); color: var(--ink); }
svg, img { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Announcement bar */
.announce {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  position: relative;
  z-index: 70;
}
.announce a { text-decoration: underline; text-underline-offset: 2px; color: #fff; }
.announce .pulse {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pk-teal);
  margin-right: 7px;
  vertical-align: middle;
  animation: blink 1.6s infinite;
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}
.site-nav { width: 100%; overflow: visible; }
.site-header,
.nav-in {
  min-height: var(--header-h);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  overflow: visible;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  text-decoration: none;
}
.brand-logo {
  height: 80px;
  width: auto;
  max-width: 400px;
  max-height: 84px;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.brand-icon {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.brand-wordmark {
  display: flex;
  align-items: baseline;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 1;
}
.brand-word { color: var(--navy); }
.brand-x { color: var(--teal); }
@media (max-width: 768px) {
  .brand-logo { height: 42px; max-width: 220px; }
  .brand-icon { width: 52px; height: 52px; }
  .brand-wordmark { font-size: 24px; }
}
.nav-menu {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav-menu a {
  display: inline-flex;
  align-items: center;
  position: relative;
  height: var(--header-h);
  padding: 0 4px;
  color: var(--ink-2);
  transition: color 0.2s;
  white-space: nowrap;
  box-sizing: border-box;
}
.nav-menu a.active,
.nav-menu a:hover {
  color: var(--navy);
  border-bottom: 3px solid var(--blue);
}
.nav-act { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Legacy nav pills (fallback) */
nav:not(.site-nav) { position: absolute; top: 38px; left: 0; right: 0; z-index: 50; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.25s, background 0.2s, border-color 0.2s, color 0.2s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 8px; }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 10px; }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(8, 42, 87, 0.25);
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(8, 42, 87, 0.3); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line-2);
}
.btn-outline:hover { border-color: var(--navy); background: var(--chrome-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light {
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 15px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--navy); }
.btn-clear {
  background: var(--teal-soft);
  color: var(--teal);
  border: 1.5px solid rgba(16, 174, 180, 0.25);
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14.5px;
}
.btn-clear:hover { background: rgba(16, 174, 180, 0.12); border-color: var(--teal); transform: translateY(-2px); }
.btn-acc {
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 15px;
  box-shadow: var(--sh-sm);
}
.btn-acc:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

/* Hero — light enterprise */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 50%, var(--bg-soft) 100%);
  color: var(--ink);
  padding-top: 16px !important;
  min-height: unset;
}
/* Premium light hero (homepage) — white / #F7FAFC, navy text, teal accent only */
.hero--premium {
  color: var(--ink);
  padding-top: 28px !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(29, 95, 167, 0.07), transparent 38%),
    radial-gradient(circle at 12% 88%, rgba(16, 174, 180, 0.05), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #F7FAFC 55%, #EEF3F7 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(29, 95, 167, 0.05), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(8, 42, 87, 0.04), transparent 60%);
}
.hero--premium .hero-bg {
  background:
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(29, 95, 167, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 8% 92%, rgba(16, 174, 180, 0.06), transparent 60%);
}
.hero-grid-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 42, 87, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 42, 87, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 92%);
}
.hero--premium .hero-grid-overlay { display: block; }
#heroNet { display: none; }
.grain { display: none; }
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 16px 0 72px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: start;
}
.hero--premium .hero-inner { padding: 24px 0 80px; align-items: start; }
.hero-copy { text-align: left; padding-top: 0; margin-top: 0; }
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.hts-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hts-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
}
.hero-proof-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 12px;
  font-weight: 500;
}
.hero--premium .hero-proof-pill {
  color: var(--navy);
  background: #fff;
  border-color: var(--line-2);
  box-shadow: var(--sh-sm);
}
.hero--premium h1 .it { color: var(--teal); }
.hero-stat-pull {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hero--premium .hero-stat-pull { color: var(--navy); }
.hero-stat-pull strong {
  font-weight: 600;
  font-style: italic;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-copy .eyebrow {
  display: inline-block;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 12px;
}
.hero--premium .hero-copy .eyebrow {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--ink);
}
.hero--premium h1 { color: var(--navy); }
.hero-line {
  display: block;
}
.hero-sub-line {
  display: block;
}
h1 .it, h2 .it { font-style: italic; color: var(--teal); }
.hero-truth {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink-2);
  max-width: 600px;
  margin: 0 0 18px;
  line-height: 1.4;
}
.hero--premium .hero-truth { color: var(--ink-2); }
.hero-truth strong { font-style: normal; font-weight: 600; color: var(--navy); }
.hero--premium .hero-truth strong { color: var(--navy); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 28px;
  line-height: 1.6;
}
.hero--premium .hero-sub { color: var(--muted); }
.hero-cred { font-size: 0.92rem; color: var(--muted-soft); margin: -12px 0 24px; max-width: 560px; }
.hero--premium .hero-cred { color: var(--muted-soft); }
.hero-cta { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }
.hero--premium .btn-outline {
  color: var(--navy);
  border-color: var(--line-2);
  background: #fff;
}
.hero--premium .btn-outline:hover {
  background: var(--chrome-soft);
  border-color: var(--navy);
}
.sysstatus {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 16px;
  flex-wrap: wrap;
}
.hero--premium .sysstatus {
  color: var(--muted);
  background: #fff;
  border-color: var(--line);
}
.sysstatus .gd {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pk-teal);
  animation: blink 2s infinite;
}

.pl-hero { padding: 48px 0 56px; text-align: center; }
.pl-hero .eyebrow { justify-content: center; display: flex; }
.pl-hero h1 { max-width: 22ch; margin: 0 auto 18px; }
.pl-hero .hero-sub { margin: 0 auto; max-width: 640px; color: var(--muted); }
.pl-note {
  max-width: 720px;
  margin: 26px auto 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-soft);
  line-height: 1.7;
}

.page-hero { padding: 56px 0 48px; text-align: center; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero--light {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  color: var(--navy);
}
.page-hero--light .eyebrow { color: var(--navy); }
.page-hero--light h1 { color: var(--navy); }
.page-hero--light .lead,
.page-hero--light .hero-sub { color: var(--ink-2); }
.page-hero h1 { max-width: 20ch; margin: 0 auto 20px; }
.page-hero .lead,
.page-hero .hero-sub { margin: 0 auto; max-width: 640px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }

/* Hero product screenshot */
.hero-product-shot {
  width: 100%;
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(8, 42, 87, 0.14);
  box-shadow:
    0 2px 4px rgba(8, 42, 87, 0.04),
    0 12px 32px rgba(8, 42, 87, 0.1),
    0 24px 56px rgba(8, 42, 87, 0.08);
  overflow: hidden;
  background: #fff;
}
.hero-product-shot img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-product-shot .demo-label {
  display: block;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.hero-visual-stack { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.hero-visual-stack .loop { opacity: 1; border: none; border-radius: 0; box-shadow: none; }

/* Command-shell chrome around leaver-revoke demo (light page, dark product panel) */
.command-shell {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.browser-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  background: #F1F5F9;
}
.browser-dots { display: flex; gap: 7px; flex-shrink: 0; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.browser-live {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--amber);
  background: rgba(243, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* Product mock panel (dark — illustrative) */
.hero-visual {
  width: 100%;
  min-width: 0;
  align-self: center;
}
.loop {
  width: 100%;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh-lg);
  color: var(--panel-tx);
}
.command-shell .loop {
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.loop-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.03);
  flex-wrap: wrap;
}
.loop-top .d { width: 10px; height: 10px; border-radius: 50%; }
.loop-top .ttl { font-family: var(--mono); font-size: 11px; color: var(--panel-mut); margin-left: 4px; }
.loop-top .demo {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--amber);
  background: rgba(243, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
}
.loop-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.loop-left { padding: 18px 20px; border-right: 1px solid var(--panel-line); }
.loop-right { padding: 18px 20px; }
.trigger { font-family: var(--mono); font-size: 10px; color: var(--panel-mut); margin-bottom: 4px; letter-spacing: 0.08em; }
.trigger b { color: var(--amber); font-weight: 500; }
.trigger-val { font-family: var(--mono); font-size: 12px; color: #fff; margin-bottom: 16px; }
.steps { display: flex; gap: 5px; margin-bottom: 18px; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 48px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  padding: 7px 3px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--panel-mut);
  transition: all 0.4s;
}
.step.on { background: rgba(16, 174, 180, 0.35); border-color: rgba(34, 197, 94, 0.45); color: var(--pk-teal); }
.step .num { display: block; font-size: 12px; margin-bottom: 2px; }
.sysrows { display: flex; flex-direction: column; gap: 6px; }
.sysrow {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  opacity: 0.35;
  transition: opacity 0.35s, background 0.35s;
}
.sysrow.done { opacity: 1; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.25); }
.sysrow .tag2 { font-family: var(--mono); font-size: 8px; width: 30px; text-align: center; color: var(--amber); background: rgba(255,255,255,0.06); border-radius: 4px; padding: 2px 0; flex-shrink: 0; }
.sysrow .nm { flex: 1; color: rgba(255,255,255,0.85); }
.sysrow .ga { font-family: var(--mono); font-size: 9px; color: var(--panel-mut); }
.sysrow .rv { font-family: var(--mono); font-size: 10px; color: var(--pk-teal); opacity: 0; transition: opacity 0.35s; }
.sysrow.done .rv { opacity: 1; }
.pack-h { font-family: var(--mono); font-size: 10px; color: var(--panel-mut); letter-spacing: 0.08em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.pack-h .seal { width: 7px; height: 7px; border-radius: 50%; background: var(--pk-teal); animation: blink 1.6s infinite; }
.pack { background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px; font-family: var(--mono); font-size: 10.5px; line-height: 1.85; color: rgba(255,255,255,0.75); }
.pack .ok { color: var(--pk-teal); }
.pack .hl { color: var(--amber); }
.pack .hash { word-break: break-all; color: rgba(255,255,255,0.5); }
.nhi-strip { margin-top: 14px; }
.nhi-strip .lbl { font-family: var(--mono); font-size: 9px; color: var(--panel-mut); letter-spacing: 0.06em; margin-bottom: 6px; }
.nhi-rows { display: flex; flex-direction: column; gap: 4px; }
.nhi { display: flex; align-items: center; gap: 8px; font-size: 10.5px; padding: 6px 8px; border-radius: 6px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); opacity: 0.3; transform: translateX(-4px); transition: opacity 0.4s, transform 0.4s; }
.nhi.in { opacity: 1; transform: none; }
.nhi .k { font-family: var(--mono); font-size: 7px; width: 26px; text-align: center; background: rgba(255,255,255,0.07); border-radius: 3px; padding: 2px 0; color: var(--amber); flex-shrink: 0; }
.nhi .n2 { flex: 1; color: rgba(255,255,255,0.78); font-family: var(--mono); font-size: 10px; }
.nhi .s2 { font-family: var(--mono); font-size: 9px; }
.nhi .s2-scan { color: var(--panel-mut); }
.nhi .s2-final { opacity: 0; transition: opacity 0.35s; }
.nhi.resolved .s2-final { opacity: 1; }
.nhi.resolved .s2-scan { display: none; }
.s-ok { color: var(--pk-teal); }
.s-mid { color: var(--acc-cyan); }
.s-warn { color: var(--amber); }

/* Stats */
.stats { padding: 56px 0 24px; background: #fff; border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .n {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.stat .u { font-size: 0.45em; }
.stat .l { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }

/* Capability strip + connects strip (replaces vendor-heavy marquee) */
.cap-strip-sec, .connect-strip-sec {
  padding: 36px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cap-strip-label, .connect-strip-label, .trust-strip-label, .marquee-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
  text-align: center;
  margin-bottom: 18px;
}
.cap-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.connect-badges, .trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.connect-badge, .trust-badge {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 18px;
}
.connect-strip-note, .trust-strip-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted-soft);
  margin-top: 14px;
}
.connect-strip-note a { color: var(--teal); font-weight: 600; }

/* Legacy trust/marquee kept for other pages */
.trust-strip-sec { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--line); }
.marquee-sec { padding: 48px 0; background: var(--bg-soft); }
.marquee { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: scroll 36s linear infinite; }
.chip {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 18px;
  white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.sec { padding: 88px 0; }
.band { background: var(--bg-soft); }
.sec-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.sec-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head--left { text-align: left; margin-left: 0; margin-right: auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 500;
}
.kicker::before, .kicker::after { content: ""; width: 18px; height: 1px; background: var(--navy); opacity: 0.22; }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.sec-head p { font-size: 1.05rem; color: var(--muted); line-height: 1.65; }

/* Feature cards (3-col) */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--sh-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.feat-ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal-soft);
  border: 1px solid rgba(16, 174, 180, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feat-ic svg { width: 24px; height: 24px; stroke: var(--teal); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.feat-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; }

/* Proof band */
.proof-band { padding: 72px 0; }
.proof-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.proof-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--sh-sm);
}
.proof-founder {
  background: linear-gradient(135deg, var(--navy), var(--deep-navy));
  color: #fff;
  border-color: transparent;
}
.proof-founder .pf-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pk-teal); margin-bottom: 16px; }
.pf-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; margin-bottom: 20px; }
.pf-who { display: flex; align-items: center; gap: 14px; }
.pf-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
}
.pf-name { font-weight: 600; }
.pf-role { font-size: 0.88rem; opacity: 0.75; }
.pf-creds { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pf-creds span { font-family: var(--mono); font-size: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 5px 10px; }
.partner-card .pc-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.partner-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 12px; color: var(--ink); }
.partner-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.slots { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.slots-dots { display: flex; gap: 6px; }
.slot { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line-2); }
.slot.filled { background: var(--teal-soft); border-color: var(--teal); }
.slot.filled::after { content: ""; display: block; width: 8px; height: 8px; margin: 7px auto 0; border-radius: 50%; background: var(--teal); }
.slots-label { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--teal); }
.pc-link svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

/* How it fits */
.fits-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fits-copy h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 400; line-height: 1.08; margin-bottom: 16px; }
.fits-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.fits-list li { display: flex; gap: 12px; align-items: flex-start; }
.fits-list .ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.fits-list .ck svg { width: 13px; height: 13px; stroke: var(--teal); stroke-width: 2.5; fill: none; }
.fits-list b { font-weight: 600; color: var(--ink); display: block; margin-bottom: 2px; }
.fits-list span { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.arch { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--sh-md); }
.arch-row { display: flex; gap: 8px; margin-bottom: 10px; }
.arch-tier { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; }
.arch-tier .t { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted-soft); margin-bottom: 4px; }
.arch-tier .v { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.arch-arrow { text-align: center; font-family: var(--mono); font-size: 10px; color: var(--teal); margin: 6px 0; }
.arch-base { background: var(--navy); border-radius: 12px; padding: 18px; text-align: center; color: #fff; }
.arch-base .bt { font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.arch-base .bs { font-size: 0.82rem; opacity: 0.9; margin-top: 2px; }

/* Layer grid */
.layergrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.layercard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--sh-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.layercard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); }
.layercard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.layer-no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 12px; }
.layercard h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.layercard p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.cap-all { text-align: center; margin-top: 28px; }
.cap-all a { font-weight: 600; color: var(--teal); }

/* Evidence layer */
.evlayer { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.evlayer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 90% 10%, rgba(255,255,255,0.08), transparent 60%); pointer-events: none; }
.evl-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 88px 0; }
.evl-copy .kicker { color: rgba(247, 250, 252, 0.75); }
.evl-copy .kicker::before, .evl-copy .kicker::after { background: rgba(247, 250, 252, 0.35); opacity: 1; }
.evl-copy h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.08; margin-bottom: 18px; }
.evl-copy h2 .it { color: #7dd3fc; }
.evl-copy p { font-size: 1.02rem; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 16px; }
.evl-mini { display: flex; gap: 28px; margin-top: 20px; }
.evl-mini .n { font-family: var(--serif); font-size: 2rem; color: var(--teal); line-height: 1; }
.evl-mini .l { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.chainlog { background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; overflow: hidden; }
.chainlog-h { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 8px; }
.chainlog-h .gd { width: 6px; height: 6px; border-radius: 50%; background: var(--pk-teal); animation: blink 1.6s infinite; }
.clog { padding: 16px; font-family: var(--mono); font-size: 11px; line-height: 1.5; }
.clog-evt { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s; }
.clog-evt.show { opacity: 1; transform: none; }
.clog-evt:last-child { border: none; }
.clog .ts { color: var(--pk-teal); }
.clog .ac { color: #fff; font-weight: 500; }
.clog .meta { color: rgba(255,255,255,0.5); display: block; margin-top: 2px; }
.clog .hl { color: var(--amber); }
.clog .lock { float: right; font-size: 8px; color: var(--pk-teal); border: 1px solid rgba(34, 197, 94, 0.4); border-radius: 3px; padding: 1px 5px; }

/* Query cards */
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--sh-sm); transition: transform 0.25s, box-shadow 0.25s; }
.qcard:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.qcard .q { display: flex; gap: 10px; padding: 20px 22px; font-size: 0.98rem; font-weight: 600; color: var(--ink); line-height: 1.35; border-bottom: 1px solid var(--line); }
.qcard .q .qm { color: var(--teal); font-family: var(--serif); font-size: 1.5rem; line-height: 0.7; }
.qterm { padding: 18px 22px; font-family: var(--mono); font-size: 11.5px; line-height: 1.9; background: #0F172A; color: #e2e8f0; }
.qterm .c { color: #64748b; }
.qterm .res { color: #fbbf24; }
.qterm .row { color: #cbd5e1; }
.qterm .row .dim { color: #64748b; }
.qterm .fin { color: var(--pk-teal); }
.qterm .ev { color: var(--teal); }

/* Trust grid */
.trustgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tcell { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--sh-sm); }
.tstat { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.sd { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.sd-active { background: var(--pk-teal); }
.sd-warn { background: var(--amber); }
.sd-aligned { background: var(--acc-cyan); }
.sd-build { background: var(--muted-soft); }
.sd-own { background: var(--teal); }
.tcell h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.tcell p { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.trust-disc { margin-top: 20px; font-family: var(--mono); font-size: 10px; color: var(--muted-soft); line-height: 1.6; max-width: 72ch; }

/* Founding partner CTA */
.fp { padding: 72px 0; }
.fp-box {
  background: linear-gradient(135deg, var(--navy), var(--deep-navy));
  border-radius: 20px;
  padding: 52px 44px;
  text-align: center;
  color: #fff;
  box-shadow: var(--sh-lg);
}
.fp-top { max-width: 600px; margin: 0 auto 28px; }
.fp-top .kicker { color: rgba(247, 250, 252, 0.75); }
.fp-top .kicker::before, .fp-top .kicker::after { background: rgba(247, 250, 252, 0.35); opacity: 1; }
.fp-top h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 400; margin-bottom: 12px; }
.fp-top h2 .it { color: #7dd3fc; }
.fp-top p { color: rgba(255,255,255,0.8); font-size: 1.02rem; line-height: 1.6; }
.fp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.fp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fp-step { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 18px 14px; }
.fp-step .num { font-family: var(--mono); font-size: 10px; color: var(--teal); margin-bottom: 6px; }
.fp-step .t { font-size: 0.92rem; font-weight: 500; }

/* CTA band */
.cta-band { padding: 72px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.cta-band-in { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band-in h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; margin-bottom: 12px; }
.cta-band-in p { color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Contact */
.contact { padding: 72px 0 88px; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 44px; box-shadow: var(--sh-md); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-copy h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; margin-bottom: 14px; }
.contact-copy p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-bottom: 20px; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-points li { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; color: var(--ink-2); }
.contact-points .tk { color: var(--teal); display: flex; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.cf-row { margin-bottom: 14px; }
.cf-row label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.cf-row input, .cf-row textarea, .cf-row select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.cf-row input:focus, .cf-row textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.cf-row textarea { min-height: 110px; resize: vertical; }
.cf-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cf-submit:hover { background: var(--blue); transform: translateY(-1px); }
.cf-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.cf-or { margin-top: 12px; text-align: center; font-size: 0.86rem; color: var(--muted); }
.cf-or a { color: var(--teal); font-weight: 500; }

/* Footer */
footer { padding: 56px 0 28px; border-top: 1px solid rgba(8, 42, 87, 0.10); background: #F7FAFC; color: rgba(8, 42, 87, 0.78); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: auto;
  overflow: visible;
  margin-bottom: 14px;
}
.foot-icon {
  width: 36px;
  height: 36px;
  display: block;
  flex: 0 0 auto;
}
.foot-wordmark {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.foot-wordmark .brand-word { color: #F7FAFC; }
.foot-wordmark .brand-x    { color: #7DD3DA; }
.foot-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
}
.foot-grid > div > p { font-size: 0.88rem; color: rgba(8, 42, 87, 0.68); line-height: 1.6; max-width: 32ch; }
.fcol h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(8, 42, 87, 0.48); margin-bottom: 14px; }
.fcol a { display: block; font-size: 0.9rem; color: rgba(8, 42, 87, 0.72); margin-bottom: 9px; transition: color 0.2s; }
.fcol a:hover { color: var(--teal); }
.compliance { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; border-top: 1px solid rgba(8, 42, 87, 0.10); border-bottom: 1px solid rgba(8, 42, 87, 0.10); margin-bottom: 20px; }
.compliance span { font-family: var(--mono); font-size: 10px; color: rgba(8, 42, 87, 0.72); background: #fff; border: 1px solid rgba(8, 42, 87, 0.12); border-radius: 6px; padding: 5px 10px; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: rgba(8, 42, 87, 0.55); }
.foot-bot .tagline { color: rgba(8, 42, 87, 0.72); font-family: var(--serif); font-style: italic; }

/* Platform page */
.layer-sec { padding: 48px 0; border-top: 1px solid var(--line); }
.layer-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.layer-head .ln { font-family: var(--mono); font-size: 13px; color: var(--navy); letter-spacing: 0.1em; }
.layer-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); }
.layer-head .ld { color: var(--muted); font-size: 0.95rem; max-width: 44ch; margin-left: auto; }
.layer-why { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); max-width: 58ch; margin: -8px 0 22px; padding-left: 14px; border-left: 2px solid var(--blue); opacity: 0.85; }
.modgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.modcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--sh-sm); transition: transform 0.25s, box-shadow 0.25s; }
.modcard:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.modcard h4 { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.modcard p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.badge { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; font-weight: 600; flex-shrink: 0; }
.b-live { background: rgba(34, 197, 94, 0.12); color: var(--pk-teal); border: 1px solid rgba(34, 197, 94, 0.3); }
.b-beta { background: var(--teal-soft); color: var(--teal); border: 1px solid rgba(16, 174, 180, 0.2); }
.b-plan { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.legend { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 24px auto 0; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pillar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.pillar-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.pillar-tile:hover { border-color: var(--teal); transform: translateY(-2px); }
.pillar-tile img { width: 40px; height: 40px; margin: 0 auto 6px; object-fit: contain; }
.pillar-tile span { font-size: 0.72rem; color: var(--ink-2); line-height: 1.3; display: block; margin-top: 4px; }
.pillar-tile .pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

/* Compare / Why SidantiX */
.gentle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.gentle-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: var(--sh-sm); transition: transform 0.25s, box-shadow 0.25s; }
.gentle-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.gentle-card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.gentle-card .ic svg { width: 22px; height: 22px; stroke: var(--teal); stroke-width: 1.8; fill: none; }
.gentle-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.gentle-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.cmp-table-wrap, .cmp-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cmp-table, .cmp, table.cmp { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cmp-table th, .cmp-table td, .cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp-table th, .cmp th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-soft); background: var(--bg-soft); }
.cmp-table .feat, .cmp .feat { color: var(--ink); font-weight: 500; }
.cmp-table .us, .cmp .us { background: var(--teal-soft); }
.cmp-col-us { color: var(--ink-2); }
.cmp-table .them, .cmp .them { color: var(--muted); }
.cmp-table .yes, .cmp .yes { color: var(--pk-teal); font-weight: 600; }
.cmp-note { margin-top: 18px; font-size: 0.86rem; color: var(--muted-soft); line-height: 1.6; max-width: 72ch; margin-left: auto; margin-right: auto; text-align: center; }

/* Persona / integrations */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.persona-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; box-shadow: var(--sh-sm); }
.persona-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.persona-icon svg { width: 24px; height: 24px; stroke: var(--teal); stroke-width: 1.8; fill: none; }
.persona-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.persona-card h2 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; margin-bottom: 12px; color: var(--ink); }
.persona-card p { font-size: 0.94rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.persona-list { list-style: none; margin-bottom: 18px; }
.persona-list li { font-size: 0.9rem; color: var(--ink-2); padding: 6px 0 6px 18px; position: relative; }
.persona-list li::before { content: "✓"; position: absolute; left: 0; color: var(--pk-teal); font-weight: 600; }
.text-link { font-weight: 600; color: var(--teal); }
.int-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.int-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: var(--sh-sm); }
.int-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.int-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.int-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.int-tags span { font-family: var(--mono); font-size: 10px; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.em-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--sh-sm); }
.em-card.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--sh-md); }
.em-phase { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.em-name { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin-bottom: 10px; }
.em-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.55; margin-bottom: 20px; flex: 1; }
.em-cta { display: block; text-align: center; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.em-cta.solid { background: var(--teal); color: #fff; }
.em-cta.outline { border: 1px solid var(--line-2); color: var(--ink); }
.em-anchor { margin-top: 28px; text-align: center; font-size: 0.9rem; color: var(--muted); line-height: 1.65; max-width: 64ch; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-body { padding: 0 20px 16px; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* Trust pillars */
.trust-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.trust-pillar { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--sh-sm); }
.trust-pillar h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.trust-pillar p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* Status table */
.status-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.88rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.status-table th, .status-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.status-table th { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-soft); background: var(--bg-soft); }
.st { font-family: var(--mono); font-size: 9px; padding: 3px 8px; border-radius: 999px; }
.st-active { background: rgba(34, 197, 94, 0.12); color: var(--pk-teal); }
.st-aligned { background: var(--teal-soft); color: var(--teal); }
.st-warn { background: rgba(245, 158, 11, 0.14); color: var(--amber); }

/* Evidence pack */
.ev-pack { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: var(--ink-2); box-shadow: var(--sh-md); }
.ev-pack .ev-title { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 16px; }
.ev-pack .ev-seal { color: var(--pk-teal); margin-bottom: 12px; }

/* Legal */
.legal-body { max-width: 68ch; margin: 0 auto; padding: 48px 0 72px; }
.legal-body h1 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 20px; }
.legal-body h2 { font-family: var(--serif); font-size: 1.35rem; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--muted); line-height: 1.65; margin-bottom: 10px; font-size: 0.94rem; }
.legal-body ul { padding-left: 22px; margin-bottom: 14px; }

/* Animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.herofade { opacity: 0; transform: translateY(16px); animation: heroIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hf1 { animation-delay: 0.06s; }
.hf2 { animation-delay: 0.14s; }
.hf3 { animation-delay: 0.22s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

/* Mobile — tablet */
@media (max-width: 1024px) {
  .hero-inner, .fits-in, .contact-grid, .proof-grid, .evl-in { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .trustgrid { grid-template-columns: repeat(2, 1fr); }
  .fp-steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid, .persona-grid, .feat-grid, .gentle-grid { grid-template-columns: 1fr; }
  .layergrid { grid-template-columns: repeat(2, 1fr); }
  .modgrid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 36px; padding: 16px 0 56px; }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .nav-menu, .nav-act { display: none; }
  .nav-toggle { display: flex; }
  .nav-in {
    flex-wrap: wrap;
    gap: 0;
    min-height: var(--header-h);
    align-items: center;
  }
  .brand { order: 1; flex: 1; min-width: 0; }
  .brand-logo { height: 44px; max-height: 44px; max-width: 220px; }
  .nav-toggle { order: 2; margin-left: 12px; }
  .nav-menu, .nav-act { order: 3; width: 100%; }
  .site-header.open .nav-menu,
  .site-header.open .nav-act {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 8px 4px;
  }
  .site-header.open .nav-menu {
    padding-top: 12px;
    gap: 0;
  }
  .site-header.open .nav-act {
    padding-bottom: 16px;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
  }
  .site-header.open .nav-menu a {
    height: auto;
    padding: 12px 8px 12px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: normal;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  .site-header.open .nav-menu a:hover,
  .site-header.open .nav-menu a.active {
    border-left-color: var(--nav-tab);
    color: var(--teal);
  }
  .site-header.open .nav-menu a.active::after {
    display: none;
  }
  .site-header.open .nav-act .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
  .site-header { position: sticky; }
  .hero-inner {
    text-align: center;
    padding: 16px 0 40px;
    gap: 28px;
    align-items: start;
  }
  .hero-copy { text-align: center; }
  .hero-cta, .hero-sub, .hero-cred, .hero-truth, .hero-stat-pull { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  h1 { font-size: clamp(1.85rem, 6.5vw, 2.6rem); }
  .sec { padding: 64px 0; }
  .qgrid, .int-grid { grid-template-columns: 1fr; }
  .modgrid, .trust-pillars { grid-template-columns: 1fr; }
  .loop-body { grid-template-columns: 1fr; }
  .loop-left { border-right: none; border-bottom: 1px solid var(--panel-line); }
  .foot-grid { grid-template-columns: 1fr; }
  .layergrid { grid-template-columns: 1fr; }
  .trustgrid, .fp-steps { grid-template-columns: 1fr; }
  .contact-box { padding: 28px 20px; }
  .fp-box { padding: 36px 24px; }
  .btn-sm { min-height: 44px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero-inner { padding: 16px 0 40px; gap: 24px; }
  h1 { font-size: clamp(1.6rem, 7.5vw, 2rem); line-height: 1.1; }
  .hero-truth { font-size: 1.05rem; }
  .hero-sub { font-size: 1rem; }
  .stats-in { grid-template-columns: 1fr; gap: 20px; }
  .stat .n { font-size: 2.2rem; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .btn-lg { padding: 14px 20px; font-size: 15px; min-height: 44px; }
  .loop { border-radius: 12px; }
  .loop-top { padding: 12px 14px; gap: 8px; }
  .loop-top .ttl { font-size: 9px; flex: 1; min-width: 0; }
  .loop-left, .loop-right { padding: 14px; }
  .steps {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 14px;
    padding-bottom: 4px;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 auto; min-width: 52px; }
  .pack { font-size: 9.5px; padding: 12px; }
  .nhi .n2 { font-size: 9px; }
  .sysrow { font-size: 10.5px; padding: 7px 8px; }
  .contact-grid { gap: 28px; }
  .cf-row input, .cf-row textarea, .cf-row select {
    font-size: 16px;
    padding: 12px 14px;
    min-height: 44px;
  }
  .cf-submit { min-height: 48px; }
  .announce { font-size: 12px; padding: 8px 12px; }
  }
body.nav-open { overflow: hidden; }

/* —— V3-ported sections (adapted to V1 tokens) —— */
#scenarios, #workspace, #compare { scroll-margin-top: calc(var(--header-h) + 12px); }
#scenarios .sec-head,
#workspace .sec-head,
#compare .sec-head { margin-bottom: 40px; }
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
}
.usecase {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.usecase:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-md);
}
.usecase .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--deep-navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}
.usecase h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.usecase p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.product-shot {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  background: #fff;
  max-width: 1080px;
  margin: 0 auto;
}
.product-bar {
  height: 52px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.product-bar .dots { display: flex; gap: 8px; }
.product-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; }
.product-body { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; }
.product-body .sidebar {
  background: var(--deep-navy);
  color: #D6E4F0;
  padding: 20px;
}
.product-body .sidebar .item {
  padding: 11px 12px;
  border-radius: 10px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 13px;
}
.product-body .sidebar .item.active {
  background: rgba(29, 95, 167, 0.35);
  color: #E8F1FA;
}
.main-pane { padding: 24px; }
.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.insight {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}
.insight strong {
  display: block;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-family: var(--serif);
}
.insight span { font-size: 12px; color: var(--muted); }
.pane-title { margin: 0 0 8px; font-size: 1.15rem; color: var(--navy); }
.pane-lead { color: var(--muted); margin: 0 0 16px; font-size: 0.95rem; }
.ws-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ws-table th {
  text-align: left;
  color: var(--muted);
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ws-table td { padding: 14px 12px; border-bottom: 1px solid #EEF2F6; color: var(--ink-2); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge.green { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.badge.amber { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.badge.teal { background: rgba(16, 174, 180, 0.14); color: #0e7490; }
.badge.purple { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.compare-card {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--sh-sm);
}
.compare-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.compare-card.sid {
  border-color: rgba(29, 95, 167, 0.35);
  box-shadow: 0 20px 56px rgba(8, 42, 87, 0.10);
  background: linear-gradient(180deg, #fff 0%, #F8FBFD 100%);
}
.checklist { display: grid; gap: 12px; margin-top: 18px; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.5;
}
.check:before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 5px #E4EEF8;
  flex: 0 0 auto;
}
.compare-card.sid .check:before {
  background: var(--teal);
  box-shadow: inset 0 0 0 5px #D9FBFD;
}
.compare-card:not(.sid) .check:before {
  background: var(--muted-soft);
  box-shadow: inset 0 0 0 5px #E8EEF4;
}

@media (max-width: 900px) {
  .usecase-grid, .compare, .product-body { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .product-body .sidebar { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; }
  .product-body .sidebar .item { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .insight-grid { grid-template-columns: 1fr; }
  .browser-url { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .herofade { opacity: 1 !important; transform: none !important; animation: none !important; }
  .marquee-track { animation: none; }
}
