@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
    --bg: #fbf5f1;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --text: #251816;
    --muted: #715f59;
    --line: rgba(112, 71, 59, 0.12);
    --primary: #b11515;
    --primary-dark: #6f0a0a;
    --accent: #f1c85f;
    --shadow: 0 22px 52px rgba(78, 18, 10, 0.12);
    --shadow-soft: 0 16px 34px rgba(78, 18, 10, 0.08);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1180px, calc(100% - 32px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(241, 200, 95, 0.18), transparent 24%),
        linear-gradient(180deg, #fcf7f4 0%, #faf3ef 48%, #fffaf8 100%);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.top-strip {
    background: #2c0f0d;
    color: rgba(255, 255, 255, 0.84);
}

.top-strip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    font-size: 0.92rem;
}

.top-strip__inner a {
    color: var(--accent);
    font-weight: 800;
}

.hero-area {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(circle at 82% 14%, rgba(241, 200, 95, 0.26), transparent 14%),
        linear-gradient(135deg, #450808 0%, #7d1010 48%, #b51f1f 100%);
    color: #fff;
}

.hero-area::before {
    content: "";
    position: absolute;
    inset: auto auto -120px -80px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.header-scrolled {
    background: rgba(79, 8, 8, 0.9);
    box-shadow: 0 16px 28px rgba(28, 5, 5, 0.22);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    position: relative;
}

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

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(241, 200, 95, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--accent);
    font-family: "Sora", sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-text strong {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
}

.brand-text small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
}

.site-nav,
.nav-links,
.hero-actions,
.hero-pills,
.tag-list,
.course-meta,
.cta-band__actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.94));
    transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), #ffd97c);
    color: #341b12;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(241, 200, 95, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(241, 200, 95, 0.26);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.button-ghost {
    width: 100%;
    background: linear-gradient(135deg, #760c0c 0%, #be2424 100%);
    color: #fff;
    box-shadow: none;
}

.hero-section,
.course-hero {
    padding: clamp(44px, 7vw, 88px) 0 clamp(60px, 8vw, 92px);
}

.hero-grid,
.split-layout,
.course-hero__grid,
.course-content-grid,
.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 26px;
    align-items: center;
}

.split-layout,
.course-hero__grid,
.course-content-grid {
    align-items: start;
}

.hero-copy h1,
.section-title,
.cta-band h2,
.course-hero__copy h1,
.course-summary h2,
.course-detail-card h2,
.audience-panel h3 {
    margin: 18px 0 0;
    font-family: "Sora", sans-serif;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    max-width: 11.8ch;
    font-size: clamp(2.4rem, 4.8vw, 4.6rem);
}

.hero-copy h1 span {
    color: var(--accent);
}

.hero-copy p,
.section-copy,
.course-hero__copy p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.04rem;
    line-height: 1.75;
}

.eyebrow,
.card-eyebrow,
.screen-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow,
.card-eyebrow {
    background: rgba(177, 21, 21, 0.08);
    color: var(--primary);
}

.eyebrow--gold,
.screen-pill {
    background: rgba(241, 200, 95, 0.14);
    color: var(--accent);
}

.hero-pills {
    margin-top: 28px;
}

.hero-pills span,
.tag-list span,
.course-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-pills span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.hero-card,
.highlight-card,
.service-card,
.workflow-card,
.audience-panel,
.academy-showcase,
.resource-card,
.course-card,
.faq-card,
.course-summary,
.course-detail-card,
.cta-band {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.hero-card {
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)), rgba(53, 9, 9, 0.56);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 62px rgba(28, 6, 6, 0.28);
    backdrop-filter: blur(14px);
}

.hero-card__head,
.hero-card__footer {
    display: grid;
    gap: 14px;
}

.hero-card__head {
    color: rgba(255, 255, 255, 0.8);
}

.hero-card__head strong,
.hero-card__footer strong,
.screen-stats strong,
.summary-grid strong {
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 0.98rem;
}

.hero-card__media {
    display: grid;
    place-items: center;
    min-height: 320px;
    margin-block: 20px;
    padding: 24px;
    border-radius: 26px;
    background: radial-gradient(circle at 50% 30%, rgba(241, 200, 95, 0.28), transparent 58%), rgba(255, 255, 255, 0.06);
}

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

.hero-card__footer div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-card__footer p,
.screen-stats span,
.summary-grid span {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
    font-size: 0.92rem;
}

.section {
    padding: clamp(64px, 8vw, 108px) 0;
}

.section-tight {
    padding: clamp(42px, 6vw, 72px) 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.8));
    border-top: 1px solid rgba(112, 71, 59, 0.08);
    border-bottom: 1px solid rgba(112, 71, 59, 0.08);
}

.section-head {
    max-width: 860px;
    margin-bottom: 34px;
}

.section-title,
.cta-band h2,
.course-hero__copy h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text);
}

.section-copy {
    color: var(--muted);
}

.highlight-grid,
.service-grid,
.course-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.highlight-card,
.service-card,
.faq-card,
.workflow-card,
.resource-card,
.course-card,
.course-summary,
.course-detail-card,
.audience-panel {
    padding: 28px;
}

.highlight-card {
    grid-column: span 3;
}

