/* ─── Kairosity — Crayon Pastel Design System ─────────────────────────── */

:root {
  /* Palette: warm beige base + crayon terracotta + sage */
  --bg:        #f7eede;
  --bg-soft:   #f0e5cf;
  --bg-deep:   #e6d8b8;
  --paper:    #fdf7e6;
  --ink:       #2a2620;
  --ink-soft:  #5a5246;
  --ink-mute:  #9a907f;
  --hair:      #ddd2b5;
  --accent:    #b889a8;
  --accent-2:  #8aa5bd;
  --accent-3:  #e0b988;
  --accent-4:  #9ab093;

  --serif:  "Fraunces", "Instrument Serif", Georgia, serif;
  --sans:   "Roboto", -apple-system, system-ui, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, monospace;
  --script: "Caveat", "Patrick Hand", cursive;

  --texture: 0.4;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paper grain — SVG noise tinted, layered very subtly over everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: calc(var(--texture) * 0.35);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.28  0 0 0 0 0.18  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
/* Bigger blotchy paper variation */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: calc(var(--texture) * 0.22);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='3' seed='8'/><feColorMatrix values='0 0 0 0 0.72  0 0 0 0 0.62  0 0 0 0 0.42  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

#root { position: relative; z-index: 2; }

/* ─── Typography ─────────────────────────────────────────────────────── */
.serif   { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.script  { font-family: var(--script); font-weight: 500; }
.mono    { font-family: var(--mono); letter-spacing: -0.01em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}

/* ─── Layout containers ──────────────────────────────────────────────── */
.wrap   { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.wrap-n { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.wrap-w { max-width: 1380px; margin: 0 auto; padding: 0 40px; }

/* ─── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  backdrop-filter: blur(8px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 70%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; }
.brand-mark {
  width: 24px; height: 30px;
  background-image: url('logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-soft); }
.nav-links a { color: inherit; text-decoration: none; position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -2px; height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6' preserveAspectRatio='none'><path d='M2 3 Q 12 1, 24 3 T 48 3 T 72 3' fill='none' stroke='%23c97558' stroke-width='2' stroke-linecap='round'/></svg>") center/100% 6px no-repeat;
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-platform {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px dashed color-mix(in srgb, var(--accent) 70%, transparent);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-platform:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-platform .arr-ext { font-size: 13px; display: inline-block; transition: transform 0.2s ease; }
.nav-platform:hover .arr-ext { transform: translate(2px, -2px); }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  border: none; cursor: pointer; text-decoration: none;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
}
.btn-primary {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 8px 18px -8px rgba(42,38,32,0.5);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 12px 22px -8px rgba(42,38,32,0.55); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.btn-accent {
  background: var(--accent); color: var(--paper);
}
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn .arr { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 40px 0 100px;
  overflow: hidden;
  text-align: center;
}
.hero .hero-inner { justify-items: center; }
.hero .hero-copy { max-width: 880px; margin: 0 auto; }
.hero .hero-cta { justify-content: center; gap: 14px; }

/* Background slot. By default, a subtle drifting paper/blob animation.
   To swap in a real animation, drop hero-bg.gif (or .webp / .mp4) in the
   project root and uncomment the background-image line below. */
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 22% 30%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%),
    radial-gradient(circle at 78% 28%, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 55%),
    radial-gradient(circle at 50% 90%, color-mix(in srgb, var(--accent-3) 22%, transparent), transparent 60%),
    radial-gradient(circle at 12% 80%, color-mix(in srgb, var(--accent-4) 22%, transparent), transparent 55%);
  background-size: 220% 220%;
  animation: heroBgDrift 28s ease-in-out infinite alternate;
  filter: blur(40px);
  opacity: 0.6;
}
.hero-bg::after {
  /* Optional: drop a GIF in to override. */
  content: "";
  position: absolute; inset: 0;
  /* background: url("hero-bg.gif") center/cover no-repeat; */
  mix-blend-mode: multiply;
  pointer-events: none;
}
@keyframes heroBgDrift {
  0%   { background-position:   0%   0%, 100%   0%,  50% 100%,   0% 100%; }
  50%  { background-position:  30%  20%,  70%  10%,  60%  90%,  10%  80%; }
  100% { background-position:  10%  40%,  90%  30%,  40%  70%,  20%  60%; }
}
.hero .wrap.hero-inner, .hero .hero-banner, .hero .hero-scroll { position: relative; z-index: 2; }

/* Hero display font: distinctive editorial face, different from body Roboto and from section headings. */
.hero h1.hero-display {
  font-family: "Fraunces", "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  letter-spacing: -0.025em;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 20px 0 28px;
}
.hero h1 .underline-word {
  position: relative; display: inline-block;
  font-size: 0.78em;
  letter-spacing: -0.02em;
}
.hero h1 .underline-word::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 6px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M3 7 Q 50 1 100 6 T 197 5' fill='none' stroke='%23c97558' stroke-width='5' stroke-linecap='round' opacity='0.85'/></svg>") center/100% 12px no-repeat;
  z-index: -1; opacity: 0.85;
}
.hero h1 em {
  font-style: italic; color: var(--accent);
  font-family: var(--serif);
}
.hero p.lede {
  font-size: 20px; line-height: 1.45; max-width: 460px;
  color: var(--ink-soft);
}
.hero-cta { display: flex; gap: 14px; margin-top: 40px; align-items: center; }
.hero-meta {
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.08em; text-transform: uppercase; margin-left: 4px;
}

/* Hero illustration column — abstract crayon "population" cloud */
.hero-art {
  position: relative; height: 460px;
}
.dot {
  position: absolute; border-radius: 50%;
  filter: url(#crayon-rough);
}
.swatch-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 12px;
  box-shadow: 0 18px 40px -22px rgba(42,38,32,0.35);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.swatch-card b { color: var(--ink); font-weight: 600; }
.swatch-card .dotline { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }

/* ─── Section base ───────────────────────────────────────────────────── */
section { position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px;
  margin-bottom: 60px; align-items: end;
}
.section-head h2 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-head h2 em { color: var(--accent); font-style: italic; }
.section-head p { color: var(--ink-soft); max-width: 520px; font-size: 17px; }

/* ─── Solutions: tabbed panel ────────────────────────────────────────── */
.solutions { padding: 100px 0; }
.sol-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin-bottom: 56px;
}
.sol-tab {
  --tab-accent: var(--ink);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 8px;
  padding: 26px 22px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--hair);
  border-top: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  color: var(--ink-soft);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  font: inherit;
  position: relative;
}
.sol-tab:last-child { border-right: none; }
.sol-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--paper) 60%, transparent); }
.sol-tab .sol-tab-num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  color: var(--ink-mute);
}
.sol-tab .sol-tab-label {
  font-family: var(--serif); font-size: 24px; line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sol-tab.is-active {
  background: var(--paper);
  color: var(--ink);
}
.sol-tab.is-active .sol-tab-num { color: var(--tab-accent, var(--accent)); }
/* Progress bar: fills left-to-right over 10s on the active tab,
   then SolutionsAuto-rotate advances to the next. */
.sol-tab::after {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  height: 3px; width: 0;
  background: var(--tab-accent, var(--accent));
  pointer-events: none;
}
.sol-tab.is-active::after {
  animation: solTabProgress 10s linear forwards;
}
@keyframes solTabProgress {
  from { width: 0; }
  to   { width: 100%; }
}

.sol-panel {
  --panel-accent: var(--accent);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
  animation: panelFade 0.36s ease;
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sol-visual {
  position: relative;
}
.sol-visual-frame {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 32px;
  min-height: 420px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px -42px rgba(42,38,32,0.28);
}
.sol-visual-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 18%, color-mix(in srgb, var(--panel-accent) 26%, transparent) 0%, transparent 55%),
    radial-gradient(circle at 18% 88%, color-mix(in srgb, var(--panel-accent) 16%, transparent) 0%, transparent 50%);
  opacity: 0.9;
  pointer-events: none;
}
.sol-visual-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.sol-visual-tag {
  position: relative;
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.sol-visual-num {
  color: var(--panel-accent);
  font-weight: 600;
}
.sol-visual-cat {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
}
.sol-visual-art {
  position: relative;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  margin: 24px 0;
}
.sol-visual-art svg {
  width: min(72%, 280px);
  height: auto;
  transform: scale(2.4);
  transform-origin: center;
}
.sol-visual-floor {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  border-top: 1px dashed color-mix(in srgb, var(--hair) 80%, transparent);
  padding-top: 14px;
}
.sol-visual-floor .dotline {
  display: inline-block; width: 28px; height: 3px; border-radius: 2px;
}

.sol-points {
  padding-top: 8px;
}
.sol-points h3 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.sol-blurb {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 520px;
}
.sol-bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.sol-bullets li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid color-mix(in srgb, var(--hair) 70%, transparent);
}
.sol-bullets li:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 70%, transparent);
}
.sol-bullet-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--panel-accent);
  padding-top: 3px;
}
.sol-bullet-text {
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
}
.sol-bullet-feat {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sol-bullet-sep {
  color: var(--panel-accent, var(--accent));
  margin: 0 6px;
}
.sol-bullet-desc {
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ─── Solutions grid (legacy, retained for fallback) ──────────────────── */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.sol-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 24px;
  padding: 34px 32px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column; gap: 18px; min-height: 320px;
}
.sol-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 50px -28px rgba(42,38,32,0.3);
}
.sol-card .num {
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.14em;
}
.sol-card h3 {
  font-size: 30px; line-height: 1.05;
}
.sol-card p {
  color: var(--ink-soft); font-size: 15px; margin: 0;
}
.sol-card .glyph {
  position: absolute; top: 28px; right: 28px;
  width: 78px; height: 78px;
  opacity: 0.92;
}
.sol-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  background: var(--bg-soft);
  border: 1px solid var(--hair);
  border-radius: 999px; color: var(--ink-soft);
  text-transform: uppercase;
}

