@media (max-width: 980px) {
  .hero {
    gap: 45px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .toolkit-preview {
    max-width: 680px;
  }

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

  .tool-grid article:nth-child(3),
  .tool-grid article:nth-child(5) {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .tool-grid article:nth-child(4),
  .tool-grid article:nth-child(5) {
    border-top: 1px solid var(--line);
  }

  .connection {
    gap: 45px;
    grid-template-columns: 1fr;
  }

  .install-card {
    max-width: 560px;
  }

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

  .plan-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .shell {
    padding-inline: 20px;
  }

  .site-nav {
    height: 64px;
    padding-inline: 20px;
  }

  .site-nav nav {
    gap: 15px;
  }

  .site-nav nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-block: 64px 72px;
  }

  .hero h1 {
    font-size: clamp(43px, 12.5vw, 62px);
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .tool-grid article {
    border-top: 1px solid var(--line);
    min-height: 0;
    padding: 27px 0;
  }

  .tool-grid article:first-child {
    border-top: 0;
  }

  .tool-grid article + article,
  .tool-grid article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .tool-grid strong {
    margin-top: 28px;
  }

  .connection,
  .pricing,
  .features {
    padding-block: 78px;
  }

  .section-heading-row {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }

  .feature-card {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .vote-box {
    align-items: start;
    justify-items: start;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
    padding-block: 34px;
  }

  .site-footer > p {
    text-align: left;
  }

  .assessment-hero {
    padding-block: 64px 48px;
  }

  .assessment-hero h1 {
    font-size: clamp(43px, 12vw, 64px);
  }

  .test-connection {
    align-items: flex-start;
    border-radius: 18px;
    flex-direction: column;
    width: 100%;
  }

  .saved-results,
  .test-picker {
    padding-block: 58px;
  }

  .question-stage {
    margin-top: 58px;
  }

  .question-card {
    padding: 27px 20px;
  }

  .question-card > p {
    min-height: 120px;
  }

  .answer-scale {
    gap: 7px;
  }

  .answer-option {
    height: 70px;
  }

  .answer-option span {
    font-size: 9px;
  }
}

@media (max-width: 430px) {
  .brand > span {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    width: 100%;
  }

  .preview-tool-grid {
    grid-template-columns: 1fr;
  }

  .preview-tool {
    min-height: 0;
  }

  .preview-tool:nth-child(even) {
    border-left: 0;
  }

  .preview-tool + .preview-tool {
    border-top: 1px solid var(--line);
  }

  .preview-tool strong {
    margin-top: 24px;
  }

  .status-actions {
    align-items: stretch;
    display: grid;
  }

  .assessment-result-grid,
  .test-card-grid {
    grid-template-columns: 1fr;
  }

  .answer-scale {
    grid-template-columns: 1fr;
  }

  .answer-option {
    align-items: center;
    display: flex;
    height: 48px;
    justify-content: flex-start;
    padding-inline: 15px;
  }

  .answer-option span {
    font-size: 11px;
  }

  .question-actions,
  .profile-search > div {
    align-items: stretch;
    flex-direction: column;
  }

  .question-actions > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
