/* ============================================================
   SecNiva — design tokens
   Derived directly from the logomark: a deep navy ink taken from
   the "Sec" wordmark, a blue→violet gradient taken from the shield
   and the "Niva" wordmark, and cool neutral greys mixed toward the
   blue so nothing on the page reads as an unrelated grey.
   Sora (display, matching the wordmark's geometric letterforms) /
   Plus Jakarta Sans (body) / JetBrains Mono (labels, data,
   identifiers).
   ============================================================ */

:root {
  --ink-950: #070b18;
  --ink-900: #0d1428;
  --ink-800: #161e36;
  --ink-700: #232d4a;

  --paper-50: #ffffff;
  --paper-100: #f5f7fc;
  --paper-200: #e6eaf5;

  --graphite-400: #98a2bc;
  --graphite-500: #6b7794;
  --graphite-600: #4e5a78;

  /* brand blue — the primary accent, from the shield's upper stop */
  --brand-300: #8fb3ff;
  --brand-400: #5c8bff;
  --brand-500: #2f6bf0;
  --brand-600: #1e52cc;

  /* violet — the gradient's lower stop, used as the secondary accent */
  --accent-400: #a78bfa;
  --accent-500: #8b5cf6;
  --accent-600: #6425e0;

  --grad-brand: linear-gradient(135deg, #4f8bff 0%, #2f6bf0 45%, #6425e0 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(79,139,255,0.14) 0%, rgba(100,37,224,0.14) 100%);

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "Roboto Mono", monospace;

  --content-max: 1280px;
  --prose-max: 65ch;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5.5rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper-50);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-950);
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
h3, h4 { font-weight: 600; letter-spacing: -0.015em; }

/* gradient text, used sparingly — the hero emphasis and nothing else */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
p { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(47, 107, 240, 0.25); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }

@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;
  }
}

/* ---------- scroll reveal ----------
   Progressive enhancement: with JS disabled (no "js-reveal" class on <html>)
   everything is simply visible. IntersectionObserver in main.js adds
   "is-visible" per element, staggered by the inline transition-delay each
   template sets. prefers-reduced-motion above already zeroes the transition
   duration globally, so this never produces motion for anyone who's asked
   not to see it — it just appears. */
.reveal { transition-property: opacity, transform; transition-duration: 0.7s; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- layout helpers ---------- */
.shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .shell { padding: 0 2.5rem; } }

.section { padding: 5rem 0; border-bottom: 1px solid rgba(7, 11, 24, 0.1); }
.section--tight { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } .section--tight { padding: 5rem 0; } }
.section--dark { background: var(--ink-950); color: var(--paper-50); border-bottom-color: rgba(255,255,255,0.1); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.sol-hero h1, .sol-hero h2, .sol-hero h3, .sol-hero h4 { color: var(--paper-50); }
.section--alt { background: var(--paper-100); }
.section--plain { background: var(--paper-50); }
.section--last { border-bottom: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-600);
  display: inline-block;
}
.eyebrow--dark { color: var(--brand-300); }

.tightest { letter-spacing: -0.03em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary {
  background: var(--grad-brand);
  background-size: 140% 140%;
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 107, 240, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(47, 107, 240, 0.38); }
.btn--primary-inverse {
  background: var(--paper-50);
  color: var(--ink-950);
  box-shadow: 0 6px 18px rgba(7, 11, 24, 0.28);
}
.btn--primary-inverse:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(7, 11, 24, 0.36); }
.btn--ghost { border-color: rgba(7, 11, 24, 0.16); color: var(--ink-900); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-600); }
.btn--ghost-dark { border-color: rgba(255, 255, 255, 0.28); color: var(--paper-50); }
.btn--ghost-dark:hover { border-color: var(--brand-300); color: var(--brand-300); }
.btn--block { width: 100%; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(7, 11, 24, 0.1);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}
@media (min-width: 768px) { .site-header__bar { height: 5rem; } }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand svg { flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.brand:hover svg { transform: translateY(-2px) scale(1.04); }
.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink-950);
  line-height: 1;
}
.wordmark__niva {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-brand .wordmark, .wordmark--reversed { color: var(--paper-50); }
.wordmark small {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--graphite-500);
  margin-left: 0.6rem;
  font-weight: 400;
  display: none;
}
@media (min-width: 560px) { .wordmark small { display: inline; } }

.nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav__item { position: relative; padding: 2rem 0; }
.nav__link { font-size: 0.9rem; color: var(--ink-800); transition: color 0.15s ease; }
.nav__link:hover { color: var(--brand-600); }
.nav__dropdown {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  width: 18rem; padding-top: 0.25rem;
  opacity: 0; visibility: hidden; transition: opacity 0.15s ease;
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; }
.nav__dropdown-inner {
  background: var(--paper-50);
  border: 1px solid rgba(7,11,24,0.1);
  box-shadow: 0 12px 32px rgba(7,11,24,0.14);
}
.nav__dropdown-link {
  display: block; padding: 0.85rem 1.2rem; font-size: 0.88rem; color: var(--ink-800);
  border-bottom: 1px solid rgba(7,11,24,0.08);
}
.nav__dropdown-link:last-child { border-bottom: none; }
.nav__dropdown-link:hover { background: var(--paper-100); color: var(--brand-600); }

.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(7,11,24,0.15); background: transparent;
  font-family: var(--font-mono);
}
@media (min-width: 900px) { .mobile-toggle { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(7,11,24,0.1);
  background: var(--paper-50);
}
.mobile-menu.is-open { display: block; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }
.mobile-menu__list { padding: 1rem 0; display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-menu__link { display: block; padding: 0.65rem 0; font-size: 0.92rem; color: var(--ink-800); }
.mobile-menu__sub { margin-left: 0.75rem; padding-left: 0.75rem; border-left: 1px solid rgba(7,11,24,0.12); display: flex; flex-direction: column; }
.mobile-menu__sub .mobile-menu__link { font-size: 0.85rem; color: var(--graphite-600); padding: 0.45rem 0; }

/* ---------- hero ---------- */
.hero__grid {
  display: grid;
  gap: 3.5rem;
  padding: 4.5rem 0;
  align-items: center;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; padding: 6.5rem 0; } }
.hero h1 { font-size: 2.5rem; line-height: 1.06; }
@media (min-width: 768px) { .hero h1 { font-size: 3.6rem; } }
.hero em {
  font-style: normal;
  background: linear-gradient(120deg, #8fb3ff 0%, #5c8bff 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede { margin-top: 1.6rem; max-width: 32rem; font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,0.78); }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__graph { max-width: 30rem; margin: 0 auto; }
@media (min-width: 900px) { .hero__graph { margin: 0; } }

/* ---------- stat grid ---------- */
.stat-grid { display: grid; gap: 1rem; margin-top: 3.5rem; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-tile {
  border: 1px solid rgba(7,11,24,0.1);
  background: var(--paper-50);
  padding: 1.6rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.stat-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(7,11,24,0.1); border-color: rgba(7,11,24,0.2); }
.stat-tile__value { font-family: var(--font-display); font-size: 2.4rem; color: var(--brand-600); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-tile__unit { font-size: 0.85rem; color: var(--graphite-500); margin-left: 0.35rem; }
.stat-tile__label { font-size: 0.92rem; color: var(--ink-800); }
.stat-tile__detail { margin-top: auto; font-size: 0.78rem; line-height: 1.5; color: var(--graphite-500); }
.stat-tile__detail a { color: inherit; text-decoration: underline dotted; text-underline-offset: 2px; }
.stat-tile__detail a:hover { color: var(--brand-600); }

/* ---------- process grid ---------- */
.process-grid { display: grid; gap: 1px; margin-top: 3.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-card { background: var(--ink-950); padding: 1.8rem; transition: background-color 0.2s ease, transform 0.2s ease; }
.process-card:hover { background: var(--ink-900); transform: translateY(-3px); }
.process-card__n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--brand-300); }
.process-card h3 { margin-top: 0.75rem; font-size: 1.15rem; }
.process-card p { margin-top: 0.75rem; font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.6); }

/* ---------- credential card / solution card ---------- */
.card {
  position: relative;
  border: 1px solid rgba(7,11,24,0.12);
  background: var(--paper-50);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 2.25rem; background: var(--grad-brand); border-radius: 0 0 3px 0; transition: width 0.3s ease; }
.card:hover::before { width: 100%; }

.solution-grid { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (min-width: 700px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
.solution-card { display: flex; flex-direction: column; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.solution-card:hover { border-color: rgba(7,11,24,0.28); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(7,11,24,0.1); }
.solution-card__top { display: flex; align-items: center; justify-content: space-between; }
.solution-card__index { font-family: var(--font-mono); font-size: 0.78rem; color: var(--graphite-500); }
.solution-card h3 { margin-top: 1rem; font-size: 1.3rem; }
.solution-card p { margin-top: 0.75rem; font-size: 0.92rem; line-height: 1.6; color: var(--graphite-600); }
.solution-card__cta {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-900); transition: transform 0.15s ease;
}
.solution-card:hover .solution-card__cta { transform: translateX(4px); }

/* ---------- comparison grid ---------- */
.compare-grid { display: grid; gap: 1px; margin-top: 3.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .compare-grid { grid-template-columns: repeat(3, 1fr); } }
.compare-card { background: var(--ink-950); padding: 1.8rem; transition: transform 0.2s ease; }
.compare-card:hover { transform: translateY(-3px); }
.compare-card--highlight { background: var(--brand-400); }
.compare-card h3 { font-size: 1.15rem; color: var(--paper-50); }
.compare-card--highlight h3 { color: var(--ink-950); }
.compare-card p { margin-top: 0.75rem; font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.compare-card--highlight p { color: rgba(7,11,24,0.75); }

/* ---------- outcomes ---------- */
.outcome-grid { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .outcome-grid { grid-template-columns: repeat(3, 1fr); } }
.outcome-grid h3 { font-size: 1.15rem; }
.outcome-grid p { margin-top: 0.75rem; font-size: 0.92rem; line-height: 1.6; color: var(--graphite-600); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-950); color: var(--paper-50); }
.footer-grid { display: grid; gap: 3rem; padding: 4.5rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: 0.9rem; line-height: 1.65; color: rgba(255,255,255,0.6); }
.footer-col ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--brand-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- page intro (secondary pages) ---------- */
.page-intro { background: var(--paper-100); border-bottom: 1px solid rgba(7,11,24,0.1); }
.page-intro__inner { max-width: 42rem; padding: 5rem 0; }
@media (min-width: 768px) { .page-intro__inner { padding: 7rem 0; } }
.page-intro h1 { margin-top: 1rem; font-size: 2.4rem; line-height: 1.08; }
@media (min-width: 768px) { .page-intro h1 { font-size: 3rem; } }
.page-intro p.lede { margin-top: 1.4rem; max-width: var(--prose-max); font-size: 1.1rem; line-height: 1.6; color: var(--graphite-600); }

/* ---------- article / research ---------- */
.article { max-width: var(--prose-max); padding: 4.5rem 0; }
.article__back { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--graphite-500); }
.article__back:hover { color: var(--brand-600); }
.article__meta { margin-top: 1.5rem; display: flex; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--graphite-500); }
.article h1 { margin-top: 1rem; font-size: 2rem; line-height: 1.15; }
@media (min-width: 768px) { .article h1 { font-size: 2.6rem; } }
.article .dek { margin-top: 1.2rem; font-size: 1.15rem; line-height: 1.6; color: var(--graphite-600); }
.article__body { margin-top: 3rem; font-size: 1.02rem; line-height: 1.75; color: var(--ink-800); }
.article__body p { margin-top: 1.4rem; }
.article__body h2 { margin-top: 2.4rem; font-size: 1.5rem; }
.article__body ul { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.article__body li { padding-left: 1.3rem; position: relative; }
.article__body li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--brand-500); }
.article__body a { text-decoration: underline dotted; text-underline-offset: 2px; }
.article__body a:hover { color: var(--brand-600); }
.article__footer { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(7,11,24,0.1); }

.research-list { padding: 1rem 0; }
.research-item {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 2.5rem 0; border-bottom: 1px solid rgba(7,11,24,0.1);
}
.research-item:last-child { border-bottom: none; }
@media (min-width: 768px) { .research-item { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 2.5rem; } }
.research-item__meta { display: flex; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--graphite-500); }
.research-item h2 { margin-top: 0.75rem; font-size: 1.5rem; }
.research-item:hover h2 { color: var(--brand-600); }
.research-item p { margin-top: 0.5rem; max-width: 42rem; font-size: 0.92rem; line-height: 1.6; color: var(--graphite-600); }
.research-item__cta { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; transition: transform 0.15s ease; white-space: nowrap; }
.research-item:hover .research-item__cta { transform: translateX(4px); }

/* ---------- solution detail ---------- */
.sol-hero { background: var(--ink-950); color: var(--paper-50); border-bottom: 1px solid rgba(255,255,255,0.1); }
.sol-hero__grid { display: grid; gap: 3rem; padding: 4.5rem 0; align-items: center; }
@media (min-width: 900px) { .sol-hero__grid { grid-template-columns: 1.1fr 0.9fr; padding: 6rem 0; } }
.sol-hero h1 { margin-top: 1rem; font-size: 2.4rem; line-height: 1.1; }
@media (min-width: 768px) { .sol-hero h1 { font-size: 3rem; } }
.sol-hero p.lede { margin-top: 1.4rem; max-width: 30rem; font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,0.78); }
.sol-body { display: grid; gap: 3.5rem; padding: 4rem 0; }
@media (min-width: 900px) { .sol-body { grid-template-columns: 1.4fr 1fr; padding: 5rem 0; } }
.sol-block { margin-bottom: 3rem; }
.sol-block:last-child { margin-bottom: 0; }
.sol-block p { margin-top: 1rem; max-width: var(--prose-max); font-size: 1.02rem; line-height: 1.7; color: var(--ink-800); }
.sol-block ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.sol-block li { padding-left: 1.3rem; position: relative; font-size: 1rem; line-height: 1.6; color: var(--ink-800); }
.sol-block li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--brand-500); }
.sol-block--divider { border-top: 1px solid rgba(7,11,24,0.1); padding-top: 2rem; margin-top: 3rem; }
.sol-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.sol-aside .card p { margin-top: 0.75rem; font-size: 0.92rem; line-height: 1.6; color: var(--ink-800); }

