:root {
  --corpay-black: #111317;
  --corpay-red: #68283a;
  --corpay-red-dark: #56202f;
  --corpay-warm-white: #f7f4f0;
  --corpay-white: #ffffff;
  --corpay-gray: #e7e4e5;
  --corpay-mid-gray: #6c696c;
  --corpay-light-red: #eee3e6;
  --corpay-plum: #884052;
  --line: rgba(17, 19, 23, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--corpay-warm-white);
  color: var(--corpay-black);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  margin-inline: auto;
  width: min(1180px, calc(100% - 42px));
}

.site-header {
  background: rgba(247, 244, 240, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22, 25, 29, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 84px;
}

.identity {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 11px;
}

.brand-logo {
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(22, 25, 29, 0.15);
  height: 38px;
  object-fit: cover;
  width: 38px;
}

.identity-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.identity-copy strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

.identity-copy small {
  color: var(--corpay-mid-gray);
  font-size: 10px;
  font-weight: 700;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  font-size: 13px;
  font-weight: 750;
  gap: 28px;
}

.nav-links a {
  opacity: 0.7;
  transition: opacity 180ms ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav > .button {
  justify-self: end;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  gap: 14px;
  justify-content: center;
  padding: 15px 21px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  box-shadow: 0 9px 0 rgba(22, 25, 29, 0.08);
  transform: translateY(-2px);
}

.button-small {
  padding: 12px 17px;
}

.button-dark {
  background: var(--corpay-black);
  color: white;
}

.button-coral {
  background: var(--corpay-red);
  color: white;
}

.button-light {
  background: white;
  color: var(--corpay-black);
}

.text-link {
  border-bottom: 2px solid var(--corpay-black);
  display: inline-block;
  font-size: 14px;
  font-weight: 850;
  padding-bottom: 3px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 680px;
  padding-block: 64px 84px;
}

.status-pill {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.08em;
  padding: 9px 13px;
  text-transform: uppercase;
}

.status-dot {
  background: var(--corpay-red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(104, 40, 58, 0.12);
  height: 7px;
  width: 7px;
}

.hero h1 {
  font-size: clamp(56px, 5.4vw, 76px);
  letter-spacing: -0.068em;
  line-height: 0.98;
  margin: 26px 0;
}

.hero h1 span {
  display: block;
  position: relative;
  width: fit-content;
  z-index: 0;
}

.hero h1 span::after {
  background: linear-gradient(90deg, var(--corpay-red), var(--corpay-plum));
  bottom: 1px;
  content: "";
  height: 12px;
  left: -5px;
  position: absolute;
  transform: none;
  width: calc(100% + 12px);
  z-index: -1;
}

.hero-lead {
  color: #4d5357;
  font-size: 17px;
  line-height: 1.68;
  margin: 0;
  max-width: 610px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 25px;
  margin-top: 34px;
}

.quiet-note {
  color: #7b8083;
  font-size: 11px;
  margin: 15px 0 0 8px;
}

.hero-visual {
  min-height: 550px;
  position: relative;
}

.corpay-wordmark {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(22, 25, 29, 0.09);
  color: var(--corpay-black);
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 9px;
  left: 5px;
  letter-spacing: 0.02em;
  padding: 7px 12px 7px 7px;
  position: absolute;
  top: 2px;
  z-index: 3;
}

.corpay-wordmark img {
  border-radius: 9px;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.portrait-frame {
  background: linear-gradient(150deg, #241117, var(--corpay-black));
  border: 1px solid rgba(22, 25, 29, 0.18);
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(22, 25, 29, 0.16);
  height: 485px;
  left: 58px;
  margin: 0;
  overflow: hidden;
  position: absolute;
  top: 25px;
  width: 390px;
}

.portrait-frame img {
  height: 400px;
  object-fit: cover;
  object-position: center 28%;
  width: 100%;
}

.portrait-frame figcaption {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px 22px;
}

.portrait-frame figcaption strong {
  font-size: 19px;
}

.portrait-frame figcaption span {
  color: #bfc2c4;
  font-size: 12px;
}

.floating-stat,
.fleet-note {
  border: 1px solid rgba(22, 25, 29, 0.15);
  box-shadow: 0 18px 45px rgba(17, 19, 23, 0.14);
  position: absolute;
  z-index: 4;
}

.floating-stat {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: 17px 18px;
  width: 150px;
}

.floating-stat > span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-stat strong {
  font-size: 48px;
  letter-spacing: -0.07em;
  line-height: 1;
  margin-top: 3px;
}

.floating-stat small {
  font-size: 9px;
  line-height: 1.25;
}

.diesel-card {
  background: white;
  left: -5px;
  top: 310px;
}

.gas-card {
  background: linear-gradient(145deg, var(--corpay-plum), var(--corpay-red));
  color: white;
  right: -12px;
  top: 112px;
}

.fleet-note {
  background: white;
  border-radius: 15px;
  bottom: 4px;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  gap: 4px;
  padding: 15px 17px;
  right: -2px;
  width: 210px;
}

.fleet-note span {
  color: var(--corpay-mid-gray);
}

.brand-strip {
  background: var(--corpay-black);
  color: white;
  overflow: hidden;
}

.brand-strip-inner {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 850;
  gap: 29px;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 68px;
  text-transform: uppercase;
  white-space: nowrap;
}

.separator {
  color: var(--corpay-red);
}

.section {
  padding-block: 104px;
}

.section-heading {
  max-width: 770px;
}

.section-heading.compact {
  margin-bottom: 45px;
}

.eyebrow {
  color: var(--corpay-red-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.section-heading h2,
.savings-copy h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(42px, 4.6vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 0 0 24px;
}

.section-heading > p:last-child,
.savings-copy > p,
.about-copy > p,
.contact-copy > p {
  color: #555c60;
  font-size: 16px;
  line-height: 1.7;
  max-width: 660px;
}

.solution-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
}

.solution-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 30px;
  transition: transform 180ms ease;
}

.solution-card:hover {
  transform: translateY(-5px);
}

.solution-card.featured {
  background: linear-gradient(145deg, #823b4f, var(--corpay-red));
  color: white;
}

.solution-card.featured:hover {
  transform: translateY(-5px);
}

.card-number {
  align-items: center;
  background: var(--corpay-gray);
  border-radius: 50%;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  height: 50px;
  justify-content: center;
  margin-bottom: 58px;
  width: 50px;
}

.featured .card-number {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.card-label {
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0 0 10px !important;
  text-transform: uppercase;
}

.solution-card h3 {
  font-size: 29px;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 16px;
}

.solution-card > p:not(.card-label) {
  color: #565d60;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 26px;
}

.featured > p:not(.card-label) {
  color: rgba(255, 255, 255, 0.78);
}

.solution-card a {
  border-bottom: 2px solid var(--corpay-black);
  font-size: 13px;
  font-weight: 900;
  padding-bottom: 3px;
  width: fit-content;
  margin-top: auto;
}

.solution-card.featured a {
  border-color: white;
  color: white;
}

.savings-section {
  background: white;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.savings-layout {
  align-items: center;
  display: grid;
  gap: 90px;
  grid-template-columns: 1fr 0.82fr;
}

.calculator-disclaimer {
  color: #777277;
  font-size: 10px;
  grid-column: 1 / -1;
  line-height: 1.55;
  margin: -48px 0 0;
  max-width: 680px;
}

.fuel-toggle {
  background: var(--corpay-gray);
  border-radius: 999px;
  display: inline-flex;
  margin: 24px 0 34px;
  padding: 5px;
}

.fuel-toggle button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  padding: 11px 17px;
}

.fuel-toggle button.active {
  background: var(--corpay-red);
  color: white;
}

.gallons-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.savings-copy label {
  display: block;
  font-size: 12px;
  font-weight: 850;
}

.gallons-entry {
  align-items: center;
  background: var(--corpay-warm-white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  overflow: hidden;
}

.gallons-entry input {
  background: transparent;
  border: 0;
  color: var(--corpay-black);
  font-size: 13px;
  font-weight: 850;
  outline: none;
  padding: 10px 2px 10px 12px;
  width: 82px;
}

.gallons-entry:focus-within {
  border-color: var(--corpay-red);
  box-shadow: 0 0 0 3px rgba(104, 40, 58, 0.12);
}

.gallons-entry span {
  color: var(--corpay-mid-gray);
  font-size: 10px;
  padding-right: 10px;
}

input[type="range"] {
  accent-color: var(--corpay-red);
  cursor: pointer;
  width: 100%;
}

.range-output {
  color: #85898b;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  margin-top: 11px;
}

.range-output strong {
  color: var(--corpay-black);
  font-size: 13px;
}

.savings-result {
  background:
    radial-gradient(circle at 90% 10%, rgba(136, 64, 82, 0.78), transparent 34%),
    linear-gradient(145deg, #2a151b 0%, var(--corpay-black) 68%);
  border-radius: 34px;
  color: white;
  padding: 46px;
  position: relative;
  box-shadow: 0 24px 65px rgba(22, 25, 29, 0.18);
}

.savings-result::before {
  color: #c88394;
  content: "✦";
  font-size: 48px;
  position: absolute;
  right: 34px;
  top: 25px;
}

.savings-result > p {
  color: #c6c8c9;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.savings-result > strong {
  display: block;
  font-size: clamp(76px, 8.5vw, 118px);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
  margin: 28px 0 12px;
}

.savings-result > span {
  color: #c6c8c9;
  display: block;
  font-size: 14px;
  margin-bottom: 35px;
}

.savings-result b {
  color: white;
}

.savings-result .positive-value {
  color: #78e39c;
  text-shadow: 0 0 32px rgba(120, 227, 156, 0.24);
}

.savings-result .value-updated {
  animation: positive-load 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.monthly-breakdown {
  align-items: baseline;
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px;
}

.monthly-breakdown b {
  color: #a7efbd;
  font-size: 1.2em;
  font-weight: 900;
}

.steps {
  border-top: 1px solid var(--line);
}

.steps article {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 38px;
  grid-template-columns: 70px 1fr;
  padding: 34px 8px;
}

.steps article > span {
  color: var(--corpay-red-dark);
  font-size: 12px;
  font-weight: 900;
}

.steps h3 {
  font-size: 27px;
  letter-spacing: -0.035em;
  margin: 0 0 7px;
}

.steps p {
  color: #666c70;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.about-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(136, 64, 82, 0.13), transparent 32%),
    var(--corpay-light-red);
  padding-block: 110px;
}

.about-layout {
  align-items: center;
  display: grid;
  gap: 100px;
  grid-template-columns: 0.72fr 1.28fr;
}

.about-photo {
  position: relative;
}

.about-photo img {
  aspect-ratio: 4 / 5;
  border: 10px solid white;
  border-radius: 28px;
  box-shadow: 0 25px 55px rgba(22, 25, 29, 0.16);
  object-fit: cover;
}

.about-photo span {
  background: var(--corpay-black);
  border-radius: 999px;
  bottom: -19px;
  color: white;
  font-size: 11px;
  font-weight: 850;
  left: 50%;
  letter-spacing: 0.08em;
  padding: 12px 18px;
  position: absolute;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.about-copy > p {
  max-width: 690px;
}

.credibility-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 10px;
}

.credibility-points span {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(104, 40, 58, 0.17);
  border-radius: 999px;
  color: #4a202c;
  font-size: 10px;
  font-weight: 850;
  padding: 10px 13px;
}

.about-copy .text-link {
  margin-top: 22px;
}

.contact-section {
  align-items: start;
  display: grid;
  gap: clamp(50px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  padding-block: 112px;
}

.contact-copy {
  position: sticky;
  top: 125px;
}

.contact-copy .button {
  margin-top: 22px;
}

.contact-assurances {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 28px;
}

.contact-assurances span {
  align-items: center;
  color: #555c60;
  display: flex;
  font-size: 12px;
  font-weight: 750;
  gap: 10px;
}

.contact-assurances span::before {
  align-items: center;
  background: var(--corpay-light-red);
  border-radius: 50%;
  color: var(--corpay-red-dark);
  content: "✓";
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.lead-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 28px 75px rgba(22, 25, 29, 0.1);
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding: 40px;
}

.form-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.form-step {
  color: var(--corpay-red-dark);
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.form-heading h3 {
  font-size: 27px;
  letter-spacing: -0.04em;
  margin: 0 0 7px;
}

.form-heading p {
  color: #6b7175;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.form-row {
  display: grid;
  gap: 17px;
  grid-template-columns: 1fr 1fr;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.03em;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: #f5f4f1;
  border: 1px solid #eceae6;
  border-radius: 12px;
  color: var(--corpay-black);
  outline: none;
  padding: 15px 16px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  background: white;
  border-color: var(--corpay-red);
  box-shadow: 0 0 0 3px rgba(104, 40, 58, 0.12);
}

.lead-form textarea {
  resize: vertical;
}

.form-submit {
  align-self: stretch;
  min-height: 52px;
}

.form-privacy {
  color: #7d8285;
  line-height: 1.5;
  font-size: 10px;
  margin: -7px 2px 0;
  text-align: center;
}

.hidden-field {
  display: none;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.78;
}

.form-status {
  display: none;
  margin-top: 14px;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-status-success {
  display: block;
  color: #14532d;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.form-status-success strong {
  display: block;
  margin-bottom: 2px;
}

.form-status-error {
  display: block;
  color: #7f1d1d;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

footer {
  background: var(--corpay-black);
  color: white;
  padding-block: 72px 30px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
}

.footer-identity .brand-logo {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.footer-identity .identity-copy small {
  color: #aeb2b4;
}

.footer-main p {
  color: #aeb2b4;
  font-size: 13px;
}

.footer-links {
  display: grid;
  font-size: 12px;
  gap: 14px 28px;
  grid-template-columns: 1fr 1fr;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8d9294;
  display: flex;
  font-size: 9px;
  gap: 45px;
  justify-content: space-between;
  margin-top: 55px;
  padding-top: 24px;
}

.footer-legal p {
  line-height: 1.6;
  margin: 0;
  max-width: 830px;
}

.footer-legal span {
  white-space: nowrap;
}

.success-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
}

.success-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 25px 70px rgba(22, 25, 29, 0.12);
  max-width: 700px;
  padding: 60px;
  text-align: center;
}

.success-logo {
  border-radius: 14px;
  height: 54px;
  margin: 0 auto 22px;
  object-fit: cover;
  width: 54px;
}

.success-icon {
  align-items: center;
  background: var(--corpay-red);
  color: white;
  border-radius: 50%;
  display: flex;
  font-size: 26px;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  margin: 0 auto 25px;
  width: 62px;
}

.success-card h1 {
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -0.065em;
  line-height: 1;
  margin: 18px 0 22px;
}

.success-card > p:not(.eyebrow) {
  color: #5c6266;
  font-size: 17px;
  line-height: 1.7;
}

.success-card .hero-actions {
  justify-content: center;
}

.motion-ready {
  opacity: 0;
  transform: translateY(22px);
}

.motion-ready.motion-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.solution-card.motion-ready:nth-child(2),
.steps article.motion-ready:nth-child(2) {
  transition-delay: 90ms;
}

.solution-card.motion-ready:nth-child(3),
.steps article.motion-ready:nth-child(3) {
  transition-delay: 180ms;
}

.profile-locator-section {
  background:
    radial-gradient(circle at 84% 8%, rgba(136, 64, 82, 0.09), transparent 28%),
    var(--corpay-warm-white);
  padding-bottom: 96px;
}

.locator-topline {
  background: var(--corpay-black);
  color: white;
  margin-bottom: 88px;
}

.locator-topline-inner {
  align-items: center;
  display: flex;
  font-size: 11px;
  font-weight: 850;
  gap: 28px;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 62px;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-locator-heading {
  align-items: end;
  display: grid;
  gap: clamp(38px, 7vw, 88px);
  grid-template-columns: 1.05fr 0.95fr;
  margin-bottom: 38px;
}

.profile-locator-heading h2 {
  font-size: clamp(42px, 4.6vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 0;
  max-width: 690px;
}

.profile-locator-heading > p {
  color: #555c60;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 570px;
}

.profile-locator-frame {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 28px 75px rgba(17, 19, 23, 0.11);
  overflow: hidden;
  padding: 13px;
  width: min(1080px, calc(100% - 42px));
}

#fuel-locator-frame {
  background: white;
  border: 0;
  border-radius: 20px;
  display: block;
  height: 1120px;
  min-height: 860px;
  overflow: hidden;
  transition: height 240ms ease;
  width: 100%;
}

.locator-help {
  color: #787378;
  font-size: 10px;
  line-height: 1.5;
  margin: 11px 8px 2px;
  text-align: center;
}

.locator-help a {
  border-bottom: 1px solid currentColor;
  color: var(--corpay-red);
  font-weight: 800;
}

@keyframes positive-load {
  0% {
    color: white;
    opacity: 0.35;
    text-shadow: 0 0 0 rgba(120, 227, 156, 0);
    transform: translateY(10px) scale(0.98);
  }
  55% {
    color: #8ff0ad;
    text-shadow: 0 0 42px rgba(120, 227, 156, 0.42);
  }
  100% {
    color: #78e39c;
    opacity: 1;
    text-shadow: 0 0 32px rgba(120, 227, 156, 0.24);
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    gap: 35px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin: 15px auto 0;
    width: min(100%, 560px);
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
  }

  .solution-card.featured,
  .solution-card.featured:hover {
    transform: none;
  }

  .savings-layout,
  .about-layout,
  .contact-section {
    gap: 60px;
    grid-template-columns: 1fr;
  }

  .calculator-disclaimer {
    margin-top: -20px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .about-photo {
    margin-inline: auto;
    max-width: 430px;
  }

  .profile-locator-heading {
    align-items: start;
    gap: 24px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 26px, 1180px);
  }

  .nav {
    min-height: 72px;
  }

  .identity {
    font-size: 12px;
  }

  .identity-copy small {
    display: none;
  }

  .brand-logo {
    height: 34px;
    width: 34px;
  }

  .button-small {
    padding: 11px 13px;
  }

  .hero {
    min-height: auto;
    padding-block: 54px 70px;
  }

  .hero h1 {
    font-size: clamp(45px, 13vw, 52px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 470px;
    transform: scale(0.86);
    transform-origin: top left;
    width: 116%;
  }

  .portrait-frame {
    left: 45px;
  }

  .gas-card {
    right: 0;
  }

  .brand-strip-inner {
    justify-content: flex-start;
    overflow: hidden;
  }

  .profile-locator-section {
    padding-bottom: 74px;
  }

  .locator-topline {
    margin-bottom: 70px;
    overflow: hidden;
  }

  .locator-topline-inner {
    justify-content: flex-start;
  }

  .profile-locator-heading h2 {
    font-size: 42px;
  }

  .profile-locator-frame {
    border-radius: 20px;
    padding: 7px;
    width: min(100% - 20px, 1080px);
  }

  #fuel-locator-frame {
    border-radius: 15px;
    min-height: 840px;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading h2,
  .savings-copy h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 42px;
  }

  .savings-result {
    padding: 38px 28px;
  }

  .gallons-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator-disclaimer {
    margin-top: -30px;
  }

  .steps article {
    gap: 10px;
    grid-template-columns: 42px 1fr;
  }

  .steps h3 {
    font-size: 23px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-form {
    border-radius: 24px;
    padding: 26px 20px;
  }

  .footer-main,
  .footer-legal {
    flex-direction: column;
  }

  .footer-links {
    margin-top: 35px;
  }

  .success-card {
    padding: 42px 24px;
  }
}

:focus-visible {
  outline: 3px solid #b96d7f;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   Mobile refinement — v8
   Keeps the desktop direction while giving phones a purpose-built layout.
------------------------------------------------------------- */
@media (max-width: 620px) {
  body {
    overflow-x: hidden;
  }

  .shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    backdrop-filter: blur(18px);
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 76px;
  }

  .identity {
    min-width: 0;
  }

  .identity-copy strong {
    font-size: 15px;
  }

  .nav > .button {
    font-size: 13px;
    gap: 9px;
    min-height: 46px;
    padding: 12px 16px;
    white-space: nowrap;
  }

  .hero {
    gap: 44px;
    padding-block: 34px 70px;
  }

  .hero-copy {
    min-width: 0;
  }

  .status-pill {
    font-size: 9px;
    gap: 8px;
    letter-spacing: 0.065em;
    line-height: 1.25;
    max-width: 100%;
    padding: 8px 11px;
  }

  .hero h1 {
    font-size: clamp(40px, 11.4vw, 48px);
    letter-spacing: -0.058em;
    line-height: 0.98;
    margin: 22px 0 21px;
    max-width: 10.8ch;
  }

  .hero h1 span {
    margin-top: 4px;
  }

  .hero h1 span::after {
    bottom: -3px;
    height: 8px;
    left: 0;
    transform: none;
    width: 100%;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.58;
    max-width: 37ch;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    gap: 12px;
    margin-top: 27px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    min-height: 54px;
    width: 100%;
  }

  .hero-actions .text-link {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding: 14px 20px;
  }

  .quiet-note {
    font-size: 12px;
    line-height: 1.5;
    margin: 13px 2px 0;
    max-width: 36ch;
  }

  .hero-visual {
    min-height: 520px;
    margin: 0;
    transform: none;
    width: 100%;
  }

  .corpay-wordmark {
    font-size: 11px;
    left: 0;
    padding: 7px 11px 7px 7px;
    top: 0;
  }

  .corpay-wordmark img {
    height: 33px;
    width: 33px;
  }

  .portrait-frame {
    border-radius: 28px;
    height: 472px;
    left: 24px;
    top: 31px;
    width: calc(100% - 48px);
  }

  .portrait-frame img {
    height: 382px;
    object-position: center 28%;
  }

  .portrait-frame figcaption {
    gap: 3px;
    padding: 15px 19px;
  }

  .portrait-frame figcaption strong {
    font-size: 18px;
  }

  .floating-stat {
    border-radius: 18px;
    padding: 14px 15px;
    width: 126px;
  }

  .floating-stat > span {
    font-size: 10px;
  }

  .floating-stat strong {
    font-size: 42px;
  }

  .diesel-card {
    left: 0;
    top: 326px;
  }

  .gas-card {
    right: 0;
    top: 238px;
  }

  .fleet-note {
    bottom: 0;
    font-size: 10px;
    padding: 13px 15px;
    right: 0;
    width: 185px;
  }

  .brand-strip-inner,
  .locator-topline-inner {
    gap: 18px;
    padding-right: 22px;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading h2,
  .savings-copy h2,
  .about-copy h2,
  .contact-copy h2,
  .profile-locator-heading h2 {
    font-size: clamp(36px, 10vw, 43px);
    letter-spacing: -0.052em;
    line-height: 1.03;
    margin-bottom: 19px;
  }

  .section-heading > p:last-child,
  .savings-copy > p,
  .about-copy > p,
  .contact-copy > p,
  .profile-locator-heading > p {
    font-size: 15px;
    line-height: 1.62;
  }

  .savings-layout {
    gap: 46px;
  }

  .fuel-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 22px 0 30px;
    width: 100%;
  }

  .fuel-toggle button {
    font-size: 12px;
    min-height: 46px;
    padding: 10px 9px;
  }

  .gallons-heading {
    gap: 13px;
    margin-bottom: 17px;
  }

  .gallons-entry {
    width: 145px;
  }

  .gallons-entry input {
    font-size: 16px;
    width: 100%;
  }

  input[type="range"] {
    min-height: 30px;
  }

  .range-output {
    align-items: baseline;
  }

  .range-output strong {
    font-size: 14px;
  }

  .savings-result {
    border-radius: 28px;
    padding: 36px 24px 28px;
  }

  .savings-result::before {
    font-size: 39px;
    right: 23px;
    top: 20px;
  }

  .savings-result > p {
    font-size: 10px;
    padding-right: 48px;
  }

  .savings-result > strong {
    font-size: clamp(61px, 18.5vw, 82px);
    letter-spacing: -0.075em;
    margin: 24px 0 10px;
    white-space: nowrap;
  }

  .savings-result > span {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 27px;
  }

  .savings-result .button {
    min-height: 52px;
    width: 100%;
  }

  .calculator-disclaimer {
    font-size: 10px;
    margin-top: -20px;
  }

  .solution-grid {
    margin-top: 38px;
  }

  .solution-card {
    border-radius: 24px;
    padding: 25px;
  }

  .card-number {
    margin-bottom: 40px;
  }

  .profile-locator-heading {
    gap: 18px;
  }

  .lead-form {
    padding: 25px 19px;
  }

  .form-submit {
    min-height: 54px;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .identity-copy strong {
    font-size: 14px;
  }

  .nav > .button {
    font-size: 12px;
    padding-inline: 13px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .portrait-frame {
    left: 18px;
    width: calc(100% - 36px);
  }

  .floating-stat {
    width: 118px;
  }

  .gas-card {
    top: 245px;
  }

  .savings-result > strong {
    font-size: 61px;
  }
}


/* ------------------------------------------------------------
   Symmetry + reading-margin refinement — v9
   One spacing system across desktop, tablet, and phone layouts.
------------------------------------------------------------- */
.shell {
  width: min(1180px, calc(100% - 48px));
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 40px, 1180px);
  }

  /* The locator previously used a wider phone gutter than other sections. */
  .profile-locator-frame {
    width: min(100% - 40px, 1080px);
  }

  /* Keep major blocks centered inside the shared left/right reading gutter. */
  .hero-copy,
  .hero-visual,
  .savings-copy,
  .savings-result,
  .calculator-disclaimer,
  .section-heading,
  .profile-locator-heading,
  .about-layout,
  .contact-section {
    margin-inline: auto;
  }
}

@media (max-width: 390px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .profile-locator-frame {
    width: min(100% - 32px, 1080px);
  }
}
