/* ===== V3.15 styles - copied verbatim from source/index.html <style> ===== */
:root {
  --ink: #0b0d12;
  --ink-2: #171a22;
  --paper: #f7f6f2;
  --paper-2: #efeee9;
  --white: #ffffff;
  --slate: #646a75;
  --slate-2: #8a909b;
  --line: #dcdad4;
  --violet: #5B8DEF;
  --violet-dark: #2F6FC9;
  --violet-soft: #EAF1FF;
  --green: #0a8f66;
  --green-soft: #e5f5ef;
  --amber: #ae6c12;
  --amber-soft: #f7eddb;
  --shadow: 0 24px 70px rgba(9, 11, 16, .13);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: #DCE8FF; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.hide { display: none !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 246, 242, .78);
  -webkit-backdrop-filter: saturate(145%) blur(18px);
  backdrop-filter: saturate(145%) blur(18px);
  border-bottom-color: rgba(11, 13, 18, .09);
  box-shadow: 0 4px 18px rgba(11, 13, 18, .035);
}
.nav-wrap { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; letter-spacing: -.04em; cursor: pointer; }
.brand-logo { width: 77px; height: auto; display: block; filter: brightness(0); }
.brand-product { font-size: 13px; font-weight: 640; letter-spacing: .01em; color: var(--slate); padding-left: 12px; border-left: 1px solid var(--line); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 560; color: #3d4149; }
.nav-link { transition: color .2s ease; cursor: pointer; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 680;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: white; box-shadow: 0 8px 20px rgba(11,13,18,.14); }
.btn-dark:hover { background: #1a1d25; }
.btn-light { background: transparent; border: 1px solid var(--line); }
.btn-light:hover { background: white; }
.btn-violet { background: var(--violet); color: white; }
.btn-violet:hover { background: var(--violet-dark); }
.menu-btn { display: none; border: 0; background: transparent; font-size: 22px; cursor: pointer; }

/* Shared */
.route { display: none; min-height: 70vh; }
.route.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-dark); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--violet); box-shadow: 0 0 0 5px var(--violet-soft); }
.display { font-size: clamp(50px, 7vw, 84px); line-height: .98; letter-spacing: -.055em; margin: 18px 0 24px; max-width: 980px; }
.display.sm { font-size: clamp(44px, 6vw, 72px); }
.lede { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: #4e535c; max-width: 760px; }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-dark { background: var(--ink); color: white; }
.section-dark .lede, .section-dark .muted { color: #aeb4c0; }
.section-line { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.045em; max-width: 760px; }
.section-head p { margin: 0; max-width: 420px; color: var(--slate); line-height: 1.6; }
.kicker { color: var(--slate); font-size: 14px; font-weight: 650; }
.muted { color: var(--slate); }
.pill { display: inline-flex; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: #565b65; background: rgba(255,255,255,.55); }

/* Home hero */
.hero { padding: 90px 0 62px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 64px; align-items: center; }
.hero .display { font-size: clamp(55px, 6.4vw, 86px); }
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: var(--slate); font-size: 13px; }
.hero-proof .divider { width: 1px; height: 20px; background: var(--line); }
.hero-visual { position: relative; min-width: 0; }
.hero-visual:before { content: ""; position: absolute; inset: -10% -18% -18% 18%; background: radial-gradient(circle at center, rgba(91,141,239,.20), rgba(91,141,239,0) 68%); filter: blur(5px); pointer-events: none; }
.product-frame { position: relative; border-radius: 22px; background: #10131b; padding: 9px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.10); overflow: hidden; }
.product-frame img { width: 100%; height: auto; display: block; border-radius: 14px; }


/* Homepage proof counters */
.home-proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-proof-item { padding: 30px 28px 32px; border-right: 1px solid var(--line); min-width: 0; }
.home-proof-item:first-child { padding-left: 0; }
.home-proof-item:last-child { border-right: 0; padding-right: 0; }
.home-proof-num { display: flex; align-items: baseline; min-height: 48px; font-size: clamp(38px, 4vw, 50px); font-weight: 790; line-height: 1; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.home-proof-unit { margin-left: 2px; font-size: .48em; font-weight: 760; letter-spacing: -.02em; }
.home-proof-unit-prefix { margin: 0 1px 0 0; font-size: .62em; }
.home-proof-label { margin-top: 10px; max-width: 235px; color: var(--slate); font-size: 13px; line-height: 1.5; }
/* V3.11: keep Quote proof metrics inside the hero/above-the-fold composition */
.quote-hero { padding: 68px 0 0; }
.quote-hero .home-proof { margin-top: 30px; }
.quote-hero .home-proof-item { padding-top: 22px; padding-bottom: 24px; }
.frame-bar { height: 34px; background: #10131b; display: flex; align-items: center; justify-content: space-between; padding: 0 9px 7px; color: #9299a8; font-size: 10px; }
.frame-dots { display: flex; gap: 5px; }
.frame-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3d4350; }
.frame-note { position: absolute; left: -34px; bottom: 28px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; box-shadow: 0 16px 34px rgba(9,11,16,.14); font-size: 13px; font-weight: 680; }
.frame-note span { display: block; font-size: 11px; font-weight: 560; color: var(--slate); margin-top: 4px; }

.logo-strip { padding: 26px 0 34px; }
.logo-strip-inner { display: flex; align-items: center; gap: 24px; color: #6d727b; font-size: 13px; border-top: 1px solid var(--line); padding-top: 26px; }
.logo-chip { padding: 8px 12px; background: #eeece6; border-radius: 8px; font-weight: 650; color: #4b5059; }

/* Old vs new */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-panel { border: 1px solid var(--line); padding: 34px; min-height: 390px; background: rgba(255,255,255,.48); }
.compare-panel.good { background: var(--ink); color: white; border-color: var(--ink); }
.compare-panel h3 { font-size: 24px; margin: 14px 0 28px; letter-spacing: -.025em; }
.flow-list { display: grid; gap: 1px; }
.flow-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid rgba(11,13,18,.10); }
.good .flow-step { border-color: rgba(255,255,255,.12); }
.step-icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #e8e6df; color: #515660; font-weight: 750; }
.good .step-icon { background: rgba(91,141,239,.24); color: #DCE8FF; }
.flow-step strong { display: block; font-size: 15px; margin-bottom: 4px; }
.flow-step span { font-size: 13px; color: var(--slate); line-height: 1.5; }
.good .flow-step span { color: #aab1bf; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { padding: 30px 26px 34px 0; position: relative; min-height: 225px; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step-num { color: var(--violet); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.step h3 { margin: 38px 0 10px; font-size: 20px; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--slate); line-height: 1.55; font-size: 14px; }

/* Outcome */
.outcome { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; }
.stat-stack { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #30333c; }
.stat { padding: 34px; border-bottom: 1px solid #30333c; }
.stat:nth-child(odd) { border-right: 1px solid #30333c; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat b { display: block; font-size: 42px; letter-spacing: -.05em; margin-bottom: 8px; }
.stat span { color: #aeb4c0; font-size: 13px; line-height: 1.5; }
.quote-mark { font-size: 30px; line-height: 1.35; letter-spacing: -.025em; margin: 16px 0 28px; }
.quote-source { color: #9299a8; font-size: 13px; }
.internal-note { margin-top: 18px; color: #7e8490; font-size: 11px; }

/* Integrations */
.systems { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: white; }
.system { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); }
.system:last-child { border: 0; }
.system span { display: block; font-weight: 730; font-size: 14px; }
.system small { color: var(--slate); font-size: 11px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card { border: 1px solid var(--line); background: rgba(255,255,255,.55); padding: 30px; min-height: 465px; display: flex; flex-direction: column; }
.price-card.featured { background: var(--ink); color: white; border-color: var(--ink); box-shadow: 0 24px 50px rgba(11,13,18,.13); transform: translateY(-8px); }
.price-card .tier { font-weight: 760; font-size: 18px; }
.price-card .best-for { color: var(--slate); font-size: 13px; margin-top: 6px; min-height: 38px; }
.price-card.featured .best-for { color: #aeb4c0; }
.price { margin: 34px 0 8px; font-size: 40px; letter-spacing: -.045em; font-weight: 760; }
.price small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--slate); }
.price-card.featured .price small { color: #aeb4c0; }
.recurring { font-size: 14px; color: var(--slate); margin-bottom: 26px; }
.price-card.featured .recurring { color: #b4bac5; }
.checks { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14px; color: #454a53; }
.price-card.featured .checks { color: #d8dbe2; }
.checks li:before { content: "✓"; color: var(--green); font-weight: 850; margin-right: 9px; }
.price-card .btn { margin-top: auto; width: 100%; }
.pricing-foot { font-size: 12px; color: var(--slate); margin-top: 18px; line-height: 1.6; }

/* Orchestrate preview */
.orch-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.orch-diagram { border: 1px solid #323640; padding: 24px; background: #10131a; }
.orch-top { border: 1px solid rgba(140,179,255,.45); background: rgba(91,141,239,.10); padding: 20px; margin-bottom: 16px; }
.orch-top b { display: block; margin-bottom: 6px; }
.orch-top span { color: #aeb4c0; font-size: 12px; }
.orch-engine { text-align: center; color: #8f96a3; font-size: 11px; padding: 8px; text-transform: uppercase; letter-spacing: .12em; }
.orch-systems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.orch-box { border: 1px solid #30343d; padding: 13px 6px; text-align: center; color: #ccd0d7; font-size: 11px; }

/* Product route */
.subhero { padding: 90px 0 60px; }
.subhero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 60px; align-items: center; }
.subhero .display { margin-top: 16px; }
.subhero-card { background: white; border: 1px solid var(--line); padding: 26px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 24px; }
.metric { padding: 18px 18px 0 0; }
.metric + .metric { border-left: 1px solid var(--line); padding-left: 18px; }
.metric b { display: block; font-size: 26px; letter-spacing: -.04em; }
.metric span { font-size: 11px; color: var(--slate); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--paper); padding: 34px; min-height: 250px; }
.feature .icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); margin-bottom: 54px; font-size: 14px; }
.feature h3 { font-size: 20px; letter-spacing: -.025em; margin: 0 0 9px; }
.feature p { color: var(--slate); line-height: 1.55; font-size: 14px; margin: 0; }
.screenshot-large { box-shadow: var(--shadow); background: #0e1118; border: 1px solid #232835; padding: 10px; }
.screenshot-large img { width: 100%; display: block; }

/* Orchestrate route */
.timeline { position: relative; display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 210px 1fr; border-bottom: 1px solid var(--line); min-height: 120px; }
.timeline-label { padding: 30px 30px 30px 0; font-weight: 720; }
.timeline-body { padding: 30px; border-left: 1px solid var(--line); color: var(--slate); line-height: 1.6; }
.timeline-body strong { color: var(--ink); }

/* Company */
.manifesto { max-width: 860px; font-size: clamp(32px, 4.5vw, 58px); line-height: 1.12; letter-spacing: -.045em; }
.manifesto em { font-style: normal; color: var(--violet); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--paper); padding: 34px; min-height: 270px; }
.value span { color: var(--violet); font-weight: 800; font-size: 12px; letter-spacing: .1em; }
.value h3 { margin: 52px 0 10px; font-size: 22px; }
.value p { color: var(--slate); line-height: 1.6; font-size: 14px; }

/* CTA/Footer */
.final-cta { padding: 96px 0; }
.cta-box { background: var(--violet); color: white; padding: clamp(38px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.cta-box h2 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.05em; line-height: 1; margin: 0 0 18px; max-width: 750px; }
.cta-box p { color: #DCE8FF; max-width: 600px; line-height: 1.55; margin: 0; }
.cta-box .btn { background: white; color: var(--ink); white-space: nowrap; }

/* V2.63: quieter pricing decision CTA */
.pricing-final-cta { padding: 52px 0 72px; }
.pricing-final-cta .cta-box {
  background: var(--violet-soft);
  color: var(--ink);
  border: 1px solid #C9D9F6;
  border-radius: 14px;
  padding: 28px 32px;
  gap: 24px;
  align-items: center;
}
.pricing-final-cta .cta-box h2 {
  max-width: 560px;
  margin-bottom: 9px;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.06;
}
.pricing-final-cta .cta-box p {
  max-width: 520px;
  color: #566276;
  font-size: 14px;
}
.pricing-final-cta .cta-box .btn {
  background: var(--violet);
  color: white;
  padding: 10px 15px;
  font-size: 13px;
}
.pricing-final-cta .cta-box .btn:hover { background: var(--violet-dark); }
footer { border-top: 1px solid var(--line); padding: 32px 0 50px; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 40px; }
.footer-logo { width: 72px; height: auto; display: block; filter: brightness(0); }
.footer-copy { color: var(--slate); font-size: 12px; line-height: 1.7; margin-top: 8px; max-width: 350px; }
.footer-links { display: flex; gap: 24px; color: var(--slate); font-size: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(11,13,18,.68); padding: 24px; }
.modal.open { display: flex; }
.modal-card { width: min(620px, 100%); background: var(--paper); box-shadow: 0 40px 100px rgba(0,0,0,.30); padding: 34px; position: relative; }
.modal-close { position: absolute; right: 18px; top: 16px; border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--slate); }
.modal-card h2 { font-size: 38px; margin: 10px 0 10px; letter-spacing: -.04em; }
.modal-card > p { color: var(--slate); line-height: 1.55; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1/-1; }
.form-field label { font-size: 12px; font-weight: 680; color: #555a63; }
.form-field input, .form-field select { border: 1px solid var(--line); background: white; padding: 12px 13px; border-radius: 7px; outline: none; }
.form-field input:focus, .form-field select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
.prototype-note { margin-top: 16px; font-size: 11px; color: var(--slate); }
.contact-error { font-size: 12px; font-weight: 680; color: #9f2f2f; padding-top: 2px; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-actions .btn-light { display: none; }
  .hero-grid, .subhero-grid, .outcome, .orch-preview { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-visual { margin-top: 12px; }
  .frame-note { left: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .step:nth-child(4) { border-top: 1px solid var(--line); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .feature-grid, .values-grid { grid-template-columns: 1fr; }
  .systems { grid-template-columns: 1fr 1fr; }
  .system { border-bottom: 1px solid var(--line); }
  .system:nth-child(even) { border-right: 0; }
  .system:last-child { grid-column: 1 / -1; }
  .cta-box { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, var(--max)); }
  .nav-wrap { height: 64px; }
  .brand-product { display: none; }
  .nav-actions .btn-dark { display: none; }
  .hero { padding-top: 54px; }
  .hero .display { font-size: clamp(48px, 15vw, 68px); }
  .lede { font-size: 18px; }
  .section, .final-cta { padding: 72px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .compare-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0; min-height: 170px; }
  .step:first-child { border-top: 0; }
  .step h3 { margin-top: 24px; }
  .stat-stack { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd) { border-right: 0; border-bottom: 1px solid #30333c; }
  .stat:last-child { border-bottom: 0; }
  .systems { grid-template-columns: 1fr; }
  .system, .system:nth-child(even), .system:last-child { border-right: 0; grid-column: auto; }
  .metric-row { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 18px; }
  .timeline-row { grid-template-columns: 1fr; }
  .timeline-body { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 28px; flex-wrap: wrap; }
  .frame-note { position: static; margin-top: 10px; display: inline-block; }
}


/* V2.3 pricing alignment */
.price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  margin: 0 0 1rem;
}

.price-block .price {
  margin: 0;
  line-height: 1.02;
}

.implementation-label {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.82;
}

/* Normalize legacy price layouts inside pricing cards */
.pricing-card .price,
.price-card .price {
  margin-bottom: 0;
}


/* V2.4: larger product visual + generic stack + screenshot zoom */
.hero .container {
  width: min(1320px, calc(100% - 48px));
}
.hero-grid {
  grid-template-columns: .82fr 1.18fr;
  gap: 44px;
}
.hero-visual {
  width: 108%;
}
.product-frame {
  cursor: zoom-in;
}
.product-frame img {
  width: 100%;
}
.frame-note {
  display: none !important;
}

/* Dark-panel pills: high contrast, no grey-on-grey */
.compare-panel.good .pill,
.section-dark .pill {
  background: rgba(255,255,255,.08);
  color: #f5f6fb;
  border-color: rgba(255,255,255,.25);
}

/* Quote screenshot zoom */
.zoomable-shot {
  cursor: zoom-in;
}
.zoomable-wrap {
  position: relative;
}
.zoom-hint {
  position: absolute;
  right: 22px;
  bottom: 22px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border: 1px solid rgba(11,13,18,.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
  pointer-events: none;
}
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4,6,10,.92);
  padding: 34px;
  align-items: center;
  justify-content: center;
}
.image-modal.open {
  display: flex;
}
.image-modal img {
  display: block;
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  box-shadow: 0 32px 90px rgba(0,0,0,.44);
}
.image-modal-close {
  position: fixed;
  right: 22px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.08);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* CRM / AMS compatibility rail */
.integration-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  background: white;
}
.integration-brand {
  min-height: 102px;
  padding: 22px 14px;
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.02em;
}
.integration-brand:last-child {
  border-right: 0;
}
.integration-note {
  margin: 16px 0 0;
  color: var(--slate);
  font-size: 11px;
  line-height: 1.6;
}

/* Pricing alignment: guaranteed two-line price + implementation */
.price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 26px 0 8px;
}
.price-block .price {
  margin: 0;
  line-height: 1.03;
}
.implementation-label {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
}
.price-card.featured .implementation-label {
  color: #aeb4c0;
}

/* V2.50: fit text-based homepage pricing labels within existing card geometry */
.price-card .price.price-text {
  font-size: 30px;
  letter-spacing: -.03em;
}

/* Responsive adjustments */
@media (max-width: 1180px) {
  .hero-visual { width: 100%; }
  .hero-grid { grid-template-columns: .92fr 1.08fr; }
  .integration-rail { grid-template-columns: repeat(3, 1fr); }
  .integration-brand { border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .hero .container { width: min(var(--max), calc(100% - 48px)); }
  .hero-grid { grid-template-columns: 1fr; }
  .integration-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .integration-rail { grid-template-columns: 1fr 1fr; }
  .image-modal { padding: 12px; }
  .zoom-hint { display: none; }
}


/* V2.5 direct-process messaging */
.old-way .risk-step {
  background: #fbf8f3;
  margin-left: -14px;
  margin-right: -14px;
  padding-left: 14px;
  padding-right: 14px;
}
.process-risk {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #f7f5f1;
  color: #494c55;
  font-size: 13px;
  line-height: 1.55;
}
.compare-panel .flow-step span {
  max-width: 50ch;
}


/* V2.6 hero cleanup */
.frame-label {
  display: none !important;
}


/* V2.9 stack overview */
.stack-overview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #faf9f7;
  padding: 30px 0 34px;
}

.stack-overview-head {
  margin-bottom: 22px;
}

.stack-map {
  max-width: 1120px;
}

.stack-map-main {
  display: grid;
  grid-template-columns: minmax(115px,.8fr) 42px minmax(135px,1fr) 52px minmax(150px,1.05fr) 52px minmax(145px,1fr);
  align-items: center;
}

.stack-map-node {
  min-height: 84px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  text-align: center;
  font-weight: 720;
  letter-spacing: -.015em;
}

.stack-map-node-small {
  min-height: 68px;
}

.stack-map-node-oblq {
  min-height: 104px;
  background: #0b0e14;
  border-color: #0b0e14;
  color: #fff;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 14px 34px rgba(11,14,20,.10);
}

.stack-map-node-oblq small {
  font-size: 10px;
  letter-spacing: .12em;
  opacity: .55;
}

.stack-map-node-oblq strong {
  font-size: 23px;
  letter-spacing: -.03em;
}

.stack-map-arrow,
.stack-map-down {
  text-align: center;
  color: #747985;
  font-size: 25px;
  font-weight: 400;
}

.stack-map-output {
  width: 150px;
  margin-left: calc(42px + 0.8fr);
}

.stack-map-output {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* Position Email beneath the central Quote node on wide screens */
@media (min-width: 901px) {
  .stack-map {
    position: relative;
    padding-bottom: 100px;
  }
  .stack-map-output {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    margin-left: 0;
    width: 145px;
  }
}

@media (max-width: 900px) {
  .stack-map-main {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stack-map-arrow {
    transform: rotate(90deg);
    height: 26px;
    line-height: 26px;
  }

  .stack-map-output {
    width: 100%;
    margin: 8px 0 0;
  }

  .stack-map-node {
    min-height: 70px;
  }

  .stack-map-node-oblq {
    min-height: 90px;
  }
}


/* V2.11 stack visual */
.stack-overview-image {
  background: #fbfbfc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.stack-overview-graphic {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1440px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .stack-overview-image {
    padding: 18px 0;
  }

  .stack-overview-image .container {
    width: calc(100% - 20px);
  }
}


/* V2.13: Quote-only comparison section */
.compare-grid-single {
  grid-template-columns: 1fr !important;
  max-width: 920px;
  margin-left: 0;
  margin-right: auto;
}

.quote-only-panel {
  width: 100%;
  text-align: left;
  justify-self: start;
}

.quote-only-panel .pill,
.quote-only-panel h3,
.quote-only-panel .flow-list,
.quote-only-panel .flow-step,
.quote-only-panel .flow-step > div:last-child {
  text-align: left;
}

.quote-only-panel .flow-step {
  justify-content: flex-start;
}

.quote-only-panel .flow-step span {
  max-width: 64ch;
}

@media (max-width: 900px) {
  .compare-grid-single {
    max-width: 100%;
  }
}


/* V2.14 alternating Quote workflow section */
.quote-alternating-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 76px;
  align-items: center;
}

.quote-alternating-workflow {
  min-width: 0;
}

.quote-alternating-copy {
  text-align: right;
  max-width: 520px;
  justify-self: end;
}

.quote-alternating-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.7vw, 56px);
  line-height: .98;
  letter-spacing: -.045em;
}

.quote-alternating-copy p {
  margin: 0 0 0 auto;
  max-width: 47ch;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.7;
}

.quote-alternating-workflow .compare-grid-single {
  max-width: none;
  margin: 0;
}

@media (max-width: 980px) {
  .quote-alternating-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .quote-alternating-copy {
    text-align: left;
    justify-self: start;
    max-width: 680px;
  }

  .quote-alternating-copy p {
    margin-left: 0;
  }
}


/* V2.16 systems section divider */
.systems-section {
  border-top: 1px solid var(--line);
}


/* V2.17: soften and inset the Quote feature band */
.quote-feature-section {
  padding: 72px 0;
  background: #f8f7f4;
}

.quote-feature-section .quote-alternating-grid {
  align-items: center;
}

.quote-only-panel {
  background: #11141a !important;
  border-color: #242932 !important;
  border-radius: 18px;
  min-height: auto;
  padding: 38px 42px;
  box-shadow: 0 18px 48px rgba(11, 14, 20, 0.08);
}

.quote-only-panel .flow-step {
  border-color: #2a3039;
}

.quote-only-panel .pill {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.20);
  color: #f5f6f8;
}

.quote-alternating-copy {
  padding: 20px 0;
}

@media (max-width: 980px) {
  .quote-feature-section {
    padding: 54px 0;
  }

  .quote-only-panel {
    padding: 32px 28px;
  }
}

@media (max-width: 620px) {
  .quote-feature-section {
    padding: 42px 0;
  }

  .quote-only-panel {
    border-radius: 14px;
    padding: 28px 22px;
  }
}


/* V2.19: unify hero and customer-section typography */
.hero .display {
  font-size: clamp(32px, 3.7vw, 56px);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 18px;
  max-width: 760px;
}

.hero .lede {
  font-size: 16px;
  line-height: 1.7;
  max-width: 47ch;
  color: var(--slate);
}

/* Keep the same visual hierarchy on mobile */
@media (max-width: 680px) {
  .hero .display {
    font-size: clamp(38px, 11vw, 54px);
  }

  .hero .lede {
    font-size: 16px;
    line-height: 1.7;
  }
}


/* V2.24 editable integration stack */
.stack-live {
  padding: 86px 0 92px;
  background: #fbfaf7;
  overflow: hidden;
}

.stack-live-head {
  align-items: end;
  margin-bottom: 48px;
}

.stack-live-head h2 {
  max-width: 720px;
}

.stack-live-head p {
  max-width: 430px;
}

.stack-live-grid {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1fr 1.14fr 1fr;
  gap: 18px;
  align-items: stretch;
}

/* Subtle system connection line, no decorative arrow glyphs */
.stack-live-grid::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 50%;
  height: 1px;
  background: #cbc9c3;
  z-index: 0;
}

.stack-live-card {
  position: relative;
  z-index: 1;
  min-height: 290px;
  padding: 28px 27px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(11, 13, 18, .035);
}

.stack-live-title {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -.025em;
}

.stack-live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.stack-live-list li {
  position: relative;
  padding-left: 17px;
  color: #454a53;
  font-size: 14px;
  line-height: 1.45;
}

.stack-live-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa0aa;
}

.stack-live-card-quote {
  background: #11141a;
  color: white;
  border-color: #11141a;
  transform: translateY(-12px);
  box-shadow: 0 22px 50px rgba(11, 13, 18, .12);
}

.stack-live-card-quote .stack-live-brand {
  padding-bottom: 15px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #b8bdc7;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: .02em;
}

.stack-live-card-quote h3 {
  margin: 0 0 24px;
  max-width: 12ch;
  font-size: 27px;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.stack-live-card-quote .stack-live-list li {
  color: #d8dbe1;
}

.stack-live-card-quote .stack-live-list li::before {
  background: #5B8DEF;
}

.stack-live-email {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.stack-live-email > div {
  min-width: 330px;
  padding: 16px 21px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.stack-live-email strong {
  font-size: 14px;
}

.stack-live-email span {
  color: var(--slate);
  font-size: 13px;
}

@media (max-width: 1050px) {
  .stack-live-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-live-grid::before {
    display: none;
  }

  .stack-live-card-quote {
    transform: none;
  }
}

@media (max-width: 720px) {
  .stack-live {
    padding: 64px 0 70px;
  }

  .stack-live-head {
    display: block;
    margin-bottom: 34px;
  }

  .stack-live-head p {
    margin-top: 16px;
  }

  .stack-live-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stack-live-card {
    min-height: 0;
  }

  .stack-live-email > div {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}


/* V2.25 connected, editable stack diagram */
.stack-modern {
  padding: 92px 0 104px;
  background:
    radial-gradient(circle at 52% 48%, rgba(96, 91, 238, .045), transparent 31%),
    #fbfbfc;
  overflow: hidden;
}

.stack-modern-head {
  margin-bottom: 54px;
  align-items: end;
}

.stack-modern-head h2 {
  max-width: 760px;
}

.stack-modern-head p {
  max-width: 420px;
}

.stack-modern-stage {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding-bottom: 108px;
}

.stack-modern-row {
  display: grid;
  grid-template-columns:
    minmax(190px, .92fr) 54px
    minmax(205px, 1fr) 62px
    minmax(245px, 1.18fr) 62px
    minmax(205px, 1fr);
  align-items: center;
  gap: 0;
}

.stack-modern-card {
  position: relative;
  z-index: 2;
  min-height: 318px;
  padding: 26px 25px 24px;
  border: 1px solid #dedfe4;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow:
    0 18px 50px rgba(20, 24, 34, .045),
    0 2px 8px rgba(20, 24, 34, .025);
}

.stack-modern-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.stack-modern-card-head strong {
  font-size: 18px;
  letter-spacing: -.025em;
}

.stack-modern-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.stack-modern-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stack-modern-icon-violet {
  color: #5B8DEF;
  background: #EDF4FF;
}

.stack-modern-icon-green {
  color: #1d9b69;
  background: #e9f8f1;
}

.stack-modern-icon-blue {
  color: #3479df;
  background: #edf4ff;
}

.stack-modern-rule {
  height: 1px;
  margin: 22px 0 19px;
  background: #e3e4e8;
}

.stack-modern-card ul,
.stack-modern-card-quote ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 15px;
}

.stack-modern-card li,
.stack-modern-card-quote li {
  position: relative;
  padding-left: 18px;
  color: #4a505b;
  font-size: 14px;
  line-height: 1.4;
}

.stack-modern-card li::before,
.stack-modern-card-quote li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ca2ad;
}

.stack-modern-card-quote {
  min-height: 390px;
  padding: 29px 30px 28px;
  color: white;
  background:
    radial-gradient(circle at 50% 12%, rgba(91, 141, 239, .16), transparent 34%),
    #111824;
  border-color: #111824;
  box-shadow:
    0 28px 72px rgba(17, 24, 36, .18),
    0 4px 18px rgba(17, 24, 36, .08);
  transform: translateY(-8px);
}

.stack-modern-quote-brand {
  color: #a8afbb;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-align: center;
}

.stack-modern-quote-name {
  margin-top: 2px;
  color: #8CB3FF;
  font-size: 13px;
  font-weight: 760;
  text-align: center;
}

.stack-modern-quote-icon {
  width: 62px;
  height: 62px;
  margin: 18px auto 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(140, 179, 255, .62);
  border-radius: 50%;
  color: #5B8DEF;
  background: rgba(91,141,239,.06);
}

.stack-modern-quote-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stack-modern-card-quote h3 {
  margin: 0 auto 24px;
  max-width: 13ch;
  font-size: 27px;
  line-height: 1.03;
  letter-spacing: -.04em;
  text-align: center;
}

.stack-modern-card-quote li {
  color: #d7dce4;
}

.stack-modern-card-quote li::before {
  background: #5B8DEF;
}

/* Live connectors */
.stack-modern-connector {
  position: relative;
  z-index: 1;
  height: 30px;
}

.stack-modern-connector span {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: #b8bdc7;
  transform: translateY(-50%);
}

.stack-modern-connector-forward span {
  background: linear-gradient(90deg, #5B8DEF, #8CB3FF);
}

.stack-modern-connector-forward span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #5B8DEF;
  border-right: 2px solid #5B8DEF;
  transform: translateY(-50%) rotate(45deg);
}

.stack-modern-connector-both span {
  background: #41a67a;
}

.stack-modern-connector-both span::before,
.stack-modern-connector-both span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #41a67a;
  border-right: 2px solid #41a67a;
}

.stack-modern-connector-both span::before {
  left: -1px;
  transform: translateY(-50%) rotate(-135deg);
}

.stack-modern-connector-both span::after {
  right: -1px;
  transform: translateY(-50%) rotate(45deg);
}

/* Email branch */
.stack-modern-email-branch {
  position: absolute;
  left: 50%;
  top: 382px;
  width: 1px;
  height: 66px;
  transform: translateX(-50%);
}

.stack-modern-email-line {
  display: block;
  width: 1px;
  height: 100%;
  background:
    repeating-linear-gradient(
      to bottom,
      #5B8DEF 0 4px,
      transparent 4px 9px
    );
}

.stack-modern-email-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #5B8DEF;
  border-bottom: 2px solid #5B8DEF;
  transform: translateX(-50%) rotate(45deg);
}

.stack-modern-email {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(390px, 44%);
  min-height: 76px;
  padding: 15px 19px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #dedfe4;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 42px rgba(20, 24, 34, .055);
  transform: translateX(-50%);
}

.stack-modern-email strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.stack-modern-email span:not(.stack-modern-icon) {
  color: var(--slate);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1160px) {
  .stack-modern-row {
    grid-template-columns:
      minmax(170px,.9fr) 38px
      minmax(190px,1fr) 42px
      minmax(225px,1.14fr) 42px
      minmax(190px,1fr);
  }

  .stack-modern-card {
    padding-left: 21px;
    padding-right: 21px;
  }

  .stack-modern-card-quote {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (max-width: 960px) {
  .stack-modern-stage {
    padding-bottom: 0;
  }

  .stack-modern-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stack-modern-connector {
    display: none;
  }

  .stack-modern-card,
  .stack-modern-card-quote {
    min-height: 0;
    transform: none;
  }

  .stack-modern-card-quote {
    grid-column: 1 / -1;
  }

  .stack-modern-email-branch {
    display: none;
  }

  .stack-modern-email {
    position: static;
    width: 100%;
    margin-top: 16px;
    transform: none;
  }
}

@media (max-width: 680px) {
  .stack-modern {
    padding: 68px 0 76px;
  }

  .stack-modern-head {
    display: block;
    margin-bottom: 34px;
  }

  .stack-modern-head p {
    margin-top: 15px;
  }

  .stack-modern-row {
    grid-template-columns: 1fr;
  }

  .stack-modern-card-quote {
    grid-column: auto;
  }
}


/* V2.26 stack capability strip */
.stack-modern-stage {
  padding-bottom: 218px;
}

.stack-modern-capabilities {
  position: absolute;
  left: 50%;
  bottom: -96px;
  width: min(980px, 84%);
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #dedfe4;
  border-radius: 17px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 46px rgba(20, 24, 34, .05);
  transform: translateX(-50%);
  overflow: hidden;
}

.stack-modern-capability {
  min-width: 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stack-modern-capability + .stack-modern-capability {
  border-left: 1px solid #e2e3e7;
}

.stack-modern-capability-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.stack-modern-capability-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-violet {
  color: #5B8DEF;
  background: #EDF4FF;
}

.capability-green {
  color: #1d9b69;
  background: #edf8f3;
}

.capability-blue {
  color: #3479df;
  background: #edf4ff;
}

.stack-modern-capability strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 1.25;
}

.stack-modern-capability span:not(.stack-modern-capability-icon) {
  display: block;
  color: var(--slate);
  font-size: 12.5px;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .stack-modern-stage {
    padding-bottom: 0;
  }

  .stack-modern-capabilities {
    position: static;
    width: 100%;
    margin-top: 16px;
    transform: none;
  }
}

@media (max-width: 680px) {
  .stack-modern-capabilities {
    grid-template-columns: 1fr;
  }

  .stack-modern-capability + .stack-modern-capability {
    border-left: 0;
    border-top: 1px solid #e2e3e7;
  }
}


/* V2.27 stack composition polish */

/* Bring heading and supporting copy into a tighter visual group */
.stack-modern-head {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 42px;
  margin-bottom: 46px;
}

.stack-modern-head p {
  max-width: 390px;
  justify-self: start;
  margin-left: -12px;
}

/* Tighten overall stage geometry while preserving room for the capability strip */
.stack-modern-stage {
  padding-bottom: 202px;
}

/* Slightly reduce central hub dominance */
.stack-modern-card-quote {
  min-height: 354px;
  transform: translateY(-2px);
  padding-top: 26px;
  padding-bottom: 25px;
}

.stack-modern-card-quote h3 {
  margin-bottom: 21px;
  font-size: 26px;
}

.stack-modern-card-quote ul {
  gap: 13px;
}

/* Nudge surrounding cards up slightly for a cleaner shared centerline */
.stack-modern-card-leads,
.stack-modern-card-crm,
.stack-modern-card-carriers {
  transform: translateY(-6px);
}

/* Standardize connector geometry and make lines feel attached to the cards */
.stack-modern-connector {
  height: 28px;
}

.stack-modern-connector span {
  left: 4px;
  right: 4px;
  height: 1.5px;
}

/* Pull the email branch up so it reads as part of Quote, not a separate floor */
.stack-modern-email-branch {
  top: 342px;
  height: 44px;
}

.stack-modern-email {
  bottom: 92px;
  width: min(380px, 42%);
  min-height: 72px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Keep a deliberate 28px-ish gap between Email and capability strip */
.stack-modern-capabilities {
  bottom: -2px;
  width: min(1160px, 94%);
  min-height: 84px;
}

/* Give the capability strip comfortable internal centering */
.stack-modern-capability {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* More breathing room below the entire diagram before the divider/next section */
.stack-modern {
  padding-bottom: 122px;
}

@media (max-width: 1160px) {
  .stack-modern-head p {
    margin-left: 0;
  }

  .stack-modern-capabilities {
    width: 92%;
  }
}

@media (max-width: 960px) {
  .stack-modern-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stack-modern-head p {
    max-width: 520px;
  }

  .stack-modern-stage {
    padding-bottom: 0;
  }

  .stack-modern-card-leads,
  .stack-modern-card-crm,
  .stack-modern-card-carriers,
  .stack-modern-card-quote {
    transform: none;
  }

  .stack-modern-email {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .stack-modern-capabilities {
    position: static;
    width: 100%;
    margin-top: 28px;
  }

  .stack-modern {
    padding-bottom: 80px;
  }
}


/* V2.28: no divider above stack section */
.stack-modern {
  border-top: 0 !important;
}


/* V2.30: stack lower-layout positioning matched to reference */

/* Give the whole composition enough reserved space below the main cards */
.stack-modern-stage {
  padding-bottom: 240px;
}

/* Email connector begins at the Quote card and terminates at the Email box */
.stack-modern-email-branch {
  top: 350px;
  height: 34px;
  z-index: 3;
}

.stack-modern-email-line {
  position: relative;
  height: 100%;
}

/* Put the arrowhead directly against the top edge of the Email card */
.stack-modern-email-line::after {
  bottom: -2px;
}

/* Pull Email directly under Quote */
.stack-modern-email {
  bottom: 116px;
  width: min(380px, 42%);
  min-height: 70px;
  padding: 13px 18px;
  z-index: 4;
}

/* Push the capability foundation row lower and give it separation from Email */
.stack-modern-capabilities {
  bottom: -12px;
  width: min(1160px, 94%);
  min-height: 84px;
  z-index: 2;
}

/* Keep a generous section floor under the capabilities row */
.stack-modern {
  padding-bottom: 138px;
}

/* Make the intended gap visually explicit on desktop */
@media (min-width: 961px) {
  .stack-modern-email {
    margin-bottom: 0;
  }

  .stack-modern-capabilities {
    margin-top: 0;
  }
}

@media (max-width: 960px) {
  .stack-modern-stage {
    padding-bottom: 0;
  }

  .stack-modern-email {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .stack-modern-capabilities {
    position: static;
    width: 100%;
    margin-top: 30px;
  }

  .stack-modern {
    padding-bottom: 82px;
  }
}


/* V2.31: directly connect Quote to Email & Text */
@media (min-width: 961px) {
  .stack-modern-stage {
    /* Main card row + Email branch + capabilities foundation */
    padding-bottom: 250px;
  }

  /* Quote is the positioning reference visually; its desktop bottom is
     approximately 352px from the top of the stage after V2.27/V2.30 sizing. */
  .stack-modern-email-branch {
    left: 50%;
    top: 352px;
    width: 1px;
    height: 34px;
    transform: translateX(-50%);
    z-index: 5;
  }

  .stack-modern-email-line {
    display: block;
    width: 1px;
    height: 100%;
    position: relative;
    background:
      repeating-linear-gradient(
        to bottom,
        #5B8DEF 0 4px,
        transparent 4px 8px
      );
  }

  .stack-modern-email-line::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #5B8DEF;
    border-bottom: 2px solid #5B8DEF;
    transform: translate(-50%, 0) rotate(45deg);
    background: transparent;
  }

  .stack-modern-email {
    left: 50%;
    top: 386px;
    bottom: auto;
    width: 380px;
    min-height: 70px;
    transform: translateX(-50%);
    z-index: 4;
  }

  .stack-modern-capabilities {
    left: 50%;
    top: 492px;
    bottom: auto;
    width: min(1160px, 94%);
    transform: translateX(-50%);
  }
}


/* V2.32: align Email & Text to the actual Quote column center */
@media (min-width: 961px) {
  .stack-modern-email-branch,
  .stack-modern-email {
    left: calc(61.22% + 7px);
  }

  /* Start directly at the Quote tile's bottom edge */
  .stack-modern-email-branch {
    top: 352px;
    height: 28px;
    transform: translateX(-50%);
  }

  /* Email & Text begins exactly where the connector ends */
  .stack-modern-email {
    top: 380px;
    bottom: auto;
    width: 300px;
    min-height: 70px;
    transform: translateX(-50%);
  }

  /* Keep the capability row clearly separated beneath it */
  .stack-modern-capabilities {
    top: 492px;
  }
}


/* V2.33: equalize Quote-to-Email spacing with horizontal card spacing */
@media (min-width: 961px) {
  /* Reserve enough vertical room for the newly spaced lower elements. */
  .stack-modern-stage {
    padding-bottom: 330px;
  }

  /* Quote bottom is ~369px from the top of the stage at this breakpoint.
     Begin the connector at the tile edge and span the full visual gap. */
  .stack-modern-email-branch {
    left: calc(61.22% + 7px);
    top: 369px;
    height: 62px;
    transform: translateX(-50%);
  }

  /* Email & Text starts at the end of that ~62px connector gap. */
  .stack-modern-email {
    left: calc(61.22% + 7px);
    top: 431px;
    bottom: auto;
    width: 300px;
    transform: translateX(-50%);
  }

  /* Maintain a deliberate gap between Email & Text and the capability strip. */
  .stack-modern-capabilities {
    top: 553px;
  }
}


/* V2.34: double the gap below Email & Text without moving Email & Text */
@media (min-width: 961px) {
  .stack-modern-stage {
    padding-bottom: 390px;
  }

  .stack-modern-capabilities {
    top: 605px;
  }
}


/* V2.35: balance top and bottom whitespace in the stack section */
@media (min-width: 961px) {
  .stack-modern {
    padding-bottom: 76px;
  }

  .stack-modern-stage {
    padding-bottom: 330px;
  }
}

/* How it works route */
.how-route { background: var(--paper); }
.how-hero { padding-bottom: 28px; }
.how-hero .lede { max-width: 820px; }

/* V2.59: editorial product journey, reduced to dots + connective line */
.how-process-section { padding-top: 0; padding-bottom: 96px; }
.how-journey { position: relative; width: min(920px, 100%); margin: 0 auto; }
.how-journey::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 64px;
  bottom: 64px;
  width: 1px;
  background: var(--line);
}
.how-journey-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  position: relative;
  padding: 48px 0;
}
.how-journey-step:first-child { padding-top: 0; }
.how-journey-step + .how-journey-step { border-top: 1px solid rgba(11,13,18,.065); }
.how-journey-dot {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--violet);
  box-shadow: 0 0 0 7px var(--paper);
}
.how-step-body { max-width: 800px; }
.how-step-body h3 { margin: 0 0 14px; font-size: clamp(25px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.12; }
.how-step-body p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.68; }
.how-step-body .how-fine { margin-top: 14px; color: var(--slate-2); font-size: 12px; line-height: 1.6; }

/* V2.58: Trust is an assurance layer, not another card grid */
.how-trust-section { background: var(--ink); color: #fff; border-top: 1px solid #20242d; border-bottom: 1px solid #20242d; padding-top: 88px; padding-bottom: 88px; }
.how-trust-layout { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.35fr); gap: clamp(64px, 9vw, 124px); align-items: start; }
.how-trust-intro { position: sticky; top: 112px; }
.how-trust-intro .eyebrow { color: #8CB3FF; }
.how-trust-intro h2 { margin: 15px 0 0; max-width: 410px; color: #fff; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; line-height: 1.02; }
.how-trust-proof-list { border-top: 1px solid rgba(255,255,255,.18); }
.how-trust-proof { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 24px; padding: 31px 0 33px; border-bottom: 1px solid rgba(255,255,255,.18); }
.how-trust-icon { width: 48px; height: 48px; display: grid; place-items: center; }
.how-trust-icon svg { width: 43px; height: 43px; fill: none; stroke: #8CB3FF; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.how-trust-proof h3 { margin: 1px 0 9px; color: #fff; font-size: 22px; letter-spacing: -.025em; line-height: 1.2; }
.how-trust-proof p { margin: 0; max-width: 620px; color: #b8bdc7; font-size: 14px; line-height: 1.7; }

.how-section-head { display: block; }
.how-section-head > div { max-width: 800px; }
.how-section-head h2 { margin-top: 14px; }
.how-narrow { width: min(880px, calc(100% - 48px)); }
.how-faq { border-top: 1px solid var(--line); }
.how-faq details { border-bottom: 1px solid var(--line); }
.how-faq summary { list-style: none; cursor: pointer; padding: 24px 46px 24px 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; position: relative; }
.how-faq summary::-webkit-details-marker { display: none; }
.how-faq summary:after { content: "+"; position: absolute; right: 2px; top: 21px; color: var(--slate); font-size: 24px; font-weight: 400; }
.how-faq details[open] summary:after { content: "−"; }
.how-faq details p { margin: -4px 0 26px; max-width: 760px; color: var(--slate); line-height: 1.7; font-size: 14px; }
.how-final-cta { padding-top: 48px; }

@media (max-width: 900px) {
  .how-trust-layout { grid-template-columns: 1fr; gap: 42px; }
  .how-trust-intro { position: static; }
  .how-trust-intro h2 { max-width: 620px; }
}

@media (max-width: 760px) {
  .how-hero { padding-bottom: 24px; }
  .how-process-section { padding-top: 0; padding-bottom: 60px; }
  .how-journey::before { left: 5px; top: 42px; bottom: 48px; }
  .how-journey-step { grid-template-columns: 24px minmax(0, 1fr); gap: 18px; padding: 34px 0 42px; }
  .how-journey-step:first-child { padding-top: 0; }
  .how-journey-dot { width: 11px; height: 11px; margin-top: 8px; box-shadow: 0 0 0 6px var(--paper); }
  .how-step-body h3 { margin-bottom: 12px; font-size: 25px; line-height: 1.12; }
  .how-step-body p { font-size: 14px; line-height: 1.66; }
  .how-step-body .how-fine { margin-top: 12px; font-size: 11.5px; }
  .how-trust-section { padding-top: 64px; padding-bottom: 64px; }
  .how-trust-layout { gap: 30px; }
  .how-trust-intro h2 { margin-top: 12px; font-size: 36px; line-height: 1.04; }
  .how-trust-proof { grid-template-columns: 46px minmax(0,1fr); gap: 17px; padding: 26px 0 28px; }
  .how-trust-icon { width: 40px; height: 40px; }
  .how-trust-icon svg { width: 36px; height: 36px; }
  .how-trust-proof h3 { margin-top: 0; font-size: 20px; }
  .how-trust-proof p { font-size: 13.5px; line-height: 1.68; }
}

@media (max-width: 420px) {
  .how-step-body h3 { font-size: 23px; }
  .how-trust-intro h2 { font-size: 32px; }
  .how-trust-proof { grid-template-columns: 40px minmax(0,1fr); gap: 14px; }
  .how-trust-icon svg { width: 32px; height: 32px; }
}


/* V2.60 mobile-first proof counter layout */
@media (max-width: 760px) {
  .home-proof .container { width: min(var(--max), calc(100% - 32px)); }
  .home-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-proof-item { padding: 25px 18px 27px; border-bottom: 1px solid var(--line); }
  .home-proof-item:first-child { padding-left: 0; }
  .home-proof-item:nth-child(2) { border-right: 0; padding-right: 0; }
  .home-proof-item:nth-child(3) { padding-left: 0; border-bottom: 0; }
  .home-proof-item:nth-child(4) { border-right: 0; border-bottom: 0; padding-right: 0; }
  .home-proof-num { min-height: 40px; font-size: clamp(32px, 10vw, 42px); }
  .home-proof-label { max-width: 170px; font-size: 12px; line-height: 1.45; }
}
@media (max-width: 380px) {
  .home-proof-item { padding-left: 12px; padding-right: 12px; }
  .home-proof-item:first-child, .home-proof-item:nth-child(3) { padding-left: 0; }
  .home-proof-item:nth-child(2), .home-proof-item:nth-child(4) { padding-right: 0; }
  .home-proof-num { font-size: 30px; }
  .home-proof-label { font-size: 11.5px; }
}


/* Company V2.62 */
.company-hero { padding-bottom: 88px; }
.company-hero-lede { max-width: 720px; margin: 28px 0 0; color: var(--slate); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.6; }
.company-intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .72fr); gap: 72px; align-items: end; margin-bottom: 64px; }
.company-intro-grid h2 { margin: 16px 0 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -.045em; max-width: 760px; }
.company-intro-grid > p { margin: 0; color: var(--slate); line-height: 1.65; font-size: 15px; max-width: 430px; }
.company-principles { border-top: 1px solid var(--line); }
.company-principle { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 72px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.company-principle h3 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.company-principle p { margin: 0; color: var(--slate); line-height: 1.65; max-width: 670px; }
.company-build { background: var(--paper-2); }
.company-build-head > div, .company-why-head > div { min-width: 0; }
.company-build-head h2, .company-why-head h2 { margin-top: 14px; }
.company-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-cap { padding: 40px 34px 42px 0; min-height: 220px; }
.company-cap + .company-cap { border-left: 1px solid var(--line); padding-left: 34px; }
.company-cap h3 { margin: 0 0 54px; font-size: 22px; letter-spacing: -.03em; }
.company-cap p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.65; }
.company-values .value { min-height: 230px; }
.company-values .value h3 { margin: 0 0 12px; }
.company-quote-band .eyebrow { color: #8CB3FF; }
.company-quote-band .section-head { margin-bottom: 0; }
.company-quote-band .section-head p { color: #aeb4c0; }

@media (max-width: 900px) {
  .company-hero { padding-bottom: 66px; }
  .company-intro-grid { grid-template-columns: 1fr; gap: 26px; margin-bottom: 44px; }
  .company-intro-grid > p { max-width: 680px; }
  .company-principle { grid-template-columns: 1fr; gap: 10px; padding: 25px 0; }
  .company-cap-grid { grid-template-columns: 1fr; }
  .company-cap { min-height: 0; padding: 30px 0; }
  .company-cap + .company-cap { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .company-cap h3 { margin-bottom: 12px; }
  .company-quote-band .section-head { align-items: start; }
}


/* V3.12: tighten top rhythm across Home, Pricing, and Company */
@media (min-width: 901px) {
  .company-home-hero-inner { transform: translateY(-22px); }
}
#route-pricing > .subhero,
#route-company > .subhero { padding-top: 68px; }
@media (max-width: 980px) {
  #route-pricing > .subhero,
  #route-company > .subhero { padding-top: 70px; }
}
@media (max-width: 680px) {
  #route-pricing > .subhero,
  #route-company > .subhero { padding-top: 54px; }
}

/* V3.1 branch: company-level homepage. V2.63 Quote route remains unchanged. */
.company-home-route { background: var(--paper); }
.company-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(140,179,255,.20), transparent 34%),
    radial-gradient(circle at 86% 28%, rgba(91,141,239,.22), transparent 36%),
    linear-gradient(135deg, #1d3557 0%, #285684 48%, #1d3d67 100%);
  color: #fff;
  min-height: min(720px, calc(100vh - 74px));
  display: flex;
  align-items: center;
  padding: 100px 0 112px;
}
.company-home-hero::before,
.company-home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  opacity: .42;
  filter: blur(2px);
}
.company-home-hero::before {
  width: clamp(360px, 42vw, 690px);
  height: clamp(360px, 42vw, 690px);
  right: -15%;
  top: -35%;
  background: radial-gradient(circle, rgba(140,179,255,.22), rgba(140,179,255,0) 68%);
  animation: companyAuraA 14s ease-in-out infinite alternate;
}
.company-home-hero::after {
  width: clamp(320px, 36vw, 580px);
  height: clamp(320px, 36vw, 580px);
  left: -14%;
  bottom: -42%;
  background: radial-gradient(circle, rgba(47,111,201,.30), rgba(47,111,201,0) 68%);
  animation: companyAuraB 17s ease-in-out infinite alternate;
}
.company-home-hero-inner { position: relative; z-index: 1; }
.company-home-eyebrow {
  color: #c0d5ff;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 42px;
  opacity: 0;
  animation: companyHeroRise .7s .06s cubic-bezier(.2,.8,.2,1) forwards;
}
.company-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .58fr);
  gap: clamp(56px, 9vw, 120px);
  align-items: end;
}
.company-home-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(58px, 7.1vw, 96px);
  line-height: .94;
  letter-spacing: -.06em;
  font-weight: 760;
  text-shadow: 0 10px 34px rgba(8,25,48,.11);
  opacity: 0;
  transform: translateY(18px);
  animation: companyHeroRise .82s .14s cubic-bezier(.2,.8,.2,1) forwards;
}
.company-home-hero-aside {
  padding-bottom: 8px;
  max-width: 350px;
  opacity: 0;
  transform: translateY(14px);
  animation: companyHeroRise .78s .29s cubic-bezier(.2,.8,.2,1) forwards;
}
.company-home-hero-aside p {
  margin: 0;
  color: rgba(241,246,255,.82);
  font-size: 16px;
  line-height: 1.68;
}
.company-home-action-row {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}
.company-home-link {
  margin-top: 0;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(192,213,255,.72);
  background: transparent;
  color: #fff;
  font-weight: 680;
  font-size: 14px;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.company-home-link:hover { color: #d8e5ff; border-color: #d8e5ff; }
.company-home-signature {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.company-home-flow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 40px;
  height: 16px;
  color: #b8ceff;
  overflow: visible;
}
.company-home-flow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(192,213,255,.28);
}
.company-home-flow i {
  position: absolute;
  left: 0;
  top: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cfe0ff;
  box-shadow: 0 0 0 4px rgba(140,179,255,.12), 0 0 14px rgba(140,179,255,.80);
  animation: thinkDoSignal 3.8s cubic-bezier(.45,0,.2,1) infinite;
}
.company-home-flow b {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-.5px);
}
.company-home-do {
  color: #dce8ff;
  animation: thinkDoResolve 3.8s ease-in-out infinite;
}
.company-home-product {
  padding: 118px 0 126px;
  border-bottom: 1px solid var(--line);
}
.company-home-product-intro {
  max-width: 620px;
  margin-bottom: 62px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.6;
}
.company-home-product-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(56px, 7vw, 92px);
  align-items: center;
}
.company-home-product-copy h2 {
  margin: 18px 0 24px;
  max-width: 520px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.01;
  letter-spacing: -.05em;
}
.company-home-product-copy > p {
  margin: 0;
  max-width: 530px;
  color: #4e535c;
  font-size: 17px;
  line-height: 1.62;
}
.company-home-product-copy .hero-actions { margin-top: 30px; }
.company-home-product-visual { min-width: 0; position: relative; }
.company-home-product-visual:before {
  content: "";
  position: absolute;
  inset: -12% -12% -14% 20%;
  background: radial-gradient(circle at center, rgba(91,141,239,.14), rgba(91,141,239,0) 70%);
  pointer-events: none;
}
.company-home-product-visual .product-frame {
  position: relative;
  animation: productFloat 7s ease-in-out infinite;
}

@keyframes companyAuraA {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-5%,8%,0) scale(1.08); }
}
@keyframes companyAuraB {
  from { transform: translate3d(0,0,0) scale(1.04); }
  to { transform: translate3d(8%,-6%,0) scale(.96); }
}
@keyframes companyHeroRise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes thinkDoSignal {
  0%, 16% { transform: translateX(0); opacity: .25; }
  34% { opacity: 1; }
  62%, 76% { transform: translateX(36px); opacity: 1; }
  90%, 100% { transform: translateX(36px); opacity: 0; }
}
@keyframes thinkDoResolve {
  0%, 48%, 100% { color: #dce8ff; text-shadow: none; }
  62%, 78% { color: #ffffff; text-shadow: 0 0 18px rgba(140,179,255,.86); }
}
@keyframes productFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 900px) {
  .company-home-hero {
    min-height: auto;
    padding: 82px 0 90px;
  }
  .company-home-hero-grid,
  .company-home-product-grid { grid-template-columns: 1fr; }
  .company-home-hero-grid { gap: 44px; }
  .company-home-hero-aside { max-width: 520px; padding-bottom: 0; }
  .company-home-action-row { gap: 28px; }
  .company-home-product { padding: 88px 0 96px; }
  .company-home-product-intro { margin-bottom: 48px; }
  .company-home-product-grid { gap: 48px; }
  .company-home-product-copy { max-width: 650px; }
}

@media (max-width: 560px) {
  .company-home-hero {
    padding: 62px 0 68px;
    background:
      radial-gradient(circle at 12% 10%, rgba(140,179,255,.19), transparent 35%),
      radial-gradient(circle at 88% 36%, rgba(91,141,239,.18), transparent 42%),
      linear-gradient(150deg, #1f3a60 0%, #28527f 55%, #1c3d67 100%);
  }
  .company-home-hero .container,
  .company-home-product .container { width: min(var(--max), calc(100% - 32px)); }
  .company-home-eyebrow { margin-bottom: 28px; font-size: 10.5px; letter-spacing: .105em; }
  .company-home-hero h1 {
    font-size: clamp(45px, 13.2vw, 60px);
    line-height: .96;
    letter-spacing: -.055em;
  }
  .company-home-hero-grid { gap: 34px; }
  .company-home-hero-aside p { font-size: 15px; line-height: 1.62; }
  .company-home-action-row { margin-top: 28px; gap: 22px; }
  .company-home-signature { font-size: 11px; }
  .company-home-flow { width: 34.4px; }
  .company-home-flow i { animation-name: thinkDoSignalMobile; }
  .company-home-product { padding: 72px 0 78px; }
  .company-home-product-intro { max-width: 280px; margin-bottom: 38px; font-size: 12.5px; }
  .company-home-product-grid { gap: 36px; }
  .company-home-product-copy h2 { font-size: clamp(39px, 11.7vw, 50px); margin: 15px 0 20px; }
  .company-home-product-copy > p { font-size: 15px; line-height: 1.58; }
  .company-home-product-copy .hero-actions { margin-top: 26px; }
  .company-home-product-copy .hero-actions .btn { width: 100%; }
}

@keyframes thinkDoSignalMobile {
  0%, 16% { transform: translateX(0); opacity: .25; }
  34% { opacity: 1; }
  62%, 76% { transform: translateX(30.4px); opacity: 1; }
  90%, 100% { transform: translateX(30.4px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .company-home-hero::before,
  .company-home-hero::after,
  .company-home-eyebrow,
  .company-home-hero h1,
  .company-home-hero-aside,
  .company-home-flow i,
  .company-home-do,
  .company-home-product-visual .product-frame {
    animation: none !important;
  }
  .company-home-eyebrow,
  .company-home-hero h1,
  .company-home-hero-aside { opacity: 1; transform: none; }
}



/* V3.14: Pricing vertical-rhythm refinements */
/* Reduce internal vertical spacing in all three pricing cards by ~20%. */
#route-pricing .price-card {
  padding: 24px;
  min-height: 418px;
}
#route-pricing .price-card .best-for {
  min-height: 30px;
}
#route-pricing .price-block {
  margin-top: 21px;
  margin-bottom: 6px;
}
#route-pricing .recurring {
  margin-bottom: 21px;
}
#route-pricing .checks {
  gap: 10px;
  margin-bottom: 22px;
}

/* Reduce the intro-to-tier gap by 30%. */
#route-pricing > .subhero {
  padding-bottom: 42px;
}
#route-pricing > .section-tight {
  padding-top: 50px;
}

/* Balance whitespace above and below the final pricing CTA panel. */
#route-pricing > .section:not(.section-tight):not(.pricing-final-cta) {
  padding-bottom: 36px;
}
#route-pricing > .pricing-final-cta {
  padding-top: 36px;
  padding-bottom: 72px;
}

@media (max-width: 900px) {
  #route-pricing .price-card {
    min-height: 0;
  }
  #route-pricing > .subhero {
    padding-bottom: 34px;
  }
  #route-pricing > .section-tight {
    padding-top: 40px;
  }
  #route-pricing > .section:not(.section-tight):not(.pricing-final-cta) {
    padding-bottom: 30px;
  }
  #route-pricing > .pricing-final-cta {
    padding-top: 30px;
    padding-bottom: 60px;
  }
}

/* V3.15: equalize whitespace above and below the pricing-card row.
   Desktop values are tuned so the visible gap below the card row matches the visible gap above it. */
#route-pricing > .section-tight {
  padding-bottom: 57px;
}
#route-pricing > .section-tight + .section {
  padding-top: 57px;
}

