/* ═══════════════════════════════════════════════════════════════
   Strig: The Software Build Security Platform
   Brand tokens from brand/README.md:
   charcoal #1A1A1A · rustic orange #C85A32 · cream #F6F3ED
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0e0d0c;
  --bg-raised: #151412;
  --bg-card: #1a1917;
  --cream: #f6f3ed;
  --ink: #1a1a1a;
  --text: #f6f3ed;
  --text-2: #b3ada2;
  --text-3: #7a756b;
  --orange: #c85a32;
  --orange-bright: #e06a3e;
  --orange-soft: rgba(200, 90, 50, 0.14);
  --orange-glow: rgba(200, 90, 50, 0.32);
  --green: #6fbf8b;
  --amber: #d9a441;
  --line: rgba(246, 243, 237, 0.09);
  --line-strong: rgba(246, 243, 237, 0.18);
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --w: 1160px;
  --nav-h: 68px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: min(var(--w), calc(100% - 48px));
  margin-inline: auto;
}

::selection { background: var(--orange); color: #fff; }

/* ── Reveal on scroll ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .showcase-panel { animation: none; }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.btn-primary { background: var(--orange); color: #fff; }

.btn-primary:hover {
  background: var(--orange-bright);
  box-shadow: 0 6px 28px var(--orange-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(246, 243, 237, 0.02);
}

.btn-ghost:hover {
  border-color: var(--text-2);
  background: rgba(246, 243, 237, 0.06);
}

.btn-lg { padding: 15px 32px; font-size: 1rem; }

.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ── Navigation ── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(14, 13, 12, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--w), calc(100% - 48px));
  margin-inline: auto;
}

.nav-logo img { height: 26px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(246, 243, 237, 0.06);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 20px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 100px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, black 20%, transparent 75%);
  opacity: 0.5;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(200, 90, 50, 0.16) 0%, transparent 65%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(246, 243, 237, 0.03);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 30px;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange-glow);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange-bright);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-points {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-2);
}

.hero-points svg { color: var(--orange-bright); flex-shrink: 0; }

/* ── Hero / section graphics ── */

.hero-visual {
  margin: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: #121110;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(200, 90, 50, 0.08);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.section-visual {
  margin: 0 auto 48px;
  max-width: 920px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.section-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.section-visual-sm {
  max-width: 640px;
  margin-bottom: 40px;
}

/* ── Section scaffolding ── */

section { padding: 110px 0; position: relative; }

.section-band {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 18px;
}

.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--orange); }
.section-head.center .eyebrow::after { content: ""; width: 24px; height: 1.5px; background: var(--orange); }

h2.title {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-2);
  line-height: 1.7;
  text-wrap: pretty;
}

/* ── Team cards ── */

.buyer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.buyer-card {
  padding: 34px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.buyer-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.buyer-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 12px;
}

.buyer-card > h3 {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
  text-wrap: balance;
}

.buyer-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.buyer-points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}

.buyer-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.buyer-block { margin-bottom: 18px; }

.buyer-block h4,
.buyer-outcomes h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.buyer-block p {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.65;
}

.buyer-outcomes {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.buyer-outcomes ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.buyer-outcomes li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}

.buyer-outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(111, 191, 139, 0.35);
}

/* ── Solution vectors ── */

.vector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.vector-card {
  padding: 34px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}

.vector-card.featured {
  border-color: rgba(200, 90, 50, 0.5);
  background:
    linear-gradient(180deg, rgba(200, 90, 50, 0.1), rgba(200, 90, 50, 0.02)),
    var(--bg-card);
  box-shadow: 0 0 40px rgba(200, 90, 50, 0.1);
}

.vector-top { margin-bottom: 16px; }

.vector-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.vector-badge.muted {
  background: rgba(246, 243, 237, 0.06);
  color: var(--text-2);
  border: 1px solid var(--line-strong);
}

.vector-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.vector-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--text-2);
}

.vector-card > p {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 18px;
}

.vector-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex: 1;
}

.vector-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.vector-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-bright);
}

.vector-fit {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.55;
}

