:root { color-scheme: light; background: #f2f4ff; font-family: Arial, sans-serif; }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 40px 24px;
  background: radial-gradient(ellipse at 50% 42%, #fff 0%, #f2f4ff 68%);
}
.country-picker {
  width: min(100%, 440px); display: flex; flex-direction: column; align-items: center;
  gap: 48px; margin-top: -48px;
}
.brand {
  position: relative; width: min(100%, 340px); height: 112px;
  overflow: hidden; mix-blend-mode: multiply;
}
.brand-logo {
  position: absolute; width: 900px; height: auto; max-width: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.countries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.country {
  display: block; border-radius: 10px; overflow: hidden; line-height: 0;
  box-shadow: 0 2px 4px rgb(10 28 85 / 5%), 0 8px 22px rgb(10 28 85 / 9%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.country img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.country:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgb(10 28 85 / 7%), 0 14px 28px rgb(10 28 85 / 14%);
}
.country:focus-visible { outline: 3px solid #001b91; outline-offset: 5px; }
@media (max-width: 420px) {
  .country-picker { gap: 36px; }
  .countries { gap: 14px; }
  .country { border-radius: 7px; }
  .brand-logo { width: 780px; }
}
@media (prefers-reduced-motion: reduce) {
  .country { transition: none; }
  .country:hover { transform: none; }
}
