﻿/* =========================================
   VARIABLES
========================================= */

:root {
    --navy: #06254a;
    --navy-dark: #031a36;
    --navy-light: #0d376b;
    --gold: #f5ad24;
    --gold-light: #ffc857;
    --gold-pale: #fff4df;
    --white: #ffffff;
    --off-white: #f8fafc;
    --text: #10233f;
    --text-light: #64748b;
    --border: #e6ebf2;
    --blue-bg: #edf4ff;
    --green-bg: #eaf9f3;
    --purple-bg: #f3efff;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 20px 60px rgba(6, 37, 74, 0.10);
    --container: 1180px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(6, 37, 74, 0.05);
}

.nav-wrapper {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}
/* =========================================
   BRAND / LOGOS
========================================= */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.logo-image {
    display: block;
    width: auto;
    height: 46px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

    .logo-text strong {
        color: var(--navy);
        font-size: 15px;
        font-weight: 800;
        letter-spacing: -0.3px;
    }

    .logo-text small {
        margin-top: 4px;
        color: var(--gold);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1px;
    }

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

    .nav a {
        color: #25364f;
        font-size: 13px;
        font-weight: 500;
        position: relative;
        padding: 31px 0;
    }

        .nav a::after {
            content: "";
            position: absolute;
            bottom: 21px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width .25s ease;
        }

        .nav a:hover::after,
        .nav a.active::after {
            width: 100%;
        }

.nav-btn {
    white-space: nowrap;
}

.mobile-menu {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

    .mobile-menu span {
        width: 19px;
        height: 2px;
        background: var(--navy);
    }


/* =========================================
   BUTTONS
========================================= */

.btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    color: white;
    background: var(--navy);
    box-shadow: 0 8px 20px rgba(6, 37, 74, .14);
}

    .btn-primary:hover {
        background: var(--navy-light);
    }

.btn-outline {
    border: 1px solid var(--navy);
    color: var(--navy);
    background: white;
}

    .btn-outline:hover {
        background: #f5f8fc;
    }

.btn-gold {
    color: var(--navy);
    background: var(--gold);
}

.btn-dark {
    color: white;
    background: var(--navy);
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    padding: 20px 0 100px;
    background: radial-gradient( circle at 10% 80%, rgba(245, 173, 36, .10), transparent 28% ), linear-gradient( 120deg, #ffffff 0%, #f8fbff 100% );
}

    .hero::after {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        right: -260px;
        top: 30px;
        border-radius: 50%;
        background: rgba(245, 173, 36, .08);
        pointer-events: none;
    }

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: 55px;
}

.hero-content {
    padding-bottom: 10px;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 50px;
    background: var(--gold-pale);
    color: #b86e00;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 4vw, 58px);
    line-height: 1.09;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

    .hero h1 span {
        color: var(--gold);
    }

.hero-content > p {
    max-width: 500px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 42px;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 9px;
}

.highlight-icon {
    color: var(--navy);
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    font-size: 22px;
}

.highlight span {
    color: var(--text);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
}


/* =========================================
   DASHBOARD
========================================= */

.dashboard-wrapper {
    min-width: 0;
}

.dashboard {
    display: flex;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 35px 80px rgba(6, 37, 74, .15), 0 5px 15px rgba(6, 37, 74, .08);
    border: 1px solid #e6ebf2;
}

.dashboard-sidebar {
    width: 48px;
    flex-shrink: 0;
    background: var(--navy);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard-mini-logo {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: white;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 28px;
}

.sidebar-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.side-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    border-radius: 6px;
}

    .side-icon.active {
        color: white;
        background: rgba(255, 255, 255, .12);
    }

.dashboard-main {
    min-width: 0;
    flex: 1;
    padding: 22px 18px;
    background: #fbfcfe;
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

    .dashboard-top h3 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .dashboard-top p {
        color: var(--text-light);
        font-size: 9px;
    }

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .dashboard-user > span {
        border: 1px solid var(--border);
        background: white;
        border-radius: 5px;
        padding: 6px 8px;
        font-size: 8px;
        color: #53647b;
    }

.avatar {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 700;
}


/* statistics */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 9px;
}

.stat-card {
    background: white;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    padding: 10px;
    min-width: 0;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 7px;
}

    .stat-header > span {
        color: var(--text-light);
        font-size: 7px;
        white-space: nowrap;
    }

.stat-card strong {
    display: block;
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-card small {
    font-size: 6px;
}

.positive {
    color: #24a576;
}

.gold-text {
    color: #c9890e;
}

.link-text {
    color: #487cc0;
}

.stat-icon {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 9px;
}

    .stat-icon.blue {
        background: #e8f1ff;
        color: #3275d3;
    }

    .stat-icon.green {
        background: #e5f8f0;
        color: #28a376;
    }

    .stat-icon.gold {
        background: #fff2d8;
        color: #e29a0c;
    }

    .stat-icon.purple {
        background: #f0eaff;
        color: #7851c9;
    }


/* charts */

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 9px;
}

.chart-card {
    min-width: 0;
    background: white;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    padding: 12px;
}

.chart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

    .chart-heading strong {
        font-size: 8px;
    }

    .chart-heading span {
        border: 1px solid var(--border);
        border-radius: 4px;
        padding: 4px 6px;
        font-size: 6px;
        color: var(--text-light);
    }


/* line chart */

.line-chart {
    display: flex;
    height: 125px;
}

.chart-y {
    width: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
}

    .chart-y span {
        font-size: 6px;
        color: #91a0b3;
    }

.chart-area {
    position: relative;
    flex: 1;
    padding-bottom: 20px;
}

.chart-lines {
    position: absolute;
    inset: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .chart-lines i {
        display: block;
        width: 100%;
        height: 1px;
        background: #edf0f4;
    }

.line-svg {
    position: absolute;
    inset: 0 0 20px 0;
    width: 100%;
    height: calc(100% - 20px);
    color: #2169c6;
    overflow: visible;
}

    .line-svg circle {
        fill: #2169c6;
    }

.chart-days {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

    .chart-days span {
        font-size: 6px;
        color: #91a0b3;
    }


/* bar chart */

.bar-chart {
    height: 125px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 15px;
    padding: 0 10px 20px;
    position: relative;
}

    .bar-chart::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20px;
        height: 1px;
        background: #edf0f4;
    }

.bar {
    position: relative;
    width: 25px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

    .bar span {
        display: block;
        width: 15px;
        background: var(--navy);
        border-radius: 2px 2px 0 0;
    }

    .bar.gold-bar span {
        background: var(--gold);
    }

    .bar small {
        position: absolute;
        bottom: -16px;
        font-size: 6px;
        color: #91a0b3;
        white-space: nowrap;
    }


/* quick access */

.quick-access {
    background: white;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    padding: 11px;
}

    .quick-access > strong {
        display: block;
        font-size: 8px;
        margin-bottom: 9px;
    }

.quick-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

    .quick-item > div {
        width: 25px;
        height: 25px;
        display: grid;
        place-items: center;
        border-radius: 6px;
        background: #f3f6fb;
        color: #3574c3;
        font-size: 10px;
    }

    .quick-item span {
        font-size: 6px;
        color: #5b6c82;
        white-space: nowrap;
    }


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    margin-bottom: 45px;
}

    .section-heading.centered {
        text-align: center;
    }

.section-label {
    display: inline-block;
    color: #d58d08;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-heading h2,
.benefit-content h2 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: -1.2px;
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--text-light);
    font-size: 14px;
}


/* =========================================
   MODULES
========================================= */

.modules {
    background: white;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.module-card {
    padding: 24px 17px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .module-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
    }

.module-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.blue-bg {
    color: #3574c3;
    background: var(--blue-bg);
}

.gold-bg {
    color: #d8940e;
    background: var(--gold-pale);
}

.green-bg {
    color: #25966e;
    background: var(--green-bg);
}

.purple-bg {
    color: #7654c3;
    background: var(--purple-bg);
}

.module-card h3 {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 9px;
}

.module-card p {
    color: var(--text-light);
    font-size: 10px;
    line-height: 1.7;
    min-height: 85px;
    margin-bottom: 12px;
}

.module-card a {
    color: #e19a13;
    font-size: 10px;
    font-weight: 600;
}

    .module-card a span {
        margin-left: 5px;
    }


/* =========================================
   BENEFITS
========================================= */

.benefits {
    background: #fcfdff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    align-items: center;
}

.benefit-content {
    padding-left: 10px;
}

.check-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

    .check-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #42536a;
        font-size: 12px;
    }

        .check-list li::before {
            content: "✓";
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: var(--navy);
            color: white;
            font-size: 9px;
            font-weight: 700;
        }

.benefit-visual {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 14px;
}

.school-image {
    min-height: 310px;
    border-radius: 13px;
    overflow: hidden;
}

.school-placeholder {
    width: 100%;
    height: 100%;
    min-height: 310px;
    display: grid;
    place-items: center;
    background: linear-gradient( 135deg, #7792a8, #d8e0e6 );
}

    .school-placeholder span {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(255, 255, 255, .9);
        color: var(--navy);
        padding-left: 3px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
    }

.benefit-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.benefit-card {
    padding: 18px;
    border-radius: 11px;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.benefit-card-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 13px;
}

    .benefit-card-icon.dark {
        color: white;
        background: var(--navy);
    }

    .benefit-card-icon.gold {
        color: #c9890e;
        background: var(--gold-pale);
    }

    .benefit-card-icon.purple {
        color: #7654c3;
        background: var(--purple-bg);
    }

    .benefit-card-icon.green {
        color: #26986e;
        background: var(--green-bg);
    }

.benefit-card strong {
    display: block;
    font-size: 11px;
    margin-bottom: 4px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 9px;
    line-height: 1.5;
}


/* =========================================
   PARENT PORTAL
========================================= */

.parent-section {
    padding: 65px 0;
    background: var(--navy);
    color: white;
    overflow: hidden;
}

.parent-content {
    min-height: 310px;
    display: grid;
    grid-template-columns: 1fr .65fr 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.section-label.light {
    color: var(--gold);
}

.parent-copy h2 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.parent-copy p {
    color: rgba(255,255,255,.72);
    font-size: 11px;
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 20px;
}


/* phone */

.phone {
    width: 180px;
    height: 345px;
    justify-self: center;
    border: 5px solid #121c2a;
    border-radius: 28px;
    background: #111a28;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    position: relative;
}

.phone-notch {
    position: absolute;
    z-index: 2;
    width: 65px;
    height: 16px;
    background: #111a28;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 10px 10px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 19px;
    color: var(--text);
    padding: 24px 10px 10px;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 17px;
}

    .phone-header small,
    .phone-header strong {
        display: block;
    }

    .phone-header small {
        color: var(--text-light);
        font-size: 6px;
    }

    .phone-header strong {
        font-size: 10px;
    }

.phone-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: grid;
    place-items: center;
    font-size: 7px;
}

.children-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .children-header strong {
        font-size: 8px;
    }

    .children-header a {
        color: #3275d3;
        font-size: 6px;
    }

.child {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 6px;
}

.child-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 8px;
    font-weight: 700;
}

    .child-avatar.blue {
        color: #3275d3;
        background: #e7f0ff;
    }

    .child-avatar.gold {
        color: #d8930c;
        background: var(--gold-pale);
    }

.child strong,
.child small {
    display: block;
}

.child strong {
    font-size: 7px;
}

.child small {
    color: var(--text-light);
    font-size: 5px;
}

.phone-section-title {
    font-size: 8px;
    font-weight: 700;
    margin: 16px 0 8px;
}

.phone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

    .phone-grid > div {
        min-height: 40px;
        border: 1px solid var(--border);
        background: white;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #3275d3;
        font-size: 10px;
    }

    .phone-grid small {
        color: var(--text-light);
        font-size: 5px;
    }


/* parent features */

.parent-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .parent-features > div {
        display: grid;
        grid-template-columns: 28px 1fr;
        column-gap: 9px;
    }

    .parent-features span {
        grid-row: span 2;
        width: 28px;
        height: 28px;
        border-radius: 7px;
        background: rgba(255,255,255,.95);
        color: var(--navy);
        display: grid;
        place-items: center;
        font-size: 11px;
    }

    .parent-features strong {
        font-size: 10px;
    }

    .parent-features p {
        color: rgba(255,255,255,.6);
        font-size: 8px;
        line-height: 1.5;
    }


/* parent image */

.parent-image {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
}

.parent-photo-placeholder {
    height: 100%;
    width: 100%;
    background: linear-gradient( 135deg, #647b8e, #d4dbe0 );
}


/* =========================================
   CTA
========================================= */

.cta {
    padding: 15px 0;
    background: white;
}

.cta-inner {
    min-height: 95px;
    border-radius: 15px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient( 100deg, #ffc249, #f2ad2d );
}

.cta-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    font-size: 18px;
}

.cta-text {
    flex: 1;
}

    .cta-text h2 {
        font-size: 17px;
        margin-bottom: 3px;
    }

    .cta-text p {
        font-size: 9px;
        max-width: 550px;
        line-height: 1.5;
    }

.cta .btn {
    flex-shrink: 0;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--navy-dark);
    color: white;
    padding: 55px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-brand p {
    max-width: 270px;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    line-height: 1.7;
    margin-top: 15px;
}

.footer-logo .logo-text strong {
    color: white;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-column h4 {
        color: white;
        font-size: 10px;
        margin-bottom: 5px;
    }

    .footer-column a {
        color: rgba(255,255,255,.55);
        font-size: 9px;
        transition: color .2s ease;
    }

        .footer-column a:hover {
            color: var(--gold);
        }

.socials {
    display: flex;
    gap: 7px;
}

    .socials a {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        display: grid;
        place-items: center;
        color: white;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.4);
    font-size: 8px;
}

.footer-legal {
    display: flex;
    gap: 18px;
}

    .footer-legal a {
        color: rgba(255,255,255,.4);
    }

        .footer-legal a:hover {
            color: var(--gold);
        }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .nav {
        gap: 17px;
    }

        .nav a {
            font-size: 11px;
        }

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

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

        .hero-content > p {
            margin-left: auto;
            margin-right: auto;
        }

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

    .hero-highlights {
        max-width: 500px;
        margin: 0 auto;
    }

    .dashboard-wrapper {
        max-width: 800px;
        width: 100%;
        margin: 0 auto;
    }

    .module-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .parent-content {
        grid-template-columns: 1fr 1fr;
    }

    .parent-copy {
        order: 1;
    }

    .phone {
        order: 2;
    }

    .parent-features {
        order: 3;
    }

    .parent-image {
        order: 4;
    }
}


@media (max-width: 850px) {

    .nav {
        display: none;
    }

    .nav-btn {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .benefit-content {
        text-align: center;
    }

    .check-list {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}


@media (max-width: 650px) {

    .container {
        width: min(100% - 30px, var(--container));
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 55px 0 70px;
    }

        .hero h1 {
            font-size: 39px;
            letter-spacing: -1.7px;
        }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .hero-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .dashboard {
        overflow-x: auto;
    }

    .dashboard-main {
        min-width: 650px;
    }

    .dashboard-wrapper {
        overflow: hidden;
    }

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

    .module-card p {
        min-height: auto;
    }

    .benefit-visual {
        grid-template-columns: 1fr;
    }

    .school-image {
        min-height: 250px;
    }

    .school-placeholder {
        min-height: 250px;
    }

    .benefit-cards {
        grid-template-columns: 1fr;
    }

    .parent-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .parent-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .parent-features {
        text-align: left;
    }

    .parent-image {
        display: none;
    }

    .cta-inner {
        flex-wrap: wrap;
    }

    .cta-text {
        min-width: calc(100% - 75px);
    }

    .cta .btn {
        width: 100%;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}


@media (max-width: 430px) {

    .logo-text strong {
        font-size: 12px;
    }

    .logo-text small {
        font-size: 9px;
    }

    .logo-mark {
        width: 39px;
        height: 39px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .dashboard-main {
        padding: 15px;
    }

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

    .parent-copy h2 {
        font-size: 26px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}
