:root {
    --navy: #0b2463;
    --navy-deep: #07183f;
    --blue: #1f7dff;
    --blue-strong: #1566d6;
    --cyan: #4db8ff;
    --sky: #eef5ff;
    --sky-2: #f7fbff;
    --ink: #15233d;
    --muted: #5b6b86;
    --line: #d7e4f6;
    --card: #ffffff;
    --shadow: 0 18px 40px rgba(11, 36, 99, 0.08);
    --radius: 18px;
    --pad: clamp(16px, 4vw, 48px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

html,
body.skoolix-public {
    overflow-x: hidden;
}

body.skoolix-public {
    margin: 0;
    width: 100%;
    min-width: 0;
    color: var(--ink);
    background: var(--sky-2);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    line-height: 1.55;
}

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

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

main {
    width: 100%;
    min-width: 0;
}

.wrap {
    width: min(1440px, 100%);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    background: rgba(247, 251, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(215, 228, 246, 0.8);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 76px;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
}

.brand img {
    display: block;
    width: auto;
    height: clamp(36px, 6vw, 56px);
    max-width: min(100%, 360px);
    object-fit: contain;
    object-position: left center;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 26px);
    flex-shrink: 0;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
}

.nav a:hover,
.nav a.is-active {
    color: var(--navy);
}

.nav .btn {
    white-space: nowrap;
    min-height: 42px;
    padding: 0 16px;
    color: #fff;
}

.nav .btn:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--navy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #4aa4ff);
    color: #fff;
    box-shadow: 0 10px 20px rgba(31, 125, 255, 0.25);
}

.btn-primary:hover {
    background: var(--blue-strong);
}

.btn-ghost {
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--line);
}

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

#features,
#mobile-apps,
#product,
#plans,
#book-demo {
    scroll-margin-top: 88px;
}

.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 40px);
    background:
        radial-gradient(circle at 12% 18%, rgba(77, 184, 255, 0.22), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(31, 125, 255, 0.16), transparent 32%),
        linear-gradient(180deg, #f4f8ff 0%, #ffffff 72%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(20px, 4vw, 56px);
    align-items: center;
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--blue-strong);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 4.4vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: var(--navy);
    overflow-wrap: anywhere;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--navy), var(--blue) 70%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead,
.page-hero p {
    max-width: min(46rem, 100%);
    margin: 0 0 24px;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-pills span {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
}

.portal-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.demo-form textarea {
    min-height: 88px;
}

.demo-form .btn {
    width: 100%;
}

.portal-card,
.feature-card,
.contact-card,
.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 0;
}

.portal-card {
    padding: clamp(18px, 2vw, 28px);
    width: 100%;
}

.portal-card h2,
.section-head h2,
.contact-card h2 {
    margin: 0 0 8px;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.portal-card p,
.muted,
.section-head p {
    color: var(--muted);
}

.portal-form,
.contact-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.portal-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.portal-form .error {
    grid-column: 1 / -1;
    margin: 0;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
}

input,
textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(31, 125, 255, 0.28);
    border-color: var(--blue);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.error,
.status {
    margin: 0;
    font-size: 0.9rem;
}

.error {
    color: #b42318;
}

.status {
    padding: 12px 14px;
    border-radius: 12px;
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #abe7c5;
}

.section {
    width: 100%;
    padding: clamp(40px, 6vw, 72px) 0;
}

.section.alt {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: min(52rem, 100%);
    margin-bottom: 32px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(12px, 2vw, 20px);
    width: 100%;
}

.feature-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-shot {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #e8f1ff;
    cursor: zoom-in;
}

.feature-shot img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
    object-position: top center;
}

.feature-copy {
    padding: clamp(16px, 2vw, 22px);
}

