@import url('/web-tokens.generated.css');

/* Self-hosted fonts (no third-party CDN) */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/geist-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/geist-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/geist-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/geist-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");
}

:root {
  --ink: var(--web-marketing-ink);
  --ink-2: var(--web-marketing-ink-secondary);
  --ink-3: #27272a;
  --paper: var(--web-marketing-background);
  --paper-2: var(--web-marketing-surface);
  --line: var(--web-marketing-line);
  --line-dark: #27272a;
  --mute: var(--web-marketing-muted);
  --mute-dark: #a1a1aa;
  --accent: var(--web-identity-marketing-accent);
  --accent-deep: var(--web-identity-marketing-accent-deep);
  --accent-soft: rgba(0, 212, 176, 0.12);
  --shadow-sm: var(--web-shadow-marketing-sm);
  --shadow-md: var(--web-shadow-marketing-md);
  --radius: var(--web-radius-marketing-card);
  --radius-sm: var(--web-radius-marketing-sm);
  --r-card: var(--web-radius-marketing-card);
  --r-pill: var(--web-radius-pill);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.code-block pre:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

/* Skip-link - visually hidden until focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 120ms ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.mono {
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ── Layout ─────────────────────────────────────────── */
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 6rem 0; }
section + section { border-top: 1px solid var(--line); }

@media (max-width: 768px) {
  section { padding: 4rem 0; }
}

.eyebrow {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin: 0 0 0.85rem 0;
}

h1, h2, h3, h4 { letter-spacing: -0.022em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 2.4vw + 1rem, 2.75rem); font-weight: 600; text-wrap: balance; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; text-wrap: balance; }

p { margin: 0 0 1rem 0; color: var(--ink-2); text-wrap: pretty; }
.lede { font-size: 1.18rem; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.hero h1 + .lede { margin-top: 1.6rem; }

.marketing-subsection-heading { margin: var(--web-marketing-subsection-heading-offset) 0 var(--web-space-4); }
.marketing-readable-measure { max-width: var(--web-marketing-content-measure); }

.benchmarks-note { font-size: 0.85rem; color: var(--mute); }
li { text-wrap: pretty; }
blockquote { text-wrap: balance; }

.lede br { display: block; content: ""; margin-top: 0.55rem; }
.muted { color: var(--mute); }

.contrast .eyebrow { color: var(--accent); }
.marketing-inline-gap { margin-top: 0.8rem; }

#license h2 { text-wrap: pretty; }
.pricing-license { padding-top: 4rem; }
.pricing-title { margin: 0.4rem 0 1.2rem 0; }
.pricing-tco h2 { max-width: 22ch; margin-bottom: 1.2rem; }
.pricing-tco .table-scroll { margin-top: 2rem; }
.pricing-tco-table { min-width: 760px; }
.pricing-sizing { margin-top: clamp(3rem, 7vw, 5.5rem); }
.pricing-sizing h3 { max-width: 24ch; margin-bottom: 1rem; }
.pricing-sizing > p { color: var(--mute); }
.pricing-sizing-table { min-width: 780px; }
.pricing-sizing-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
  color: var(--mute);
}
.pricing-sizing-notes p { margin: 0; }
.pricing-sizing-notes strong { color: var(--ink); }
@media (max-width: 720px) {
  .pricing-sizing-notes { grid-template-columns: 1fr; }
}

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { padding: 0 2rem; }
@media (max-width: 880px) {
  .nav .wrap { padding: 0 1.25rem; }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.4rem 0;
  margin-right: auto;
}
.brand-wordmark { height: 44px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 1.85rem;
  align-items: center;
}
.nav-links .lang-flags { margin-left: 0.6rem; }
.nav-links .btn-primary { margin-left: 0.4rem; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-2); font-size: 0.93rem; font-weight: 500; white-space: nowrap; }
/* Language switcher with flags - both visible, active dimmed by ::after rule */
.lang-flags {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding: 0.18rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mute);
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}
.lang-flag img {
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(9, 9, 11, 0.12);
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 120ms ease;
}
.lang-flag:hover {
  background: var(--paper);
  color: var(--ink);
}
.lang-flag:hover img { opacity: 1; }
.lang-flag.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(9, 9, 11, 0.04);
  cursor: default;
}
.lang-flag.is-active img { opacity: 1; }
@media (max-width: 540px) {
  .lang-flag-code { display: none; }
  .lang-flag { padding: 0.32rem 0.45rem; }
}
.nav-links a:not(.btn):hover { color: var(--accent-deep); }
.nav-links a.btn-primary { color: var(--ink); }

