/* Local Poppins files keep the selector fast when Google services are unavailable. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #262b50;
  --navy-soft: #3b4272;
  --ink: #1e2242;
  --muted: #6b6f8c;
  --line: #e6e6f0;
  --paper: #ffffff;
  --wash: #f7f7fb;
  --yellow: #ffd166;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Poppins', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.region-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.region-header-inner {
  width: min(1200px, 100%);
  min-height: 82px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.region-brand {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}

.region-brand img {
  width: 150px;
  height: auto;
}

.region-brand:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}

.region-header-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.region-hero {
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 83% 12%, rgba(255, 209, 102, 0.12), transparent 24rem),
    var(--navy);
}

.region-hero-inner {
  width: min(1200px, 100%);
  min-height: 510px;
  margin: 0 auto;
  padding: 70px 24px 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 7vw, 88px);
}

.region-kicker {
  margin: 0 0 17px;
  color: #b9bde0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.region-copy h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(2.35rem, 4.4vw, 3.45rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.region-intro {
  max-width: 570px;
  margin: 27px 0 0;
  color: #cfd2ec;
  font-size: 1rem;
  line-height: 1.75;
}

.region-selection {
  padding: 24px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 64px rgba(10, 13, 35, 0.26);
}

.region-selection-title {
  margin: 0 0 15px;
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.region-grid { display: grid; gap: 14px; }

.region-card {
  min-height: 96px;
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.region-card:hover {
  transform: translateY(-2px);
  border-color: rgba(38, 43, 80, 0.34);
  background: #fbf8ee;
}

.region-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.region-flag {
  width: 60px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(38, 43, 80, 0.16);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(38, 43, 80, 0.1);
}

.region-flag svg { display: block; width: 100%; height: 100%; }

.region-card-copy { display: flex; flex-direction: column; gap: 3px; }
.region-card-copy strong { font-size: 1rem; font-weight: 600; }
.region-card-copy span { color: var(--muted); font-size: 0.83rem; }

.region-arrow {
  color: var(--navy);
  font-size: 1.5rem;
  transition: transform 180ms ease;
}
.region-card:hover .region-arrow { transform: translateX(4px); }

.region-note {
  margin: 19px 2px 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.6;
}

.region-trust {
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

.region-trust-inner {
  width: min(1200px, 100%);
  min-height: 90px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(38px, 7vw, 76px);
}

.region-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.region-trust-item svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.region-footer {
  background: var(--paper);
}

.region-footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 23px 24px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.72rem;
}

.region-footer p { margin: 0; }
.region-footer a:hover { color: var(--navy); text-decoration: underline; }
.region-footer a:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .region-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 58px 62px;
  }

  .region-copy { text-align: center; }
  .region-kicker { margin-bottom: 10px; }
  .region-copy h1,
  .region-intro { margin-inline: auto; }

  .region-selection {
    width: min(620px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .region-header-inner {
    min-height: 74px;
    padding: 12px 20px;
  }

  .region-brand img { width: 134px; }
  .region-header-label { display: none; }

  .region-hero-inner {
    gap: 34px;
    padding: 48px 20px 52px;
  }

  .region-copy h1 { font-size: clamp(2rem, 10.5vw, 2.45rem); }
  .region-intro { margin-top: 22px; font-size: 0.92rem; }

  .region-selection {
    padding: 16px;
    border-radius: 15px;
  }

  .region-card {
    min-height: 84px;
    grid-template-columns: 52px 1fr auto;
    gap: 14px;
    padding: 16px;
  }

  .region-flag { width: 52px; height: 35px; }

  .region-trust-inner {
    padding: 25px 20px;
    flex-direction: column;
    gap: 18px;
  }

  .region-trust-item {
    width: min(290px, 100%);
    font-size: 0.82rem;
  }

  .region-footer-inner {
    padding-inline: 20px;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
}

@media (max-width: 340px) {
  .region-hero-inner { padding-inline: 16px; }
  .region-selection { padding: 12px; }
  .region-card { gap: 11px; padding: 14px 12px; }
  .region-card-copy strong { font-size: 0.94rem; }
  .region-card-copy span { font-size: 0.77rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .region-card,
  .region-arrow { transition: none; }
}
