/* Clyde site styles, shared by index.html, brokers.html, carriers.html */

:root {
  --bg: #ffffff;
  --panel: #F5F7FB;
  --card: #ffffff;
  --ink: #0B1220;
  --body: rgba(11,18,32,.64);
  --body-dim: rgba(11,18,32,.44);
  --line: rgba(11,18,32,.08);
  --line-strong: rgba(11,18,32,.14);
  --accent: #193CFF;
  --accent-dark: #0F248F;
  --accent-soft: rgba(25,60,255,.08);
  --radius: 20px;
  --max: 1180px;
  --ease: cubic-bezier(.16,.8,.28,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --shadow-sm: 0 1px 2px rgba(11,18,32,.05), 0 2px 10px rgba(11,18,32,.05);
  --shadow-md: 0 4px 12px rgba(11,18,32,.06), 0 18px 40px -12px rgba(11,18,32,.12);
  --shadow-lg: 0 8px 20px rgba(11,18,32,.06), 0 32px 70px -16px rgba(11,18,32,.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

::selection { background: rgba(25,60,255,.18); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.65);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: backdrop-filter .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  pointer-events: none;
}

.nav.scrolled .nav-bg {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; mix-blend-mode: multiply; filter: brightness(1.14); }
.brand.footer-brand img { height: 24px; }

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--body);
  font-weight: 550;
}

.navlinks a.plain:hover { color: var(--ink); }
.navlinks a.plain.current { color: var(--ink); font-weight: 650; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 650;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn:hover { border-color: rgba(11,18,32,.24); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn.accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(25,60,255,.25), 0 8px 24px -6px rgba(25,60,255,.35);
}

.btn.accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(25,60,255,.3), 0 12px 32px -6px rgba(25,60,255,.4);
}

.btn.ghost {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--body);
  padding-left: 4px;
  padding-right: 4px;
}

.btn.ghost:hover { color: var(--ink); transform: none; box-shadow: none; border-color: transparent; }

/* ---------- Hero ---------- */
.hero-section { position: relative; overflow: hidden; }

.hero-wash {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(ellipse 640px 420px at 18% 8%, rgba(25,60,255,.09), transparent 65%),
    radial-gradient(ellipse 720px 480px at 85% 20%, rgba(25,60,255,.06), transparent 60%);
  pointer-events: none;
  animation: wash-drift 16s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes wash-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(28px, -18px) scale(1.04); }
}

.hero {
  position: relative;
  padding: 72px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero > * { min-width: 0; }

.hero.hero-single {
  grid-template-columns: minmax(0, 1fr);
  padding: 88px 0 64px;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--body);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(25,60,255,.14);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 680px;
}

.hl {
  position: relative;
  white-space: nowrap;
  background-image: linear-gradient(90deg, rgba(25,60,255,0) 0%, rgba(25,60,255,.55) 35%, rgba(25,60,255,.85) 50%, rgba(25,60,255,.55) 65%, rgba(25,60,255,0) 100%);
  background-repeat: no-repeat;
  background-size: 200% 6px;
  background-position: 0% 100%;
  padding-bottom: 8px;
  animation: hl-sweep 5.5s ease-in-out infinite;
}

@keyframes hl-sweep {
  0%   { background-position: 120% 100%; }
  45%  { background-position: -20% 100%; }
  100% { background-position: -20% 100%; }
}

.hero p.sub {
  margin: 20px 0 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Hero animation: inbox card ---------- */
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4.4;
  min-height: 420px;
}

.device {
  position: absolute;
  inset: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: device-float 7s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes device-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

.device-top {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #FBFCFE;
}

.device-dots { display: flex; gap: 6px; }
.device-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(11,18,32,.12); display: block; }

.device-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 9px;
  border-radius: 999px;
}

.device-body {
  position: relative;
  height: calc(100% - 46px);
  padding: 16px;
  overflow: hidden;
}

.inbox-list { position: relative; height: 108px; margin-bottom: 12px; }

.inbox-row {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  background: #F8FAFD;
  border: 1px solid var(--line);
  border-radius: 14px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.inbox-row.enter { opacity: 1; transform: translateX(0); }

.inbox-row .left { min-width: 0; }

.inbox-subject {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-preview { font-size: 12px; color: var(--body-dim); margin: 0; line-height: 1.4; }

.chip {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .3s ease .4s, transform .45s var(--spring) .4s;
  white-space: nowrap;
}

.inbox-row.enter .chip { opacity: 1; transform: scale(1); }

/* static chip variant for scenario cards and vignettes */
.chip.static { opacity: 1; transform: none; transition: none; }

.context-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease) .55s, transform .5s var(--spring) .55s;
}

.context-strip.enter { opacity: 1; transform: translateY(0); }

.pill {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.pill small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--body-dim);
  font-weight: 700;
  margin-bottom: 3px;
}