/* Demo contact validation stays invisible until the visitor presses Request a demo. */
.contact-error[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  /* Mobile values are likewise tuned to visually equalize the gap. */
  #route-pricing > .section-tight {
    padding-bottom: 46px;
  }
  #route-pricing > .section-tight + .section {
    padding-top: 46px;
  }
}

/* ===== launch layer (oblq-site-v3, 2026-08) - see ops/launch-layer.css ===== */
/* Launch layer - additions only. V3.15 rules above are untouched.
   Sections: fonts / links-as-buttons / mobile drawer / footer / demo form /
   legal pages / hash-route compat / print. ASCII only. */

/* --- self-hosted Inter (V3.15 declares Inter but never loads it) --- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2");
}

/* --- accessibility: skip link (visible only when focused) + focus rings --- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 14px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 650;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--violet); outline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 2px solid var(--violet-dark); outline-offset: 3px; border-radius: 6px;
}

/* --- anchors that carry V3.15 button classes (data-route buttons became links) --- */
a.btn, a.btn:hover { text-decoration: none; }
a.company-home-link { display: inline-block; line-height: 1.2; }
/* Jason 2026-08-21: THINK -> DO stacked ABOVE "See what we build" (was a
   side-by-side row; supersedes the 08-18 top-align tweak, moot in a column) */
