:root {
  --refuel-hero-blue: #01377d;
  --refuel-hero-blue-deep: #041d3f;
  --refuel-hero-green: #71d576;
  --refuel-hero-orange: #ff7a1a;
  --refuel-hero-white: #ffffff;
  --refuel-hero-muted: #c8d5e4;
}

.refuel-home-hero,
.refuel-home-hero *,
.refuel-home-hero *::before,
.refuel-home-hero *::after {
  box-sizing: border-box;
}

.refuel-home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100vw;
  min-height: clamp(560px, calc(100svh - 90px), 625px);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: var(--refuel-hero-white);
  background: var(--refuel-hero-blue-deep);
  font-family: inherit;
  isolation: isolate;
}

.refuel-home-hero::after {
  position: absolute;
  top: 11%;
  right: 5%;
  z-index: 1;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.14), transparent 68%);
  content: "";
  pointer-events: none;
}

.refuel-home-hero a {
  text-decoration: none;
}

.refuel-home-hero svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.refuel-home-hero__media,
.refuel-home-hero__veil {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.refuel-home-hero__media picture,
.refuel-home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.refuel-home-hero__media img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(1.02);
}

.refuel-home-hero__veil {
  z-index: -1;
  background:
    radial-gradient(circle at 17% 16%, rgba(113, 213, 118, 0.26), transparent 31%),
    radial-gradient(circle at 45% 88%, rgba(255, 122, 26, 0.17), transparent 27%),
    linear-gradient(112deg, rgba(3, 20, 51, 0.96) 0%, rgba(1, 55, 125, 0.8) 34%, rgba(10, 111, 119, 0.38) 55%, rgba(3, 25, 58, 0.07) 79%),
    linear-gradient(180deg, rgba(2, 19, 46, 0.06), rgba(2, 19, 46, 0.48));
}

.refuel-home-hero__orbits {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  inset: 0;
}

.refuel-home-hero__orbits span {
  position: absolute;
  display: block;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: refuel-orbit-drift 13s ease-in-out infinite alternate;
}

.refuel-home-hero__orbits span:nth-child(1) {
  top: -115px;
  right: 4%;
  width: 300px;
  height: 300px;
  border-color: rgba(113, 213, 118, 0.32);
  border-left-color: transparent;
}

.refuel-home-hero__orbits span:nth-child(2) {
  right: 34%;
  bottom: -82px;
  width: 195px;
  height: 195px;
  border-color: rgba(255, 122, 26, 0.28);
  border-top-color: transparent;
  animation-delay: -4s;
  animation-duration: 16s;
}

.refuel-home-hero__orbits span:nth-child(3) {
  top: 31%;
  left: -235px;
  width: 390px;
  height: 390px;
  border-color: rgba(255, 255, 255, 0.1);
  border-right-color: transparent;
  animation-delay: -7s;
  animation-duration: 18s;
}

.refuel-home-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: 44px 0 25px;
}

.refuel-home-hero__copy {
  width: min(610px, 51%);
}

.refuel-home-hero h1 {
  max-width: 600px;
  margin: 0;
  color: var(--refuel-hero-white);
  font-size: clamp(28px, 2.6vw, 32px);
  font-weight: 620;
  letter-spacing: -0.032em;
  line-height: 1.14;
  text-wrap: balance;
}

