:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: rgba(18, 19, 22, 0.78);
  --panel-solid: #121316;
  --panel-soft: #1b1d22;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f8f7f4;
  --muted: #aaaeb7;
  --red: #ef1024;
  --red-dark: #b70d1b;
  --metal: #d8dce2;
  --carbon: #0b0c0f;
  --gold: #d9a441;
  --green: #57d489;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(140deg, rgba(239, 16, 36, 0.15), transparent 28%),
    radial-gradient(circle at 76% 0%, rgba(217, 164, 65, 0.14), transparent 25%),
    linear-gradient(180deg, #090a0d, var(--bg) 36%, #08090b);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(30deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px);
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body.intro-lock {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(239, 16, 36, 0.18), transparent 30%),
    linear-gradient(135deg, #050506, #0e0f13 46%, #020203);
  animation: introExit 720ms ease 2500ms forwards;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.intro::before {
  background:
    linear-gradient(100deg, transparent 0 38%, rgba(255, 255, 255, 0.18) 42%, transparent 48% 100%),
    linear-gradient(82deg, transparent 0 48%, rgba(239, 16, 36, 0.42) 50%, transparent 54% 100%);
  transform: translateX(-120%) skewX(-18deg);
  animation: introSlash 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) 520ms forwards;
}

.intro::after {
  opacity: 0.24;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 42px);
  animation: introGridDrift 2800ms linear forwards;
}

.intro-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 75%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(transparent 58%, rgba(239, 16, 36, 0.18));
  clip-path: polygon(0 58%, 100% 38%, 100% 100%, 0 100%);
}

.intro-flare {
  position: absolute;
  width: 72vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, var(--red), transparent);
  box-shadow: 0 0 34px rgba(239, 16, 36, 0.9);
  transform: scaleX(0);
  animation: introFlare 900ms ease 880ms forwards;
}

.intro-logo {
  position: relative;
  z-index: 2;
  width: min(760px, 82vw);
  transform: scale(0.78) translateY(18px);
  opacity: 0;
  filter:
    drop-shadow(0 0 28px rgba(239, 16, 36, 0.62))
    drop-shadow(0 18px 70px rgba(0, 0, 0, 0.9));
  animation: introLogo 1600ms cubic-bezier(0.12, 0.96, 0.22, 1) 240ms forwards;
}

.intro-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(44px, 8vh, 84px);
  z-index: 2;
  display: grid;
  gap: 6px;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) translateY(14px);
  opacity: 0;
  animation: introCopy 900ms ease 1180ms forwards;
}

.intro-copy span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
}

.intro-copy strong {
  color: var(--metal);
  font-size: clamp(22px, 4vw, 46px);
  line-height: 0.95;
}

.intro.is-skipped {
  animation-duration: 180ms;
  animation-delay: 0ms;
}

@keyframes introLogo {
  0% {
    opacity: 0;
    transform: scale(0.72) translateY(26px);
    clip-path: inset(0 100% 0 0);
  }
  42% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
  72% {
    transform: scale(1.04) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes introSlash {
  to {
    transform: translateX(120%) skewX(-18deg);
  }
}

@keyframes introFlare {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  36% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes introCopy {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes introGridDrift {
  to {
    transform: translate3d(-34px, 18px, 0);
  }
}

@keyframes introExit {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

button,
input {
  font: inherit;
}

button,
.button-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), #ff3b4d);
  color: #ffffff;
  padding: 0 22px;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(239, 16, 36, 0.25);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

button:hover,
.button-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 54px rgba(239, 16, 36, 0.35);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.76);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 190px;
  min-width: 160px;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(239, 16, 36, 0.32));
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.topbar nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
}

.topbar nav a:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-pay {
  min-height: 42px;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 60px clamp(18px, 5vw, 76px) 116px;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 76px);
  right: clamp(18px, 5vw, 76px);
  bottom: 88px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 810px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--metal);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.quiet {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(239, 16, 36, 0.2), transparent 56%),
    conic-gradient(from 130deg, rgba(255, 255, 255, 0.18), transparent, rgba(217, 164, 65, 0.28), transparent);
  filter: blur(0.2px);
}

.truck-card {
  position: relative;
  width: min(520px, 92%);
  aspect-ratio: 1.45;
  transform: perspective(900px) rotateY(-10deg) rotateX(5deg);
}

