@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
    line-height: 1.72;
  }

  img,
  svg,
  canvas,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  .topbar {
    position: sticky;
  }

  .nav,
  .wrap,
  .hero-inner {
    width: 100%;
    max-width: 100%;
  }

  .nav {
    padding: 10px 14px;
    gap: 10px;
  }

  .brand {
    max-width: 100%;
    min-width: 0;
  }

  .brand span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .links {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .links a {
    flex: 0 0 auto;
    padding: 7px 9px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero .wrap,
  .hero-inner {
    padding: 58px 16px 34px;
  }

  h1,
  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.15;
  }

  .hero p {
    max-width: 100%;
    margin: 16px 0 22px;
    font-size: 16px;
  }

  main section {
    padding: 42px 16px;
  }

  .section-head {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.2;
  }

  .grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .two,
  .three,
  .four,
  .questionnaire,
  .agent-layout,
  .assistant-layout,
  .pricing-grid,
  .result-summary,
  .solution-grid,
  .report-grid,
  .analysis-grid,
  .summary-grid,
  .pay-channel-grid,
  .field-grid,
  .choice-grid {
    grid-template-columns: 1fr !important;
  }

  .card,
  .agent-panel,
  .panel,
  .result,
  .progress-panel,
  .report,
  .solution-panel,
  .lead-box,
  .pay-dialog {
    width: 100%;
    max-width: 100%;
  }

  .card,
  .agent-panel,
  .panel,
  .result,
  .progress-panel {
    padding: 16px;
  }

  .progress-panel,
  .sticky {
    position: static !important;
  }

  fieldset {
    border-radius: 8px;
  }

  legend {
    padding: 14px 14px;
    line-height: 1.45;
  }

  .question,
  .observation-row,
  .score-range {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 14px;
  }

  .options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .option span {
    min-height: 44px;
    padding: 8px 6px;
    font-size: 13px;
    line-height: 1.35;
  }

  .actions,
  .copy-field {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  button.button,
  .copy-field button,
  .copy-field input {
    width: 100%;
  }

  .pill-row {
    gap: 6px;
  }

  .pill,
  .severity-badge {
    border-radius: 8px;
    white-space: normal;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 680px;
  }

  .pay-backdrop {
    align-items: flex-end;
    padding: 10px;
  }

  .pay-dialog {
    max-height: 92vh;
  }

  .pay-head,
  .pay-body {
    padding: 16px;
  }

  .pay-head h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  a,
  p,
  li {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .options {
    grid-template-columns: 1fr !important;
  }

  h1,
  .hero h1 {
    font-size: 28px;
  }
}
