/* ============================================================
   Kehokapina — page/section styles. Mobile-first.
   Landing sections in document order; interior pages follow.
   ============================================================ */

/* ============ LANDING ============ */

/* --- Hero --- */
.hero {
    position: relative;
    min-height: clamp(540px, 88vh, 780px);
    background-size: cover;
    background-position: center 20%;
    display: flex;
    align-items: flex-end;
    /* The text scrim (::before on .hero__content) feathers past the edges via
       negative insets — clip it or it widens the page on phones. */
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 15, 0.55) 0%, rgba(10, 22, 15, 0.15) 40%, rgba(10, 22, 15, 0.88) 100%);
}
@media (min-width: 900px) {
    .hero::before {
        background: linear-gradient(90deg, rgba(10, 22, 15, 0.86) 0%, rgba(10, 22, 15, 0.5) 42%, rgba(10, 22, 15, 0.05) 72%);
    }
}
/* Darken the top strip so the overlay nav stays readable on light photo areas */
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 130px;
    background: linear-gradient(180deg, rgba(10, 22, 15, 0.6) 0%, rgba(10, 22, 15, 0) 100%);
}
.hero__content { z-index: 1; }
/* Soft scrim behind the text block — keeps the gold eyebrow and lead readable
   over light photo areas at every viewport, without flattening the photo. */
.hero__content::before {
    content: "";
    position: absolute;
    inset: 12% -35% -6% -60%;
    background: radial-gradient(ellipse at 35% 55%, rgba(10, 22, 15, 0.6) 0%, rgba(10, 22, 15, 0.35) 45%, transparent 72%);
    z-index: -1;
    pointer-events: none;
}
.hero__content {
    position: relative;
    max-width: 660px;
    /* Top padding clears the absolutely-positioned overlay header when the
       content is tall enough to define the hero height (short windows). */
    padding: 120px var(--pad-x) clamp(2.4rem, 7vh, 4.9rem);
}
@media (min-width: 900px) {
    /* Align the content with the .container's left edge on screens wider than
       the container. MARGIN, not padding — padding counts inside max-width
       (border-box) and would squeeze the text into a word-per-line "tower"
       on wide screens. */
    .hero__content { margin-left: max(0px, calc((100vw - var(--container)) / 2)); }
}
.hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 1.3rem;
    /* Keeps the gold readable where the photo behind is light */
    text-shadow: 0 1px 3px rgba(10, 22, 15, 0.65), 0 0 18px rgba(10, 22, 15, 0.5);
}
.hero__title {
    font-size: var(--fs-hero);
    line-height: 0.92;
    color: var(--c-cream);
    margin: 0 0 1.4rem;
    text-shadow: 0 2px 24px rgba(10, 22, 15, 0.45);
}
.hero__lead {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    line-height: 1.6;
    color: var(--c-soft-ondark);
    max-width: 480px;
    margin: 0 0 2rem;
    text-shadow: 0 1px 3px rgba(10, 22, 15, 0.6), 0 0 14px rgba(10, 22, 15, 0.45);
}
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* --- Brand words strip --- */
.brand-strip {
    background: var(--c-forest);
    padding: 1.2rem var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    text-align: center;
}
.brand-strip__word {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: clamp(1rem, 2.4vw, 1.375rem);
    color: var(--c-soft-ondark);
}
.brand-strip__sep { color: var(--c-gold-antique); }
/* Small screens: a tidy 2×2 word grid — separators would orphan at line breaks */
@media (max-width: 719px) {
    .brand-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; }
    .brand-strip__sep { display: none; }
}

/* --- Section scaffold --- */
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section--sand { background: var(--c-sand-deep); }

.section__head { margin-bottom: clamp(1.8rem, 5vw, 2.75rem); }
.section__head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.section__head--center { text-align: center; }
.section__title { font-size: var(--fs-h2); margin: 0; }
.section__intro { font-size: 0.9375rem; line-height: 1.6; max-width: 340px; margin: 0; }

/* --- Program cards --- */
.programs__grid {
    display: grid;
    gap: 1.6rem;
}
@media (min-width: 820px) { .programs__grid { grid-template-columns: 1fr 1fr; gap: 1.9rem; } }

