@layer reset, theme, base, components, utilities;

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

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  ul,
  dl,
  dd {
    margin: 0;
  }

  ul {
    padding: 0;
  }

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

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

@layer theme {
  :root {
    --green-950: #082d25;
    --green-900: #0d3b30;
    --green-800: #18453b;
    --green-700: #20594a;
    --green-100: #e6f0eb;
    --orange-600: #d76c09;
    --orange-500: #f7931e;
    --gold-300: #f6cf72;
    --ink-900: #17211e;
    --ink-700: #3f4e48;
    --ink-500: #66746e;
    --surface: #ffffff;
    --surface-muted: #f4f7f5;
    --border: #d9e3de;
    --shadow-sm: 0 0.35rem 1rem rgb(8 45 37 / 0.08);
    --shadow-md: 0 1.1rem 2.8rem rgb(8 45 37 / 0.14);
    --radius-sm: 0.55rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --content-width: 74rem;
    --font-body:
      Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
  }
}

@layer base {
  body {
    color: var(--ink-900);
    background: var(--surface);
    font-family: var(--font-body);
    line-height: 1.6;
  }

  main {
    overflow: hidden;
  }

  section:not(.hero) {
    width: min(100% - 2rem, var(--content-width));
    margin-inline: auto;
    padding-block: clamp(3.5rem, 8vw, 7rem);
  }

  h1,
  h2,
  h3 {
    color: var(--green-950);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  h1 {
    max-width: 12ch;
    color: var(--surface);
    font-size: clamp(2.8rem, 7vw, 5.75rem);
  }

  h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
  }

  h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  }

  p {
    color: var(--ink-700);
  }

  a {
    color: inherit;
  }

  :focus-visible {
    outline: 3px solid var(--orange-500);
    outline-offset: 4px;
  }
}