/* Hamburger toggle - only visible on mobile/tablet */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: var(--paper-2); border-color: var(--ink); }
.nav-toggle svg { display: block; }
.nav-toggle .bar {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: center;
  transition: transform 220ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] .bar-1 { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar-2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar-3 { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer (hidden on desktop) */
.nav-drawer { display: none; }
.nav-drawer-backdrop { display: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 998;
  }
  .nav-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 88vw;
    max-width: 360px;
    background: var(--paper);
    backdrop-filter: blur(20px) saturate(180%);
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 40px rgba(9, 9, 11, 0.12);
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.4rem 1.5rem 2rem;
    gap: 0.4rem;
  }
  .nav-drawer.is-open { transform: translateX(0); }
  .nav-drawer[hidden] { display: flex; }
  .nav-drawer .drawer-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.6rem;
  }
  .nav-drawer .drawer-close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
  }
  .nav-drawer .drawer-close:hover { background: var(--paper-2); border-color: var(--ink); }
  .nav-drawer a:not(.btn):not(.lang-flag) {
    display: block;
    padding: 0.85rem 0.4rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-drawer a:not(.btn):not(.lang-flag):hover { color: var(--accent-deep); }
  .nav-drawer .lang-flags {
    margin: 1.2rem 0 0;
    align-self: flex-start;
  }
  .nav-drawer .btn {
    margin-top: 1.2rem;
    justify-content: center;
    width: 100%;
  }
  /* Lock body scroll while drawer is open */
  body.drawer-open { overflow: hidden; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #00ebc4; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { color: var(--ink); border: 1.5px solid var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #00ebc4; transform: translateY(-1px); }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1rem; }
.btn-arrow { display: inline-block; margin-left: 0.4em; transition: transform 180ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
.btn-accent:focus-visible {
  outline: 2px solid var(--accent-deep, var(--accent));
  outline-offset: 3px;
  border-radius: var(--r-pill);
}
.foot a:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(5.5rem, 9vw, 8.5rem) 0 clamp(5rem, 8vw, 7.5rem);
  border-top: 0;
  background:
    radial-gradient(700px 420px at 78% 18%, rgba(0, 212, 176, 0.11), transparent 68%),
    #0c1119;
  color: var(--paper);
}

.hero h1 strong {
  font-weight: 600;
  color: var(--accent);
}
.hero h1 { color: var(--paper); max-width: 12ch; font-size: clamp(3rem, 5vw + 0.5rem, 5.75rem); letter-spacing: -0.038em; }
.hero .eyebrow { color: var(--accent); }
.hero .lede { color: #c3cad4; max-width: 58ch; }

.see-it .lede:first-of-type { margin-top: 1.2rem; }

.hero .btn-secondary { color: var(--paper); border-color: rgba(255, 255, 255, 0.42); }
.hero .btn-secondary:hover { background: var(--paper); color: var(--ink); }

/* Hero screenshot (real product output) */

/* Legacy hero card - kept for the FR mirror until next translation pass */

/* ── Pain cards ─────────────────────────────────────── */

/* ── Contrast section ───────────────────────────────── */
.contrast { background: var(--ink); color: var(--paper); border-top: 0; padding: clamp(3rem, 8vw, 6rem) 0; }
.contrast h2 { color: var(--paper); }
.contrast p { color: var(--mute-dark); }

/* ── Differentiators ────────────────────────────────── */

/* ── Numbers strip ──────────────────────────────────── */
.numbers {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 8vw, 6rem) 0;
  border-top: 0;
}

/* ── Coverage layer pills ───────────────────────────── */

/* ── Transparency ──────────────────────────────────── */

/* Horizontally-scrollable table wrapper (mobile-friendly) */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  margin: 0 calc(-1 * 1.5rem);
  padding: 0 1.5rem;
}
.table-scroll > .trans-table { min-width: 640px; }
.table-scroll::after {
  content: "→";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
@media (max-width: 720px) {
  .table-scroll::after { opacity: 0.7; }
}
.table-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.trans-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.trans-table thead th {
  text-align: left;
  padding: 0.9rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.trans-table tbody th {
  text-align: left;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.trans-table tbody td {
  padding: 0.85rem 0.4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.trans-table tbody tr:last-child th,
.trans-table tbody tr:last-child td { border-bottom: 0; }
.trans-table tbody tr:hover { background: var(--accent-soft); }
.trans-table .ok { color: var(--accent-deep); font-weight: 700; }

@media (max-width: 740px) {
  .trans-table { font-size: 0.78rem; }
  .trans-table thead th, .trans-table tbody th, .trans-table tbody td { padding: 0.55rem 0.4rem; }
}

/* ── Integrations strip ─────────────────────────────── */
.integrations { background: var(--paper-2); }

/* ── Deployment ─────────────────────────────────────── */

/* ── Sovereignty / Compliance ───────────────────────── */

/* ── License ────────────────────────────────────────── */
.license-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 880px) { .license-grid { grid-template-columns: 1fr; } }
.lic-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--paper);
  position: relative;
}
.lic-card.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.lic-card.featured h3,
.lic-card.featured p,
.lic-card.featured li { color: var(--paper); }
.lic-card.featured .price { color: var(--accent); }
.lic-name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
  background: var(--paper-2);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-bottom: 0.4rem;
}
.lic-name::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mute);
}
.lic-card.featured .lic-name {
  color: var(--accent);
  background: rgba(0, 212, 176, 0.1);
  border-color: rgba(0, 212, 176, 0.3);
}
.lic-card.featured .lic-name::before { background: var(--accent); }
.lic-card h3 { margin: 0.5rem 0 0.4rem 0; font-size: 1.6rem; }
.lic-card p { margin-bottom: 1.2rem; font-size: 0.96rem; }
.lic-card ul { list-style: none; padding: 0; margin: 0; }
.lic-card li { padding: 0.5rem 0; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.lic-card.featured li { border-color: var(--line-dark); }
.lic-card li:last-child { border-bottom: 0; }
.lic-card li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.pricing-ai {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: 1.5rem;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0c1119;
  color: var(--ink);
}
.pricing-ai-copy { align-self: center; }
.pricing-ai-label {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}
.pricing-ai h2 {
  max-width: 16ch;
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}
.pricing-ai p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-2);
}
.pricing-ai-flow {
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.pricing-ai-flow li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.pricing-ai-step {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 212, 176, 0.45);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
}
.pricing-ai-flow strong,
.pricing-ai-flow span { display: block; }
.pricing-ai-flow strong {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 0.96rem;
}
.pricing-ai-flow div > span {
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.55;
}
.pricing-ai .pricing-ai-note {
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.88rem;
}
.pricing-ai-note strong { color: var(--ink); }
@media (max-width: 780px) {
  .pricing-ai {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .pricing-ai h2 { max-width: 20ch; }
}

/* ── Pricing bands ──────────────────────────────────── */
.bands {
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.bands-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.bands-table thead th {
  text-align: left;
  padding: 1rem 1.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.bands-table tbody tr {
  transition: background 120ms ease;
}
.bands-table tbody tr:hover { background: var(--accent-soft); }
.bands-table tbody th,
.bands-table tbody td {
  padding: 1.1rem 1.6rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.bands-table tbody tr:last-child th,
.bands-table tbody tr:last-child td { border-bottom: 0; }
.bands-table .band-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.bands-table .band-name::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
}
.bands-table .band-price {
  white-space: nowrap;
  color: var(--ink);
}
.bands-table .band-price strong {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--accent-deep);
}

.permonth {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.band-card .permonth { margin-left: 0.4rem; font-size: 0.7rem; }

/* Mobile: replace table with stacked cards */
.bands-cards { display: none; }
@media (max-width: 760px) {
  .bands-table:not(.bands-table-compact) { display: none; }
  .bands-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .band-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name price"
      "meta price"
      "best best";
    gap: 0.25rem 1rem;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--line);
  }
  .band-card:last-child { border-bottom: 0; }
  .band-card .band-name { grid-area: name; align-self: end; }
  
  .band-card .band-price {
    grid-area: price;
    align-self: center;
    font-size: 0.92rem;
    text-align: right;
  }
  .band-card .band-price strong {
    font-weight: 700;
    color: var(--accent-deep);
  }
  .band-card .band-best { grid-area: best; font-size: 0.85rem; color: var(--mute); margin-top: 0.4rem; }
}

.bands-meter {
  margin: 0;
  padding: 1.2rem 1.8rem;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.bands-meter strong { color: var(--accent-deep); }

/* Cost simulator (replaces the worked-examples grid) */
.price-simulator { margin-top: 2rem; }
.price-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.sim-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  background: var(--paper);
}
.sim-input-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.sim-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
}
.sim-number {
  font-variant-numeric: tabular-nums;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  width: 7rem;
  text-align: right;
  -moz-appearance: textfield;
}
.sim-number::-webkit-outer-spin-button,
.sim-number::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sim-number:focus { outline: 2px solid var(--accent); outline-offset: 2px; }

