/* ==========================================================================
   Companyvisor — site styles
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-2: #1e293b;
  --text: #3a4659;
  --muted: #64748b;
  --line: #e5e9f0;
  --line-2: #d5dbe5;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #f1f4fb;

  --brand: #3b5bfd;
  --brand-600: #2745e0;
  --brand-700: #1f36b3;
  --brand-50: #eef1ff;
  --brand-100: #dfe5ff;

  --born: #0ea371;
  --born-50: #e7f8f1;
  --born-100: #c9f0e0;
  --insolv: #e11d48;
  --insolv-50: #fdecf0;
  --insolv-100: #fbd3dd;
  --amber: #d97706;
  --amber-50: #fef5e7;

  --dark: #0a1020;
  --dark-2: #111a2e;
  --dark-line: rgba(255, 255, 255, 0.09);
  --dark-text: #b6c0d4;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 6px 20px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 60px -20px rgba(15, 23, 42, 0.25);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1180px;
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
code, pre { font-family: var(--font-mono); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--ink); }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 8px 20px -8px rgba(59, 91, 253, .6); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #b9c2d2; color: var(--ink); background: var(--bg-soft); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--bg-tint); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef1f7; color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.btn-outline-light:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 0.875rem; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.9); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand span b { color: var(--brand); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { color: var(--text); font-weight: 500; font-size: 0.93rem; padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--bg-tint); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-tint); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions .btn-ghost { display: none; }
  .header-inner { gap: 12px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(15,23,42,.25);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav .nav-mobile-cta { display: grid; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav .nav-mobile-cta a { text-align: center; }
  body.nav-open .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
  .header-actions .btn-primary { display: none; }
}
@media (min-width: 921px) { .nav-mobile-cta { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .section { padding: 76px 0; } .section-sm { padding: 56px 0; } }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head.center .eyebrow::before, .section-head:not(.left) .eyebrow::before { display: none; }
.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 40%, transparent 100%);
}
.hero-bg::after {
  content: ""; position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 30% 50%, rgba(59, 91, 253, .18), transparent 70%),
    radial-gradient(closest-side at 70% 45%, rgba(14, 163, 113, .12), transparent 70%),
    radial-gradient(closest-side at 55% 70%, rgba(225, 29, 72, .08), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; font-size: clamp(2.3rem, 4.3vw, 3.45rem); line-height: 1.06; }
.hero-copy .lead { max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--born); }

.grad-born { color: var(--born); }
.grad-insolv { color: var(--insolv); }
.hl {
  background: linear-gradient(100deg, var(--brand) 0%, #6d5dfc 50%, var(--brand-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 0.85rem; color: var(--text); font-weight: 500; margin-bottom: 24px;
}
.pill:hover { color: var(--ink); border-color: var(--line-2); }
.pill-tag { background: var(--brand-50); color: var(--brand-600); font-weight: 600; font-size: 0.75rem; padding: 3px 9px; border-radius: 999px; }
.pill svg { width: 14px; height: 14px; color: var(--muted); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
}
@media (max-width: 640px) { .hero { padding: 44px 0 72px; } }

/* ---------- Mock dashboard (hero visual) ---------- */
.mock { position: relative; }
.mock-window {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative; z-index: 1;
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ea; display: block; }
.mock-title { font-size: 0.8rem; color: var(--muted); font-weight: 500; flex: 1; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--born); position: relative; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--born); opacity: .35; animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.mock-live { font-size: 0.72rem; font-weight: 600; color: var(--born); background: var(--born-50); padding: 3px 8px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }

.mock-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 500; color: var(--ink-2);
  padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); background: #fff;
}
.chip b { color: var(--muted); font-weight: 500; }
.chip svg { width: 12px; height: 12px; color: var(--muted); }
.chip-add { color: var(--brand-600); border-style: dashed; border-color: var(--brand-100); background: var(--brand-50); }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.mock-stat { padding: 14px 16px; }
.mock-stat + .mock-stat { border-left: 1px solid var(--line); }
.mock-stat small { display: block; font-size: 0.7rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.mock-stat strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px; }
.mock-stat em { font-style: normal; font-size: 0.72rem; font-weight: 600; }
.up { color: var(--born); }
.down { color: var(--insolv); }