/* ─── Research / tabs ────────────────────────────────────────────────── */
.research {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent),
    var(--bg-soft);
  border-top: 1px solid color-mix(in srgb, var(--hair) 60%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 60%, transparent);
}
.tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 50px;
}
.tab {
  flex: 1;
  padding: 28px 6px 22px;
  background: transparent; border: none;
  display: flex; flex-direction: column; gap: 8px;
  text-align: left; cursor: pointer;
  position: relative;
  font-family: var(--sans);
  color: var(--ink-mute);
  transition: color 0.2s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--ink-soft); }
.tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.tab .tab-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; }
.tab .tab-label { font-family: var(--serif); font-size: 30px; letter-spacing: -0.01em; }

.tab-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: start;
  animation: fadeUp 0.45s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tab-panel h3 {
  font-size: 44px; line-height: 1.05; margin-bottom: 22px;
}
.tab-panel h3 em { color: var(--accent); font-style: italic; }
.tab-panel .lede { color: var(--ink-soft); font-size: 17px; max-width: 480px; }

/* Stat block (Data) */
.stat {
  display: flex; align-items: baseline; gap: 14px;
  margin: 36px 0 28px;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 18px;
  position: relative;
}
.stat-num {
  font-family: var(--serif);
  font-size: 64px; line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-cap { color: var(--ink-soft); font-size: 14px; max-width: 280px; }

/* Dimension chips (Data) */
.dim-list { display: flex; flex-direction: column; gap: 10px; }
.dim {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 14px;
  font-size: 15px;
}
.dim-bullet {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.dim:nth-child(2) .dim-bullet { background: var(--accent-2); }
.dim:nth-child(3) .dim-bullet { background: var(--accent-3); }
.dim:nth-child(4) .dim-bullet { background: var(--accent-4); }
.dim:nth-child(5) .dim-bullet { background: var(--ink); }
.dim .dim-name { font-weight: 500; }
.dim .dim-meta { margin-left: auto; color: var(--ink-mute); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Model panel — region spawn map */

/* Model panel — small-models lattice */
.model-stack {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 48px -36px rgba(42,38,32,0.22);
}
.model-stack-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px;
}
.model-stack-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.model-stack-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.cohort {
  --cohort-hue: var(--accent);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 92px;
}
.cohort-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
}
.cohort-name {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
}
.cohort-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cohort-hue);
}
.cohort-bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 28px;
  overflow: hidden;
}
.cohort-bar {
  flex: 1;
  background: color-mix(in srgb, var(--cohort-hue) 65%, transparent);
  border-radius: 1.5px;
  min-width: 2px;
}