.feature-card .icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--sky);
    color: var(--blue-strong);
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    color: var(--navy);
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
    align-items: stretch;
    width: 100%;
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(20px, 2.4vw, 28px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.plan-card-featured {
    border-color: rgba(31, 125, 255, 0.45);
    background:
        linear-gradient(180deg, rgba(31, 125, 255, 0.08), transparent 42%),
        var(--card);
    box-shadow: 0 22px 44px rgba(11, 36, 99, 0.12);
}

.plan-kicker {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--sky);
    color: var(--blue-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan-card-featured .plan-kicker {
    background: var(--navy);
    color: #fff;
}

.plan-card h3 {
    margin: 0 0 8px;
    color: var(--navy);
    letter-spacing: -0.03em;
    font-size: 1.45rem;
}

.plan-card > p {
    margin: 0;
    color: var(--muted);
}

.plan-features {
    display: grid;
    gap: 8px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
    min-height: 72px;
    flex: 1 1 auto;
    font-size: 0.95rem;
}

.plan-features li {
    position: relative;
    padding-left: 22px;
    color: var(--ink);
}

.plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
}

.plan-features ul {
    display: grid;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.plan-features ul li {
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.plan-features ul li::before {
    width: 6px;
    height: 6px;
    background: transparent;
    border: 1.5px solid var(--blue);
}

.plan-card .btn {
    width: 100%;
    margin-top: auto;
}

.cta-section {
    width: 100%;
}

.cta-band {
    width: 100%;
    margin: 0 0 clamp(36px, 6vw, 72px);
    padding: clamp(24px, 4vw, 40px);
    border-radius: clamp(16px, 3vw, 28px);
    background: linear-gradient(135deg, var(--navy-deep), var(--navy) 42%, #1558c7);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cta-band h2 {
    margin: 0 0 8px;
    letter-spacing: -0.03em;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.page-hero {
    width: 100%;
    padding: clamp(28px, 5vw, 48px) 0 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(16px, 2vw, 24px);
    align-items: start;
    width: 100%;
    padding-bottom: clamp(40px, 7vw, 72px);
}

.contact-card {
    padding: clamp(18px, 2.4vw, 28px);
    width: 100%;
}

.contact-card a {
    color: var(--blue-strong);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form .btn {
    width: auto;
    justify-self: start;
}

.audience-grid,
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
}

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

.audience-card,
.app-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(18px, 2.4vw, 28px);
    min-width: 0;
}

.audience-card h3,
.app-panel h3 {
    margin: 0 0 8px;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.audience-card p,
.app-panel p,
.app-note p {
    margin: 0;
    color: var(--muted);
}

.app-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--sky);
    color: var(--blue-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-panel-alt .app-kicker {
    background: #eef2ff;
    color: #3730a3;
}

.app-panel ul {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--ink);
}

.app-panel li + li {
    margin-top: 6px;
}

.app-note {
    margin-top: 20px;
    padding: 16px 18px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    background: #fff;
}

.shot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
    width: 100%;
}

.shot-card {
    margin: 0;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.shot-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #e8f1ff;
    cursor: zoom-in;
    text-align: left;
}

.shot-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    background: linear-gradient(180deg, #f7fbff, #eef4ff);
    border-bottom: 1px solid var(--line);
}

.shot-chrome i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d7e4f6;
}

.shot-chrome i:first-child {
    background: #f9b4b4;
}

.shot-chrome i:nth-child(2) {
    background: #f6d58b;
}

.shot-chrome i:nth-child(3) {
    background: #9ee0b8;
}

.shot-open img,
.phone-open img {
    display: block;
    width: 100%;
    height: auto;
}

.shot-card figcaption,
.phone-shot figcaption {
    padding: 14px 16px 16px;
}

.shot-card strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
}

.shot-card span,
.phone-shot figcaption {
    color: var(--muted);
    font-size: 0.9rem;
}

.phone-shot {
    margin: 18px 0 4px;
}

.phone-open {
    display: block;
    width: min(100%, 280px);
    margin-inline: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #0b2463;
    box-shadow: 0 18px 36px rgba(11, 36, 99, 0.18);
    cursor: zoom-in;
}

.phone-open img {
    border-radius: 18px;
    background: #fff;
}

.phone-shot figcaption {
    text-align: center;
    padding: 10px 0 0;
}

.shot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(7, 24, 63, 0.78);
}

.shot-lightbox[hidden] {
    display: none;
}

.shot-lightbox img {
    max-width: min(1120px, 100%);
    max-height: calc(100vh - 88px);
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: #fff;
}

.shot-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

body.lightbox-open {
    overflow: hidden;
}

.section-more {
    margin: 24px 0 0;
}

.section-more a {
    color: var(--blue-strong);
    font-weight: 800;
}

.privacy-hero {
    padding-bottom: 0;
}

.privacy-hero .page-hero,
.privacy-hero h1 {
    max-width: none;
}

.legal-wrap {
    width: min(820px, 100%);
}

.legal-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.legal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 8px;
}

.legal-chips a {
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
}

.legal-chips a:hover {
    border-color: var(--blue);
    color: var(--blue-strong);
}

.legal-section {
    padding-top: 20px;
}

.legal-doc {
    padding: clamp(22px, 3vw, 40px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-doc section + section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.legal-doc h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    letter-spacing: -0.03em;
    scroll-margin-top: 96px;
}

.legal-doc h3 {
    margin: 20px 0 8px;
    color: var(--navy);
    font-size: 1.02rem;
}

.legal-doc p,
.legal-doc li {
    color: var(--muted);
}

.legal-doc p {
    margin: 0 0 12px;
}

.legal-doc ul {
    margin: 0 0 14px;
    padding-left: 20px;
}

.legal-doc li + li {
    margin-top: 4px;
}

.legal-doc a {
    color: var(--blue-strong);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-contact {
    margin: 16px 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--sky);
}

.legal-contact p {
    margin: 0 0 8px;
    color: var(--ink);
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-tagline {
    margin: 32px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--navy) !important;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.site-footer {
    width: 100%;
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.78);
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.footer-inner a {
    color: #9fd4ff;
}

@media (max-width: 1024px) {
    .hero-grid,
    .contact-grid,
    .audience-grid,
    .apps-grid,
    .shot-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .header-inner {
        min-height: 68px;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        z-index: 50;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 12px 10px;
        border-radius: 10px;
    }

    .nav .btn {
        width: 100%;
        margin-top: 4px;
    }

    .portal-form {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .portal-form .btn,
    .cta-band,
    .contact-form .btn {
        width: 100%;
    }

    .hero-actions .btn,
    .cta-band .btn,
    .contact-form .btn {
        width: 100%;
        justify-self: stretch;
    }

    .cta-band,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .cta-band {
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    :root {
        --pad: 16px;
    }

    .brand img {
        max-width: calc(100vw - 92px);
        height: 40px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 1.65rem;
    }
}