.refuel-home-hero__lead {
  max-width: 575px;
  margin: 16px 0 0;
  color: var(--refuel-hero-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.refuel-home-hero__actions {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 9px;
}

.refuel-home-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 740;
  line-height: 1;
  transform-origin: center;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.refuel-home-hero__button--primary {
  color: #032856;
  background: var(--refuel-hero-green);
  box-shadow: 0 12px 26px rgba(1, 22, 50, 0.24);
  animation: refuel-button-pulse-green 2.7s ease-in-out infinite;
}

.refuel-home-hero__button--secondary {
  color: var(--refuel-hero-white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  animation: refuel-button-pulse-light 2.7s ease-in-out 0.9s infinite;
}

.refuel-home-hero__button--enterprise {
  color: var(--refuel-hero-white);
  border-color: rgba(255, 122, 26, 0.64);
  background: rgba(255, 122, 26, 0.13);
  animation: refuel-button-pulse-orange 2.7s ease-in-out 1.8s infinite;
}

.refuel-home-hero__button:hover,
.refuel-home-hero__button:focus-visible {
  animation: none;
  transform: translateY(-2px) scale(1.03);
}

.refuel-home-hero__button--primary:hover,
.refuel-home-hero__button--primary:focus-visible {
  color: #032856;
  background: #8be18f;
  box-shadow: 0 16px 34px rgba(1, 22, 50, 0.3);
}

.refuel-home-hero__button--secondary:hover,
.refuel-home-hero__button--secondary:focus-visible,
.refuel-home-hero__button--enterprise:hover,
.refuel-home-hero__button--enterprise:focus-visible {
  color: var(--refuel-hero-white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.16);
}

.refuel-home-hero__adviser {
  display: inline-grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  width: min(370px, 100%);
  min-height: 54px;
  margin-top: 12px;
  padding: 7px 13px 7px 8px;
  gap: 10px;
  border: 1px solid rgba(255, 122, 26, 0.58);
  border-radius: 12px;
  color: var(--refuel-hero-white);
  background: linear-gradient(100deg, rgba(255, 122, 26, 0.18), rgba(7, 54, 111, 0.58));
  box-shadow: 0 12px 28px rgba(1, 20, 47, 0.22);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.refuel-home-hero__adviser:hover,
.refuel-home-hero__adviser:focus-visible {
  color: var(--refuel-hero-white);
  border-color: var(--refuel-hero-orange);
  background: linear-gradient(100deg, rgba(255, 122, 26, 0.32), rgba(7, 54, 111, 0.68));
  transform: translateY(-2px);
}

.refuel-home-hero__adviser-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #492000;
  background: var(--refuel-hero-orange);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.36);
  place-items: center;
  animation: refuel-adviser-pulse 3.4s ease-out infinite;
}

.refuel-home-hero__adviser-icon svg {
  width: 19px;
  height: 19px;
}

.refuel-home-hero__adviser-copy {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.refuel-home-hero__adviser-copy small {
  color: #ffb16d;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.refuel-home-hero__adviser-copy strong {
  color: var(--refuel-hero-white);
  font-size: 12px;
  font-weight: 750;
}

.refuel-home-hero__adviser > svg {
  width: 15px;
  height: 15px;
  opacity: 0.75;
  transition: opacity 150ms ease, transform 150ms ease;
}

.refuel-home-hero__adviser:hover > svg,
.refuel-home-hero__adviser:focus-visible > svg {
  opacity: 1;
  transform: translateX(3px);
}

.refuel-home-hero__reassurance {
  display: flex;
  align-items: center;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10.5px;
  line-height: 1.4;
}

.refuel-home-hero__reassurance > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.refuel-home-hero__reassurance i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--refuel-hero-green);
  box-shadow: 0 0 0 4px rgba(113, 213, 118, 0.12);
}

.refuel-home-hero__router {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  width: min(1240px, calc(100% - 48px));
  min-height: 98px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 16px;
  background: rgba(4, 28, 62, 0.88);
  box-shadow: 0 18px 48px rgba(0, 18, 46, 0.28);
  backdrop-filter: blur(12px);
}

.refuel-home-hero__router::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--refuel-hero-orange), transparent);
  content: "";
}

.refuel-home-hero__router-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.refuel-home-hero__router-intro small {
  color: #ffad68;
  font-size: 8.5px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.refuel-home-hero__router-intro strong {
  margin-top: 5px;
  color: var(--refuel-hero-white);
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.refuel-home-hero__routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.refuel-home-hero__routes > a {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 15px;
  align-items: center;
  min-width: 0;
  padding: 16px 18px;
  gap: 11px;
  color: var(--refuel-hero-white);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  transition: color 150ms ease, background 150ms ease;
}

.refuel-home-hero__routes > a:last-child {
  border-right: 0;
}

.refuel-home-hero__routes > a:hover,
.refuel-home-hero__routes > a:focus-visible {
  color: var(--refuel-hero-white);
  background: rgba(255, 122, 26, 0.08);
}

.refuel-home-hero__route-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(113, 213, 118, 0.3);
  border-radius: 10px;
  color: var(--refuel-hero-green);
  background: rgba(113, 213, 118, 0.08);
  place-items: center;
}

.refuel-home-hero__route-icon svg {
  width: 18px;
  height: 18px;
}

.refuel-home-hero__route-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.refuel-home-hero__route-copy strong {
  color: var(--refuel-hero-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.refuel-home-hero__route-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.refuel-home-hero__routes > a > svg {
  width: 15px;
  height: 15px;
  opacity: 0.5;
  transition: opacity 150ms ease, transform 150ms ease;
}

.refuel-home-hero__routes > a:hover > svg,
.refuel-home-hero__routes > a:focus-visible > svg {
  opacity: 1;
  transform: translateX(3px);
}

.refuel-home-hero :where(a):focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.92);
  outline-offset: -3px;
}

@keyframes refuel-adviser-pulse {
  0%, 55%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
  70% { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0.16); }
}

@keyframes refuel-button-pulse-green {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 26px rgba(1, 22, 50, 0.24), 0 0 0 0 rgba(113, 213, 118, 0); }
  48% { transform: scale(1.065); box-shadow: 0 15px 34px rgba(1, 22, 50, 0.32), 0 0 0 8px rgba(113, 213, 118, 0.16); }
}