.feed { position: relative; height: 312px; overflow: hidden; }
.feed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(to bottom, transparent, #fff); pointer-events: none; }
.feed-row {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  animation: rowIn .55s cubic-bezier(.2, .8, .2, 1);
}
@keyframes rowIn { from { opacity: 0; transform: translateY(-12px); background: var(--brand-50); } to { opacity: 1; transform: none; background: #fff; } }
.feed-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.feed-icon svg { width: 17px; height: 17px; }
.feed-icon.born { background: var(--born-50); color: var(--born); }
.feed-icon.insolv { background: var(--insolv-50); color: var(--insolv); }
.feed-main { min-width: 0; }
.feed-name { font-size: 0.86rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-sub { font-size: 0.75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-side { text-align: right; }
.tag { display: inline-block; font-size: 0.68rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.tag.born { background: var(--born-50); color: var(--born); }
.tag.insolv { background: var(--insolv-50); color: var(--insolv); }
.tag.brand { background: var(--brand-50); color: var(--brand-600); }
.feed-time { display: block; font-size: 0.7rem; color: var(--muted); margin-top: 3px; }

.mock-float {
  position: absolute; z-index: 2;
  background: rgba(10, 16, 32, .96); color: #d6def0; border-radius: 14px;
  box-shadow: 0 24px 50px -16px rgba(10, 16, 32, .55); border: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.65;
  padding: 14px 16px; width: 290px; right: -28px; bottom: -44px;
}
.mock-float-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--font); font-size: 0.72rem; color: #8a96ad; }
.mock-float-head .ok { color: #34d399; font-weight: 600; margin-left: auto; }
.mock-float pre { margin: 0; white-space: pre; overflow: hidden; }

.mock-toast {
  position: absolute; z-index: 2; left: -36px; bottom: 96px;
  display: flex; gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 10px 14px 10px 10px; font-size: 0.78rem; max-width: 290px;
  animation: floaty 6s ease-in-out infinite;
}
.mock-toast .feed-icon { width: 30px; height: 30px; flex: none; }
.mock-toast strong { display: block; color: var(--ink); font-size: 0.8rem; }
.mock-toast span { color: var(--muted); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 1180px) { .mock-float { right: -8px; } .mock-toast { left: -12px; } }
@media (max-width: 1020px) { .mock { max-width: 620px; margin: 0 auto; } }
@media (max-width: 640px) {
  .mock-float { position: relative; right: auto; bottom: auto; width: auto; margin: -20px 12px 0; }
  .mock-toast { display: none; }
  .mock-stat strong { font-size: 1.1rem; }
  .feed { height: 280px; }
}

/* ---------- Logo / audience strip ---------- */
.strip { padding: 36px 0 12px; }
.strip p { text-align: center; font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-bottom: 20px; }
.strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.strip-list li {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 0.9rem;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.strip-list svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.stat { padding: 28px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .stat { padding: 22px 18px; } }

/* ---------- Lifecycle (two events) ---------- */
.lifecycle { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.event-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); padding: 40px; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow);
}
.event-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.event-card.born::before { background: linear-gradient(90deg, var(--born), #34d399); }
.event-card.insolv::before { background: linear-gradient(90deg, var(--insolv), #fb7185); }
.event-card .event-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.event-card .event-icon svg { width: 26px; height: 26px; }
.event-card.born .event-icon { background: var(--born-50); color: var(--born); }
.event-card.insolv .event-icon { background: var(--insolv-50); color: var(--insolv); }
.event-card h3 { font-size: 1.55rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.event-card > p { color: var(--muted); font-size: 1.02rem; margin-bottom: 24px; }
.event-list { display: grid; gap: 12px; }
.event-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--text); }
.event-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.event-card.born .event-list svg { color: var(--born); }
.event-card.insolv .event-list svg { color: var(--insolv); }
.event-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
@media (max-width: 860px) { .lifecycle { grid-template-columns: 1fr; } .event-card { padding: 30px 24px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step-num { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--brand-600); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; display: inline-block; margin-bottom: 20px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.step-visual { margin-top: 22px; padding: 14px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.feature:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 18px; }
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 120px; }
.split.reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 26px; }
.check-list { display: grid; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li > svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 1px; }
.check-list strong { color: var(--ink); font-weight: 600; }
.check-list span { color: var(--muted); }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-copy { order: 0; }
  .split + .split { margin-top: 88px; }
}

/* ---------- Panel visuals ---------- */
.panel { border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h4 { margin: 0; font-size: 0.95rem; letter-spacing: -0.01em; }
.panel-head small { color: var(--muted); font-size: 0.78rem; }
.panel-body { padding: 20px; }

.filter-form { display: grid; gap: 14px; }
.field-mock label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.input-mock { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 42px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 0.88rem; color: var(--ink); }
.input-mock svg { width: 16px; height: 16px; color: var(--muted); }
.input-mock .ph { color: #9aa6b8; }
.input-mock .caret { width: 1.5px; height: 18px; background: var(--brand); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.token { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 500; padding: 3px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); }
.token svg { width: 11px; height: 11px; color: currentColor; opacity: .6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg-tint); border-radius: 10px; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 8px; border-radius: 7px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.seg span.on { background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); }
.seg svg { width: 14px; height: 14px; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg-soft); font-size: 0.85rem; color: var(--muted); }
.panel-foot strong { color: var(--ink); }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.alert-list { display: grid; }
.alert-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.alert-item:last-child { border-bottom: 0; }
.alert-item .feed-icon { width: 38px; height: 38px; }
.alert-item h5 { margin: 0 0 2px; font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.alert-item p { margin: 0; font-size: 0.8rem; color: var(--muted); }
.channels { display: flex; gap: 6px; }
.channels span { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-tint); display: grid; place-items: center; color: var(--muted); }
.channels span.on { background: var(--brand-50); color: var(--brand); }
.channels svg { width: 14px; height: 14px; }
.toggle { width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .2s; }
.toggle.on { background: var(--brand); }
.toggle.on::after { left: 18px; }
@media (max-width: 480px) { .channels { display: none; } }

/* ---------- Code / dark sections ---------- */
.dark { background: var(--dark); color: var(--dark-text); position: relative; overflow: hidden; isolation: isolate; }
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(59, 91, 253, .22), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(14, 163, 113, .12), transparent 70%);
}
.dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
}
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .eyebrow { color: #8ea2ff; }
.dark .split-copy > p, .dark .section-head p { color: var(--dark-text); }
.dark .check-list li > svg { color: #8ea2ff; }
.dark .check-list strong { color: #fff; }
.dark .check-list span { color: var(--dark-text); }

.code {
  border-radius: var(--radius-lg); background: #0d1528; border: 1px solid var(--dark-line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overflow: hidden;
}
.code-head { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--dark-line); background: rgba(255,255,255,.02); overflow-x: auto; }
.code-tab { background: none; border: 0; color: #8190aa; font-size: 0.8rem; font-weight: 500; padding: 6px 12px; border-radius: 7px; white-space: nowrap; }
.code-tab:hover { color: #d7def0; }
.code-tab[aria-selected="true"] { background: rgba(255,255,255,.07); color: #fff; }
.code-label { margin-left: auto; font-family: var(--font-mono); font-size: 0.72rem; color: #66738d; padding-right: 6px; white-space: nowrap; }
.code pre { margin: 0; padding: 20px 22px; font-size: 0.82rem; line-height: 1.75; color: #d2daea; overflow-x: auto; tab-size: 2; }
.code pre[hidden] { display: none; }
.tk-k { color: #c792ea; }
.tk-s { color: #a5e3a0; }
.tk-n { color: #f5b877; }
.tk-p { color: #82aaff; }
.tk-c { color: #5f6d88; font-style: italic; }
.tk-m { color: #7fdbca; }

.light-code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.light-code pre { margin: 0; padding: 18px 20px; font-size: 0.82rem; color: var(--ink-2); overflow-x: auto; line-height: 1.7; }

.inline-code { font-family: var(--font-mono); font-size: 0.86em; padding: 2px 6px; border-radius: 6px; background: var(--bg-tint); color: var(--ink-2); border: 1px solid var(--line); }
.dark .inline-code { background: rgba(255,255,255,.06); border-color: var(--dark-line); color: #e3e8f4; }

/* ---------- Use-case cards ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; color: inherit; }
.case:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.case-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.case-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--ink-2); }
.case-icon svg { width: 22px; height: 22px; }
.case h3 { font-size: 1.12rem; margin-bottom: 8px; }
.case p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; flex: 1; }
.case-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--brand-600); }
.case-link svg { width: 15px; height: 15px; transition: transform .2s; }
.case:hover .case-link svg { transform: translateX(3px); }
@media (max-width: 960px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cases { grid-template-columns: 1fr; } }

/* Detailed use-case rows */
.uc { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.uc:first-child { border-top: 0; padding-top: 0; }
.uc-side .case-icon { width: 52px; height: 52px; margin-bottom: 18px; background: var(--brand-50); color: var(--brand); }
.uc-side h2 { font-size: 1.7rem; margin-bottom: 10px; }
.uc-side p { color: var(--muted); font-size: 0.95rem; }
.uc-body > p { font-size: 1.08rem; color: var(--text); margin-bottom: 24px; }
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.uc-box { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-soft); }
.uc-box h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 12px; font-family: var(--font); font-weight: 600; }
.uc-box ul { display: grid; gap: 8px; }
.uc-box li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--text); }
.uc-box li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand); }
.uc-recipe { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed var(--line-2); font-size: 0.85rem; color: var(--muted); }
.uc-recipe strong { color: var(--ink); margin-right: 4px; }
@media (max-width: 900px) { .uc { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; } .uc-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); margin: 0 auto 44px; }
.billing-toggle button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.save { font-size: 0.72rem; color: var(--born); background: var(--born-50); padding: 2px 7px; border-radius: 999px; }
.pricing-wrap { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.plan.featured { border: 1.5px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(59, 91, 253, .45); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font-size: 1.1rem; margin-bottom: 4px; }
.plan-desc { color: var(--muted); font-size: 0.88rem; min-height: 44px; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; color: var(--ink); }
.price strong { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: -0.04em; line-height: 1; }
.price > span { color: var(--muted); font-size: 0.9rem; }
.price-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 22px; min-height: 20px; }
.plan .btn { margin-bottom: 24px; }
.plan-features { display: grid; gap: 11px; font-size: 0.9rem; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.plan-features svg { width: 17px; height: 17px; flex: none; color: var(--brand); margin-top: 3px; }
.plan-features .muted { color: var(--muted); }
.plan-features .muted svg { color: #b8c1cf; }
.plan-features h5 { margin: 4px 0 0; font-size: 0.74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } .plan-desc, .price-note { min-height: 0; } }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.92rem; }
.compare th, .compare td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { font-family: var(--font-display); font-size: 1rem; color: var(--ink); background: var(--bg-soft); position: sticky; top: 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .group td { background: var(--bg-soft); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); text-align: left; }
.compare svg { width: 18px; height: 18px; margin: 0 auto; }
.compare .yes { color: var(--brand); }
.compare .no { color: #c4ccd8; }
.compare .col-featured { background: rgba(59, 91, 253, .035); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 20px; height: 20px; flex: none;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 20px; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 112px; }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; background: var(--dark); color: var(--dark-text);
  padding: 72px 48px; text-align: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px 300px at 20% 0%, rgba(59, 91, 253, .45), transparent 70%),
    radial-gradient(400px 300px at 90% 100%, rgba(14, 163, 113, .25), transparent 70%);
}
.cta-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-card h2 { color: #fff; max-width: 680px; margin: 0 auto 16px; }
.cta-card p { max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-card .hero-cta { justify-content: center; margin: 0; }
@media (max-width: 640px) { .cta-card { padding: 52px 22px; border-radius: 20px; } .cta-band { padding-bottom: 76px; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; padding: 88px 0 72px; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 860px; margin: 0 auto 20px; }
.page-hero .lead { max-width: 680px; margin: 0 auto; }
.page-hero .hero-cta { justify-content: center; margin: 32px 0 0; }
@media (max-width: 640px) { .page-hero { padding: 56px 0 48px; } }

/* ---------- API reference bits ---------- */
.endpoint-list { display: grid; gap: 10px; }
.endpoint { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.endpoint code { font-size: 0.85rem; color: var(--ink); overflow-wrap: anywhere; }
.endpoint p { grid-column: 2; margin: -8px 0 0; font-size: 0.86rem; color: var(--muted); }
.method { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; padding: 4px 0; border-radius: 6px; text-align: center; }
.method.get { background: var(--born-50); color: var(--born); }
.method.post { background: var(--brand-50); color: var(--brand-600); }
.method.del { background: var(--insolv-50); color: var(--insolv); }

.fields-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.fields-table th, .fields-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fields-table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.fields-table td:first-child { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink); white-space: nowrap; }
.fields-table td:nth-child(2) { font-family: var(--font-mono); font-size: 0.78rem; color: var(--brand-600); white-space: nowrap; }
.fields-table td:last-child { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap .fields-table tr:last-child td { border-bottom: 0; }

.mini-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--dark-line); background: rgba(255,255,255,.03); }
.mini-card svg { width: 22px; height: 22px; color: #8ea2ff; margin-bottom: 14px; }
.mini-card h4 { font-size: 1rem; margin-bottom: 6px; }
.mini-card p { margin: 0; font-size: 0.88rem; color: var(--dark-text); }
@media (max-width: 960px) { .mini-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mini-cards { grid-template-columns: 1fr; } }

/* ---------- Coverage map-ish grid ---------- */
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.states span, .states a { display: grid; place-items: center; height: 40px; border-radius: 8px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); transition: background .2s, color .2s; }
.states a:hover { background: var(--brand); color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-aside h2 { font-size: 2rem; }
.contact-aside > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.contact-points { display: grid; gap: 20px; }
.contact-points li { display: flex; gap: 14px; }
.contact-points .feature-icon { margin: 0; flex: none; }
.contact-points h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-points p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.form-card { padding: 36px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(59, 91, 253, .14); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 0.88rem; font-weight: 500; color: var(--text); cursor: pointer; margin: 0; }
.checks input { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; }
.checks label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.form-note { font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .feature-icon { margin: 0 auto 18px; background: var(--born-50); color: var(--born); width: 56px; height: 56px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 72px 0 36px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.footer-brand p { color: var(--muted); max-width: 300px; margin: 16px 0 0; }
.footer-col h4 { font-family: var(--font); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status .live-dot { width: 7px; height: 7px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - var(--header-h) - 260px); display: grid; place-items: center; text-align: center; padding: 96px 0; }
.nf-code { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--insolv); background: var(--insolv-50); padding: 5px 12px; border-radius: 999px; display: inline-block; margin-bottom: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack-lg > * + * { margin-top: 56px; }

/* ---------- Late additions ---------- */
.page-hero .eyebrow::before { display: none; }
.fields-table td.desc { font-family: var(--font); font-size: 0.9rem; color: var(--muted); white-space: normal; }
.uc-side .tag { margin-top: 4px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- HTML sitemap ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sitemap-group { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.sitemap-group h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.sitemap-group h2 a { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.sitemap-group h2 a:hover { color: var(--brand-600); }
.sitemap-group h2 svg { width: 16px; height: 16px; color: var(--brand); }
.sitemap-group > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.sitemap-group ul { display: grid; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.sitemap-group li a { color: var(--text); font-size: 0.93rem; }
.sitemap-group li a:hover { color: var(--brand-600); }
@media (max-width: 960px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* ---------- State pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: #b8c1cf; }
.state-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 18px; font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-700)); box-shadow: 0 12px 30px -12px rgba(59, 91, 253, .7); }
.sample-note { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.source-box { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.9rem; }
.source-box small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.source-box strong { color: var(--ink); }
.recipes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.recipe { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.recipe .feed-icon { flex: none; }
.recipe h3 { font-size: 1rem; margin-bottom: 8px; }
.recipe .chips { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 760px) { .recipes { grid-template-columns: 1fr; } }
.state-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.state-index a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 0.93rem; transition: border-color .15s, box-shadow .15s, transform .15s; }
.state-index a:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.state-index a[aria-current="page"] { border-color: var(--brand); background: var(--brand-50); }
.state-index b { font-family: var(--font-mono); font-size: 0.75rem; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 7px; padding: 3px 0; width: 36px; text-align: center; flex: none; }
.stat-link { color: inherit; border-radius: var(--radius-lg) 0 0 var(--radius-lg); transition: background .15s; }
.stat-link:hover { color: inherit; background: var(--bg-soft); }
.stat-link:hover span { color: var(--brand-600); }
