/* Shipeezi marketing site. Tokens from the Shipeezi product palette.
   Direction: navy carries the brand, teal is an accent that only ever sits on
   navy. Teal is never text on white (white-on-teal measures 2.1:1); action text
   on white is the darker --action teal. One stylesheet, cache-busted by deploy.sh. */
:root {
  --primary: #0D2B4E;          /* navy: primary buttons and the brand surface */
  --primary-hover: #13395F;
  --accent: #1EC8B0;           /* teal: accent on navy and dark diagram surfaces */
  --action: #0E7A6B;           /* action/link text on white */
  --cyan: #00AEEF;             /* secondary */
  --amber: #F5C53A;            /* attention */
  --ink: #0D2B4E;
  --on-ink: #FFFFFF;
  --highlight: #D6F5EF;        /* teal tint behind icon dots on white */
  --text: #0D2B4E;
  --text-secondary: #546E7A;   /* neutral slate */
  --text-muted: #7B8C99;
  --bg: #FFFFFF;
  --stone: #F8F7F4;
  --bg-subtle: #F7F6F2;
  --border: #E7E6E1;
  --border-strong: #CFD3D6;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 1px 2px rgba(13,43,78,.05);
  --shadow-raised: 0 12px 32px rgba(13,43,78,.10);
  --ease: cubic-bezier(.2,0,0,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font: 400 16px/1.6 Manrope, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--action); text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { letter-spacing: -.025em; }
h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.15; }
h3 { font-size: 17px; font-weight: 700; }
.lede { font-size: 19px; color: var(--text-secondary); max-width: 78ch; }
.eyebrow {
  font: 600 12px/1.4 Inter, sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: var(--action);
}

/* Buttons */
.btn {
  display: inline-block; font: 600 15px/1.2 Inter, sans-serif;
  padding: 13px 24px; border-radius: var(--radius); cursor: pointer;
  transition: background .12s var(--ease), filter .12s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--text-muted); }
.btn-ink { background: var(--on-ink); color: var(--ink); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(30,200,176,.35); }

