:root {
    --ink: #0f172a;
    --muted: #475569;
    --muted-2: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --soft-blue: #eff6ff;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #dbeafe;
    --gold: #f59e0b;
    --success: #16a34a;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    --radius: 22px;
    --radius-sm: 14px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    max-width: 100%;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.narrow {
    width: min(100% - 32px, 820px);
}

.section-pad {
    padding: 88px 0;
}

.section-pad-sm {
    padding: 68px 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 999;
    padding: 10px 14px;
    background: var(--ink);
    color: white;
    border-radius: 10px;
}

.skip-link:focus {
    left: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--ink), var(--brand));
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1rem;
}

.brand-text small {
    color: var(--muted-2);
    font-size: .8rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--brand);
}

.nav-cta {
    padding: 10px 15px;
    border-radius: 999px;
    color: white !important;
    background: var(--ink);
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(37, 99, 235, .15), transparent 36%),
        radial-gradient(circle at 92% 18%, rgba(245, 158, 11, .16), transparent 32%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% -10%;
    height: 260px;
    background: linear-gradient(90deg, rgba(37, 99, 235, .08), rgba(15, 23, 42, .04));
    transform: rotate(-3deg);
}

.hero-grid,
.split-grid,
.enroll-grid,
.course-layout {
    display: grid;
    gap: 42px;
    position: relative;
    z-index: 1;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    align-items: center;
}

.split-grid {
    grid-template-columns: 1fr .85fr;
    align-items: center;
}

.enroll-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
}

.course-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
}

.eyebrow,
.card-topline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

h1,
h2,
h3 {
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5.25rem);
    max-width: 900px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 18px;
    color: var(--muted);
}

.hero-lead,
.page-hero p,
.section-heading p {
    font-size: 1.2rem;
    color: var(--muted);
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.cta-box .eyebrow {
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    font-size: 1rem;
}

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

.btn-primary {
    color: white;
    background: var(--brand);
    box-shadow: 0 16px 28px rgba(37, 99, 235, .22);
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-secondary {
    background: white;
    border-color: var(--line);
    color: var(--ink);
}

.btn-full {
    width: 100%;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-row span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
}

.checkout-card,
.summary-card,
.form-card,
.sticky-card,
.feature-card,
.panel,
.centered-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.checkout-card,
.summary-card,
.sticky-card,
.form-card,
.panel,
.centered-card {
    padding: 30px;
}

.checkout-card h2,
.summary-card h2 {
    font-size: 1.65rem;
    margin-top: 16px;
}

.price-line {
    display: grid;
    gap: 4px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 20px 0;
}

.price {
    font-size: 3.6rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.07em;
}

.price-note,
.fine-print {
    color: var(--muted-2);
    font-size: .92rem;
}

.fine-print {
    margin-top: 14px;
    margin-bottom: 0;
}

.light-section {
    background: var(--soft);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.centered {
    text-align: center;
    margin-inline: auto;
}

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

.feature-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    padding: 24px;
    box-shadow: none;
}

.icon-circle,
.module-number,
.success-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 900;
    margin-bottom: 18px;
}

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

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 900;
}

.compact {
    gap: 9px;
    margin-bottom: 22px;
}

.dark-panel {
    color: white;
    background: linear-gradient(135deg, var(--ink), #1e3a8a);
    border: 0;
}

.dark-panel p,
.dark-panel h3 {
    color: white;
}

.cta-section {
    background: var(--ink);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: white;
    background: linear-gradient(135deg, rgba(37, 99, 235, .34), rgba(245, 158, 11, .16));
    padding: 38px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .15);
}

.cta-box p,
.cta-box h2 {
    color: white;
}

.page-hero {
    background: linear-gradient(180deg, var(--soft-blue), #ffffff);
    border-bottom: 1px solid var(--line);
}

.content-block {
    padding-bottom: 42px;
    margin-bottom: 42px;
    border-bottom: 1px solid var(--line);
}

.content-block:last-child {
    border-bottom: 0;
}

.module-list {
    display: grid;
    gap: 16px;
}

.module-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--soft);
}

.module-number {
    margin: 0;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.format-grid div {
    padding: 22px;
    background: var(--soft);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.course-sidebar {
    position: relative;
}

.sticky-card {
    position: sticky;
    top: 102px;
}

.form-card {
    box-shadow: 0 16px 48px rgba(15, 23, 42, .08);
}

.form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

label {
    font-weight: 800;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input:not([type]) {
    width: 100%;
    min-height: 54px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font: inherit;
    color: var(--ink);
    background: white;
}

input:focus {
    outline: 3px solid rgba(37, 99, 235, .16);
    border-color: var(--brand);
}

.checkbox-row {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--muted);
    font-weight: 600;
    margin: 8px 0 20px;
}

.checkbox-row input {
    margin-top: 4px;
}

.field-error,
.validation-summary {
    color: #b91c1c;
    font-size: .94rem;
    font-weight: 700;
}

.validation-summary ul {
    margin-top: 0;
}

.input-validation-error {
    border-color: #ef4444 !important;
}

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

.summary-line,
.order-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.summary-line.total,
.order-summary div:last-child {
    border-bottom: 0;
    font-size: 1.18rem;
}

.mobile-summary {
    display: none;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-bottom: 20px;
}

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

.thank-you-section {
    min-height: 60vh;
    display: grid;
    place-items: center;
    background: var(--soft);
}

.centered-card {
    text-align: center;
}

.success-mark {
    width: 68px;
    height: 68px;
    margin-inline: auto;
    border-radius: 999px;
    background: #dcfce7;
    color: var(--success);
    font-size: 2rem;
}

.center-actions {
    justify-content: center;
}

.prose h2 {
    font-size: 1.55rem;
    margin-top: 34px;
}

.prose a {
    color: var(--brand);
    font-weight: 800;
}

.site-footer {
    background: #020617;
    color: white;
    padding: 54px 0 28px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr;
    gap: 34px;
}

.footer-grid div {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-grid p {
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 28px;
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    font-size: .92rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0;
}

code {
    background: var(--soft);
    padding: 2px 6px;
    border-radius: 8px;
}

@media (max-width: 980px) {
    .hero-grid,
    .split-grid,
    .enroll-grid,
    .course-layout,
    .feature-grid.four,
    .format-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .course-sidebar {
        order: -1;
    }

    .sticky-card {
        position: static;
    }

    .summary-card {
        display: none;
    }

    .mobile-summary {
        display: block;
    }

    .cta-box {
        display: grid;
    }
}

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

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        inset: 70px 16px auto 16px;
        display: none;
        padding: 18px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

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

    .section-pad {
        padding: 60px 0;
    }

    .section-pad-sm {
        padding: 48px 0;
    }

    h1 {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
    }

    .checkout-card,
    .summary-card,
    .sticky-card,
    .form-card,
    .panel,
    .centered-card {
        padding: 22px;
    }

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

    .footer-bottom {
        display: grid;
    }
}
