@import "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;600;800&display=swap";
:root{--background:#fcfcfc;--surface:#fff;--text:#111517;--muted:gray;--shadow:0 2px 9px #11151717;--card-shadow:0 0 8px 2px #1115170b;--focus:#1773cf}:root[data-theme=dark]{--background:#202c37;--surface:#2b3945;--text:#fff;--muted:#d1d1d1;--shadow:0 2px 9px #121a213d;--card-shadow:0 0 8px 2px #121a211a;--focus:#70d7ff}*{box-sizing:border-box}html{background:var(--background);min-width:320px;color:var(--text)}body{background:var(--background);min-height:100vh;color:var(--text);margin:0;font-family:Nunito Sans,Arial,sans-serif;font-size:14px;font-weight:300;transition:background-color .18s,color .18s}button,input{color:inherit;font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{border:0}img{display:block}.page-container{width:calc(100% - 64px);max-width:1280px;margin-inline:auto}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.site-header{z-index:20;background:var(--surface);height:80px;position:relative;box-shadow:0 2px 5px #11151714}.header-inner{justify-content:space-between;align-items:center;height:100%;display:flex}.brand{border-radius:3px;font-size:24px;font-weight:800;line-height:1.2}.theme-toggle{cursor:pointer;background:0 0;border-radius:4px;align-items:center;gap:9px;padding:8px 7px;font-size:16px;font-weight:600;display:inline-flex}.theme-toggle svg{fill:#0000;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:18px;height:18px}:root[data-theme=dark] .theme-toggle svg{fill:currentColor;stroke:currentColor}.brand:focus-visible,.theme-toggle:focus-visible,.region-trigger:focus-visible,.region-menu button:focus-visible,.country-card a:focus-visible,.back-button:focus-visible,.border-list a:focus-visible,.empty-state button:focus-visible,.search-field:focus-within{outline:3px solid var(--focus);outline-offset:3px}.home-shell{padding-block:48px 72px}.controls{justify-content:space-between;align-items:flex-start;display:flex}.search-field{background:var(--surface);width:480px;height:56px;box-shadow:var(--shadow);color:var(--muted);border-radius:5px;align-items:center;padding-inline:31px;display:flex}.search-field svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2px;flex:none;width:21px;height:21px}.search-field input{background:0 0;border:0;outline:0;width:100%;min-width:0;height:100%;padding:0 0 0 23px;font-size:14px;font-weight:300}.search-field input::placeholder{color:var(--muted);opacity:1}.search-field input::-webkit-search-cancel-button{cursor:pointer}.region-filter{z-index:10;width:200px;position:relative}.region-trigger{background:var(--surface);width:100%;height:56px;box-shadow:var(--shadow);cursor:pointer;text-align:left;border-radius:5px;justify-content:space-between;align-items:center;padding:0 18px 0 24px;font-size:14px;font-weight:600;display:flex}.region-trigger svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:14px;height:14px;transition:transform .15s}.region-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.region-menu{background:var(--surface);width:100%;box-shadow:var(--shadow);border-radius:5px;flex-direction:column;padding:13px 0;display:flex;position:absolute;top:60px;left:0}.region-menu button{cursor:pointer;text-align:left;background:0 0;width:100%;padding:4px 24px;font-size:14px;font-weight:600;line-height:1.35}.region-menu button:hover,.region-menu button[aria-selected=true]{background:#8080801f}.countries-grid{grid-template-columns:repeat(4,264px);justify-content:space-between;row-gap:74px;margin-top:48px;display:grid}.country-card{background:var(--surface);height:336px;box-shadow:var(--card-shadow);border-radius:5px;overflow:hidden}.country-card>a{border-radius:inherit;height:100%;display:block}.card-flag{background:#ebebeb;width:100%;height:160px;position:relative;overflow:hidden}.card-flag img{object-fit:cover}.card-content{padding:24px}.card-content h2{margin:0 0 16px;font-size:18px;font-weight:800;line-height:1.35}.card-content dl,.detail-columns dl{margin:0}.card-content dl>div,.detail-columns dl>div{min-width:0;display:flex}.card-content dl>div{margin-top:5px;line-height:1.35}.card-content dt,.detail-columns dt{flex:none;font-weight:600}.card-content dd,.detail-columns dd{min-width:0;margin:0 0 0 4px;font-weight:300}.empty-state{text-align:center;max-width:420px;margin:110px auto 0}.empty-state h2{margin:0 0 8px;font-size:24px;font-weight:800}.empty-state p{color:var(--muted);margin:0 0 24px;font-size:16px}.empty-state button{background:var(--surface);box-shadow:var(--shadow);cursor:pointer;border-radius:4px;padding:11px 24px;font-weight:600}.details-page{padding-block:78px 72px}.back-button{background:var(--surface);min-width:136px;height:42px;box-shadow:var(--shadow);border-radius:5px;justify-content:center;align-items:center;gap:10px;padding-inline:24px;font-size:16px;font-weight:300;display:inline-flex}.back-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:20px;height:20px}.country-details{grid-template-columns:560px minmax(0,1fr);align-items:center;gap:120px;margin-top:79px;display:grid}.detail-flag{width:560px;height:400px;position:relative;overflow:hidden;box-shadow:0 0 8px #1115170f}.detail-flag img{object-fit:cover}.detail-content{min-width:0}.detail-content h1{margin:0;font-size:32px;font-weight:800;line-height:1.3}.detail-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:62px;margin-top:24px;display:grid}.detail-columns dl>div{margin-top:8px;font-size:16px;line-height:1.5}.detail-columns dl>div:first-child{margin-top:0}.border-countries{align-items:flex-start;gap:14px;margin-top:68px;display:flex}.border-countries h2{flex:none;margin:6px 0 0;font-size:16px;font-weight:600;line-height:1.5}.border-countries>p{margin:6px 0 0;font-size:16px}.border-list{flex-wrap:wrap;gap:10px;display:flex}.border-list a{background:var(--surface);min-width:96px;min-height:30px;box-shadow:var(--shadow);text-align:center;border-radius:2px;justify-content:center;align-items:center;padding:4px 18px;font-size:14px;line-height:1.25;display:inline-flex}@media (hover:hover){.brand,.theme-toggle,.back-button,.border-list a,.country-card{transition:transform .15s,box-shadow .15s}.brand:hover,.theme-toggle:hover,.back-button:hover,.border-list a:hover{transform:translateY(-1px)}.country-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #1115171f}}@media (max-width:1180px){.countries-grid{grid-template-columns:repeat(3,264px)}.country-details{grid-template-columns:minmax(420px,1fr) minmax(0,1fr);gap:70px}.detail-flag{aspect-ratio:1.4;width:100%;height:auto}.detail-columns{gap:28px}}@media (max-width:930px){.countries-grid{grid-template-columns:repeat(2,264px);justify-content:space-around}.country-details{grid-template-columns:minmax(330px,1fr) minmax(0,1fr);gap:48px}.detail-columns{grid-template-columns:1fr;gap:34px}.border-countries{margin-top:42px;display:block}.border-list{margin-top:12px}}@media (max-width:767px){.page-container{width:calc(100% - 32px)}.site-header,.header-inner{height:80px}.brand{font-size:14px}.theme-toggle{gap:8px;padding-inline:0;font-size:12px}.theme-toggle svg{width:16px;height:16px}.home-shell{padding-block:24px 64px}.controls{flex-direction:column;gap:40px}.search-field{width:100%;height:48px;padding-inline:31px}.search-field svg{width:16px;height:16px}.search-field input{padding-left:24px;font-size:12px}.region-filter{width:200px}.region-trigger{height:48px;font-size:12px}.region-menu{padding-block:12px;top:52px}.region-menu button{padding-block:3px;font-size:12px}.countries-grid{grid-template-columns:264px;justify-content:center;row-gap:40px;margin-top:32px}.details-page{width:calc(100% - 56px);padding-block:40px 60px}.back-button{gap:9px;min-width:104px;height:40px;padding-inline:20px;font-size:16px}.back-button svg{width:20px;height:20px}.country-details{margin-top:64px;display:block}.detail-flag{aspect-ratio:1.4;width:100%;height:auto}.detail-content{margin-top:48px}.detail-content h1{font-size:22px}.detail-columns{grid-template-columns:1fr;gap:40px;margin-top:24px}.detail-columns dl>div{margin-top:9px;font-size:14px;line-height:1.55}.border-countries{margin-top:34px;display:block}.border-countries h2,.border-countries>p{margin-top:0;font-size:16px}.border-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.border-list a{min-width:0;min-height:28px;padding:4px 8px;font-size:12px}}@media (max-width:350px){.details-page{width:calc(100% - 32px)}.border-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
