@font-face {
    font-family: "GS Sans";
    src: url("../fonts/FreeSans.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --gs-accent: #0d2d6c;
    --gs-accent-dark: #081f4d;
    --gs-detail: #A51C30;
    --gs-paper: #f4f3ee;
    --gs-card: #fffefa;
    --gs-border: #cfd5e2;
    --gs-ink: #111111;
    --gs-muted: #5c564b;
    --bg: #f4f3ee;
    --paper: #f4f3ee;
    --paper-strong: #fffefa;
    --ink: #111111;
    --muted: #5c564b;
    --line: rgba(207, 213, 226, 0.9);
    --navy: #0d2d6c;
    --navy-deep: #081f4d;
    --crimson: #A51C30;
    --gold: #c89d43;
    --mist: #dce6f2;
    --shadow: 0 24px 60px rgba(17, 41, 75, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gs-ink);
    background: var(--gs-paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(244, 243, 238, 0.98);
    border-bottom: 1px solid var(--gs-border);
}

.header-inner,
.hero-section,
.trust-band,
.section-block,
.split-section,
.cta-section,
.site-footer {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gs-accent-dark);
    letter-spacing: 0.03em;
}

.brand-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-nav,
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav a,
.nav-link {
    color: var(--gs-accent-dark);
    font-size: 0.95rem;
}

.nav-link-button,
.footer-link-button {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--gs-detail);
    color: #fff8f3;
    box-shadow: 0 14px 30px rgba(165, 28, 48, 0.18);
}

.button-secondary {
    background: transparent;
    color: var(--gs-accent-dark);
    border: 1px solid var(--gs-border);
}

.hero-section {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    padding: 72px 0 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gs-detail);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3,
h4,
.trust-number,
.process-step {
    font-family: Georgia, "Times New Roman", serif;
}

h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.04;
    color: var(--gs-accent-dark);
    max-width: 11ch;
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.25vw, 2.35rem);
    line-height: 1.04;
    color: var(--gs-accent-dark);
}

h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    color: var(--gs-accent-dark);
}

p {
    margin: 0;
}

.hero-text,
.section-heading p,
.split-copy p,
.feature-card p,
.note-card p,
.analytics-card p,
.site-footer p,
.footer-meta p {
    color: #4d576d;
}

.hero-text {
    max-width: 60ch;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.hero-proof li,
.check-list li {
    position: relative;
    padding-left: 18px;
    color: var(--gs-accent-dark);
}

.hero-proof li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
}

.hero-visual {
    position: relative;
    min-height: 600px;
}

.hero-card {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--gs-card);
    box-shadow: var(--shadow);
    border: 1px solid var(--gs-border);
}

.hero-card-photo {
    inset: 0 0 84px 44px;
}

.hero-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-stats {
    right: 0;
    bottom: 0;
    width: 74%;
    padding: 24px;
    background: var(--gs-card);
    color: var(--gs-accent-dark);
    border: 1px solid var(--gs-detail);
}

.stats-label {
    margin-bottom: 18px;
    color: var(--gs-detail);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.stat-grid strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.stat-grid span {
    color: #4d576d;
    font-size: 0.95rem;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 18px 0 10px;
}

.trust-band-inline {
    margin-top: 24px;
}

.trust-card {
    background: var(--gs-card);
    border: 1px solid var(--gs-detail);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: 0 12px 30px rgba(17, 41, 75, 0.06);
}

.trust-number {
    display: block;
    margin-bottom: 8px;
    color: var(--gs-accent-dark);
    font-size: 2.2rem;
}

.trust-label {
    color: #4d576d;
}

.section-block,
.split-section,
.cta-section {
    padding: 52px 0;
}

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

.feature-grid,
.analytics-grid,
.footer-grid {
    display: grid;
    gap: 18px;
}

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

.feature-card,
.note-card,
.analytics-card,
.review-item {
    background: var(--gs-card);
    border: 1px solid var(--gs-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 14px 30px rgba(17, 41, 75, 0.05);
}

.split-section {
    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    gap: 34px;
    align-items: center;
}

.split-reverse {
    grid-template-columns: 1.04fr 0.96fr;
}

.split-reverse .split-media {
    order: 2;
}

.split-reverse .split-copy {
    order: 1;
}

.framed-image,
.portrait-card,
.product-shot,
.collage-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(17, 41, 75, 0.08);
    box-shadow: var(--shadow);
    background: var(--paper-strong);
}

.framed-image img,
.portrait-card img,
.product-shot img,
.collage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.check-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.product-stage {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: start;
}

.product-shot {
    min-height: 520px;
    background: linear-gradient(180deg, #f4f7fb, #e9eef7);
}

.product-shot img {
    object-fit: contain;
    padding: 22px;
}

.product-notes {
    display: grid;
    gap: 16px;
}

.process-stack {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.process-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background: var(--gs-card);
    border: 1px solid var(--gs-border);
}

.process-step {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--gs-detail);
}

.collage-media {
    display: grid;
    gap: 18px;
}

.collage-card-top {
    min-height: 280px;
}

.collage-card-bottom {
    min-height: 220px;
    margin-left: 12%;
}

.analytics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portrait-card {
    width: min(100%, 180px);
    min-height: 180px;
    margin: 0 auto;
    border-radius: 999px;
}

.school-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.school-cloud span {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 41, 75, 0.08);
    background: var(--gs-card);
    color: var(--gs-accent-dark);
    font-size: 0.92rem;
}