.pill strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
  min-height: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.draft-card {
  border: 1px solid rgba(25,60,255,.25);
  background: rgba(25,60,255,.035);
  border-radius: 14px;
  padding: 14px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease) .85s, transform .55s var(--spring) .85s;
}

.draft-card.enter { opacity: 1; transform: translateY(0); }

.draft-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.draft-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(11,18,32,.82);
  margin: 0 0 12px;
  min-height: 58px;
}

.draft-actions { display: flex; gap: 8px; }

.fake-btn {
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--body);
}

.fake-btn.send { background: var(--accent); border-color: var(--accent); color: #fff; }

.stage-dots { display: flex; gap: 6px; justify-content: center; margin-top: 18px; }

.stage-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(11,18,32,.14);
  transition: background .3s ease, width .3s ease;
  display: block;
}

.stage-dots i.active { background: var(--accent); width: 18px; border-radius: 3px; }

/* ---------- Logo marquee ---------- */
.trusted {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.trusted-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--body-dim);
  margin-bottom: 26px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee { to { transform: translateX(-50%); } }

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 48px;
  padding: 12px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
  color: rgba(11,18,32,.32);
  white-space: nowrap;
  filter: grayscale(1);
}

/* ---------- Sections ---------- */
section { padding: 120px 0; }

.panel-bg { background: var(--panel); }

.section-head { max-width: 720px; margin-bottom: 48px; }

.kicker {
  color: var(--accent);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.55;
  max-width: 560px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* Grid 3 */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: opacity .5s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.card.in:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 22px;
  letter-spacing: .02em;
}

.card h3 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 700;
}

.card p { color: var(--body); line-height: 1.55; font-size: 15px; margin: 0; }

.usecase-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

/* ---------- How it works: alternating rows ---------- */
.how-head { max-width: 640px; margin-bottom: 24px; }

.how-head .sub {
  margin: 14px 0 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

.hiw-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}

.hiw-row > * { min-width: 0; }

.hiw-row.flip .hiw-text { order: 2; }
.hiw-row.flip .hiw-visual { order: 1; }

.hiw-step {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.hiw-text h3 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.hiw-text p {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  max-width: 440px;
}

/* vignette shells */
.vignette {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 18px;
  max-width: 440px;
}

.hiw-row.flip .vignette { margin-left: auto; }

.vg-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--body-dim);
  margin-bottom: 12px;
}

.vg-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #F8FAFD;
}

.vg-row + .vg-row { margin-top: 10px; }

.vg-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}

.vg-row-main { min-width: 0; flex: 1; }
.vg-row-main strong { display: block; font-size: 13px; font-weight: 650; }
.vg-row-main small { display: block; font-size: 11px; color: var(--body-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vg-status {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11,18,32,.06);
  color: var(--body);
}

.vg-status.on { background: var(--accent-soft); color: var(--accent); }

.vg-chiprow { display: flex; gap: 8px; justify-content: center; }

.vg-chip {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.vg-connector {
  width: 2px;
  height: 22px;
  margin: 8px auto;
  background: rgba(25,60,255,.35);
  border-radius: 1px;
}

.vg-load {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #F8FAFD;
  padding: 12px 14px;
}

.vg-load-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.vg-load-head strong { font-size: 13px; font-weight: 700; }
.vg-load small { font-size: 11.5px; color: var(--body-dim); }

.vg-email {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #F8FAFD;
  margin-bottom: 10px;
}

.vg-email .left { min-width: 0; }

.vg-draft {
  border: 1px solid rgba(25,60,255,.25);
  background: rgba(25,60,255,.035);
  border-radius: 12px;
  padding: 12px;
}

.vg-draft p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(11,18,32,.82);
  margin: 0;
}

.vg-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #F8FAFD;
}

.vg-rule + .vg-rule { margin-top: 10px; }
.vg-rule strong { display: block; font-size: 13px; font-weight: 650; }
.vg-rule small { display: block; font-size: 11px; color: var(--body-dim); margin-top: 2px; }

.vg-toggle {
  flex-shrink: 0;
  position: relative;
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: rgba(11,18,32,.16);
  transition: background .25s ease;
}

.vg-toggle i {
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(11,18,32,.25);
  transition: left .25s var(--spring);
}

.vg-toggle.on { background: var(--accent); }
.vg-toggle.on i { left: 17px; }

/* ---------- Scenario cards (brokers / carriers pages) ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.scenario-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }

.scenario-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity .5s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.scenario-card.in:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.sc-email {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #F8FAFD;
}

.sc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.sc-subject { font-size: 13.5px; font-weight: 650; min-width: 0; }
.sc-preview { font-size: 12px; color: var(--body-dim); margin: 0; line-height: 1.45; }

.sc-draft {
  border: 1px solid rgba(25,60,255,.25);
  background: rgba(25,60,255,.035);
  border-radius: 12px;
  padding: 12px;
  flex: 1;
}

.sc-draft p {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(11,18,32,.82);
  margin: 0 0 10px;
}

/* ---------- Social proof (placeholder) ---------- */
.proof-head { max-width: 640px; margin-bottom: 44px; }

