/* ── BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 120ms; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--color-green-500); outline-offset: 2px; }

.font-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-transform: uppercase; }
.period { color: var(--color-green-500); }
.muted { color: var(--fg-muted); }
.visually-hidden {
  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: var(--gutter); top: -100px; z-index: 100;
  padding: 10px 14px; background: var(--color-green-500); color: #fff; border-radius: var(--radius-md);
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── TYPE ROLES ───────────────────────────────────────────────────── */
.h1 { font-size: 40px; line-height: 1.04; }
.h2 { font-size: 36px; line-height: 1.05; }
.h3 { font-size: 24px; line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.625; color: var(--fg-muted); }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-green-500); }
.eyebrow--muted { color: var(--fg-muted); }
.micro { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.footnote { font-size: 12px; color: var(--fg-muted); margin-top: 16px; }
.wordmark {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.05em; text-transform: lowercase;
  font-size: 22px; line-height: 1; display: inline-flex; align-items: baseline;
}
.lockup { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.05em; text-transform: lowercase; }
.lockup .product { color: var(--accent, var(--fg)); }

@media (min-width: 768px) {
  .h1 { font-size: 60px; }
  .h2 { font-size: 48px; }
  .h3 { font-size: 28px; }
  .lead { font-size: 20px; }
}
@media (min-width: 1024px) {
  .h2 { font-size: 60px; }
  .h3 { font-size: 30px; }
}
@media (min-width: 1200px) {
  .h1 { font-size: 72px; }
}

/* ── BUTTONS ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 20px; font-size: 14px; font-weight: 500; white-space: nowrap;
  border-radius: var(--radius-md); border: 1px solid transparent;
  transition: background-color 120ms, color 120ms, border-color 120ms;
}
.btn--lg { height: 48px; padding: 0 24px; font-size: 16px; }
.btn--primary { background: var(--color-green-500); color: #fff; }
.btn--primary:hover { background: var(--color-green-700); }
.btn--secondary { border-color: var(--line-color); }
.btn--secondary:hover { background: var(--line-color-soft); }
.btn--ghost:hover { color: var(--color-green-500); background: var(--line-color-soft); }
.btn--on-green { background: #fff; color: var(--color-green-700); }
.btn--on-green:hover { background: rgba(255, 255, 255, 0.9); }
.btn--outline-white { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, 0.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn-note { font-size: 13px; color: var(--fg-muted); margin-top: 12px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md); transition: background-color 120ms, color 120ms;
}
.icon-btn:hover { background: var(--line-color-soft); color: var(--color-green-500); }
.icon-btn svg { width: 20px; height: 20px; }

/* ── PILLS ────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-full); border: 1px solid var(--line-color); background: var(--line-color-soft);
}
.pill--accent { background: color-mix(in srgb, var(--accent) 6%, transparent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--accent); }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--color-green-500); flex: none; }
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--color-green-500);
  animation: ping 1.6s var(--ease-brand) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

/* ── HEADER ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line-color);
  transition: background-color 120ms;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 85%, transparent); }
/* blur lives on a pseudo-element: backdrop-filter on the header itself would become the
   containing block for the fixed mobile sheet and clip it to 64px. */
.site-header.is-scrolled::before { content: ""; position: absolute; inset: 0; z-index: -1; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.header__end { display: flex; align-items: center; gap: 4px; }

.nav { display: flex; align-items: center; flex: 1; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  font-size: 14px; white-space: nowrap; border-radius: var(--radius-md); transition: color 120ms, background-color 120ms;
}
@media (min-width: 1024px) and (max-width: 1199px) { .nav__link { padding: 0 9px; } }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--color-green-500); }
.nav__link svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-brand); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; width: 700px;
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg);
  padding: 8px; box-shadow: var(--mock-shadow); display: none;
}
.menu[data-open="true"] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.menu__item { display: block; padding: 9px 12px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; transition: background-color 120ms, color 120ms; }
.menu__item:hover { background: var(--line-color-soft); color: var(--color-green-500); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .header__cta-desktop { display: none; }
  .nav {
    display: none; position: fixed; inset: 0; top: var(--sheet-top, 64px); z-index: 40;
    background: var(--bg); overflow-y: auto; padding: 16px var(--gutter) 40px;
    flex-direction: column; align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav__item { border-bottom: 1px solid var(--line-color); }
  .nav__link { width: 100%; height: 52px; padding: 0 4px; font-size: 17px; justify-content: space-between; border-radius: 0; }
  .menu { position: static; width: auto; border: 0; box-shadow: none; background: transparent; padding: 0 0 12px; }
  .menu[data-open="true"] { grid-template-columns: 1fr; }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .nav__cta .btn { height: 48px; }
}
body.nav-locked { overflow: hidden; }

/* ── SECTIONS ─────────────────────────────────────────────────────── */
.section { padding: 80px 0; border-top: 1px solid var(--line-color); }
.section--tint { background: color-mix(in srgb, var(--line-color-soft) 40%, transparent); }
.section__head { text-align: center; max-width: 42rem; margin: 0 auto 48px; }
.section__head .eyebrow { display: block; margin-bottom: 16px; }
.section__head .lead { margin-top: 20px; }
@media (min-width: 1024px) {
  .section { padding: 112px 0; }
  .section__head .eyebrow { margin-bottom: 24px; }
  .section__head .lead { margin-top: 28px; }
}

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 80px; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero .eyebrow { display: block; margin-bottom: 16px; }
.hero .lead { margin-top: 20px; max-width: 34rem; }
.hero__h1 > span { display: block; }
.trust-strip { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-color); }
@media (min-width: 1024px) {
  .hero { padding: 96px 0 112px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero .lead { margin-top: 28px; }
}

/* ── PROOF MOCK ───────────────────────────────────────────────────── */
.mock {
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg);
  box-shadow: var(--mock-shadow); cursor: default; overflow: hidden;
  font-size: 13px;
}
.mock--accent { border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.mock__chrome {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-color);
}
.mock__chrome .micro { font-size: 9px; color: var(--fg); }
.mock__chrome .micro.muted { color: var(--fg-muted); }
.mock__body { padding: 20px; }
.mock__headline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.mock__number { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.mock__rows { margin-top: 20px; display: grid; gap: 10px; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-color-soft); }
.mock__row .micro { font-size: 9px; }
.mock__val { font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.mock__val--good { color: var(--color-green-500); }
.mock__val--bad { color: var(--color-danger); }
.mock__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: color-mix(in srgb, var(--accent, var(--color-green-500)) 6%, transparent);
  border-top: 1px solid var(--line-color); font-size: 12px;
}
.mock__chips { display: flex; gap: 6px; }
.chip {
  font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: var(--radius-full);
  background: var(--surface); border: 1px solid var(--line-color);
}
.chip--solid { background: var(--accent, var(--color-green-500)); color: #fff; border-color: transparent; }
.mock-note { font-size: 12px; color: var(--fg-muted); margin-top: 12px; }

/* bar chart inside mock — heights come from --v (0–100) */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; margin-top: 20px; }
.bars span { flex: 1; height: calc(var(--v) * 1%); background: color-mix(in srgb, var(--accent, var(--color-green-500)) 30%, transparent); border-radius: var(--radius-xs) var(--radius-xs) 0 0; }
.bars span.is-now { background: var(--accent, var(--color-green-500)); }

