/* Public pages: consistent typography, calm surfaces and readable mobile layouts. */
:root {
    --font-display: var(--font-sans, 'Manrope', 'Segoe UI', sans-serif);
    --color-text-muted: #536560;
    --color-border: #dce7e2;
}
body { background: #fbfcfa; }
h1, h2, .section-head__title, .page-hero h1,
.home-section__head h2, .home-cta h2 {
    font-family: var(--font-display) !important;
    letter-spacing: -.035em !important;
    line-height: 1.18;
    overflow-wrap: break-word;
}
h3, h4 { font-family: var(--font-display); line-height: 1.4; }
.site-header .logo__name, .site-footer .logo__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.025em;
}
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.section-head h2, body[data-page="home"] .home-section__head h2 {
    font-size: clamp(1.65rem, 3vw, 2.6rem) !important;
}
.page-hero p, .countries-hero p, .section-head__subtitle { color: #536560; }
.section-head__eyebrow, .page-hero__eyebrow { letter-spacing: .09em; }
.btn { border-radius: 12px; line-height: 1.45; white-space: normal; }
.header-actions .btn { border-radius: 12px; }
.btn--primary { box-shadow: 0 4px 12px rgba(0, 79, 75, .12); }
.btn--primary:hover { box-shadow: 0 6px 16px rgba(0, 79, 75, .18); }
.info-card, .form-card, .tour-card { border-color: var(--color-border); }
.info-card, .contact-tile { box-shadow: 0 4px 18px rgba(22, 49, 46, .035); }
.breadcrumbs a { text-underline-offset: 4px; }
.breadcrumbs a:hover { text-decoration: underline; }
.public-document { font-size: 16px; }
.public-document h2 { font-size: clamp(1.3rem, 2.1vw, 1.7rem); }
.document-contents {
    margin: 24px 0 36px;
    padding: 20px 24px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #f0f6f3;
}
.document-contents summary { cursor: pointer; font-weight: 700; color: #17463f; }
.document-contents ol { margin: 14px 0 0; padding-left: 22px; }
.document-contents li { margin: 0; }
.document-contents a { display: inline-block; padding: 4px 0; color: #005f5a; }
.document-contents a:hover { color: #003e39; }
.document-section { scroll-margin-top: 100px; }
.site-footer { background: #073f3b; }
.site-footer h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.site-footer .footer-brand__slogan { max-width: 290px; }
.site-footer .footer-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
body[data-page="home"] .homehero__eyebrow { font-size: 11px; }
body[data-page="home"] .homehero__title { max-width: 840px; }
body[data-page="home"] .home-section__head > p { color: #536560; font-size: 16px; }
body[data-page="home"] .journey-card { border: 1px solid var(--color-border); box-shadow: none; }
body[data-page="home"] .journey-card::before,
body[data-page="home"] .journey-card::after { content: none; }
body[data-page="home"] .journey-card h3 { font-family: var(--font-display); font-size: 18px; }
body[data-page="home"] .journey-card p { color: #536560; font-size: 14px; line-height: 1.75; }
body[data-page="home"] .home-reviews__empty { color: #536560; }
body[data-page="home"] .home-cta__copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.application-hero p { max-width: 700px; }
.application-guide h2, .application-form__head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.application-guide__note { color: #d4e8e1 !important; }
.field__label { line-height: 1.6; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select { min-height: 48px; }
.countries-toolbar select { min-height: 48px; }
.referral-error { max-width: 720px; margin-inline: auto; }
.referral-error .btn { margin-top: 20px; }
.reviews-state__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.article-prose h3, .article-prose h4 { font-family: var(--font-display); }
body:has(.site-header.menu-open) .cookie-banner { visibility: hidden; }
.public-recovery { max-width: 820px; }
.public-recovery__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.public-recovery__back { margin-top: 24px; }
.public-recovery__back a { color: #005f5a; text-decoration: underline; text-underline-offset: 4px; }
.hd-content { padding-top: 28px; }
.hd-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; margin-bottom: 14px; }
.hd-card h3 { font-size: 19px; margin-block: 20px 8px; }
.hd-card p { line-height: 1.75; }
.hd-card .hd-facts { margin-top: 22px; }
.hd-fact { min-width: 0; overflow-wrap: anywhere; }
.hd-list { padding-left: 22px; list-style: disc; }
.hd-gallery:empty { display: none; }
@media (max-width: 640px) {
    h1, .page-hero h1, .application-hero h1, .quiz-hero h1 {
        font-size: clamp(1.8rem, 7.8vw, 2.3rem) !important;
        overflow-wrap: anywhere;
    }
    .site-header .logo__name { font-size: 16px; }
    .page-hero p, .application-hero p { font-size: 16px; }
    .document-contents { padding: 16px 18px; margin-bottom: 28px; }
    .document-contents a { padding-block: 7px; }
    .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
    .footer-grid > :last-child .footer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
    .site-footer .footer-list { font-size: 13px; }
    .site-footer .footer-list li { margin-bottom: 4px; }
    .site-footer .footer-list a { display: inline-block; padding-block: 5px; overflow-wrap: anywhere; }
    .site-footer h4 { margin-bottom: 12px; }
    .footer-bottom { align-items: flex-start; gap: 16px; }
    body[data-page="home"] .hero-actions { margin-bottom: 24px; }
    body[data-page="home"] .hero-proof { font-size: 12px; gap: 12px; }
    body[data-page="home"] .home-section__head > p { font-size: 15px; }
    .countries-toolbar select { font-size: 16px !important; }
    .application-layout { display: flex !important; flex-direction: column; }
    .application-layout .application-form { order: 0; width: 100%; }
    .application-layout .application-guide { order: 1; width: 100%; }
    .application-layout .application-steps li { font-size: 14px !important; }
    body[data-page="countries"] .countries-toolbar { grid-template-columns: minmax(0, 1fr); }
    body[data-page="countries"] .countries-toolbar__search,
    body[data-page="countries"] #countries-region { grid-column: 1; }
}
