/* DistroRev — site styles. No inline styles anywhere: the CSP blocks them. */

@font-face { font-family: "Overpass"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/overpass-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/overpass-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Brand (J1 Midnight) */
  --navy: #0F2747;
  --route: #2A5C9E;
  --route-deep: #1F4A85;
  --sky: #93BDEF;
  --tint: #E1EAF6;
  --muted: #52627A;
  --on-navy: #C3D2E8;
  --navy-line: #22406A;

  /* Paper: a warm white so long reading stays easy on the eyes */
  --paper: #FBFAF7;
  --band: #F4F1EA;
  --white: #FFFFFF;
  --hair: #E3DFD6;
  --road: #DDD8CC;
  --field-line: #7D8796;
  --grey: #9AA3AE;

  --display: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1120px;
  --gutter: 16px;
  --header-h: 64px;
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.55;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.25rem; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--route); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--route); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 7.4vw, 5rem); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; max-width: 19ch; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
strong { font-weight: 600; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-family: var(--display); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px;
  background: var(--route); color: var(--white);
  font-family: var(--display); font-weight: 600; font-size: 1.0625rem; line-height: 1.1; letter-spacing: .005em;
  text-decoration: none; text-align: center;
  border: 0; border-radius: 10px; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--navy); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 48px; padding: 0 20px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { background: var(--tint); color: var(--navy); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--hair); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-block; flex: none; padding: 8px 0; }
.logo img { width: 140px; height: auto; }
@media (min-width: 900px) { .site-header .logo img { width: 168px; } }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a, .header-phone {
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  color: var(--navy); text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover, .header-phone:hover { color: var(--route); }
.header-phone { margin-left: auto; gap: 8px; white-space: nowrap; }
.i-phone { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.header-cta { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header-phone { margin-left: 8px; }
  .header-cta { display: inline-flex; }
}

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: clamp(72px, 11vw, 136px); }
.band { background: var(--band); }
.sec h2 + * { margin-top: clamp(36px, 5vw, 60px); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 6vw, 88px) clamp(56px, 9vw, 120px); }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  color: var(--route);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--route); flex: none; }
.hero h1 { max-width: 13ch; text-wrap: balance; }
.hero-sub {
  margin-top: 18px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--route);
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.call-link {
  font-family: var(--display); font-weight: 600; font-size: 1.0625rem;
  color: var(--navy); min-height: 44px; display: inline-flex; align-items: center;
}
.hero-note { margin-top: 22px; color: var(--muted); font-size: 1.0625rem; display: flex; align-items: center; gap: 10px; }
.hero-note::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--muted); border-radius: 50%; flex: none; }
@media (max-width: 479px) { .hero-cta .btn { width: 100%; } }

