/* ============================================================
   RealizedAI Design System — "Daylight" (Concept C v2, 2026-07)
   Light editorial: paper base, Fraunces + Inter, highlight pills,
   sky/sand/sage section washes, gold only where earned.
   Used by redesigned pages only during rollout; legacy pages
   keep style.css until their batch.
   ============================================================ */

:root {
  --page: #f6f7f9;
  --ink: #101623;
  --ink-soft: #3c4454;
  --gold: #a8842f;
  --gold-deep: #7a5d1a;   /* eyebrows — WCAG AA on paper */
  --sky: #dfe8f4;
  --sand: #f0e7d4;
  --sage: #e4ece2;
  --card: #ffffff;
  --shadow: 0 2px 24px rgba(16, 22, 35, 0.06);
  --shadow-lift: 0 10px 32px rgba(16, 22, 35, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--page);
  background-image: radial-gradient(rgba(16, 22, 35, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Accessibility utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Section bands (wash variation) ---------- */
section { position: relative; padding: 104px 0; }
.band-paper { background-color: var(--page); }
.band-sky {
  background-color: #eef3fa;
  background-image: radial-gradient(rgba(16, 22, 35, 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
}
.band-sand {
  background-color: #f7f1e2;
  background-image: radial-gradient(rgba(16, 22, 35, 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
}
.band-sage {
  background-color: #edf2ea;
  background-image: radial-gradient(rgba(16, 22, 35, 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
  display: block;
}

/* ---------- Highlight pills (signature element) ---------- */
.pill-hl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 18px 8px;
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  transform: scale(1);
}
.pill-hl svg { width: 0.62em; height: 0.62em; flex-shrink: 0; }
.pill-sand { background: var(--sand); transform: rotate(-1.5deg); }
.pill-sky { background: var(--sky); transform: rotate(1deg); }
.pill-sage { background: var(--sage); }

/* .stamp-in retired 2026-07-11 (motion pass) — headline pills are static now;
   the class is left inert in templates that still carry it. */

/* ---------- Nav (floating pill) ---------- */
.nav-outer {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}
.nav-pill {
  background: var(--card);
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 12px 14px 12px 24px;
  width: 100%;
  max-width: 920px;
}
.nav-logo {
  /* Brand wordmark = Montserrat 800 (matches logo everywhere else) */
  font-family: 'Montserrat', var(--sans);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo .gold { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.nav-cta {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 22px; height: 22px; }

.nav-mobile-menu { display: none; }

/* ---------- Buttons / links ---------- */
.btn-ink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  padding: 16px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  font-family: var(--sans);
}
.btn-ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: gap 160ms ease;
}
.link-arrow:hover { gap: 13px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 172px 0 104px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.hero h1 .pill-hl { font-size: 0.86em; }
.hero-sub {
  margin-top: 28px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.6;
}
.hero-ctas {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-metrics {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 44px;
}
.metric-num {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
/* Word-form stat (e.g. "Six Figures") — sized down so it sits level with numeric tiles */
.metric-num-word { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; padding-top: 0.25em; }
.metric-label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 150px;
  line-height: 1.4;
}

/* ---------- Hero art: nine-systems-to-one-warehouse diagram ---------- */
.horizon-frame {
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--ink);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  background: linear-gradient(160deg, #eef3fa 0%, #f6f7f9 55%, #f8f4e9 100%);
}
.diagram-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.diagram-path {
  fill: none;
  stroke: rgba(16, 22, 35, 0.18);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.diagram-path.draw-in {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawPath 2000ms ease-out forwards;
}
.diagram-path.draw-in:nth-of-type(1) { animation-delay: 0ms; }
.diagram-path.draw-in:nth-of-type(2) { animation-delay: 60ms; }
.diagram-path.draw-in:nth-of-type(3) { animation-delay: 120ms; }
.diagram-path.draw-in:nth-of-type(4) { animation-delay: 180ms; }
.diagram-path.draw-in:nth-of-type(5) { animation-delay: 240ms; }
.diagram-path.draw-in:nth-of-type(6) { animation-delay: 300ms; }
.diagram-path.draw-in:nth-of-type(7) { animation-delay: 360ms; }
.diagram-path.draw-in:nth-of-type(8) { animation-delay: 420ms; }
.diagram-path.draw-in:nth-of-type(9) { animation-delay: 480ms; }
@keyframes drawPath { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .diagram-path.draw-in { animation: none !important; stroke-dashoffset: 0 !important; }
}
.diagram-chip {
  position: absolute;
  left: 6%;
  transform: translateY(-50%);
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 13px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(16, 22, 35, 0.05);
}
.diagram-chip.chip-1 { top: 6%; }
.diagram-chip.chip-2 { top: 17%; }
.diagram-chip.chip-3 { top: 28%; }
.diagram-chip.chip-4 { top: 39%; }
.diagram-chip.chip-5 { top: 50%; }
.diagram-chip.chip-6 { top: 61%; }
.diagram-chip.chip-7 { top: 72%; }
.diagram-chip.chip-8 { top: 83%; }
.diagram-chip.chip-9 { top: 94%; }
.diagram-warehouse {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 22px 18px;
}
.wh-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.wh-icon-wrap svg { width: 18px; height: 18px; color: var(--gold); }
.wh-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}
.wh-checks { display: flex; flex-direction: column; gap: 9px; }
.wh-checks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}
.wh-checks .check {
  color: #5f8f66;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 480ms ease, transform 480ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Section headers ---------- */
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-head h2 .pill-hl { font-size: 0.92em; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-body {
  max-width: 760px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.section-head .section-body { margin-top: 22px; }

/* ---------- Cards (shared base) ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card { padding: 34px 28px; }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--ink); }
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Proof (stat cards) ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.stat-card { padding: 28px 24px; }
.stat-card .metric-num { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.stat-card .metric-label {
  margin-top: 10px;
  max-width: none;
  font-size: 14px;
}
.proof-cta { margin-top: 40px; display: inline-flex; }

/* ---------- Trust cascade (pillar cards) ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pillar-card { padding: 28px 24px; }
.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar-icon svg { width: 20px; height: 20px; color: var(--ink); }
.pillar-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.pillar-card p { color: var(--ink-soft); font-size: 14px; }

/* ---------- Industries ---------- */
.industry-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}
.industry-row {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
a.industry-row { text-decoration: none; }
.industry-row.flagship {
  padding: 36px 34px;
  border: 1.5px solid var(--gold);
}
.industry-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 4px;
  width: fit-content;
}
.industry-row h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}
.industry-row.flagship h4 { font-size: 1.6rem; }
.industry-row p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 680px;
}
.industry-cta { margin-top: 36px; display: inline-flex; }

/* ---------- Process ---------- */
.process-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 24px;
}
.process-path::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: var(--ink);
  opacity: 0.25;
}
.process-step {
  position: relative;
  padding: 0 20px;
  text-align: left;
}
.process-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.process-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.process-step p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.venn {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1.4 / 1;
  margin: 0 auto;
}
.venn-circle {
  position: absolute;
  top: 50%;
  width: 64%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4);
}
.venn-circle.a { left: 2%; }
.venn-circle.b { right: 2%; }
.venn-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  width: 34%;
}
.venn-label.a { left: 6%; }
.venn-label.b { right: 6%; }
.venn-label.mid {
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 14px;
}
.about-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 24px;
}
.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: 16px;
}
.about-copy p:last-child { margin-bottom: 0; }

/* ---------- Email capture ---------- */
.capture-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.capture-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}
.capture-box p.desc {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 20px 0 36px;
}
.capture-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.capture-form input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(16, 22, 35, 0.18);
  font-family: var(--sans);
  font-size: 15px;
  background: #fff;
}
.capture-form input[type="email"]::placeholder { color: #8a90a0; }
.capture-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}
.capture-success {
  display: none;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.capture-success.show { display: block; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .section-head { margin-left: auto; margin-right: auto; }
.final-cta p.desc {
  max-width: 560px;
  margin: 20px auto 40px;
  font-size: 17px;
  color: var(--ink-soft);
}
.final-cta .btn-ink { padding: 19px 40px; font-size: 16.5px; }
.final-cta .fine {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
footer {
  padding: 56px 0 40px;
  border-top: 1px solid rgba(16, 22, 35, 0.1);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: 'Montserrat', var(--sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-logo .gold { color: var(--gold); }
.footer-contact {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copyright {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-links a:hover { color: var(--ink); }

/* ============================================================
   Shared inner-page components (batch 2)
   ============================================================ */

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 168px 0 80px; text-align: center; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.page-hero h1 .pill-hl { font-size: 0.88em; }
.page-hero .lede {
  margin: 24px auto 0;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.65;
}

/* ---------- Secondary button ---------- */
.btn-outline-ink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14.5px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  font-family: var(--sans);
}
.btn-outline-ink:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Check list (gold ticks) ---------- */
.check-list { max-width: 720px; text-align: left; }
.check-list li {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  padding: 13px 0 13px 32px;
  position: relative;
  border-bottom: 1px solid rgba(16, 22, 35, 0.08);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8842f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}
.check-list li strong { color: var(--ink); }

/* ---------- FAQ accordion (light) ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
}
.faq-q .faq-arrow { color: var(--gold); transition: transform 200ms ease; flex-shrink: 0; }
.faq-item.open .faq-q .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; }

/* ---------- Tab pills ---------- */
.tab-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 40px 0; }
.tab-btn {
  padding: 10px 22px;
  border: 1.5px solid rgba(16, 22, 35, 0.18);
  border-radius: 999px;
  background: var(--card);
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 160ms ease;
  font-family: var(--sans);
}
.tab-btn:hover { border-color: var(--ink); color: var(--ink); }
.tab-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Forms (light) ---------- */
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid rgba(16, 22, 35, 0.18);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  font-family: var(--sans);
  transition: border-color 160ms ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { color: var(--ink-soft); font-size: 13px; margin-top: 12px; }
.required { color: var(--gold-deep); }

/* ---------- Overlay dialogs (light) ---------- */
.overlay-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16, 22, 35, 0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.overlay-backdrop.show { display: flex; }
.overlay-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 40px 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
}
.overlay-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.overlay-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 118px 0 0; }
.breadcrumbs a { color: var(--ink-soft); font-size: 13.5px; text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--ink-soft); margin: 0 8px; font-size: 12px; }
.breadcrumbs .current { color: var(--ink); font-size: 13.5px; font-weight: 500; }
.breadcrumbs + .page-hero { padding-top: 56px; }

/* ---------- Compare table (light) ---------- */
.compare-table { max-width: 920px; margin: 0 auto; border-collapse: collapse; width: 100%; }
.compare-table thead th {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  border-bottom: 2px solid rgba(16, 22, 35, 0.15);
  text-align: left;
}
.compare-table thead th:first-child { color: var(--ink-soft); width: 22%; }
.compare-table thead th:nth-child(2) { color: #a04b3c; width: 39%; }
.compare-table thead th:nth-child(3) { color: #4c7a53; width: 39%; }
.compare-table tbody td {
  padding: 16px;
  border-bottom: 1px solid rgba(16, 22, 35, 0.08);
  font-size: 15px;
  line-height: 1.55;
  vertical-align: top;
  color: var(--ink-soft);
  text-align: left;
}
.compare-table tbody td:first-child { color: var(--ink); font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 700px) {
  .compare-table thead th, .compare-table tbody td { padding: 10px 8px; font-size: 13.5px; }
  .compare-table thead th:first-child, .compare-table tbody td:first-child { display: none; }
  .compare-table thead th:nth-child(2), .compare-table thead th:nth-child(3) { width: 50%; }
}

@media (max-width: 640px) {
  .page-hero { padding: 140px 0 56px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Stacked hero: the left-to-right funnel doesn't fit, so the diagram
     becomes a chip cluster flowing down into the warehouse card. */
  .horizon-frame {
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: auto;
    padding: 26px 20px 24px;
    text-align: center;
  }
  .diagram-svg { display: none; }
  .diagram-chip {
    position: static;
    display: inline-block;
    margin: 4px 3px;
    transform: none;
  }
  .diagram-warehouse {
    position: static;
    transform: none;
    width: 100%;
    max-width: 320px;
    margin: 6px auto 0;
    text-align: left;
  }
  .diagram-warehouse::before {
    content: "\2193";
    display: block;
    text-align: center;
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 10px;
  }
  .wh-icon-wrap { margin-left: auto; margin-right: auto; }
  .wh-title { text-align: center; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .process-path { grid-template-columns: 1fr; gap: 36px; }
  .process-path::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  /* tighten pill so logo + CTA + hamburger all fit at 390px; keep the icon from being flex-squeezed to 0 width */
  .nav-pill { gap: 12px; justify-content: space-between; }
  .nav-toggle { display: flex; flex: 0 0 auto; }
  .nav-toggle svg { flex-shrink: 0; }
  .nav-mobile-menu.open {
    display: block;
    position: fixed;
    top: 88px;
    left: 20px;
    right: 20px;
    background: var(--card);
    border-radius: 20px;
    box-shadow: var(--shadow-lift);
    padding: 20px;
    z-index: 99;
  }
  .nav-mobile-menu a {
    display: block;
    padding: 12px 6px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    border-bottom: 1px solid rgba(16, 22, 35, 0.06);
  }
  .nav-mobile-menu a:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  .hero { padding: 150px 0 72px; }
  .services-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 20px; }
  .capture-form { flex-direction: column; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .industry-row, .industry-row.flagship { padding: 22px 22px; }
}