.company-home-action-row { flex-direction: column; align-items: flex-start; gap: 18px; }
/* Jason 2026-08-21: lock the aside to the headline baseline - the V3.15 8px
   bottom padding left "See what we build" hovering just proud of "More
   Agency."'s baseline (grid already align-items: end) */
.company-home-hero-aside { padding-bottom: 0; }
/* Jason 2026-08-21: aside column a touch wider so "...systems you already own."
   holds on ONE line (V3.15 .58fr gave ~270px at 1440 / ~304px at 1640 and
   broke before "own."; ~315px needed at 16px). DESKTOP ONLY: this layer loads
   after V3.15's mobile collapse (max-width: 980px -> 1fr), so an unscoped rule
   re-imposed two columns on phones and the headline wrapped over the paragraph
   (prod 08-21 pm, caught on the mobile render). */
@media (min-width: 981px) {
  .company-home-hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(260px, .76fr); }
}

/* Jason 2026-08-21: harmonize the mobile section rhythm on /quote. V3.15's
   per-section mobile paddings had drifted apart (hero 54/0, stack 68/82, feature
   42/42), so the whitespace jumped as you scroll - ~68px after the stats, then a
   ~124px trough, then a tight 42px. Even them all to 56/56 for one consistent
   rhythm (112px between sections). Desktop (>=981px) already reads even in a
   68-92px band and is left untouched. Scoped to the single-column regime. */