@layer components {
  .skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 999;
    padding: 0.65rem 1rem;
    color: var(--surface);
    background: var(--green-950);
    border-radius: var(--radius-sm);
    font-weight: 800;
    transform: translateY(-180%);
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgb(255 255 255 / 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
  }

  .site-nav {
    position: relative;
    width: min(100% - 2rem, var(--content-width));
    min-height: 4.75rem;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .site-logo img {
    width: 6.25rem;
    max-height: 4.35rem;
    object-fit: contain;
  }

  .site-menu {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
  }

  .site-menu a {
    color: var(--green-900);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
  }

  .site-menu a:not(.nav-call):hover {
    color: var(--orange-600);
  }

  .nav-call {
    padding: 0.65rem 1rem;
    color: var(--surface) !important;
    background: var(--green-800);
    border-radius: 999px;
  }

  .nav-call:hover {
    background: var(--green-950);
  }

  .menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
  }

  .menu-toggle__bar {
    display: block;
    height: 2px;
    margin-block: 0.25rem;
    background: var(--green-900);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .hero {
    position: relative;
    min-height: min(48rem, calc(100svh - 4.75rem));
    display: grid;
    align-items: center;
    background:
      radial-gradient(
        circle at 20% 48%,
        rgb(8 45 37 / 0.96) 0 22rem,
        rgb(8 45 37 / 0.72) 34rem,
        rgb(8 45 37 / 0.18) 56rem,
        transparent 70rem
      ),
      linear-gradient(90deg, rgb(8 45 37 / 0.88), rgb(8 45 37 / 0.22) 58%, transparent 82%),
      url("./img/sales-page_hero(1672x941).png") 62% center / cover no-repeat;
    isolation: isolate;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 9rem;
    z-index: -1;
    background: linear-gradient(transparent, rgb(8 45 37 / 0.4));
  }

  .hero__content {
    width: min(100% - 2rem, var(--content-width));
    margin-left: max(1rem, calc((100% - var(--content-width)) / 2));
    margin-right: auto;
    padding-block: 4rem;
  }

  .hero__content > * {
    max-width: 36rem;
  }

  .hero h1,
  .hero .eyebrow,
  .hero__lede,
  .hero__highlights {
    text-shadow: 0 0.12rem 0.8rem rgb(0 0 0 / 0.38);
  }

  .eyebrow {
    margin-bottom: 0.75rem;
    color: var(--orange-600);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .hero .eyebrow {
    color: var(--gold-300);
  }

  .hero__lede {
    max-width: 38rem;
    margin-top: 1.5rem;
    color: rgb(255 255 255 / 0.86);
    font-size: clamp(1rem, 2vw, 1.25rem);
  }

  .hero__actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero__highlights {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    list-style: none;
  }

  .hero__highlights li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--surface);
    font-size: 0.88rem;
    font-weight: 700;
  }

  .hero__highlights li::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    background: var(--orange-500);
    border-radius: 50%;
  }

  .button {
    min-height: 3.15rem;
    padding: 0.78rem 1.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
      transform 180ms ease,
      background-color 180ms ease,
      box-shadow 180ms ease;
  }

  .button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  .button--primary {
    color: var(--surface);
    background: var(--orange-600);
  }

  .button--primary:hover {
    background: #b95805;
  }

  .button--ghost {
    color: var(--surface);
    background: rgb(255 255 255 / 0.08);
    border-color: rgb(255 255 255 / 0.55);
  }

  .button--ghost:hover {
    background: rgb(255 255 255 / 0.16);
  }

  .button--outline {
    color: var(--green-900);
    background: transparent;
    border-color: var(--green-800);
  }

  .button--outline:hover {
    color: var(--surface);
    background: var(--green-800);
  }

  .button--light {
    color: var(--green-950);
    background: var(--surface);
  }

  .button:disabled {
    cursor: wait;
    opacity: 0.62;
    transform: none;
  }

  .intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    align-items: end;
    gap: 3rem;
    border-bottom: 1px solid var(--border);
  }

  .intro > p {
    max-width: 38rem;
    font-size: 1.08rem;
  }

  .brand-promos {
    padding-top: clamp(3rem, 6vw, 5rem) !important;
  }

  .brand-promos__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .brand-promo {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }

  .brand-promo__media,
  .brand-promo__banner {
    min-height: 100%;
    display: grid;
    place-items: center;
    background: var(--surface-muted);
  }

  .brand-promo--cub-cadet .brand-promo__media {
    padding: clamp(1.25rem, 3vw, 2rem);
    background:
      radial-gradient(circle at 50% 45%, rgb(247 147 30 / 0.16), transparent 58%),
      var(--surface-muted);
  }

  .brand-promo__media img {
    width: min(100%, 12rem);
  }

  .brand-promo__banner picture,
  .brand-promo__banner img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .brand-promo__banner img {
    object-fit: cover;
  }

  .brand-promo--wright {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  }

  .brand-promo--cub-cadet {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  }

  .brand-promo--cub-cadet .brand-promo__banner {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .brand-promo--cub-cadet .brand-promo__banner img {
    object-fit: contain;
  }

  .brand-promo--wright .brand-promo__banner {
    padding: clamp(0.75rem, 2vw, 1.25rem);
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: #2f8208;
  }

  .brand-promo--wright .brand-promo__banner picture {
    display: grid;
    place-items: center;
  }

  .brand-promo--wright .brand-promo__banner img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .brand-promo__content {
    padding: clamp(1.25rem, 3vw, 2rem);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .brand-promo__label {
    color: var(--orange-600);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .brand-promo__content h3 {
    max-width: 100%;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    overflow-wrap: anywhere;
  }

  .brand-promo__content p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .brand-promo--wright .brand-promo__content h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.12;
  }

  .brand-promo__content .button {
    max-width: 100%;
    width: 100%;
    margin-top: auto;
    white-space: normal;
    text-align: center;
  }

  .sales-section {
    padding-top: clamp(3rem, 6vw, 5rem) !important;
  }

  .section-heading {
    margin-bottom: 2rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
  }

  .text-link {
    color: var(--green-800);
    font-weight: 800;
    text-underline-offset: 0.22em;
  }

  .text-link:hover {
    color: var(--orange-600);
  }

  .sales-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .sale-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition:
      transform 200ms ease,
      box-shadow 200ms ease;
  }

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

  .sale-card--featured {
    border-color: #edb25c;
  }

  .sale-card__media {
    position: relative;
    overflow: hidden;
    background: var(--surface-muted);
  }

  .sale-card__media img {
    width: 100%;
    height: clamp(18rem, 30vw, 25rem);
    object-fit: contain;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    transition: transform 300ms ease;
  }

  .sale-card:hover .sale-card__media img {
    transform: scale(1.02);
  }

  .sale-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.4rem 0.7rem;
    color: var(--green-950);
    background: var(--gold-300);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .sale-card__badge--dark {
    color: var(--surface);
    background: var(--green-900);
  }

  .sale-card__badge--stock {
    right: 1rem;
    left: auto;
    color: var(--surface);
    background: var(--orange-600);
  }

  .sale-card__content {
    flex: 1;
    padding: clamp(1.25rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .sale-card__brand {
    color: var(--orange-600);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .sale-card__pricing {
    width: 100%;
    display: grid;
    gap: 0.45rem;
  }

  .price-row {
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
  }

  .price-row span {
    color: var(--ink-500);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .price-row strong {
    color: var(--green-950);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 900;
    line-height: 1.15;
    text-align: right;
  }

  .price-row--highlight {
    color: var(--surface);
    background: var(--green-900);
    border-color: var(--green-900);
  }

  .price-row--highlight span,
  .price-row--highlight strong {
    color: var(--surface);
  }

  .price-note {
    padding-inline: 0.15rem;
    color: var(--ink-500);
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .feature-list {
    margin: 0.25rem 0 0.5rem;
    display: grid;
    gap: 0.4rem;
    color: var(--ink-700);
    list-style: none;
  }

  .feature-list li {
    position: relative;
    padding-left: 1.4rem;
  }

  .feature-list li::before {
    content: "";
    position: absolute;
    top: 0.52em;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--orange-500);
    border-radius: 50%;
  }

  .sale-card__actions {
    width: 100%;
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .sale-card__actions .button {
    width: 100%;
  }

  .help-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .help-section {
    width: 100% !important;
    max-width: none;
    padding-inline: max(1rem, calc((100% - var(--content-width)) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    color: var(--surface);
    background: var(--green-900);
  }

  .help-section h2,
  .help-section p,
  .help-section dt,
  .help-section dd {
    color: var(--surface);
  }

  .help-section__content p:not(.eyebrow) {
    max-width: 36rem;
    margin: 1rem 0 1.5rem;
    color: rgb(255 255 255 / 0.76);
  }

  .help-section__details {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    display: grid;
    gap: 1.25rem;
    background: rgb(255 255 255 / 0.08);
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: var(--radius-lg);
  }

  .help-section__details div {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgb(255 255 255 / 0.16);
  }

  .help-section__details div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .help-section__details dt {
    margin-bottom: 0.2rem;
    color: var(--gold-300);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .help-section__details dd {
    font-size: 1.05rem;
    font-weight: 700;
  }

  .details-section {
    display: grid;
    grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2.5rem, 7vw, 6rem);
  }

  .details-section > div:first-child p:last-child {
    margin-top: 1rem;
  }

  .details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .details-grid article {
    padding: 1.5rem 0;
    border-top: 3px solid var(--orange-500);
  }

  .details-grid span {
    display: block;
    margin-bottom: 1.75rem;
    color: var(--orange-600);
    font-size: 0.78rem;
    font-weight: 900;
  }

  .details-grid h3 {
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
  }

  .faq-section {
    display: grid;
    grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2.5rem, 7vw, 6rem);
    padding-top: 0 !important;
  }

  .faq-list {
    border-top: 1px solid var(--border);
  }

  .faq-list details {
    border-bottom: 1px solid var(--border);
  }

  .faq-list summary {
    position: relative;
    padding: 1.3rem 2.5rem 1.3rem 0;
    color: var(--green-950);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
  }

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

  .faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0.25rem;
    color: var(--orange-600);
    font-size: 1.5rem;
    line-height: 1;
    transform: translateY(-50%);
  }

  .faq-list details[open] summary::after {
    content: "-";
  }

  .faq-list details p {
    max-width: 42rem;
    padding: 0 2.5rem 1.3rem 0;
  }

  .quote-dialog {
    width: min(48rem, calc(100% - 1.25rem));
    max-width: none;
    max-height: calc(100dvh - 1.25rem);
    padding: 0;
    overflow: hidden;
    color: var(--ink-900);
    background: transparent;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 0.35);
  }

  .quote-dialog::backdrop {
    background: rgb(8 45 37 / 0.78);
    backdrop-filter: blur(3px);
  }

  .quote-dialog__surface {
    max-height: calc(100dvh - 1.25rem);
    padding: clamp(1.25rem, 4vw, 2.25rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--surface);
  }

  .quote-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .quote-dialog__header h2 {
    font-size: clamp(1.75rem, 4vw, 2.7rem);
  }

  .quote-dialog__header p:last-child {
    max-width: 40rem;
    margin-top: 0.75rem;
  }

  .quote-dialog__close {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    color: var(--green-950);
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
  }

  .quote-dialog__close:hover {
    background: var(--green-100);
  }

  .quote-dialog__product {
    margin-top: 1.25rem;
    padding: 0.7rem 0.85rem;
    color: var(--green-950);
    background: var(--green-100);
    border-left: 4px solid var(--orange-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-weight: 800;
  }

  .quote-form {
    margin-top: 1.5rem;
    display: grid;
    gap: 1.4rem;
  }

  .quote-form__section {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .quote-form__section legend {
    width: 100%;
    margin-bottom: 0.8rem;
    padding: 0 0 0.5rem;
    color: var(--green-950);
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
    font-weight: 900;
  }

  .quote-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .form-field {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 0.35rem;
  }

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

  .form-field label {
    color: var(--green-950);
    font-size: 0.86rem;
    font-weight: 800;
  }

  .form-field label span {
    color: var(--ink-500);
    font-weight: 600;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.75rem;
    color: var(--ink-900);
    background: var(--surface);
    border: 1px solid #aabbb3;
    border-radius: var(--radius-sm);
  }

  .form-field textarea {
    min-height: 8rem;
    resize: vertical;
  }

  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgb(32 89 74 / 0.16);
    outline: 0;
  }

  .quote-form__hint {
    margin: -0.3rem 0 0.8rem;
    color: var(--ink-500);
    font-size: 0.84rem;
  }

  .quote-form__consent {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.7rem;
    color: var(--ink-700);
    font-size: 0.88rem;
    cursor: pointer;
  }

  .quote-form__consent input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
    accent-color: var(--green-800);
  }

  .quote-form__consent a,
  .quote-form__fallback a {
    color: var(--green-800);
    font-weight: 800;
  }

  .quote-form__turnstile {
    min-height: 4.1rem;
  }

  .quote-form__status {
    min-height: 1.6em;
    color: var(--ink-700);
    font-size: 0.9rem;
    font-weight: 700;
  }

  .quote-form__status.is-error {
    color: #a33a20;
  }

  .quote-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .quote-form__fallback {
    font-size: 0.86rem;
  }

  .quote-form__success {
    margin-top: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--green-100);
    border-radius: var(--radius-md);
  }

  .quote-form__success h3 {
    margin-bottom: 0.6rem;
  }

  .quote-form__success .button {
    margin-top: 1.25rem;
  }

  .quote-form__trap {
    position: fixed;
    top: -100vh;
    left: -100vw;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  body:has(.quote-dialog[open]) {
    overflow: hidden;
  }

  .site-footer {
    padding-block: 2.5rem 5rem;
    color: var(--surface);
    background: var(--green-950);
  }

  .site-footer__inner {
    width: min(100% - 2rem, var(--content-width));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    align-items: start;
    gap: 2rem;
  }

  .site-footer__logo {
    width: 9rem;
    margin-bottom: 1rem;
  }

  .site-footer h2 {
    margin-bottom: 0.75rem;
    color: var(--surface);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .site-footer p,
  .site-footer a {
    color: rgb(255 255 255 / 0.72);
    font-size: 0.85rem;
  }

  .site-footer a {
    display: block;
    margin-bottom: 0.4rem;
    text-decoration: none;
  }

  .site-footer a:hover {
    color: var(--surface);
  }

  .site-footer__copyright {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / 0.14);
  }

  .mobile-call {
    display: none;
  }
}

@layer utilities {
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  @media (max-width: 52rem) {
    .site-nav {
      min-height: 4.25rem;
    }

    .menu-toggle {
      display: block;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .site-menu {
      position: absolute;
      top: 100%;
      left: -1rem;
      right: -1rem;
      padding: 1rem;
      display: none;
      align-items: stretch;
      flex-direction: column;
      gap: 0;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow-md);
    }

    .site-menu.is-open {
      display: flex;
    }

    .site-menu a {
      padding: 0.8rem 0.5rem;
    }

    .nav-call {
      margin-top: 0.5rem;
      text-align: center;
    }

    .hero {
      min-height: 38rem;
      background:
        linear-gradient(rgb(8 45 37 / 0.85), rgb(8 45 37 / 0.76)),
        url("./img/sales-page_hero(1672x941).png") 68% center / cover no-repeat;
    }

    .hero__content {
      margin-inline: auto;
    }

    .intro,
    .help-section,
    .details-section,
    .faq-section {
      grid-template-columns: 1fr;
    }

    .intro {
      gap: 1.25rem;
    }

    .sale-card__actions {
      grid-template-columns: 1fr;
    }

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

    .brand-promos__grid,
    .brand-promo {
      grid-template-columns: 1fr;
    }

    .brand-promo__media,
    .brand-promo__banner {
      min-height: 14rem;
    }

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

    .site-footer__inner {
      grid-template-columns: 1fr 1fr;
    }

    .site-footer__inner > div:first-child,
    .site-footer__copyright {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 38rem) {
    body {
      overflow-x: hidden;
      padding-bottom: 4rem;
    }

    section:not(.hero) {
      width: calc(100% - 1.25rem);
      max-width: var(--content-width);
    }

    .hero__content {
      width: calc(100% - 1.25rem);
      max-width: var(--content-width);
    }

    .hero__actions,
    .hero__actions .button {
      width: 100%;
    }

    .hero__highlights {
      display: grid;
      gap: 0.55rem;
    }

    .section-heading {
      display: block;
    }

    .section-heading .text-link {
      display: inline-block;
      margin-top: 1rem;
    }

    .quote-dialog {
      width: calc(100% - 0.5rem);
      max-height: calc(100dvh - 0.5rem);
    }

    .quote-dialog__surface {
      max-height: calc(100dvh - 0.5rem);
      padding: 1rem;
    }

    .quote-form__grid {
      grid-template-columns: 1fr;
    }

    .form-field--full {
      grid-column: auto;
    }

    .brand-promos,
    .brand-promos__grid,
    .brand-promo {
      max-width: 100%;
      min-width: 0;
    }

    .brand-promo {
      width: calc(100% - 0.75rem);
      margin-inline: auto;
    }

    .brand-promo__content {
      padding: 1rem;
    }

    .brand-promo--wright .brand-promo__banner,
    .brand-promo--cub-cadet .brand-promo__banner {
      padding: 0.75rem;
      min-height: 0;
      aspect-ratio: auto;
    }

    .brand-promo--wright .brand-promo__banner picture,
    .brand-promo--cub-cadet .brand-promo__banner picture {
      height: auto;
    }

    .brand-promo--wright .brand-promo__banner img,
    .brand-promo--cub-cadet .brand-promo__banner img {
      width: 100%;
      height: auto;
      max-height: none;
    }

    .brand-promo__content .button {
      width: calc(100% - 0.5rem);
      align-self: center;
    }

    .details-grid {
      grid-template-columns: 1fr;
      gap: 0;
    }

    .details-grid article {
      padding-block: 1.25rem;
    }

    .details-grid span {
      margin-bottom: 0.8rem;
    }

    .site-footer {
      padding-bottom: 2.5rem;
    }

    .site-footer__inner {
      grid-template-columns: 1fr;
    }

    .mobile-call {
      position: fixed;
      right: 0.75rem;
      bottom: 0.75rem;
      left: 0.75rem;
      z-index: 30;
      min-height: 3.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--surface);
      background: var(--orange-600);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-md);
      font-weight: 900;
      text-decoration: none;
    }
  }

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