/* =========================================
   INTERPRETER PATHWAYS — page-scoped styles
========================================= */

:root {
    --terps-path-primary: #A4C912;
    --terps-path-ink: #21213E;
    --terps-path-ink-soft: #3a3a5c;
    --terps-path-white: #ffffff;
    --terps-path-cream: #f7f9f0;
    --terps-path-muted: #5c5c72;
    --terps-path-light: #c5df5a;
    --terps-path-lighter: #e8f2c4;
    --terps-path-pale: #f3f8e3;
    --terps-path-shadow: 0 12px 32px rgba(33, 33, 62, 0.1);
    --terps-path-shadow-soft: 0 6px 18px rgba(33, 33, 62, 0.08);
    --terps-path-radius: 18px;
    --terps-path-max: 1120px;
}

.main-header {
    display: none;
}

body:has(.terps-path-page) {
    background: var(--terps-path-cream);
}

.menu-list a.active,
.menu-list a[aria-current="page"] {
    color: var(--terps-path-ink);
    opacity: 1;
    box-shadow: inset 0 -3px 0 var(--terps-path-primary);
    padding-bottom: 4px;
}

.terps-path-page {
    color: var(--terps-path-ink);
    background: var(--terps-path-cream);
    overflow-x: hidden;
}

.terps-path-container {
    width: min(92%, var(--terps-path-max));
    margin: 0 auto;
}

#progression,
#pathway-options,
#support,
#what-happens-next {
    scroll-margin-top: 24px;
}

.terps-path-hero {
    padding: clamp(40px, 7vw, 72px) 0 clamp(36px, 5vw, 56px);
    background:
        radial-gradient(circle at 90% 10%, rgba(164, 201, 18, 0.26), transparent 42%),
        linear-gradient(165deg, var(--terps-path-white) 0%, var(--terps-path-pale) 100%);
}

.terps-path-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--terps-path-lighter);
    color: var(--terps-path-ink);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.terps-path-title {
    margin: 0 0 16px;
    max-width: 18ch;
    color: var(--terps-path-ink);
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.12;
    font-weight: 800;
}

.terps-path-lead {
    margin: 0 0 26px;
    max-width: 46rem;
    color: var(--terps-path-ink-soft);
    font-size: 1.05rem;
    line-height: 1.75;
}

.terps-path-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.terps-path-btn:focus-visible {
    outline: 3px solid var(--terps-path-ink);
    outline-offset: 3px;
}

.terps-path-btn-primary {
    background: var(--terps-path-primary);
    border-color: var(--terps-path-primary);
    color: var(--terps-path-ink);
}

.terps-path-btn-primary:hover {
    background: var(--terps-path-light);
    border-color: var(--terps-path-light);
    color: var(--terps-path-ink);
}

.terps-path-btn-dark {
    background: var(--terps-path-ink);
    border-color: var(--terps-path-ink);
    color: var(--terps-path-white);
}

.terps-path-btn-dark:hover {
    background: var(--terps-path-ink-soft);
    border-color: var(--terps-path-ink-soft);
    color: var(--terps-path-white);
}

.terps-path-section {
    padding: clamp(48px, 7vw, 72px) 0;
    background: var(--terps-path-white);
}

.terps-path-timeline-section,
.terps-path-next-section {
    background: var(--terps-path-cream);
}

.terps-path-section-title {
    margin: 0 0 12px;
    color: var(--terps-path-ink);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.terps-path-section-desc {
    margin: 0 0 28px;
    max-width: 46rem;
    color: var(--terps-path-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.terps-path-timeline {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.terps-path-timeline-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 54px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--terps-path-primary);
    color: var(--terps-path-ink);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.3;
    box-shadow: var(--terps-path-shadow-soft);
}

.terps-path-timeline-arrow {
    color: var(--terps-path-ink);
    font-size: 0.95rem;
}

.terps-path-disclaimer {
    margin: 0;
    max-width: 46rem;
    color: var(--terps-path-ink-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

.terps-path-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.terps-path-option-card {
    background: var(--terps-path-cream);
    border: 1px solid rgba(164, 201, 18, 0.28);
    border-radius: var(--terps-path-radius);
    padding: clamp(22px, 3vw, 28px);
    box-shadow: var(--terps-path-shadow-soft);
}

.terps-path-option-label {
    margin: 0 0 8px;
    color: var(--terps-path-dark, #7f9c0e);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.terps-path-option-title {
    margin: 0 0 16px;
    color: var(--terps-path-ink);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
}

.terps-path-points {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--terps-path-ink-soft);
    line-height: 1.65;
}

.terps-path-points li + li {
    margin-top: 8px;
}

.terps-path-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.terps-path-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--terps-path-white);
    border: 1px solid rgba(164, 201, 18, 0.22);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--terps-path-shadow-soft);
}

.terps-path-step-number {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--terps-path-primary);
    color: var(--terps-path-ink);
    font-weight: 800;
}

.terps-path-step h3 {
    margin: 0 0 6px;
    color: var(--terps-path-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.terps-path-step p {
    margin: 0;
    color: var(--terps-path-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.terps-path-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.terps-path-support-card {
    background: var(--terps-path-cream);
    border: 1px solid rgba(164, 201, 18, 0.2);
    border-radius: var(--terps-path-radius);
    padding: 20px 18px;
    box-shadow: var(--terps-path-shadow-soft);
}

.terps-path-support-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: var(--terps-path-primary);
    color: var(--terps-path-ink);
}

.terps-path-support-card h3 {
    margin: 0 0 8px;
    color: var(--terps-path-ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.terps-path-support-card p {
    margin: 0;
    color: var(--terps-path-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.terps-path-cta-band {
    background:
        linear-gradient(135deg, var(--terps-path-primary) 0%, var(--terps-path-light) 55%, var(--terps-path-primary) 100%);
    padding: clamp(48px, 7vw, 72px) 0;
}

.terps-path-cta-inner {
    text-align: center;
    max-width: 720px;
}

.terps-path-cta-title {
    margin: 0 0 12px;
    color: var(--terps-path-ink);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
}

.terps-path-cta-text {
    margin: 0 auto 22px;
    max-width: 36rem;
    color: var(--terps-path-ink-soft);
    line-height: 1.7;
}

@media (max-width: 980px) {
    .terps-path-options-grid,
    .terps-path-support-grid {
        grid-template-columns: 1fr 1fr;
    }

    .terps-path-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .terps-path-timeline {
        flex-direction: column;
        align-items: stretch;
    }

    .terps-path-timeline-arrow {
        text-align: center;
        transform: rotate(90deg);
    }

    .terps-path-options-grid,
    .terps-path-support-grid,
    .terps-path-steps {
        grid-template-columns: 1fr;
    }

    .terps-path-btn {
        width: 100%;
    }
}
