html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    min-width: 320px;
}

body.menu-open {
    overflow: hidden;
}

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

a,
button {
    -webkit-tap-highlight-color: transparent;
}

main {
    width: 100%;
}

.site-header {
    position: relative;
    z-index: 2000;
}

:where(.site-nav) {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 86px;
    padding: 1rem 5%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.site-nav .site-logo {
    flex-shrink: 0;
}

.site-nav .site-logo img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
}

:where(.site-nav .site-nav-links) {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.site-nav .site-nav-links li {
    list-style: none;
}

:where(.site-nav .site-nav-links a) {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

:where(.site-nav .site-nav-links a::after) {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--nav-accent-start, #3b82f6), var(--nav-accent-end, #10b981));
    transition: width 0.3s ease;
}

:where(.site-nav .site-nav-links a:hover) {
    color: var(--nav-accent-start, #3b82f6);
}

:where(.site-nav .site-nav-links a:hover::after) {
    width: 100%;
}

.site-nav .site-nav-links a[aria-current="page"] {
    color: #ffffff;
}

.site-nav .site-nav-links a[aria-current="page"]::after {
    width: 100%;
}

.site-nav .site-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.88);
    color: #ffffff;
    cursor: pointer;
}

.site-nav .site-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav.is-open .site-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav.is-open .site-nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-nav.is-open .site-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav .mobile-only {
    display: none;
}

:where(.site-nav .site-cta-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 138px;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--nav-accent-start, #3b82f6), var(--nav-accent-end, #10b981));
    color: #ffffff;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: none;
    box-sizing: border-box;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

:where(.site-nav .site-cta-button:hover) {
    transform: translateY(-2px);
}

.site-nav .header-cta {
    white-space: nowrap;
}

.site-footer {
    background: #0a0a0a;
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.site-footer .footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #ffffff;
}

.site-footer .footer-section a {
    display: block;
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.site-footer .footer-section a:hover {
    color: #ffffff;
}

.site-footer .footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
p,
li {
    overflow-wrap: anywhere;
}

.mermaid,
.mermaid-diagram,
.mermaid-diagram pre {
    max-width: 100%;
}

.mermaid,
.mermaid-diagram {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mermaid svg {
    height: auto !important;
    max-width: 100% !important;
}

.mermaid.mermaid-inline-pan {
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y pinch-zoom;
    cursor: grab;
}

.mermaid.mermaid-inline-pan svg {
    max-width: none !important;
}

.mermaid-pan-hint {
    display: none;
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: center;
}

.mermaid *,
.mermaid svg foreignObject div,
.mermaid svg foreignObject span {
    max-width: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

.mermaid-zoom-shell {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.85rem;
}

.mermaid-zoom-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.mermaid-zoom-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mermaid-viewer {
    position: fixed;
    inset: 0;
    display: none;
    padding: 1rem;
    background: rgba(5, 10, 20, 0.82);
    backdrop-filter: blur(10px);
    z-index: 12000;
}

.mermaid-viewer.is-open {
    display: flex;
}

.mermaid-viewer-dialog {
    display: flex;
    flex-direction: column;
    width: min(100%, 1100px);
    height: min(100%, 860px);
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: #07111d;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mermaid-viewer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.mermaid-viewer-title {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 700;
}

.mermaid-viewer-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.mermaid-viewer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.mermaid-viewer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mermaid-viewer-stage {
    flex: 1;
    overflow: auto;
    padding: 1rem;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 38%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.1), transparent 34%),
        #07111d;
}

.mermaid-viewer-canvas {
    min-width: max-content;
    min-height: 100%;
    transform-origin: top left;
}

.mermaid-viewer-canvas svg {
    display: block;
    height: auto !important;
    max-width: none !important;
}

body.mermaid-viewer-open {
    overflow: hidden;
}

@keyframes homeMobileGlowA {
    0% {
        transform: translate3d(-8%, -4%, 0) scale(1);
    }
    50% {
        transform: translate3d(10%, 8%, 0) scale(1.08);
    }
    100% {
        transform: translate3d(-8%, -4%, 0) scale(1);
    }
}

@keyframes homeMobileGlowB {
    0% {
        transform: translate3d(8%, 0, 0) scale(1.02);
    }
    50% {
        transform: translate3d(-10%, 10%, 0) scale(1.12);
    }
    100% {
        transform: translate3d(8%, 0, 0) scale(1.02);
    }
}

@media (min-width: 1025px) {
    .page-home .mermaid-diagram,
    .page-field-voice .mermaid,
    .page-patient-voice .mermaid,
    .page-trustloop-ai .mermaid {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 520px;
    }

    .page-home .mermaid-diagram .mermaid,
    .page-field-voice .mermaid,
    .page-patient-voice .mermaid,
    .page-trustloop-ai .mermaid {
        width: 100%;
    }

    .page-home .mermaid svg,
    .page-field-voice .mermaid svg,
    .page-patient-voice .mermaid svg,
    .page-trustloop-ai .mermaid svg {
        display: block;
        width: 100% !important;
        max-width: 1280px !important;
        height: auto !important;
        margin: 0 auto;
    }

    .page-home .diagram-legend {
        max-width: 1200px;
        margin: 2rem auto 0;
    }
}

@media (max-width: 1180px) {
    h1 {
        font-size: clamp(2.5rem, 5vw, 4rem) !important;
    }

    .section-title,
    .final-cta h2,
    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 3rem) !important;
    }

    .hero-description,
    .section-subtitle,
    .problem-text,
    .feature-description,
    .step-description {
        font-size: clamp(1rem, 1.7vw, 1.15rem) !important;
    }

    .problem-grid,
    .roi-grid,
    .pricing-grid,
    .comparison-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .features-grid,
    .step,
    .story-metrics,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hero-cta,
    .cta-buttons {
        gap: 0.75rem !important;
    }

    .pricing-card.featured {
        transform: none !important;
    }

    .hero,
    .hero-form-section,
    .final-cta {
        min-height: auto !important;
    }

    .hero,
    .hero-form-section {
        padding-top: 8rem !important;
    }

    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1024px) {
    .site-nav .site-nav-toggle {
        display: inline-flex;
        margin-left: auto;
        order: 2;
    }

    .site-nav .header-cta {
        display: none;
    }

    .site-nav .site-nav-links {
        display: none !important;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 5%;
        right: 5%;
        flex-direction: column;
        gap: 0;
        padding: 1rem 1.25rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.96);
        box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(18px);
        z-index: 2100;
    }

    .site-nav.is-open .site-nav-links {
        display: flex !important;
    }

    .site-nav .site-nav-links a {
        display: block;
        width: 100%;
        padding: 0.9rem 0;
    }

    .site-nav .mobile-only {
        display: block;
    }

    .site-nav .nav-cta-item {
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-nav .nav-cta-item .site-cta-button {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

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

    .hero-content,
    .form-container-wrapper,
    .step-content,
    .feature-card,
    .pricing-card,
    .problem-card,
    .roi-card,
    .story-card {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .contact-card,
    .form-card {
        max-width: 100% !important;
    }

    .trust-stats,
    .stats-grid,
    .footer-content,
    .roi-breakdown {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .step {
        gap: 2rem !important;
    }

    .step-visual,
    .reel-container,
    #reel-container {
        min-height: 240px !important;
    }

    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    body {
        min-width: 0;
    }

    .site-nav {
        padding: 0.85rem 4% !important;
    }

    .site-nav .site-logo img {
        height: 34px;
    }

    .hero,
    .hero-form-section,
    .problem-section,
    .features-section,
    .how-it-works,
    .roi-section,
    .pricing-section,
    .final-cta {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }

    .hero,
    .hero-form-section {
        padding-top: 7rem !important;
    }

    h1 {
        font-size: clamp(2rem, 9vw, 2.75rem) !important;
        line-height: 1.15 !important;
    }

    .section-title,
    .final-cta h2,
    .hero-content h1 {
        font-size: clamp(1.75rem, 7vw, 2.3rem) !important;
        line-height: 1.2 !important;
    }

    .section-subtitle,
    .hero-description,
    .problem-text,
    .feature-description,
    .step-description,
    .hero-content p {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
    }

    .problem-grid,
    .features-grid,
    .roi-grid,
    .pricing-grid,
    .comparison-grid,
    .trust-grid,
    .story-metrics,
    .trust-stats,
    .stats-grid,
    .footer-content,
    .roi-breakdown {
        grid-template-columns: 1fr !important;
    }

    .hero-cta,
    .cta-buttons,
    .button-group {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .hero-cta a,
    .cta-buttons a,
    .btn-primary,
    .btn-secondary,
    .pricing-cta,
    .cta-primary,
    .cta-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .question-title,
    .step-title,
    .feature-title {
        font-size: 1.5rem !important;
    }

    .step-number,
    .roi-number,
    .pricing-price,
    .stat-number {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }

    .hero-content,
    .form-container-wrapper,
    .step-content,
    .feature-card,
    .pricing-card,
    .problem-card,
    .roi-card,
    .story-card,
    .comparison-card {
        padding: 1.25rem !important;
    }

    .form-card {
        border-radius: 20px !important;
    }

    .hero-form-section::before,
    .hero::before {
        opacity: 0.65 !important;
    }

    .step-visual,
    .reel-container,
    #reel-container,
    .hero-visual {
        min-height: 200px !important;
    }

    pre,
    .mermaid {
        font-size: 0.82rem !important;
    }

    .mermaid.mermaid-inline-pan {
        max-height: 58vh;
        padding: 0.4rem 0.25rem 0.5rem;
        scroll-padding-left: 0.75rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mermaid-pan-hint {
        display: block;
        margin-top: 0.45rem;
        font-size: 0.74rem;
    }

    .mermaid-zoom-shell {
        margin-top: 0.7rem;
    }

    .mermaid-zoom-trigger {
        width: 100%;
        justify-content: center;
    }

    .mermaid-viewer {
        padding: 0.65rem;
    }

    .mermaid-viewer-dialog {
        width: 100%;
        height: 100%;
        border-radius: 18px;
    }

    .mermaid-viewer-toolbar {
        flex-wrap: wrap;
        padding: 0.8rem;
    }

    .mermaid-viewer-title {
        width: 100%;
    }

    .mermaid-viewer-controls {
        width: 100%;
        justify-content: space-between;
    }

    .mermaid-viewer-btn {
        flex: 1 1 0;
    }

    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="padding: 3rem"],
    div[style*="padding: 2rem 1.5rem"] {
        padding: 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .site-nav .site-nav-links {
        left: 4% !important;
        right: 4% !important;
        padding: 0.85rem 1rem !important;
    }

    .hero,
    .hero-form-section,
    .problem-section,
    .features-section,
    .how-it-works,
    .roi-section,
    .pricing-section,
    .final-cta,
    .contact-methods,
    .faq-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .hero {
        padding-bottom: 3.25rem !important;
    }

    .page-home .hero-slides {
        min-height: auto !important;
    }

    .page-home .hero-slide .cta-button {
        width: 100% !important;
        max-width: 260px !important;
        padding: 0.9rem 1rem !important;
    }

    .eyebrow,
    .product-badge,
    .pricing-badge {
        font-size: 0.75rem !important;
        padding: 0.45rem 0.9rem !important;
    }

    .feature-card,
    .pricing-card,
    .problem-card,
    .roi-card,
    .story-card,
    .comparison-card,
    .integration-card {
        border-radius: 16px !important;
    }

    .question-number,
    .trust-title,
    .roi-note {
        font-size: 0.8rem !important;
    }

    .progress-dot {
        width: 24px !important;
    }

    .site-footer .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

@media (max-width: 1180px) {
    .page-home .slide-controls {
        position: static !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        justify-content: center;
        margin: 1.5rem auto 0;
        width: 100%;
    }

    .page-home .hero-slides {
        min-height: 420px !important;
        padding-bottom: 0 !important;
    }

    .page-home .integration-options {
        grid-template-columns: 1fr !important;
    }

    .page-home .slide-stat {
        min-width: 160px;
    }

    .page-about #progress-indicators {
        flex-wrap: wrap;
        row-gap: 0.65rem;
    }

    .page-about #reel-container {
        min-height: 260px !important;
    }

    .page-about .reel-frame {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .page-why-medismo .chapter {
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .page-about div[style*="max-width: 950px"][style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .page-contact .checkbox-grid,
    .page-contact .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .page-contact .email-notice {
        align-items: flex-start;
    }

    .page-contact .button-group button,
    .page-contact .button-group .btn {
        min-width: 0;
    }

    .page-field-voice .hero,
    .page-patient-voice .hero,
    .page-trustloop-ai .hero {
        min-height: auto !important;
        padding-top: 8rem !important;
    }

    .page-field-voice .step:nth-child(even),
    .page-patient-voice .step:nth-child(even),
    .page-trustloop-ai .step:nth-child(even) {
        direction: ltr !important;
    }

    .page-field-voice .step,
    .page-patient-voice .step,
    .page-trustloop-ai .step {
        grid-template-columns: 1fr !important;
    }

    .page-field-voice .step-content,
    .page-field-voice .step-visual,
    .page-patient-voice .step-content,
    .page-patient-voice .step-visual,
    .page-trustloop-ai .step-content,
    .page-trustloop-ai .step-visual {
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-why-medismo .persona-selector,
    .page-why-medismo .stat-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .page-home #canvas-container {
        display: none !important;
    }

    .page-home .hero {
        position: relative;
        isolation: isolate;
        min-height: auto !important;
        padding-top: 7.5rem !important;
        padding-bottom: 3.5rem !important;
        overflow: visible !important;
    }

    .page-home .hero::before,
    .page-home .hero::after {
        content: '';
        position: absolute;
        inset: auto;
        width: 70vw;
        height: 70vw;
        max-width: 340px;
        max-height: 340px;
        border-radius: 999px;
        pointer-events: none;
        filter: blur(26px);
        opacity: 0.34;
        z-index: 0;
    }

    .page-home .hero::before {
        top: 5.8rem;
        left: -18vw;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.42) 0%, rgba(59, 130, 246, 0) 72%);
        animation: homeMobileGlowA 9s ease-in-out infinite;
    }

    .page-home .hero::after {
        right: -20vw;
        bottom: 1.2rem;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0) 74%);
        animation: homeMobileGlowB 11s ease-in-out infinite;
    }

    .page-home .hero-content {
        position: relative;
        z-index: 1;
        width: 100%;
        justify-content: flex-start !important;
    }

    .page-home .hero-slides {
        min-height: clamp(500px, 82vh, 680px) !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-bottom: 1rem !important;
        overflow: visible !important;
    }

    .page-home .hero-slide {
        position: relative !important;
        display: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        pointer-events: auto !important;
        padding-top: 1rem;
    }

    .page-home .hero-slide.active {
        display: flex !important;
    }

    .page-home .slide-title span,
    .page-home .hero-slide.active .slide-title > span {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .page-home .slide-description {
        max-width: 100% !important;
    }

    .page-home .slide-controls {
        display: none !important;
    }

    .page-home .slide-arrow {
        width: 40px !important;
        height: 40px !important;
    }

    .page-home .slide-dot {
        width: 10px !important;
        height: 10px !important;
    }

    .page-home .slide-stat {
        min-width: 0;
        width: 100%;
        max-width: 320px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-home .hero-slide .cta-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: min(100%, 280px) !important;
        max-width: 100% !important;
        margin: 1.25rem auto 0 !important;
        padding: 0.95rem 1.15rem !important;
        font-size: 1rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-align: center !important;
        box-sizing: border-box;
    }

    .page-about section.hero {
        min-height: auto !important;
        padding-top: 7rem !important;
        padding-bottom: 3rem !important;
    }

    .page-about #reel-container {
        min-height: 200px !important;
    }

    .page-about #progress-indicators .progress-dot {
        width: 28px !important;
        flex: 0 0 28px;
    }

    .page-about #replay-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .page-about div[style*="max-width: 950px"][style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .page-contact .hero-form-section {
        min-height: auto !important;
    }

    .page-contact .trust-stats {
        grid-template-columns: 1fr !important;
    }

    .page-contact .form-card {
        padding: 1.25rem !important;
    }

    .page-contact .email-notice {
        flex-direction: column;
        gap: 0.85rem;
    }

    .page-contact textarea,
    .page-contact input,
    .page-contact select {
        font-size: 16px !important;
    }

    .page-field-voice .hero-cta,
    .page-patient-voice .hero-cta,
    .page-trustloop-ai .hero-cta {
        align-items: stretch !important;
    }

    .page-field-voice .hero-cta a,
    .page-patient-voice .hero-cta a,
    .page-trustloop-ai .hero-cta a {
        width: 100%;
    }

    .page-field-voice .problem-grid,
    .page-field-voice .features-grid,
    .page-field-voice .roi-grid,
    .page-field-voice .pricing-grid,
    .page-patient-voice .problem-grid,
    .page-patient-voice .features-grid,
    .page-patient-voice .roi-grid,
    .page-patient-voice .pricing-grid,
    .page-trustloop-ai .problem-grid,
    .page-trustloop-ai .features-grid,
    .page-trustloop-ai .roi-grid,
    .page-trustloop-ai .pricing-grid {
        grid-template-columns: 1fr !important;
    }

    .page-field-voice .step,
    .page-patient-voice .step,
    .page-trustloop-ai .step {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .page-field-voice .step-content,
    .page-field-voice .step-visual,
    .page-patient-voice .step-content,
    .page-patient-voice .step-visual,
    .page-trustloop-ai .step-content,
    .page-trustloop-ai .step-visual {
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-field-voice .step-title,
    .page-field-voice .step-description,
    .page-patient-voice .step-title,
    .page-patient-voice .step-description,
    .page-trustloop-ai .step-title,
    .page-trustloop-ai .step-description {
        max-width: none !important;
    }

    .page-why-medismo .persona-breadcrumb {
        left: 1rem;
        right: 1rem;
        top: 74px;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 24px;
        padding: 0.75rem 1rem;
    }

    .page-why-medismo .chapter {
        padding: 4.5rem 4% !important;
    }

    .page-why-medismo .persona-card,
    .page-why-medismo .roi-calculator,
    .page-why-medismo .card-tilt,
    .page-why-medismo .testimonial-card,
    .page-why-medismo .stat-card {
        padding: 1.5rem !important;
    }

    .page-why-medismo .counter {
        font-size: clamp(2.4rem, 10vw, 3.4rem) !important;
    }

    .page-why-medismo .cta-advanced {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.25rem;
    }
}



