/* trace list (agents mock) */
.trace { display: grid; gap: 8px; margin-top: 16px; }
.trace__step { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line-color-soft); border-radius: var(--radius-md); }
.trace__step.is-active { border-color: color-mix(in srgb, var(--accent) 30%, transparent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.trace__tick { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--color-green-500); color: #fff; }
.trace__tick svg { width: 10px; height: 10px; }
.trace__tick--pending { background: transparent; border: 1.5px solid var(--accent); }
.trace__label { font-size: 13px; }
.trace__label small { display: block; font-size: 11px; color: var(--fg-muted); }

/* retrieval list (rag mock) */
.query { font-family: var(--font-mono); font-size: 12px; padding: 10px 12px; border: 1px solid var(--line-color); border-radius: var(--radius-md); background: var(--bg); }
.hits { display: grid; gap: 6px; margin-top: 12px; }
.hit { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; font-size: 12px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--line-color-soft); }
.hit .score { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.answer { margin-top: 12px; padding: 12px; border-left: 2px solid var(--accent); font-size: 13px; line-height: 1.55; }
.cite { font-family: var(--font-mono); font-size: 10px; color: var(--accent); }

/* eval table (models mock) */
.eval { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 12px; }
.eval th { text-align: left; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); font-weight: 400; padding: 6px 0; border-bottom: 1px solid var(--line-color); }
.eval td { padding: 8px 0; border-bottom: 1px solid var(--line-color-soft); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.eval td:first-child { font-family: var(--font-body); }
.eval .delta { color: var(--color-green-500); }

/* ── LOGO MARQUEE ─────────────────────────────────────────────────── */
.marquee { border-top: 1px solid var(--line-color); border-bottom: 1px solid var(--line-color); background: color-mix(in srgb, var(--line-color-soft) 60%, transparent); padding: 24px 0; overflow: hidden; }
.marquee__track {
  display: flex; width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__list { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none; }
.marquee__item { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.marquee__item img { width: 28px; height: 28px; filter: grayscale(1); opacity: 0.7; transition: filter 200ms var(--ease-brand), opacity 200ms var(--ease-brand); }
.marquee__item:hover img { filter: none; opacity: 1; }
.js .marquee__track.is-looping { animation: marquee 45s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .marquee__list { gap: 36px; padding-right: 36px; } }

/* ── STATS ────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.stat .micro { display: block; margin-top: 10px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .stat__num { font-size: 72px; } }

/* ── SPLIT COPY / MOCK ────────────────────────────────────────────── */
.split { display: grid; gap: 48px; align-items: center; }
.split + .split { margin-top: 80px; }
.split__copy .lockup { font-size: 20px; }
.split__copy .h3 { margin-top: 16px; }
.split__copy .lead { margin-top: 16px; font-size: 17px; }
.split__list { margin-top: 24px; display: grid; gap: 10px; }
.split__list li { display: flex; gap: 10px; font-size: 15px; }
.split__list svg { width: 18px; height: 18px; color: var(--color-green-500); flex: none; margin-top: 3px; }
.split__link { display: inline-flex; margin-top: 24px; font-weight: 500; font-size: 14px; }
.split__link:hover { color: var(--color-green-500); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split + .split { margin-top: 112px; }
  .split--flip .split__copy { order: 2; }
}

/* capability strips */
.strips { margin-top: 64px; display: grid; gap: 12px; }
.strip { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 20px; background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-md); transition: border-color 200ms var(--ease-brand); }
.strip:hover { border-color: var(--color-green-500); }
.strip__icon { width: 40px; height: 40px; border-radius: var(--radius-md); display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.strip__icon svg { width: 20px; height: 20px; }
.strip__title { font-weight: 600; font-size: 15px; }
.strip__desc { font-size: 14px; color: var(--fg-muted); margin-top: 4px; }
@media (min-width: 768px) { .strips { grid-template-columns: repeat(3, 1fr); } }
.strips--flush { margin-top: 0; }

/* ── INDUSTRIES ───────────────────────────────────────────────────── */
.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.industry .h3 { font-size: 20px; margin-top: 16px; }
.industry p { font-size: 14px; flex: 1; }
.industry .micro { display: block; margin: 16px 0 0; }
.industry .h3 + p { margin-top: 10px; }
.industry .btn { margin-top: 20px; align-self: flex-start; }
.industry .micro:first-child { margin: 0 0 14px; }

/* ── STEPS ────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 32px; max-width: 64rem; margin: 0 auto; }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: -0.025em; color: var(--line-color); }
.step .h3 { margin-top: 12px; font-size: 22px; }
.step p { margin-top: 10px; color: var(--fg-muted); font-size: 15px; }
.step .micro { display: block; margin-top: 14px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px 48px; } }

/* ── BEFORE / AFTER + PILLARS ─────────────────────────────────────── */
.compare { display: grid; gap: 16px; max-width: 64rem; margin: 0 auto; }
.compare__col { background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg); padding: 24px; }
.compare__col--after { border-color: var(--color-green-500); border-width: 2px; background: var(--featured); }
.compare__col .micro { display: block; margin-bottom: 16px; }
.compare__col li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-color-soft); font-size: 15px; }
.compare__col svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.compare__col--before svg { color: var(--color-danger); }
.compare__col--after svg { color: var(--color-green-500); }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; } }

.pillars { display: grid; gap: 32px; margin-top: 64px; max-width: 64rem; margin-left: auto; margin-right: auto; }
.pillar__icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-color); color: var(--color-green-500); }
.pillar__icon svg { width: 22px; height: 22px; }
.pillar .h3 { margin-top: 16px; font-size: 22px; }
.pillar p { margin-top: 10px; color: var(--fg-muted); font-size: 15px; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 80px; } }

/* ── TRUST GRID ───────────────────────────────────────────────────── */
.trust { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.card--link { border-radius: var(--radius-md); padding: 28px; transition: border-color 200ms var(--ease-brand); }
.card--link:hover { border-color: var(--color-green-500); }
.card .micro { display: block; margin-bottom: 14px; font-size: 10px; color: var(--fg-muted); }
.card .h3 { font-size: 22px; }
.card p { margin-top: 10px; color: var(--fg-muted); font-size: 15px; }
.card__list { margin-top: 16px; display: grid; gap: 8px; }
.card__list li { display: flex; gap: 10px; font-size: 14px; }
.card__list svg { width: 16px; height: 16px; color: var(--color-green-500); flex: none; margin-top: 3px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.stack .pill { background: var(--bg); }
.card--featured { border: 2px solid var(--color-green-500); background: var(--featured); }
.card--placeholder { border-style: dashed; justify-content: center; text-align: center; }
.card--placeholder .split__link { margin: 16px auto 0; }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(3, 1fr); } }

