@media (min-width: 64.0625rem) {
  .hero {
    grid-template-columns: minmax(28rem, 1.25fr) minmax(20rem, 0.75fr);
  }

  .hero__copy {
    min-width: 0;
    max-width: 100%;
    padding-right: var(--space-3);
  }

  .hero-title {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
  }

  .hero__panel,
  .hero__panel .status-panel {
    justify-self: end;
    margin-inline: 0 0;
    max-width: 28rem;
  }
}

@media (max-width: 85rem) {
  :root {
    --container-max: 70rem;
  }
}

@media (max-width: 64rem) {
  :root {
    --container-max: 60rem;
    --container-padding-x: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: clamp(2rem, 8vw, 4rem);
  }

  .hero::before {
    width: 30rem;
    height: 30rem;
    top: -10%;
    right: -20%;
  }

  .hero::after {
    width: 25rem;
    height: 25rem;
    bottom: -20%;
    left: -10%;
  }

  .hero__copy,
  .hero__panel {
    justify-self: center;
    align-self: start;
    text-align: left;
    width: 100%;
    max-width: 100%;
    padding: 0;
    min-width: 0;
  }

  .hero__panel .status-panel {
    max-width: min(32rem, 100%);
    width: 100%;
    margin-inline: auto;
    justify-self: center;
  }

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

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

@media (max-width: 56.25rem) {
  .status-panel {
    padding: clamp(1.0625rem, 3vw, 1.625rem);
  }

  .status-panel__title {
    padding-bottom: var(--space-3);
  }

  .status-list {
    gap: var(--space-4);
    margin: var(--space-4) 0;
  }
}

@media (max-width: 50rem) {
  .status-panel {
    padding: clamp(1rem, 3vw, 1.5rem);
  }
}

@media (max-width: 48rem) {
  :root {
    --container-padding-x: 1rem;
    --space-7: 2.5rem;
    --space-8: 3.5rem;
    --space-9: 4.5rem;
  }

  .section {
    padding-block: clamp(3rem, 10vw, 5rem);
  }

  .section-heading {
    margin-bottom: clamp(1.75rem, 6vw, 2.75rem);
  }

  .section-title {
    font-size: clamp(1.3rem, 4.6vw, 2rem);
    line-height: clamp(1.15, 4.6vw, 1.35);
    gap: var(--space-2);
    letter-spacing: 0.035em;
  }

  .section-title::before {
    font-size: 0.82em;
  }

  .hero {
    padding-block: clamp(3rem, 12vw, 6rem);
    gap: clamp(1.75rem, 7vw, 3.5rem);
  }

  .hero-title {
    font-size: clamp(2.25rem, 12vw, 4rem);
    letter-spacing: 0.03em;
  }

  .lede {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    margin-top: var(--space-4);
  }

  .button-group {
    margin-top: var(--space-6);
    gap: var(--space-3);
  }

  .button {
    min-height: 2.75rem;
    font-size: 0.85rem;
  }

  .status-panel {
    padding: clamp(1rem, 3.5vw, 1.5rem);
  }

  .status-row {
    font-size: 0.8rem;
    gap: var(--space-3);
  }

  .band {
    background:
      linear-gradient(rgb(21 31 43 / 0%), rgb(21 31 43 / 60%) 20%, rgb(21 31 43 / 60%) 80%, rgb(21 31 43 / 0%)),
      linear-gradient(90deg, transparent, rgb(0 232 135 / 3%) 50%, transparent);
  }

  .card-grid {
    gap: var(--space-4);
  }

  .card__header {
    padding: 0.65rem 0.85rem;
  }

  .card__body {
    padding: clamp(1rem, 4vw, 1.5rem);
  }

  .tag-list {
    margin-top: var(--space-5);
    gap: var(--space-1) var(--space-2);
  }

  .tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
  }

  .pricing-card--featured {
    order: -1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 32rem;
    margin-inline: auto;
  }

  .feature-list {
    gap: var(--space-3);
    margin-bottom: var(--space-6);
  }

  .contact-panel {
    padding: clamp(1rem, 4vw, 2rem);
    gap: clamp(1.5rem, 5vw, 3rem);
  }

  .contact-link {
    margin-top: var(--space-3);
    font-size: clamp(0.95rem, 4vw, 1.25rem);
  }

  .form {
    gap: var(--space-4);
  }

  .field label {
    font-size: 0.8rem;
  }

  .input {
    min-height: 2.6rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
  }

  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  .loader-progress {
    width: min(16rem, 70vw);
  }
}