.program-card { display: flex; flex-direction: column; }
.program-card__media {
    height: clamp(190px, 32vw, 360px);
    background-size: cover;
    background-position: center 20%;
}
@media (min-width: 1440px) {
    .program-card__media { background-position: center 8%; }
}
.program-card__body { padding: clamp(1.3rem, 3vw, 2.2rem); flex: 1; display: flex; flex-direction: column; }
.program-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.program-card__title { font-size: var(--fs-h3); margin: 0; }
.program-card__price { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.875rem); color: var(--c-gold-large); white-space: nowrap; }
.program-card__desc { font-size: 0.9375rem; line-height: 1.65; margin: 0.9rem 0 1.5rem; flex: 1; }
.program-card__actions { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.program-card__vip-note {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--c-gold-deep);
    text-transform: uppercase;
}

/* --- How it works --- */
.steps { display: grid; gap: 2.2rem; }
@media (min-width: 820px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
    .steps__item:nth-child(2) { border-left: 1px solid var(--c-border-sand); border-right: 1px solid var(--c-border-sand); }
}
.steps__item { text-align: center; padding: 0 1.1rem; }
.steps__number { font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: var(--c-gold-large); }
.steps__title { font-family: var(--font-sans); font-weight: 700; font-size: 1.25rem; color: var(--c-forest); margin: 0.85rem 0 0.6rem; }
.steps__text { font-size: 0.875rem; line-height: 1.6; margin: 0; }

/* --- VIP band --- */
.vip-band { background: var(--c-forest); color: var(--c-body-ondark); }
.vip-band__grid { display: grid; }
@media (min-width: 900px) { .vip-band__grid { grid-template-columns: 1fr 1fr; } }
.vip-band__media {
    min-height: clamp(260px, 45vw, 560px);
    background-size: cover;
    background-position: center 6%;
}
.vip-band__body {
    padding: clamp(2.4rem, 6vw, 4.75rem) clamp(1.25rem, 5vw, 3.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vip-band__title { font-size: var(--fs-h2); color: var(--c-cream); margin: 0 0 1.2rem; }
.vip-band__lead { font-size: clamp(0.95rem, 1.6vw, 1.0625rem); line-height: 1.65; max-width: 460px; margin: 0 0 1.6rem; }
.vip-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
.vip-list li { display: flex; gap: 0.75rem; font-size: 0.9375rem; color: var(--c-soft-ondark); }
.vip-list li::before { content: "✦"; color: var(--c-gold); flex: none; }

/* --- Values band (full-bleed) --- */
.values-band {
    position: relative;
    min-height: clamp(380px, 60vw, 520px);
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
}
.values-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 15, 0.45) 0%, rgba(10, 22, 15, 0.85) 100%);
}
@media (min-width: 900px) {
    .values-band::before {
        background: linear-gradient(90deg, rgba(10, 22, 15, 0.08) 0%, rgba(10, 22, 15, 0.55) 55%, rgba(10, 22, 15, 0.88) 100%);
    }
    /* Right-aligned, but anchored to the container edge on ultrawide screens
       (margin, not padding — see the hero note) */
    .values-band__content {
        margin-left: auto;
        margin-right: max(0px, calc((100vw - var(--container)) / 2));
    }
}
.values-band__content {
    position: relative;
    max-width: 560px;
    padding: 3rem var(--pad-x);
}
.values-band__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--fs-quote);
    line-height: 1.32;
    color: var(--c-cream);
    margin: 0 0 1rem;
}
.values-band__text { font-size: 1rem; line-height: 1.6; color: var(--c-body-ondark); margin: 0; }

/* --- About Riina --- */
.about__grid { display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; } }
.about__photo { border: 1px solid var(--c-border); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .about__photo { height: 560px; } .about__photo img { height: 560px; } }
.about__title { font-size: var(--fs-h2); line-height: 1.04; margin: 0 0 1.3rem; }
.about__text { font-size: 1rem; line-height: 1.7; margin: 0 0 1.1rem; }
.about__signature {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 1.375rem;
    color: var(--c-moss);
    margin: 0.5rem 0 1.5rem;
}

/* --- Manifesto quote --- */
.manifesto {
    background: var(--c-forest-footer);
    padding: clamp(3.4rem, 10vw, 6rem) var(--pad-x);
    text-align: center;
}
.manifesto__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.7rem, 4.5vw, 3.25rem);
    line-height: 1.28;
    color: var(--c-cream);
    max-width: 900px;
    margin: 0 auto;
}
.manifesto__brand {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    color: var(--c-gold);
    margin-top: 1.9rem;
}

/* --- Gold CTA band --- */
.cta-band {
    background: var(--c-gold);
    padding: clamp(2.9rem, 8vw, 4.5rem) var(--pad-x);
    text-align: center;
}
.cta-band__title { font-size: var(--fs-h2); color: var(--c-forest); margin: 0 0 0.6rem; }
.cta-band__text { font-size: 1rem; color: var(--c-forest-dark); margin: 0 0 1.9rem; }