/* ── ENGAGEMENTS (PRICING TEASER) ─────────────────────────────────── */
.tiers { display: grid; gap: 16px; max-width: 64rem; margin: 0 auto; }
.tier { position: relative; }
.tier__badge { position: absolute; top: -12px; left: 24px; background: var(--color-green-500); color: #fff; border-color: transparent; }
.card .tier__price { color: var(--fg); font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.025em; margin-top: 8px; }
.tier__price small { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--fg-muted); letter-spacing: -0.01em; }
.tier .btn { margin-top: 24px; width: 100%; }
.tier .card__list { flex: 1; }
@media (min-width: 768px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

/* ── BREADCRUMBS ──────────────────────────────────────────────────── */
.crumbs { margin-bottom: 24px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "·"; margin-right: 8px; }
.crumbs a:hover { color: var(--color-green-500); }
.crumbs [aria-current] { color: var(--fg); }

/* split used as a section intro (h2 on the left, card on the right) */
.split__copy .eyebrow { display: block; margin-bottom: 16px; }
.split__copy .h2 + .lead { margin-top: 20px; }

/* ── SERVICE PAGE · HERO EXTRAS ───────────────────────────────────── */
.hero--glow { position: relative; isolation: isolate; overflow: hidden; }
.hero--glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at 90% 0%, rgba(0, 166, 83, 0.10), transparent 60%),
              radial-gradient(700px 500px at 0% 100%, rgba(0, 166, 83, 0.05), transparent 65%);
}
.svc-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-color); }
.svc-legend a {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-full); transition: border-color 120ms;
}
.svc-legend a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.svc-legend a:hover { border-color: var(--accent); }

.mock-stage { position: relative; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; white-space: nowrap;
  font-size: 12px; font-weight: 500; background: var(--surface); border: 1px solid var(--line-color);
  border-radius: var(--radius-full); box-shadow: 0 10px 30px -10px rgba(10, 15, 12, 0.3);
}
.float-chip--tl { top: -14px; left: -12px; }
.float-chip--br { bottom: -14px; right: -12px; font-family: var(--font-mono); font-size: 11px; }
@media (max-width: 767px) { .float-chip--tl { left: 8px; } .float-chip--br { right: 8px; } }

/* progress meter, filled to --v (0–100) in the surface accent */
.meter { position: relative; height: 6px; border-radius: var(--radius-full); background: var(--line-color-soft); overflow: hidden; }
.meter::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); background: var(--accent, var(--color-green-500)); border-radius: inherit; }

.board { display: grid; gap: 8px; margin-top: 20px; }
.board__row {
  display: grid; grid-template-columns: 10px 1fr 72px auto; gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--line-color-soft); border-radius: var(--radius-md); font-size: 13px; font-weight: 500;
}
.board__row small { display: block; font-size: 11px; font-weight: 400; color: var(--fg-muted); }
.board__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@media (max-width: 479px) { .board__row { grid-template-columns: 10px 1fr auto; } .board__row .meter { display: none; } }

/* ── ON-THIS-PAGE NAV ─────────────────────────────────────────────── */
.subnav {
  position: sticky; top: 64px; z-index: 30; border-top: 1px solid var(--line-color); border-bottom: 1px solid var(--line-color);
  background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.subnav + .section { border-top: 0; }
.subnav__inner { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link {
  flex: none; display: inline-flex; align-items: center; height: 48px; padding: 0 12px; font-size: 13px; font-weight: 500;
  color: var(--fg-muted); box-shadow: inset 0 -2px 0 transparent; transition: color 120ms, box-shadow 200ms var(--ease-brand);
}
.subnav__link:hover { color: var(--fg); }
.subnav__link[aria-current] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--color-green-500); }
html:has(.subnav) { scroll-padding-top: 120px; }

/* ── SYSTEM DIAGRAM ───────────────────────────────────────────────── */
.flow { margin: 0; display: grid; gap: 12px; padding: 24px; background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg); }
.flow__col { display: grid; gap: 8px; align-content: center; }
.flow__col > .micro { text-align: center; margin-bottom: 4px; }
.flow__node {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 13px; font-weight: 500;
  background: var(--bg); border: 1px solid var(--line-color); border-radius: var(--radius-md);
}
.flow__node svg { width: 16px; height: 16px; color: var(--fg-muted); flex: none; }
.flow__node--core { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.flow__core { position: relative; display: grid; gap: 8px; padding: 26px 10px 10px; border: 1.5px dashed var(--color-green-500); border-radius: var(--radius-lg); background: var(--featured); }
.flow__ring { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 0 8px; background: var(--surface); color: var(--color-green-700); white-space: nowrap; }
.flow__link { display: grid; place-items: center; color: var(--color-green-500); }
.flow__link svg { width: 22px; height: 22px; transform: rotate(90deg); }
@media (min-width: 640px) {
  .flow { grid-template-columns: 1fr 22px 1.15fr 22px 1fr; align-items: center; gap: 8px; }
  .flow__link svg { transform: none; }
}

/* ── SERVICE TABS ─────────────────────────────────────────────────── */
.svc-tabs__list { display: none; }
.js .svc-tabs__list {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 16px; padding: 2px var(--gutter);
}
.svc-tabs__list::-webkit-scrollbar { display: none; }
.svc-tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; white-space: nowrap;
  font-size: 14px; font-weight: 500; background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-full);
  transition: border-color 120ms, background-color 120ms;
}
.svc-tab:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line-color)); }
.svc-tab[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.svc-tab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
@media (min-width: 1024px) { .js .svc-tabs__list { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0 0 24px; padding: 0; } }

.svc-tabs__panels { display: grid; gap: 16px; }
.js .svc-panel:not(.is-active) { display: none; }
.svc-panel {
  display: grid; gap: 32px; padding: 24px; background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line-color)); border-top: 4px solid var(--accent);
}
.svc-panel__copy > .micro { display: block; }
.svc-panel .h3 { margin-top: 12px; }
.svc-panel__desc { margin-top: 12px; color: var(--fg-muted); }
.svc-panel .card__list { margin-top: 20px; }
.svc-panel .card__list svg { color: var(--accent); }
.svc-panel__outcome {
  margin-top: 24px; padding: 16px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 6%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.svc-panel__outcome .micro { display: block; margin-bottom: 6px; }
.svc-panel__outcome p { font-size: 15px; font-weight: 500; }
.svc-panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; }
.svc-panel__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-panel__foot .split__link { margin-top: 0; }
.svc-panel__visual { align-self: center; min-width: 0; }
@media (min-width: 1024px) { .svc-panel { grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px; } }

.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 24px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg);
}
.callout p { font-size: 15px; color: var(--fg-muted); max-width: 44rem; }
.callout strong { color: var(--fg); font-weight: 600; }

/* in-mock graphics used by the service panels */
.rank { display: grid; gap: 12px; }
.rank__row { display: grid; grid-template-columns: 120px 1fr 32px; gap: 12px; align-items: center; font-size: 12px; }
.rank__row.is-out { color: var(--fg-muted); }
.rank__row.is-out .meter::after { opacity: 0.35; }