@media (max-width: 980px) {
  .quote-hero { padding-top: 56px; padding-bottom: 56px; }
  .stack-modern { padding-top: 56px; padding-bottom: 56px; }
  .quote-feature-section { padding-top: 56px; padding-bottom: 56px; }
}

/* Jason 2026-08-21: unify the two /company 3-up sections on ONE open-column
   system (away from the "vibe-coded" boxed-card look). Before: "What we build"
   (.company-cap) was borderless columns with vertical divider lines + asymmetric
   padding (40/34/42/0, flush-0-left, ragged content heights, 54px head->body
   gap), while "Why OBLQ" (.company-values) was fully bordered hairline-grid
   cards with even 34px padding + fixed 230px height. Now both = borderless
   whitespace-separated columns under a single top+bottom hairline, even padding,
   flush-left first column, consistent 14px head->body, no fixed heights. Desktop
   3-col / mobile stacked with row hairlines. Company-specific selectors only
   (.company-values, not the shared .values-grid used elsewhere). */
@media (min-width: 981px) {
  .company-cap-grid, .company-values {
    grid-template-columns: repeat(3, 1fr); gap: 48px; background: transparent;
    border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .company-cap, .company-values .value {
    padding: 40px 0 42px; min-height: 0; background: transparent; border: 0;
  }
  .company-cap + .company-cap { border-left: 0; padding-left: 0; }
  .company-cap h3, .company-values .value h3 { margin: 0 0 14px; }
}
@media (max-width: 980px) {
  .company-cap-grid, .company-values {
    grid-template-columns: 1fr; gap: 0; background: transparent;
    border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .company-cap, .company-values .value {
    padding: 28px 0; min-height: 0; background: transparent;
    border: 0; border-top: 1px solid var(--line);
  }
  .company-cap-grid > :first-child, .company-values > :first-child { border-top: 0; }
  .company-cap h3, .company-values .value h3 { margin: 0 0 10px; }
}

/* Jason 2026-08-21: /pricing "What changes the implementation?" 3-up (.feature-grid,
   pricing-only) off the boxed hairline-grid onto the SAME open-column system as the
   /company 3-ups (Jason's de-vibe-coded direction). The Solo/Agency/Scale tier cards
   are NOT touched - boxed pricing tiers are the right convention. Scoped to
   #route-pricing (matches the existing 08-18 rule's specificity, wins by order). */
@media (min-width: 981px) {
  #route-pricing .feature-grid {
    gap: 48px; background: transparent; border: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  #route-pricing .feature-grid .feature {
    padding: 40px 0 42px; min-height: 0; background: transparent; border: 0;
  }
  #route-pricing .feature-grid .feature h3 { margin: 0 0 14px; }
}
@media (max-width: 980px) {
  #route-pricing .feature-grid {
    gap: 0; background: transparent; border: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  #route-pricing .feature-grid .feature {
    padding: 28px 0; min-height: 0; background: transparent;
    border: 0; border-top: 1px solid var(--line);
  }
  #route-pricing .feature-grid .feature:first-child { border-top: 0; }
  #route-pricing .feature-grid .feature h3 { margin: 0 0 10px; }
}

