/* top mini nav */
.mini-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    max-width: 1180px;
    margin: 0 auto;
}



@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/*body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Nunito',sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
*/
h1, h2, h3, h4 {
    font-family: 'Fredoka',sans-serif;
    margin: 0 0 .5em;
    line-height: 1.15;
    letter-spacing: .2px;
}

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito',sans-serif;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--coral-dark);
    background: rgba(255,107,92,0.12);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

    .eyebrow::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--coral);
    }

.section-head {
    max-width: 640px;
    margin: 0 auto 52px;
    text-align: center;
}

    .section-head h2 {
        font-size: clamp(1.7rem,3.2vw,2.5rem);
        color: var(--ink);
    }

    .section-head p {
        color: var(--ink-soft);
        font-size: 1.05rem;
    }

section {
    padding: 96px 0;
    position: relative;
}

:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: .98rem;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(240,76,60,0.35);
}

    .btn-primary:hover {
        background: var(--coral-dark);
        transform: translateY(-2px);
        box-shadow: 0 14px 26px rgba(240,76,60,0.42);
    }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 2px solid rgba(38,33,72,0.18);
}

    .btn-ghost:hover {
        border-color: var(--ink);
        transform: translateY(-2px);
    }

.btn-sky {
    background: var(--sky);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(47,155,244,0.35);
}

    .btn-sky:hover {
        background: var(--sky-dark);
        transform: translateY(-2px);
    }

/* ---------- header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,243,223,0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(38,33,72,0.08);
    transition: padding .25s ease, box-shadow .25s ease;
}

    header.is-scrolled {
        box-shadow: 0 6px 18px rgba(38,33,72,0.08);
    }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: var(--maxw);
    margin: 0 auto;
    transition: padding .25s ease;
}

header.is-scrolled .nav {
    padding: 12px 24px;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 700;
}

    .nav-links a {
        position: relative;
        padding: 6px 2px;
        color: var(--ink-soft);
        transition: color .2s ease;
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--ink);
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            height: 3px;
            width: 0;
            background: var(--coral);
            border-radius: 3px;
            transition: width .2s ease;
        }

        .nav-links a:hover::after, .nav-links a.active::after {
            width: 100%;
        }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .nav-cta .btn {
        padding: 11px 22px;
        font-size: .9rem;
    }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
}

    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
        content: "";
        position: absolute;
        left: 8px;
        right: 8px;
        height: 3px;
        background: var(--ink);
        border-radius: 3px;
        transition: transform .2s ease, opacity .2s ease;
    }

    .nav-toggle span {
        top: 19px;
    }

        .nav-toggle span::before {
            top: -9px;
        }

        .nav-toggle span::after {
            top: 9px;
        }

/* ---------- hero ---------- */
.hero {
    padding: 20px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.hero-copy .eyebrow {
    background: rgba(63,178,127,0.14);
    color: #25835A;
}

    .hero-copy .eyebrow::before {
        background: var(--grass);
    }

.hero-copy h1 {
    font-size: clamp(2.3rem,4.6vw,3.6rem);
    color: var(--ink);
}

    .hero-copy h1 .hl {
        color: var(--coral);
        position: relative;
        white-space: nowrap;
    }

.hero-copy p.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 38px;
    flex-wrap: wrap;
}

    .hero-stats div strong {
        display: block;
        font-family: 'Fredoka';
        font-size: 1.5rem;
        color: var(--ink);
    }

    .hero-stats div span {
        font-size: .85rem;
        color: var(--ink-soft);
        font-weight: 700;
    }


/* ---------- trust marquee ---------- */
.trust {
    padding: 44px 0;
    border-top: 1px solid rgba(38,33,72,0.08);
    border-bottom: 1px solid rgba(38,33,72,0.08);
}

    .trust p.label {
        text-align: center;
        font-weight: 800;
        color: var(--ink-soft);
        letter-spacing: .5px;
        margin-bottom: 22px;
    }

.marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
    mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scroll-left 32s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.chip {
    flex: 0 0 auto;
    background: var(--white);
    border: 1px solid rgba(38,33,72,0.08);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .85rem;
    color: var(--ink-soft);
    box-shadow: 0 4px 10px rgba(38,33,72,0.06);
}

    .chip b {
        color: var(--ink);
        font-weight: 800;
    }