.vis { width: 100%; height: auto; margin-bottom: 8px; }
.vis__belt { fill: var(--line-color-soft); }
.vis__rail { stroke: var(--line-color); stroke-width: 2; stroke-dasharray: 6 6; }
.vis__part { fill: var(--surface); stroke: var(--color-ink-3); stroke-width: 1.5; }
.vis__hole { fill: var(--line-color-soft); stroke: var(--color-ink-3); stroke-width: 1.5; }
.vis__flaw { stroke: var(--color-danger); stroke-width: 2.5; stroke-linecap: round; }
.vis__box { fill: none; stroke: var(--accent); stroke-width: 2; }
.vis__tag { fill: var(--accent); }
.vis__box--bad { stroke: var(--color-danger); }
.vis__tag--bad { fill: var(--color-danger); }
.vis__label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.06em; fill: #fff; }

.pipe { display: grid; grid-template-columns: 1fr 18px 1fr 18px 1fr; align-items: center; gap: 6px; }
.pipe__node {
  display: grid; gap: 4px; padding: 10px 8px; font-size: 12px; font-weight: 500; text-align: center;
  background: var(--bg); border: 1px solid var(--line-color); border-radius: var(--radius-md);
}
.pipe__node .micro { font-size: 9px; }
.pipe__node--ai { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.pipe__link { display: grid; place-items: center; color: var(--accent); }
.pipe__link svg { width: 18px; height: 18px; }
@media (max-width: 479px) {
  .pipe { grid-template-columns: 1fr; }
  .pipe__link svg { transform: rotate(90deg); }
}

/* ── SOLUTIONS BENTO ──────────────────────────────────────────────── */
.bento { display: grid; gap: 16px; }
.bento__tile { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg); }
.bento__tile .h3 { font-size: 20px; margin-top: 16px; }
.bento__tile > p, .bento__copy > p { margin-top: 8px; font-size: 14px; color: var(--fg-muted); }
.bento__tile > p { flex: 1; }
.bento__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.bento__tile--feature {
  gap: 24px; border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface) 60%);
}
.bento__tile--feature .h3 { font-size: 26px; }
.bento__copy > p { font-size: 15px; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__tile--feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__tile--feature { grid-row: span 2; display: flex; align-items: stretch; }
}

.chat { display: grid; gap: 10px; margin-top: auto; padding: 16px; background: var(--bg); border: 1px solid var(--line-color); border-radius: var(--radius-md); }
.chat__msg { max-width: 88%; padding: 10px 14px; font-size: 13px; line-height: 1.5; border-radius: var(--radius-lg); }
.chat__msg--user { justify-self: end; background: var(--color-ink); color: #fff; border-bottom-right-radius: var(--radius-sm); }
.chat__msg--bot { justify-self: start; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-bottom-left-radius: var(--radius-sm); }
.chat__src { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.chat__meta { display: flex; align-items: center; gap: 8px; }

/* ── WHY (ink band) ───────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.why .eyebrow { display: block; margin-bottom: 16px; }
.why .lead { margin-top: 20px; }
.reasons { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-color-soft); }
.reason { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line-color-soft); }
.reason__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--color-green-500); padding-top: 5px; }
.reason h3 { font-size: 20px; line-height: 1.2; }
.reason p { margin-top: 6px; font-size: 15px; color: var(--fg-muted); }
.theme-ink .mock, .theme-ink .card { border-color: var(--line-color-soft); }
.why__visual .card--placeholder { margin-top: 24px; }
@media (min-width: 1024px) {
  .why { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
  .why__visual { position: sticky; top: 140px; }
}

.gate { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.gate__step {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; white-space: nowrap;
  font-size: 12px; font-weight: 500; border: 1px solid var(--line-color-soft); border-radius: var(--radius-full);
}
@media (max-width: 419px) {
  .gate { gap: 4px; }
  .gate__step { padding: 5px 7px; gap: 4px; font-size: 11px; }
  .gate .trace__tick { display: none; }
}
.gate__line { flex: 1; min-width: 10px; height: 2px; background: var(--color-green-500); }
.gate__line--bad { background: repeating-linear-gradient(90deg, var(--color-danger) 0 6px, transparent 6px 10px); }
.gate__step--bad { border-color: var(--color-danger); color: var(--color-danger); }
.gate__x { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--color-danger); color: #fff; font-size: 13px; line-height: 1; }

.gate__step--now { border-color: var(--color-green-500); }
.gate + .mock__headline { margin-top: 20px; }
.gate__line--next { background: repeating-linear-gradient(90deg, var(--color-green-500) 0 6px, transparent 6px 10px); }

/* ── STAGE LADDER (PoC → production) ──────────────────────────────── */
.ladder { display: grid; gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.ladder__rise { display: flex; align-items: flex-end; border-bottom: 2px solid var(--line-color); }
.ladder__bar {
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 14px 16px;
  width: calc(55% + var(--h) * 15%); min-height: 64px; border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--stage); color: var(--stage-fg, #fff);
}
.ladder__bar .micro { color: inherit; opacity: 0.8; }
.ladder__name { font-size: 22px; line-height: 1; }
.ladder__step:nth-child(1) { --stage: var(--color-green-50); --stage-fg: var(--color-green-700); }
.ladder__step:nth-child(2) { --stage: color-mix(in srgb, var(--color-green-500) 45%, var(--color-green-50)); --stage-fg: var(--color-ink); }
.ladder__step:nth-child(3) { --stage: var(--color-green-500); }
.ladder__step:nth-child(4) { --stage: var(--color-ink); }
.ladder__step h3 { margin-top: 20px; font-size: 20px; line-height: 1.2; }
.ladder__step > p { margin-top: 8px; font-size: 15px; color: var(--fg-muted); }
.ladder__exit { margin: 16px 0 0; padding-left: 12px; border-left: 2px solid var(--color-green-500); }
.ladder__exit dt { margin-bottom: 4px; }
.ladder__exit dd { margin: 0; font-size: 14px; font-weight: 500; }
@media (min-width: 768px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .ladder { grid-template-columns: repeat(4, 1fr); }
  .ladder__rise { height: 200px; }
  .ladder__bar { width: 100%; height: calc(64px + var(--h) * 42px); }
}

/* ── TECHNOLOGY TABLE ─────────────────────────────────────────────── */
.tech-table-wrap { background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg); overflow: hidden; }
.tech-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tech-table th {
  padding: 14px 20px; text-align: left; font-weight: 400; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted); background: var(--bg); border-bottom: 1px solid var(--line-color);
}
.tech-table td { padding: 16px 20px; vertical-align: top; color: var(--fg-muted); border-bottom: 1px solid var(--line-color-soft); }
.tech-table tr:last-child td { border-bottom: 0; }
.tech-table td:first-child { color: var(--fg); font-weight: 600; white-space: nowrap; }
.tech-table__dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
@media (max-width: 767px) {
  .tech-table thead { display: none; }
  .tech-table, .tech-table tbody, .tech-table tr, .tech-table td { display: block; }
  .tech-table tr { padding: 16px 20px; border-bottom: 1px solid var(--line-color-soft); }
  .tech-table tr:last-child { border-bottom: 0; }
  .tech-table td { padding: 0; border: 0; }
  .tech-table td + td { margin-top: 10px; }
  .tech-table td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted);
  }
}

