@font-face { font-family: Inter; src: url("inter.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  background: #fff;
  color: #121827;
  --ink: #121827;
  --muted: #52606b;
  --paper: #fff;
  --green: #347775;
  --lime: #e0efaa;
  --line: #e5ebef;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #7a49c5; outline-offset: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px; background: var(--paper); transform: translateY(-160%); z-index: 3; }
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1176px, calc(100% - 64px)); margin-inline: auto; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 1.25rem; font-weight: 760; letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 8px; background: var(--green); color: var(--lime); font-size: 21px; font-style: normal; }
nav a, .site-footer > div > a:last-child { font-size: .88rem; font-weight: 630; text-decoration: none; }
nav a:hover, .site-footer > div > a:last-child:hover { text-decoration: underline; }
nav a span { margin-left: 3px; }

body:has(#landing:not([hidden])) .site-header { display: none; }
.landing { min-height: calc(100svh - 76px); padding: clamp(95px, 23vh, 205px) 24px 60px; display: flex; align-items: center; flex-direction: column; text-align: center; }
.landing h1 { margin: 0; font-size: clamp(1.85rem, 4vw, 2.6rem); font-weight: 650; line-height: 1.2; letter-spacing: -.045em; }
.landing p { margin: 18px 0 37px; max-width: 34ch; color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.landing-cta { width: min(100%, 288px); min-height: 52px; padding: 13px 22px; border: 0; border-radius: 28px; background: var(--green); color: #fff; font-size: 1rem; font-weight: 600; }
.landing-cta:hover { background: #276260; }
.hero { width: min(560px, calc(100% - 40px)); margin-block: clamp(50px, 10vh, 95px) 48px; }
.hero-copy { min-width: 0; padding: 0; }
.hero h1 { margin: 0; text-align: center; font-size: clamp(1.85rem, 4vw, 2.5rem); line-height: 1.15; font-weight: 650; letter-spacing: -.05em; }
.hero-intro { max-width: 38ch; margin: 15px auto 30px; color: var(--muted); text-align: center; font-size: 1rem; line-height: 1.6; }

.country-form { width: 100%; }
.country-form label { display: block; margin-bottom: 9px; font-size: .94rem; font-weight: 670; }
.search-wrap { position: relative; }
.search-control { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 62px; border-radius: 11px; padding: 6px 6px 6px 16px; background: #f5f8fa; color: var(--ink); border: 1px solid #dbe4e9; }
.search-control:focus-within { outline: 2px solid var(--lime); outline-offset: 3px; }
.search-control input { width: 100%; height: 47px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 1.025rem; outline: none; }
.search-control input::placeholder { color: #52645a; }
.search-icon { width: 16px; height: 16px; border: 2px solid #38574a; border-radius: 50%; position: relative; margin: -3px 3px 0 0; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: #38574a; transform: rotate(45deg); bottom: -3px; right: -5px; border-radius: 2px; }
.search-submit { display: grid; place-items: center; width: 46px; height: 47px; padding: 0; border: 0; border-radius: 7px; background: var(--green); color: #fff; font-size: 23px; }
.search-submit:hover { background: #276260; }
.search-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-block: 7px; font-size: .835rem; color: var(--muted); }
.search-meta a { display: flex; align-items: center; min-height: 44px; color: var(--green); }
.country-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; }
.country-shortcuts button { min-height: 42px; padding: 4px 12px; border: 1px solid #dbe4e9; border-radius: 7px; background: transparent; color: #365f62; font-size: .83rem; font-weight: 650; }
.country-shortcuts button:hover { background: #edf4f4; }

.country-matches, .country-message { position: absolute; z-index: 2; top: calc(100% + 6px); inset-inline: 0; margin: 0; padding: 5px; border: 1px solid #ccd7c8; border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 11px 28px #0d251c35; }
.country-matches { list-style: none; max-height: min(48vh, 302px); overflow: auto; }
.country-matches li { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 47px; padding: 8px 11px; border-radius: 6px; cursor: pointer; font-weight: 620; }
.country-matches li:hover, .country-matches [aria-selected="true"] { background: #e8efdb; }
.country-matches li small { font-size: .75rem; color: #506458; text-align: right; }
.country-message { padding: 12px; line-height: 1.4; }

.country-guide, .toolkit { padding-block: 40px 34px; }
.country-guide { scroll-margin: 22px; }
.section-title { margin: 0 0 17px; font-size: clamp(2rem, 5.4vw, 3.55rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 730; }
.region-label { margin: 0 0 8px; color: #526953; font-size: .77rem; font-weight: 740; text-transform: uppercase; letter-spacing: .12em; }
.guide-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: 15px; }
.source-card, .apply-card, .toolkit-grid article { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 33px); }
.source-card { background: #f3f7f8; border-color: #dbe4e9; }
.source-label { margin: 0 0 12px; color: #3c624e; font-size: .82rem; font-weight: 740; }
.source-card h3, .apply-card h3 { margin: 0 0 12px; color: var(--green); font-size: clamp(1.25rem, 3vw, 1.64rem); line-height: 1.13; letter-spacing: -.035em; }
.source-card #source-tip, .apply-steps p, .toolkit p, .guide-note, .policy p { color: var(--muted); line-height: 1.55; }
.source-card #source-tip { margin: 0 0 18px; }
.source-button, .primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; width: fit-content; min-height: 47px; padding: 11px 15px; border-radius: 8px; background: var(--green); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 690; }
.source-button i { color: var(--lime); font-style: normal; }
.source-button:hover, .primary:hover { background: #2e5444; }
.secondary-source { display: block; width: fit-content; margin-top: 16px; padding-block: 5px; color: #244b3a; font-size: .89rem; font-weight: 650; }
.apply-steps { padding-left: 1.4rem; margin: 18px 0 0; }
.apply-steps li { padding-left: .3rem; margin: 0 0 13px; }
.apply-steps li::marker { color: #3b654b; font-weight: 750; }
.apply-steps li:last-child { margin: 0; }
.apply-steps p { margin: 4px 0 0; font-size: .92rem; }
.guide-note { margin: 12px 0 0; font-size: .87rem; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 9px; color: #2d593e; font-weight: 660; font-size: .92rem; }

.toolkit { padding-top: 16px; }
.toolkit > p { margin: 0 0 16px; }
.toolkit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.toolkit-grid h3 { margin: 0 0 7px; font-size: 1.06rem; }
.toolkit-grid article > p { margin: 0; font-size: .92rem; }

.country-directory { margin-block: 0 44px; border-block: 1px solid var(--line); scroll-margin: 18px; }
.country-directory summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 71px; list-style: none; cursor: pointer; font-size: 1.04rem; font-weight: 700; }
.country-directory summary::-webkit-details-marker { display: none; }
.directory-toggle { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #b7c6b6; border-radius: 50%; font-size: 1.4rem; color: var(--green); font-weight: 450; }
.country-directory[open] .directory-toggle { transform: rotate(45deg); }
.directory-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 14px; margin: 0 0 19px; padding: 0; list-style: none; }
.directory-list button { width: 100%; min-height: 44px; background: transparent; border: 0; border-radius: 5px; padding: 8px; color: var(--green); text-align: left; font-size: .9rem; }
.directory-list button:is(:hover, [aria-current="true"]) { background: #f3f7f8; text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); }
body:has(#landing:not([hidden])) .site-footer .brand { visibility: hidden; }
.policy { max-width: 750px; padding-block: 48px; }
.policy h1 { margin: 0 0 18px; font-size: clamp(2.5rem, 6vw, 4.3rem); letter-spacing: -.055em; }
.policy .primary { margin-top: 8px; }

@media (max-width: 950px) {
  .shell { width: min(1176px, calc(100% - 44px)); }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1176px); }
  .header-inner, .footer-inner { min-height: 61px; }
  .hero { width: calc(100% - 36px); margin-block: 43px 34px; }
  .landing { min-height: calc(100svh - 61px); padding-top: 125px; }
  .country-guide, .toolkit { padding-block: 24px; }
  .guide-grid, .toolkit-grid { grid-template-columns: 1fr; }
  .directory-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-button { max-width: 100%; }
}