@media (max-width: 36rem) {
  :root {
    --container-padding-x: 0.875rem;
    --space-6: 1.75rem;
    --space-7: 2rem;
  }

  .container {
    width: min(100% - (var(--container-padding-x) * 2), var(--container-max));
  }

  .section {
    padding-block: 3rem;
  }

  .section-title {
    font-size: clamp(1.18rem, 6.8vw, 1.75rem);
    line-height: clamp(1.2, 6.8vw, 1.4);
    letter-spacing: 0.03em;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
  }

  .section-title::before {
    font-size: 0.8em;
  }

  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .hero {
    padding-block: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-title {
    font-size: clamp(2rem, 13vw, 3.25rem);
    line-height: 0.95;
  }

  .lede {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .button-group {
    flex-direction: column;
    gap: var(--space-3);
  }

  .button-group,
  .button {
    width: 100%;
  }

  .button {
    min-height: 3rem;
    padding: 0.85rem 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 28rem;
    margin-inline: auto;
  }

  .status-list {
    gap: var(--space-4);
    margin: var(--space-4) 0;
  }

  .status-row {
    font-size: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }

  .status-row span {
    color: var(--color-text-subtle);
  }

  .status-row strong {
    font-size: 1rem;
    align-self: flex-end;
    margin-top: -1.5rem;
  }

  .price {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin: var(--space-4) 0;
  }

  .feature-list {
    font-size: 0.85rem;
    gap: var(--space-3);
  }

  .form-status {
    font-size: 0.8rem;
  }
}

@media (max-width: 24rem) {
  :root {
    --container-padding-x: 0.75rem;
  }

  .section-title {
    font-size: clamp(1.1rem, 9vw, 1.5rem);
    line-height: 1.4;
    letter-spacing: 0.025em;
    gap: var(--space-1);
  }

  .hero-title {
    font-size: clamp(1.75rem, 14vw, 2.5rem);
  }

  .button {
    min-width: 0;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .card__code {
    font-size: 0.7rem;
  }

  .tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }
}

@media (min-width: 120rem) {
  :root {
    --container-max: 85rem;
  }

  .hero {
    min-height: min(54rem, 80vh);
  }

  .section {
    padding-block: clamp(5rem, 8vw, 9rem);
  }

  .section-title {
    font-size: clamp(1.6rem, 2.2vw, 3rem);
    line-height: 1.2;
  }
}

@media (hover: none) and (pointer: coarse) {
  .button:hover,
  .button:active {
    transform: none;
  }

  .button:hover::after {
    transform: translateX(-100%);
  }

  .card:hover,
  .card:active {
    transform: none;
  }

  .card:hover::after {
    opacity: 0;
  }

  .card:hover h3::after {
    width: 0;
  }

  .card:hover .feature-list li:hover {
    transform: none;
    color: inherit;
  }

  .card:hover .feature-list li:hover::before {
    transform: none;
  }

  .tag:hover {
    transform: none;
    border-color: var(--color-border);
    color: var(--color-info);
    background: transparent;
  }

  .contact-panel:hover::before {
    transform: translateX(-100%);
  }

  .contact-link:hover {
    text-shadow: none;
  }

  .contact-link:hover::after {
    width: 0;
  }

  * {
    -webkit-tap-highlight-color: transparent;
  }
}

@media (orientation: landscape) and (max-height: 40rem) {
  .hero {
    min-height: 100vh;
    padding-block: clamp(2rem, 8vh, 4rem);
    align-content: center;
  }

  .hero-title {
    font-size: clamp(2rem, 9vh, 3.5rem);
  }

  .button-group {
    margin-top: var(--space-5);
  }

  .status-panel {
    padding: clamp(0.875rem, 3vh, 1.5rem);
  }

  .section {
    padding-block: clamp(2.5rem, 10vh, 5rem);
  }
}