/* ── CONSULTING GRAPHICS ──────────────────────────────────────────── */
.panel { min-width: 0; margin: 0; padding: 24px; background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg); }

/* roadmap gantt inside a mock: bars sit on grid columns 2–5 (Q1–Q4) */
.gantt { display: grid; gap: 8px; margin-top: 16px; }
.gantt__row { display: grid; grid-template-columns: 132px repeat(4, 1fr); column-gap: 4px; align-items: center; font-size: 12px; font-weight: 500; }
.gantt__row--head .micro { text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--line-color-soft); }
.gantt__bar { height: 22px; border-radius: var(--radius-sm); background: var(--accent); }
.gantt__bar--plan { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 40%, transparent) 0 6px, color-mix(in srgb, var(--accent) 15%, transparent) 6px 12px); }
@media (max-width: 479px) { .gantt__row { grid-template-columns: 96px repeat(4, 1fr); font-size: 11px; } }

/* readiness radar + dimension list */
.radar { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.radar__ring, .radar__axis { fill: none; stroke: var(--line-color); }
.radar__target { fill: none; stroke: var(--color-green-700); stroke-width: 1.5; stroke-dasharray: 5 4; }
.radar__now { fill: color-mix(in srgb, var(--color-green-500) 18%, transparent); stroke: var(--color-green-500); stroke-width: 2; }
.radar__pt { fill: var(--color-green-500); }
.radar__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--fg-muted); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 16px; height: 0; border-top: 2px solid var(--color-green-500); }
.legend .legend--target::before { border-top: 2px dashed var(--color-green-700); }
.dims { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-color); }
.dim { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line-color); }
.dim h3 { font-size: 17px; line-height: 1.3; }
.dim p { grid-column: 1 / -1; font-size: 14px; color: var(--fg-muted); }
.dim .meter { grid-column: 1 / -1; margin-top: 6px; }
.meter--target::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: calc(var(--t) * 1% - 1px); width: 2px; background: var(--color-green-700); }

/* value × feasibility matrix */
.matrix { display: block; width: 100%; height: auto; }
.matrix__quad { fill: var(--bg); }
.matrix__quad--win { fill: var(--color-green-50); }
.matrix__mid { fill: none; stroke: var(--line-color); stroke-dasharray: 4 4; }
.matrix__axis { fill: none; stroke: var(--fg-muted); stroke-width: 1.5; }
.matrix__qlabel, .matrix__axislabel { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--fg-muted); }
.matrix__qlabel--win { fill: var(--color-green-700); }
.matrix__dot { stroke: var(--surface); stroke-width: 2; }
.matrix__name { font-size: 10px; font-weight: 500; fill: var(--fg); }

/* build / buy / wait verdicts in the advice memo */
.verdict {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-full); white-space: nowrap;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--v); background: color-mix(in srgb, var(--v) 14%, transparent); border: 1px solid color-mix(in srgb, var(--v) 45%, transparent);
}
.verdict--build { --v: var(--color-green-500); }
.verdict--buy { --v: var(--color-info); }
.verdict--wait { --v: var(--color-warning); }
.verdict--no { --v: var(--color-danger); }

/* deliverables shelf: paper thumbnails with a folded corner */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
.doc { margin: 0; }
.doc__sheet-wrap { filter: drop-shadow(0 14px 20px rgba(10, 15, 12, 0.12)); }
.doc__sheet {
  position: relative; display: flex; flex-direction: column; gap: 12px; aspect-ratio: 3 / 4; padding: 18px 16px 16px 20px;
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-md);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.doc__sheet::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.doc__sheet::after { content: ""; position: absolute; top: 0; right: 0; width: 24px; height: 24px; background: linear-gradient(to bottom left, transparent 50%, var(--line-color) 50%); }
.doc__head { height: 7px; width: 62%; border-radius: 2px; background: var(--fg); opacity: 0.85; }
.doc__sheet svg { width: 100%; flex: 1; min-height: 0; }
.doc__ink { fill: var(--line-color); }
.doc__hi { fill: var(--accent); }
.doc__soft { fill: color-mix(in srgb, var(--accent) 22%, transparent); }
.doc__stroke { fill: none; stroke: var(--line-color); stroke-width: 1.5; }
.doc figcaption { margin-top: 16px; }
.doc figcaption strong { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.025em; }
.doc figcaption > span { display: block; margin-top: 4px; font-size: 14px; color: var(--fg-muted); }
@media (min-width: 768px) { .docs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .docs { grid-template-columns: repeat(5, 1fr); } }

/* numbered rows on a light surface, two columns */
.reasons--grid { margin-top: 0; border-top: 1px solid var(--line-color); column-gap: 48px; }
.reasons--grid .reason { border-bottom-color: var(--line-color); }
.reason__meta { display: block; margin-top: 10px; }
@media (min-width: 768px) { .reasons--grid { display: grid; grid-template-columns: 1fr 1fr; } }

.tiers--4 { max-width: none; }
.tiers--4 .tier__price { font-size: 22px; }
@media (min-width: 768px) { .tiers--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiers--4 { grid-template-columns: repeat(4, 1fr); } }

/* ── CHATBOT GRAPHICS ─────────────────────────────────────────────── */
.mock .chat { margin: 0; padding: 0; border: 0; background: none; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; justify-self: start; }
.chat__chips .chip { border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--fg); }
.chat__sys { display: flex; align-items: center; gap: 10px; }
.chat__sys::before, .chat__sys::after { content: ""; flex: 1; height: 1px; background: var(--line-color); }
.chat__lang { justify-self: start; }

/* voice waveform: bar heights come from --v (0–100) */
.wave { display: flex; align-items: center; gap: 3px; height: 44px; margin-bottom: 14px; }
.wave span { flex: 1; height: calc(var(--v) * 1%); min-height: 3px; border-radius: 2px; background: var(--accent); }
.wave span:nth-child(n + 25) { background: color-mix(in srgb, var(--accent) 30%, transparent); }

/* conversation flowchart (SVG); scrolls sideways on narrow screens rather than shrinking the text */
.flowchart-wrap { overflow-x: auto; }
.flowchart { display: block; width: 100%; min-width: 640px; height: auto; }
.flowchart__node { fill: var(--surface); stroke: var(--line-color); stroke-width: 1.5; }
.flowchart__node--accent { fill: color-mix(in srgb, var(--accent) 8%, var(--surface)); stroke: color-mix(in srgb, var(--accent) 45%, transparent); }
.flowchart__title { font-size: 12px; font-weight: 600; fill: var(--fg); }
.flowchart__sub { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--fg-muted); }
.flowchart__edge { fill: none; stroke: var(--fg-muted); stroke-width: 1.5; }
.flowchart__edge--human { stroke-dasharray: 5 4; }
.flowchart__arrow { fill: var(--fg-muted); }
.flowchart__label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--color-green-700); paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; }
.flowchart--hub { max-width: 760px; margin: 0 auto; }
.flowchart--narrow { max-width: 600px; min-width: 520px; margin: 0 auto; }
.scroll-hint { display: none; }
@media (max-width: 719px) { .scroll-hint { display: block; margin-top: 8px; } }