.vector-fit strong { color: var(--text); }

/* ── AI strip (under platform) ── */

.ai-strip {
  margin-top: 36px;
  padding: 36px 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(200, 90, 50, 0.08), transparent 55%),
    var(--bg-card);
}

.ai-strip .eyebrow { margin-bottom: 14px; }

.ai-strip h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  max-width: 640px;
  text-wrap: balance;
}

.ai-strip p {
  font-size: 0.98rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 820px;
}

/* ── Interactive product showcase ── */

.showcase-section {
  padding: 110px 0;
}

.showcase-widget {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 520px;
}

.showcase-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-right: 1px solid var(--line);
  background: rgba(14, 13, 12, 0.6);
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.showcase-tab:hover {
  color: var(--text);
  background: rgba(246, 243, 237, 0.04);
}

.showcase-tab.active {
  color: var(--text);
  background: rgba(200, 90, 50, 0.1);
  border-left-color: var(--orange-bright);
}

.showcase-tab .tab-icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.showcase-tab.active .tab-icon { opacity: 1; color: var(--orange-bright); }

.showcase-stage {
  position: relative;
  padding: 40px 44px;
  min-height: 520px;
}

.showcase-panel {
  display: none;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
  animation: showcaseIn 0.35s var(--ease) both;
}

.showcase-panel.active { display: grid; }

@keyframes showcaseIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.showcase-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.showcase-copy > p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 22px;
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--orange-bright);
  margin-bottom: 20px;
  transition: gap 0.2s ease;
}

.showcase-link:hover { gap: 10px; }

.showcase-for {
  font-size: 0.85rem;
  color: var(--text-3);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.showcase-for strong { color: var(--text-2); font-weight: 600; }

/* Mock UI chrome */
.showcase-mock { min-width: 0; }

.mock-ui {
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: #121110;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 237, 0.03);
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mock-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-3);
}

.mock-body {
  padding: 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
}

/* Mock: build truth */
.mock-truth {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.truth-col {
  padding: 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.truth-col.hot {
  border-color: rgba(200, 90, 50, 0.45);
  background: rgba(200, 90, 50, 0.06);
}

.truth-head {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.truth-col.hot .truth-head { color: var(--orange-bright); }

.truth-col ul { display: flex; flex-direction: column; gap: 6px; }

.truth-col li { color: var(--text-2); line-height: 1.4; }

/* Mock: diff */
.mock-diff { display: flex; flex-direction: column; gap: 8px; }

.diff-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
}

.diff-row.add { border-color: rgba(111, 191, 139, 0.3); }
.diff-row.rem { border-color: rgba(224, 106, 62, 0.3); }
.diff-row.same { opacity: 0.5; }

.diff-tag { font-weight: 700; color: var(--green); }
.diff-row.rem .diff-tag { color: var(--orange-bright); }
.diff-row.same .diff-tag { color: var(--text-3); }

.diff-meta { font-size: 0.68rem; color: var(--text-3); }

.diff-summary {
  margin-top: 8px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--orange-bright);
  font-weight: 600;
}

/* Mock: funnel */
.mock-funnel { display: flex; flex-direction: column; gap: 10px; }

.funnel-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  position: relative;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  overflow: hidden;
}

.funnel-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w, 100%);
  background: rgba(246, 243, 237, 0.06);
  pointer-events: none;
}

.funnel-row.warn::before { background: rgba(217, 164, 65, 0.12); }
.funnel-row.hot::before { background: rgba(200, 90, 50, 0.15); }

.funnel-label { position: relative; color: var(--text-2); }
.funnel-num { position: relative; font-weight: 700; color: var(--text); }

/* Mock: supply chain */
.mock-chain { display: flex; flex-direction: column; gap: 16px; }

.chain-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.chain-node {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  font-size: 0.72rem;
  color: var(--text-2);
}

.chain-node.hot {
  border-color: var(--orange);
  color: var(--orange-bright);
  background: rgba(200, 90, 50, 0.08);
}

.chain-arrow { color: var(--text-3); font-size: 0.7rem; }