/* Jason 2026-08-22: proof/stats row ($15M+ / 83% / >50min / 100%) - remove the
   INTERNAL divider lines (vertical between the four on desktop; the 2x2 grid
   lines on mobile) to match the open, line-free treatment of the other sections.
   The row keeps only its own top/bottom hairline (.home-proof); cells separate by
   whitespace. Unscoped so it clears both the desktop border-right and the mobile
   border-bottom. */
.home-proof-item { border-right: 0; border-bottom: 0; }

/* Jason 2026-08-18 pm: home footer below the fold - the hero fills the viewport on
   desktop (V3.15 capped it at 720px, so tall monitors showed the footer above the
   fold). svh = the visible viewport on browsers with dynamic toolbars. Content
   stays vertically centred (V3.15 flex); phones keep V3.15's natural height. */
.company-home-hero { min-height: calc(100vh - 74px); min-height: calc(100svh - 74px); }
@media (max-width: 680px) {   /* header is 64px on phones */
  .company-home-hero { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }
}

/* Jason 2026-08-18 pm: THINK -> DO signal 1.5x faster (3.8s -> 2.53s); dot + "Do"
   glow share one cycle so they stay in phase; the mobile keyframes reuse the same
   duration via animation-name only. */
.company-home-flow i { animation-duration: 2.53s; }
.company-home-do { animation-duration: 2.53s; }