@keyframes refuel-button-pulse-light {
  0%, 100% { transform: scale(1); border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  48% { transform: scale(1.065); border-color: rgba(113, 213, 118, 0.7); box-shadow: 0 0 0 7px rgba(113, 213, 118, 0.13); }
}

@keyframes refuel-button-pulse-orange {
  0%, 100% { transform: scale(1); border-color: rgba(255, 122, 26, 0.64); box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
  48% { transform: scale(1.065); border-color: rgba(255, 164, 91, 0.9); box-shadow: 0 0 0 7px rgba(255, 122, 26, 0.14); }
}

@keyframes refuel-orbit-drift {
  0% { transform: translate3d(-8px, -5px, 0) rotate(0deg) scale(0.96); }
  100% { transform: translate3d(12px, 10px, 0) rotate(38deg) scale(1.05); }
}

@media (max-width: 1024px) {
  .refuel-home-hero__copy {
    width: min(600px, 63%);
  }

  .refuel-home-hero__router {
    grid-template-columns: 1fr;
  }

  .refuel-home-hero__router-intro {
    display: none;
  }
}

@media (max-width: 767px) {
  .refuel-home-hero {
    min-height: 0;
    padding-bottom: 0;
    background:
      radial-gradient(circle at 92% 7%, rgba(113, 213, 118, 0.2), transparent 29%),
      radial-gradient(circle at 5% 69%, rgba(255, 122, 26, 0.17), transparent 31%),
      linear-gradient(138deg, #073b7d 0%, #062e65 48%, var(--refuel-hero-blue-deep) 100%);
  }

  .refuel-home-hero::after,
  .refuel-home-hero__veil {
    display: none;
  }

  .refuel-home-hero__orbits span:nth-child(1) {
    top: -78px;
    right: -88px;
    width: 190px;
    height: 190px;
  }

  .refuel-home-hero__orbits span:nth-child(2) {
    top: 270px;
    right: auto;
    bottom: auto;
    left: -76px;
    width: 150px;
    height: 150px;
  }

  .refuel-home-hero__orbits span:nth-child(3) {
    display: none;
  }

  .refuel-home-hero__container {
    order: 1;
    align-items: flex-start;
    width: calc(100% - 32px);
    padding: 43px 0 15px;
  }

  .refuel-home-hero__copy {
    width: 100%;
  }

  .refuel-home-hero h1 {
    max-width: 350px;
    font-size: clamp(24px, 6.7vw, 26px);
    font-weight: 600;
    line-height: 1.16;
  }

  .refuel-home-hero__lead {
    max-width: 350px;
    margin-top: 13px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .refuel-home-hero__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
    gap: 8px;
  }

  .refuel-home-hero__button {
    min-height: 46px;
    padding: 0 6px;
    gap: 5px;
    font-size: 10px;
    line-height: 1.12;
    text-align: center;
  }

  .refuel-home-hero__button svg {
    width: 12px;
    height: 12px;
  }

  .refuel-home-hero__adviser {
    width: 100%;
    min-height: 52px;
    margin-top: 10px;
  }

  .refuel-home-hero__reassurance {
    margin-top: 9px;
    font-size: 9.5px;
  }

  .refuel-home-hero__media {
    position: relative;
    order: 2;
    z-index: 2;
    width: calc(100% - 24px);
    height: 210px;
    margin: 0 auto 11px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    box-shadow: 0 16px 36px rgba(0, 15, 39, 0.28);
    inset: auto;
  }

  .refuel-home-hero__media::after {
    position: absolute;
    right: 11px;
    bottom: 11px;
    width: 34px;
    height: 4px;
    border-radius: 999px;
    background: var(--refuel-hero-orange);
    box-shadow: 0 0 0 6px rgba(255, 122, 26, 0.11);
    content: "";
  }

  .refuel-home-hero__media img {
    object-position: center center;
  }

  .refuel-home-hero__router {
    order: 3;
    width: calc(100% - 24px);
    min-height: 96px;
    margin: 0 auto 13px;
    border-radius: 14px;
  }

  .refuel-home-hero__routes > a {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 10px 5px 9px;
    gap: 6px;
    text-align: center;
  }

  .refuel-home-hero__route-icon {
    width: 31px;
    height: 31px;
    border-radius: 8px;
  }

  .refuel-home-hero__route-icon svg {
    width: 16px;
    height: 16px;
  }

  .refuel-home-hero__route-copy {
    gap: 2px;
  }

  .refuel-home-hero__route-copy strong {
    font-size: 9.5px;
  }

  .refuel-home-hero__route-copy small {
    max-width: 100px;
    font-size: 8px;
  }

  .refuel-home-hero__routes > a > svg {
    display: none;
  }
}

@media (max-width: 360px) {
  .refuel-home-hero__container {
    padding-top: 36px;
  }

  .refuel-home-hero__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .refuel-home-hero__media {
    height: 175px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refuel-home-hero *,
  .refuel-home-hero *::before,
  .refuel-home-hero *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
