/*
 * Public Coming Soon landing — elevatingblackness.com while the site is in beta.
 *
 * Self-contained on purpose: this page may only load assets from /coming-soon/
 * (see _ComingSoonLayout.cshtml), so it shares nothing with site.css/edurock.css.
 * Palette is lifted from the VD&P newsletter flyer the hero shows.
 */

@font-face {
    font-family: "Baloo 2";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/baloo2-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --cs-navy: #0e1733;
    --cs-navy-2: #18244d;
    --cs-ink: #1b2340;
    --cs-muted: #475072;
    --cs-cream: #fbf5ea;
    --cs-paper: #ffffff;
    --cs-yellow: #f7c21b;
    --cs-orange: #f28c28;
    --cs-green: #1f7a3a;
    --cs-green-bright: #2e9e4f;
    --cs-red: #c62828;
    --cs-purple: #6a1b9a;
    --cs-blue: #1f5fbf;
    --cs-display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
    --cs-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --cs-radius: 18px;
    --cs-gutter: 16px;
    color-scheme: light;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body.cs-body {
    margin: 0;
    background: var(--cs-cream);
    color: var(--cs-ink);
    font-family: var(--cs-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--cs-yellow);
    outline-offset: 3px;
    border-radius: 4px;
}

.cs-wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--cs-gutter);
}

.cs-skip {
    position: absolute;
    left: var(--cs-gutter);
    top: -100px;
    z-index: 10;
    padding: 10px 16px;
    background: var(--cs-yellow);
    color: var(--cs-navy);
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
}

.cs-skip:focus {
    top: 12px;
}

/* ---- Buttons ---------------------------------------------------------- */

.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--cs-display);
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.cs-btn:active {
    transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
    .cs-btn,
    .cs-btn:hover,
    .cs-btn:active {
        transition: none;
        transform: none;
    }
}

.cs-btn--primary {
    background: var(--cs-yellow);
    color: var(--cs-navy);
    box-shadow: 0 4px 0 #c79400;
}

.cs-btn--primary:hover {
    box-shadow: 0 6px 0 #c79400, 0 10px 24px rgba(247, 194, 27, 0.35);
}

.cs-btn--outline {
    border-color: var(--cs-paper);
    color: var(--cs-paper);
    background: transparent;
}

.cs-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cs-btn--ghost {
    color: var(--cs-yellow);
    border-color: rgba(247, 194, 27, 0.6);
    background: transparent;
}

.cs-btn--ghost:hover {
    background: rgba(247, 194, 27, 0.12);
}

.cs-btn--small {
    min-height: 40px;
    padding: 6px 16px;
    font-size: 1rem;
}

/* ---- Top bar ---------------------------------------------------------- */

