/* =========================================================
   Yami Express LLC
   Palette comes from the live site (yamiexpress.vercel.app/c)
   and the logo file (assets/yami-logo.png). Don't add new colors
   here without checking them against the brand.
   ========================================================= */
:root {
  /* From the logo */
  --navy: #00246C;
  --navy-900: #001860;
  --red: #C80C18;

  /* From the live site's CSS */
  --accent: #0071E3;
  --accent-hover: #0062C4;   /* accent darkened for hover/pressed */
  --text: #1D1D1F;
  --muted: #6E6E73;
  --bg: #F5F5F7;
  --card: #FFFFFF;
  --hair: #D2D2D7;
  --line: rgba(0, 0, 0, .08);
  --ok: #34C759;
  --err: #E5484D;

  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255, 255, 255, .78);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 80px rgba(17, 24, 48, .10), 0 6px 18px rgba(17, 24, 48, .05);

  --gutter: 20px;
  --section-y: 72px;
  --header-h: 68px;
  --bar-h: 76px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur: 200ms;

  --z-header: 40;
  --z-bar: 50;
  --z-toast: 60;
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --section-y: 112px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  top: 0 !important; /* Google Translate pushes body down; keep layout stable */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5.4vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { touch-action: manipulation; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .pay :focus-visible, .shippers :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-lede { margin-top: 12px; font-size: 1.1875rem; color: var(--muted); max-width: 56ch; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; position: relative;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
/* Lift on hover only where a real pointer can hover; touch gets the pressed state */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 24, 96, .16); }
  .btn-primary:hover { box-shadow: 0 10px 24px rgba(0, 113, 227, .32); }
}
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: 80ms; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--hair); }
.btn-outline:hover { border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; height: 44px; padding: 0 10px;
  background: transparent; border: 0; border-radius: var(--radius-sm); cursor: pointer; color: var(--navy);
}
.icon-btn:hover { background: var(--bg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; min-height: 44px; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.015em; white-space: nowrap; }
.brand-name span { font-weight: 600; color: var(--muted); display: none; }
@media (min-width: 480px) { .brand-name span { display: inline; } }
@media (max-width: 359px) { .brand-name { display: none; } }

.header-actions { display: flex; align-items: center; gap: 4px; }
.lang-code { font-size: .875rem; font-weight: 700; }
.header-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--radius-sm);
  color: var(--navy); text-decoration: none; font-weight: 700;
}
.header-call:hover { background: var(--bg); }
.header-call-num, .header-apply { display: none; }

.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  box-shadow: 0 20px 40px rgba(17, 24, 48, .08);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.main-nav a {
  display: flex; align-items: center; min-height: 52px;
  font-size: 1.125rem; font-weight: 600; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 1080px) {
  .main-nav { position: static; transform: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; padding: 0; transition: none; }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav ul { gap: 0; }
  .main-nav a { min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); font-size: .9375rem; color: var(--text); white-space: nowrap; }
  .main-nav a:hover { background: var(--bg); }
  .main-nav ul { align-items: center; }
  .main-nav .nav-apply { margin-left: 8px; }
  .main-nav .nav-apply a { min-height: 44px; padding: 0 18px; }
  .menu-btn { display: none; }
  .header-actions { gap: 4px; margin-left: 4px; }
}
/* "Apply now" lives in the nav; this copy only fills the gap where the nav is collapsed but the sticky bar is gone */
@media (min-width: 900px) and (max-width: 1079px) {
  .header-apply { display: inline-flex; }
}

/* Highlighted "Apply now" item inside the main navigation */
.main-nav .nav-apply a {
  justify-content: center; margin-top: 16px; min-height: 52px;
  color: #fff; border-bottom: 0; border-radius: var(--radius);
}
.main-nav .nav-apply a:hover { background: var(--accent-hover); }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--accent); }
@media (min-width: 1080px) {
  .main-nav .nav-apply a { margin-top: 0; min-height: 44px; border-radius: var(--radius-sm); }
  .main-nav .nav-apply a[aria-current="page"] { box-shadow: 0 0 0 3px rgba(0, 113, 227, .25); }
}
.header-call-num { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1079px), (min-width: 1280px) {
  .header-call-num { display: inline; }
}

