@font-face { font-family: Inter; src: url('fonts/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --reference-scale: 1; --header-height: 136px; --nav-progress: 0; color-scheme: light; font-family: Inter, Arial, Helvetica, sans-serif; color: #080808; background: #fff; }
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #007f37; outline-offset: 5px; }
.page { width: 100%; max-width: 1802px; margin: 0 auto; }
.hero-viewport { position: relative; width: 100%; aspect-ratio: 1802 / 1194; overflow: hidden; }
/* Preserve reference proportions on desktop; mobile reflows independently. */
.hero { position: relative; width: 1802px; height: 1194px; transform-origin: top left; overflow: hidden; border-radius: 22px 22px 0 0; background: #fff; }
.background, .original-art { position: absolute; inset: 0; width: 1802px; height: 1194px; object-fit: fill; pointer-events: none; user-select: none; }
/* Keep the source photo pixels, excluding all of the old webpage copy. */
.original-art { clip-path: polygon(52.719% 11.558%, 100% 11.558%, 100% 100%, 52.719% 100%, 52.719% 91.792%, 54.273% 91.792%, 54.273% 82.747%, 52.719% 82.747%); }
.header-shell { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--header-height); background: rgb(255 255 255 / calc(1 - .03 * var(--nav-progress))); box-shadow: 0 8px 24px rgb(17 42 28 / calc(.12 * var(--nav-progress))); outline: 1px solid rgb(17 42 28 / calc(.07 * var(--nav-progress))); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header { position: relative; top: 0; left: 50%; width: 1802px; height: 136px; display: flex; align-items: center; padding: 0 91px 0 76px; transform: translateX(-50%) scale(var(--reference-scale)); transform-origin: top center; }
.brand { display: block; flex: 0 0 auto; width: 312px; height: 60px; background: url('assets/drivepay-logo-site.svg') left center / contain no-repeat; }
.navigation { margin-left: auto; display: flex; align-items: center; gap: 45px; }
.navigation a { color: #565c62; font-size: 20px; font-weight: 450; white-space: nowrap; transition: color 150ms; }
.navigation a:hover { color: #00a947; }
.navigation a[aria-current="page"] { color: #008b39; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: #00bd4e; color: #fff; font-weight: 550; transition: background 150ms, box-shadow 150ms; }
.button:hover { background: #00a944; box-shadow: 0 5px 18px #007e341c; }
.button:active { background: #009d3f; }
.header .button { width: 210px; height: 62px; border-radius: 19px; margin-left: 24px; font-size: 23px; }
.navigation .button, .navigation .button:hover { color: #fff; font-weight: 550; }
.menu-toggle { display: none; }
.copy { position: absolute; top: 239px; left: 87px; width: 790px; }
.eyebrow { color: #18b849; font-size: 22px; font-weight: 600; line-height: 27px; letter-spacing: 0; transform: scaleX(1.088); transform-origin: left; }
.headline { margin-top: 23px; font-size: 84px; font-weight: 760; line-height: 86px; letter-spacing: 0; }
.headline-line { display: block; width: max-content; transform-origin: left center; white-space: nowrap; }
.subcopy { margin-top: 38px; width: 645px; color: #62686f; font-size: 29px; line-height: 39px; font-weight: 400; }
.subcopy span { display: block; white-space: nowrap; }
.actions { display: flex; align-items: center; gap: 27px; margin-top: 46px; }
.actions .button { height: 84px; border-radius: 25px; font-size: 28px; }
.primary-cta { width: 232px; gap: 18px; }
.icon { display: block; width: 32px; height: 32px; flex: 0 0 auto; }
.primary-cta .icon { filter: brightness(0) invert(1); }
.secondary-cta { width: 299px; gap: 13px; background: #ffffffd9; color: #101010; border: 2px solid #dfe2e6; font-size: 25px !important; }
.secondary-cta:hover { background: #f4fbf6; }
.benefits-banner { position: relative; background: #fafcfb; color: #080808; box-shadow: 0 0 0 100vmax #fafcfb; clip-path: inset(0 -100vmax); }
.benefits-banner::before, .benefits-banner::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: #e8eeeb; box-shadow: 0 0 0 100vmax #e8eeeb; clip-path: inset(0 -100vmax); }
.benefits-banner::before { top: 0; }
.benefits-banner::after { bottom: 0; }
.benefits { width: min(1440px, calc(100% - 128px)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-block: 80px; }
.benefit { display: flex; align-items: center; gap: 24px; min-width: 0; }
.benefit > div { min-width: 0; }
/* Reuse the original shield, pound and clock artwork at the banner's icon size. */
.benefit-icon { --icon-scale: .773333; width: calc(75px * var(--icon-scale)); height: calc(78px * var(--icon-scale)); flex: 0 0 auto; border-radius: 50%; background-image: url('drivepay-hero.png'); background-size: calc(1802px * var(--icon-scale)) calc(1194px * var(--icon-scale)); background-position: calc(var(--icon-x) * var(--icon-scale)) calc(-998px * var(--icon-scale)); background-repeat: no-repeat; }
.benefit-icon.shield { --icon-x: -86px; }
.benefit-icon.pound { --icon-x: -379px; }
.benefit-icon.clock { --icon-x: -689px; }
.benefit h2 { font-size: 24px; line-height: 1.25; margin: 0 0 8px; font-weight: 600; }
.benefit p { color: #6b737c; font-size: 20px; line-height: 1.5; }
@media (min-width: 701px) and (max-width: 1150px) {
  .benefits { width: calc(100% - 56px); gap: 24px; padding-block: 56px; }
  .benefit { gap: 14px; }
  .benefit-icon { --icon-scale: .586667; }
  .benefit h2 { font-size: 18px; margin-bottom: 6px; }
  .benefit p { font-size: 15px; }
}
.hero > picture { display: contents; }
dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 36px; border: 1px solid #e0e5e2; border-radius: 8px; color: #171b18; box-shadow: 0 24px 80px #0003; }
dialog::backdrop { background: #111b1770; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; padding: 7px; border: 0; background: transparent; border-radius: 4px; }
.dialog-close:hover { background: #edf4ef; }
.dialog-close .icon { width: 22px; height: 22px; }
dialog h2 { padding-right: 25px; font-size: 30px; line-height: 1.15; margin: 6px 0 24px; }
dialog p { color: #58615b; font-size: 16px; line-height: 1.6; }
.steps { padding-left: 25px; margin: 0; }
.steps li { padding: 8px 0 16px 8px; }
.steps li::marker { color: #00aa45; font-weight: 700; }
.steps h3 { margin: 0 0 5px; font-size: 18px; }
dialog .button { min-height: 48px; padding: 0 23px; border-radius: 6px; margin-top: 25px; }
details { padding: 17px 0; border-top: 1px solid #dce5df; }
summary { cursor: pointer; font-weight: 600; }
details p { padding-top: 12px; }
.field { display: grid; gap: 7px; margin-top: 17px; font-size: 14px; font-weight: 600; }
input, textarea, select { border: 1px solid #cdd7d0; border-radius: 5px; width: 100%; padding: 12px; background: #fff; color: #171b18; font-weight: 400; }
textarea { min-height: 105px; resize: vertical; }
.form-note { margin-top: 14px; font-size: 13px; }
@media (max-width: 700px) {
  :root { --header-height: 70px; }
  .hero-viewport { aspect-ratio: auto; overflow: visible; }
  .hero { width: 100%; height: auto; min-height: 0; padding: var(--header-height) 0 48px; transform: none !important; border-radius: 0; }
  .background, .original-art { display: none; }
  .header { inset: auto; width: 100%; height: var(--header-height); padding: 0 21px; transform: none; }
  .brand { width: 202px; height: 40px; }
  .header .button { margin: 8px 0 0; width: 100%; height: 48px; border-radius: 8px; font-size: 17px; }
  .menu-toggle { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 10px; margin-left: auto; border: 0; background: transparent; }
  .menu-toggle .icon { width: 24px; height: 24px; }
  .navigation { position: absolute; display: none; top: var(--header-height); right: 0; left: 0; max-height: calc(100dvh - var(--header-height) - 16px); overflow-y: auto; overscroll-behavior: contain; padding: 16px 24px; margin: 0; background: #fff; border-bottom: 1px solid #dae5de; box-shadow: 0 10px 18px #132b1810; }
  .navigation.open { display: grid; gap: 8px; }
  .navigation a { display: flex; align-items: center; min-height: 44px; font-size: 17px; }
  .copy { position: relative; inset: auto; width: auto; margin: 34px 24px 0; }
  .eyebrow { font-size: 14px; line-height: 20px; transform: none; }
  .headline { margin-top: 17px; font-size: 38px; line-height: 1.08; }
  .headline-line { display: inline; width: auto; white-space: normal; transform: none !important; }
  .subcopy { width: auto; margin-top: 24px; font-size: 18px; line-height: 27px; }
  .subcopy span { display: inline; white-space: normal; }
  .actions { gap: 12px; margin-top: 27px; }
  .actions .button { height: 54px; border-radius: 14px; font-size: 17px; }
  .primary-cta { width: 140px; gap: 8px; }
  .secondary-cta { width: 184px; font-size: 16px !important; gap: 9px; }
  .icon { width: 23px; height: 23px; }
  .benefits { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 32px; padding-block: 44px; }
  .benefit { gap: 18px; }
  .benefit-icon { --icon-scale: .693333; background-image: url('assets/mobile/drivepay-hero.webp'); }
  .benefit h2 { margin: 0 0 5px; font-size: 20px; line-height: 26px; }
  .benefit p { font-size: 16px; line-height: 23px; }
  dialog { padding: 30px 24px; }
}
@media (max-width: 390px) {
  .header { padding: 0 14px; }
  .brand { width: 168px; height: 35px; }
  .copy { margin-left: 20px; margin-right: 20px; }
  .headline { font-size: 34px; }
  .actions { gap: 10px; }
  .primary-cta { width: 127px; }
  .secondary-cta { width: 167px; font-size: 14px !important; }
}
@media (max-width: 360px) {
  .brand { width: 142px; height: 30px; }
  .actions { gap: 8px; }
  .actions .primary-cta { width: 116px; font-size: 15px; }
  .secondary-cta { width: 156px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
