:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d1a1b;
  background: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #700000; outline-offset: 4px; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header { padding: 1.45rem clamp(1.25rem, 5vw, 5rem); background: #700000; color: #fff; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 145px; height: auto; }
.region { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.main-content { width: min(100%, 1380px); margin: auto; padding: clamp(3rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.content { max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.5rem; color: #700000; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.status-dot { width: .7rem; height: .7rem; border-radius: 50%; background: #700000; }
h1 { max-width: 15ch; margin: 0; color: #700000; font-size: clamp(3rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.05; }
.lead { max-width: 35rem; margin: 2rem 0 0; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.5; }
.detail { max-width: 35rem; margin: 1.25rem 0 0; color: #3e3a38; font-size: 1.05rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding: .85rem 1.2rem; border-radius: .65rem; color: #fff; background: #700000; font-weight: 700; text-decoration: none; }
.button:hover { background: #4a0000; }
.text-link { color: #700000; font-weight: 700; text-underline-offset: .2em; }
.text-link:hover { color: #4a0000; }
.note { margin: 1.25rem 0 0; color: #5a5350; font-size: .88rem; }

.country-card { min-height: 390px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid #efdedA; border-radius: 1.25rem; background: #fbf1ef; }
.card-label { align-self: flex-start; padding: .5rem .75rem; border-radius: 10rem; color: #700000; background: #ebd9d5; font-size: .8rem; font-weight: 700; }
.card-code { align-self: center; color: #700000; font-size: clamp(8rem, 18vw, 16rem); font-weight: 800; letter-spacing: -.12em; line-height: .8; transform: translateX(-.06em); }
.card-region { color: #5a5350; font-size: .9rem; }

.site-footer { padding: 1.35rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid #efdedA; color: #5a5350; font-size: .84rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.site-footer a { text-underline-offset: .2em; }

@media (max-width: 820px) {
  .main-content { grid-template-columns: 1fr; }
  .country-card { min-height: 220px; }
  .card-code { font-size: 9rem; }
}
@media (max-width: 520px) {
  .site-header, .site-footer { flex-wrap: wrap; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .country-card { min-height: 190px; }
  .card-code { font-size: 7rem; }
}