.region {
  background: var(--paper); border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.region:hover { border-color: var(--accent); transform: translateY(-1px); }
.region.is-on { background: color-mix(in srgb, var(--accent) 12%, var(--paper)); border-color: var(--accent); color: var(--ink); }
.region.is-pending { cursor: not-allowed; opacity: 0.55; }
.region.is-pending:hover { border-color: var(--hair); transform: none; }
.region-name { font-weight: 500; display: flex; align-items: center; gap: 8px; white-space: nowrap; flex-wrap: nowrap; }
.region-flag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 2px 6px;
  border-radius: 999px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.region-pop { font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); margin-top: 4px; letter-spacing: 0.04em; }
.spawn-bar {
  margin-top: 22px; padding: 18px 22px;
  background: var(--paper); border: 1px solid var(--hair);
  border-radius: 14px;
  display: flex; align-items: center; gap: 18px;
}
.spawn-bar .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.spawn-bar .count { font-family: var(--serif); font-size: 36px; color: var(--ink); }
.spawn-bar .grow { flex: 1; }

/* Environments */
.env-list { display: flex; flex-direction: column; gap: 14px; }
.env {
  background: var(--paper); border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 22px 24px;
  display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center;
}
.env-num {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px;
  background: color-mix(in srgb, var(--accent) 16%, var(--paper));
  color: var(--accent);
}
.env:nth-child(2) .env-num { background: color-mix(in srgb, var(--accent-2) 22%, var(--paper)); color: var(--accent-2); }
.env:nth-child(3) .env-num { background: color-mix(in srgb, var(--accent-4) 22%, var(--paper)); color: var(--accent-4); }
.env h4 { font-family: var(--serif); font-size: 22px; }
.env p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; max-width: 380px; }
.env .arrow { color: var(--ink-mute); font-size: 18px; }