.chain-alerts { display: flex; flex-direction: column; gap: 8px; }

.chain-alerts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-raised);
  color: var(--text-2);
  font-size: 0.72rem;
}

.chain-sev {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

.chain-sev.ok { background: rgba(111, 191, 139, 0.15); color: var(--green); }
.chain-sev.warn { background: rgba(217, 164, 65, 0.15); color: var(--amber); }

/* Mock: findings */
.mock-findings { display: flex; flex-direction: column; gap: 8px; }

.finding {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.finding .sev {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  text-align: center;
}

.finding.crit .sev { background: rgba(224, 80, 60, 0.2); color: #e0503c; }
.finding.high .sev { background: rgba(200, 90, 50, 0.2); color: var(--orange-bright); }
.finding.med .sev { background: rgba(217, 164, 65, 0.15); color: var(--amber); }
.finding.low .sev { background: rgba(246, 243, 237, 0.08); color: var(--text-3); }

.finding .file { font-size: 0.68rem; color: var(--text-3); }

/* Mock: SBOM */
.mock-sbom { display: flex; flex-direction: column; gap: 14px; }

.sbom-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-2);
  margin-right: 16px;
}

.sbom-stat span { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.sbom-stat.warn span { color: var(--amber); }

.sbom-list { display: flex; flex-direction: column; gap: 6px; }

.sbom-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--text-2);
}

.sbom-ok { font-size: 0.65rem; color: var(--green); }
.sbom-warn { font-size: 0.65rem; color: var(--amber); }

/* Mock: gate */
.mock-gate { text-align: center; }

.gate-verdict {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.gate-verdict.pass { color: var(--green); }

.gate-rules {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.gate-rules li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-raised);
  color: var(--text-2);
  font-size: 0.72rem;
}

.gate-ok { color: var(--green); }
.gate-waive { color: var(--amber); }

.gate-exit {
  font-size: 0.75rem;
  color: var(--text-3);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Mock: evidence */
.mock-evidence .evidence-list { display: flex; flex-direction: column; gap: 8px; }

.evidence-list li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.75rem;
}

.ev-icon {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.ev-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
}

.ev-status.done { background: rgba(111, 191, 139, 0.15); color: var(--green); }
.ev-status.partial { background: rgba(217, 164, 65, 0.15); color: var(--amber); }

@media (max-width: 1024px) {
  .showcase-widget { grid-template-columns: 1fr; }
  .showcase-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 8px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .showcase-tab {
    flex-shrink: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 12px 16px;
    border-radius: var(--r-sm);
  }
  .showcase-tab.active { border-bottom-color: var(--orange-bright); border-left-color: transparent; }
  .showcase-panel.active { grid-template-columns: 1fr; }
  .showcase-stage { padding: 28px 24px; min-height: auto; }
  .mock-truth { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .showcase-tab .tab-label { font-size: 0.72rem; }
  .chain-flow { justify-content: center; }
}


/* ── GEO: definition block ── */

.define-section {
  padding: 0 0 72px;
  margin-top: -24px;
}

.define-box {
  padding: 36px 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.define-text {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 920px;
  margin-bottom: 28px;
}

.define-text strong { color: var(--text); }

.define-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.define-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.define-facts dd {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

/* ── GEO: FAQ ── */

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--orange-bright);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover { background: rgba(246, 243, 237, 0.03); }

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  padding-top: 16px;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
}


.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cap-card {
  padding: 32px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.cap-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.cap-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange-bright);
  margin-bottom: 20px;
}

.cap-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.cap-card h3 {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.cap-card > p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cap-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-2);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(246, 243, 237, 0.03);
}

/* ── How it works ── */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  counter-reset: step;
}

.step {
  padding: 32px 18px 28px;
  position: relative;
  border-right: 1px solid var(--line);
  transition: background 0.3s ease;
}

.step:last-child { border-right: none; }
.step:hover { background: rgba(246, 243, 237, 0.02); }

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.step:hover::after { transform: scaleX(1); }

.step-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-bright);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.step h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.step p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }

.step-gate::after {
  background: var(--green);
  transform: scaleX(1);
}

