/* The Sprinter Inc. site, drawn in the family of sprinteremergency.com and sprinterair.com:
   Outfit 600 headings and DM Sans body (Sprinter Emergency's pair), a white header with the phone,
   photo hero and banners, pill buttons with a round arrow, the red call band and the light four-column footer.
   Sprinter Air's card keeps Air's square button, in Air's blue so the white text reads. */
@font-face { font-family: 'DM Sans'; src: url(fonts/dm-sans-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(fonts/dm-sans-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(fonts/dm-sans-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url(fonts/outfit-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url(fonts/outfit-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --red: #a10d24;
  --red-deep: #870a1e;
  --blue: #0072bb;
  --blue-deep: #005f9c;
  --amber: #ffb000;
  --black: #000;
  --ink: #111;
  --text: #484848;
  --line: #e2e2e2;
  --grey: #f2f2f2;
  --card: #f7f7f7;
  --pill: #f9f9f9;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/30px 'DM Sans', system-ui, sans-serif; }
h1, h2, h3 { margin: 0; color: var(--black); font-family: 'Outfit', system-ui, sans-serif; font-weight: 600; text-wrap: balance; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 8px 14px; background: var(--black); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 7px 12px rgba(0, 0, 0, 0.05); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 96px; }
.brands { display: flex; flex: none; align-items: center; gap: 18px; text-decoration: none; }
.logo-ground { width: auto; height: 46px; }
.logo-air { width: auto; height: 40px; }
.brands-rule { width: 1px; height: 40px; background: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 16px; line-height: 1.2; }
.nav a { padding: 8px 0; color: var(--black); text-decoration: none; transition: color 160ms var(--ease); }
.nav a:hover,
[data-page="home"] .nav a[data-p="home"],
[data-page="privacy-policy"] .nav a[data-p="privacy-policy"],
[data-page="sms-terms"] .nav a[data-p="sms-terms"] { color: var(--red); }
.ask { display: flex; flex: none; align-items: center; gap: 12px; text-decoration: none; }
.ask-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; }
.ask-icon svg { width: 18px; height: 18px; }
.ask-text { display: grid; line-height: 1.25; }
.ask-q { color: var(--black); font-size: 14px; }
.ask-n { color: var(--black); font-family: 'Outfit', system-ui, sans-serif; font-weight: 600; font-size: 20px; }

/* Sprinter Emergency's pill button: label, then the arrow in a red circle */
.pill { display: inline-flex; align-items: center; gap: 18px; padding: 6px 6px 6px 28px; border-radius: 999px; background: var(--pill); color: var(--black); font-weight: 500; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.pill-dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; transition: transform 200ms var(--ease); }
.pill-dot svg { width: 18px; height: 18px; }
.pill:hover .pill-dot { transform: translateX(3px); }
.pill-red { background: var(--red); color: #fff; }
.pill-red .pill-dot { background: var(--black); }
.pill-red:hover { background: var(--red-deep); }

/* Sprinter Air's square button: label block, then a black arrow block */
.block-btn { display: inline-flex; align-items: stretch; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.block-btn > span:first-child { padding: 18px 26px; background: var(--blue); transition: background-color 160ms var(--ease); }
.block-arrow { display: grid; place-items: center; width: 54px; background: var(--black); }
.block-arrow svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.block-btn:hover > span:first-child { background: var(--blue-deep); }
.block-btn:hover .block-arrow svg { transform: translate(2px, -2px); }

/* hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 620px; padding: 96px 0; overflow: hidden; background: #2a2a2a; color: #fff; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.55) 42%, rgba(0, 0, 0, 0.1) 78%); }
.chip { display: inline-block; margin: 0 0 22px; padding: 4px 14px; border-radius: 999px; background: var(--black); color: #fff; font-weight: 500; font-size: 14px; line-height: 1.6; text-transform: uppercase; letter-spacing: 0.02em; }
.hero h1 { max-width: 640px; margin: 0 0 20px; color: #fff; font-size: 60px; line-height: 70px; }
.hero-p { max-width: 560px; margin: 0 0 34px; color: #fff; font-size: 17px; line-height: 30px; }

/* the two companies */
.companies { padding: 110px 0 120px; }
.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 14px 64px; margin-bottom: 56px; }
.label { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0; color: var(--red); font-weight: 500; font-size: 15px; line-height: 1.4; }
.label::before { content: ''; width: 28px; height: 2px; background: var(--red); }
.sec-head h2 { font-size: 46px; line-height: 56px; }
.sec-head > p:last-child { max-width: 440px; margin: 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--card); }
.card-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-ground .card-photo { object-position: 50% 62%; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 36px 40px 44px; }
.card-logo { width: auto; height: 54px; margin-bottom: 26px; }
.card-air .card-logo { height: 50px; margin: 2px 0 28px; }
.card h3 { margin: 0 0 12px; font-size: 26px; line-height: 34px; }
.card-body > p { margin: 0 0 22px; }
.checks { display: grid; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--black); font-weight: 500; line-height: 1.4; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--red); }
.card-air .checks svg { color: var(--blue); }
.card-body .pill, .card-body .block-btn { margin-top: auto; }

/* the call band */
.cta { padding: 90px 0; background: var(--red); color: #fff; }
.cta-in { display: grid; justify-items: center; text-align: center; }
.cta h2 { margin: 0 0 14px; color: #fff; font-size: 44px; line-height: 54px; }
.cta p { max-width: 560px; margin: 0 0 32px; }
.cta p a { font-weight: 600; text-underline-offset: 3px; }

/* footer */
.foot { padding-top: 84px; background: var(--grey); font-size: 15px; line-height: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px 48px; padding-bottom: 70px; }
.foot-brands { display: grid; justify-items: start; gap: 16px; margin-bottom: 22px; text-decoration: none; }
.foot-logo { width: auto; height: 46px; }
.foot-logo-air { height: 40px; }
.foot-about p { max-width: 300px; margin: 0; }
.foot-h { margin: 0 0 20px; font-size: 20px; line-height: 28px; }
.foot-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.foot-list a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.foot-list a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #8a8a8a; }
.foot-list a:hover { color: var(--red); }
.foot-call { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; text-decoration: none; }
.foot-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: var(--black); }
.foot-icon svg { width: 18px; height: 18px; }
.foot-small { display: block; color: var(--black); font-size: 14px; line-height: 1.5; }
.foot-num { display: block; color: var(--black); font-family: 'Outfit', system-ui, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.3; }
.foot-contact p { margin: 0 0 14px; }
.foot-contact p a { color: var(--ink); }
.foot-bar { border-top: 1px solid #d9d9d9; }
.foot-bar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; padding: 22px 0; font-size: 14px; }
.foot-bar p { margin: 0; }
.foot-bar a { color: var(--ink); text-decoration: none; }
.foot-bar a:hover { text-decoration: underline; }

/* the policy pages: a dark photo banner with the title, then the text */
.banner { position: relative; isolation: isolate; padding: 110px 0 100px; overflow: hidden; background: #2a2a2a; color: #fff; text-align: center; }
.banner-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.62); }
.banner h1 { margin: 0 0 10px; color: #fff; font-size: 55px; line-height: 66px; }
.crumbs { margin: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { font-weight: 600; }
.doc-wrap { display: grid; grid-template-columns: minmax(0, 680px) 340px; justify-content: space-between; align-items: start; gap: 60px; padding: 80px 0 110px; }
.doc-main { max-width: 640px; }
.doc-side { position: sticky; top: 130px; display: grid; gap: 20px; }
.side-box { padding: 30px 30px 18px; border: 1px solid #eaeaea; border-radius: 10px; }
.side-h { margin: 0 0 12px; font-size: 24px; line-height: 32px; }
.side-list { margin: 0; padding: 0; list-style: none; }
.side-list li + li { border-top: 1px solid #eaeaea; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--black); font-weight: 500; font-size: 15px; line-height: 1.4; text-decoration: none; }
.side-list svg { flex: none; width: 16px; height: 16px; color: var(--red); transition: transform 200ms var(--ease); }
.side-list a:hover { color: var(--red); }
.side-list a:hover svg { transform: translateX(3px); }
.side-call { display: flex; align-items: center; gap: 12px; padding: 22px 30px; border-radius: 10px; background: var(--card); text-decoration: none; }
.doc-main .lede { margin: 0 0 12px; color: #333; font-size: 18px; line-height: 32px; }
.doc-main h2 { margin: 48px 0 14px; font-size: 30px; line-height: 40px; }
.doc-main p { margin: 0 0 16px; }
.doc-main ul { margin: 0 0 16px; padding-left: 22px; }
.doc-main li { margin: 0 0 8px; }
.doc-main li::marker { color: var(--red); }
.doc-main a { color: var(--red); text-underline-offset: 3px; }
.missing { padding: 80px 0 110px; }
.missing p { max-width: 560px; margin: 0 0 28px; }
.missing p a { color: var(--red); text-underline-offset: 3px; }
.doc-main .clause { margin: 24px 0; padding: 22px 26px; border-left: 4px solid var(--red); background: var(--card); color: var(--black); font-weight: 500; }

/* parts rise in as they arrive (motion.js adds the classes; without it nothing is hidden) */
.rise-on .rise { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
.rise-on .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: fadeup 700ms var(--ease) both; }
  .hero-in > :nth-child(2) { animation-delay: 80ms; }
  .hero-in > :nth-child(3) { animation-delay: 160ms; }
  .hero-in > :nth-child(4) { animation-delay: 240ms; }
  @keyframes fadeup { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
}

/* the nav drops under the logos before it would crowd them */
@media (max-width: 1259px) {
  .top-in { flex-wrap: wrap; gap: 0 24px; min-height: 0; padding-top: 14px; }
  .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 8px; padding: 4px 0 10px; }
}
@media (max-width: 1000px) {
  .sec-head { grid-template-columns: 1fr; }
  .doc-wrap { grid-template-columns: minmax(0, 1fr); }
  .doc-side { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  .top { position: relative; box-shadow: none; }
  .br-wide { display: none; }
  .top-in { gap: 0 12px; }
  .brands { gap: 10px; }
  .logo-ground { height: 32px; }
  .logo-air { height: 27px; }
  .brands-rule { height: 30px; }
  .ask-text { display: none; }
  .ask-icon { width: 42px; height: 42px; }
  .nav { gap: 0 18px; font-size: 15px; }
  .hero { min-height: 0; padding: 72px 0 84px; }
  .hero::before { background: rgba(0, 0, 0, 0.6); }
  .hero-photo { object-position: 78% 60%; }
  .hero h1 { font-size: 40px; line-height: 48px; }
  .hero-p { font-size: 16px; }
  .companies { padding: 80px 0 90px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head h2 { font-size: 34px; line-height: 42px; }
  .card-body { padding: 28px 24px 34px; }
  .card h3 { font-size: 23px; line-height: 31px; }
  .cta { padding: 72px 0; }
  .cta h2 { font-size: 34px; line-height: 42px; }
  .foot { padding-top: 64px; }
  .foot-grid { grid-template-columns: 1fr; padding-bottom: 48px; }
  .banner { padding: 72px 0 64px; }
  .banner h1 { font-size: 40px; line-height: 48px; }
  .doc-wrap { padding: 56px 0 80px; }
  .doc-main h2 { font-size: 26px; line-height: 34px; margin-top: 40px; }
}