.sim-slider {
  width: 100%;
  margin: 0 0 1.6rem 0;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--accent-deep);
  cursor: pointer;
}
.sim-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--accent-deep);
  cursor: pointer;
}

.sim-breakdown {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0;
  margin-bottom: 1.4rem;
}
.sim-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  padding: 0.55rem 0;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
}
.sim-row:last-child { border-bottom: 0; }
.sim-row[data-active="false"] .sim-band-label,
.sim-row[data-active="false"] .sim-band-calc,
.sim-row[data-active="false"] .sim-band-sub { color: var(--mute); }
.sim-band-label {
  font-size: 0.92rem;
  color: var(--ink);
}
.sim-band-calc {
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  color: var(--mute);
}
.sim-band-sub {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: right;
  min-width: 5.5rem;
}

.sim-discounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}
@media (max-width: 720px) { .sim-discounts { grid-template-columns: 1fr; } }
.sim-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 0.7rem 1rem 0.9rem;
  margin: 0;
}
.sim-fieldset legend {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  padding: 0 0.4rem;
}
.sim-fieldset label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--ink-2);
  cursor: pointer;
}
.sim-fieldset input[type="radio"] {
  accent-color: var(--accent);
  flex-shrink: 0;
}

.sim-total {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.sim-total-row {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.4rem 0;
}
@media (max-width: 540px) {
  .sim-total-row { grid-template-columns: 1fr; gap: 0.2rem; }
}
.sim-total-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
}
.sim-total-value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.sim-total-suffix {
  font-size: 0.86rem;
  color: var(--mute);
}
.sim-total-discount .sim-total-value { color: var(--accent-deep); }
.sim-total-final {
  border-top: 1px dashed var(--line);
  margin-top: 0.4rem;
  padding-top: 0.9rem;
}
.sim-final-amount {
  font-size: 1.7rem;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
}
.sim-note {
  margin: 1.4rem 0 0;
  font-size: 0.82rem;
  color: var(--mute);
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
}

/* Negotiate block */
.bands-negotiate {
  margin-top: 2.5rem;
  padding: 1.8rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.bands-negotiate h3 { margin: 0 0 1rem 0; font-size: 1.15rem; }
.bands-negotiate ul { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.bands-negotiate li {
  padding: 0.55rem 0;
  font-size: 0.94rem;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 0.8rem;
}
.bands-negotiate li:last-child { border-bottom: 0; }
.bands-negotiate li::before {
  content: "↳";
  color: var(--accent-deep);
  flex-shrink: 0;
}
.bands-negotiate p { margin: 0; }
.bands-negotiate.pricing-negotiate { margin-top: 1.2rem; }

/* CTA bar */

/* ── Final CTA ──────────────────────────────────────── */

/* ── See it (product proof) ─────────────────────────── */
.see-it { background: var(--paper-2); }

/* ── Comparison table ───────────────────────────────── */
.compare { background: var(--paper); }

/* ── FAQ ────────────────────────────────────────────── */
.faq { background: var(--paper-2); }
.faq-page { padding-top: 4rem; }
.faq-title { margin: 0.4rem 0 1.2rem 0; }
.faq-back-link { margin-top: 3rem; }
.faq-cta {
  padding: 4rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.faq-cta-title { margin: 0 0 0.6rem 0; }
.faq-cta-copy { margin: 0 0 1.6rem 0; opacity: 0.8; }
.faq-cta-buttons {
  display: inline-flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}
.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(0, 151, 167, 0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-deep);
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(0deg); }
.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.4rem 1.5rem;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.6;
}
.faq-item code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86em;
  background: var(--paper-2);
  padding: 0.08rem 0.4rem;
  border-radius: 4px;
}

/* ── Contact form ───────────────────────────────────── */

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cf-field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.cf-field textarea { resize: vertical; min-height: 6rem; font-family: inherit; }