/* Nav */
.nav {
  position: relative; z-index: 50;
  background: #fff;
  transition: box-shadow .2s var(--ease);
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(13,43,78,.08); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 68px; }
.nav-logo { display: flex; flex-shrink: 0; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  font: 600 14px/1 Inter, sans-serif; color: var(--text-secondary);
  padding: 10px 12px; border-radius: 7px; display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--bg-subtle, #F7F6F2); }
.caret { font-size: 9px; color: var(--text-muted); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { padding: 10px 18px; }
.nav-mobile-only { display: none; }
.nav-burger {
  display: none; flex: none; width: 42px; height: 42px; margin-left: 2px;
  border: 0; background: transparent; cursor: pointer; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mega menu */
.nav-item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: -16px;
  width: 720px; display: none; grid-template-columns: 1fr 1fr 220px; gap: 4px 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 64px rgba(13,43,78,.16); padding: 16px;
}
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { display: grid; animation: megain .18s var(--ease); }
@keyframes megain { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-grid { display: contents; }
.mega-grid a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 12px; border-radius: 10px;
}
.mega-grid a:hover { background: var(--bg-subtle, #F7F6F2); }
.mega-grid .dot {
  width: 30px; height: 30px; border-radius: 8px; background: var(--highlight);
  color: var(--action); display: grid; place-items: center; flex: none;
  font: 700 13px/1 Inter, sans-serif;
}
.mega-grid b { display: block; font-size: 13.5px; color: var(--text); }
.mega-grid small { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.mega-side {
  grid-column: 3; grid-row: 1 / span 4;
  background: var(--ink); border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.mega-side b { color: #fff; font-size: 14.5px; }
.mega-side p { color: rgba(255,255,255,.66); font-size: 12.5px; line-height: 1.5; flex: 1; }
.mega-sol { width: auto; min-width: 460px; grid-template-columns: 1fr 1fr; gap: 8px 36px; }
.mega-group h6 { font: 700 11px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 2px 0 10px; }
.mega-group a { display: block; padding: 7px 0; font-size: 14px; color: var(--text-secondary); }
.mega-group a:hover { color: var(--action); }
.mega-group + .mega-group { border-left: 1px solid var(--border); padding-left: 36px; }

/* Hero */
.hero { padding: 80px 0 104px; text-align: center; }
.hero .eyebrow { margin-bottom: 16px; }
.hero h1 { margin: 0 auto 20px; max-width: 20ch; }
.hero .lede { margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.dim { color: var(--text-muted); }

/* Stage: recessed canvas with a line-diagram bleeding off it */
.stage {
  position: relative;
  background: var(--stone);
  border-radius: 20px;
  overflow: hidden;
}
.hero-stage { margin-top: 64px; text-align: left; padding: 0; }
.stage-sm { padding: 44px 0 0 44px; }

/* Pipeline: the PO-to-leg spine, drawn as data, always crisp */
.pipeline { padding: 40px 44px 44px; font-family: Inter, sans-serif; }
.pipeline svg { width: 100%; height: auto; display: block; }
.node-label { font: 600 11px/1.4 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.pipeline-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; }
.pipeline-legend span { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 Inter, sans-serif; color: var(--text-secondary); }
.lg-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(30,200,176,.16); }
.lg-dot.navy { background: var(--ink); box-shadow: 0 0 0 4px rgba(13,43,78,.12); }
.lg-dot.amber { background: var(--amber); box-shadow: 0 0 0 4px rgba(245,197,58,.22); }

/* Motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(30,200,176,.35); }
  70% { box-shadow: 0 0 0 9px rgba(30,200,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,200,176,0); }
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--accent); animation: pulse 2.4s infinite; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
}

/* Ink positioning band */
.band {
  background: var(--ink); color: var(--on-ink);
  padding: 104px 0; text-align: center;
}
.band h2 { font-size: clamp(32px, 4.6vw, 54px); }
.band h2 .accent { color: var(--accent); display: block; }
.band p { color: rgba(255,255,255,.72); max-width: 76ch; margin: 20px auto 0; font-size: 18px; }
.band .eyebrow { color: var(--accent); }

/* Sections */
.section { padding: 104px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head { margin-bottom: 56px; }
h1, h2, h3, .section-head h2, .band h2, .cta-band h2 { text-wrap: balance; }
p, .lede, .faq-item p { text-wrap: pretty; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }

/* Modules grid */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.module-wide { grid-column: 1 / -1; background: var(--stone); border-color: transparent; }
.module h3 { margin-bottom: 8px; }
.module p { font-size: 14px; color: var(--text-secondary); }
.module .dot {
  width: 34px; height: 34px; border-radius: 9px; background: var(--highlight);
  color: var(--action); display: grid; place-items: center;
  font: 700 15px/1 Inter, sans-serif; margin-bottom: 16px;
}
.module .dot svg { width: 18px; height: 18px; }
a.module-link { display: block; text-decoration: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease); }
a.module-link:hover { border-color: var(--action); box-shadow: var(--shadow-raised); transform: translateY(-2px); }

/* Feature rows */
.features { padding-bottom: 40px; }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; padding: 64px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature-copy .eyebrow { margin-bottom: 12px; }
.feature-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
.feature-copy p { color: var(--text-secondary); }
.feature.flip { grid-template-columns: 1.15fr 1fr; }

/* Data card: text-built graphic, always crisp */
.datacard {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised); overflow: hidden;
}
.datacard-head {
  padding: 18px 24px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline;
}
.datacard-head strong { font-size: 15px; }
.datacard-head span { font: 500 12px/1 "IBM Plex Mono", monospace; color: var(--text-muted); }
.datacard-row { display: flex; gap: 14px; padding: 15px 24px; border-bottom: 1px solid var(--border); align-items: center; }
.datacard-row:last-child { border-bottom: 0; }
.datacard-row .tick {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--highlight); color: var(--action); display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.datacard-row .tick.warn { background: #FBF0DA; color: #8A5607; }
.datacard-row .tick.amber { background: #FCEFD0; color: #8A5607; }
.datacard-row b { display: block; font-size: 14px; }
.datacard-row small { color: var(--text-muted); font-size: 12.5px; }
.datacard-row .code { font: 500 12px/1 "IBM Plex Mono", monospace; color: var(--text-secondary); margin-left: auto; flex: none; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.price-card h3 { margin-bottom: 6px; }
.price-card .amount { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 2px; }
.price-card .per { font: 600 12px/1.4 Inter, sans-serif; color: var(--text-muted); }
.price-card p { font-size: 14px; color: var(--text-secondary); margin-top: 14px; }
.price-feats, .incl { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.price-feats li, .incl li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
.price-feats li::before, .incl li::before { content: "\2713"; position: absolute; left: 0; color: var(--action); font-weight: 700; }
.section .wrap > .price-feats, .section .wrap > .incl { margin: 0; grid-template-columns: 1fr 1fr; gap: 14px 44px; }
.section .wrap > .incl { grid-template-columns: repeat(3, 1fr); }
.price-note { font-size: 14px; color: var(--text-muted); }
.pricing-review { background: #FBF0DA; border: 1px solid #E9D9A8; border-left: 3px solid var(--amber); border-radius: 8px; padding: 14px 18px; margin-bottom: 28px; font-size: 14px; color: var(--text); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 8px 0; }
.faq-item summary {
  cursor: pointer; font: 700 17px/1.4 Manrope, sans-serif; padding: 16px 0;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--action); font-weight: 400; font-size: 22px; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { color: var(--text-secondary); padding: 0 0 20px; max-width: 92ch; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--ink), #173a63);
  color: #fff; text-align: center; padding: 96px 24px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { opacity: .9; margin-bottom: 32px; }

/* Comparison */
.cmp { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; align-items: start; }
.cmp:has(> .cmp-col:nth-child(2):last-child) { grid-template-columns: 1.15fr 1fr; }
.cmp-col { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.cmp-head { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.cmp-head b { font-family: Manrope, sans-serif; font-size: 15px; color: var(--text-secondary); }
.cmp-head small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.cmp-cell { padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-secondary); }
.cmp-cell:last-child { border-bottom: 0; }
.cmp-cell small {
  display: block; font: 600 10.5px/1.4 Inter, sans-serif; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.cmp-shipeezi { background: var(--ink); border-color: var(--ink); box-shadow: 0 24px 56px rgba(13,43,78,.24); }
.cmp-shipeezi .cmp-head { border-color: rgba(255,255,255,.12); }
.cmp-shipeezi .cmp-head b { color: #fff; }
.cmp-shipeezi .cmp-cell { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.82); }
.cmp-shipeezi .cmp-cell small { color: var(--accent); }

/* Onboarding steps */
.onboard { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--highlight); }
.step:nth-child(2)::before { background: linear-gradient(90deg, var(--accent) 50%, var(--highlight) 50%); }
.step:nth-child(3)::before { background: var(--accent); }
.step-n { font: 700 13px/1 "IBM Plex Mono", monospace; color: var(--action); }
.step h3 { margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* Footer */
.footer2 { position: relative; }
.footer-sky { background: linear-gradient(to bottom, #FFFFFF 0%, #EAF6F3 70%, #DCF0EC 100%); padding-top: 72px; }
.footer-sky svg { display: block; width: 100%; height: 180px; margin-bottom: -1px; }
.footer-body { background: var(--ink); }
.footer-cols {
  display: grid; grid-template-columns: 1.2fr 1fr 0.95fr 0.8fr 1.05fr; gap: 40px;
  padding-top: 40px; padding-bottom: 56px;
}
.f-brand p { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.6); max-width: 26ch; }
.f-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.f-col h2 {
  font: 600 11px/1.4 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 4px;
}
.f-col a { font-size: 14px; color: rgba(255,255,255,.75); }
.f-col a:hover { color: #fff; }
.f-col .btn { margin-top: 4px; }
.f-col .btn-primary, .mega-side .btn-primary { background: var(--accent); color: var(--ink); }
.f-col .btn-primary:hover, .mega-side .btn-primary:hover { background: var(--accent); color: var(--ink); filter: brightness(.94); }
.f-note { font-size: 13.5px; color: rgba(255,255,255,.6); max-width: 30ch; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.store-badges a { display: inline-flex; border-radius: 8px; transition: opacity .15s; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.store-badges a:hover { opacity: .85; }
.store-badges img { display: block; height: 38px; width: auto; }
.footer-legal { background: #081B33; padding: 18px 0; }
.footer-legal .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-legal span { color: rgba(255,255,255,.6); font-size: 13px; }
.legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.legal-links a { color: rgba(255,255,255,.7); font-size: 13px; }
.legal-links a:hover { color: #fff; }

.price-card { transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.price-card:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }

@media (max-width: 1080px) {
  .nav-burger { display: flex; }
  .nav-actions .btn-secondary { display: none; }
  .nav-actions .nav-link { display: none; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 28px rgba(13,43,78,.10); padding: 12px 20px 22px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links .nav-item { position: static; }
  .nav-mobile-only { display: block; }
  .mega, .caret { display: none !important; }
  .nav-links a:not(.btn) { display: block; padding: 13px 6px; font-size: 16px; }
}
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .hero-stage { margin-top: 44px; }
  .pipeline { padding: 24px 20px 32px; }
  .pain-grid { grid-template-columns: 1fr; gap: 28px; }
  .cmp, .cmp:has(> .cmp-col:nth-child(2):last-child) { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section .wrap > .price-feats, .section .wrap > .incl { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-sky svg { height: 110px; }
  .footer-sky { padding-top: 40px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: -1; }
}
@media (max-width: 540px) {
  .modules { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .nav .wrap { gap: 12px; }
  .nav-actions .nav-link { display: none; }
}

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 10px 0; font: 600 14px/1 Inter, sans-serif;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: none; box-shadow: 0 0 0 3px rgba(30,200,176,.45); border-radius: 6px;
}
main:focus { outline: none; }

/* Cookie consent */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 560px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 60px rgba(13,43,78,.18); padding: 18px 20px; display: none;
}
.cookie.show { display: block; }
.cookie p { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 12px; }
.cookie p a { color: var(--action); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 9px 18px; font-size: 14px; }

/* Lead capture modal */
.lead-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,43,78,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.lead-overlay[hidden] { display: none; }
.lead-modal {
  position: relative; width: 100%; max-width: 460px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: 0 24px 60px rgba(13,43,78,.22);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lead-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: 0; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--text-secondary);
}
.lead-close:hover { color: var(--ink); }
.lead-sub { color: var(--text-secondary); font-size: 14px; margin: 6px 0 20px; }
.lead-form label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,200,176,.25);
}
.lead-phone { display: flex; gap: 8px; margin-top: 6px; }
.lead-phone select, .lead-phone input { margin-top: 0; }
.lead-phone select { flex: 0 0 42%; }
.lead-phone input { flex: 1 1 auto; min-width: 0; }
.lead-qual[hidden] { display: none; }
.lead-form textarea { resize: vertical; }
.lead-form button[type=submit] { width: 100%; margin-top: 4px; }
.lead-form button[disabled] { opacity: .6; cursor: not-allowed; }
.lead-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-msg { font-size: 14px; margin-bottom: 14px; padding: 10px 12px; border-radius: var(--radius); }
.lead-ok { background: #EAF6EE; color: #1E6B3A; }
.lead-err { background: #FDECEA; color: #B3261E; }
.lead-alt { font-size: 13px; color: var(--text-secondary); text-align: center; margin-top: 14px; }
.lead-alt a { color: var(--action); text-decoration: underline; }
.lead-stepnum { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); margin: 10px 0 2px; }
.lead-step[hidden] { display: none; }
.lead-next { width: 100%; margin-top: 4px; }
.lead-back { display: block; width: 100%; margin-top: 10px; padding: 6px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 13px; color: var(--text-secondary); text-decoration: underline; }
.lead-back:hover { color: var(--ink); }
@media (max-width: 520px) { .lead-modal { padding: 26px 20px; } }

/* Legal documents */
.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-doc h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 40px 0 12px; color: var(--ink); }
.legal-doc h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; color: var(--ink); }
.legal-doc p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 22px; }
.legal-doc li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 6px; }
.legal-doc strong { color: var(--text); font-weight: 700; }
.legal-note { background: #F7F6F3; border: 1px solid var(--border); border-left: 3px solid var(--amber); border-radius: 8px; padding: 16px 18px; margin: 0 0 28px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-doc th { font-weight: 700; color: var(--ink); background: #F7F6F3; }
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-secondary); }
.spec-table th { font-weight: 700; color: var(--ink); background: var(--bg-subtle, #F7F6F2); }
.spec-table td:first-child { color: var(--text); font-weight: 600; }
@media (max-width: 540px) { .spec-table { display: block; overflow-x: auto; } }
.spec-table code { font: 500 12.5px/1.4 "IBM Plex Mono", monospace; color: var(--text); }
.legal-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.legal-card { display: block; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .15s, transform .15s; }
.legal-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.legal-card h2 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.legal-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.legal-card p { font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); margin: 0; }
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.trust-badges img { width: auto; }
.legal-toc { max-width: 760px; margin: 0 auto 8px; }

/* Blog */
.blog-hero { padding: 76px 0 4px; text-align: center; }
.blog-hero .eyebrow { margin-bottom: 14px; }
.blog-hero .lede { margin: 16px auto 0; }
.blog-list { padding: 36px 0 96px; }
.post-card { display: block; padding: 30px 0; border-top: 1px solid var(--border); }
.post-card:first-child { border-top: 0; }
.post-card .post-meta { font: 600 12px/1.4 Inter, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.post-card h2 { font-size: clamp(21px, 2.5vw, 28px); line-height: 1.2; letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; }
.post-card:hover h2 { color: var(--action); }
.post-card p { color: var(--text-secondary); }
.post-card .readmore { display: inline-block; margin-top: 12px; color: var(--action); font: 600 14px/1 Inter, sans-serif; }
.placeholder-note { background: var(--stone); border: 1px dashed var(--border-strong); border-radius: 12px; padding: 22px 24px; color: var(--text-secondary); font-size: 14.5px; }
.blog-date { font: 600 12px/1.4 Inter, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); margin-top: 18px; }
.blog-article { max-width: 76ch; }
.blog-article > * + * { margin-top: 20px; }
.blog-article h2 { font-size: clamp(22px, 2.6vw, 27px); margin-top: 44px; }
.blog-article p, .blog-article li { color: var(--text-secondary); }
.blog-article ul { margin: 0 0 0 22px; display: grid; gap: 10px; }

/* Home: the control board sits two datacards side by side */
.board-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .board-grid { grid-template-columns: 1fr; } }

/* ROI calculator (SC-439): sliders on the left, the ledger on the right.
   All dynamic figures carry tabular-nums so nothing jitters while dragging.
   Teal stays on navy only; on white the action colour carries the numbers. */
.calc-hero { padding-bottom: 56px; }
.calc-section { padding-top: 0; }
.calc-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 40px; align-items: start; }
.calc-panel { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 26px; }
.calc-panel + .calc-panel { margin-top: 20px; }
.calc-panel h2 { font-size: 20px; margin-bottom: 6px; }
.calc-note { font-size: 12.5px; line-height: 1.55; color: var(--text-muted); }
.calc-panel .calc-note { margin-bottom: 6px; }
.calc-field { padding: 16px 0 10px; }
.calc-field + .calc-field { border-top: 1px solid var(--border); }
.calc-field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.calc-field-top label { font: 600 14px/1.4 Inter, sans-serif; color: var(--text); }
.calc-out { font: 800 16px/1 Manrope, sans-serif; letter-spacing: -.01em; white-space: nowrap; }
.calc-field input[type="range"] { width: 100%; height: 26px; accent-color: var(--primary); cursor: pointer; }
.calc-field input[type="range"]:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; border-radius: 6px; }
.calc-range { display: flex; justify-content: space-between; font: 500 11px/1 Inter, sans-serif; color: var(--text-muted); margin-top: 2px; }
.calc-total { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; }
.calc-total-label { font: 600 11.5px/1.4 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.calc-total-num { font: 800 clamp(38px, 4.4vw, 54px)/1.05 Manrope, sans-serif; letter-spacing: -.02em; margin: 10px 0 8px; }
.calc-total-sub { font-size: 13.5px; color: rgba(255,255,255,.66); }
.calc-levers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.calc-lever { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.calc-lever:last-child { grid-column: 1 / -1; }
.calc-lever-label { font: 600 11px/1.4 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.calc-lever b { display: block; font: 800 26px/1.1 Manrope, sans-serif; letter-spacing: -.015em; margin: 8px 0 10px; }
.calc-formula { display: block; font: 500 12px/1.6 "IBM Plex Mono", ui-monospace, Menlo, monospace; color: var(--text-muted); }
.calc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.calc-stat { background: var(--stone); border-radius: var(--radius-lg); padding: 20px; }
.calc-stat b { display: block; font: 800 28px/1.1 Manrope, sans-serif; letter-spacing: -.015em; margin-bottom: 6px; color: var(--action); }
.calc-stat span { font-size: 13px; color: var(--text-secondary); }
.calc-pricing, .calc-years { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 26px; margin-top: 16px; }
.calc-pricing h3, .calc-years h3 { margin-bottom: 8px; }
.calc-table { width: 100%; border-collapse: collapse; margin: 12px 0 10px; font-size: 14px; }
.calc-table th { text-align: left; font: 600 11px/1.4 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding: 6px 0 8px; border-bottom: 1px solid var(--border); }
.calc-table td { padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.calc-table tr:last-child td { border-bottom: 0; color: var(--text); font-weight: 700; }
.calc-table th:not(:first-child), .calc-table td:not(:first-child) { text-align: right; }
.calc-total-num, .calc-out, .calc-lever b, .calc-stat b, .calc-table td { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .calc-levers { grid-template-columns: 1fr; }
  .calc-lever:last-child { grid-column: auto; }
}
@media (max-width: 540px) {
  .calc-stats { grid-template-columns: 1fr; }
  .calc-table { font-size: 13px; }
  .calc-total { padding: 22px; }
}

/* White paper and product video (SC-440) */
.paper-download { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding: 22px 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--stone); }
.paper-download b { display: block; color: var(--text); margin-bottom: 2px; }
.paper-download span { font-size: 13.5px; color: var(--text-secondary); }
.video-shell { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-raised); background: var(--ink); }
.video-shell video { display: block; width: 100%; height: auto; }
@media (max-width: 540px) { .paper-download { padding: 18px; } }
@page { size: A4; margin: 18mm 16mm; }
@media print {
  .nav, .footer2, .footer-sky, .cookie, .lead-overlay, .cta-band, .skip-link { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero { padding: 0 0 8px; text-align: left; }
  .hero h1 { font-size: 30pt; max-width: none; }
  .hero .lede { font-size: 12pt; max-width: none; }
  .hero-ctas, .blog-date { display: none !important; }
  .section, .section + .section { padding: 12pt 0; border-top: 0; }
  .blog-article, .wrap { max-width: none; padding: 0; }
  body { font-size: 10.5pt; line-height: 1.5; }
  .blog-article h2 { font-size: 15pt; margin-top: 18pt; page-break-after: avoid; }
  .blog-article p { color: #111; }
  .paper-download { display: none !important; }
  a { color: #111; }
}