.step-gate .step-num { color: var(--green); }

.evidence-pack {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(200, 90, 50, 0.35);
  background: var(--orange-soft);
  text-align: center;
}

.evidence-pack-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 10px;
}

.evidence-pack-body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 640px;
  margin-inline: auto;
  text-wrap: pretty;
}

.trait-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.trait {
  padding: 24px 22px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-align: center;
}

.trait-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 8px;
}

.trait-body {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* ── Edge strip (below how-it-works) ── */

.edge-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.edge-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.edge-card .edge-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(246, 243, 237, 0.05);
  border: 1px solid var(--line);
  color: var(--orange-bright);
}

.edge-card h4 { font-size: 0.96rem; font-weight: 650; margin-bottom: 4px; }
.edge-card p { font-size: 0.86rem; color: var(--text-2); line-height: 1.6; }

/* ── AI section ── */

.ai-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.ai-panel {
  padding: 36px 34px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.ai-panel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-panel h3 svg { color: var(--orange-bright); flex-shrink: 0; }

.ai-does { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }

.ai-does li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  align-items: flex-start;
}

.ai-does .tick {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 3px;
}

.ai-does strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
}

.ai-does span { font-size: 0.84rem; color: var(--text-2); line-height: 1.5; }

.ai-never {
  border-color: rgba(200, 90, 50, 0.45);
  background:
    linear-gradient(180deg, rgba(200, 90, 50, 0.08), rgba(200, 90, 50, 0.02)),
    var(--bg-card);
  display: flex;
  flex-direction: column;
}

.ai-never p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ai-never p strong { color: var(--text); }

.ai-never .ai-guarantee {
  margin-top: auto;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: rgba(14, 13, 12, 0.55);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.7;
}

.ai-never .ai-guarantee em {
  font-style: normal;
  color: var(--green);
  font-weight: 600;
}

/* ── Compliance / evidence explorer ── */

.evidence-shell {
  max-width: 960px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.evidence-split {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  min-height: 400px;
}

.evidence-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-right: 1px solid var(--line);
  background: rgba(14, 13, 12, 0.35);
}

.evidence-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 11px 18px;
  border: none;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.evidence-nav-btn:hover {
  color: var(--text);
  background: rgba(246, 243, 237, 0.04);
}

.evidence-nav-btn.active {
  color: var(--text);
  background: rgba(200, 90, 50, 0.1);
  border-left-color: var(--orange-bright);
}

.evidence-main {
  padding: 32px 36px;
  animation: showcaseIn 0.3s var(--ease) both;
}

.evidence-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.evidence-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 22px;
  max-width: 54ch;
}

.evidence-block { margin-bottom: 22px; }

.evidence-block:last-child { margin-bottom: 0; }

.evidence-block-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.evidence-standards-list,
.evidence-helps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evidence-standards-list li {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.evidence-helps-list li {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}

.evidence-helps-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-bright);
}

.std-list { display: flex; flex-direction: column; gap: 2px; }

.std-row-flat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.std-row-flat:last-child { border-bottom: none; }

.std-row-flat .std-dot { margin-top: 6px; }

.std-row-text { flex: 1; min-width: 0; }

.std-legend-inline {
  justify-content: flex-start;
  margin: 0 0 16px;
  gap: 18px;
  font-size: 0.78rem;
}

.std-row {
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.std-row[open] {
  border-color: var(--line);
  background: var(--bg-raised);
}

.std-row summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.std-row summary::-webkit-details-marker { display: none; }

.std-row-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.std-row-note {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.55;
}

.std-row summary .std-dot { margin-top: 0; }

.std-subhead {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
  margin-bottom: -2px;
}

.std-subhead:first-child { margin-top: 0; }

.std-footnote {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.55;
}

.std-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
}

.std-dot.done { background: var(--green); box-shadow: 0 0 8px rgba(111, 191, 139, 0.4); }
.std-dot.partial { background: var(--amber); }
.std-dot.planned { background: var(--text-3); opacity: 0.6; }

