/* ZapsDocs site styles. Palette and type follow the original React/Tailwind site. */

@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy-900: #04182a;
  --navy-800: #072540;
  --blue-600: #0d3f6b;
  --blue-500: #0f4c81;
  --blue-100: #c5dced;
  --blue-50: #e8f1f8;
  --amber-500: #d97d1f;
  --amber-600: #b5671a;
  --amber-50: #fdf5ed;
  --neutral-50: #f7f7f6;
  --neutral-100: #ecebeb;
  --neutral-400: #94918d;
  --neutral-600: #5a5754;
  --neutral-800: #2e2c2a;
  --green: #059669;
  --red: #dc2626;
  --red-50: #fee2e2;
  --radius: 8px;
  --radius-lg: 12px;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 10px 30px rgba(4, 24, 42, 0.12);
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 0.5em; color: var(--navy-900); }
p { margin: 0 0 1em; }
a { color: var(--amber-500); text-decoration: none; }
a:hover { color: var(--amber-600); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(15, 76, 129, 0.2); }
:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -0.15em; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 16px; }
.skip-link:focus { left: 16px; top: 8px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.container--mid { max-width: 1024px; }
.container--narrow { max-width: 820px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.accent { color: var(--amber-500); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px; border: 1px solid transparent;
  font: 600 1rem/1.3 var(--font-body); cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { padding: 8px 20px; font-size: .875rem; font-weight: 500; }
.btn--lg { padding: 14px 32px; }
.btn--block { width: 100%; }
.btn--amber { background: var(--amber-500); color: #fff; }
.btn--amber:hover { background: var(--amber-600); color: #fff; }
.btn--navy { background: var(--navy-900); color: #fff; border-color: var(--amber-500); }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { border-color: rgba(197, 220, 237, .3); color: var(--blue-100); }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.btn--outline { border: 2px solid var(--blue-500); color: var(--blue-500); }
.btn--outline:hover { background: var(--blue-500); color: #fff; }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn--white { background: #fff; color: var(--navy-900); border-color: var(--neutral-100); }
.btn--white:hover { background: var(--blue-50); color: var(--navy-900); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.actions--center { justify-content: center; }

/* ---- Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); border-bottom: 1px solid var(--navy-800); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 1.25rem var(--font-heading); }
.brand:hover { color: #fff; }
.brand img { width: auto; height: 40px; }
.nav__menus { display: none; align-items: center; gap: 4px; }
.nav__cta { display: none; }
.dropdown { position: relative; }
.dropdown__toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px;
  background: none; border: 0; color: var(--blue-100); font: 500 .875rem var(--font-body); cursor: pointer;
}
.dropdown__toggle:hover, .dropdown__toggle.is-active { color: #fff; }
.dropdown__toggle .icon { transition: transform .2s; }
.dropdown__panel {
  display: none; position: absolute; top: 100%; left: 0; width: 440px; margin-top: 8px; padding: 16px;
  background: var(--navy-800); border: 1px solid var(--navy-900); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.dropdown__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dropdown__panel--wide { width: 540px; }
.dropdown:hover .dropdown__panel, .dropdown:focus-within .dropdown__panel { display: block; }
.dropdown:hover .dropdown__toggle .icon, .dropdown:focus-within .dropdown__toggle .icon { transform: rotate(180deg); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu-group { grid-column: 1 / -1; margin: 8px 12px 4px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-100); }
.menu-grid .menu-group:first-child { margin-top: 0; }
.menu-link { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 6px; color: #fff; }
.menu-link:hover { background: var(--navy-900); color: #fff; }
.menu-link__icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 6px; background: var(--navy-900); color: var(--blue-100); transition: background .15s; }
.menu-link:hover .menu-link__icon { background: var(--amber-500); color: #fff; }
.menu-link__label { display: block; font-size: .875rem; font-weight: 500; }
.menu-link__desc { display: block; font-size: .75rem; color: var(--blue-100); margin-top: 2px; }
.menu-more { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 12px 12px 0; border-top: 1px solid var(--navy-900); font-size: .875rem; font-weight: 500; }

.mobile-nav summary { list-style: none; cursor: pointer; padding: 8px; color: var(--blue-100); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .icon { width: 24px; height: 24px; }
.mobile-nav__close, .mobile-nav[open] .mobile-nav__open { display: none; }
.mobile-nav[open] .mobile-nav__close { display: inline; }
.mobile-nav__panel {
  position: absolute; left: 0; right: 0; top: 64px; padding: 16px; display: flex; flex-direction: column;
  background: var(--navy-900); border-top: 1px solid var(--navy-800); box-shadow: var(--shadow);
}
.mobile-nav__panel a:not(.btn) { padding: 12px 16px; color: var(--blue-100); font-weight: 500; }
.mobile-nav__panel a:not(.btn):hover { color: #fff; }
.mobile-nav__panel .menu-group { margin: 8px 16px 0; opacity: .6; }
.mobile-nav__panel .btn { margin: 16px 16px 0; }

@media (min-width: 1024px) {
  .nav__menus { display: flex; }
  .nav__cta { display: inline-flex; }
  .mobile-nav { display: none; }
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--blue-100); }
.site-footer a { color: var(--blue-100); }
.site-footer a:hover { color: var(--amber-500); }
.footer-cta { background: var(--navy-800); border-bottom: 1px solid var(--navy-900); }
.footer-cta__inner { display: flex; flex-direction: column; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.footer-cta__title { font: 700 clamp(1.5rem, 3vw, 1.875rem)/1.2 var(--font-heading); color: #fff; margin-bottom: 8px; }
.footer-cta__text { font-size: 1.125rem; margin: 0; }
.site-footer .footer-cta .btn { color: #fff; white-space: nowrap; flex-shrink: 0; }
@media (min-width: 768px) { .footer-cta__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { font-size: 1.5rem; margin-bottom: 24px; }
.footer-brand p { font-size: .875rem; max-width: 20rem; }
.footer-heading { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-main ul { display: grid; gap: 12px; font-size: .875rem; }
.social { display: flex !important; gap: 12px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--navy-800); }
.social a:hover { background: var(--amber-500); color: #fff; }
@media (min-width: 768px) {
  .footer-main { grid-template-columns: repeat(7, 1fr); gap: 48px 32px; }
  .footer-brand { grid-column: span 2; }
}
.footer-bottom { padding-bottom: 48px; }
.footer-bottom__row { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 32px; border-top: 1px solid var(--navy-800); font-size: .875rem; }
.footer-bottom__row p { margin: 0; }
.footer-emails { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-emails a { display: inline-flex; align-items: center; gap: 8px; }
.footer-disclaimer { margin: 24px 0 0; font-size: .75rem; color: var(--neutral-400); text-align: center; }
@media (min-width: 768px) {
  .footer-bottom__row { flex-direction: row; justify-content: space-between; }
  .footer-disclaimer { text-align: left; }
}

/* ---- Sections & typography ---------------------------------------------- */
.section { padding: 96px 0; }
.section--tight-top { padding-top: 24px; }
.section--grey { background: var(--neutral-50); }
.section--blue { background: var(--blue-50); }
.section--navy { background: var(--navy-900); color: var(--blue-100); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--bordered { border-top: 1px solid var(--neutral-100); border-bottom: 1px solid var(--neutral-100); }
.section-title { font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 700; margin-bottom: 16px; }
.section-title--xl { font-size: clamp(1.875rem, 4.5vw, 3rem); max-width: 48rem; }
.lead { font-size: 1.125rem; color: var(--neutral-600); max-width: 42rem; margin-bottom: 48px; }
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.section--navy .lead { color: var(--blue-100); }
.note { font-size: .875rem; color: var(--neutral-400); max-width: 42rem; margin: -32px auto 48px; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--amber-500); margin-bottom: 12px; }
.eyebrow--line { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow--line::before { content: ""; width: 24px; height: 1px; background: var(--amber-500); }
.tag { display: inline-block; padding: 4px 12px; margin-bottom: 24px; font-size: .875rem; font-weight: 500; color: var(--navy-900); background: #fff; border: 1px solid var(--neutral-100); border-radius: 6px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--amber-500); }
.more .icon { transition: transform .15s; }
a:hover .more .icon, .more:hover .icon { transform: translateX(4px); }

/* ---- Hero ---------------------------------------------------------------- */
.hero { background: var(--navy-900); padding: 72px 0 0; position: relative; }
@media (min-width: 768px) { .hero { padding-top: 128px; } }
.hero__eyebrow { color: var(--amber-500); font-size: .875rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { color: #fff; font-size: clamp(2.25rem, 7vw, 4.5rem); line-height: 1.1; max-width: 56rem; margin-bottom: 24px; }
.hero__subtitle { color: var(--blue-100); font-size: clamp(1.125rem, 2vw, 1.25rem); max-width: 42rem; margin-bottom: 16px; }
.hero__note { color: var(--neutral-400); font-size: .875rem; max-width: 42rem; margin-bottom: 40px; }
.hero__stats { display: grid; gap: 16px; margin-top: 48px; position: relative; z-index: 2; margin-bottom: -64px; }
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.stat-card { background: #fff; border-radius: var(--radius); border-top: 4px solid var(--amber-500); padding: 24px; text-align: center; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(4, 24, 42, .16); }
.stat-card p { margin: 0; }
.stat-card__value { font: 700 1.875rem/1.2 var(--font-heading); color: var(--blue-500); margin-bottom: 4px !important; }
.stat-card__label { font-size: .875rem; font-weight: 500; }
.stat-card__sub { font-size: .75rem; color: var(--neutral-400); margin-top: 4px !important; }

/* ---- Pillars ------------------------------------------------------------- */
.pillars { background: var(--blue-50); padding: 112px 0 64px; }
.pillars__intro { text-align: center; font-size: .875rem; font-weight: 500; color: var(--neutral-600); margin-bottom: 48px; }
.pillars__grid { display: grid; max-width: 1152px; margin: 0 auto; }
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 32px; border-bottom: 1px dashed var(--blue-100); border-radius: var(--radius); }
.pillar:last-child { border-bottom: 0; }
.pillar:hover { background: rgba(255, 255, 255, .6); }
.pillar p { font-size: .875rem; color: var(--neutral-600); margin: 0; }
.pillar__bar { width: 48px; height: 4px; border-radius: 4px; margin-bottom: 20px; }
.pillar__icon { width: 32px; height: 32px; margin-bottom: 12px; }
.pillar__title { font-family: var(--font-body); font-size: 1.125rem; color: var(--neutral-800); }
@media (min-width: 768px) {
  .pillars__grid { grid-template-columns: repeat(4, 1fr); }
  .pillar { border-bottom: 0; border-right: 1px dashed var(--blue-100); border-radius: 0; }
  .pillar:last-child { border-right: 0; }
}
.pillar--amber .pillar__bar { background: var(--amber-500); } .pillar--amber .pillar__icon { color: var(--amber-500); }
.pillar--blue .pillar__bar { background: var(--blue-500); } .pillar--blue .pillar__icon { color: var(--blue-500); }
.pillar--green .pillar__bar { background: var(--green); } .pillar--green .pillar__icon { color: var(--green); }
.pillar--navy .pillar__bar { background: var(--navy-900); } .pillar--navy .pillar__icon { color: var(--navy-900); }

/* ---- Modules ------------------------------------------------------------- */
.module-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .module-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .module-grid { grid-template-columns: repeat(4, 1fr); } }
.module { --c: var(--amber-500); display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: var(--amber-50); transition: transform .2s, box-shadow .2s; }
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module--blue { --c: var(--blue-500); background: var(--blue-50); }
.module--green { --c: var(--green); background: var(--blue-50); }
.module--navy { --c: var(--navy-900); background: var(--amber-50); }
.module__icon { width: 48px; height: 48px; color: var(--c); margin-bottom: 24px; }
.module h3 { font-family: var(--font-body); font-size: 1.25rem; color: var(--neutral-800); }
.module > p { color: var(--neutral-600); }
.module hr { width: 100%; border: 0; height: 1px; background: var(--neutral-100); margin: 0 0 24px; }
.dots { display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.dots li { position: relative; padding-left: 18px; font-size: .875rem; color: var(--neutral-600); }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.module__link { display: inline-flex; align-items: center; gap: 4px; color: var(--c); font-size: .875rem; font-weight: 500; }
.module__link:hover { color: var(--c); gap: 8px; }

/* ---- Tiles & cards ------------------------------------------------------- */
.icon-box { display: inline-grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius); background: var(--navy-800); color: var(--amber-500); }
.icon-box .icon { width: 24px; height: 24px; }
.icon-box--lg { width: 56px; height: 56px; margin-bottom: 24px; }
.icon-box--lg .icon { width: 28px; height: 28px; }
.icon-box--xl { width: 64px; height: 64px; margin-bottom: 24px; }
.icon-box--xl .icon { width: 32px; height: 32px; }
.tile-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid var(--neutral-100); border-radius: var(--radius); background: #fff; color: inherit; transition: border-color .15s; }
.tile:hover { border-color: var(--amber-500); color: inherit; }
.tile .icon-box { margin: 0; }
.tile__title { display: block; font: 700 1.125rem/1.3 var(--font-heading); color: var(--navy-900); margin-bottom: 4px; }
.tile:hover .tile__title { color: var(--amber-500); }
.tile__text { display: block; font-size: .875rem; color: var(--neutral-600); }
.tile--more { align-items: center; justify-content: center; border-style: dashed; border-color: var(--blue-100); color: var(--blue-500); font-weight: 600; }
.tile--more:hover { color: var(--amber-500); }
.tile--wide { align-items: center; gap: 24px; }
.tile--wide .tile__title { font-size: 1.25rem; }
.tile--wide .tile__text { font-size: 1rem; }
.tile__arrow { margin-left: auto; width: 24px; height: 24px; color: var(--amber-500); }
.stack { display: grid; gap: 24px; }
.stack-lg { display: grid; gap: 64px; }

.card-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .card-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1024px) { .card-grid:not(.card-grid--2) { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; padding: 32px; border: 1px solid var(--neutral-100); border-radius: var(--radius); background: #fff; color: inherit; }
.card p { color: var(--neutral-600); margin: 0; }
.card .icon-box { margin-bottom: 16px; }
.card--blue { background: var(--blue-50); padding: 24px; }
.card--row { display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
.card--row .num-box { margin: 0; }
.card--link { transition: border-color .2s; }
.card--link:hover { border-color: var(--amber-500); color: inherit; }
.card--link:hover .card__title { color: var(--amber-500); }
.card--link > p { margin-bottom: 16px; }
.card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; transition: color .15s; }
.card__title--lg { font-size: 1.5rem; margin-bottom: 24px; }
.card__kicker { font-size: .875rem; font-weight: 500; color: var(--amber-500) !important; margin-bottom: 8px !important; }
.num-box { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; margin-bottom: 16px; background: var(--navy-800); color: var(--amber-500); font-weight: 700; font-size: .875rem; flex-shrink: 0; }
.num-box--red { background: var(--red-50); color: var(--red); }

.checks { display: grid; gap: 12px; margin-bottom: 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--navy-900); }
.checks .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--blue-50); color: var(--amber-500); margin-top: 2px; }
.checks--small { gap: 8px; margin-bottom: 24px; }
.checks--small li { font-size: .875rem; color: var(--neutral-600); }
.checks--small .icon { padding: 0; background: none; width: 16px; height: 16px; margin-top: 3px; }
.checks--large li { font-size: 1.125rem; }
.checks--light li { color: #fff; }
.checks--light .icon { background: none; padding: 0; }

.benefit-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 6px; background: var(--blue-50); color: var(--navy-900); }
.benefit .icon { width: 24px; height: 24px; color: var(--amber-500); margin-top: 2px; }

/* ---- Page heroes & splits ----------------------------------------------- */
.page-hero { padding: 80px 0; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; margin-bottom: 24px; }
.page-hero--navy { background: var(--navy-900); }
.page-hero--navy h1 { color: #fff; }
.page-hero--navy .lead { color: var(--blue-100); margin-bottom: 32px; }
.page-hero--split .lead { margin-bottom: 32px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; margin-bottom: 32px; }
.split { display: grid; gap: 48px; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
  .sticky { position: sticky; top: 96px; }
}
.media-frame { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--neutral-100); border-radius: var(--radius); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--blue { background: var(--blue-50); border: 0; }
.media-frame--square { aspect-ratio: 1; display: grid; place-items: center; padding: 24px; }
.media-frame--square img { height: auto; object-fit: contain; }

.stats-band { padding: 48px 0; border-top: 1px solid var(--neutral-100); border-bottom: 1px solid var(--neutral-100); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats-row p { margin: 0; font-size: .875rem; color: var(--neutral-600); }
.stats-row .stats-row__value { font: 700 clamp(1.5rem, 4vw, 2.25rem)/1.2 var(--font-heading); color: var(--amber-500); margin-bottom: 4px; }
.stats-row--compact { margin-top: 48px; }
.stats-row--compact .stats-row__value { font-size: 1.5rem; }

/* ---- Tables -------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.versus { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.versus th, .versus td { padding: 20px; vertical-align: top; text-align: left; font-size: .875rem; }
.versus thead th { vertical-align: bottom; font: 700 1rem var(--font-heading); color: var(--neutral-800); width: 28%; }
.versus thead th small { display: block; margin-top: 4px; font: 400 .75rem var(--font-body); color: var(--neutral-400); }
.versus tbody th { padding-left: 16px; font-weight: 600; color: var(--navy-900); width: 16%; }
.versus td { color: var(--neutral-600); border-bottom: 1px solid var(--neutral-100); }
.versus td .icon { color: var(--neutral-400); margin-right: 10px; }
.versus td { display: table-cell; }
.versus td > span { display: inline; }
.versus .versus__us { background: var(--navy-900); color: #fff; border-bottom: 0; }
.versus thead .versus__us { font-size: 1.125rem; color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.versus thead .versus__us small { color: var(--blue-100); }
.versus tbody tr:last-child .versus__us { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.versus .versus__us .icon { color: var(--amber-500); }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--neutral-100); }
.compare th:first-child { padding-left: 0; width: 25%; color: var(--navy-900); }
.compare thead th { font-weight: 600; }
.compare .compare__us { color: var(--amber-500); }
.compare .compare__them { color: var(--neutral-400); }

/* ---- Workflow steps ------------------------------------------------------ */
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; margin-bottom: 24px; border-radius: 999px; background: rgba(217, 125, 31, .15); color: var(--amber-500); font-size: .875rem; font-weight: 600; }
.badge-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500); }
.rail-labels { display: none; justify-content: space-between; max-width: 1024px; margin: 0 auto 16px; padding: 0 6%; font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--amber-500); }
.rail-labels span:last-child { color: var(--green); }
.steps { position: relative; display: grid; gap: 48px; max-width: 1024px; margin: 0 auto; text-align: left; padding-left: 48px; }
.steps::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; border-left: 2px dashed var(--blue-500); }
.step { position: relative; }
.step h3 { font-family: var(--font-body); font-size: 1.125rem; }
.step p { color: var(--blue-100); font-size: .875rem; margin: 0; }
.step__num { position: absolute; left: -48px; top: -4px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-500); color: #fff; font-weight: 700; z-index: 1; }
.step__num--first { background: var(--amber-500); animation: pulse 2s ease-in-out infinite; }
@media (min-width: 768px) {
  .rail-labels { display: flex; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; text-align: center; }
  .steps::before { left: 12.5%; right: 12.5%; top: 32px; bottom: auto; border-left: 0; border-top: 2px dashed var(--blue-500); }
  .step__num { position: static; width: 64px; height: 64px; margin: 0 auto 24px; font-size: 1.25rem; }
}
@keyframes pulse { 50% { opacity: .75; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---- Before / after ------------------------------------------------------ */
.before-after { display: grid; gap: 24px; }
@media (min-width: 768px) { .before-after { grid-template-columns: 1fr 1fr; gap: 40px; } }
.ba { margin: 0; }
.ba__label { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--neutral-400); background: var(--neutral-50); border: 1px solid var(--neutral-100); }
.ba--after .ba__label { color: #fff; background: var(--amber-500); border-color: var(--amber-500); }
.ba__frame { padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--neutral-100); background: var(--neutral-50); }
.ba--after .ba__frame { background: var(--blue-50); border-color: rgba(217, 125, 31, .3); }
.ba__frame img { width: 100%; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ba figcaption { margin-top: 16px; font-size: .875rem; color: var(--neutral-600); }
@media (min-width: 768px) { .ba__frame { padding: 28px; } }

/* ---- Showcase (CSS-only tabs) ------------------------------------------- */
.showcase { display: grid; gap: 32px; }
@media (min-width: 1024px) { .showcase { grid-template-columns: 280px 1fr; } }
.showcase__radio { position: absolute; opacity: 0; pointer-events: none; }
.showcase__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.showcase__tab { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--neutral-100); cursor: pointer; white-space: nowrap; color: var(--neutral-400); }
.showcase__tab strong { display: block; font-size: .875rem; color: var(--neutral-800); }
.showcase__tab small { display: none; font-size: .75rem; color: var(--neutral-400); }
@media (min-width: 1024px) {
  .showcase__tabs { flex-direction: column; overflow: visible; align-self: start; position: sticky; top: 96px; }
  .showcase__tab { padding: 16px; gap: 16px; border: 0; border-left: 4px solid transparent; background: none; white-space: normal; }
  .showcase__tab:hover { background: rgba(255, 255, 255, .5); }
  .showcase__tab small { display: block; }
}
.showcase__panel { display: none; }
.showcase__image { display: grid; place-items: center; padding: 24px; margin-bottom: 32px; border-radius: var(--radius-lg); background: var(--blue-50); }
.showcase__image img { max-height: 400px; width: auto; }
@media (min-width: 768px) { .showcase__image { padding: 40px; } }
.showcase__highlights { display: grid; gap: 24px; }
@media (min-width: 640px) { .showcase__highlights { grid-template-columns: 1fr 1fr; } }
.showcase__highlights div { padding: 16px; border-radius: var(--radius); }
.showcase__highlights div:hover { background: #fff; }
.showcase__highlights h3 { font: 600 1rem var(--font-body); color: var(--neutral-800); margin-bottom: 4px; }
.showcase__highlights p { font-size: .875rem; color: var(--neutral-600); margin: 0; }
/* The n-th radio selects the n-th tab and panel (up to 6 modules). */
.showcase__radio:nth-of-type(1):checked ~ .showcase__panels > :nth-child(1),
.showcase__radio:nth-of-type(2):checked ~ .showcase__panels > :nth-child(2),
.showcase__radio:nth-of-type(3):checked ~ .showcase__panels > :nth-child(3),
.showcase__radio:nth-of-type(4):checked ~ .showcase__panels > :nth-child(4),
.showcase__radio:nth-of-type(5):checked ~ .showcase__panels > :nth-child(5),
.showcase__radio:nth-of-type(6):checked ~ .showcase__panels > :nth-child(6) { display: block; }
.showcase__radio:nth-of-type(1):checked ~ .showcase__tabs > :nth-child(1),
.showcase__radio:nth-of-type(2):checked ~ .showcase__tabs > :nth-child(2),
.showcase__radio:nth-of-type(3):checked ~ .showcase__tabs > :nth-child(3),
.showcase__radio:nth-of-type(4):checked ~ .showcase__tabs > :nth-child(4),
.showcase__radio:nth-of-type(5):checked ~ .showcase__tabs > :nth-child(5),
.showcase__radio:nth-of-type(6):checked ~ .showcase__tabs > :nth-child(6) {
  background: var(--amber-500); border-color: var(--amber-500); color: #fff;
}
.showcase__radio:nth-of-type(1):checked ~ .showcase__tabs > :nth-child(1) strong,
.showcase__radio:nth-of-type(2):checked ~ .showcase__tabs > :nth-child(2) strong,
.showcase__radio:nth-of-type(3):checked ~ .showcase__tabs > :nth-child(3) strong,
.showcase__radio:nth-of-type(4):checked ~ .showcase__tabs > :nth-child(4) strong,
.showcase__radio:nth-of-type(5):checked ~ .showcase__tabs > :nth-child(5) strong,
.showcase__radio:nth-of-type(6):checked ~ .showcase__tabs > :nth-child(6) strong { color: #fff; }
@media (min-width: 1024px) {
  .showcase__radio:nth-of-type(1):checked ~ .showcase__tabs > :nth-child(1),
  .showcase__radio:nth-of-type(2):checked ~ .showcase__tabs > :nth-child(2),
  .showcase__radio:nth-of-type(3):checked ~ .showcase__tabs > :nth-child(3),
  .showcase__radio:nth-of-type(4):checked ~ .showcase__tabs > :nth-child(4),
  .showcase__radio:nth-of-type(5):checked ~ .showcase__tabs > :nth-child(5),
  .showcase__radio:nth-of-type(6):checked ~ .showcase__tabs > :nth-child(6) {
    background: #fff; border-left-color: var(--amber-500); color: var(--amber-500); box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  }
  .showcase__radio:nth-of-type(n):checked ~ .showcase__tabs > .showcase__tab strong { color: var(--neutral-800); }
}
.showcase__radio:focus-visible ~ .showcase__tabs { outline: 2px solid var(--amber-500); outline-offset: 4px; border-radius: var(--radius); }

/* ---- Value props --------------------------------------------------------- */
.value-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .value-grid { grid-template-columns: 1fr 1fr; } .value--dark, .value--blue-tall { grid-row: span 2; } }
.value { padding: 32px; border-radius: var(--radius-lg); background: var(--blue-50); transition: box-shadow .2s; }
.value:hover { box-shadow: var(--shadow); }
.value h3 { font-family: var(--font-body); font-size: 1.25rem; color: var(--neutral-800); }
.value p { color: var(--neutral-600); margin: 0; }
.value__num { display: block; font: 700 3.75rem/1 var(--font-heading); color: rgba(148, 145, 141, .2); margin-bottom: 16px; }
.value__badge { display: inline-block; margin-top: 16px; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 500; background: rgba(15, 76, 129, .1); color: var(--blue-500); }
.value--amber { background: var(--amber-50); }
.value--dark { background: var(--navy-900); }
.value--dark h3 { color: #fff; }
.value--dark p { color: var(--blue-100); }
.value--dark .value__num { color: rgba(217, 125, 31, .3); }
.value--dark .value__badge { background: rgba(217, 125, 31, .2); color: var(--amber-500); }
.value--blue-tall .value__num { color: rgba(15, 76, 129, .2); }

/* ---- Ecosystem ----------------------------------------------------------- */
.ecosystem { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .ecosystem { grid-template-columns: 1fr 1fr; } }
.hub { position: relative; width: min(320px, 78vw); aspect-ratio: 1; margin: 24px auto; }
@media (min-width: 768px) { .hub { width: 384px; } }
.hub__ring { position: absolute; border-radius: 50%; }
.hub__ring--outer { inset: 0; border: 2px dashed var(--blue-100); }
.hub__ring--mid { inset: 15%; border: 2px solid rgba(15, 76, 129, .3); }
.hub__core { position: absolute; inset: 30%; z-index: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.2; box-shadow: var(--shadow); }
.hub__core .icon { width: 28px; height: 28px; color: var(--amber-500); margin: 0 auto 4px; }
.hub__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--neutral-100); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); font-size: .75rem; font-weight: 500; white-space: nowrap; }
.hub__chip--top { top: 0; left: 50%; transform: translate(-50%, -50%); } .hub__chip--top .icon { color: var(--green); }
.hub__chip--right { top: 50%; right: 0; transform: translate(50%, -50%); } .hub__chip--right .icon { color: var(--blue-500); }
.hub__chip--bottom { bottom: 0; left: 50%; transform: translate(-50%, 50%); } .hub__chip--bottom .icon { color: var(--amber-500); }
.hub__chip--left { top: 50%; left: 0; transform: translate(-50%, -50%); } .hub__chip--left .icon { color: var(--green); }
@media (max-width: 767px) { .hub__chip--right { transform: translate(25%, -50%); } .hub__chip--left { transform: translate(-25%, -50%); } }
.hub__dot { position: absolute; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, .12); }
.hub__dot .icon { width: 20px; height: 20px; }
.hub__dot--amber { background: var(--amber-500); top: 12%; left: 50%; transform: translate(-50%, -50%); }
.hub__dot--blue { background: var(--blue-500); bottom: 18%; left: 14%; transform: translate(-50%, 50%); }
.hub__dot--green { background: var(--green); bottom: 18%; right: 14%; transform: translate(50%, 50%); }
.integrations { display: grid; gap: 24px; }
.integrations li { display: flex; gap: 16px; }
.integrations__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius); background: rgba(15, 76, 129, .1); color: var(--blue-500); transition: background .15s, color .15s; }
.integrations li:hover .integrations__icon { background: var(--blue-500); color: #fff; }
.integrations h3 { font: 600 1rem var(--font-body); color: var(--neutral-800); margin-bottom: 4px; }
.integrations p { font-size: .875rem; color: var(--neutral-600); margin: 0; }

/* ---- Final CTA (diagonal split) ----------------------------------------- */
.final-cta { position: relative; overflow: hidden; padding: 80px 0; background: linear-gradient(180deg, var(--navy-900) 50%, var(--amber-500) 50%); }
@media (min-width: 768px) {
  .final-cta { background: var(--navy-900); }
  .final-cta::before { content: ""; position: absolute; inset: 0; background: var(--amber-500); clip-path: polygon(55% 0, 100% 0, 100% 100%, 40% 100%); }
}
.final-cta__grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .final-cta__grid { grid-template-columns: 1fr 1fr; } }
.final-cta h2 { color: #fff; font-size: clamp(1.875rem, 4.5vw, 3rem); margin-bottom: 24px; }
.final-cta p { color: var(--blue-100); font-size: 1.125rem; margin-bottom: 32px; }
.final-cta__card { width: 100%; max-width: 28rem; margin: 0 auto; padding: 32px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 25px 50px rgba(0, 0, 0, .25); }
@media (min-width: 1024px) { .final-cta__card { margin-right: 0; } }
.final-cta__card h3 { font: 700 1.25rem var(--font-body); color: var(--neutral-800); margin-bottom: 24px; }
.final-cta__secondary { display: block; margin-top: 16px; text-align: center; font-size: .875rem; font-weight: 500; color: var(--blue-500); }

/* ---- CTA band, prev/next ------------------------------------------------- */
.cta-band { padding: 80px 0; background: var(--navy-900); }
.cta-band h2 { color: #fff; font-size: clamp(1.875rem, 4vw, 2.25rem); margin-bottom: 24px; }
.cta-band p { color: var(--neutral-400); font-size: 1.125rem; margin-bottom: 32px; }
.prev-next { display: flex; justify-content: space-between; gap: 16px; padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--neutral-100); }
.prev-next a { display: flex; align-items: center; gap: 12px; color: var(--neutral-600); font-weight: 600; }
.prev-next a:hover { color: var(--amber-500); }
.prev-next small { display: block; font-size: .875rem; font-weight: 400; color: var(--neutral-400); }
.prev-next__next { text-align: right; margin-left: auto; }
.prev-next .icon { width: 20px; height: 20px; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq { display: grid; gap: 16px; }
.faq__item { border-radius: 6px; background: var(--blue-50); }
.faq__item summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy-900); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--neutral-400); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 24px 24px; margin: 0; color: var(--neutral-600); }
.faq-filter > input { position: absolute; opacity: 0; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; }
.chips label { padding: 8px 16px; border-radius: 6px; background: var(--blue-50); color: var(--neutral-600); font-size: .875rem; font-weight: 500; cursor: pointer; }
.chips label:hover { background: var(--neutral-100); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group__title { font-size: 1.25rem; margin-bottom: 16px; }
/* First radio is "All"; radio n+1 shows only group n (up to 6 categories). */
.faq-filter > input:nth-of-type(1):checked ~ .chips > :nth-child(1),
.faq-filter > input:nth-of-type(2):checked ~ .chips > :nth-child(2),
.faq-filter > input:nth-of-type(3):checked ~ .chips > :nth-child(3),
.faq-filter > input:nth-of-type(4):checked ~ .chips > :nth-child(4),
.faq-filter > input:nth-of-type(5):checked ~ .chips > :nth-child(5),
.faq-filter > input:nth-of-type(6):checked ~ .chips > :nth-child(6),
.faq-filter > input:nth-of-type(7):checked ~ .chips > :nth-child(7) { background: var(--navy-900); color: #fff; }
.faq-filter > input:nth-of-type(2):checked ~ .faq-groups > :not(:nth-child(1)),
.faq-filter > input:nth-of-type(3):checked ~ .faq-groups > :not(:nth-child(2)),
.faq-filter > input:nth-of-type(4):checked ~ .faq-groups > :not(:nth-child(3)),
.faq-filter > input:nth-of-type(5):checked ~ .faq-groups > :not(:nth-child(4)),
.faq-filter > input:nth-of-type(6):checked ~ .faq-groups > :not(:nth-child(5)),
.faq-filter > input:nth-of-type(7):checked ~ .faq-groups > :not(:nth-child(6)) { display: none; }
.faq-filter > input:focus-visible ~ .chips { outline: 2px solid var(--amber-500); outline-offset: 4px; border-radius: var(--radius); }

/* ---- Use-case timeline --------------------------------------------------- */
.timeline { display: grid; gap: 32px; max-width: 48rem; margin: 0 auto; }
.timeline li { position: relative; display: flex; gap: 24px; align-items: flex-start; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: -32px; width: 2px; background: var(--neutral-100); }
.timeline__num { position: relative; z-index: 1; display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--amber-500); color: #fff; font-weight: 700; }
.timeline .card { flex: 1; padding: 24px; }

/* ---- Case study ---------------------------------------------------------- */
.case-study { margin: 0; padding: 32px; border: 1px solid var(--neutral-100); border-radius: var(--radius); background: #fff; }
@media (min-width: 768px) { .case-study { padding: 48px; } }
.case-study__mark { width: 48px; height: 48px; color: var(--neutral-100); margin-bottom: 24px; }
.case-study blockquote { margin: 0 0 32px; font-size: clamp(1.25rem, 2.5vw, 1.5rem); line-height: 1.5; color: var(--navy-900); }
.case-study figcaption { display: flex; align-items: center; gap: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--neutral-100); }
.case-study figcaption small { display: block; font-size: .875rem; color: var(--neutral-400); }
.case-study figcaption strong { color: var(--navy-900); }
.case-study .stats-row { margin-top: 32px; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 600; }

/* ---- Demo form ----------------------------------------------------------- */
.demo-benefits { display: grid; gap: 24px; }
.demo-benefits li { display: flex; gap: 16px; align-items: flex-start; }
.demo-benefits strong { display: block; font-family: var(--font-heading); color: var(--navy-900); }
.demo-benefits small { display: block; font-size: .875rem; color: var(--neutral-600); }
.trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; background: var(--blue-50); font-size: .875rem; color: var(--navy-900); }
.trust .icon { color: var(--amber-500); }
.form { display: grid; gap: 24px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--navy-900); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--neutral-100); border-radius: 6px;
  font: 400 1rem var(--font-body); color: var(--neutral-800); background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber-500); box-shadow: 0 0 0 3px rgba(217, 125, 31, .2); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; text-align: center; font-size: .875rem; color: var(--neutral-600); }
.form__status.is-error { color: var(--red); }
.form__note { margin: 0; text-align: center; font-size: .875rem; color: var(--neutral-400); }

/* ---- Thank-you / 404 ----------------------------------------------------- */
.thanks { min-height: 70vh; display: flex; align-items: center; }
.thanks h1 { font-size: clamp(1.875rem, 4vw, 2.25rem); }
.thanks__icon { display: inline-grid; place-items: center; width: 80px; height: 80px; margin-bottom: 32px; border-radius: 50%; background: var(--blue-50); color: var(--amber-500); }
.thanks__icon .icon { width: 40px; height: 40px; }
.thanks__next { margin: 0 auto 32px; max-width: 32rem; padding: 24px; border-radius: 6px; background: var(--blue-50); }
.thanks__next h2 { font-size: 1rem; margin-bottom: 8px; }
.thanks__next ol { list-style: decimal inside; font-size: .875rem; color: var(--neutral-600); display: grid; gap: 8px; }
.faq-heading { margin-bottom: 48px; }

/* ---- Testimonials ------------------------------------------------------- */
.quote-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .quote-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.quote-card { display: flex; flex-direction: column; margin: 0; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--neutral-100); }
.quote-card__mark { width: 36px; height: 36px; color: var(--amber-500); opacity: .35; margin-bottom: 16px; }
.quote-card blockquote { margin: 0 0 24px; flex: 1; font-size: 1.0625rem; line-height: 1.6; color: var(--navy-900); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote-card figcaption small { display: block; font-size: .875rem; color: var(--neutral-400); }
.quote-card figcaption strong { color: var(--navy-900); }
.quote-card__link { margin-top: 16px; font-size: .875rem; }
.case-study__link { margin: 24px 0 0; }

/* ---- Articles ------------------------------------------------------------- */
.article-card { display: flex; flex-direction: column; }
.article-card > p:not(.card__kicker) { flex: 1; }
.article-hero h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
.article-meta { color: var(--neutral-400); font-size: .9375rem; margin: 0; }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--neutral-800); }
.prose h2 { font-size: 1.75rem; margin: 48px 0 16px; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--amber-500); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--navy-900); }
.prose blockquote { padding: 20px 24px; border-left: 4px solid var(--amber-500); border-radius: 0 var(--radius) var(--radius) 0; background: var(--blue-50); color: var(--navy-900); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; height: 1px; background: var(--neutral-100); margin: 40px 0; }
.prose code { padding: 2px 6px; border-radius: 4px; background: var(--neutral-50); font-size: .9em; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; font-size: .9375rem; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--neutral-100); text-align: left; vertical-align: top; }
.prose thead th { background: var(--neutral-50); color: var(--navy-900); }
.prose thead th:empty { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tags li { padding: 4px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-500); font-size: .8125rem; font-weight: 500; }
.avatar .icon { width: 22px; height: 22px; }
.article-cover { width: 100%; height: auto; margin-top: 32px; border-radius: var(--radius-lg); }
.article-card { padding-top: 0; overflow: hidden; }
.article-card .card__kicker { margin-top: 24px !important; }
.article-card__image { width: calc(100% + 64px); max-width: none; margin: 0 -32px; aspect-ratio: 1200 / 630; object-fit: cover; border-bottom: 1px solid var(--neutral-100); }
.prose img { width: 100%; height: auto; margin: 32px 0; border-radius: var(--radius-lg); }
.prose p:has(> img:only-child) { margin: 0; }
/* Diagrams keep a readable size on phones and scroll sideways inside the article. */
@media (max-width: 767px) {
  .prose p:has(> img:only-child) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose p > img:only-child { min-width: 720px; }
}