/* ---------- about tabs ---------- */
.tabbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

    .tabbar button {
        background: var(--white);
        border: 2px solid transparent;
        padding: 12px 24px;
        border-radius: 999px;
        font-weight: 800;
        color: var(--ink-soft);
        box-shadow: 0 4px 10px rgba(38,33,72,0.06);
        transition: all .2s ease;
    }

        .tabbar button.is-active {
            color: var(--white);
            background: var(--ink);
            box-shadow: 0 8px 18px rgba(38,33,72,0.2);
        }

.tabpanel {
    display: none;
}

    .tabpanel.is-active {
        display: block;
        animation: fade-in .4s ease;
    }

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-card);
}

    .about-grid h3 {
        font-size: 1.6rem;
    }

    .about-grid ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 14px;
    }

    .about-grid li {
        display: flex;
        gap: 12px;
        font-weight: 700;
        color: var(--ink-soft);
        align-items: flex-start;
    }

        .about-grid li .tick {
            flex: 0 0 auto;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(63,178,127,0.16);
            color: var(--grass);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 2px;
        }

.about-visual {
    border-radius: 20px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka';
    font-size: 1.1rem;
    color: var(--white);
    text-align: center;
    padding: 24px;
}

    .about-visual.parents {
        background: linear-gradient(150deg,var(--sky),#1c6fb8);
    }

    .about-visual.teachers {
        background: linear-gradient(150deg,var(--coral),#c53f31);
    }

    .about-visual.schools {
        background: linear-gradient(150deg,var(--grass),#237a53);
    }

/* ---------- features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px 26px;
}

.feature-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 24px 26px;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .feature-card:hover {
        transform: translateY(-6px) rotate(0deg) !important;
        box-shadow: var(--shadow-lift);
    }

    .feature-card:nth-child(6n+1) {
        transform: rotate(-1.4deg);
    }

    .feature-card:nth-child(6n+2) {
        transform: rotate(1deg);
    }

    .feature-card:nth-child(6n+3) {
        transform: rotate(-.6deg);
    }

    .feature-card:nth-child(6n+4) {
        transform: rotate(1.6deg);
    }

    .feature-card:nth-child(6n+5) {
        transform: rotate(-1deg);
    }

    .feature-card:nth-child(6n+6) {
        transform: rotate(.8deg);
    }

    .feature-card .pin {
        position: absolute;
        top: -8px;
        left: 26px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        box-shadow: 0 3px 4px rgba(0,0,0,0.3);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--ink-soft);
    font-size: .92rem;
    margin-bottom: 0;
}

.fc-1 .pin {
    background: radial-gradient(circle at 30% 30%,#7fd0ff,var(--sky-dark));
}

.fc-1 .feature-icon {
    background: rgba(47,155,244,0.14);
    color: var(--sky-dark);
}

.fc-2 .pin {
    background: radial-gradient(circle at 30% 30%,#ffb199,var(--coral-dark));
}

.fc-2 .feature-icon {
    background: rgba(255,107,92,0.14);
    color: var(--coral-dark);
}

.fc-3 .pin {
    background: radial-gradient(circle at 30% 30%,#ffe08a,#c98f00);
}

.fc-3 .feature-icon {
    background: rgba(255,198,74,0.2);
    color: #9A6A00;
}

.fc-4 .pin {
    background: radial-gradient(circle at 30% 30%,#9fe6c0,#25835A);
}

.fc-4 .feature-icon {
    background: rgba(63,178,127,0.16);
    color: #25835A;
}

.fc-5 .pin {
    background: radial-gradient(circle at 30% 30%,#c9b7ff,#6a4bc9);
}

.fc-5 .feature-icon {
    background: rgba(106,75,201,0.14);
    color: #6a4bc9;
}

.fc-6 .pin {
    background: radial-gradient(circle at 30% 30%,#ffd1ec,#c9427f);
}

.fc-6 .feature-icon {
    background: rgba(201,66,127,0.14);
    color: #c9427f;
}

/* ---------- how it works ---------- */
.how-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-card);
}

.steps {
    position: relative;
    display: grid;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
}

    .steps::before {
        content: "";
        position: absolute;
        left: 23px;
        top: 14px;
        bottom: 14px;
        width: 2px;
        background-image: linear-gradient(var(--ink-soft) 60%, transparent 0%);
        background-size: 2px 12px;
        background-repeat: repeat-y;
        opacity: .35;
    }

.step {
    display: flex;
    gap: 22px;
    padding: 18px 0;
}

.step-num {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka';
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 14px rgba(38,33,72,0.25);
}

.step-body h4 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.step-body p {
    color: var(--ink-soft);
    margin-bottom: 0;
    font-size: .95rem;
}

/* ---------- download ---------- */
.download {
    background: linear-gradient(150deg,#2c2352,#1c1638);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

    .download::before {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        background: var(--sunshine);
        opacity: .18;
        border-radius: 50%;
        top: -120px;
        right: -100px;
    }

.download-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.download h2 {
    color: var(--white);
    font-size: clamp(1.6rem,3vw,2.2rem);
}

.download p {
    color: rgba(255,255,255,0.75);
    max-width: 460px;
}

.store-row {
    display: flex;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}

    .store-btn:hover {
        transform: translateY(-3px);
        background: rgba(255,255,255,0.14);
    }

    .store-btn span {
        display: block;
    }

    .store-btn .small {
        font-size: .68rem;
        font-weight: 600;
        opacity: .75;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .store-btn .big {
        font-size: 1rem;
    }

.phone-mock {
    justify-self: center;
    width: 200px;
    height: 400px;
    border-radius: 34px;
    background-image: url('/Images/splash300.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 8px solid #1c1638;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
}

    .phone-mock::after {
        content: "";
        position: absolute;
        top: 14px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 6px;
        border-radius: 4px;
        background: rgba(0,0,0,0.3);
    }
/* ---------- contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: clamp(1.6rem,3vw,2.2rem);
}

.office-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    box-shadow: var(--shadow-card);
    margin-bottom: 16px;
    transform: rotate(-1deg);
}

    .office-card:nth-child(3) {
        transform: rotate(1deg);
    }

    .office-card b {
        display: block;
        font-family: 'Fredoka';
        color: var(--ink);
        margin-bottom: 6px;
    }

    .office-card span {
        display: block;
        color: var(--ink-soft);
        font-size: .92rem;
    }

form.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 1px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .field label {
        font-weight: 800;
        font-size: .85rem;
        color: var(--ink-soft);
    }

    .field input, .field textarea, .field select {
        border: 2px solid rgba(38,33,72,0.12);
        border-radius: 12px;
        padding: 12px 14px;
        font-family: inherit;
        font-size: .95rem;
        background: var(--paper);
        transition: border-color .2s ease;
    }

        .field input:focus, .field textarea:focus {
            border-color: var(--sky);
            outline: none;
        }

    .field.full {
        grid-column: 1 / -1;
    }

form.card .btn {
    width: 100%;
    margin-top: 6px;
}

/* ---------- footer ---------- */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.75);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3,1fr);
    gap: 32px;
    margin-bottom: 40px;
}

footer .logo {
    color: var(--white);
}

footer p.tagline {
    max-width: 280px;
    color: rgba(255,255,255,0.55);
    font-size: .92rem;
}

footer h5 {
    font-family: 'Fredoka';
    color: var(--white);
    font-size: .95rem;
    letter-spacing: .5px;
    margin-bottom: 14px;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

footer a {
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    font-size: .92rem;
    transition: color .2s ease;
}

    footer a:hover {
        color: var(--sunshine);
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .85rem;
    color: rgba(255,255,255,0.45);
}

.captcha-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

    .captcha-container br {
        display: none;
    }

    .captcha-container img {
        order: 1;
    }

    .captcha-container a {
        order: 2;
    }

    .captcha-container input[type="text"] {
        border: 2px solid rgba(38, 33, 72, 0.12);
        border-radius: 12px;
        padding: 12px 14px;
        font-family: var(--font-body);
        font-size: .95rem;
        background: var(--paper);
        transition: border-color .2s ease;
        box-sizing: border-box;
        width: 220px;
        height: 48px;
    }

    .captcha-container input[type="hidden"] {
        display: none;
    }

.captcha-container {
    font-size: 0;
}

    .captcha-container img,
    .captcha-container a,
    .captcha-container input,
    .captcha-container::before {
        font-size: initial;
    }
/* ---------- responsive ---------- */
@media (max-width:960px) {
    .hero-grid, .about-grid, .download-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .corkboard {
        min-height: 360px;
        order: -1;
    }

    .phone-mock {
        display: none;
    }
}

@media (max-width:760px) {
    .nav-links, .nav-cta .btn-ghost {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .form-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width:600px) {
    section {
        padding: 64px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .note {
        width: 130px;
        padding: 12px 14px;
        font-size: .75rem;
    }

    .about-grid, .how-wrap, form.card {
        padding: 26px;
    }
}