.std-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  font-size: 0.82rem;
  color: var(--text-2);
}

.std-legend span { display: flex; align-items: center; gap: 9px; }
.std-legend .std-dot { margin-top: 0; }

.std-note-box {
  margin-top: 48px;
  padding: 32px 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: flex-start;
}

.std-note-box .note-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--orange-soft);
  color: var(--orange-bright);
}

.std-note-box h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 8px; }
.std-note-box p { font-size: 0.92rem; color: var(--text-2); line-height: 1.7; }

/* ── SAST standards (under Platform) ── */

.sast-standards {
  margin-top: 48px;
  padding: 36px 40px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.sast-standards-head {
  margin-bottom: 8px;
}

.sast-standards-head .eyebrow {
  margin-bottom: 10px;
}

.sast-standards-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.sast-standards-head p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 62ch;
}

.sast-standards .std-subhead {
  margin-top: 0;
  margin-bottom: 8px;
}

.sast-standards-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 8px;
  align-items: start;
}

.sast-standards-col + .sast-standards-col {
  border-left: 1px solid var(--line);
  padding-left: 48px;
  margin-left: -24px;
}

.sast-standards .std-list {
  margin-bottom: 0;
}

.sast-standards .std-footnote {
  margin-top: 24px;
}

@media (max-width: 820px) {
  .sast-standards-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sast-standards-col + .sast-standards-col {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  .sast-standards {
    padding: 28px 22px 24px;
  }
}

/* ── Industries ── */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.ind-chip {
  padding: 22px 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--text-2);
  transition: all 0.25s var(--ease);
}

.ind-chip:hover {
  border-color: rgba(200, 90, 50, 0.5);
  color: var(--text);
  background: rgba(200, 90, 50, 0.05);
  transform: translateY(-2px);
}

.industries-note {
  margin-top: 44px;
  text-align: center;
  font-size: 1.02rem;
  color: var(--text-2);
  max-width: 640px;
  margin-inline: auto;
  text-wrap: balance;
}

.industries-note strong { color: var(--text); font-weight: 600; }

/* ── Cream editorial band ── */

.cream-band {
  background: var(--cream);
  color: var(--ink);
  padding: 120px 0;
  border: none;
}

.cream-band .band-inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.cream-band .band-quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cream-band .band-quote em { font-style: italic; color: var(--orange); }

.cream-band .band-sub {
  margin-top: 26px;
  font-size: 1.02rem;
  color: rgba(26, 26, 26, 0.62);
  font-weight: 500;
  max-width: 660px;
  margin-inline: auto;
  text-wrap: pretty;
}

/* ── CTA ── */

.cta {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 13, 12, 0.55) 0%, rgba(14, 13, 12, 0.82) 55%, rgba(14, 13, 12, 0.94) 100%),
    radial-gradient(ellipse 70% 60% at 50% 80%, rgba(200, 90, 50, 0.18) 0%, transparent 70%);
}

.cta-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }

.cta h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.cta h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange-bright);
}

.cta p {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
  text-wrap: balance;
}

.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ── Footer ── */

.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand img { height: 24px; margin-bottom: 14px; }

.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-3);
  max-width: 340px;
  line-height: 1.6;
}

.footer-links { display: flex; gap: 8px 28px; flex-wrap: wrap; }