/* ---------- capabilities ---------- */
.cap-grid { display: grid; gap: 1px; margin-top: 1rem; background: rgba(7,11,24,0.1); border: 1px solid rgba(7,11,24,0.1); }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(4, 1fr); } }
.cap-item { background: var(--paper-50); padding: 1.75rem; transition: background-color 0.2s ease; }
.cap-item:hover { background: var(--paper-100); }
.cap-item h3 { font-size: 1.05rem; }
.cap-item p { margin-top: 0.75rem; font-size: 0.88rem; line-height: 1.6; color: var(--graphite-600); }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 3.5rem; padding: 4rem 0; }
@media (min-width: 900px) { .about-grid { grid-template-columns: repeat(2, 1fr); padding: 5rem 0; } }
.about-copy p { margin-top: 1.4rem; font-size: 1.02rem; line-height: 1.75; color: var(--ink-800); }
.about-copy p:first-child { margin-top: 0; }
.about-side { display: flex; flex-direction: column; gap: 1.5rem; }
.about-side .card p { margin-top: 0.75rem; font-size: 0.92rem; line-height: 1.6; color: var(--ink-800); }
.founder-note { margin-top: 0.75rem; font-size: 0.78rem; font-style: italic; line-height: 1.6; color: var(--graphite-500); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 3.5rem; padding: 4rem 0; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); padding: 5rem 0; } }
.qualifiers { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.qualifiers li { padding-left: 1.3rem; position: relative; font-size: 1.02rem; line-height: 1.6; color: var(--ink-800); }
.qualifiers li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--brand-500); }
.contact-panel { background: var(--paper-100); border: 1px solid rgba(7,11,24,0.1); padding: 2.25rem; }
.contact-panel p { margin-top: 1rem; font-size: 1rem; line-height: 1.65; color: var(--ink-800); }
.contact-panel .btn { margin-top: 2rem; }
.contact-panel .fineprint { margin-top: 1rem; font-size: 0.78rem; color: var(--graphite-500); }