/* ---------- Hero ---------- */
/* The hero slides up under the sticky header so the header can sit transparent on the photo */
.hero { position: relative; color: var(--on-dark); background: var(--navy-900); overflow: hidden; isolation: isolate; margin-top: calc(-1 * var(--header-h)); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 24, 96, .62) 0%, rgba(0, 24, 96, .30) 16%, rgba(0, 24, 96, .55) 45%, rgba(0, 24, 96, .94) 100%);
}
.hero-grid { display: grid; gap: 32px; padding-top: calc(var(--header-h) + 56px); padding-bottom: 36px; }
.hero-content { min-height: min(56svh, 500px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-kicker { font-weight: 600; font-size: 1rem; color: var(--on-dark-muted); margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(2.75rem, 11vw, 5.5rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  max-width: 11ch;
}
.hero-lede { margin-top: 18px; font-size: clamp(1.125rem, 2.4vw, 1.375rem); line-height: 1.5; color: var(--on-dark-muted); max-width: 40ch; }
.hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; max-width: 460px; }
.hero-ctas .btn { padding: 0 16px; }

.hero-trust { border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 24, 96, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; }
.trust-list li { padding: 14px 0; font-size: .9375rem; color: var(--on-dark-muted); }
.trust-list li:nth-child(odd) { padding-right: 12px; }
.trust-list strong { color: #fff; font-weight: 700; }
.trust-k { margin-right: 2px; }

@media (min-width: 900px) {
  .hero::before { background: linear-gradient(180deg, rgba(0, 24, 96, .65) 0, transparent 150px), linear-gradient(90deg, rgba(0, 24, 96, .94) 0%, rgba(0, 24, 96, .86) 40%, rgba(0, 24, 96, .35) 62%, rgba(0, 24, 96, .05) 82%), linear-gradient(0deg, rgba(0, 24, 96, .5), transparent 40%); }
  .hero-media img { object-position: 60% 60%; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; padding-top: calc(var(--header-h) + 72px); padding-bottom: 72px; min-height: min(88vh, 820px); }
  .hero-content { min-height: 0; justify-content: center; }
  .hero-ctas { display: flex; }
  .trust-list { display: flex; gap: 40px; }
  .trust-list li { padding: 20px 0; }
}

/* ---------- Why ---------- */
.why { background: var(--card); }
.why-grid { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.why-grid li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.why-grid .icon { color: var(--accent); grid-row: span 2; margin-top: 2px; }
.why-grid p { color: var(--muted); margin-top: 4px; }
@media (min-width: 700px) {
  .why-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 1080px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .why-grid li { display: block; padding: 28px 0 0; border-bottom: 0; border-top: 3px solid var(--navy); }
  .why-grid .icon { margin-bottom: 18px; }
  .why-grid p { margin-top: 8px; }
}

/* ---------- Pay (the bold moment) ---------- */
.pay { position: relative; background: var(--navy); color: var(--on-dark); }
.stripe-band {
  position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px);
}
.pay .section-lede { color: var(--on-dark-muted); }
.gross-grid { display: grid; gap: 36px; margin-top: 48px; }
.gross-label { font-size: 1.125rem; font-weight: 700; color: #fff; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.2); margin-bottom: 14px; }
.gross-figure {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .12em;
  font-size: clamp(2rem, 9.4vw, 4.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gross-dash { color: rgba(255,255,255,.45); font-weight: 500; }
.gross-unit { margin-top: 10px; color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .gross-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .gross-figure { font-size: clamp(2.5rem, 4.4vw, 4.25rem); }
}

.package-list { display: grid; gap: 14px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.2); }
.package-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; }
.package-list .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 26px; height: 26px; stroke-width: 3; margin-top: 1px; }
.package-list strong { font-weight: 700; }
.package-list span span { color: var(--on-dark-muted); }
@media (min-width: 700px) { .package-list { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 18px; } }

.fineprint { margin: 36px 0 28px; font-size: .875rem; line-height: 1.55; color: var(--on-dark-muted); max-width: 70ch; }

/* ---------- Equipment ---------- */
.equipment { background: var(--bg); }
.equip-grid { display: grid; gap: 12px; margin-top: 40px; }
.equip-card { background: var(--card); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--line); }
.equip-card p { color: var(--muted); margin-top: 6px; }
.equip-art { width: 120px; height: 48px; margin-bottom: 18px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.equip-art .ghost { stroke: var(--muted); }
.equip-more { background: transparent; border-style: dashed; border-color: var(--hair); }
.equip-more .equip-art { stroke: var(--accent); }
@media (min-width: 600px) { .equip-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .equip-grid { grid-template-columns: repeat(5, 1fr); } .equip-card { padding: 24px 20px; } }

/* ---------- Split layout (plates, coverage) ---------- */
.split { display: grid; gap: 36px; align-items: center; }
.split-media { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.split-body p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.split-body h2 + p { margin-top: 18px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-reverse > :first-child { order: 0; }
}

/* ---------- Coverage tile map ---------- */
.coverage { background: var(--bg); }
.tile-map {
  display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(8, auto); gap: 4px;
  width: 100%; max-width: 560px; justify-self: center;
}
.tile {
  aspect-ratio: 1; display: grid; place-items: center;
  background: var(--navy); color: rgba(255,255,255,.85);
  font-size: clamp(.5625rem, 1.9vw, .8125rem); font-weight: 700; letter-spacing: .02em;
  border-radius: 4px;
}
.tile-home { background: var(--red); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red); position: relative; z-index: 1; }
.stat-row { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 28px; }
.stat-row li { display: grid; }
.stat-row strong { font-size: clamp(2.5rem, 7vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-row span { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.coverage-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; font-size: .9375rem; color: var(--muted); }
.legend-swatch { width: 16px; height: 16px; border-radius: 3px; background: var(--navy); }
.legend-swatch + span { margin-right: 14px; }
.legend-home { background: var(--red); }

/* ---------- How it works ---------- */
/* 01 / 02 / 03 / 04 with a vertical line that fills as the page scrolls (js/motion.js sets --p) */
.how-grid { display: grid; gap: 40px; }
.steps { position: relative; display: grid; --num-col: 64px; }
.steps-track {
  position: absolute; left: calc(var(--num-col) / 2 - 1px); top: 18px; bottom: 18px; width: 2px;
  background: var(--hair); border-radius: 2px; overflow: hidden;
}
.steps-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(1); }
.js-motion .steps-fill { transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: var(--num-col) 1fr; column-gap: 20px; padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative; align-self: start; text-align: center; padding: 4px 0; background: var(--card);
  font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  color: var(--navy); transition: color 400ms var(--ease-out);
}
.js-motion .step:not(.is-active) .step-num { color: var(--hair); }
.step h3 { font-size: 1.375rem; padding-top: 4px; }
.step p { margin-top: 8px; color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .how-intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .steps { --num-col: 96px; }
  .step { padding-bottom: 64px; column-gap: 28px; }
  .step-num { font-size: 3.5rem; }
  .step h3 { font-size: 1.5rem; padding-top: 10px; }
}

/* ---------- Forms ---------- */
.apply { background: var(--bg); }
.apply-grid, .contact-grid { display: grid; gap: 36px; align-items: start; }
.apply-intro p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 44ch; }
@media (min-width: 900px) {
  .apply-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .apply-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

.call-card {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
  padding: 16px 22px 16px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  color: var(--navy); text-decoration: none;
}
.call-card:hover { border-color: var(--navy); }
.call-card .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--navy); color: #fff; }
.call-card-k { display: block; font-size: .875rem; color: var(--muted); }
.call-card strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }

.card { background: var(--card); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .card { padding: 36px; } }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { font-size: .9375rem; font-weight: 600; padding: 0; }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: #fff; border: 1.5px solid var(--hair); border-radius: var(--radius-sm);
  font-size: 1rem; /* 16px avoids iOS zoom */
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--red); font-size: .875rem; font-weight: 500; }
.field-error .icon { width: 16px; height: 16px; margin-top: 2px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--hair); border-radius: var(--radius-sm); cursor: pointer; font-weight: 600;
}
.choice:has(input:checked) { border-color: var(--accent); background: rgba(0, 113, 227, .06); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); border-color: var(--accent); }
.choice input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.fieldset-invalid .choice { border-color: var(--red); }