.truck-body {
  position: absolute;
  left: 7%;
  right: 8%;
  bottom: 24%;
  height: 34%;
  border-radius: 18px 34px 16px 16px;
  background:
    linear-gradient(110deg, #191c22 0 34%, #5d6470 34% 36%, #20242c 36% 70%, #06070a 70%),
    linear-gradient(#343943, #111318);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 40px 80px rgba(0, 0, 0, 0.58);
}

.truck-body::before {
  content: "";
  position: absolute;
  left: -4%;
  top: 38%;
  width: 20%;
  height: 34%;
  border-radius: 12px 4px 4px 14px;
  background: linear-gradient(180deg, #222731, #0b0c10);
}

.truck-body::after {
  content: "";
  position: absolute;
  right: -3%;
  top: 22%;
  width: 10%;
  height: 28%;
  border-radius: 4px 16px 8px 4px;
  background: linear-gradient(90deg, #ef1024, #ff6a74);
  box-shadow: 0 0 26px rgba(239, 16, 36, 0.42);
}

.truck-window {
  position: absolute;
  left: 25%;
  bottom: 55%;
  width: 32%;
  height: 22%;
  border-radius: 18px 18px 4px 4px;
  background: linear-gradient(135deg, rgba(207, 229, 255, 0.8), rgba(57, 74, 92, 0.72));
  clip-path: polygon(12% 0, 78% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.truck-wheel {
  position: absolute;
  bottom: 12%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #adb4bd 0 14%, #101116 15% 36%, #2c3038 37% 48%, #050506 49% 100%);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.74);
}

.truck-wheel.front {
  left: 18%;
}

.truck-wheel.rear {
  right: 15%;
}

.hero-strip {
  position: absolute;
  left: clamp(18px, 5vw, 76px);
  right: clamp(18px, 5vw, 76px);
  bottom: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

.hero-strip span {
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.hero-strip span + span {
  border-left: 1px solid var(--line);
}

.section-wrap,
.split-band,
.review-band,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-band h2,
.review-band h2,
.modal h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}

.action-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  gap: 16px;
}

.feature-card,
.finance-card,
.site-card,
.contact-grid article,
.map-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 24px;
}

.feature-card::before,
.site-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at 20% 10%, rgba(239, 16, 36, 0.28), transparent 26%);
  pointer-events: none;
}

.primary-card {
  background:
    linear-gradient(145deg, rgba(239, 16, 36, 0.22), rgba(18, 19, 22, 0.8)),
    var(--panel-solid);
}

.feature-card h3,
.contact-grid h3 {
  position: relative;
  margin: 0;
  font-size: 24px;
}

.feature-card p,
.site-card p,
.split-band p,
.contact-grid p,
.helper,
.invoice-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-card button,
.feature-card .button-link {
  position: relative;
  margin-top: 8px;
}

.split-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.finance-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  width: 100%;
  text-align: left;
  box-shadow: var(--shadow);
}

.finance-card span,
.site-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.finance-card strong {
  font-size: 24px;
  line-height: 1.15;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.site-card {
  min-height: 320px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 24px;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.05), rgba(5, 5, 6, 0.78) 58%, rgba(5, 5, 6, 0.94)),
    radial-gradient(circle at 18% 18%, rgba(239, 16, 36, 0.22), transparent 34%);
}

.site-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 16, 36, 0.5);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.65), 0 0 42px rgba(239, 16, 36, 0.15);
}

.site-card span,
.site-card p {
  position: relative;
  z-index: 1;
}

.site-card.tuning {
  background-image: url("/assets/card-tuning.png");
  background-position: center;
}

.site-card.events {
  background-image: url("/assets/card-burnout.png");
  background-position: center;
}

.site-card.apparel {
  background-image: url("/assets/card-apparel.jpg");
  background-position: center 42%;
}