/* ---------- CTA band ---------- */
.cta-band { padding: 5.5rem 0; text-align: center; }
@media (min-width: 768px) { .cta-band { padding: 7rem 0; } }
.cta-band h2 { margin: 0 auto; max-width: 40rem; }
.cta-band p { margin: 1.25rem auto 0; max-width: 30rem; font-size: 1.05rem; line-height: 1.6; color: var(--graphite-600); }
.cta-band .btn { margin-top: 2.25rem; }

/* ---------- escalating problem narrative ---------- */
.pain-list { margin-top: 3.5rem; display: flex; flex-direction: column; }
.pain-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(7,11,24,0.1);
}
@media (min-width: 768px) { .pain-step { grid-template-columns: 5rem 1fr; gap: 2rem; padding: 2.25rem 0; } }
.pain-step:last-child { border-bottom: 1px solid rgba(7,11,24,0.1); }
.pain-step__n {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand-600);
  padding-top: 0.35rem;
}
.pain-step__body h3 { font-size: 1.3rem; line-height: 1.25; max-width: 34rem; }
@media (min-width: 768px) { .pain-step__body h3 { font-size: 1.55rem; } }
.pain-step__body p { margin-top: 0.85rem; max-width: 46rem; font-size: 1rem; line-height: 1.7; color: var(--graphite-600); }
.pain-step__src { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-600); text-decoration: underline dotted; text-underline-offset: 3px; white-space: nowrap; }