.design-list { margin-top: 32px; column-gap: 32px; }
@media (min-width: 768px) { .design-list { grid-template-columns: 1fr 1fr; } }

/* resolution funnel */
.panel > .micro:first-child { display: block; margin-bottom: 18px; }
.funnel { display: grid; gap: 14px; }
.funnel__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; font-size: 14px; font-weight: 500; }
.funnel__row .mock__val { color: var(--fg-muted); }
.funnel__bar { grid-column: 1 / -1; height: 28px; width: calc(var(--v) * 1%); border-radius: var(--radius-sm); background: var(--accent); }

/* ── GENERATIVE AI GRAPHICS ───────────────────────────────────────── */
/* drafted document with citations and passed checks */
.draft { margin-top: 14px; font-size: 13.5px; line-height: 1.65; }
.draft mark { padding: 0 2px; border-radius: 3px; color: inherit; background: color-mix(in srgb, var(--color-green-500) 14%, transparent); }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.check {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 11px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-full);
}
.check svg { width: 12px; height: 12px; color: var(--color-green-500); }

/* output gallery: a preview of what the model produces, then the copy */
.gallery { display: grid; gap: 16px; }
.gallery__tile { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg); }
.gallery__preview {
  display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 172px; padding: 18px; font-size: 13px;
  background: color-mix(in srgb, var(--accent) 6%, var(--bg)); border-bottom: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line-color));
}
.gallery__preview .micro { color: var(--fg-muted); }
.gallery__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.gallery__body h3 { font-size: 19px; line-height: 1.25; }
.gallery__body p { margin-top: 6px; font-size: 14px; color: var(--fg-muted); flex: 1; }
.gallery__body .micro { margin-top: 14px; }
.gallery__code {
  margin: 0; padding: 10px 12px; overflow-x: auto; white-space: pre; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6;
  color: var(--fg); background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-md);
}
.gallery__code b { font-weight: 500; color: var(--accent); }
.gallery__card { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-md); }
.gallery__card p { margin: 0; }
.gallery__card p + p { margin-top: 4px; }
.gallery__img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* model picker scatter (reuses .matrix axes, labels and dots) */
.matrix__bar { stroke: var(--color-green-700); stroke-width: 1.5; stroke-dasharray: 6 4; }
.matrix__frontier { fill: none; stroke: var(--fg-muted); stroke-width: 1; stroke-dasharray: 2 4; }
.matrix__pick { fill: none; stroke: var(--color-green-500); stroke-width: 2; }
.matrix__note { font-size: 10px; font-weight: 600; fill: var(--color-green-700); }

/* ── AGENT GRAPHICS ───────────────────────────────────────────────── */
.bento__visual { margin-top: auto; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-color); border-radius: var(--radius-md); }
.bento__visual .trace { margin-top: 0; }
.loop { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.loop__ring { fill: none; stroke: var(--line-color); stroke-width: 1.5; stroke-dasharray: 4 6; }
.loop__label { font-size: 13px; font-weight: 600; fill: var(--fg); }
.approval {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px 14px;
  font-size: 12px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-warning) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--color-warning) 45%, transparent);
}
.approval strong { display: block; font-size: 13px; }

/* ── INTEGRATION GRAPHICS ─────────────────────────────────────────── */
/* event log: source system → AI step → target system */
.events { display: grid; gap: 8px; margin-top: 18px; }
.event {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 9px 12px; font-size: 12px;
  border: 1px solid var(--line-color-soft); border-radius: var(--radius-md);
}
.event__sys { padding: 3px 8px; font-weight: 500; background: var(--line-color-soft); border-radius: var(--radius-sm); }
.event__ai {
  padding: 3px 8px; font-weight: 500; border-radius: var(--radius-sm); color: var(--fg);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.event__arrow { color: var(--fg-muted); }
.event .mock__val { margin-left: auto; }

@media (min-width: 1024px) { .gallery--2 { grid-template-columns: repeat(2, 1fr); } }

.systems-wall { margin-top: 32px; }

/* staged rollout: grey = current process, green = AI path */
.rollout { display: grid; gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
.rollout__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rollout__head h3 { font-size: 20px; line-height: 1.2; }
.rollout__bar { position: relative; height: 14px; margin-top: 14px; overflow: hidden; border-radius: var(--radius-full); background: var(--line-color); }
.rollout__ai { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); background: var(--color-green-500); border-radius: inherit; }
.rollout__ai--shadow { width: 100%; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--color-green-500) 45%, transparent) 0 6px, transparent 6px 12px); }
.rollout__stage > p { margin-top: 12px; font-size: 15px; color: var(--fg-muted); }
.rollout__stage .ladder__exit { margin-top: 14px; }
.legend--rollout span::before { width: 14px; height: 8px; border: 0; border-radius: 2px; background: var(--line-color); }
.legend--rollout .legend--ai::before { background: var(--color-green-500); }
.legend--rollout .legend--shadow::before { background: repeating-linear-gradient(135deg, var(--color-green-500) 0 3px, transparent 3px 6px); }
.legend--rollout { justify-content: flex-start; margin: 0 0 28px; }
@media (min-width: 768px) { .rollout { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rollout { grid-template-columns: repeat(4, 1fr); } }

/* ── SERVICE-PAGE CHART PRIMITIVES (SVG) ──────────────────────────── */
.chart { display: block; width: 100%; height: auto; }
.chart__grid { stroke: var(--line-color); stroke-width: 1; }
.chart__axis { fill: none; stroke: var(--fg-muted); stroke-width: 1.5; }
.chart__line { fill: none; stroke: var(--accent, var(--color-green-500)); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart__line--dash { stroke-dasharray: 5 5; }
.chart__band { fill: color-mix(in srgb, var(--accent, var(--color-green-500)) 14%, transparent); }
.chart__dot { fill: var(--accent, var(--color-green-500)); stroke: var(--surface); stroke-width: 2; }
.chart__dot--bad { fill: var(--color-danger); }
.chart__label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--fg-muted); }
.chart__name { font-size: 11px; font-weight: 600; }
.cm__cell { stroke: var(--surface); stroke-width: 3; }
.cm__num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
.legend--lines span::before { border-top: 3px solid var(--accent, var(--color-green-500)); }

/* latency budget: one bar split into the stages of a voice turn */
.budget { display: flex; height: 40px; overflow: hidden; border-radius: var(--radius-md); }
.budget span {
  display: flex; align-items: center; justify-content: center; flex: var(--ms) 1 0; min-width: 0; padding: 0 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--accent);
}
.budget span + span { border-left: 2px solid var(--surface); }
.budget__scale + .legend { justify-content: flex-start; margin-top: 12px; }
@media (max-width: 559px) { .budget span { font-size: 0; } }
.budget__scale { display: flex; justify-content: space-between; margin-top: 8px; }
.budget__target { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; }

