/* PASANTS design system, shared by every page. */
:root { --content-width: 1200px; --page-gutter: clamp(20px, 4.5vw, 64px); --large-body: 18px; --large-small: 14px; --large-space: 32px; }
html { scroll-padding-top: calc(var(--header-height, 88px) + 20px); }
body { line-height: 1.6; }
h1, h2, h3, h4 { color: inherit; text-wrap: balance; letter-spacing: -.035em; }
h1 { font-size: clamp(36px, 4.7vw, 62px); line-height: 1.12; }
h2 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.2; }
h3 { letter-spacing: -.02em; }
a { text-underline-offset: 4px; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; border-radius: 6px; }
.site-header, .guide-page .site-header, .routes-page .site-header, .teachers-page .site-header, .contact-page .site-header { position: sticky; top: 0; z-index: 20; background: #ffffffed; border-bottom: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(16px); }
.site-header[data-scrolled] { box-shadow: 0 4px 20px #0d1c320a; }
.reading-progress { position: absolute; inset: auto 0 -1px; height: 2px; pointer-events: none; }
.reading-progress-fill { display: block; width: 100%; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.section-inner, .footer-inner, .closing-card { max-width: var(--content-width); }
main > section + section { border-top: 1px solid #dce3ed80; }
.eyebrow { color: var(--green); font: 700 11px/1.5 Inter, Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.button { min-height: 48px; padding: 13px 22px; display: inline-flex; border: 1px solid transparent; border-radius: 7px; font: 600 13px/1.5 Inter, Arial, sans-serif; text-align: center; transition: background .2s, box-shadow .2s; }
.button:hover { transform: none; box-shadow: 0 4px 12px #0d1c3212; }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: #00564f; }
.button-secondary { background: white; border-color: #cad4e1; color: var(--navy); }
.button-secondary:hover { background: var(--surface); }
.button span { font-size: 18px; }
.module-card, .guide-card, .teacher-function-card, .support-card, .university-nodes, .interest-form-card { border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 4px 16px #0d1c3203; }
.module-icon { background: #e5f5f1; color: var(--green); border-radius: 10px; width: 44px; height: 44px; }
.module-card > p:not(.module-label), .about-description, .country-description { color: var(--muted); }
.module-card h3 { font-size: 19px; }
.module-link { color: var(--green); text-decoration: none; font-size: 12px; }
.module-link span { color: currentColor; }
.about, .guide-intro, .teacher-intro, .contact-intro, .sites-section { background: var(--cream); }
.community, .operations, .teacher-functions, .contact-support, .culture-section { background: var(--surface); }
.guide-section:not(.operations):not(.experiences):not(.next-route), .teacher-console-section { background: white; }
.experiences, .teacher-assurance { background: #e9f5f2; }
.closing, .next-route, .teacher-section, .teacher-join { background: var(--cream); }
.closing { padding: 64px var(--page-gutter); }
.closing-card { background: var(--navy); border-radius: 14px; color: white; box-shadow: none; padding: clamp(30px, 5vw, 60px); }
.closing-card h2 { font-size: clamp(28px, 3.1vw, 40px); }
.closing-card p { font-weight: 400; color: #cad6e5; font-size: 16px; }
.closing-card .button { width: auto; max-width: none; background: var(--mint); color: var(--navy); border: 0; }
.closing-card .eyebrow { color: var(--mint); }
.site-footer { padding: 54px var(--page-gutter) 24px; background: var(--navy); color: white; font: 13px/1.7 Inter, Arial, sans-serif; }
.footer-inner, .contact-page .footer-inner { display: block; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-bottom: 32px; }
.footer-brand { font-size: 22px; }
.footer-brand .brand-mark { width: 34px; height: 38px; border-radius: 8px; background: #ffffff10; }
.footer-brand .brand-mark svg { width: 23px; height: 23px; fill: var(--mint); }
.footer-description { max-width: 40ch; color: #b7c5d6; font-size: 13px; margin: 18px 0 12px; }
.footer-countries { color: var(--mint); font-size: 10px; font-weight: 500; letter-spacing: .06em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0 28px; margin: 0; }
.footer-nav a { width: fit-content; min-height: 38px; color: #d0dbea; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #ffffff20; color: #b7c5d6; font-size: 11px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; }
.information-dialog { background: white; border: 1px solid var(--line); border-radius: 14px; }
.information-dialog-close { background: var(--surface); }
.information-dialog .eyebrow { font-size: 10px; }
.information-dialog h2 { font-size: clamp(24px, 4vw, 32px); }
.information-dialog-content { color: var(--muted); font-size: 14px; }
.information-dialog-content strong, .information-dialog-content h3 { color: var(--navy); }
.information-dialog-content .detail-meta { padding: 16px; border-radius: 8px; background: var(--surface); }
.detail-meta dt { margin-top: 8px; font-weight: 600; color: var(--navy); }
.detail-meta dd { margin: 0; }
.information-dialog-back { border-color: var(--line); font-size: 13px; }
.information-dialog h2:focus { outline: none; }
/* Adapt legacy informational components to the shared palette. */
.route-intro { background: var(--cream); }
.route-badge, .contact-badge, .community-badge { background: #e1f4ef; color: var(--green); }
.route-map, .privacy-panel, .network-stats { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.university-node, .option-card, .faq-item, .contact-info-block, .demo-notice, .demo-footnote, .time-scale { background: var(--surface); border-radius: 7px; }
.option-card:has(input:checked) { background: var(--navy); color: white; }
.option-card:has(input:checked) small { color: var(--mint); }
.option-icon { background: #dce8f3; }
.contact-lead, .route-lead, .route-timeline p, .route-metrics p, .time-control > p, .map-view-description, .country-description, .photo-credits, .support-card p, .privacy-panel p { color: var(--muted); }
.map-drawing text { font-family: Inter, Arial, sans-serif; }
.place-accordion .country-heading h3, .place-accordion .site-copy h3, .place-accordion .experience-photo h3 { color: white; }
.scroll-reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.scroll-reveal.is-visible, .scroll-reveal:focus-within { opacity: 1; transform: none; }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } .footer-bottom { flex-direction: column; gap: 4px; } .closing { padding-block: 40px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } .scroll-reveal { opacity: 1; transform: none; } }

.site-header { color: var(--navy); }
.site-footer a:focus-visible, .closing-card a:focus-visible { outline-color: var(--mint); }
.site-header .brand-mark svg { fill: var(--mint); }