/* Nested env/dim inside model-stack (Data + Environment panels) */
.model-stack .dim-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.model-stack .dim {
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.model-stack .env-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.model-stack .env {
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}
.model-stack .env-num {
  width: 32px; height: 32px;
  font-size: 14px;
}
.model-stack .env h4 { font-size: 16px; line-height: 1.2; }
.model-stack .env p { font-size: 13px; margin-top: 4px; max-width: none; line-height: 1.5; }

/* ─── CTA strip ──────────────────────────────────────────────────────── */
.cta-strip {
  padding: 90px 0;
  text-align: center;
}
.cta-strip h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  max-width: 900px; margin: 0 auto 22px;
}
.cta-strip h2 em { color: var(--accent); font-style: italic; }
.cta-strip p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 36px; font-size: 17px; }

/* ─── Pricing ────────────────────────────────────────────────────────── */
.pricing { padding: 110px 0 130px; }
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 26px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: transform 0.25s ease;
}
.price-card.is-feat {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.price-card.is-feat .price-name,
.price-card.is-feat .price-desc,
.price-card.is-feat .price-li { color: color-mix(in srgb, var(--paper) 80%, transparent); }
.price-card.is-feat .price-amt,
.price-card.is-feat .price-hdr { color: var(--paper); }
.price-card.is-feat .price-li::before { background: var(--accent); }
.price-card:hover { transform: translateY(-3px); }
.price-badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--accent); color: var(--paper);
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
}
.price-hdr {
  display: flex; flex-direction: column; gap: 6px;
}
.price-name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.price-title { font-family: var(--serif); font-size: 32px; letter-spacing: -0.01em; }
.price-desc { font-size: 14px; color: var(--ink-soft); }
.price-amt { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.price-amt .per { font-size: 14px; font-family: var(--sans); color: var(--ink-mute); margin-left: 6px; letter-spacing: 0; }
.price-feats { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-li {
  position: relative; padding-left: 22px;
  font-size: 14px; color: var(--ink-soft);
}
.price-li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 2px; background: var(--accent); border-radius: 2px;
  transform: rotate(-3deg);
}
.price-card .btn { width: 100%; justify-content: center; }
.price-card.is-feat .btn-ghost {
  color: var(--paper); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--paper) 60%, transparent);
}
.price-card.is-feat .btn-ghost:hover { background: color-mix(in srgb, var(--paper) 8%, transparent); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.foot {
  padding: 60px 0 50px;
  border-top: 1px solid var(--hair);
  background: var(--bg);
}
.foot-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; align-items: start;
}
.foot h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; font-weight: 500; }
.foot a { color: var(--ink-soft); font-size: 14px; text-decoration: none; display: block; padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot-base {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--hair);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ─── Modal ──────────────────────────────────────────────────────────── */
.modal-back {
  position: fixed; inset: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 35%, transparent);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 24px;
  padding: 36px;
  width: 100%; max-width: 460px;
  box-shadow: 0 30px 60px -20px rgba(42,38,32,0.4);
  position: relative;
}
.modal h3 { font-size: 32px; margin-bottom: 6px; }
.modal h3 em { color: var(--accent); font-style: italic; }
.modal .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  background: var(--bg-soft);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: var(--paper);
}
.modal .actions { display: flex; gap: 10px; margin-top: 20px; }
.modal .actions .btn { flex: 1; justify-content: center; }
.modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: transparent; cursor: pointer;
  color: var(--ink-mute); font-size: 18px;
}
.modal-x:hover { background: var(--bg-soft); color: var(--ink); }
.modal-ok {
  text-align: center; padding: 20px 0;
}
.modal-ok .check {
  width: 60px; height: 60px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent-2) 25%, var(--paper));
  display: grid; place-items: center; margin: 0 auto 18px;
  font-size: 28px; color: var(--accent-2);
}