.pain-conclusion {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background: var(--ink-950);
  color: var(--paper-50);
}
@media (min-width: 768px) { .pain-conclusion { padding: 3rem 3.5rem; } }
.pain-conclusion h3 { font-size: 1.5rem; line-height: 1.25; color: var(--paper-50); max-width: 34rem; }
@media (min-width: 768px) { .pain-conclusion h3 { font-size: 1.9rem; } }
.pain-conclusion p { margin-top: 1.25rem; max-width: 46rem; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.72); }

/* ---------- diagrams ---------- */
.diagram-frame {
  margin-top: 3rem;
  padding: 1.75rem;
  border: 1px solid rgba(7,11,24,0.12);
  background: var(--paper-50);
  overflow-x: auto;
}
@media (min-width: 768px) { .diagram-frame { padding: 2.5rem; } }
.diagram-frame--dark { border-color: rgba(255,255,255,0.14); background: var(--ink-900); }
.figure { margin: 0; }
.figure svg { width: 100%; min-width: 640px; height: auto; display: block; }
.figure figcaption {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(7,11,24,0.1);
  max-width: 52rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--graphite-600);
}
.diagram-frame--dark .figure figcaption { border-top-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.6); }
.figure figcaption em { color: var(--brand-600); font-style: italic; }
.diagram-frame--dark .figure figcaption em { color: var(--brand-300); }

/* ---------- platform planes ---------- */
.plane-grid { display: grid; gap: 1px; margin-top: 3.5rem; background: rgba(7,11,24,0.1); border: 1px solid rgba(7,11,24,0.1); }
@media (min-width: 640px) { .plane-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .plane-grid { grid-template-columns: repeat(4, 1fr); } }
.plane-grid--detail { margin-top: 0; }
.plane-card { background: var(--paper-50); padding: 2rem 1.75rem; transition: background-color 0.2s ease; }
.plane-card:hover { background: var(--paper-100); }
.plane-card__n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--brand-600); }
.plane-card h3 { margin-top: 0.85rem; font-size: 1.35rem; }
.plane-card__q { margin-top: 0.6rem; font-size: 0.92rem; font-style: italic; color: var(--brand-600); }
.plane-card p:last-child { margin-top: 0.85rem; font-size: 0.9rem; line-height: 1.65; color: var(--graphite-600); }

/* ---------- feature grid (AI workloads, reassurance) ---------- */
.feature-grid { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-grid--three { margin-top: 3.5rem; }
@media (min-width: 1024px) { .feature-grid--three { grid-template-columns: repeat(3, 1fr); } }
.feature-item { border-top: 2px solid var(--brand-500); padding-top: 1.25rem; }
.feature-item h3 { font-size: 1.1rem; }
.feature-item p { margin-top: 0.7rem; font-size: 0.9rem; line-height: 1.65; color: var(--graphite-600); }

/* ---------- objections ---------- */
.obj-list { display: grid; gap: 2.5rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .obj-list { grid-template-columns: repeat(2, 1fr); gap: 3rem 3.5rem; } }
.obj-item h3 { font-size: 1.15rem; color: var(--paper-50); max-width: 26rem; }
.obj-item p { margin-top: 0.85rem; font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,0.62); }