.proof-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.quote-cards { display: flex; flex-direction: column; gap: 16px; }

.quote-card {
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  margin: 0;
}

.placeholder-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 9px;
  margin-bottom: 14px;
}

.quote-card > blockquote {
  margin: 0 0 14px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
}

.quote-card figcaption { margin: 0; }

.quote-card cite { display: block; font-style: normal; font-size: 13px; color: var(--body-dim); }

.metric-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }

.metric-card {
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
}

.metric-value {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label { font-size: 13px; color: var(--body); line-height: 1.4; }

/* ---------- Positioning statement + route animation ---------- */
.statement {
  position: relative;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}

.statement h2 {
  position: relative;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.18;
  max-width: 920px;
  margin: 0 auto;
  letter-spacing: -0.03em;
  font-weight: 750;
  z-index: 1;
}

.statement .accent-word { color: var(--accent); }

.dog-watermark {
  position: absolute;
  left: -60px;
  bottom: -40px;
  width: 460px;
  aspect-ratio: 1.17;
  background-image: url('logo-dark.png');
  background-repeat: no-repeat;
  background-size: 645% auto;
  background-position: 16.9% 53.2%;
  opacity: .05;
  mix-blend-mode: multiply;
  filter: brightness(1.14);
  pointer-events: none;
}

.route-band {
  position: relative;
  max-width: 760px;
  margin: 72px auto 0;
  z-index: 1;
}

.route-cities {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--body-dim);
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.route-track { position: relative; height: 46px; }

.route-line {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  border-top: 2px dashed rgba(25,60,255,.35);
}

.route-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(calc(-50% + 1px));
}

.route-dot.start { left: 0; box-shadow: 0 0 0 5px rgba(25,60,255,.12); }
.route-dot.end { right: 0; box-shadow: 0 0 0 5px rgba(25,60,255,.12); }

.route-truck {
  position: absolute;
  left: 0;
  top: 50%;
  width: 58px;
  height: auto;
  transform: translateY(-82%);
  animation: truck-drive 9s linear infinite;
}

@keyframes truck-drive {
  from { left: 0; }
  to   { left: calc(100% - 58px); }
}

/* ---------- CTA + form ---------- */
.cta-section { padding: 120px 0 140px; }

.cta-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }

.cta-head p { margin: 14px 0 0; color: var(--body); font-size: 17px; line-height: 1.55; }

.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

label { color: rgba(11,18,32,.72); font-size: 12.5px; font-weight: 650; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #FBFCFE;
  border-radius: 12px;
  padding: 12px 13px;
  outline: none;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder, textarea::placeholder { color: rgba(11,18,32,.32); }

input:focus, select:focus, textarea:focus {
  border-color: rgba(25,60,255,.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(25,60,255,.10);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230B1220' fill-opacity='.45'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}

textarea { min-height: 96px; resize: vertical; }

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  font-size: 15px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--body-dim);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer-outer { border-top: 1px solid var(--line); }

.footer {
  padding: 40px 0;
  color: var(--body-dim);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footlinks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--body);
}

.footlinks a:hover { color: var(--ink); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-wash, .device, .hl, .marquee-track, .route-truck { animation: none !important; }
  .route-truck { left: calc(50% - 29px); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .inbox-row, .chip, .context-strip, .draft-card { transition: none; }
  .card, .btn, .scenario-card, .vg-toggle, .vg-toggle i { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .navlinks a.plain { display: none; }
  .hero { grid-template-columns: 1fr; padding: 36px 0 60px; gap: 46px; }
  .hero.hero-single { padding: 48px 0 40px; }
  .grid3 { grid-template-columns: 1fr; }
  section { padding: 84px 0; }
  .statement { padding: 104px 0; }
  .cta-section { padding: 84px 0 104px; }
  .demo-form { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .proof-grid { grid-template-columns: 1fr; }
  .metric-cards { grid-template-columns: repeat(3, 1fr); }
  .dog-watermark { width: 320px; left: -70px; bottom: -30px; }
  .hiw-row { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .hiw-row.flip .hiw-text { order: 1; }
  .hiw-row.flip .hiw-visual { order: 2; }
  .hiw-row.flip .vignette { margin-left: 0; }
  .vignette { max-width: 100%; }
  .scenario-grid, .scenario-grid.two { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .metric-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 38px; }
  .hero p.sub { font-size: 16.5px; }
  .stage { min-height: 380px; }
  .brand img { height: 26px; }
}