.service-card,
.course-card {
    grid-column: span 6;
}

.faq-card {
    grid-column: span 6;
}

.highlight-card h2,
.service-card h3,
.workflow-card h3,
.resource-card h4,
.course-card h3,
.faq-card h3,
.course-summary h2,
.course-detail-card h2,
.audience-panel h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.16rem;
    line-height: 1.35;
}

.highlight-card p,
.service-card p,
.workflow-card p,
.resource-card p,
.course-card p,
.faq-card p,
.audience-panel p,
.course-detail-card p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.72;
}

.tag-list {
    margin-top: 18px;
}

.tag-list span,
.course-meta span,
.tag-list--large span {
    background: rgba(177, 21, 21, 0.05);
    color: var(--primary-dark);
}

.workflow-grid,
.resource-grid,
.screen-stats,
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.workflow-step {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #8f1010, #cd3333);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
}

.audience-list,
.detail-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.audience-list li,
.detail-list li {
    position: relative;
    padding-left: 22px;
    line-height: 1.65;
}

.audience-list li::before,
.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ffd985);
    box-shadow: 0 0 0 6px rgba(241, 200, 95, 0.16);
}

.academy-showcase {
    margin-bottom: 22px;
    padding: 28px;
    background: linear-gradient(135deg, #6f0a0a 0%, #b61c1c 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 56px rgba(90, 12, 12, 0.22);
}

.academy-screen {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.academy-screen h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    line-height: 1.16;
}

.academy-screen p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.72;
}

.screen-stats {
    margin-top: 24px;
}

.screen-stats div,
.summary-grid div {
    padding: 18px;
    border-radius: 18px;
}

.screen-stats div {
    background: rgba(255, 255, 255, 0.08);
}

.resource-grid {
    margin-top: 18px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.resource-card h4 {
    color: #fff;
}

.resource-card p {
    color: rgba(255, 255, 255, 0.74);
}

.course-card {
    overflow: hidden;
}

.course-card__media {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    min-height: 118px;
    padding: 24px;
    color: #fff;
    background: radial-gradient(circle at top right, rgba(241, 200, 95, 0.24), transparent 28%), linear-gradient(135deg, #6f0a0a 0%, #be2323 100%);
}

.course-card__media span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.course-card__media strong {
    font-family: "Sora", sans-serif;
    font-size: 1.08rem;
}

.course-card__body {
    padding: 24px;
}

.course-meta {
    margin: 18px 0 22px;
}

.cta-band {
    padding: 34px;
    grid-template-columns: minmax(0, 1fr) auto;
    background: linear-gradient(135deg, #691010 0%, #a41717 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 56px rgba(90, 12, 12, 0.24);
}

.cta-band h2 {
    margin-top: 18px;
    color: #fff;
}

.cta-band p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.72;
}

.site-footer {
    padding: 30px 0 24px;
    background: #1f0b0b;
    color: rgba(255, 255, 255, 0.74);
}

.site-footer__inner,
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.site-footer__inner {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: "Sora", sans-serif;
}

.site-footer p {
    margin: 0;
    max-width: 62ch;
    line-height: 1.65;
}

.inner-page .hero-area {
    background: radial-gradient(circle at 82% 14%, rgba(241, 200, 95, 0.22), transparent 14%), linear-gradient(135deg, #400808 0%, #761111 48%, #a91b1b 100%);
}

.hero-area--compact .course-hero {
    padding-bottom: clamp(48px, 7vw, 76px);
}

.crumb-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.course-hero__copy h1 {
    color: #fff;
}

.course-summary,
.course-detail-card {
    background: var(--surface-strong);
}

.summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 22px 0 24px;
}

.summary-grid div {
    background: rgba(177, 21, 21, 0.05);
}

.summary-grid strong {
    color: var(--primary-dark);
}

.summary-grid span {
    color: var(--muted);
}

.tag-list--large {
    margin-top: 24px;
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

body.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

body.js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

section[id] {
    scroll-margin-top: 92px;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
    .hero-grid,
    .split-layout,
    .course-hero__grid,
    .course-content-grid,
    .cta-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .highlight-card,
    .service-card,
    .course-card,
    .faq-card {
        grid-column: span 6;
    }

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

}

@media (max-width: 860px) {
    .top-strip__inner,
    .site-footer__inner,
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: grid;
        gap: 18px;
        padding: 18px;
        border-radius: 24px;
        background: rgba(69, 8, 8, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 24px 48px rgba(22, 4, 4, 0.28);
        transform: scaleY(0.92);
        transform-origin: top;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    body.nav-open .site-nav {
        opacity: 1;
        transform: scaleY(1);
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-button {
        width: 100%;
    }

    .workflow-grid,
    .resource-grid,
    .screen-stats,
    .summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-copy h1 {
        max-width: none;
    }

    .highlight-grid,
    .service-grid,
    .course-grid,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .highlight-card,
    .service-card,
    .course-card,
    .faq-card {
        grid-column: auto;
    }

    .hero-card__footer,
    .hero-actions,
    .cta-band__actions,
    .hero-pills,
    .tag-list,
    .course-meta,
    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-card__footer {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .course-card__media {
        flex-direction: column;
    }
}
