:root {
    --bg: #f7f1e8;
    --panel: rgba(255, 251, 245, 0.86);
    --panel-soft: rgba(255, 255, 255, 0.52);
    --line: rgba(138, 84, 37, 0.14);
    --line-soft: rgba(138, 84, 37, 0.08);
    --text: #24160d;
    --muted: #8f735c;
    --accent: #a86a33;
    --accent-strong: #8a5425;
    --shadow: 0 28px 70px rgba(103, 69, 38, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 85% 12%, rgba(168, 106, 51, 0.12), transparent 22%),
        radial-gradient(circle at 12% 16%, rgba(168, 106, 51, 0.08), transparent 14%),
        linear-gradient(180deg, #fcf8f2 0%, #f7f1e8 54%, #f1e6d7 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(138, 84, 37, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 84, 37, 0.022) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 90%);
}

.landing-shell {
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
    padding-bottom: 64px;
}

.site-header {
    position: sticky;
    top: 18px;
    z-index: 10;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 251, 245, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px rgba(103, 69, 38, 0.08);
}

.header-utility {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.utility-pill {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(168, 106, 51, 0.16);
    background: rgba(255, 255, 255, 0.74);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
}

.brand {
    color: var(--text);
    text-decoration: none;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.24em;
}

.site-nav {
    display: inline-flex;
    justify-content: center;
    gap: 28px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
}

.header-actions {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.header-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.46);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.header-link--filled,
.primary-link {
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff8f0;
    font-weight: 800;
}

.header-link:hover,
.primary-link:hover,
.secondary-link:hover {
    transform: translateY(-2px);
}

.hero {
    min-height: calc(100svh - 120px);
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    gap: 42px;
    align-items: center;
    padding: 44px 0 36px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.19em;
    font-size: 0.76rem;
    font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.support-copy h2,
.cta-section h2 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.05em;
}

.hero-copy h1 {
    max-width: 8.8ch;
    font-size: clamp(2.8rem, 4.8vw, 4.35rem);
    line-height: 0.94;
}

.hero-text {
    max-width: 28rem;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.74;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 38rem;
    margin-top: 28px;
}

.hero-metric {
    padding: 16px 16px 14px;
    border-radius: 22px;
    border: 1px solid rgba(168, 106, 51, 0.16);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 30px rgba(103, 69, 38, 0.06);
}

.hero-metric strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.46rem;
    letter-spacing: -0.04em;
}

.hero-metric span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.84rem;
}

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

.hero-callout {
    margin-top: 6px;
    display: grid;
    gap: 6px;
    max-width: 28rem;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(168, 106, 51, 0.14);
    background: rgba(255, 255, 255, 0.7);
}

.hero-callout strong {
    font-size: 1rem;
}

.hero-callout span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.64;
}

.primary-link,
.secondary-link {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease;
}

.secondary-link {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.48);
}

.hero-notes {
    display: grid;
    gap: 10px;
    max-width: 35rem;
}

.hero-note {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(168, 106, 51, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: #6e5847;
    font-size: 0.92rem;
}

.hero-board {
    position: relative;
    min-height: 720px;
    border-radius: 40px;
    border: 1px solid rgba(168, 106, 51, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(245, 236, 224, 0.96)),
        radial-gradient(circle at 70% 24%, rgba(168, 106, 51, 0.22), transparent 30%);
    box-shadow: 0 34px 90px rgba(103, 69, 38, 0.16);
    overflow: hidden;
    transform: perspective(1200px) rotateX(1.6deg) rotateY(-2.2deg);
    transform-origin: center;
}

.hero-board-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(138, 84, 37, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 84, 37, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-board-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    top: 70px;
    right: 56px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 106, 51, 0.28), transparent 70%);
    filter: blur(14px);
    animation: drift 8s ease-in-out infinite;
}

.hero-board-window {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    padding: 26px;
}

.hero-board-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(168, 106, 51, 0.12);
    box-shadow: 0 10px 24px rgba(103, 69, 38, 0.06);
}

.hero-board-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-board-tab,
.hero-board-badge {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(168, 106, 51, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-board-tab.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff8f0;
    border-color: transparent;
}

.hero-board-focus,
.hero-board-card {
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(168, 106, 51, 0.14);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px rgba(103, 69, 38, 0.08);
}

.hero-board-focus {
    display: grid;
    gap: 16px;
    animation: riseIn 700ms ease 120ms both;
}

.hero-board-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-board-focus strong,
.hero-board-card strong {
    display: block;
    font-size: 1.32rem;
    line-height: 1.18;
}

.hero-board-focus p,
.hero-board-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.68;
}

.hero-learning-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(138, 84, 37, 0.1);
    overflow: hidden;
}