.cf-field input::placeholder,
.cf-field textarea::placeholder { color: #8794a7; opacity: 1; }
.cf-field select:required:invalid { color: #8794a7; }
.cf-field select option { color: var(--ink); }

/* Pilot scoping: the conversion point states the boundary and expected decision. */

/* ── Legal pages (privacy, legal, security) ─────────── */
.legal-page { padding: 5rem 0 6rem; }
.legal-wrap { max-width: 48rem; }
.legal-page h1 { font-size: clamp(2rem, 3vw + 1rem, 2.8rem); margin-bottom: 0.4rem; }
.legal-page h2 { margin-top: 2.4rem; margin-bottom: 0.7rem; font-size: 1.4rem; }
.legal-page h3 { margin-top: 1.6rem; margin-bottom: 0.5rem; font-size: 1.1rem; }
.legal-page p { color: var(--ink-2); }
.legal-page a { color: var(--accent-deep); font-weight: 600; }
.legal-page code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88em;
  background: var(--paper-2);
  padding: 0.08rem 0.4rem;
  border-radius: 4px;
}
.legal-scope-note {
  margin: 1.75rem 0 2.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}
.legal-scope-note strong { display: block; color: var(--ink); }
.legal-scope-note p { margin: 0.35rem 0 0; }
.legal-list { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.legal-list li { position: relative; padding: 0.45rem 0 0.45rem 1.4rem; border-bottom: 1px dashed var(--line); }
.legal-list li:last-child { border-bottom: 0; }
.legal-list li::before { content: "↳"; position: absolute; left: 0; color: var(--accent-deep); }

/* Trust center: an evidence register, intentionally distinct from feature-card marketing. */
.trust-center-wrap { max-width: 76rem; }
.trust-center-hero {
  padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(760px 440px at 78% 18%, rgba(45, 212, 168, 0.12), transparent 72%),
    #0c1119;
}
.trust-center-hero h1 {
  max-width: 18ch;
  margin: 0 0 1.4rem;
  font-size: clamp(2.7rem, 6.4vw, 5.5rem);
  letter-spacing: -0.038em;
}
.trust-center-hero .lede { max-width: 64ch; }
.trust-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.trust-status-key {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-status-key > div { padding: 1.3rem 1.5rem 1.4rem 0; }
.trust-status-key > div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.trust-status-key dt { margin-bottom: 0.7rem; }
.trust-status-key dd { margin: 0; color: var(--ink-2); font-size: 0.9rem; line-height: 1.55; }
.trust-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.16rem 0.62rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.trust-status.is-public { color: #5eead4; background: rgba(45, 212, 168, 0.08); }
.trust-status.is-review { color: #fbbf24; background: rgba(251, 191, 36, 0.08); }
.trust-status.is-unclaimed { color: #b8c2d0; background: rgba(184, 194, 208, 0.07); }

.trust-center-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.trust-center-section-ink { background: #0c1119; }
.trust-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.trust-section-head h2 { max-width: 18ch; margin: 0.55rem 0 0; }
.trust-section-head > p { max-width: 52ch; margin: 0; color: var(--ink-2); line-height: 1.7; }
.trust-section-index {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0;
}

.trust-flow { border-top: 1px solid var(--line); }
.trust-flow-row {
  display: grid;
  grid-template-columns: minmax(9rem, 0.75fr) minmax(13rem, 1fr) minmax(17rem, 1.25fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}
.trust-flow-row > span { color: var(--ink-2); }
.trust-flow-row .trust-flow-boundary { color: var(--ink); }
.trust-flow-row .trust-flow-boundary::before { content: "→ "; color: var(--accent); }
.trust-flow-row a,
.trust-ledger-row > a { color: var(--accent-deep); font-weight: 650; text-decoration: none; }
.trust-flow-row a:hover,
.trust-ledger-row > a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.trust-fact {
  max-width: 74ch;
  margin: 2rem 0 0;
  padding: 1.1rem 1.25rem;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 168, 0.22);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
}
.trust-fact strong { color: var(--ink); }

.trust-ledger { border-top: 1px solid var(--line); }
.trust-ledger-row {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(20rem, 1.4fr) minmax(9rem, 0.55fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
}
.trust-ledger-row h3 { margin: 0.65rem 0 0; font-size: 1.08rem; }
.trust-ledger-row p { margin: 0; color: var(--ink-2); line-height: 1.65; }

.trust-assurance-table { border-top: 1px solid var(--line); }
.trust-assurance-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(10rem, 0.65fr) minmax(20rem, 1.6fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.trust-assurance-row p { margin: 0; color: var(--ink-2); }
.trust-assurance-head {
  padding-block: 0.8rem;
  color: var(--mute);
  font-size: 0.8rem;
  font-weight: 700;
}
.trust-source-note { margin: 1.5rem 0 0; color: var(--mute); font-size: 0.86rem; }
.trust-source-note a { color: var(--accent-deep); }

.trust-review-section { padding: clamp(4rem, 8vw, 6.5rem) 0; background: #111520; color: #f4f4f5; }
.trust-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}
.trust-review-section .trust-section-index { color: #00d4b0; }
.trust-review-section h2 { max-width: 17ch; margin: 0.55rem 0 1rem; color: #f4f4f5; }
.trust-review-section p { max-width: 62ch; margin: 0; color: #dce3ec; }
.trust-review-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.trust-review-note { max-width: 34rem; font-size: 0.9rem; color: #dce3ec; }
.poc-criteria {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.poc-criteria li { position: relative; padding-left: 1.35rem; color: #dce3ec; }
.poc-criteria li::before { color: #00d4b0; }
.poc-criteria li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }

.trust-review-actions > a:not(.btn) { color: #f4f4f5; font-weight: 600; text-underline-offset: 0.2em; }
.trust-disclosure { background: var(--paper); }
.trust-disclosure .trust-disclosure-title {
  max-width: 22ch;
  margin: 0.6rem 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

@media (max-width: 900px) {
  .trust-section-head,
  .trust-review-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .trust-status-key { grid-template-columns: 1fr; }
  .trust-status-key > div { padding: 1rem 0; }
  .trust-status-key > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .trust-flow-row,
  .trust-ledger-row,
  .trust-assurance-row { grid-template-columns: 1fr; gap: 0.65rem; }
  .trust-flow-row a,
  .trust-ledger-row > a { margin-top: 0.3rem; }
  .trust-assurance-head { display: none; }
}

/* ── Docs page (Aikido-style sidebar TOC + content) ─── */
.docs-page { padding: 4rem 0 5rem; }

/* Claim → proof: bold one-liner that opens each section */

/* Buyer-side benefit micro-paragraph at the bottom of complex sections */

/* Vertical ASCII pipeline diagram (used once, in §Architecture) */

.architecture-map { margin: 0.75rem 0 1.25rem; }
.architecture-map-boundary { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.architecture-map-boundary > span { display: block; margin-bottom: 0.8rem; color: var(--accent-deep); font: 700 0.8rem/1.2 var(--web-font-marketing-sans); }
.architecture-map-lane { display: flex; align-items: stretch; gap: 0.65rem; }
.architecture-map-lane > div { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; min-height: 7rem; padding: 1rem; border: 1px solid var(--line); background: var(--paper); }
.architecture-map-lane strong, .architecture-map-lane p { display: block; }
.architecture-map-lane strong { color: var(--ink); font-size: 0.84rem; }
.architecture-map-lane p { margin: 0.35rem 0 0 !important; font-size: 0.78rem !important; }
.architecture-map-lane i { align-self: center; color: var(--accent-deep); font-style: normal; }
.architecture-map-outputs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.architecture-map-outputs > div { padding: 0.85rem 1rem; }
.architecture-map-outputs > div + div { border-left: 1px solid var(--line); }
.architecture-map-outputs strong, .architecture-map-outputs span { display: block; }
.architecture-map-outputs strong { color: var(--accent-deep); font: 700 0.72rem/1.2 var(--web-font-marketing-sans); }
.architecture-map-outputs span { margin-top: 0.3rem; color: var(--ink-2); font-size: 0.78rem; }
.scan-journey { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0.75rem 0 1.25rem !important; padding: 0 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.scan-journey li { display: grid; grid-template-rows: auto 1fr; gap: 0.8rem; margin: 0 !important; padding: 1rem; }
.scan-journey li + li { border-left: 1px solid var(--line); }
.scan-journey li > span { color: var(--accent-deep); font: 700 0.7rem/1 var(--web-font-marketing-sans); }
.scan-journey strong { color: var(--ink); font-size: 0.82rem; }
.scan-journey p { margin: 0.35rem 0 0 !important; font-size: 0.76rem !important; line-height: 1.5 !important; }
.deployment-map { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.25rem 0 1.75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deployment-map > div { padding: 1.1rem; }
.deployment-map > div + div { border-left: 1px solid var(--line); }
.deployment-map strong, .deployment-map span { display: block; }
.deployment-map strong { color: var(--ink); font-size: 0.86rem; }
.deployment-map-boundary { margin: 0.55rem 0 0.75rem; color: var(--accent-deep); font: 700 0.68rem/1.35 var(--web-font-marketing-sans); }
.deployment-map p { margin: 0 !important; font-size: 0.78rem !important; }
.audit-chain { display: flex; align-items: stretch; gap: 0.55rem; margin: 0.8rem 0 1.25rem; }
.audit-chain > div { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; min-height: 5.5rem; padding: 0.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audit-chain strong, .audit-chain span { display: block; }
.audit-chain strong { color: var(--ink); font-size: 0.8rem; }
.audit-chain span { margin-top: 0.3rem; color: var(--mute); font-size: 0.72rem; line-height: 1.4; }
.audit-chain i { align-self: center; color: var(--accent-deep); font-style: normal; }

@media (max-width: 760px) {
  .architecture-map-lane { flex-direction: column; }
  .architecture-map-lane > div { min-height: 0; }
  .architecture-map-lane i { transform: rotate(90deg); }
  .architecture-map-outputs { grid-template-columns: 1fr; }
  .architecture-map-outputs > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .scan-journey { grid-template-columns: 1fr; }
  .scan-journey li { grid-template-columns: 2rem 1fr; grid-template-rows: none; }
  .scan-journey li + li { border-top: 1px solid var(--line); border-left: 0; }
  .deployment-map { grid-template-columns: 1fr; }
  .deployment-map > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .audit-chain { flex-direction: column; }
  .audit-chain > div { min-height: 0; }
  .audit-chain i { transform: rotate(90deg); }
}

/* Cross-reference link styling - small mono pointer to engine subsection */

/* ── Page TOC (sommaire) - fixed right rail on landing ─ */

/* TOC needs ~224 px (12.5 rem + 1.6 rem margin) clear of the .wrap content.
   .wrap is max-width: 70 rem ≈ 1120 px, so the viewport must be at least
   1120 + 2 × 224 ≈ 1568 px before the TOC stops overlapping content cards.
   Below that, hide the TOC - partial occlusion of right-column text is worse
   than not having a sommaire. */

/* ── Mobile nav collapse ────────────────────────────── */
@media (max-width: 540px) {
  .brand-wordmark { height: 28px; }
  .foot-wordmark { height: 32px; }
}

/* Allow long-text CTAs to wrap on very small viewports so the page never
 * develops a horizontal scrollbar (e.g. iPhone SE 320px). */
@media (max-width: 360px) {
  .btn-lg { white-space: normal; text-align: center; padding-left: 1rem; padding-right: 1rem; }
}

/* ── Stacked headline (multi-claim, one statement per line) ───── */

/* ── Footer ─────────────────────────────────────────── */
.foot {
  padding: 3rem 0;
  background: var(--ink);
  color: var(--mute-dark);
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
}
.foot .wrap { padding: 0 2rem; }
@media (max-width: 880px) {
  .foot .wrap { padding: 0 1.25rem; }
}

.foot a { color: var(--mute-dark); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot .brand { color: var(--paper); font-weight: 600; }

/* Multi-column grid (Aikido/Snyk pattern) */
.foot-grid {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(140px, 1fr));
  gap: 2.5rem 3rem;
  align-items: start;
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.foot-brand-link { display: inline-flex; align-items: center; gap: 0.85rem; }
.foot-wordmark { height: 44px; width: auto; display: block; }
.foot-tagline {
  margin: 0;
  color: var(--mute-dark);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 26rem;
}

.foot-col { display: flex; flex-direction: column; gap: 0.55rem; }
.foot-col h4 {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--paper);
}
.foot-col a {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}
.foot-legal {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  font-size: 0.78rem;
  color: var(--mute-dark);
  letter-spacing: 0.01em;
}
.foot-legal span[aria-hidden] { color: var(--ink-3); }

/* ───────────────────────────────────────────────────────
   Restructure pass - 2026-05-01
   Hero subhead kicker, quick-try band, code-fix hero panel,
   scanner grid, capability clusters
   ─────────────────────────────────────────────────────── */

/* Lede kicker - pricing-positioning line below the main lede */

/* Hero quick-try band - paste-a-snippet entry point */

/* Hero side panel: code-vulnerable | code-fixed | verdict
   Replaces the old JSON-table hero-card. */
.hero-fix {
  --hero-spot-x: 50%;
  --hero-spot-y: 42%;
  position: relative;
  isolation: isolate;
  background: #111823;
  color: var(--paper);
  border-radius: var(--r-card);
  padding: 1.15rem 1.15rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.hero-fix::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -140px;
  left: -140px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.075), transparent 68%);
  opacity: 0;
  transform: translate3d(var(--hero-spot-x), var(--hero-spot-y), 0);
  transition: opacity 160ms cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.hero-fix.is-pointer-active::before { opacity: 1; }
.hero-fix::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(94, 234, 212, 0.32) 49.5%, rgba(167, 139, 250, 0.18) 50%, transparent 54%);
  opacity: 0;
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}
.hero-fix > * { position: relative; z-index: 1; }

/* Signature motion: one evidence scan, then the proof chain settles. */
.motion-ready .hero-fix {
  animation: hero-surface-arrive 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.motion-ready .hero-fix::after {
  animation: hero-scan-pass 860ms 300ms cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes hero-surface-arrive {
  from { opacity: 0.96; transform: translateY(6px) scale(0.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-scan-pass {
  0% { opacity: 0; transform: translate3d(0, -100%, 0); }
  18% { opacity: 0.7; }
  82% { opacity: 0.45; }
  100% { opacity: 0; transform: translate3d(0, 100%, 0); }
}
/* Proof loop: an operator-controlled path from triage to a verified PR. */
.proof-loop {
  background: #080d14;
  color: #e2e8f0;
}
.proof-loop .wrap { max-width: 76rem; }
.proof-loop .eyebrow { color: #5eead4; }

.proof-loop .btn-secondary { color: #e2e8f0; border-color: rgba(226, 232, 240, 0.4); }
.proof-loop .btn-secondary:hover { background: #e2e8f0; color: #080d14; }

@media (max-width: 680px) {
  .motion-ready .hero-fix { animation-duration: 280ms; }
  .motion-ready .hero-fix::after { animation: none; }
}

/* Scanner grid - replaces the row of empty category pills */

/* Capability clusters - replaces 6-card flat grid with 3 themed clusters */

/* Homepage identity: mirror the product cockpit without inheriting its density. */

/* Shared marketing shell: every public page uses the product's dark cockpit palette. */

.home-product-proof { padding-top: clamp(4.5rem, 8vw, 7rem); }

/* ──────────────────────────────────────────────────────
   Docs Hub - sidebar TOC with search, scroll-spy,
   code blocks, syntax highlight, copy buttons
   ────────────────────────────────────────────────────── */

/* Hub shell - wider grid + sticky sidebar with search */
.docs-hub-wrap {
  max-width: 78rem;
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) {
  .docs-hub-wrap { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* Mobile sommaire - collapsed details, only visible <881px */
.docs-toc-mobile { display: none; }
@media (max-width: 880px) {
  .docs-hub-aside { display: none; }
  .docs-toc-mobile {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--paper-2);
    padding: 0.7rem 1rem;
    margin: 0 0 1.5rem 0;
  }
  .docs-toc-mobile summary {
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
    padding: 0.2rem 0;
    list-style: none;
  }
  .docs-toc-mobile summary::-webkit-details-marker { display: none; }
  .docs-toc-mobile summary::after {
    content: "+";
    float: right;
    color: var(--accent-deep);
  }
  .docs-toc-mobile[open] summary::after { content: "−"; }
  .docs-toc-mobile nav { padding: 0.7rem 0 0.2rem 0; }
  .docs-toc-mobile nav a {
    display: block;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--ink-2);
    text-decoration: none;
    border-bottom: 1px dashed var(--line);
  }
  .docs-toc-mobile nav a:last-child { border-bottom: 0; }
  .docs-toc-mobile nav a:hover { color: var(--accent-deep); }
  .docs-toc-mobile nav h5 {
    margin: 0.7rem 0 0.2rem 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-deep);
  }
  .docs-toc-mobile nav h5:first-child { margin-top: 0; }
}

/* Desktop sticky aside - shared with .docs-toc but with search */
.docs-hub-aside {
  position: sticky;
  top: calc(var(--nav-offset, 5rem) + 1rem);
  max-height: calc(100vh - var(--nav-offset, 5rem) - 2rem);
  overflow-y: auto;
  font-size: 0.86rem;
  border-left: 1px solid var(--line);
  padding: 0.4rem 0 1rem 1.1rem;
}
.docs-hub-aside::-webkit-scrollbar { width: 6px; }
.docs-hub-aside::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.docs-search {
  position: relative;
  margin: 0 0 1.1rem 0;
}
.docs-search input {
  width: 100%;
  padding: 0.5rem 0.7rem 0.5rem 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 0.86rem;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.docs-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.docs-search input::placeholder { color: var(--mute); }
.docs-search-icon {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--mute);
  pointer-events: none;
}

.docs-hub-aside h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 1.1rem 0 0.4rem 0;
}
.docs-hub-aside h4:first-of-type { margin-top: 0; }
.docs-hub-aside ul {
  list-style: none;
  padding: 0 0 0 0.4rem;
  margin: 0;
  border-left: 2px solid var(--line);
}
.docs-hub-aside li { padding: 0.05rem 0; }
.docs-hub-aside ul a {
  display: block;
  padding: 0.32rem 0.55rem;
  font-size: 0.84rem;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 4px;
  border-left: 2px solid transparent;
  margin-left: -0.4rem - 2px;
  padding-left: 0.55rem;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.docs-hub-aside ul a:hover { color: var(--accent-deep); background: var(--accent-soft); }
.docs-hub-aside ul a.is-active {
  color: var(--accent-deep);
  font-weight: 600;
  background: var(--accent-soft);
  border-left-color: var(--accent);
  padding-left: calc(0.55rem - 2px);
}
.docs-hub-aside li.is-hidden { display: none; }
.docs-hub-aside h4.is-hidden { display: none; }
.docs-hub-aside ul.is-hidden { display: none; }

.docs-hub-foot {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.74rem;
}
.docs-hub-foot a {
  color: var(--mute);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 120ms ease;
}
.docs-hub-foot a:hover { color: var(--accent-deep); }
.docs-hub-foot a::after {
  content: " →";
  color: var(--accent-deep);
}

/* Hub content - section spacing + scroll-margin so anchors don't hide under fixed nav */
.docs-hub-content { min-width: 0; }
.docs-hub-content h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.6rem);
  margin: 0 0 0.4rem 0;
}

.docs-hub-content section.docs-section {
  padding: 2rem 0 1rem 0;
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  scroll-margin-top: 5.5rem;
}
.docs-hub-content section.docs-section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.docs-hub-content section.docs-section.is-hidden { display: none; }
.docs-hub-content section.docs-section h2 {
  font-size: 1.55rem;
  margin: 0 0 0.5rem 0;
  scroll-margin-top: 5.5rem;
}
.docs-hub-content section.docs-section h3 {
  font-size: 1rem;
  margin: 1.3rem 0 0.4rem 0;
  font-weight: 600;
}
.docs-hub-content section.docs-section h4 {
  font-size: 0.86rem;
  margin: 1rem 0 0.3rem 0;
  font-weight: 600;
  color: var(--ink-2);
}
.docs-hub-content section.docs-section p {
  color: var(--ink-2);
  margin: 0.4rem 0 0.8rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
}
.docs-hub-content section.docs-section ul,
.docs-hub-content section.docs-section ol {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.8rem 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.6;
}
.docs-hub-content section.docs-section li { margin-bottom: 0.3rem; }
.docs-hub-content section.docs-section a:not(.btn) {
  color: var(--accent-deep);
  font-weight: 600;
}
.docs-hub-content section.docs-section p code,
.docs-hub-content section.docs-section li code,
.docs-hub-content section.docs-section td code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84em;
  background: var(--paper-2);
  padding: 0.08rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 880px) {
  .docs-hub-content section.docs-section p code,
  .docs-hub-content section.docs-section li code {
    word-break: break-all;
  }
  /* Table cell code stays nowrap inside the scrollable wrap; container handles overflow */
}

/* Docs tables - env vars, scanner matrix, configuration */
.docs-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  margin: 0.8rem 0 1.4rem 0;
  background: var(--paper);
}
.docs-table-wrap:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 3px;
}
.docs-product-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.docs-product-showcase figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(9, 9, 11, 0.08);
}
.docs-product-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.docs-product-showcase figcaption { padding: 0.8rem 1rem 0.95rem; }
.docs-product-showcase strong,
.docs-product-showcase span { display: block; }
.docs-product-showcase strong { color: var(--ink); font-size: 0.84rem; }
.docs-product-showcase span { margin-top: 0.2rem; color: var(--ink-2); font-size: 0.78rem; line-height: 1.45; }
.docs-topic-nav {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 2rem;
  padding: 0.35rem 0 0.7rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.docs-topic-nav a {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}
.docs-topic-nav a[aria-current="page"] {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}
.docs-audience-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.8rem;
  margin: -1rem 0 2rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}
.docs-audience-nav span { color: var(--ink-3); font-weight: 700; }
.docs-audience-nav a { color: var(--accent-deep); font-weight: 650; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 36rem;
}
.docs-table th,
.docs-table td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.docs-table thead th {
  background: var(--paper-2);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
}
.docs-table tbody tr:last-child td { border-bottom: 0; }
.docs-table tbody tr:hover { background: var(--paper-2); }
.docs-table td code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82em;
  color: var(--ink);
  background: var(--paper-2);
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.docs-table .docs-table-pill {
  display: inline-block;
  padding: 0.06rem 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.docs-table .docs-table-pill.is-mute {
  background: var(--paper-2);
  color: var(--mute);
  border: 1px solid var(--line);
}

/* Code blocks - dark background, language label, copy button, scrollable */
.code-block {
  margin: 0.7rem 0 1.3rem 0;
  border-radius: var(--r-card);
  border: 1px solid #1a2330;
  background: #0e1620;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.05);
}
.code-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0.85rem;
  background: #0a1018;
  border-bottom: 1px solid #1a2330;
}
.code-block-lang {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: lowercase;
  color: #6b8aa8;
}
.code-block-copy {
  appearance: none;
  border: 1px solid #1a2330;
  background: transparent;
  color: #a4c2dc;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.code-block-copy:hover {
  background: rgba(0, 212, 176, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}
.code-block-copy.is-copied {
  background: rgba(0, 212, 176, 0.18);
  border-color: var(--accent);
  color: var(--accent);
}
.code-block pre {
  margin: 0;
  padding: 1rem 1.1rem;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #d6e2ee;
  background: transparent;
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.code-block pre code {
  display: block;
  background: transparent;
  padding: 0;
  border: 0;
  color: inherit;
  font-size: inherit;
  white-space: pre;
}

/* Minimal syntax highlight tokens - JS-injected wrappers */
.code-block .hl-kw { color: #ff7b72; font-weight: 500; }      /* keywords */
.code-block .hl-str { color: #a5d6ff; }                        /* strings */
.code-block .hl-com { color: #6b8aa8; font-style: italic; }    /* comments */
.code-block .hl-num { color: #ffb454; }                        /* numbers */
.code-block .hl-var { color: #d2a8ff; }                        /* env vars / placeholders */
.code-block .hl-fn { color: #79c0ff; }                         /* function names / commands */

/* Search highlight inside content */
.product-assurance-section { --assurance-rule: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.product-assurance-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr); gap: 2rem; align-items: end; }
.docs-section-index { display: block; margin-bottom: 0.75rem; color: var(--accent-deep); font: 700 0.68rem/1.2 var(--web-font-marketing-sans); }
.assurance-signal { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0.55rem; align-items: center; }
.assurance-signal > div { min-height: 7.5rem; padding: 1rem; border: 1px solid var(--assurance-rule); background: var(--paper-2); }
.assurance-signal small { display: block; margin-bottom: 1.7rem; color: var(--accent-deep); font: 700 0.68rem/1 var(--web-font-marketing-sans); }
.assurance-signal strong, .assurance-signal span { display: block; }
.assurance-signal strong { color: var(--ink); font-size: 0.82rem; }
.assurance-signal span { margin-top: 0.2rem; color: var(--mute); font: 500 0.7rem/1.3 var(--web-font-marketing-sans); }
.assurance-signal i { color: var(--accent-deep); font-style: normal; }
.assurance-register { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assurance-register > div { padding: 1rem 1.2rem 1rem 0; }
.assurance-register > div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.assurance-register strong { color: var(--ink); font: 700 0.8rem/1.2 var(--web-font-marketing-sans); }
.assurance-register p { margin-bottom: 0 !important; font-size: 0.8rem !important; }
.assurance-domains { display: grid; grid-template-columns: 1fr 1fr; margin: 2rem 0; }
.assurance-domains p { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; margin: 0 !important; padding: 1rem 0; border-top: 1px solid var(--line); }
.assurance-domains p:nth-child(odd) { padding-right: 1.5rem; }
.assurance-domains p:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.assurance-domains b { color: var(--accent-deep); font: 700 0.8rem/1.4 var(--web-font-marketing-sans); }
.assurance-domains span { color: var(--ink-2); font-size: 0.86rem; line-height: 1.5; }

@media (max-width: 900px) {
  .product-assurance-heading { grid-template-columns: 1fr; }
  .assurance-register { grid-template-columns: 1fr 1fr; }
  .assurance-register > div:nth-child(3) { border-left: 0; }
  .assurance-register > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .docs-product-showcase { grid-template-columns: 1fr; }
  .assurance-signal { grid-template-columns: 1fr; }
  .assurance-signal > div { min-height: 0; }
  .assurance-signal small { margin-bottom: 0.8rem; }
  .assurance-signal i { text-align: center; transform: rotate(90deg); }
  .assurance-register, .assurance-domains { grid-template-columns: 1fr; }
  .assurance-register > div + div, .assurance-register > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .assurance-domains p:nth-child(odd), .assurance-domains p:nth-child(even) { padding-right: 0; padding-left: 0; border-left: 0; }
}

.docs-hub-content mark {
  background: var(--accent-soft);
  color: var(--ink);
  padding: 0 0.18rem;
  border-radius: 3px;
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* Callout - used for "tip", "warning" boxes */
.docs-note {
  display: flex;
  gap: 0.7rem;
  margin: 0.9rem 0;
  padding: 0.75rem 0.95rem;
  border-radius: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.docs-note.is-warn { border-color: #f2d49b; background: #fff8eb; }
.docs-note-label {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  padding-top: 0.05rem;
}
.docs-note.is-warn .docs-note-label { color: #b45309; }
.docs-note p { margin: 0; font-size: 0.88rem; }

/* Header eyebrow row with version pill */
.docs-hub-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.docs-hub-eyebrow .eyebrow { margin: 0; }
.docs-hub-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.docs-hub-version-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* Quickstart cards - three options at the very top */
.docs-quickstart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1rem 0 0.4rem 0;
}
@media (max-width: 720px) {
  .docs-quickstart { grid-template-columns: 1fr; }
}
.docs-quickstart-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.docs-quickstart-card h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
}
.docs-quickstart-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.docs-quickstart-card a {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}
.docs-quickstart-card a::after { content: " →"; }

/* Endpoint label - verb pill before the path */
.docs-endpoint {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
  margin: 0.4rem 0;
}
.docs-endpoint-path { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.docs-endpoint-verb {
  display: inline-block;
  padding: 0.14rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--accent-soft);
}
.docs-endpoint-verb.is-post { background: rgba(255, 123, 114, 0.14); color: #b91c1c; }
.docs-endpoint-verb.is-patch {
  background: var(--web-marketing-warning-surface);
  color: var(--web-marketing-warning-ink);
}

.docs-endpoint-path { color: var(--ink); font-weight: 500; }

/* Paste-to-scan page refinements. Keep these after shared rules for cascade parity. */
.check-lede { margin-top: 1.2rem; }

.check-contact-link { color: var(--accent-deep); font-weight: 600; }
.check-empty-caveat { font-size: 0.88rem; color: var(--mute); margin-top: 0.4rem; }
.check-truncated { border-top: 1px solid var(--line); padding: 0.8rem 1.2rem; }

/* FAQ answers: one idea per paragraph, with air between them */
.faq-item p:not(:last-child), .questions-layout details p:not(:last-child) { padding-bottom: .55rem; }
.faq-points { margin: 0; padding: 0 1.5rem 1.4rem 2.8rem; color: var(--ink-2); font-size: .96rem; line-height: 1.6; display: grid; gap: .35rem; }
