:root {
    --ink: #111111;
    --cream: #fff0d8;
    --paper: #fffaf1;
    --lime: #63e13f;
    --violet: #8956ff;
    --yellow: #ffd51f;
    --cyan: #7bdcff;
    --coral: #ff684d;
    --mint: #b9ffd8;
    --line: #111111;
    --muted: #5f594f;
    --shadow: 8px 8px 0 #111111;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 14px clamp(18px, 5vw, 64px);
    background: rgba(255, 250, 241, 0.9);
    border-bottom: 3px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: var(--lime);
    border: 3px solid var(--line);
    border-radius: 50%;
    box-shadow: 3px 3px 0 var(--line);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
    font-size: 0.95rem;
    font-weight: 800;
}

.site-nav a,
.site-nav button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-pill,
.primary-button,
.secondary-button,
.choice-button,
.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 3px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-weight: 950;
    text-align: center;
    box-shadow: 4px 4px 0 var(--line);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-pill,
.secondary-button,
.choice-button-alt {
    background: #ffffff;
}

.primary-button,
.choice-button,
.card-link {
    background: var(--yellow);
}

.nav-pill:hover,
.primary-button:hover,
.secondary-button:hover,
.choice-button:hover,
.card-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--line);
}

.hero-band {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(24px, 5vw, 60px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 64px) 34px;
    background: linear-gradient(180deg, var(--cream) 0%, #fff8ec 100%);
    border-bottom: 4px solid var(--line);
}

.hero-copy h1,
.sales-hero h1,
.course-hero h1,
.admin-login h1,
.admin-heading h1 {
    margin: 12px 0 18px;
    max-width: 820px;
    font-size: clamp(3.6rem, 9vw, 8.6rem);
    line-height: 0.87;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy p,
.sales-hero p,
.course-hero p {
    max-width: 650px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.5;
    font-weight: 650;
}

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

.hero-visual {
    overflow: hidden;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.hero-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.mini-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 12px;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.ticker {
    display: flex;
    gap: 26px;
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    background: var(--violet);
    color: #ffffff;
    border-bottom: 4px solid var(--line);
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 950;
}

.ticker span {
    flex: 0 0 auto;
}

.ticker span::after {
    content: " :)";
    color: var(--yellow);
}

.courses-section,
.impact-band,
.sales-hero,
.sales-grid,
.course-hero,
.lesson-layout,
.admin-shell,
.admin-login,
.empty-state {
    padding-inline: clamp(18px, 5vw, 64px);
}

.aqua-detail {
    height: 14px;
    background: var(--mint);
    border-bottom: 4px solid var(--line);
}

.courses-section {
    padding-block: 70px;
}

.impact-band h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.4rem, 5.5vw, 5.7rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.course-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 22px;
    border: 4px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.course-card-top,
.course-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.course-card h3 {
    margin: 48px 0 14px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 0.9;
    text-transform: uppercase;
}

.course-card p {
    color: #2d2a25;
    line-height: 1.5;
    font-weight: 700;
}

.card-link {
    width: fit-content;
    margin-top: auto;
    cursor: pointer;
}

.course-lime { background: var(--lime); }
.course-violet { background: var(--violet); color: #ffffff; }
.course-yellow { background: var(--yellow); }
.course-cyan { background: var(--cyan); }
.course-coral { background: var(--coral); color: #ffffff; }
.course-cream { background: var(--cream); }

.course-violet p,
.course-coral p {
    color: #fff7ed;
}

.impact-band {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 520px);
    gap: 34px;
    align-items: end;
    padding-block: 76px;
    background: var(--violet);
    color: #ffffff;
    border-top: 4px solid var(--line);
    border-bottom: 4px solid var(--line);
}

.impact-band p {
    margin: 0;
    color: #f7ecff;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 700;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 44px clamp(18px, 5vw, 64px);
    background: #0f0f0f;
    color: #ffffff;
}

.site-footer p {
    color: #cfcfcf;
}

.social-link {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #0f0f0f;
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    place-items: center;
    padding: 20px;
}

.modal.is-open {
    display: grid;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal-card {
    position: relative;
    width: min(560px, 100%);
    padding: 26px;
    border: 4px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    box-shadow: 10px 10px 0 var(--line);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    font-weight: 950;
    cursor: pointer;
}

.modal-head h2 {
    margin: 14px 42px 18px 0;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 0.92;
    text-transform: uppercase;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.login-box {
    display: none;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
}

.login-box.is-visible {
    display: grid;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 900;
}

input {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.notice {
    margin: 22px clamp(18px, 5vw, 64px) 0;
    padding: 16px 18px;
    border: 3px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
    box-shadow: 5px 5px 0 var(--line);
}

.notice-error {
    background: #ffd8d2;
}

.notice-success {
    background: #d8ffd9;
}

.sales-hero {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 34px;
    align-items: center;
    padding-block: 78px;
    background: var(--yellow);
    border-bottom: 4px solid var(--line);
}

.price-card,
.sales-grid article,
.admin-card,
.admin-login {
    border: 4px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.price-card {
    padding: 26px;
    transform: rotate(1deg);
}

.price-card span {
    font-weight: 950;
    text-transform: uppercase;
}

.price-card strong {
    display: block;
    margin: 10px 0;
    font-size: clamp(4rem, 8vw, 6.5rem);
    line-height: 0.9;
}

.price-card p {
    color: var(--muted);
    font-weight: 700;
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-block: 56px;
}

.sales-grid article {
    min-height: 230px;
    padding: 22px;
}

.sales-grid span {
    font-size: 3rem;
    font-weight: 950;
    color: var(--violet);
}

.sales-grid h2,
.lesson-list h2,
.prompt-panel h2,
.admin-card h2 {
    margin: 12px 0;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.course-hero {
    padding-block: 62px;
    border-bottom: 4px solid var(--line);
}

.course-hero h1 {
    font-size: clamp(3rem, 8vw, 7rem);
}

.lesson-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 28px;
    padding-block: 52px;
}

.lesson-list,
.prompt-panel {
    display: grid;
    gap: 16px;
    align-content: start;
}

.lesson-list article,
.prompt-card {
    padding: 20px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 5px 0 var(--line);
}

.lesson-list article span {
    font-size: 2rem;
    font-weight: 950;
}

.lesson-list article h3 {
    margin: 8px 0;
    font-size: 1.45rem;
}

.lesson-list article p,
.prompt-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.55;
}

.prompt-panel {
    position: sticky;
    top: 96px;
}

.admin-login {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 32px;
    margin: 56px clamp(18px, 5vw, 64px);
    padding: 28px;
}

.admin-form,
.user-form,
.password-form {
    display: grid;
    gap: 14px;
}

.admin-shell {
    padding-block: 48px;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.admin-heading h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

.admin-card {
    padding: 22px;
    margin-top: 24px;
}

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

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

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 14px;
    border-bottom: 2px solid #ded8cc;
    text-align: left;
}

th {
    font-size: 0.82rem;
    text-transform: uppercase;
}

.empty-state {
    min-height: 52vh;
    display: grid;
    place-content: center;
    gap: 18px;
    text-align: center;
}

@media (max-width: 980px) {
    .hero-band,
    .sales-hero,
    .impact-band,
    .lesson-layout,
    .admin-login {
        grid-template-columns: 1fr;
    }

    .course-grid,
    .sales-grid {
        grid-template-columns: 1fr 1fr;
    }

    .user-form,
    .password-form {
        grid-template-columns: 1fr 1fr;
    }

    .prompt-panel {
        position: static;
    }
}

@media (max-width: 680px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero-band {
        min-height: auto;
    }

    .hero-copy h1,
    .sales-hero h1 {
        font-size: clamp(3.2rem, 18vw, 5.2rem);
    }

    .course-grid,
    .sales-grid,
    .user-form,
    .password-form {
        grid-template-columns: 1fr;
    }

    .course-card {
        min-height: 320px;
    }

    .site-footer,
    .admin-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}