.hero-learning-bar span {
    display: block;
    width: 61%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), #f2b54a);
    animation: growBar 1.4s ease 260ms both;
}

.hero-board-core {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.hero-board-subjects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hero-board-subject {
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(168, 106, 51, 0.14);
    background: rgba(255, 255, 255, 0.88);
    display: grid;
    gap: 8px;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
    animation: riseIn 700ms ease both;
    box-shadow: 0 14px 28px rgba(103, 69, 38, 0.06);
}

.hero-board-subject:nth-child(1) {
    animation-delay: 180ms;
}

.hero-board-subject:nth-child(2) {
    animation-delay: 260ms;
}

.hero-board-subject:nth-child(3) {
    animation-delay: 340ms;
}

.hero-board-subject:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 106, 51, 0.34);
    background: rgba(255, 255, 255, 0.98);
}

.hero-board-subject-index {
    color: var(--accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-board-subject strong {
    font-size: 1rem;
}

.hero-board-subject p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.56;
}

.hero-board-side {
    display: grid;
    gap: 14px;
}

.hero-board-card {
    animation: riseIn 700ms ease 420ms both;
}

.hero-board-card--accent {
    background:
        linear-gradient(180deg, rgba(255, 249, 236, 0.98), rgba(255, 244, 214, 0.9));
    border-color: rgba(247, 179, 43, 0.34);
}

.hero-board-card--accent strong {
    font-size: 1.24rem;
}

.hero-board-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.hero-board-points span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(168, 106, 51, 0.1);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-board-points--tight {
    margin-top: 14px;
}

.support-strip,
.subjects-section,
.process-section,
.cta-section {
    padding-top: 82px;
}

.support-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 30px;
}

.support-copy,
.section-heading,
.cta-section {
    max-width: 760px;
}

.support-copy h2,
.section-heading h2,
.cta-section h2 {
    font-size: clamp(1.85rem, 3vw, 2.9rem);
    line-height: 1.02;
}

.support-list {
    display: grid;
    gap: 14px;
}

.support-item {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.support-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.06rem;
}

.support-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.subject-lanes,
.process-track {
    display: grid;
    gap: 16px;
}

.subject-lane {
    display: grid;
    grid-template-columns: 70px minmax(200px, 0.8fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.subject-lane span,
.process-number {
    color: var(--accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
}

.subject-lane strong,
.process-step strong {
    font-size: 1.14rem;
}

.subject-lane p,
.process-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.process-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
}

.cta-section {
    display: grid;
    gap: 18px;
    padding-bottom: 42px;
}

@keyframes drift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -18px, 0) scale(1.04);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growBar {
    from {
        width: 0;
    }
    to {
        width: 61%;
    }
}

@media (max-width: 1120px) {
    .site-header {
        grid-template-columns: 1fr;
        justify-items: start;
        border-radius: 30px;
    }

    .site-nav,
    .header-actions {
        flex-wrap: wrap;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy h1 {
        max-width: 11ch;
    }

    .support-strip,
    .process-track {
        grid-template-columns: 1fr;
    }

    .hero-board-subjects,
    .hero-board-core {
        grid-template-columns: 1fr 1fr;
    }

    .hero-board-side {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .subject-lane {
        grid-template-columns: 60px 1fr;
    }

    .subject-lane p {
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    .landing-shell {
        width: min(100% - 24px, 1220px);
    }

    .site-header {
        position: static;
        gap: 14px;
        margin-top: 12px;
        padding: 14px;
    }

    .hero {
        gap: 24px;
        padding-top: 26px;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2.5rem, 14vw, 3.95rem);
    }

    .hero-text {
        font-size: 0.94rem;
    }

    .hero-metrics,
    .hero-board-subjects,
    .hero-board-core,
    .hero-board-side {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .header-actions {
        width: 100%;
    }

    .primary-link,
    .secondary-link,
    .header-link {
        width: 100%;
    }

    .hero-note {
        min-height: 42px;
        font-size: 0.86rem;
    }

    .hero-board {
        min-height: auto;
        border-radius: 28px;
        transform: none;
    }

    .hero-board-window {
        padding: 16px;
    }

    .hero-board-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-board-focus,
    .hero-board-card {
        padding: 18px;
        border-radius: 22px;
    }

    .hero-board-focus strong,
    .hero-board-card strong {
        font-size: 1.12rem;
    }

    .support-strip,
    .subjects-section,
    .process-section,
    .cta-section {
        padding-top: 58px;
    }

    .support-copy h2,
    .section-heading h2,
    .cta-section h2 {
        font-size: 1.9rem;
    }

    .subject-lane {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .subject-lane p {
        grid-column: auto;
    }
}