/* ============ ABOUT PAGE ============ */

.biography__hero {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.biography__opening { max-width: 650px; }
.biography__opening h1 { font-size: var(--fs-hero); margin-bottom: 0.35em; }
.biography__intro { font-size: clamp(1.125rem, 2vw, 1.5rem); line-height: 1.65; margin: 0; }
.biography__portrait {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    justify-self: center;
}
.biography__story { padding-bottom: var(--space-section); }
.biography__prose { max-width: 740px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.85; }
.biography__prose > p { margin-bottom: 1.6rem; }
.biography__highlight {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    line-height: 1.5;
    color: var(--c-forest);
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-left: 2px solid var(--c-gold-antique);
}
.biography__signoff { margin: 2rem 0; }
.biography__signoff p { margin: 0; }
.biography__name { font-family: var(--font-quote); font-style: italic; font-size: 2rem; color: var(--c-forest); }
.biography__role { font-size: 0.875rem; }
.biography__education-title { margin-bottom: 2.5rem; }
.qualifications { display: grid; gap: 2.5rem; }
.qualification { margin: 0; min-width: 0; }
.qualification__image { display: block; background: var(--c-card); border: 1px solid var(--c-border-sand); }
.qualification__image img { width: 100%; height: auto; }
.qualification__image--diploma img { aspect-ratio: 1272 / 986; object-fit: contain; }
.qualification figcaption { padding-top: 1.25rem; }
.qualification h3 { font-size: 1.375rem; line-height: 1.2; margin-bottom: 0.5rem; }
.qualification p { font-size: 0.875rem; margin-bottom: 0.25rem; }
.qualification__issuer { color: var(--c-muted); }
.qualification__link { display: inline-block; padding: 0.65rem 0; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 0.2em; }

@media (min-width: 820px) {
    .biography__hero { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 6rem); }
    .biography__story { padding-top: 1.5rem; }
    .qualifications { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============ PRODUCT PAGE ============ */

/* Capped at the container width — a full-bleed 50/50 split leaves a dead zone
   on ultrawide screens (the design frames this at 1400). */
.product-hero { display: grid; max-width: var(--container); margin: 0 auto; }
@media (min-width: 900px) { .product-hero { grid-template-columns: 1.05fr 0.95fr; } }
.product-hero__media {
    min-height: clamp(280px, 50vw, 680px);
    background-size: cover;
    background-position: center 20%;
}
.product-hero__body {
    padding: clamp(1.9rem, 5vw, 4rem) clamp(1.25rem, 5vw, 3.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-hero__crumb {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: 1.25rem;
}
.product-hero__title { font-size: clamp(2.5rem, 5.5vw, 4.125rem); line-height: 0.98; margin: 0 0 1.1rem; }
.product-hero__desc { font-size: 1.0625rem; line-height: 1.65; max-width: 440px; margin: 0 0 1.6rem; }
.product-hero__price { display: flex; align-items: baseline; gap: 0.9rem; }
.product-hero__amount { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.25rem); color: var(--c-forest); }
.product-hero__price-note { font-size: 0.875rem; color: var(--c-muted); }
.product-hero__vat { font-size: 0.8125rem; color: var(--c-muted); margin: 0.25rem 0 1.5rem; }
.product-hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.7rem; }
.product-hero__ticks { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: 0.8125rem; color: var(--c-body); }

.inside__grid { display: grid; gap: 1.4rem; }
@media (min-width: 820px) { .inside__grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.inside__card { padding: 1.9rem; }
.inside__figure { font-family: var(--font-display); font-size: 1.875rem; color: var(--c-gold-large); }
.inside__title { font-weight: 700; font-size: 1.0625rem; color: var(--c-forest); margin: 0.5rem 0; }
.inside__text { font-size: 0.875rem; line-height: 1.6; margin: 0; }

.reassurance {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--fs-quote);
    line-height: 1.34;
    color: var(--c-moss);
    max-width: 820px;
    margin: 0 auto;
}

/* ============ ORDER OPTIONS STEP ============ */

.order-wrap { display: flex; justify-content: center; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.order {
    width: 100%;
    max-width: 520px;
    background: var(--c-cream);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-card);
    padding: clamp(1.4rem, 4vw, 2.1rem);
}
.order__secure {
    text-align: center;
    font-size: 0.75rem;
    color: var(--c-muted);
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--c-border);
}
.order__steps {
    list-style: none;
    display: flex;
    gap: 0.9rem;
    padding: 1rem 0 0.4rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-border-sand);
}
.order__steps li.is-done { color: var(--c-moss); opacity: 0.55; }
.order__steps li.is-current { color: var(--c-forest); }
.order__steps li + li::before { content: "›"; color: var(--c-gold-antique); margin-right: 0.9rem; }