.form-summary { padding: 14px 16px; border-radius: var(--radius-sm); background: #FDEDEE; color: var(--text); border-left: 4px solid var(--red); }
.form-summary:focus { outline: none; }
.form-summary p { font-weight: 700; }
.form-summary ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.form-summary a { color: var(--red); font-weight: 600; }
.consent, .form-hint { font-size: .875rem; color: var(--muted); }

.form-success { text-align: left; }
.form-success .ok-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.form-success .ok-mark .icon { width: 26px; height: 26px; stroke-width: 3; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { margin-top: 10px; color: var(--muted); }
.form-success .btn { margin-top: 22px; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; gap: 16px; margin-top: 40px; }
.review { position: relative; border-radius: var(--radius-lg); padding: 28px 24px 24px; background: var(--bg); }
.review.placeholder { background: #fff; border: 2px dashed var(--hair); }
.placeholder-tag { display: inline-block; font-size: .8125rem; font-weight: 700; color: var(--red); background: #FDEDEE; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; }
.review-who { margin-top: 18px; font-weight: 600; color: var(--muted); font-size: .9375rem; }
.review-name { display: block; color: var(--text); font-weight: 700; font-size: 1rem; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Shippers ---------- */
.shippers { background: var(--navy-900); color: var(--on-dark); }
.shippers-inner { display: grid; gap: 28px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.shippers img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius-lg); }
.shippers h2 { font-size: clamp(1.625rem, 3.6vw, 2.25rem); }
.shippers p { margin: 12px 0 24px; color: var(--on-dark-muted); max-width: 52ch; }
@media (min-width: 900px) {
  .shippers-inner { grid-template-columns: 360px 1fr; gap: 56px; }
  .shippers img { aspect-ratio: 4 / 3; }
}

/* ---------- FAQ ---------- */
.faq-wrap > * { max-width: 860px; }
.faq-search { position: relative; margin-top: 28px; }
.faq-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.faq-search input {
  width: 100%; min-height: 54px; padding: 12px 16px 12px 48px;
  border: 1.5px solid var(--hair); border-radius: var(--radius); background: var(--bg); font-size: 1rem;
}
.faq-search input:focus-visible { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
.faq-status { min-height: 1.5em; margin: 10px 0 4px; font-size: .9375rem; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.0625rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--muted); transition: transform var(--dur) var(--ease-out); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }
.faq-list mark { background: rgba(0, 113, 227, .14); color: inherit; border-radius: 3px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-list { display: grid; gap: 4px; margin-top: 28px; }
.contact-list li { display: flex; align-items: center; gap: 14px; min-height: 52px; font-size: 1.0625rem; }
.contact-list .icon { color: var(--navy); }
.contact-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-muted); padding-top: 56px; }
.footer-grid { display: grid; gap: 36px; align-items: start; }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; background: #fff; }
.footer-brand p { margin-top: 14px; max-width: 36ch; }
.footer-ids { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #fff; font-weight: 700; }
.footer-links, .footer-contact { display: grid; gap: 2px; }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; min-height: 40px; color: #fff; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact li { min-height: 40px; display: flex; align-items: center; }
.footer-base { margin-top: 40px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transition: transform 240ms var(--ease-out);
}
.mobile-bar .btn { min-height: 54px; }
.mobile-bar.is-hidden { transform: translateY(110%); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: var(--z-toast); max-width: calc(100% - 32px);
  background: var(--text); color: #fff; padding: 14px 18px; border-radius: var(--radius); font-weight: 600; box-shadow: var(--shadow);
}
@media (min-width: 900px) { .toast { bottom: 24px; } }

/* ---------- Language dialog ---------- */
.lang-dialog {
  width: min(520px, calc(100% - 24px)); max-height: min(720px, calc(100dvh - 48px));
  padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: none; flex-direction: column; color: var(--text);
}
.lang-dialog[open] { display: flex; }
.lang-dialog::backdrop { background: rgba(0, 24, 96, .45); }
.lang-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 6px 22px; }
.lang-head h2 { font-size: 1.375rem; letter-spacing: -0.015em; }
.lang-search { margin: 8px 22px 10px; }
.lang-list { overflow-y: auto; padding: 0 12px 8px; flex: 1; }
.lang-list button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px;
  padding: 0 12px; border: 0; background: none; border-radius: var(--radius-sm); cursor: pointer; text-align: left;
}
.lang-list button:hover { background: var(--bg); }
.lang-list .lang-native { font-weight: 600; }
.lang-list .lang-en { color: var(--muted); font-size: .9375rem; }
.lang-list button[aria-current="true"] { background: rgba(0, 113, 227, .08); }
.lang-list button[aria-current="true"] .lang-native::after { content: " ✓"; color: var(--accent); }
.lang-empty { padding: 16px 22px; color: var(--muted); }
.lang-note { padding: 14px 22px 20px; font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--line); }

/* Hide Google Translate chrome; we use our own picker */
.goog-te-banner-frame, iframe.skiptranslate, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .goog-te-spinner-pos { display: none !important; }
.goog-text-highlight, .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-yAWNEb-L7lbkb, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }

/* =========================================================
   Apply page (apply.html)
   Uses only the tokens above; no new colors.
   ========================================================= */
.lp-hero .hero-content { min-height: 0; padding: 0; }
.lp-hero h1 { font-size: clamp(2.25rem, 9vw, 4.25rem); max-width: 14ch; }
.lp-hero .hero-ctas .btn { white-space: normal; text-align: center; line-height: 1.2; }
.lp-hero-grid { display: grid; gap: 28px; padding-top: calc(var(--header-h) + 32px); padding-bottom: 32px; }
.lp-hero::before { background: linear-gradient(180deg, rgba(0, 24, 96, .70) 0%, rgba(0, 24, 96, .55) 12%, rgba(0, 24, 96, .82) 35%, rgba(0, 24, 96, .96) 70%); }

.lp-form { gap: 16px; color: var(--text); }
.lp-form h2 { font-size: 1.5rem; letter-spacing: -0.015em; }
.lp-form .form-sub { margin-top: -8px; color: var(--muted); font-size: .9375rem; }

@media (min-width: 900px) {
  .lp-hero::before { background: linear-gradient(180deg, rgba(0, 24, 96, .65) 0, transparent 150px), linear-gradient(90deg, rgba(0, 24, 96, .94) 0%, rgba(0, 24, 96, .84) 45%, rgba(0, 24, 96, .45) 70%, rgba(0, 24, 96, .25) 100%); }
  .lp-hero-grid { grid-template-columns: 1fr 440px; gap: 56px; align-items: center; padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px; }
  .lp-hero .hero-content { padding: 0; }
}

