.navbar {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.hero {
    padding: 88px 0 76px;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
    gap: 64px;
    align-items: center;
}

.hero-copy {
    max-width: 590px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent);
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;
    margin-top: 18px;
    font-size: clamp(3.2rem, 6vw, 5.7rem);
    letter-spacing: -.055em;
}

.hero-lead {
    max-width: 590px;
    margin-top: 26px;
    color: #4b5563;
    font-size: 1.18rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.trial-note {
    margin-top: 17px;
    font-size: .9rem;
}

.product-window {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe4eb;
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(17, 24, 39, .13);
}

.hero-product-window {
    min-width: 0;
    transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
    transform-origin: center;
}

.product-window-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 17px;
    background: #111827;
    color: white;
    font-size: .72rem;
}

.product-brand {
    font-weight: 760;
}

.product-user {
    color: #d1d5db;
}

.product-shell {
    display: grid;
    grid-template-columns: 48px 1fr;
    min-height: 430px;
    background: #f7f8fa;
}

.product-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 25px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
}

.sidebar-mark {
    width: 19px;
    height: 19px;
    border-radius: 6px;
    background: #e5e7eb;
}

.sidebar-mark.active {
    background: #2563eb;
}

.dashboard-preview {
    min-width: 0;
    padding: 26px;
}

.preview-heading-row,
.panel-title-row,
.mini-card-heading,
.campaign-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.preview-heading-row strong {
    display: block;
    font-size: 1.1rem;
}

