/* Supporting pages share the quiet paper treatment of the study workspace. */
.legal-page,
.email-action-page {
    background: #f7f6f2;
    color: #182b2b;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.legal-page > header { flex-wrap: wrap; }
.legal-page .info-header-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.legal-page .info-header-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 14px; color: #66756d; border-radius: 6px; font-size: .875rem; font-weight: 550; text-decoration: none; }
.legal-page .info-header-nav a:hover,
.legal-page .info-header-nav a.is-current { color: #176b55; background: #e8f0e9; }

.legal-page .legal-shell {
    width: min(100% - 48px, 1000px);
    margin: 64px auto 80px;
}

.legal-page .legal-document {
    padding: clamp(28px, 5vw, 64px);
    background: #fff;
    border: 1px solid #dce2dc;
    border-radius: 12px;
    box-shadow: none;
}

.legal-page .legal-kicker {
    margin: 0 0 18px;
    color: #176b55;
    font: 650 0.75rem/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.legal-page .legal-document h1,
.legal-page .contact-hero h1 {
    max-width: 18ch;
    margin: 0 0 22px;
    color: #182b2b;
    font: 400 clamp(2.5rem, 5vw, 4rem)/1.1 Georgia, "Times New Roman", serif;
    letter-spacing: -.035em;
}

.legal-page .legal-document h2,
.legal-page .contact-guidance h2,
.legal-page .contact-grid h2 {
    margin: 0 0 14px;
    color: #182b2b;
    font: 400 clamp(1.4rem, 2.2vw, 1.7rem)/1.25 Georgia, "Times New Roman", serif;
    letter-spacing: -.02em;
}

.legal-page .legal-document h3 {
    margin: 24px 0 10px;
    color: #182b2b;
    font: 600 1rem/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.legal-page .legal-document p,
.legal-page .legal-document li,
.legal-page .contact-hero p,
.legal-page .contact-grid p,
.legal-page .contact-guidance p {
    color: #66756d;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .98rem;
    line-height: 1.8;
}

.legal-page .legal-document p + p { margin-top: 16px; }
.legal-page .legal-document .legal-kicker,
.legal-page .contact-hero .legal-kicker { color: #176b55; font-size: .75rem; line-height: 1.5; }
.legal-page .legal-document .legal-updated { margin-bottom: 28px; font-size: .875rem; }

.legal-page .legal-document .legal-summary {
    margin: 30px 0 36px;
    padding: 22px 24px;
    color: #182b2b;
    background: #edf3ee;
    border: 1px solid #dce2dc;
    border-left: 3px solid #176b55;
    border-radius: 0 8px 8px 0;
    box-shadow: none;
    font: 400 .98rem/1.8 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.legal-page .legal-document .legal-summary strong { color: #182b2b; }
.legal-page .legal-document section { padding: 30px 0; border-top: 1px solid #dce2dc; }
.legal-page .legal-document section:last-child { padding-bottom: 0; }
.legal-page .legal-document ul { display: grid; padding-left: 22px; gap: 8px; }
.legal-page .legal-document a,
.legal-page .contact-shell a { color: #176b55; text-underline-offset: 4px; }

.legal-page .about-document > .about-lead {
    max-width: 64ch;
    margin: 0 0 36px;
    color: #66756d;
    font-size: 1.1rem;
    line-height: 1.8;
}

.legal-page .about-pillars,
.legal-page .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.legal-page .about-pillars article,
.legal-page .contact-grid article {
    padding: 26px;
    background: #fff;
    border: 1px solid #dce2dc;
    border-radius: 10px;
    box-shadow: none;
}

.legal-page .about-pillars article { background: #f7f6f2; }
.legal-page .about-pillars span,
.legal-page .contact-grid article > span { color: #176b55; font: 600 .75rem/1.5 system-ui, sans-serif; letter-spacing: .08em; }
.legal-page .about-pillars h3 { margin: 18px 0 10px; font: 400 1.3rem/1.3 Georgia, "Times New Roman", serif; }
.legal-page .about-pillars p,
.legal-page .contact-grid p { margin: 0; font-size: .94rem; }
.legal-page .about-closing { margin-top: 8px; }
.legal-page .about-closing h2 { max-width: 28ch; margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.15rem); }

.legal-page .contact-shell { width: min(100% - 48px, 1080px); }
.legal-page .contact-hero { max-width: 740px; padding: 16px 0 32px; }
.legal-page .contact-hero > p:not(.legal-kicker) { max-width: 62ch; font-size: 1.08rem; }
.legal-page .contact-grid h2 { margin-top: 18px; font-size: 1.45rem; }

.legal-page a.contact-email-button,
.email-action-page .email-action-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 24px;
    padding: 12px 21px;
    color: #fff;
    background: #176b55;
    border: 1px solid #176b55;
    border-radius: 7px;
    box-shadow: none;
    font: 600 .9rem/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-decoration: none;
    transition: background .16s ease;
}

.legal-page .contact-email-button:hover,
.email-action-page .email-action-home:hover { background: #125440; border-color: #125440; transform: none; box-shadow: none; }
.legal-page a:focus-visible,
.email-action-page a:focus-visible { outline: 3px solid #8fbbaa; outline-offset: 4px; }

.legal-page .contact-guidance {
    margin-top: 28px;
    padding: 32px;
    background: #edf3ee;
    border: 1px solid #dce2dc;
    border-radius: 10px;
}

.legal-page .contact-independent { margin-top: 24px; padding-top: 22px; border-top: 1px solid #dce2dc; font-weight: 500; }

.email-action-page {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0;
}

.email-action-page .email-action-card {
    width: min(100% - 40px, 540px);
    margin: clamp(48px, 12vh, 120px) auto 64px;
    padding: clamp(28px, 5vw, 48px);
    color: #182b2b;
    background: #fff;
    border: 1px solid #dce2dc;
    border-radius: 12px;
    box-shadow: none;
    text-align: center;
}

.email-action-page .email-action-brand {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 32px;
}

.email-action-page .email-action-brand img { display: block; width: 100%; height: auto; object-fit: contain; filter: none; }
.email-action-page .email-action-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; color: #176b55; background: #edf3ee; border: 1px solid #dce2dc; border-radius: 50%; font: 500 1.6rem/1 system-ui, sans-serif; box-shadow: none; }
.email-action-page.email-action-failure .email-action-mark { color: #9d4138; background: #fbf0ed; border-color: #ebccc6; }
.email-action-page .email-action-card h1 { margin: 0 0 18px; color: #182b2b; font: 400 clamp(1.8rem, 4vw, 2.25rem)/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.email-action-page .email-action-card p { margin: 0; color: #66756d; font: 400 1rem/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.email-action-page .email-action-home[hidden] { display: none; }
.email-action-page .site-footer { width: 100%; margin-top: auto; }

@media (max-width: 640px) {
    .legal-page > header { row-gap: 12px; }
    .legal-page .info-header-nav { width: 100%; margin-left: 0; gap: 4px; }
    .legal-page .info-header-nav a { padding: 8px 12px; font-size: .8125rem; }
    .legal-page .legal-shell,
    .legal-page .contact-shell { width: calc(100% - 32px); margin: 32px auto 48px; }
    .legal-page .legal-document { padding: 28px 22px; border-radius: 10px; }
    .legal-page .legal-document h1,
    .legal-page .contact-hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
    .legal-page .legal-document .legal-summary { padding: 18px; }
    .legal-page .about-pillars,
    .legal-page .contact-grid { grid-template-columns: 1fr; gap: 14px; }
    .legal-page .about-pillars article,
    .legal-page .contact-grid article { padding: 24px; }
    .legal-page .contact-hero { padding: 8px 6px 18px; }
    .legal-page .contact-guidance { padding: 24px; }
    .email-action-page .email-action-brand { width: 156px; }
}