.cs-top {
    background: var(--cs-navy);
    color: var(--cs-paper);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.cs-top__inner .cs-btn {
    flex: none;
    white-space: nowrap;
}

.cs-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.cs-brand img {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.cs-brand__name {
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.05;
}

.cs-brand__name span {
    display: block;
    color: var(--cs-yellow);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Smallest phones: the wordmark would collide with the sign-in button. The
   logo stays, and the hero heading right below spells the name out. */
@media (max-width: 359px) {
    .cs-brand__name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* ---- Hero ------------------------------------------------------------- */

.cs-hero {
    position: relative;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(242, 140, 40, 0.28), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(106, 27, 154, 0.35), transparent 55%),
        var(--cs-navy);
    color: var(--cs-paper);
    padding: 40px 0 48px;
}

.cs-hero__grid {
    display: grid;
    gap: 36px;
    align-items: center;
}

.cs-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--cs-red);
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cs-title {
    margin: 0;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 9vw, 4.25rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    color: var(--cs-paper);
}

.cs-title__pill {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 18px 2px;
    border-radius: 12px;
    background: var(--cs-green);
    border: 3px solid var(--cs-paper);
    font-size: 0.42em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.3;
}

.cs-tagline {
    margin: 18px 0 0;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #dfe4f5;
}

.cs-launch {
    margin: 22px 0 0;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    line-height: 1.15;
    color: var(--cs-yellow);
}

.cs-launch time {
    display: block;
    color: var(--cs-paper);
    font-size: 1.35em;
}

.cs-chant,
.cs-voice {
    margin: 14px 0 0;
    font-family: var(--cs-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
}

.cs-chant {
    color: #9fc1ff;
}

.cs-voice {
    margin-top: 2px;
    color: #dfe4f5;
}

.cs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cs-hero__flyer {
    margin: 0;
    justify-self: center;
    width: 100%;
    max-width: 460px;
}

.cs-flyer-link {
    display: block;
    border-radius: var(--cs-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    border: 4px solid var(--cs-paper);
}

.cs-flyer-link img {
    width: 100%;
}

.cs-hero__flyer figcaption {
    margin-top: 12px;
    text-align: center;
    font-size: 0.95rem;
}

.cs-hero__flyer figcaption a {
    color: var(--cs-yellow);
    font-weight: 600;
}

/* Pan-African band — red / black / green with yellow triangles, after the flyer's footer. */
.cs-kente {
    height: 22px;
    background:
        conic-gradient(from 135deg at 50% 0, var(--cs-yellow) 90deg, transparent 0) 0 0 / 44px 100% repeat-x,
        linear-gradient(90deg, var(--cs-red) 0 33.33%, #111 0 66.66%, var(--cs-green-bright) 0) 0 0 / 132px 100% repeat-x;
}

/* ---- Newsletter ------------------------------------------------------- */

.cs-newsletter {
    padding: 48px 0 16px;
    scroll-margin-top: 16px;
}

.cs-newsletter:focus {
    outline: none;
}

.cs-newsletter__card {
    max-width: 760px;
}

.cs-newsletter__card > * {
    margin-left: auto;
    margin-right: auto;
}

.cs-newsletter h2 {
    margin: 0;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 6vw, 2.5rem);
    line-height: 1.1;
    color: var(--cs-navy);
    text-align: center;
}

.cs-newsletter__intro {
    margin: 10px 0 20px;
    text-align: center;
    color: var(--cs-muted);
}

.cs-form {
    padding: 20px;
    background: var(--cs-paper);
    border-radius: var(--cs-radius);
    border: 3px solid var(--cs-navy);
    box-shadow: 6px 6px 0 var(--cs-yellow);
}

.cs-form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.cs-form__row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-form__input {
    width: 100%;
    min-height: 52px;
    padding: 10px 16px;
    border: 2px solid #9aa2bd;
    border-radius: 12px;
    background: var(--cs-paper);
    color: var(--cs-ink);
    font: inherit;
    font-size: 1.0625rem;
}

.cs-form__input:focus {
    border-color: var(--cs-navy);
    outline: 3px solid var(--cs-yellow);
    outline-offset: 1px;
}

.cs-form .cs-btn--primary {
    box-shadow: none;
    background: var(--cs-navy);
    color: var(--cs-paper);
    min-height: 52px;
}

.cs-form .cs-btn--primary:hover {
    background: var(--cs-navy-2);
    box-shadow: none;
}

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

.cs-fineprint {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--cs-muted);
    text-align: center;
}

.cs-alert {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.cs-alert--success {
    background: #e3f4e8;
    border: 2px solid var(--cs-green);
    color: #124d24;
}

.cs-alert--error {
    background: #fdecec;
    border: 2px solid var(--cs-red);
    color: #7f1515;
}

/* ---- Content sections ------------------------------------------------- */

.cs-section {
    padding: 44px 0;
}

.cs-marker {
    display: inline-block;
    margin: 0 0 20px;
    padding: 4px 18px 0;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: clamp(1.75rem, 6vw, 2.4rem);
    line-height: 1.2;
    text-transform: uppercase;
    border-radius: 6px 14px 8px 12px;
    transform: rotate(-1.5deg);
}

.cs-marker--yellow {
    background: var(--cs-yellow);
    color: var(--cs-navy);
}

.cs-marker--navy {
    background: var(--cs-navy);
    color: var(--cs-paper);
}

.cs-marker--orange {
    background: var(--cs-orange);
    color: var(--cs-navy);
}

.cs-marker--purple {
    background: var(--cs-purple);
    color: var(--cs-paper);
}

.cs-mission__grid {
    display: grid;
    gap: 8px;
    align-items: center;
}

.cs-mission__text {
    margin: 0;
    font-size: 1.15rem;
    color: #1f2d6b;
}

.cs-bubble {
    justify-self: start;
    margin: 16px 0 0;
    padding: 14px 22px;
    border-radius: 40px 40px 40px 12px;
    background: #b6e3bf;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--cs-navy);
    text-transform: uppercase;
    transform: rotate(-2deg);
}

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

.cs-focus__list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 12px;
    background: var(--cs-paper);
    border-radius: var(--cs-radius);
    border: 2px solid #e6dcc6;
    text-align: center;
    font-weight: 800;
    font-family: var(--cs-display);
    font-size: 1.1rem;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--cs-navy);
}

.cs-focus__list svg {
    width: 48px;
    height: 48px;
    color: var(--cs-navy);
}

.cs-cards {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-card {
    padding: 22px 20px;
    border-radius: var(--cs-radius);
    border: 2px solid rgba(14, 23, 51, 0.08);
}

.cs-card h3 {
    margin: 0 0 8px;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.15;
    color: var(--cs-navy);
}

.cs-card p {
    margin: 0;
    color: var(--cs-ink);
}

.cs-card .cs-card__sign {
    margin: 0 0 8px;
    font-weight: 700;
}

.cs-card--purple { background: #e7d5f5; }
.cs-card--orange { background: #fde0b8; }
.cs-card--blue   { background: #cfe6fb; }
.cs-card--green  { background: #d4efd6; }
.cs-card--pink   { background: #fbdbe6; }

.cs-partners {
    background: var(--cs-paper);
    border-top: 1px solid #eadfca;
    border-bottom: 1px solid #eadfca;
}

.cs-partners__head p {
    margin: 0 0 24px;
    font-size: 1.1rem;
    color: #1f2d6b;
}

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

.cs-partners__list li {
    padding: 16px 18px;
    border-left: 5px solid var(--cs-yellow);
    background: var(--cs-cream);
    border-radius: 0 12px 12px 0;
}

.cs-partners__list h3 {
    margin: 0 0 4px;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--cs-navy);
}

.cs-partners__list abbr {
    text-decoration: none;
    font-size: 0.75em;
}

.cs-partners__list p {
    margin: 0;
    color: var(--cs-muted);
}

.cs-launchband__grid {
    display: grid;
    gap: 20px;
    align-items: center;
}

.cs-launchband__date h2 {
    display: inline-block;
    margin: 0;
    padding: 10px 22px 4px;
    background: var(--cs-yellow);
    border-radius: 10px 22px 12px 18px;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--cs-navy);
    transform: rotate(-2deg);
}

.cs-launchband__date h2 span {
    display: block;
    color: var(--cs-purple);
}

.cs-launchband__date p {
    margin: 16px 0 0;
    font-weight: 600;
    color: #1f2d6b;
}

.cs-beta {
    padding: 24px 22px;
    background: var(--cs-navy);
    border-radius: 22px;
    color: var(--cs-paper);
    text-align: center;
}

.cs-beta__lock {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
}

.cs-beta h3 {
    margin: 0;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.cs-beta p {
    margin: 8px 0 18px;
    color: #dfe4f5;
}

.cs-chapter {
    text-align: center;
}

.cs-chapter__cta {
    display: inline-block;
    padding: 12px 22px 8px;
    background: var(--cs-red);
    color: var(--cs-paper);
    border-radius: 14px 26px 16px 22px;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-decoration: none;
    transform: rotate(-2deg);
}

.cs-chapter__cta:hover {
    background: #a51f1f;
}

.cs-chapter p {
    margin: 16px 0 0;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cs-navy);
    line-height: 1.5;
}

/* ---- Footer ----------------------------------------------------------- */

.cs-footer {
    margin-top: 24px;
    background: var(--cs-navy);
    color: var(--cs-paper);
    text-align: center;
}

.cs-footer__inner {
    padding-top: 24px;
    padding-bottom: 28px;
}

.cs-footer p {
    margin: 0;
}

.cs-footer__motto {
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cs-yellow);
}

.cs-footer__url {
    margin-top: 6px !important;
    font-family: var(--cs-display);
    font-weight: 800;
    font-size: clamp(1.15rem, 5vw, 1.6rem);
    overflow-wrap: anywhere;
}

.cs-footer__url a {
    color: var(--cs-yellow);
    text-decoration: none;
}

.cs-footer__url a:hover {
    text-decoration: underline;
}

.cs-footer__legal {
    margin-top: 12px !important;
    font-size: 0.875rem;
    color: #b8c0dc;
}

/* ---- Wider screens ---------------------------------------------------- */

@media (min-width: 600px) {
    :root {
        --cs-gutter: 24px;
    }

    .cs-form__row {
        flex-direction: row;
    }

    .cs-form__row .cs-btn {
        flex: none;
    }

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

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

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

@media (min-width: 960px) {
    .cs-hero {
        padding: 64px 0 72px;
    }

    .cs-hero__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 56px;
    }

    .cs-mission__grid {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 32px;
    }

    .cs-mission .cs-marker,
    .cs-bubble {
        margin: 0;
    }

    .cs-cards {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cs-partners__head {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 32px;
        align-items: center;
    }

    .cs-partners__head .cs-marker,
    .cs-partners__head p {
        margin: 0;
    }

    .cs-partners__head {
        margin-bottom: 28px;
    }

    .cs-partners__list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cs-launchband__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.8fr);
        gap: 32px;
    }
}