.lp-req { background: var(--bg); }
.req-list { display: grid; gap: 12px; margin-top: 32px; }
.req-list li {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; font-size: 1.125rem; font-weight: 700;
}
.req-list .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--navy); color: #fff; stroke-width: 3; }
@media (min-width: 900px) { .req-list { grid-template-columns: repeat(3, 1fr); } }


/* =========================================================
   Motion & interaction (js/motion.js, js/widgets.js)

   Every hidden starting state is gated on html.js-motion, which an
   inline <head> script adds and removes again if motion.js never
   starts. Without JavaScript all content is visible as-is.
   ========================================================= */
:root { --rv-dur: 480ms; --rv-dist: 24px; }
@media (min-width: 900px) { :root { --rv-dur: 720ms; } }

/* ---------- Header: transparent over the hero, solid after scrolling ---------- */
.site-header { transition: background-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms var(--ease-out); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(17, 24, 48, .08); }
.js-motion .site-header[data-overlay]:not(.is-scrolled) {
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.js-motion .site-header[data-overlay]:not(.is-scrolled) :is(.brand, .icon-btn, .header-call) { color: #fff; }
.js-motion .site-header[data-overlay]:not(.is-scrolled) .brand-name span { color: rgba(255, 255, 255, .75); }
.js-motion .site-header[data-overlay]:not(.is-scrolled) :is(.icon-btn, .header-call):hover { background: rgba(255, 255, 255, .14); }
.js-motion .site-header[data-overlay]:not(.is-scrolled) :focus-visible { outline-color: #fff; }
@media (min-width: 1080px) {
  .js-motion .site-header[data-overlay]:not(.is-scrolled) .main-nav a:not(.btn) { color: #fff; }
  .js-motion .site-header[data-overlay]:not(.is-scrolled) .main-nav a:not(.btn):hover { background: rgba(255, 255, 255, .14); }
}

/* ---------- Eyebrow label above section headlines ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 3px; border-radius: 2px; background: var(--red); }
:is(.pay, .shippers, .calc-result) .eyebrow { color: #fff; }

/* ---------- Scroll reveal ---------- */
.js-motion [data-reveal] {
  opacity: 0; transform: translate3d(0, var(--rv-dist), 0);
  transition: opacity var(--rv-dur) var(--ease-out) var(--rd, 0ms), transform var(--rv-dur) var(--ease-out) var(--rd, 0ms);
}
.js-motion .is-revealed [data-reveal] { opacity: 1; transform: none; }

/* ---------- Images fade in instead of popping ---------- */
img[data-fade] { transition: opacity 600ms var(--ease-out); }
.js-motion img[data-fade]:not(.is-loaded) { opacity: 0; }

[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- Hero settlement card ---------- */
.settle {
  position: relative; width: 100%; max-width: 400px; justify-self: start;
  background: var(--card); color: var(--text); border-radius: var(--radius-lg); padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 10, 40, .35), 0 6px 18px rgba(0, 10, 40, .18);
  font-variant-numeric: tabular-nums;
}
.settle-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .8125rem; color: var(--muted); }
.settle-tag { font-weight: 700; color: var(--red); background: #FDEDEE; padding: 3px 10px; border-radius: 999px; }
.settle-who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.settle-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .875rem; }
.settle-who strong { display: block; font-size: 1rem; }
.settle-who span { font-size: .8125rem; color: var(--muted); }
.settle-gross { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg); }
.settle-gross p { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.settle-gross strong { display: block; font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--navy); }
.settle-lines { margin-top: 10px; }
.settle-lines li {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px;
  padding: 7px 0; font-size: .875rem; border-bottom: 1px solid var(--line);
}
.settle-lines li:last-child { border-bottom: 0; }
.settle-lines .amt { font-weight: 700; }
.settle-lines .neg .amt { color: var(--red); }
.settle-check { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.settle-check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.settle-check path { stroke-dasharray: 20; stroke-dashoffset: 0; }
.settle-net { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 12px; border-top: 2px solid var(--text); font-weight: 800; }
.settle-net strong { font-size: 1.25rem; }
.settle-note { margin-top: 10px; font-size: .75rem; color: var(--muted); }

.js-motion .settle { opacity: 0; transition: opacity 600ms var(--ease-out); }
.js-motion .settle.is-in { opacity: 1; }
.js-motion .settle-lines li { opacity: 0; transform: translateY(6px); }
.js-motion .settle.is-in .settle-lines li { opacity: 1; transform: none; transition: opacity 400ms var(--ease-out) var(--sd, 0ms), transform 400ms var(--ease-out) var(--sd, 0ms); }
.js-motion .settle:not(.is-in) .settle-check { transform: scale(.4); }
.js-motion .settle.is-in .settle-check { transition: transform 350ms cubic-bezier(.34, 1.56, .64, 1) calc(var(--sd, 0ms) + 120ms); }
.js-motion .settle:not(.is-in) .settle-check path { stroke-dashoffset: 20; }
.js-motion .settle.is-in .settle-check path { transition: stroke-dashoffset 350ms var(--ease-out) calc(var(--sd, 0ms) + 200ms); }
.js-motion .settle:not(.is-in) .settle-net { opacity: 0; }
.js-motion .settle.is-in .settle-net { transition: opacity 500ms var(--ease-out) var(--sd-net, 0ms); }
@media (min-width: 900px) {
  .settle { padding: 24px; justify-self: end; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .settle.is-in { animation: settle-float 7s ease-in-out 1.5s infinite; }
}
@keyframes settle-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- "Which driver are you?" tabs ---------- */
.driver-tabs { background: var(--bg); }
.tablist {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  width: 100%; max-width: 560px; margin-top: 32px; padding: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
}
.tab {
  min-height: 48px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 700; font-size: .9375rem; color: var(--muted); white-space: nowrap;
  transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(0, 24, 96, .25); }
.tab-panels { margin-top: 20px; }
.tab-panel { display: grid; gap: 12px; }
.tab-panel + .tab-panel { margin-top: 24px; }
.js-tabs .tab-panels { display: grid; }
.js-tabs .tab-panel { grid-area: 1 / 1; margin-top: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out), visibility 0s linear 350ms; }
.js-tabs .tab-panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tp-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.tp-label { margin-bottom: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tp-problem p { font-size: 1.125rem; line-height: 1.55; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 12px; border-radius: 999px; background: rgba(0, 113, 227, .08); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tp-result { background: var(--navy); border-color: transparent; color: #fff; }
.tp-result .tp-label { color: var(--on-dark-muted); }
.tp-figure { font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tp-figure + .tp-figure { margin-top: 10px; }
.tp-result p:not(.tp-label):not(.tp-figure) { margin-top: 8px; color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .tab-panel { grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
  .tab { padding: 0 20px; font-size: 1rem; }
}

/* ---------- Earnings calculator ---------- */
.calc-card { display: grid; margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-inputs { display: grid; gap: 28px; align-content: start; padding: 24px; background: var(--card); }
.calc-result { display: flex; flex-direction: column; padding: 24px; background: var(--navy); color: #fff; }
@media (min-width: 900px) {
  .calc-card { grid-template-columns: 1fr 1fr; }
  .calc-inputs, .calc-result { padding: 40px; }
}
.seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 10px; font-size: .9375rem; font-weight: 600; }
.seg-options { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--bg); border-radius: var(--radius); }
.seg-options label { position: relative; }
.seg-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg-options span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: calc(var(--radius) - 4px);
  font-weight: 700; color: var(--muted); transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.seg-options input:checked + span { background: var(--card); color: var(--navy); box-shadow: 0 2px 8px rgba(17, 24, 48, .12); }
.seg-options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-slider-head label { font-size: .9375rem; font-weight: 600; }
.calc-slider-head output { font-size: 1.5rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 6px 0 0; background: transparent; cursor: pointer; --fill: 50%; touch-action: pan-y; }
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--accent) var(--fill), var(--hair) var(--fill)); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(17, 24, 48, .2); transition: transform 150ms var(--ease-out);
}
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(0, 113, 227, .3); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--hair); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--accent); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(0, 113, 227, .3); }
.range-scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--muted); }
.calc-result .label { font-size: .875rem; font-weight: 600; color: var(--on-dark-muted); }
.calc-big { margin: 6px 0 22px; font-size: clamp(2rem, 8vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-year { margin-top: 6px; font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-big span, .calc-year span { white-space: nowrap; }
.calc-result .btn { margin-top: 28px; align-self: flex-start; }
.calc-note { margin-top: 16px; font-size: .8125rem; line-height: 1.5; color: var(--on-dark-muted); }

/* ---------- Equipment marquee ---------- */
.marquee { position: relative; overflow: hidden; background: var(--card); border-block: 1px solid var(--line); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--card), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--card), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item {
  display: flex; align-items: center; gap: 28px; padding: 22px 0 22px 28px; white-space: nowrap;
  font-size: clamp(1.125rem, 2.6vw, 1.5rem); font-weight: 800; letter-spacing: -0.01em; color: var(--navy);
}
.marquee-item::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.marquee-item .muted { color: var(--muted); font-weight: 600; }
.marquee-toggle {
  position: absolute; right: 8px; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--navy); box-shadow: 0 2px 8px rgba(17, 24, 48, .1);
}
.marquee-toggle .icon { width: 16px; height: 16px; }
.marquee-toggle .i-play, .marquee.is-paused .marquee-toggle .i-pause { display: none; }
.marquee.is-paused .marquee-toggle .i-play { display: block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal], .js-motion img[data-fade], .js-motion .settle, .js-motion .settle-lines li, .js-motion .settle-net { opacity: 1 !important; transform: none !important; }
  .js-motion .settle-check { transform: none !important; }
  .js-motion .settle-check path { stroke-dashoffset: 0 !important; }
  .js-motion .steps-fill { transform: scaleY(1); }
  .js-motion .step:not(.is-active) .step-num { color: var(--navy); }
  .marquee-track { animation: none; width: auto; }
  .marquee-group { flex-wrap: wrap; }
  .marquee-group[aria-hidden="true"], .marquee-toggle, .marquee::before, .marquee::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