/* ─── Trusted by logos strip ─────────────────────────────────────────── */
.trusted {
  padding: 36px 0 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 60%, transparent);
}
.trusted-inner {
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap; justify-content: center;
}
.trusted .eyebrow { flex: none; }
.trusted-logos {
  display: flex; gap: 44px; align-items: center; flex-wrap: wrap;
  justify-content: center;
  opacity: 0.72;
  color: var(--ink-soft);
}
.trusted-logo {
  display: inline-flex; align-items: center; gap: 8px;
}
.trusted-logo .glyph {
  width: 16px; height: 16px;
  background: currentColor;
}
.trusted-logo.t1 { font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; }
.trusted-logo.t1 .glyph { border-radius: 4px; }
.trusted-logo.t2 { font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.trusted-logo.t2 .glyph { border-radius: 50%; }
.trusted-logo.t3 { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.trusted-logo.t3 .glyph { transform: rotate(45deg); }
.trusted-logo.t4 { font-family: var(--serif); font-style: italic; font-size: 24px; }
.trusted-logo.t4 .glyph { border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.trusted-logo.t5 { font-family: var(--sans); font-weight: 500; font-size: 17px; }
.trusted-logo.t5 .glyph { clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* ─── Testimonials ───────────────────────────────────────────────────── */
.testimonials { padding: 110px 0; }
.test-grid {
  display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: 22px;
  align-items: stretch;
}
.test-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 22px;
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
}
.test-card.is-feat {
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent),
    var(--paper);
}
.test-quote {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 400;
  flex: 1;
}
.test-card.is-feat .test-quote { font-size: 16px; }
.test-quote::before {
  content: "“";
  font-family: var(--serif);
  font-size: 48px;
  line-height: 0;
  color: var(--accent);
  margin-right: 4px;
  vertical-align: -14px;
}
.test-who {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid color-mix(in srgb, var(--hair) 60%, transparent);
  padding-top: 18px;
}
.test-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-deep);
  display: grid; place-items: center;
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink);
}
.test-name { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); }
.test-role { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--ink-mute); letter-spacing: 0; text-transform: none; }