.testimonial-wall {
    column-count: 2;
    column-gap: 18px;
}

.review-item {
    break-inside: avoid;
    margin-bottom: 18px;
    font-size: 10px;
}

.review-item h3 {
    margin-bottom: 8px;
    color: var(--gs-detail);
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

.review-item p {
    color: var(--gs-ink);
    font-size: 9px;
    line-height: 1.35;
}

.review-item span {
    display: block;
    margin-top: 10px;
    color: #4d576d;
    font-size: 8px;
    font-weight: 700;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border-radius: var(--radius-xl);
    background: var(--gs-card);
    color: var(--gs-accent-dark);
    box-shadow: var(--shadow);
    border: 1px solid var(--gs-detail);
}

.cta-panel h2 {
    color: var(--gs-accent-dark);
    max-width: 14ch;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-panel .button-secondary {
    background: transparent;
    color: var(--gs-accent-dark);
    border-color: var(--gs-border);
}

.site-footer {
    padding: 30px 0 60px;
}

.footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    padding-top: 8px;
    gap: 20px;
}

.site-footer h3,
.site-footer h4 {
    margin: 0 0 12px;
    color: var(--navy-deep);
    font-family: Georgia, "Times New Roman", serif;
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
}

.footer-link-button {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    text-align: left;
}

.footer-meta {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 41, 75, 0.08);
}

.footer-meta p + p {
    margin-top: 8px;
}

.modal-open {
    overflow: hidden;
}

.login-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
}

.login-modal.is-visible {
    display: block;
}

.login-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 27, 51, 0.62);
    backdrop-filter: blur(8px);
}

.login-dialog {
    position: relative;
    width: min(calc(100% - 32px), 560px);
    margin: 8vh auto 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #fffdf9 0%, #f8f0e3 100%);
    border: 1px solid rgba(17, 41, 75, 0.12);
    box-shadow: 0 28px 60px rgba(10, 27, 51, 0.28);
}

.login-dialog-inner {
    padding: 34px 30px 30px;
}

.login-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 41, 75, 0.06);
    color: var(--navy);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.login-intro {
    margin-bottom: 22px;
    color: var(--muted);
}

.login-error {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(159, 33, 52, 0.08);
    border: 1px solid rgba(159, 33, 52, 0.16);
    color: #7f1628;
}

.login-form {
    display: grid;
    gap: 16px;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-field span {
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.login-field input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(17, 41, 75, 0.14);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    font-size: 1rem;
}

.login-field input:focus {
    outline: 2px solid rgba(17, 41, 75, 0.12);
    border-color: rgba(17, 41, 75, 0.3);
}

.login-submit {
    width: 100%;
    margin-top: 4px;
}

@media (max-width: 1080px) {
    .feature-grid,
    .analytics-grid,
    .trust-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-section,
    .split-section,
    .product-stage,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 520px;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-panel h2 {
        max-width: 18ch;
    }
}

@media (max-width: 760px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-section {
        padding-top: 42px;
    }

    .hero-proof,
    .trust-band,
    .feature-grid,
    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-wall {
        column-count: 1;
    }

    .hero-visual {
        min-height: 440px;
    }

    .hero-card-photo {
        inset: 0 0 110px 0;
    }

    .hero-card-stats {
        width: 88%;
    }

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

    .process-card {
        grid-template-columns: 1fr;
    }

    .process-step {
        font-size: 1.8rem;
    }

    .collage-card-bottom {
        margin-left: 0;
    }

    .cta-panel {
        padding: 26px;
    }

    .login-dialog-inner {
        padding: 30px 22px 24px;
    }
}