.footer-links a {
  font-size: 0.86rem;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 56px; }
  .hero-layout .hero-copy { text-align: center; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .vector-grid { grid-template-columns: 1fr; }
  .define-facts { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: none; }
  .step:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;
  }
  .edge-strip { grid-template-columns: 1fr; }
  .ai-split { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  section { padding: 72px 0; }
  .showcase-section { padding: 72px 0; }
  .hero { padding: calc(var(--nav-h) + 56px) 0 72px; }
  .section-head { margin-bottom: 40px; }
  .define-section { padding: 0 0 56px; }
  .buyer-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .std-note-box { grid-template-columns: 1fr; }
  .ai-strip { padding: 28px 24px; }
  .evidence-split { grid-template-columns: 1fr; }
  .evidence-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0;
    -webkit-overflow-scrolling: touch;
  }
  .evidence-nav-btn {
    flex-shrink: 0;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 12px 16px;
    white-space: nowrap;
  }
  .evidence-nav-btn.active {
    border-left-color: transparent;
    border-bottom-color: var(--orange-bright);
  }
  .evidence-main { padding: 24px 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px calc(88px + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 13, 12, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    gap: 4px;
    overflow-y: auto;
  }

  .nav.open .nav-links { display: flex; }

  .nav.open .nav-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(14, 13, 12, 0.98);
    border-top: 1px solid var(--line);
    gap: 10px;
    z-index: 101;
  }

  .nav.open .nav-cta .btn {
    flex: 1;
    justify-content: center;
  }

  .nav.open .nav-cta .btn-ghost { display: inline-flex; }

  body.nav-open { overflow: hidden; }

  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }

  .hero-points { flex-direction: column; align-items: center; gap: 10px; }
  .hero-points span { font-size: 0.88rem; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .nav-inner { width: calc(100% - 36px); gap: 12px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .trait-row { grid-template-columns: 1fr; }
  .step:last-child { border-bottom: none; grid-column: auto; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .section-visual { margin-bottom: 36px; }
  .section-visual-sm { max-width: 100%; }
  .define-facts { grid-template-columns: 1fr; }
  .define-box { padding: 28px 24px; }
  .buyer-card { padding: 28px 24px; }
  .vector-card { padding: 28px 24px; }
  .showcase-tab .tab-icon { display: none; }
  .showcase-tab { padding: 10px 12px; }
  .mock-body { font-size: 0.72rem; }
  .footer-top { flex-direction: column; gap: 28px; }
}

/* ═══════════════════════════════════════════════════════════════
   Form pages (demo.html / contact.html)
   ═══════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 84px) 0 56px;
  overflow: hidden;
}

.page-hero .hero-bg::after { width: 700px; height: 500px; }

.page-hero-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.page-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--orange-bright);
}

.page-hero .lead { max-width: 540px; margin-inline: auto; }

.form-section { padding: 24px 0 120px; }

.form-card {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  padding: 44px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-2);
}

.field label .req { color: var(--orange-bright); }

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 120px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.18);
}

.form-actions { margin-top: 28px; }
.form-actions .btn { width: 100%; }

.form-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-3);
  text-align: center;
  line-height: 1.6;
}

/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  line-height: 1.55;
}

.alert.show { display: block; }

.alert.ok {
  background: rgba(111, 191, 139, 0.1);
  border: 1px solid rgba(111, 191, 139, 0.35);
  color: var(--green);
}

.alert.err {
  background: rgba(224, 106, 62, 0.08);
  border: 1px solid rgba(224, 106, 62, 0.4);
  color: var(--orange-bright);
}

/* ── Demo flow + confirmation (demo.html) ── */

.flow-block {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.flow-heading {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 22px;
}

.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.flow-step {
  display: flex;
  gap: 12px;
  align-items: center;
}

.flow-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-bright);
  font-size: 0.78rem;
  font-weight: 700;
}

.flow-step strong {
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.flow-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-3);
  margin: 20px 0 0;
}

.confirmation-panel {
  text-align: center;
  padding: 8px 0 4px;
}

.confirmation-panel[hidden] { display: none; }

.confirmation-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(72, 160, 120, 0.12);
  color: #5cb88a;
}

.confirmation-panel h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.confirmation-lead {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 20px;
}

.confirmation-next {
  text-align: left;
  max-width: 420px;
  margin: 0 auto 20px;
  padding-left: 1.2rem;
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.65;
}

.confirmation-next li { margin-bottom: 8px; }

.confirmation-next code {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.8rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
}

.confirmation-foot {
  font-size: 0.82rem;
  color: var(--text-3);
  margin: 0;
}

.confirmation-foot a {
  color: var(--orange-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .flow-steps { grid-template-columns: 1fr; }
  .flow-block { padding: 22px 20px; }
  .flow-step strong { white-space: normal; }
}

@media (max-width: 560px) {
  .form-card { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
}