/* ─── Scheduler (Calendly-style) ─────────────────────────────────────── */
.modal.modal-sched { max-width: 760px; padding: 0; overflow: hidden; }
.sched {
  display: grid; grid-template-columns: 0.85fr 1.2fr;
  min-height: 520px;
}
.sched-side {
  background: var(--bg-soft);
  padding: 32px 30px;
  border-right: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 14px;
}
.sched-side .brand-row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 20px;
}
.sched-side .brand-row .brand-mark { width: 20px; height: 24px; }
.sched-side h4 { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin: 6px 0 0; letter-spacing: -0.01em; }
.sched-side .meet-meta { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.sched-side .meet-meta div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.sched-side .meet-meta .ico { width: 14px; height: 14px; opacity: 0.7; flex: none; }
.sched-side p { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; line-height: 1.5; }

.sched-main { padding: 30px 32px; display: flex; flex-direction: column; gap: 16px; }
.sched-month {
  display: flex; justify-content: space-between; align-items: center;
}
.sched-month-label { font-family: var(--serif); font-size: 20px; }
.sched-month-nav { display: flex; gap: 4px; }
.sched-month-nav button {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--hair); background: var(--paper);
  cursor: pointer; color: var(--ink-soft); font-size: 14px;
  display: grid; place-items: center;
}
.sched-month-nav button:hover { background: var(--bg-soft); color: var(--ink); }

.sched-cal {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.sched-dow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center; padding: 6px 0;
}
.sched-day {
  aspect-ratio: 1; display: grid; place-items: center;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px; color: var(--ink);
  cursor: pointer; position: relative;
  transition: background 0.15s ease;
}
.sched-day.muted { color: var(--ink-mute); background: transparent; cursor: default; opacity: 0.45; }
.sched-day.muted:hover { background: transparent; }
.sched-day:hover { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); }
.sched-day.is-on { background: var(--ink); color: var(--paper); font-weight: 500; }
.sched-day.has-slot::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.sched-day.is-on.has-slot::after { background: var(--paper); }

.sched-slots-wrap { display: flex; flex-direction: column; gap: 8px; }
.sched-slots {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  max-height: 180px; overflow-y: auto;
  padding-right: 4px;
}
.sched-slot {
  padding: 10px;
  border: 1px solid var(--hair); border-radius: 8px;
  background: var(--paper); color: var(--ink);
  font-size: 13px; font-family: var(--mono); letter-spacing: 0.04em;
  cursor: pointer; text-align: center;
  transition: all 0.15s ease;
}
.sched-slot:hover { border-color: var(--accent); color: var(--accent); }
.sched-slot.is-on { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.sched-confirm { display: flex; gap: 10px; margin-top: 4px; }
.sched-confirm .btn { flex: 1; justify-content: center; }
.sched-tz { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.06em; }
.sched-empty { padding: 24px; text-align: center; color: var(--ink-mute); font-size: 13px; }

/* ─── Aesthetic mode: Clean (overrides crayon) ───────────────────────── */
body.aesth-clean::before, body.aesth-clean::after { display: none; }
body.aesth-clean .hero h1 .underline-word::after { display: none; }
body.aesth-clean .hero-art svg [filter] { filter: none !important; }
body.aesth-clean .sol-card g[filter] { filter: none !important; }
body.aesth-clean .swatch-card { display: none; }
body.aesth-clean .price-li::before { transform: none; }
body.aesth-clean .hero h1 em,
body.aesth-clean .section-head h2 em,
body.aesth-clean .tab-panel h3 em,
body.aesth-clean .cta-strip h2 em,
body.aesth-clean .modal h3 em { font-style: normal; }
body.aesth-clean .nav-links a:hover::after { display: none; }
body.aesth-clean .nav-links a:hover { border-bottom: 1px solid var(--accent); }
body.aesth-clean .sol-card, body.aesth-clean .price-card, body.aesth-clean .test-card,
body.aesth-clean .stat, body.aesth-clean .dim, body.aesth-clean .env, body.aesth-clean .region,
body.aesth-clean .spawn-bar, body.aesth-clean .modal { border-radius: 10px; }
body.aesth-clean .btn { border-radius: 6px; }

/* ─── Pedigree marquee ───────────────────────────────────────────────── */
.trusted-marquee-wrap {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.trusted-marquee-wrap .eyebrow {
  text-align: center;
}
.pedigree-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.pedigree-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: pedigreeScroll 38s linear infinite;
  will-change: transform;
  padding-block: 8px;
}
.pedigree-track .pedigree-item {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 0 0 auto;
}
.pedigree-track .pedigree-dot {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 24px;
  opacity: 0.55;
  flex: 0 0 auto;
}

/* Logo-based marquee variant */
.pedigree-track-logos {
  gap: 64px;
  padding-block: 14px;
}
.pedigree-logo {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  height: 88px;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.pedigree-logo:hover { opacity: 1; }
.pedigree-logo img {
  display: block;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
@keyframes pedigreeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}
@media (prefers-reduced-motion: reduce) {
  .pedigree-track { animation-duration: 0s; }
}

/* ─── Pedigree row (replaces logos strip) ────────────────────────────── */
.trusted-logos.pedigree {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 1;
  gap: 18px;
}
.pedigree-item { color: var(--ink); }
.pedigree-dot {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 22px;
  opacity: 0.7;
}

/* ─── Research pillar highlight ──────────────────────────────────────── */
.section-head p .hl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.18em;
  color: var(--ink);
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 35%, transparent) 62%, color-mix(in srgb, var(--accent) 35%, transparent) 92%, transparent 92%);
  padding: 0 2px;
}