.review-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-section {
  padding-bottom: 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.map-panel {
  min-height: 520px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 28px;
  background:
    linear-gradient(rgba(10, 12, 15, 0.3), rgba(10, 12, 15, 0.92)),
    repeating-linear-gradient(32deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 52px),
    linear-gradient(135deg, #363d42, #15191f 55%, #0a0b0d);
}

.map-panel::before {
  content: "";
  position: absolute;
  left: 48%;
  top: 32%;
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 14px rgba(239, 16, 36, 0.12), 0 0 48px rgba(239, 16, 36, 0.8);
}

.map-panel span {
  position: relative;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-panel strong {
  position: relative;
  font-size: 36px;
  line-height: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 250px;
  padding: 22px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(2, 2, 3, 0.78);
  padding: 24px;
  backdrop-filter: blur(14px);
}

.modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(239, 16, 36, 0.08), transparent 38%),
    #090a0d;
  padding: 34px;
  box-shadow: var(--shadow);
}

.embed-panel {
  width: min(1120px, 100%);
}

.embed-frame {
  min-height: 560px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.embed-loading {
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--muted);
}

.jotform-iframe,
.adobe-iframe {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 640px;
  border: 0;
  background: #ffffff;
}

.adobe-iframe {
  min-height: 720px;
}

.driver-capital-host {
  min-height: 620px;
  padding: 18px;
  background: #ffffff;
  color: #111111;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 36px;
  width: 36px;
  padding: 0;
  border-radius: 50%;
}

.lookup-form {
  display: grid;
  grid-template-columns: 1fr 0.68fr 0.56fr 184px;
  gap: 14px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  padding: 0 14px;
  outline: none;
}

input:focus {
  border-color: rgba(239, 16, 36, 0.8);
  box-shadow: 0 0 0 4px rgba(239, 16, 36, 0.14);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: #ffcf6d;
}

.search-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(239, 16, 36, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 16, 36, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  padding: 14px;
}

.search-status strong {
  display: block;
  margin-bottom: 2px;
}

.search-status p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.loader-ring {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
  box-shadow: 0 0 26px rgba(239, 16, 36, 0.24);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metrics article,
.invoice-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metrics article {
  padding: 18px;
}

.metrics span,
.invoice-meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.metrics strong,
.amount {
  font-size: 26px;
  color: #ffffff;
}

.invoice-list {
  display: grid;
  gap: 12px;
}

.billing-form {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.78fr 0.42fr 0.62fr;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.billing-form > div {
  grid-column: 1 / -1;
}

.billing-wide {
  grid-column: span 2;
}

.invoice-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.invoice-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.invoice-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.invoice-check span {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.invoice-check input:checked + span {
  border-color: rgba(239, 16, 36, 0.8);
  background:
    linear-gradient(135deg, rgba(239, 16, 36, 0.95), rgba(255, 59, 77, 0.92));
  box-shadow: 0 0 22px rgba(239, 16, 36, 0.28);
}

.invoice-check input:checked + span::after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  margin: 7px auto 0;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.invoice-main {
  display: grid;
  gap: 8px;
}

.invoice-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: #24272f;
  color: #d8d8d8;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.badge.is-due,
.badge.is-past-due {
  background: rgba(239, 16, 36, 0.18);
  color: #ff8c94;
}

.badge.is-paid {
  background: rgba(87, 212, 137, 0.16);
  color: #8df0b4;
}

.invoice-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.payment-summary {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.moneris-frame {
  min-height: 620px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  margin: 22px 0;
  overflow: hidden;
}

#monerisCheckout {
  width: 100%;
  min-height: 620px;
}

.checkout-status {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffcf6d;
  margin-bottom: 14px;
}

.checkout-status p {
  margin: 0;
}

.is-hidden {
  display: none;
}

@media (max-width: 1020px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }

  .topbar nav {
    display: none;
  }

  .hero,
  .split-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-media {
    min-height: 360px;
    order: -1;
  }

  .action-grid,
  .site-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: auto;
    padding: 16px;
  }

  .nav-pay {
    grid-column: 1 / -1;
  }

  .hero-strip,
  .finance-grid,
  .contact-grid,
  .lookup-form,
  .billing-form,
  .metrics,
  .invoice-card {
    grid-template-columns: 1fr;
  }

  .billing-wide {
    grid-column: auto;
  }

  .hero-strip span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .review-band,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .invoice-actions {
    justify-items: stretch;
  }

  .map-panel {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .logo {
    min-width: 150px;
    font-size: 23px;
  }

  .logo strong {
    font-size: 33px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .modal-panel {
    padding: 26px 18px;
  }
}