.preview-kicker {
    display: block;
    margin-bottom: 3px;
    color: #6b7280;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.preview-action,
.mini-count {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 8px;
    background: #eef4ff;
    color: #1d4ed8;
    font-size: .7rem;
    font-weight: 700;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.metric-card,
.preview-panel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.metric-card {
    padding: 15px;
}

.metric-card span,
.metric-card small,
.attention-row small,
.appointment-row small,
.calendar-item small {
    display: block;
    color: #6b7280;
    font-size: .68rem;
}

.metric-card strong {
    display: block;
    margin: 3px 0;
    font-size: 1.4rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.preview-panel {
    min-width: 0;
    padding: 15px;
}

.panel-title-row {
    margin-bottom: 8px;
    font-size: .72rem;
}

.panel-title-row span {
    color: #2563eb;
}

.attention-row,
.appointment-row,
.calendar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-top: 1px solid #eef0f3;
    font-size: .72rem;
}

.status-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.status-amber { background: #d97706; }
.status-blue { background: #2563eb; }
.status-green { background: #16a34a; }

.date-tile {
    flex: 0 0 auto;
    width: 38px;
    padding: 6px 0;
    text-align: center;
    border-radius: 8px;
    background: #f3f4f6;
}

.date-tile b,
.date-tile small {
    display: block;
}

.problem-section,
.preview-section {
    padding: 84px 0;
}

.problem-section {
    background: white;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-heading {
    max-width: 760px;
}

.section-heading h2 {
    margin-top: 13px;
    font-size: clamp(2.15rem, 4vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.section-heading p {
    max-width: 680px;
    font-size: 1.03rem;
    line-height: 1.75;
}

.compact-heading {
    margin-bottom: 38px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

.problem-card {
    min-height: 255px;
    padding: 30px;
    background: #fff;
    border-right: 1px solid var(--color-border);
}

.problem-card:last-child {
    border-right: 0;
}

.problem-number {
    color: #9ca3af;
    font-size: .75rem;
    font-weight: 750;
}

.problem-card h3 {
    margin-top: 34px;
    font-size: 1.18rem;
    line-height: 1.35;
}

.problem-card p {
    margin-top: 10px;
    font-size: .92rem;
    line-height: 1.7;
}

.preview-section {
    background: #f6f8fb;
}

.preview-heading {
    margin: 0 auto 40px;
    text-align: center;
}

.preview-heading p {
    margin: 0 auto;
}

.preview-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.mini-product-card {
    min-width: 0;
    padding: 23px;
    background: white;
    border: 1px solid #dfe4eb;
    border-radius: 15px;
    box-shadow: var(--shadow-small);
}

.featured-mini-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.mini-card-heading {
    align-items: flex-start;
    margin-bottom: 21px;
}

.mini-card-heading h3 {
    margin: 0;
    font-size: 1.05rem;
}

.search-preview {
    margin-bottom: 13px;
    padding: 10px 12px;
    color: #9ca3af;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: .76rem;
}

.contact-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 9px;
    align-items: center;
    padding: 12px 2px;
    border-top: 1px solid #eef0f3;
    font-size: .72rem;
}

.contact-header {
    color: #9ca3af;
    border-top: 0;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pill {
    display: inline-flex;
    justify-content: center;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 700;
}

.pill.success {
    background: #ecfdf3;
    color: #15803d;
}

.pill.neutral {
    background: #f3f4f6;
    color: #4b5563;
}

.campaign-preview {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
}

.campaign-label {
    display: block;
    margin-bottom: 13px;
    color: #2563eb;
    font-size: .7rem;
    font-weight: 750;
}

.campaign-preview strong {
    display: block;
    min-height: 45px;
    font-size: .82rem;
    line-height: 1.5;
}

.campaign-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    color: #6b7280;
    font-size: .67rem;
}

.progress-track {
    height: 6px;
    margin: 15px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.progress-track span {
    display: block;
    width: 72%;
    height: 100%;
    background: #2563eb;
}

.campaign-footer {
    font-size: .68rem;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-bottom: 15px;
}

.calendar-week span {
    padding: 8px 3px;
    text-align: center;
    border-radius: 8px;
    background: #f8fafc;
}

.calendar-week small,
.calendar-week b {
    display: block;
}

.calendar-week small {
    color: #9ca3af;
    font-size: .6rem;
}

.calendar-week b {
    margin-top: 3px;
    font-size: .75rem;
}

.calendar-week .calendar-active {
    background: #2563eb;
    color: white;
}

.calendar-week .calendar-active small {
    color: #dbeafe;
}

.price-strip {
    padding: 72px 0;
    background: #111827;
}

.price-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.price-strip h2 {
    margin: 10px 0 5px;
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em;
}

.price-strip p {
    color: #cbd5e1;
}

.price-strip-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.text-link {
    color: white;
    font-weight: 650;
}

footer {
    padding: 58px 0;
    background: white;
    border-top: 1px solid var(--color-border);
}

.footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer strong {
    display: block;
    margin-bottom: 11px;
}

.footer p {
    margin-top: 7px;
}

@media (max-width: 1080px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 750px;
    }

    .hero-product-window {
        max-width: 820px;
        transform: none;
    }

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

    .problem-card:nth-child(2) {
        border-right: 0;
    }

    .problem-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--color-border);
    }
}

@media (max-width: 850px) {
    .nav-links {
        display: none;
    }

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

    .featured-mini-card {
        transform: none;
    }

    .price-strip-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .hero {
        padding: 62px 0 55px;
    }

    .hero h1 {
        font-size: clamp(2.9rem, 14vw, 4.1rem);
    }

    .hero-buttons,
    .price-strip-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn,
    .price-strip-actions .btn {
        text-align: center;
    }

    .product-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .product-sidebar {
        display: none;
    }

    .dashboard-preview {
        padding: 18px;
    }

    .metric-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .problem-section,
    .preview-section {
        padding: 64px 0;
    }

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

    .problem-card,
    .problem-card:nth-child(2) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .problem-card:last-child {
        border-bottom: 0;
    }

    .problem-card h3 {
        margin-top: 18px;
    }

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

@media (max-width: 480px) {
    .nav-actions .btn-secondary {
        display: none;
    }

    .product-user,
    .preview-action {
        display: none;
    }

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

    .contact-row span:nth-child(2) {
        display: none;
    }
}


/* ManagedHorizons responsive application pass v2 */

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

*, *::before, *::after {
    box-sizing: border-box;
}

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

textarea,
input,
select,
button {
    max-width: 100%;
    box-sizing: border-box;
}

.modal {
    padding: 12px;
    overflow-y: auto;
}

.modal-card {
    width: min(900px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
}

@media (max-width: 900px) {

    .dashboard-layout,
    .app-layout {
        display: block !important;
    }

    .sidebar {
        width: 100% !important;
        position: relative !important;
    }

    .hero,
    .hero-layout,
    .checkout-layout,
    .support-layout,
    .template-editor-layout {
        grid-template-columns: 1fr !important;
    }

    .stats-grid,
    .dashboard-grid,
    .billing-grid,
    .admin-grid,
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 600px) {

    .site-header,
    .navbar,
    nav {
        flex-wrap: wrap;
        height: auto !important;
    }

    .site-header {
        padding: 16px !important;
    }

    .site-header nav {
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
    }

    .stats-grid,
    .dashboard-grid,
    .billing-grid,
    .admin-grid,
    .feature-grid,
    .template-editor-layout,
    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .dashboard-content,
    .admin-content,
    .container {
        width: 100%;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .modal-card,
    .card,
    .panel {
        width: 100%;
        max-width: 100%;
    }

    .modal-actions,
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .modal-actions button,
    .hero-actions a,
    .hero-actions button {
        width: 100%;
    }

    textarea {
        min-height: 180px;
    }
}