/* ---------- The map language (shared by every illustration) ---------- */
.road { fill: none; stroke: var(--road); stroke-width: 2; stroke-linecap: round; }
.map .road { stroke-width: 2.5; }
.wh { fill: var(--navy); }
.dot-open, .dot-open circle { fill: var(--paper); stroke: var(--navy); stroke-width: 2.5; }
.map .dot-open circle { stroke-width: 3; }
.card .dot-open { fill: var(--white); }
.dot-cust, .dot-cust circle { fill: var(--navy); }
.dot-comp { fill: var(--grey); }
.comp { fill: var(--grey); }
.parcel { fill: var(--navy); }
.parcel.missing { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 2.5 2.5; }
.comp-parcel { fill: var(--grey); }
.route-parcel { fill: var(--route); }
.ink-line { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ink-line.thin { stroke-width: 2; }
.ink-line.dashed { stroke-dasharray: 14 12; }
.faint-line { fill: none; stroke: var(--grey); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
.faint { opacity: .45; }
.comp-line { fill: none; stroke: var(--grey); stroke-width: 3; stroke-linecap: round; }
.route-line, .route path { fill: none; stroke: var(--route); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* Hero map: on load, three routes reach out and three businesses fill in. Pure CSS. */
.map { width: 100%; max-width: 560px; margin-inline: auto; }
@media (max-width: 959px) { .map { max-width: 440px; } }
.map .route path { stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) forwards; }
.map .route .r1 { animation-delay: .5s; }
.map .route .r2 { animation-delay: 1.15s; }
.map .route .r3 { animation-delay: 1.8s; }
.map .target circle { animation: win .4s var(--ease) forwards; }
.map .target .t1 { animation-delay: 1.35s; }
.map .target .t2 { animation-delay: 2s; }
.map .target .t3 { animation-delay: 2.65s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes win { to { fill: var(--route); stroke: var(--route); } }

/* Scroll reveals. Final state is the default, so without JS everything simply shows.
   site.js adds .js to <html>, then .is-in to each .reveal as it scrolls into view.
   Text is never hidden; only the drawings move. */
.no-tr, .no-tr * { transition: none !important; }
.reveal .route-line[pathLength], .reveal .boundary, .reveal .draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease) .15s; }
.js .reveal:not(.is-in) .route-line[pathLength],
.js .reveal:not(.is-in) .boundary,
.js .reveal:not(.is-in) .draw { stroke-dashoffset: 1; }

.becomes-route { transition: fill .45s var(--ease) 1s, stroke .45s var(--ease) 1s; }
.reveal .becomes-route { fill: var(--route); stroke: var(--route); }
.js .reveal:not(.is-in) .dot-open.becomes-route { fill: var(--white); stroke: var(--navy); }
.js .reveal:not(.is-in) .dot-comp.becomes-route { fill: var(--grey); stroke: var(--grey); }

.route-parcel { transition: transform .9s var(--ease) .5s, opacity .4s var(--ease) .5s; }
.js .reveal:not(.is-in) .route-parcel { opacity: 0; transform: translateX(-56px); }

.turns-grey { transition: fill .5s var(--ease) 1.2s; }
.reveal .turns-grey { fill: var(--grey); }
.js .reveal:not(.is-in) .turns-grey { fill: var(--navy); }

.comp-parcel { transition: transform .8s var(--ease) .6s, opacity .3s var(--ease) .6s; }
.js .reveal:not(.is-in) .comp-parcel { opacity: 0; transform: translateX(14px); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 820px) { .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
}
@media (min-width: 900px) { .card { padding: 34px 32px 36px; } }
.picto { width: 160px; height: 48px; margin-bottom: 26px; overflow: visible; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.h2-turn { display: block; color: var(--route); }

/* ---------- Competitors timeline ---------- */
/* Phones: a vertical timeline, each week with its own small scene.
   Desktop: one large scene stays in view while the weeks scroll past it (site.js sets data-week). */
.tl-stage { display: none; }
.stage .you-line { fill: none; stroke: var(--navy); stroke-width: 3; transition: opacity .5s var(--ease); }
.stage .you-line-gone { fill: none; stroke: var(--grey); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 10; opacity: 0; transition: opacity .5s var(--ease); }
.stage .parcel.missing { stroke-width: 2; stroke-dasharray: 4 4; }
.stage .you-parcels { transition: opacity .5s var(--ease); }
.stage .cust { fill: var(--navy); transition: fill .7s var(--ease) .3s; }
.stage .rival { fill: var(--grey); opacity: .3; transition: opacity .5s var(--ease); }
.stage .rival-line { fill: none; stroke: var(--grey); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease) .2s; }
.stage .rival-parcels rect { fill: var(--grey); opacity: 0; transform: translateX(40px); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.stage[data-week="2"] .rival, .stage[data-week="6"] .rival { opacity: 1; }
.stage[data-week="2"] .rival-line, .stage[data-week="6"] .rival-line { stroke-dashoffset: 0; }
.stage[data-week="6"] .you-line, .stage[data-week="6"] .you-parcels { opacity: 0; }
.stage[data-week="6"] .you-line-gone { opacity: 1; }
.stage[data-week="6"] .cust { fill: var(--grey); }
.stage[data-week="6"] .rival-parcels rect { opacity: 1; transform: none; }
.stage[data-week="6"] .rival-parcels rect + rect { transition-delay: .15s; }

.timeline { display: grid; gap: 0; counter-reset: none; }
.tl-step { position: relative; padding: 0 0 44px 40px; }
.tl-step::before { /* node */
  content: ""; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--navy);
}
.tl-step::after { /* track to the next node */
  content: ""; position: absolute; left: 8px; top: 30px; bottom: 2px;
  border-left: 2px solid var(--navy);
}
.tl-step:nth-child(2)::after { border-left-style: dashed; border-left-color: var(--grey); }
.tl-step:last-child { padding-bottom: 0; }
.tl-step:last-child::after { display: none; }
.tl-step:last-child::before { border-color: var(--grey); background: var(--grey); }
.tl-week { font-family: var(--display); font-weight: 800; font-size: 1.375rem; letter-spacing: -.01em; line-height: 1.3; }
.scene { width: 220px; height: 72px; margin: 14px 0 12px; overflow: visible; }
.tl-text { font-size: 1.1875rem; max-width: 24ch; }
@media (min-width: 900px) {
  .tl-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: start; }
  .tl-stage {
    display: block; position: sticky; top: calc(50vh - 200px + var(--header-h) / 2);
    background: var(--white); border: 1px solid var(--hair); border-radius: 20px;
    padding: 28px 24px;
  }
  .stage { width: 100%; height: auto; }
  .scene { display: none; }
  .timeline { padding-block: 8vh 4vh; }
  .tl-step { padding: 0 0 26vh 48px; }
  .tl-step:last-child { padding-bottom: 22vh; }
  .tl-step::before { top: 8px; width: 22px; height: 22px; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
  .tl-step::after { left: 10px; top: 38px; }
  .tl-step.is-now::before { background: var(--navy); }
  .tl-step:last-child.is-now::before { background: var(--grey); }
  .tl-week { font-size: 1.75rem; }
  .tl-text { margin-top: 8px; font-size: 1.375rem; line-height: 1.4; }
}
.closing {
  margin-top: clamp(48px, 7vw, 88px);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em;
  max-width: 26ch;
}
.closing span { color: var(--route); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 0; position: relative; }
.steps li { position: relative; padding: 0 0 40px 76px; min-height: 56px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::after { /* route between stops */
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 3px;
  background: var(--route);
  transform-origin: top; transition: transform .7s var(--ease);
}
.steps li:last-child::after { display: none; }
.step-n {
  position: absolute; left: 0; top: -2px;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 3px solid var(--route); color: var(--route);
  font-family: var(--display); font-weight: 800; font-size: 1.375rem; line-height: 1;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.steps li:last-child .step-n { background: var(--route); color: var(--white); }
.steps h3 { padding-top: 12px; margin-bottom: 6px; }
.steps p { color: var(--muted); max-width: 30ch; }
.steps li:nth-child(2)::after { transition-delay: .25s; }
.steps li:nth-child(3)::after { transition-delay: .5s; }
.js .steps:not(.is-in) li::after { transform: scaleY(0); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { padding: 84px 0 0; }
  .steps li::after { left: 62px; right: -22px; top: 26px; bottom: auto; width: auto; height: 3px; transform-origin: left; }
  .js .steps:not(.is-in) li::after { transform: scaleX(0); }
  .steps h3 { padding-top: 0; }
}

/* ---------- Ground rules (navy) ---------- */
.navy { background: var(--navy); color: var(--on-navy); }
.navy h2 { color: var(--white); }
.rules-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .rules-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; } }
.rules { display: grid; gap: 26px; margin-top: clamp(36px, 5vw, 52px); }
.rules li { position: relative; padding-left: 36px; max-width: 40ch; }
.rules li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 3px; background: var(--sky); }
.rules strong { display: block; color: var(--white); font-family: var(--display); font-weight: 800; font-size: 1.3125rem; letter-spacing: -.01em; margin-bottom: 4px; }
.territory { width: 100%; max-width: 440px; margin-inline: auto; }
.boundary { fill: #13305A; stroke: var(--sky); stroke-width: 2.5; stroke-linejoin: round; }
.outsider { fill: none; stroke: #4A6894; stroke-width: 2; }
.in-open circle { fill: #13305A; stroke: var(--on-navy); stroke-width: 2; }
.in-cust circle { fill: var(--on-navy); }
.owner { fill: var(--sky); }
.territory .in-open, .territory .in-cust, .territory .owner { transition: opacity .6s var(--ease) .8s; }
.js .territory:not(.is-in) .in-open, .js .territory:not(.is-in) .in-cust { opacity: 0; }

/* ---------- Fit ---------- */
.fit { display: grid; gap: 16px; }
@media (min-width: 820px) { .fit { grid-template-columns: 1fr 1fr; gap: 20px; } }
.fit-col { background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius); padding: 30px 24px; }
@media (min-width: 900px) { .fit-col { padding: 38px 36px; } }
.fit-col h3 { font-size: 1.5rem; margin-bottom: 20px; }
.fit-col ul { display: grid; gap: 16px; }
.fit-col li { position: relative; padding-left: 40px; }
.fit-col li::before {
  content: ""; position: absolute; left: 0; top: .14em;
  width: 26px; height: 26px; border-radius: 50%;
  background: no-repeat center / 14px 14px;
}
.fit-yes li::before {
  background-color: var(--route);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.3 11.5 3.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fit-no li::before {
  background-color: var(--band);
  box-shadow: inset 0 0 0 2px var(--muted);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7H10.5' fill='none' stroke='%2352627A' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.fit-no h3 { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-in { display: grid; gap: 0; }
@media (min-width: 960px) {
  .faq-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq-in h2 { position: sticky; top: calc(var(--header-h) + 40px); }
  .faq-in h2 + * { margin-top: 0; }
}
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 16px 0;
  font-family: var(--body); font-weight: 600; font-size: 1.25rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--navy);
  background: no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1V11M1 6H11' fill='none' stroke='%230F2747' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--tint); }
.faq summary:hover { color: var(--route); }
.faq details p { padding: 0 52px 24px 0; color: var(--muted); max-width: 56ch; }

/* ---------- Contact ---------- */
.contact-in { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.contact-intro h2 + * { margin-top: 20px; }
.destination { width: 200px; height: 48px; margin-bottom: 28px; overflow: visible; }
.dest-dot { fill: var(--band); transition: fill .5s var(--ease), stroke .5s var(--ease); }
.is-sent .dest-dot { fill: var(--route); stroke: var(--route); }
.lead { font-size: 1.25rem; max-width: 34ch; }
@media (min-width: 900px) { .lead { font-size: 1.375rem; } }
.talk { margin-top: 28px; font-size: 1.125rem; color: var(--muted); }
.talk a { font-weight: 600; display: inline-block; padding-block: 8px; }
.nowrap { white-space: nowrap; }

.form-card { background: var(--white); border: 1px solid var(--hair); border-radius: 18px; padding: 24px 20px 28px; }
@media (min-width: 640px) { .form-card { padding: 36px 36px 38px; } }
.form { display: grid; gap: 20px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; gap: 22px 20px; } .form > .consent, .form > .ts, .form > .btn, .form > .form-note, .form > .field-wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.field input {
  width: 100%; min-height: 56px; padding: 12px 16px;
  font: inherit; font-size: 1.125rem; color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--field-line); border-radius: 10px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input::placeholder { color: #69768A; opacity: 1; font-size: 1rem; }
.field input:hover { border-color: var(--navy); }
.field input:focus { outline: none; border-color: var(--route); box-shadow: 0 0 0 3px var(--tint), 0 0 0 5px var(--route); }
.field input:user-invalid { border-color: #B3261E; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--hair); }
.consent input {
  appearance: none; -webkit-appearance: none; margin: 0;
  width: 28px; height: 28px; border-radius: 7px;
  border: 2px solid var(--field-line); background: var(--white);
  display: grid; place-items: center; cursor: pointer;
}
.consent input::after {
  content: ""; width: 14px; height: 14px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.3 11.5 3.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0;
}
.consent input:checked { background: var(--route); border-color: var(--route); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { outline: 3px solid var(--route); outline-offset: 3px; }
.consent label { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; cursor: pointer; display: inline-block; padding-top: 2px; }
.consent p { margin-top: 6px; font-size: .9375rem; line-height: 1.5; color: var(--muted); }

.ts:empty { display: none; }
.form .btn { min-height: 60px; font-size: 1.125rem; margin-top: 4px; }
.form-note { font-size: 1rem; color: var(--muted); text-align: center; }

.form-status:focus { outline: none; }
.ok-msg, .err-msg { font-size: 1.25rem; line-height: 1.45; }
.ok-msg { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.015em; color: var(--navy); padding: 12px 0; }
.err-msg { margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: #FBEAEA; color: #7A1712; }
.err-msg a { color: #7A1712; font-weight: 600; }
.is-sent .form { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 56px 0 48px; font-size: 1.0625rem; }
.footer-in { display: grid; gap: 18px; justify-items: start; }
.site-footer .logo img { width: 150px; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--white); }
.footer-contact a, .footer-legal a { display: inline-block; padding-block: 10px; }
.footer-copy { color: var(--on-navy); }
@media (min-width: 900px) {
  .footer-in { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 40px; }
  .footer-contact { justify-self: end; }
}

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--hair);
  transition: transform .3s var(--ease);
}
.mobile-bar .btn { min-height: 52px; padding: 0 12px; font-size: 1rem; }
.mobile-bar.is-hidden { transform: translateY(110%); }
body:has(> .mobile-bar) { padding-bottom: 76px; }
@media (min-width: 900px) { .mobile-bar { display: none; } body:has(> .mobile-bar) { padding-bottom: 0; } }

/* ---------- Desktop route rail: one line that draws itself down the page ---------- */
.rail, .stop { display: none; }
@media (min-width: 1280px) {
  main { position: relative; }
  .rail {
    display: block; position: absolute; z-index: 3; pointer-events: none;
    left: calc((100% - var(--maxw)) / 2 - 40px);
    width: 3px; margin-left: -1px;
    background: var(--hair);
  }
  .rail::after {
    content: ""; position: absolute; inset: 0;
    background: var(--route);
    transform-origin: top; transform: scaleY(var(--rail-p, 0));
  }
  .stop {
    display: block; position: absolute; z-index: 4;
    left: calc((100% - var(--maxw)) / 2 - 40px);
    top: calc(clamp(72px, 11vw, 136px) + 14px);
    width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
    background: var(--paper); border: 3px solid var(--road);
    transition: background-color .3s var(--ease), border-color .3s var(--ease);
  }
  .band .stop { background: var(--band); }
  .navy .stop { background: var(--navy); border-color: var(--navy-line); }
  .stop.is-on { background: var(--route); border-color: var(--route); }
  .navy .stop.is-on { background: var(--sky); border-color: var(--sky); }
}

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 8vw, 96px) clamp(72px, 10vw, 120px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.legal .updated { margin-top: 14px; color: var(--muted); }
.legal h2 { font-size: 1.5rem; letter-spacing: -.015em; max-width: none; margin-top: 48px; }
.legal h2 + * { margin-top: 12px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 8px; }
.legal li::marker { color: var(--route); }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(80px, 14vw, 180px); }
.notfound p { margin-top: 20px; font-size: 1.25rem; }

/* ---------- Motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
}