/* --- mobile drawer (replaces the prompt() menu) --- */
.menu-btn { line-height: 1; padding: 6px 4px; color: var(--ink); }
.menu-btn[aria-expanded="true"] { color: var(--violet-dark); }
.mobile-drawer {
  position: fixed;
  left: 0; right: 0;
  top: 74px;
  z-index: 49;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(11, 13, 18, .12);
  animation: fadeIn .18s ease;
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer-inner { display: grid; gap: 4px; padding: 14px 0 22px; }
.mobile-link {
  display: block;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -.01em;
  color: var(--ink);
}
.mobile-link-quiet { border-bottom: 0; color: var(--slate); font-size: 14px; font-weight: 560; padding-top: 16px; }
.mobile-cta { margin-top: 14px; width: 100%; }
body.drawer-open { overflow: hidden; }
@media (max-width: 680px) { .mobile-drawer { top: 64px; } }
@media (min-width: 981px) { .mobile-drawer { display: none !important; } }

/* --- header: quiet Sign in link where V3.15 had "See how it works" (Jason 2026-08-18) --- */
.nav-signin { font-size: 13px; font-weight: 560; color: #3d4149; padding: 6px 4px; transition: color .2s ease; }
.nav-signin:hover { color: var(--ink); }
@media (max-width: 680px) { .nav-signin { display: none; } }   /* the drawer carries it on phones */

/* --- footer: one row, header-height (Jason 2026-08-18) ---
   [logo] [Privacy] [Terms] ................. [(c) year OBLQ LLC. All rights reserved.] */
footer { padding: 0; }
footer .footer-inner { min-height: 74px; align-items: center; }
.footer-left { display: flex; align-items: center; gap: 22px; }
.footer-logo { width: 60px; }
.footer-links { font-size: 11px; gap: 18px; margin: 0; }
.footer-links a { transition: color .18s ease; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { color: var(--slate); }
.footer-copy.footer-right { margin-top: 0; max-width: none; text-align: right; font-size: 11px; line-height: 1.3; }
@media (max-width: 680px) {
  footer .footer-inner { min-height: 64px; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0; }
  .footer-right { text-align: left; }
  .footer-links { margin-top: 0; }
}

/* --- demo form: consent, honeypot, states --- */
.consent-note { font-size: 11.5px; line-height: 1.5; color: var(--slate); margin-top: 2px; }
.consent-note a { color: var(--violet-dark); text-decoration: underline; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #454a53; }
.consent-check input { margin-top: 3px; }
.form-field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 12px; font-weight: 600; color: #9f2f2f; }
.form-error a { text-decoration: underline; }
.form-success h3 { margin: 6px 0 8px; font-size: 22px; letter-spacing: -.03em; }
.form-success p { margin: 0; color: var(--slate); line-height: 1.6; }
.form-success a { color: var(--violet-dark); text-decoration: underline; }
.demo-form-busy button[type="submit"] { opacity: .6; pointer-events: none; }
.modal-card { max-height: calc(100vh - 48px); overflow: auto; }

/* --- legal pages (privacy / terms / security / dpa) --- */
.legal-hero { padding-bottom: 18px; }
.legal-hero .display.sm { font-size: clamp(36px, 5vw, 60px); }
.legal-effective { margin: 14px 0 0; color: var(--slate); font-size: 14px; }
.legal-section { padding-top: 26px; padding-bottom: 96px; }
.legal-body { max-width: 780px; }
.legal-body h2 { margin: 42px 0 12px; font-size: 22px; letter-spacing: -.025em; line-height: 1.25; scroll-margin-top: 96px; }
.legal-body p, .legal-body li { font-size: 15.5px; line-height: 1.75; color: #3f444d; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 7px; }
.legal-body li strong, .legal-body p strong { color: var(--ink); }
.legal-body a { color: var(--violet-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-body pre { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 13px; line-height: 1.55; overflow-x: auto; white-space: pre-wrap; }
mark.placeholder { background: #fff3a8; color: #6b4d00; padding: 0 3px; border-radius: 3px; font-weight: 650; }
@media (max-width: 680px) {
  .legal-section { padding-bottom: 64px; }
  .legal-body h2 { margin-top: 32px; font-size: 20px; }
}

/* --- WCAG 2.1 AA contrast fixes (Jason approved 2026-08-18) - token-level, same blue family ---
   1. fine print was slate-2 (2.97:1) -> slate (4.9:1)
   2. white text on light blue #5B8DEF (3.2:1) -> the family's darker blue #2F6FC9 (5.6:1),
      hover one step darker; light-blue stays for accents/dots/lines (non-text)
   3. Company "do more." emphasis 2.99:1 at display size -> darker blue
   4. eyebrow on the grey Company band 4.27:1 -> slightly darker blue */
.how-step-body .how-fine { color: var(--slate); }
.btn-violet { background: var(--violet-dark); }
.btn-violet:hover { background: #275ea8; }
.how-final-cta .cta-box { background: var(--violet-dark); }
.how-final-cta .cta-box p { color: #fff; }
.pricing-final-cta .cta-box .btn { background: var(--violet-dark); }
.pricing-final-cta .cta-box .btn:hover { background: #275ea8; }
.manifesto em { color: var(--violet-dark); }
.company-build .eyebrow { color: #2a63b4; }

/* (2026-08-21) the 2026-08-18 "#route-pricing .feature-grid .feature min-height:0
   padding:34px" rule was REMOVED here - it is fully superseded by the open-column
   unification above (which sets min-height:0 + per-breakpoint padding). Left in
   place it out-ordered those rules (same specificity, later) and kept the text
   inset 34px instead of flush-left. */

/* --- print: legal pages read cleanly on paper --- */
@media print {
  .site-header, .mobile-drawer, footer .footer-cols, .modal, .image-modal { display: none !important; }
  .legal-body p, .legal-body li { color: #000; }
}