.order__line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-border);
}
.order__line-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--c-forest); }
.order__line-desc { font-size: 0.75rem; color: var(--c-muted); }
.order__line-price { font-family: var(--font-display); font-size: 1.375rem; color: var(--c-forest); white-space: nowrap; }

/* VIP toggle card */
.vip-toggle {
    margin-top: 1.25rem;
    border: 1.5px solid var(--c-gold-antique);
    background: var(--c-card);
    padding: 1.25rem;
}
.vip-toggle__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.9rem; }
.vip-toggle__badge {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gold-deep);
    margin-bottom: 0.4rem;
}
.vip-toggle__title { font-family: var(--font-display); font-size: 1.375rem; color: var(--c-forest); }
.vip-toggle__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--c-border);
    padding-top: 0.8rem;
    min-height: 2.2rem;
}
.vip-toggle__status { font-size: 0.75rem; color: var(--c-gold-deep); }
.vip-toggle__price { font-family: var(--font-display); font-size: 1.375rem; color: var(--c-gold-large); white-space: nowrap; }

.vip-list--onlight { margin: 0.9rem 0; gap: 0.5rem; }
.vip-list--onlight li { color: var(--c-body); font-size: 0.8125rem; }

/* Toggle switch (a styled checkbox) */
.switch { position: relative; display: inline-block; flex: none; }
.switch input {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}
.switch__track {
    display: block;
    width: 50px; height: 28px;
    border-radius: 16px;
    background: var(--c-border-sand);
    position: relative;
    transition: background var(--transition);
}
.switch__track::after {
    content: "";
    position: absolute;
    top: 3px; left: 3px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c-cream);
    transition: transform var(--transition), background var(--transition);
}
.switch input:checked + .switch__track { background: var(--c-forest); }
.switch input:checked + .switch__track::after { transform: translateX(22px); background: var(--c-gold); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--c-gold); outline-offset: 2px; }

.order__totals { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--c-border); }
.order__total-row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.5rem; }
.order__total-row--grand { align-items: baseline; font-weight: 700; color: var(--c-forest); font-size: 1rem; }
.order__grand { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; }

.order__consents { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.2rem; }
.order__consents .form-check { font-size: 0.78rem; }
.order__privacy-notice {
    color: var(--c-muted);
    font-size: 0.75rem;
    line-height: 1.55;
    margin: -0.2rem 0 0;
}
.order__marketing-consent {
    border-top: 1px solid var(--c-border);
    margin-top: 0.25rem;
    padding-top: 1rem;
}
.order__submit { margin-top: 1.3rem; }
.order__powered { text-align: center; font-size: 0.6875rem; color: var(--c-muted); margin-top: 0.8rem; }

/* ============ STATUS PAGES (success / pending / cancel / download) ============ */

.status { padding: clamp(3rem, 9vw, 5.5rem) var(--pad-x); }
.status--dark { background: var(--c-forest); }
.status__inner { max-width: 460px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 0.4rem; }
.status__inner .eyebrow { margin-bottom: 0.4rem; }
.status__inner .btn { margin: 0.9rem auto 0; min-width: 240px; }
.status__inner .btn--block { width: 100%; }

.status__icon {
    width: 84px; height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.4rem;
}
.status__icon--gold { background: var(--c-gold); color: var(--c-forest); }
.status__icon--outline { background: var(--c-sand-deep); border: 2px solid var(--c-gold-antique); color: var(--c-gold-deep); }
.status__icon--soft { background: var(--c-sand-deep); color: var(--c-moss); }

.status__title { font-size: clamp(2.1rem, 5vw, 2.875rem); line-height: 1.02; margin: 0 0 0.5rem; }
.status__title--ondark { color: var(--c-cream); }
.status__body { font-size: 0.9375rem; line-height: 1.65; margin: 0 0 1rem; }
.status__body--ondark { color: var(--c-body-ondark); }

.status__file {
    background: var(--c-cream);
    padding: 1.1rem 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
    margin-bottom: 0.4rem;
}
.status__file--light { background: var(--c-card); border: 1px solid var(--c-border); justify-content: flex-start; }
.status__file-badge {
    flex: none;
    width: 48px; height: 48px;
    background: var(--c-forest);
    color: var(--c-gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.status__file-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--c-forest); line-height: 1.1; }
