/* ==========================================================================
   A&W Velo Cargo: site styles
   Brand colors are defined in :root so they can be changed in one place.
   ========================================================================== */

:root {
  --ink: #0b2b26;
  --ink-deep: #071f1b;
  --teal: #0e5e4e;
  --teal-hover: #0b4b3f;
  --mint: #dcf2ea;
  --orange: #ff7b2e;
  --orange-hover: #ff9052;
  --sun: #ffd166;
  --paper: #f7f5ef;
  --white: #ffffff;
  --text: #14231f;
  --muted: #5a6a65;
  --line: #e2ded2;
  --radius: 20px;
  --shadow: 0 12px 32px rgba(11, 43, 38, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 43, 38, 0.22);
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.1rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.hero :focus-visible,
.page-hero :focus-visible,
.section-dark :focus-visible,
.cta-band :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sun);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--orange-hover);
}

.btn-dark {
  background: var(--teal);
  color: #fff;
}

.btn-dark:hover {
  background: var(--teal-hover);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  border-color: var(--teal);
  background: transparent;
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--mint);
}

.btn-sm {
  min-height: 44px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 43, 38, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #cfe4de;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav .nav-cta {
  display: none;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.call-link {
  padding: 10px 0;
  color: #cfe4de;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.call-link:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

/* ---------- Section helpers ---------- */

.section {
  padding-block: clamp(64px, 9vw, 112px);
  scroll-margin-top: 88px;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: var(--ink);
  color: #e6f3ef;
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section-cta.is-centered {
  justify-content: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
}

.section-dark h2 {
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--sun);
}

.section-dark .lead {
  color: #b8d3cc;
}

/* ---------- Home hero ---------- */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(255, 209, 102, 0.18), transparent 60%),
    linear-gradient(165deg, var(--teal) 0%, var(--ink) 65%);
}

.hero {
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
}

.page-hero {
  padding-block: clamp(56px, 7vw, 96px);
}

.hero h1,
.page-hero h1 {
  color: #fff;
}

.hl {
  color: var(--sun);
}

.hero-grid,
.page-hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8f5f1;
  font-size: 0.92rem;
  font-weight: 500;
}

.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.2);
}

.hero-sub {
  max-width: 34em;
  margin-bottom: 32px;
  color: #c9e2dc;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #cfe6e0;
  font-size: 0.95rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon {
  width: 18px;
  height: 18px;
  color: var(--sun);
}

.hero-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-art > svg {
  width: 100%;
  height: auto;
}

.float-card {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.float-card .icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.float-card.card-a {
  top: 18px;
  left: 18px;
}

.float-card.card-b {
  right: 18px;
  bottom: 18px;
}

/* ---------- Page hero (subpages) ---------- */

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.2rem;
}

.hero-panel .checks li {
  color: #e3f1ec;
}

.hero-panel .checks .icon {
  color: var(--sun);
}

/* ---------- Trust strip ---------- */

.strip {
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.strip-inner,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.strip-label {
  margin-right: 8px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.92rem;
  font-weight: 500;
}

.tag-row .tag {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #e8f5f1;
}

/* ---------- Cards ---------- */

.grid-4,
.grid-3 {
  display: grid;
  gap: 20px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--mint);
  color: var(--teal);
}

.icon-badge .icon {
  width: 26px;
  height: 26px;
}

/* ---------- Comparison ---------- */

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare-col {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.compare-col h3 {
  margin-bottom: 18px;
}

.compare-col.is-accent {
  border-color: var(--ink);
  background: var(--ink);
  color: #e6f3ef;
}

.compare-col.is-accent h3 {
  color: #fff;
}

/* ---------- Checklists ---------- */

.checks {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checks .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--teal);
}

.compare-col.is-accent .checks .icon {
  color: var(--sun);
}

.checks.is-cross .icon {
  color: #9aa7a3;
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.split-card h3 {
  margin-bottom: 16px;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--paper);
}

.step-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--muted);
}


/* ---------- Call-to-action band ---------- */

.cta-band {
  padding-block: clamp(56px, 8vw, 96px);
  color: #e6f3ef;
  background:
    radial-gradient(700px 360px at 10% 120%, rgba(255, 209, 102, 0.14), transparent 60%),
    var(--ink);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 32px;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band .lead {
  margin: 0;
  color: #b8d3cc;
}

.cta-band .btn-row {
  margin: 0;
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--teal), var(--teal)) center / 14px 2px no-repeat,
    linear-gradient(var(--teal), var(--teal)) center / 2px 14px no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 60ch;
  margin: 12px 0 0;
  color: var(--muted);
}

/* ---------- Contact & forms ---------- */

.contact-grid,
.calc-layout {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.calc-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  border-color: var(--teal);
}

.contact-list small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-list .icon-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 12px;
}

.contact-list .icon-badge .icon {
  width: 22px;
  height: 22px;
}

.form-card,
.calc-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field {
  min-width: 0;
}

.field + .field {
  margin-top: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #7d8f8a;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 94, 78, 0.18);
}

.field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-note {
  max-width: 36ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--teal);
}

.form-status.is-error {
  color: #b42318;
}

/* Honeypot: hidden from people, but visible to some bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Rate calculator ---------- */

.calc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.calc-bar {
  height: 8px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: var(--mint);
  overflow: hidden;
}

.calc-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 0.3s ease;
}

.calc-step h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
}


.calc-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}


.summary-list {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.summary-list > div:last-child {
  border-bottom: 0;
}

.summary-list dt {
  color: var(--muted);
  font-weight: 600;
}

.summary-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.calc-result h2 {
  color: var(--ink);
}


/* ---------- Footer ---------- */

.site-footer {
  padding-block: 64px 28px;
  background: var(--ink-deep);
  color: #b7d0c9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.footer-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  display: inline-block;
  padding: 9px 0;
  color: #b7d0c9;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-blurb {
  max-width: 30ch;
  margin: 16px 0 0;
  font-size: 0.98rem;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ---------- Policy text (privacy page) ---------- */

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 1.8em;
  font-size: 1.5rem;
}

.prose ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: 0.6em;
}

/* ---------- Draft banner (privacy page, until approved) ---------- */

.draft-banner {
  margin: 0;
  padding: 12px 16px;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--ink);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 16px;
    padding: 0.9rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: var(--ink);
    font-weight: 600;
  }

  .hero-grid,
  .page-hero-grid,
  .contact-grid,
  .calc-layout,
  .faq-layout,
  .split,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    max-width: 560px;
  }

  .steps,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  .steps,
  .grid-3,
  .compare {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .call-link {
    display: none;
  }

  .grid-4,
  .form-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn-row .btn,
  .calc-nav .btn,
  .form-foot .btn,
  .section-cta .btn {
    width: 100%;
  }

  .float-card {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .summary-list > div {
    flex-direction: column;
    gap: 4px;
  }

  .summary-list dd {
    text-align: left;
  }

  .float-card.card-a {
    top: 12px;
    left: 12px;
  }

  .float-card.card-b {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  /* The header button moves into the menu on very small screens. */
  .nav-actions .btn {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
