@media (max-width: 980px) {

  .resource-library-layout {
    grid-template-columns: 1fr;
  }

  .resource-filters {
    max-width: 520px;
  }

  .resource-results {
    grid-template-columns: 1fr;
  }

  .care-cta .section-shell {
    width: min(100% - 56px, 790px);
  }

  .care-cta-panel {
    min-height: 144px;
    padding: 30px 34px;
    border-radius: 32px;
  }

  .care-cta-panel h2 {
    display: none;
  }

  .care-cta-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .care-cta-actions .nav-button {
    width: min(44%, 220px);
    min-width: 150px;
    margin-top: 0;
  }

  .product-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-hero-copy {
    width: min(720px, calc(100% - 40px));
    min-height: 0;
    margin: 0 auto;
    padding: 52px 0 34px;
    text-align: center;
    justify-items: center;
  }

  .product-hero p {
    margin-bottom: 18px;
  }

  .product-actions {
    justify-content: center;
  }

  .product-hero-art {
    min-height: 320px;
  }

  .product-hero-art img {
    width: 100%;
    min-width: 0;
    height: 360px;
    object-position: center top;
  }

  .product-dashboard-card {
    right: 50%;
    bottom: 20px;
    width: min(370px, calc(100% - 36px));
    transform: translateX(50%);
  }

  .product-compare-section {
    padding-top: 26px;
  }

  .product-compare-card {
    overflow-x: auto;
  }

  .compare-grid {
    min-width: 880px;
  }


  .care-hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .care-hero-copy {
    min-height: auto;
    width: min(720px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
  }

  .care-hero h1 {
    white-space: normal;
  }

  .care-hero-subtitle {
    margin-left: 0;
  }

  .care-hero-text {
    margin: 16px auto 0;
  }

  .care-hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 360px;
  }

  .care-hero-image {
    min-height: 360px;
  }

  .care-work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .work-copy {
    align-self: start;
  }

  .data-card {
    overflow-x: auto;
  }

  .nursing-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
  }

  .nursing-hero h1 {
    max-width: 680px;
    margin: 0 auto;
  }

  .nursing-hero-copy p {
    margin-left: 0;
  }

  .nursing-work-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nursing-copy,
  .nursing-list-card {
    max-width: 620px;
    justify-self: center;
  }

  .nursing-band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px;
    text-align: center;
  }

  .residential-text-band {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 28px;
    text-align: center;
  }

  .residential-text-band p {
    justify-self: center;
  }

  .inspectorate-hero {
    min-height: 300px;
    padding: 56px 28px 48px;
  }

  .inspectorate-flag {
    right: -70px;
    top: 0;
    width: 250px;
    opacity: 0.78;
  }

  .supported-hero h1,
  .supported-hero .nursing-hero-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .supported-work-row {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding: 34px 0;
    text-align: center;
  }

  .supported-work-copy {
    max-width: 420px;
  }

  .why-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
  }

  .why-hero-actions {
    justify-content: center;
    margin-top: 24px;
  }

  .why-action-grid,
  .why-evidence-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .why-action-copy {
    text-align: center;
  }

  .why-action-copy h2 {
    margin: 0 auto;
  }

  .why-check-list {
    width: max-content;
    max-width: 100%;
    margin: 36px auto 0;
    text-align: left;
  }

  .why-evidence-image {
    justify-items: center;
  }

  .evidence-hero,
  .evidence-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .evidence-hero {
    min-height: 0;
    gap: 32px;
  }

  .evidence-row {
    gap: 28px;
    padding: 34px 28px;
  }

  .evidence-copy {
    justify-self: center;
  }

  .faq-hero {
    padding: 64px 0 42px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-topics {
    position: static;
  }

  .faq-topics nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .pricing-estimator {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .estimate-gate {
    position: static;
    padding-top: 0;
  }

  .pricing-progress {
    display: block;
  }

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

  .clinical-count {
    margin-left: 0;
  }

  .demo-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 0 72px;
  }

  .trial-access-panel {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .trial-window {
    min-height: 112px;
  }
}

@media (max-width: 640px) {
  .resource-hub {
    padding: 42px 0 46px;
  }

  .resource-gate-panel {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .resource-gate-panel .resource-gate-fields,
  .resource-gate-panel .turnstile-wrap,
  .resource-gate-panel .nav-button,
  .resource-gate-panel .form-status {
    grid-column: auto;
  }

  .resource-results {
    grid-template-columns: 1fr;
  }

  .resource-library {
    padding: 42px 0;
  }

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

  .smart-tools-strip-inner,
  .smart-product-grid {
    grid-template-columns: 1fr;
  }

  .smart-tools-hero {
    padding: 42px 0 28px;
  }

  .smart-tools-section {
    padding-bottom: 54px;
  }

  .smart-product-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px 0;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .smart-product-card form {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .smart-success-section {
    min-height: 0;
    padding: 54px 0;
  }

  .care-hero {
    min-height: 0;
  }

  .care-hero-copy {
    gap: 12px;
    padding: 44px 0 28px;
  }

  .care-hero h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .care-hero-subtitle {
    font-size: clamp(25px, 8vw, 35px);
  }

  .care-hero-text {
    font-size: 18px;
  }

  .care-hero-visual {
    min-height: 290px;
  }

  .care-hero-image {
    min-height: 290px;
    object-position: 58% center;
  }

  .care-audience-strip {
    display: grid;
    gap: 8px;
    justify-items: center;
    font-size: 14px;
    text-align: center;
  }

  .care-audience-strip span + span::before {
    display: none;
  }

  .care-work-section {
    padding: 42px 0 46px;
  }

  .care-work-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .work-visual {
    min-height: 160px;
  }

  .data-card {
    padding: 14px;
  }

  .tab-row {
    gap: 14px;
    overflow-x: auto;
  }

  .data-card table {
    min-width: 440px;
  }

  .care-cta {
    padding-bottom: 42px;
  }

  .care-cta .section-shell {
    width: min(100% - 36px, 420px);
  }

  .care-cta-panel {
    min-height: 116px;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .care-cta-actions {
    display: flex;
    gap: 12px;
    width: 100%;
  }

  .care-cta-actions .nav-button {
    width: calc((100% - 12px) / 2);
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    margin-top: 0;
  }

  .product-hero-copy {
    width: min(100% - 28px, 620px);
    padding: 44px 0 28px;
  }

  .product-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .product-hero p {
    font-size: clamp(28px, 8vw, 38px);
  }

  .product-actions {
    width: 100%;
    gap: 12px;
  }

  .product-actions .nav-button {
    width: calc((100% - 12px) / 2);
    min-width: 0;
    padding: 0 12px;
  }

  .product-hero-art {
    min-height: 250px;
  }

  .product-hero-art img {
    width: 150%;
    max-width: none;
    height: 290px;
    margin-left: -24%;
  }

  .product-dashboard-card {
    grid-template-columns: 82px minmax(0, 1fr);
    width: min(330px, calc(100% - 24px));
    min-height: 224px;
    bottom: 12px;
  }

  .dashboard-sidebar {
    gap: 7px;
    padding: 12px 9px;
    font-size: 8px;
  }

  .dashboard-sidebar img {
    width: 52px;
  }

  .dashboard-main {
    padding: 17px 12px 12px;
  }

  .dashboard-top {
    margin-bottom: 12px;
  }

  .dashboard-top strong {
    font-size: 13px;
  }

  .metric-grid {
    gap: 7px;
  }

  .metric-card {
    min-height: 72px;
    padding: 10px 28px 9px 9px;
  }

  .metric-card span {
    font-size: 8px;
  }

  .metric-card strong {
    font-size: 17px;
  }

  .product-compare-section {
    padding: 30px 0 48px;
  }

  .product-compare-card {
    border-radius: 8px;
  }

  .compare-grid {
    min-width: 760px;
    grid-template-columns: 1.1fr 0.95fr 0.95fr 0.78fr;
  }

  .compare-cell {
    min-height: 96px;
    padding: 18px 16px;
  }

  .compare-head .compare-cell {
    min-height: 74px;
    font-size: 15px;
  }

  .compare-oversight-title img {
    width: 150px;
  }

  .feature-summary {
    display: block;
  }

  .feature-summary strong {
    font-size: 15px;
  }

  .feature-summary span:last-child,
  .compare-row .compare-cell {
    font-size: 13px;
  }

  .status-icon {
    width: 26px;
    height: 26px;
    transform: scale(0.9);
  }

  .nursing-hero {
    width: min(100% - 28px, 1120px);
    padding: 34px 0 24px;
  }

  .nursing-hero h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .nursing-hero-copy p {
    font-size: clamp(25px, 8vw, 32px);
  }

  .nursing-list-card {
    padding: 18px 14px;
  }

  .nursing-list-card li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .nursing-list-card em {
    grid-column: 2;
    justify-self: start;
  }

  .nursing-band {
    padding: 24px 14px;
  }

  .nursing-placeholder {
    min-height: 180px;
  }

  .residential-text-band {
    padding: 28px 18px;
  }

  .residential-text-band p {
    font-size: 20px;
  }

  .inspectorate-hero {
    min-height: 280px;
    padding: 50px 18px 42px;
  }

  .inspectorate-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .inspectorate-hero p {
    font-size: clamp(24px, 8vw, 32px);
  }

  .inspectorate-flag {
    right: -96px;
    width: 220px;
  }

  .inspectorate-list-card li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .card-note {
    font-size: 14px;
  }

  .supported-work-section {
    padding: 34px 0 42px;
  }

  .supported-work-title {
    margin-bottom: 12px;
    font-size: clamp(28px, 9vw, 34px);
  }

  .supported-work-row {
    gap: 16px;
  }

  .supported-data-card {
    width: 100%;
  }

  .supported-work-image img {
    max-height: 220px;
  }

  .why-hero {
    width: min(100% - 28px, 1120px);
    padding: 38px 0 30px;
  }

  .why-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .why-hero p {
    font-size: clamp(24px, 8vw, 32px);
  }

  .why-hero-actions {
    gap: 12px;
  }

  .why-hero-actions .nav-button {
    min-width: 0;
    width: calc((100% - 12px) / 2);
    padding: 0 12px;
  }

  .why-action-section {
    padding: 26px 0;
  }

  .why-action-copy h2 {
    font-size: clamp(28px, 8.4vw, 34px);
  }

  .why-check-list {
    gap: 16px;
    font-size: 18px;
  }

  .why-evidence-section {
    padding: 34px 0 42px;
  }

  .why-benefit-list {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .why-benefit {
    justify-items: center;
  }

  .evidence-hero {
    width: min(100% - 28px, 1120px);
    padding: 36px 0 26px;
  }

  .evidence-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .evidence-hero p {
    font-size: clamp(24px, 8vw, 32px);
  }

  .evidence-section {
    padding: 10px 0 36px;
  }

  .evidence-row {
    min-height: 0;
    padding: 30px 0;
  }

  .evidence-copy p {
    font-size: 18px;
  }

  .faq-hero {
    width: min(100% - 28px, 900px);
    padding: 48px 0 32px;
  }

  .faq-hero h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .faq-hero p {
    font-size: 18px;
  }

  .faq-search {
    min-height: 56px;
    gap: 12px;
    padding: 0 16px;
  }

  .faq-search input {
    font-size: 18px;
  }

  .faq-topics nav {
    grid-template-columns: 1fr;
  }

  .faq-topics a {
    min-height: 52px;
    font-size: 16px;
  }

  .faq-question {
    min-height: 58px;
    padding: 0 16px;
    font-size: 18px;
  }

  .faq-answer {
    padding: 0 16px 18px;
  }

  .faq-answer p,
  .faq-help {
    font-size: 16px;
  }

  .pricing-hero {
    min-height: 140px;
    padding: 40px 20px 24px;
  }

  .pricing-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .pricing-estimator {
    width: min(100% - 28px, 1120px);
    padding: 24px 0 40px;
  }

  .pricing-step legend {
    margin-bottom: 20px;
    font-size: clamp(26px, 8vw, 32px);
  }

  .pricing-info ul {
    grid-template-columns: 1fr;
  }

  .provider-options {
    gap: 12px;
  }

  .provider-option span {
    min-height: 128px;
    padding: 22px 10px 18px;
    font-size: 15px;
  }

  .provider-option img {
    width: 48px;
    height: 48px;
  }

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

  .service-options label:nth-child(odd) span {
    border-left: 0;
  }

  .service-options label:nth-child(n + 3) span {
    border-top: 1px solid var(--line);
  }

  .module-option {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 16px;
  }

  .module-icon {
    width: 48px;
    height: 48px;
  }

  .migration-intro {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .module-switch {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .option-list.two-column {
    grid-template-columns: 1fr;
  }

  .estimate-actions .nav-button {
    min-height: 58px;
  }

  .pricing-questions {
    width: min(100% - 28px, 1120px);
    padding-bottom: 36px;
  }

  .demo-hero {
    width: min(100% - 28px, 1120px);
    padding: 46px 0 58px;
  }

  .demo-copy h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .demo-subtitle {
    font-size: clamp(24px, 8vw, 32px);
  }

  .demo-copy > p:not(.demo-subtitle),
  .demo-points {
    font-size: 17px;
  }

  .demo-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trial-form {
    padding: 20px 16px;
  }

  .trial-access-panel {
    gap: 18px;
    padding: 18px;
  }

  .trial-window strong {
    font-size: 30px;
  }

  .turnstile-wrap {
    width: 100%;
  }

  .demo-submit {
    width: 100%;
  }
}

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

@media (max-width: 980px) {
  .visual-hero-grid,
  .provider-screen,
  .action-redesign-grid,
  .tools-redesign-grid,
  .audit-redesign-row,
  .audit-redesign-band,
  .audit-final-band,
  .evidence-soft-card,
  .evidence-mid-row {
    grid-template-columns: 1fr;
  }

  .visual-hero,
  .audit-redesign-hero {
    padding-top: 54px;
  }

  .visual-hero-actions,
  .visual-check-list {
    margin-top: 34px;
  }

  .provider-screen {
    min-height: auto;
  }

  .provider-sidebar {
    display: none;
  }

  .dashboard-card-grid,
  .flow-card-row,
  .tool-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-redesign-row,
  .audit-redesign-band,
  .audit-final-band,
  .evidence-soft-card,
  .evidence-mid-row {
    padding-inline: 24px;
  }
}

@media (max-width: 640px) {
  .visual-hero h1,
  .audit-redesign-hero h1 {
    font-size: 38px;
  }

  .visual-hero p,
  .audit-redesign-hero p {
    font-size: 25px;
  }

  .dashboard-card-grid,
  .flow-card-row,
  .tool-benefits {
    grid-template-columns: 1fr;
  }

  .flow-file {
    position: static;
    margin-top: 16px;
    transform: none;
  }

  .status-item {
    grid-template-columns: 34px 1fr;
  }

  .status-label {
    grid-column: 2;
    justify-self: start;
  }

  .access-visual,
  .desk-scene {
    min-width: 520px;
    transform: scale(0.78);
    transform-origin: left center;
  }

  .evidence-soft-card,
  .audit-redesign-band {
    overflow: hidden;
  }
}