/* AI product layer stack */
.layers { display: grid; gap: 8px; }
.layer {
  display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.layer__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.025em; }
.layer__name small { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 400; font-size: 13px; letter-spacing: -0.01em; color: var(--fg-muted); }
.layer__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.layer__chips .chip { background: var(--surface); }
@media (min-width: 768px) { .layer { grid-template-columns: 220px 1fr; align-items: center; } }

/* app screen with a copilot side panel */
.copilot { display: grid; grid-template-columns: 1fr; gap: 0; }
.copilot__app { padding: 16px 18px; display: grid; gap: 10px; align-content: start; font-size: 12px; }
.copilot__field { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line-color-soft); }
.copilot__field b { font-weight: 500; font-size: 13px; }
.copilot__panel { padding: 16px 18px; background: color-mix(in srgb, var(--accent) 5%, var(--bg)); border-top: 1px solid var(--line-color); }
.copilot__panel .micro:first-child { display: block; margin-bottom: 10px; color: var(--accent); }
@media (min-width: 560px) {
  .copilot { grid-template-columns: 1fr 1.2fr; }
  .copilot__panel { border-top: 0; border-left: 1px solid var(--line-color); }
}

/* table with centred value cells (e.g. RACI) */
.tech-table--grid td:not(:first-child), .tech-table--grid th:not(:first-child) { text-align: center; }
.raci { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--fg); background: var(--line-color-soft); }
.raci--a { color: #fff; background: var(--color-green-700); }
.raci--r { color: #fff; background: var(--color-green-500); }
@media (max-width: 767px) { .tech-table--grid td:not(:first-child) { text-align: left; } }

/* ── INDUSTRIES AS ROWS (restyles the shared industries grid) ─────── */
.industries-rows .industries { grid-template-columns: 1fr; gap: 0 48px; border-top: 1px solid var(--line-color); }
.industries-rows .industry {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; align-items: start; align-content: start;
  padding: 24px 0; background: none; border: 0; border-bottom: 1px solid var(--line-color); border-radius: 0;
}
.industries-rows .industry > * { grid-column: 2; }
.industries-rows .industry > .pillar__icon { grid-column: 1; grid-row: 1 / span 3; }
.industries-rows .industry .h3 { margin-top: 0; }
.industries-rows .card--featured {
  grid-template-columns: 1fr; margin: 16px 0; padding: 24px;
  border: 2px solid var(--color-green-500); border-radius: var(--radius-lg); background: var(--featured);
}
.industries-rows .card--featured > * { grid-column: 1; }
.industries-rows .card--featured > .btn { justify-self: start; }
@media (min-width: 768px) { .industries-rows .industries { grid-template-columns: 1fr 1fr; } }

/* ── PROCESS TIMELINE ─────────────────────────────────────────────── */
.timeline { max-width: 72rem; margin: 0 auto; }
.timeline__phases { display: none; }
.timeline__steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; }
.timeline__step { position: relative; padding: 0 0 32px 60px; }
.timeline__step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line-color); }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step:last-child::before { display: none; }
.timeline__step--discovery { --phase: var(--color-green-500); }
.timeline__step--build { --phase: var(--color-green-700); }
.timeline__step--run { --phase: var(--color-ink); }
.timeline__dot {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-mono); font-size: 12px; color: #fff; background: var(--phase);
}
.timeline__step .micro { display: block; padding-top: 12px; }
.timeline__step h3 { margin-top: 6px; font-size: 20px; line-height: 1.2; }
.timeline__step p { margin-top: 6px; font-size: 15px; color: var(--fg-muted); max-width: 36rem; }
@media (min-width: 1024px) {
  .timeline__phases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-bottom: 32px; }
  .timeline__phase {
    grid-column: span 2; padding: 10px 14px; border-radius: var(--radius-md);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  }
  .timeline__phase--discovery { background: var(--color-green-50); color: var(--color-green-700); }
  .timeline__phase--build { background: var(--color-green-500); color: #fff; }
  .timeline__phase--run { background: var(--color-ink); color: #fff; }
  .timeline__steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; }
  .timeline__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--line-color); }
  .timeline__step { padding: 0; }
  .timeline__step::before { display: none; }
  .timeline__dot { position: relative; }
  .timeline__step .micro { padding-top: 20px; }
}

/* ── LOGO WALL ────────────────────────────────────────────────────── */
.logo-wall { border-top: 1px solid var(--line-color); }
.logo-row { display: grid; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line-color); }
.logo-row > .micro { font-weight: 400; }
.logo-row__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.logo-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; font-size: 14px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-md);
}
.logo-chip img { width: 20px; height: 20px; flex: none; }
@media (min-width: 1024px) { .logo-row { grid-template-columns: 240px 1fr; align-items: center; gap: 24px; } }

/* ── FAQ LAYOUT ───────────────────────────────────────────────────── */
.faq-layout { display: grid; gap: 40px; }
.faq-layout .faq { max-width: none; margin: 0; }
.faq-layout__ask { margin-top: 32px; }
.faq-layout__ask a { color: var(--color-green-700); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
  .faq-layout > .split__copy { position: sticky; top: 140px; }
}

.cta-band--glow { position: relative; isolation: isolate; overflow: hidden; }
.cta-band--glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at 20% 0%, rgba(255, 255, 255, 0.22), transparent 60%);
}

/* ── FAQ (answers stay in the DOM) ────────────────────────────────── */
.faq { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--line-color); }
.faq__item { border-bottom: 1px solid var(--line-color); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -0.025em; transition: color 120ms;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--color-green-500); }
.faq__icon { flex: none; width: 20px; height: 20px; color: var(--color-green-500); transition: transform 250ms var(--ease-brand); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding-bottom: 24px; color: var(--fg-muted); font-size: 15px; max-width: 62ch; }
.faq__a p + p { margin-top: 10px; }
@media (min-width: 1024px) { .faq__item summary { font-size: 20px; padding: 24px 0; } }