/* Stat number label */
.stat-num-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin-left: 6px;
}

/* Stat soon-tag */
.stat-soon {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Hero announcement banner ───────────────────────────────────────── */
.hero-banner {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  margin: 0 auto;
  max-width: calc(var(--wrap, 1180px) - 48px);
  padding: 12px 22px 12px 16px;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--hair));
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: -0.005em;
  box-shadow: 0 14px 28px -22px rgba(42,38,32,0.28);
  margin-top: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  z-index: 2;
  width: fit-content;
}
.hero-banner:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 20px 36px -22px rgba(42,38,32,0.32);
}
.hero-banner-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
}
.hero-banner-text {
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-banner-em {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  margin-left: 6px;
}
.hero-banner-arrow {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 16px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.hero-banner:hover .hero-banner-arrow {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .hero-banner {
    border-radius: 16px;
    flex-wrap: wrap;
    margin: 16px;
    width: auto;
  }
  .hero-banner-text { white-space: normal; }
  .hero-banner-em { display: block; margin-left: 0; margin-top: 2px; }
}

/* ─── Hero scroll-down indicator ─────────────────────────────────────── */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
  z-index: 3;
}
.hero-scroll:hover { opacity: 1; color: var(--accent); }
.hero-scroll-arrow {
  display: inline-flex;
  animation: heroBob 2.2s ease-in-out infinite;
}
@keyframes heroBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ─── Hero layout variants ───────────────────────────────────────────── */
.hero.layout-centered .hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.hero.layout-centered .hero-art { display: none; }
.hero.layout-centered .hero-cta { justify-content: center; }
.hero.layout-centered p.lede { margin-left: auto; margin-right: auto; }
.hero.layout-editorial .hero-inner {
  grid-template-columns: 1fr;
  position: relative;
}
.hero.layout-editorial h1 {
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.92;
}
.hero.layout-editorial .hero-art {
  position: absolute;
  top: -40px; right: -40px; width: 320px; height: 320px;
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.hero.layout-editorial p.lede { max-width: 580px; margin-top: 36px; }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .sched { grid-template-columns: 1fr; min-height: 0; }
  .sched-side { border-right: none; border-bottom: 1px solid var(--hair); }
  .test-grid { grid-template-columns: 1fr; }
  .trusted-logos { gap: 28px; }
  .hero.layout-editorial .hero-art { display: none; }
  .hero-inner, .section-head, .tab-panel, .foot-inner { grid-template-columns: 1fr; gap: 36px; }
  .sol-grid, .price-grid { grid-template-columns: 1fr; }
  .sol-tabs { grid-template-columns: repeat(2, 1fr); }
  .sol-tabs .sol-tab:nth-child(2) { border-right: none; }
  .sol-tabs .sol-tab:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .sol-panel { grid-template-columns: 1fr; gap: 32px; }
  .sol-visual-frame { min-height: 320px; }
  .sol-points h3 { font-size: 32px; }
  .regions { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 70px 0 80px; }
  .hero-art { display: none; }
  .wrap, .wrap-n, .wrap-w { padding: 0 24px; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-platform { font-size: 13px; }
  .tab .tab-label { font-size: 20px; }
}