/* ---------- solution card additions ---------- */
.stage-chip {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-600);
  border: 1px solid rgba(47,107,240,0.4);
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}
.solution-card__pain {
  margin-top: 0.9rem !important;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(47,107,240,0.45);
  font-style: italic;
  color: var(--ink-800) !important;
}

/* ---------- generic heading sizes used across pages ---------- */
.h-xl { font-size: 1.9rem; line-height: 1.15; }
@media (min-width: 768px) { .h-xl { font-size: 2.35rem; } }
.mt-tag { margin-top: 1rem; }
.mt-copy { margin-top: 1.25rem; }
.max-copy { max-width: var(--prose-max); }

/* ============================================================
   Brand-refresh softening (Sept 2026)
   The logomark's rounded shield and the 8px buttons set the corner
   language; these bring the panels and grids onto the same radius so
   nothing reads as a leftover from the previous sharp-cornered system.
   ============================================================ */
.card, .stat-tile, .contact-panel, .diagram-frame, .pain-conclusion { border-radius: 12px; }
.card::before { border-radius: 12px 0 3px 0; }
.plane-grid, .cap-grid, .compare-grid, .process-grid, .variant-grid { border-radius: 12px; overflow: hidden; }
.nav__dropdown-inner { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 40px rgba(7,11,24,0.16); }
.stage-chip { border-radius: 999px; }
.mobile-toggle { border-radius: 8px; }

/* Sora is a geometric sans, so the display sizes that were tuned for a
   serif need slightly tighter tracking and a touch less weight at scale. */
.hero h1 { font-weight: 700; letter-spacing: -0.035em; }
.page-intro h1, .sol-hero h1 { font-weight: 700; letter-spacing: -0.03em; }
.h-xl { font-weight: 600; letter-spacing: -0.03em; }
.stat-tile__value { font-family: var(--font-display); font-weight: 700; }

/* A single hairline of brand gradient under the sticky header — the one
   place the full gradient appears outside the logo and the primary CTA. */
.site-header { border-bottom: none; box-shadow: 0 1px 0 rgba(7,11,24,0.08); }
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad-brand);
  opacity: 0.9;
}

/* ---------- brand reference page ---------- */
.brand-grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 700px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
.brand-cell__stage {
  display: flex; align-items: center; justify-content: center;
  min-height: 190px; padding: 2rem;
  background: var(--paper-100);
  border: 1px solid rgba(7,11,24,0.1);
  border-radius: 12px;
}
.brand-cell__stage--dark { background: var(--ink-950); border-color: rgba(255,255,255,0.12); }
.brand-cell__stage img { max-width: 100%; height: auto; }
.brand-cell h3 { margin-top: 1.1rem; font-size: 1.05rem; }
.brand-cell p { margin-top: 0.5rem; font-size: 0.88rem; line-height: 1.6; color: var(--graphite-600); }
.brand-cell code, .swatch-cell code, .type-row__meta code {
  display: inline-block; margin-top: 0.6rem;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--brand-600);
}

.swatch-grid { display: grid; gap: 1.75rem; margin-top: 3rem; }
@media (min-width: 640px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .swatch-grid { grid-template-columns: repeat(5, 1fr); } }
.swatch-cell__chip { height: 88px; border-radius: 12px; border: 1px solid rgba(7,11,24,0.1); }
.swatch-cell h3 { margin-top: 0.9rem; font-size: 0.98rem; }
.swatch-cell p { margin-top: 0.5rem; font-size: 0.84rem; line-height: 1.6; color: var(--graphite-600); }

.type-specimens { margin-top: 3rem; display: flex; flex-direction: column; }
.type-row { display: grid; gap: 1rem; padding: 2rem 0; border-top: 1px solid rgba(7,11,24,0.1); }
@media (min-width: 860px) { .type-row { grid-template-columns: 14rem 1fr; gap: 3rem; align-items: baseline; } }
.type-row:last-child { border-bottom: 1px solid rgba(7,11,24,0.1); }
.type-row__meta { display: flex; flex-direction: column; gap: 0.15rem; }
.type-row__meta strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.type-row__meta span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--graphite-500); }
.type-row__sample { color: var(--ink-900); }