/* ── GREEN CTA BAND + PROJECT FORM ────────────────────────────────── */
.cta-band { background: var(--color-green-500); color: #fff; padding: 80px 0; }
.cta-band__grid { display: grid; gap: 40px; align-items: center; }
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.8); display: block; margin-bottom: 16px; }
.cta-band .h2 .period { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, 0.85); margin-top: 20px; }
.cta-band__list { margin-top: 24px; display: grid; gap: 10px; }
.cta-band__list li { display: flex; gap: 10px; font-size: 15px; }
.cta-band__list li::before { content: "✓"; font-weight: 600; flex: none; }
.cta-steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.cta-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.cta-steps__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.8); padding-top: 4px; }
.cta-steps b { display: block; font-family: var(--font-display); font-size: 18px; letter-spacing: -0.025em; }
.cta-steps li span:last-child { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.cta-band .btn-note { color: rgba(255, 255, 255, 0.8); margin-top: 24px; }
.cta-band .btn-note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form { color: var(--fg); gap: 14px; }
.contact-form .micro { margin-bottom: 4px; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.contact-form .btn-note { margin-top: 0; color: var(--fg-muted); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.input--area { height: auto; padding: 10px 16px; resize: vertical; min-height: 96px; line-height: 1.5; }
.field-row { display: grid; gap: 14px; }
.field__opt { font-weight: 400; color: var(--fg-muted); }
.field__help { font-size: 12px; color: var(--fg-muted); }
select.input {
  appearance: none; cursor: pointer; padding-right: 40px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a928e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
.btn--whatsapp svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cta-band { padding: 112px 0; }
  .cta-band__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line-color); }
.footer__news { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line-color); align-items: center; }
.footer__news .h3 { font-size: 24px; }
.footer__news p { color: var(--fg-muted); margin-top: 6px; font-size: 15px; }
.news-form { display: flex; flex-direction: column; gap: 8px; }
.news-form__row { display: flex; gap: 8px; }
.news-form__row .input { flex: 1; min-width: 0; }
.input {
  flex: 1; min-width: 0; height: 44px; padding: 0 16px; font: inherit; font-size: 14px; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-md); transition: border-color 120ms;
}
.input::placeholder { color: var(--fg-muted); }
.input:focus { outline: 2px solid var(--color-green-500); outline-offset: 2px; border-color: var(--color-green-500); }
.input[aria-invalid="true"] { border-color: var(--color-danger); }
.form-msg { font-size: 12px; min-height: 1em; }
.form-msg--error { color: var(--color-danger); }
.form-msg--ok { color: var(--color-green-700); }

.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 48px 0; }
.footer__cols .micro { display: block; margin-bottom: 14px; }
.footer__cols li + li { margin-top: 8px; }
.footer__cols a { font-size: 14px; }
.footer__cols a:hover { color: var(--color-green-500); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line-color); font-size: 12px; color: var(--fg-muted); }
.footer__status { display: inline-flex; align-items: center; gap: 8px; }
.footer__status:hover { color: var(--color-green-500); }
@media (min-width: 768px) {
  .footer__news { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
}

/* ── CONTACT PAGE ─────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.contact-grid .contact-form { margin-top: 32px; }
.contact-aside { display: grid; gap: 20px; align-content: start; }
.reach { gap: 20px; }
.reach .micro { margin-bottom: 0; }
.reach__top { display: flex; align-items: center; gap: 20px; }
.reach__top p { margin-top: 6px; }
.reach__qr { width: 112px; height: 112px; flex: none; padding: 8px; background: #fff; border: 1px solid var(--line-color); border-radius: var(--radius-md); }
.reach .btn { align-self: flex-start; }
.reach__list { display: grid; gap: 14px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line-color); }
.reach__list dt { margin-bottom: 4px; }
.reach__list dd { margin: 0; font-size: 15px; }
.reach__list a:hover { color: var(--color-green-500); }
.contact-aside .reasons { margin-top: 8px; border-top: 0; }
.contact-aside .reason { padding: 14px 0; }
.contact-aside .reason p { margin-top: 0; font-size: 15px; color: var(--fg); }
.contact-aside .reason:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-promise { color: var(--color-green-700); line-height: 1.6; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .contact-aside { position: sticky; top: 96px; }
}

/* ── FLOATING CTA ─────────────────────────────────────────────────── */
/* Ink pill so it reads against the paper ground; the green button is the one accent. */
.float-cta { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 35; display: flex; justify-content: center; padding: 0 var(--gutter); pointer-events: none; }
.float-cta__bar {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 6px 6px 16px;
  background: var(--color-ink); color: #fff; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-full);
  box-shadow: 0 18px 40px -14px rgba(10, 15, 12, 0.55);
}
.float-cta__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; line-height: 1.2; }
.float-cta__text span { display: none; color: rgba(255, 255, 255, 0.7); }
.float-cta__btn { flex: none; height: 36px; padding: 0 14px; font-size: 13px; border-radius: var(--radius-full); }
/* Keep the last footer line and the dock clear of the bar. */
.float-cta ~ .footer .footer__bottom { padding-bottom: 88px; }
@media (min-width: 640px) {
  .float-cta { bottom: 24px; }
  .float-cta__bar { gap: 14px; padding: 6px 6px 6px 20px; }
  .float-cta__btn { padding: 0 18px; font-size: 14px; }
  .float-cta__text span { display: inline; }
}
@media (max-width: 767px) {
  .float-cta ~ .dock { bottom: 80px; }
}

/* ── FLOATING DOCK ────────────────────────────────────────────────── */
.dock { position: fixed; right: var(--gutter); bottom: 24px; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.dock__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: var(--radius-full); box-shadow: 0 10px 30px -10px rgba(10, 15, 12, 0.4);
  transition: transform 200ms var(--ease-brand), background-color 120ms;
}
.dock__btn:hover { transform: translateY(-2px); }
.dock__btn--whatsapp { background: #25d366; }
.dock__btn--whatsapp img { width: 26px; height: 26px; }

.assistant { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.assistant__btn { background: var(--color-ink); color: #fff; }
.assistant__btn svg { width: 26px; height: 26px; }
.js .assistant__btn { animation: bob 3s var(--ease-brand) infinite; }
.js .assistant__spark { transform-origin: 12px 9px; animation: spark 3s var(--ease-brand) infinite; }
.assistant__btn[aria-expanded="true"] { animation: none; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes spark { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(20deg); } }

.assistant__bubble {
  position: absolute; right: 64px; bottom: 10px; white-space: nowrap; font-size: 13px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-full); padding: 8px 14px;
  box-shadow: 0 10px 30px -10px rgba(10, 15, 12, 0.3); opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity 200ms var(--ease-brand), transform 200ms var(--ease-brand);
}
.assistant__bubble.is-visible { opacity: 1; transform: none; }

.assistant__panel {
  position: absolute; right: 0; bottom: 64px; width: min(320px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface); border: 1px solid var(--line-color); border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--mock-shadow);
}
.assistant__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-color); }
.assistant__head .wordmark { font-size: 18px; }
.assistant__msg { font-size: 14px; margin-top: 14px; }
.assistant__links { margin-top: 12px; display: grid; gap: 4px; }
.assistant__links a { display: block; font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: var(--radius-md); background: var(--line-color-soft); transition: color 120ms; }
.assistant__links a:hover { color: var(--color-green-500); }
.assistant__note { font-size: 12px; color: var(--fg-muted); margin-top: 12px; }
@media (max-width: 767px) {
  .dock { bottom: 16px; gap: 10px; }
  .dock__btn { width: 48px; height: 48px; }
  .assistant__bubble { display: none; }
}

/* ── MOTION ───────────────────────────────────────────────────────── */
.js [data-fade-up] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms var(--ease-brand), transform 500ms var(--ease-brand);
  transition-delay: var(--fade-delay, 0ms);
}
.js [data-fade-up].is-visible { opacity: 1; transform: none; }
.js .hero [data-fade-up] { transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  .js [data-fade-up] { opacity: 1; transform: none; }
  .marquee__track { width: auto; animation: none; mask-image: none; -webkit-mask-image: none; }
  .assistant__btn, .assistant__spark { animation: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: 16px; }
}