.status__file-meta { font-size: 0.6875rem; color: var(--c-muted); margin-top: 0.2rem; }
.status__file-icon { font-size: 1.4rem; color: var(--c-gold-antique); }

.status__vip-note { font-size: 0.75rem; color: var(--c-muted-ondark); margin: 0.9rem 0 0; }
.status__note {
    background: var(--c-sand-deep);
    border: 1px solid var(--c-border);
    padding: 0.9rem 1.1rem;
    font-size: 0.8125rem;
    color: var(--c-body);
    margin: 0.4rem 0;
}
.status__quote {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--c-moss);
    border-top: 1px solid var(--c-border);
    padding-top: 1.4rem;
    margin: 1.9rem 0 0;
}

/* Lost-link pointer + resend form */
.status__lost { font-size: 0.75rem; color: var(--c-muted); margin: 1.2rem 0 0; }
.status__lost--ondark { color: var(--c-muted-ondark); }
.status__lost--ondark a { color: var(--c-gold); }
.links__title { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0 0 0.5rem; }
.links__body { font-size: 0.9375rem; line-height: 1.6; margin: 0 0 1.4rem; }
.links__label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--c-forest); margin-bottom: 0.4rem; }
.links__input {
    width: 100%;
    font: inherit;
    padding: 0.85rem 1rem;
    border: 1px solid var(--c-border-sand);
    background: var(--c-card);
    color: var(--c-body);
}
.links__input:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 1px; }

/* Multi-file download list */
.status__inner--wide { max-width: 560px; }
.filelist { display: flex; flex-direction: column; gap: 0.7rem; margin: 0.4rem 0 0.8rem; }
.filelist__row {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
}
.filelist__meta { flex: 1; min-width: 0; }
.filelist__btn { padding: 0.75rem 1.4rem; font-size: 0.75rem; margin: 0 !important; min-width: 0 !important; }
.filelist__unavailable { font-size: 0.75rem; color: var(--c-muted); white-space: nowrap; }

/* ============ 404 ============ */

.notfound { display: grid; background: var(--c-forest); min-height: 560px; }
@media (min-width: 900px) { .notfound { grid-template-columns: 1.1fr 0.9fr; } }
.notfound__body {
    padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 3.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.notfound__code { font-family: var(--font-display); font-size: clamp(6rem, 14vw, 9.375rem); line-height: 0.85; color: var(--c-gold); margin-bottom: 1.2rem; }
.notfound__title { font-size: var(--fs-h2); color: var(--c-cream); margin: 0 0 1rem; }
.notfound__text { font-size: 1.0625rem; line-height: 1.65; color: var(--c-body-ondark); max-width: 420px; margin: 0 0 2rem; }
.notfound__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.notfound__media { background-size: cover; background-position: center 18%; min-height: 280px; }

/* ============ LEGAL PAGES ============ */

.legal {
    display: grid;
    gap: 2.4rem;
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}
@media (min-width: 900px) { .legal { grid-template-columns: 0.9fr 2.1fr; gap: 3.5rem; align-items: start; } }
.legal__toc-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--c-gold-deep);
    margin-bottom: 1.1rem;
}
.legal__toc-nav { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9375rem; }
.legal__toc-nav a { color: var(--c-muted); padding-left: 1rem; }
.legal__toc-nav a.is-active {
    color: var(--c-forest);
    font-weight: 700;
    border-left: 2px solid var(--c-gold-antique);
    padding-left: 0.875rem;
}
.legal__content { max-width: 720px; }
.legal__title { font-size: clamp(2.1rem, 4.5vw, 3.25rem); line-height: 1.02; margin: 0 0 1.4rem; }
.legal__lead { font-size: 1rem; line-height: 1.75; margin: 0 0 1.6rem; }
.legal__content h2 { font-size: 1.75rem; margin: 1.6rem 0 0.6rem; }
.legal__content p { font-size: 0.9375rem; line-height: 1.75; }
.legal__updated { color: var(--c-muted); font-size: 0.8125rem !important; }
.legal__notice {
    background: var(--c-sand-deep);
    border-left: 3px solid var(--c-gold-antique);
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--c-body);
}
.legal-form {
    display: grid;
    gap: 0.55rem;
    margin: 1.75rem 0 2.5rem;
}
.legal-form .links__label { margin-top: 0.65rem; }
.legal-form textarea { min-height: 8rem; resize: vertical; }
.legal-form__confirmation { margin: 1rem 0 0.35rem; }
.legal-form .btn { justify-self: start; }
