/* Catalyst Academy base stylesheet.
   Extracted from public/index.html, the reference implementation, without changing
   a single declaration. Holds the foundation (reset, body, typography, grounds,
   containers) and every component named in the style guide's component catalog.
   Load /assets/catalyst-tokens.css before this file.
   Home-page-only layout stays inline in index.html.
   See files/catalyst-academy-style-guide.md. */

@import url('/assets/catalyst-lockup.css');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: var(--smoke);
    color: var(--paper);
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ───────── HEADER ───────── */

header {
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(247, 245, 242, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(12px);
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247, 245, 242, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

nav a:hover { color: var(--paper); }

.nav-cta {
    background: var(--rust);
    color: var(--paper) !important;
    padding: 10px 18px;
    transition: background 0.2s ease;
}

.nav-cta:hover { background: #a84d33; }

/* ───────── SECTIONS ───────── */

section {
    padding: 100px 48px;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-wide {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--whiskey);
    margin-bottom: 24px;
}

.section-label.rust { color: var(--rust); }

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--paper);
    margin-bottom: 28px;
    max-width: 800px;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.12;
    color: var(--paper);
    margin-bottom: 24px;
}

h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-intro {
    font-size: 1.1rem;
    color: rgba(247, 245, 242, 0.65);
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Light section overrides */

.section-light {
    background: var(--paper);
    color: var(--ink);
}

.section-light h2, .section-light h3 { color: var(--ink); }

.section-light .section-intro { color: var(--slate); }

.section-ink {
    background: var(--ink);
    border-top: 1px solid rgba(247, 245, 242, 0.06);
}

/* ───────── BUTTONS ───────── */

.btn-primary {
    display: inline-block;
    background: var(--rust);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-primary:hover { background: #a84d33; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--rust);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 13px 28px;
    text-decoration: none;
    border: 1px solid rgba(196, 93, 62, 0.4);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--rust);
    color: var(--paper);
    border-color: var(--rust);
}

.what-card {
    padding: 32px;
    background: rgba(247, 245, 242, 0.03);
    border: 1px solid rgba(247, 245, 242, 0.08);
    border-radius: 2px;
}

.what-number {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 16px;
}

.what-card p {
    color: rgba(247, 245, 242, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

/* ───────── CURRICULUM ───────── */

.curriculum-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 48px;
    background: rgba(26, 26, 26, 0.08);
}

.phase {
    padding: 40px 32px;
    background: var(--paper);
    position: relative;
}

.phase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.phase-1::before { background: var(--whiskey); }

.phase-2::before { background: var(--rust); }

.phase-3::before { background: var(--frost-dark); }

.phase-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.phase-1 .phase-label { color: var(--whiskey); }

.phase-2 .phase-label { color: var(--rust); }

.phase-3 .phase-label { color: var(--frost-dark); }

.phase-modules {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.phase p {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.6;
}

.phase-wide { grid-column: span 2; }

.testimonial {
    border-left: 3px solid var(--rust);
    padding-left: 28px;
}

.testimonial blockquote {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--paper);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 18px;
}

.attribution {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--whiskey);
}

.attribution-role {
    font-size: 13px;
    color: rgba(247, 245, 242, 0.4);
    margin-top: 4px;
}

.audience-item {
    padding-left: 20px;
    border-left: 2px solid rgba(26, 26, 26, 0.12);
}

.audience-item h3 {
    font-size: 20px;
    color: var(--ink);
    margin-bottom: 8px;
}

.audience-item p {
    font-size: 15px;
    color: var(--slate);
    line-height: 1.6;
}

/* ───────── PRICING ───────── */

.pricing-card {
    max-width: 640px;
    padding: 40px;
    background: rgba(247, 245, 242, 0.04);
    border: 1px solid rgba(247, 245, 242, 0.12);
    border-radius: 2px;
    margin-top: 40px;
}

.includes {
    padding-top: 28px;
    border-top: 1px solid rgba(247, 245, 242, 0.08);
}

.includes-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--whiskey);
    margin-bottom: 20px;
}

.includes-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(247, 245, 242, 0.06);
    align-items: baseline;
}

.includes-row:last-child { border-bottom: none; }

.includes-row-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247, 245, 242, 0.45);
}

.includes-row-detail {
    color: rgba(247, 245, 242, 0.82);
    font-size: 15px;
    line-height: 1.5;
}

/* ───────── CTA BAND ───────── */

.cta-band {
    background: var(--rust);
    padding: 72px 48px;
    text-align: center;
}

.cta-band h2 {
    color: var(--paper);
    margin-bottom: 16px;
}

.cta-band p {
    color: rgba(247, 245, 242, 0.88);
    max-width: 480px;
    margin: 20px auto 32px;
    font-size: 1.1rem;
}

.cta-band-btn {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 32px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cta-band-btn:hover { background: #000000; }

/* ───────── FOOTER ───────── */

footer {
    background: var(--smoke);
    padding: 56px 48px;
    border-top: 1px solid rgba(247, 245, 242, 0.08);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

footer .ca-cobrand { margin-bottom: 12px; }

.footer-copy {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(247, 245, 242, 0.3);
    margin-top: 20px;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247, 245, 242, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--paper); }

/* ───────── RESPONSIVE ───────── */

@media (max-width: 968px) {
    header { padding: 16px 20px; }
    nav { display: none; }
    .ca-cobrand.header { column-gap: 18px; }
    section { padding: 64px 24px; }
    .curriculum-phases { gap: 2px; }
    .phase-wide { grid-column: auto; }
    .pricing-card { padding: 28px; }
    .includes-row { grid-template-columns: 1fr; gap: 4px; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
}

/* Narrow screens: scale the co-brand lockup (marks + both descriptors) so it
   fits without overflow, holding down to ~320px. */

@media (max-width: 520px) {
    .ca-cobrand.header { column-gap: 12px; }
    .ca-cobrand.header .ca-mark { height: 38px; }
    .ca-cobrand.header .ca-fontanini img { height: 37px; }
    .ca-cobrand.header .ca-academy, .ca-cobrand.header .ca-adv { font-size: 8px; letter-spacing: 0.2em; margin-top: 11px; }
    .ca-cobrand.header .ca-adv { margin-right: -0.2em; }
}
