:root {
  --foreign-ivory: #F6F2EA;
  --foreign-warm: #FBF9F4;
  --foreign-green: #243229;
  --foreign-line: rgba(36, 50, 41, 0.16);
  --foreign-gold: #9a742c;
}

.foreign-page {
  padding-top: 88px;
  background: var(--foreign-ivory);
  color: var(--foreign-green);
}

.foreign-inner {
  width: min(1240px, calc(100% - 152px));
  margin: 0 auto;
}

.foreign-hero {
  padding: 112px 0 100px;
  border-bottom: 1px solid var(--foreign-line);
}

.foreign-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 92px;
  align-items: end;
}

.foreign-kicker {
  margin: 0 0 22px;
  font-family: "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  opacity: 0.58;
}

.foreign-hero h1,
.section-head h2,
.support-grid h2,
.foreign-cta h2 {
  margin: 0;
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.foreign-hero h1 {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.16;
}

.foreign-hero-copy > p,
.section-head > p:last-child,
.support-grid > div:first-child > p:last-child,
.foreign-cta p {
  font-size: 17px;
  line-height: 1.9;
  opacity: 0.74;
}

.back-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 30px;
  font-size: 15px;
  opacity: 0.78;
  transition: 0.25s ease;
}

.back-link:hover {
  opacity: 1;
  transform: translateX(4px);
}

.foreign-section {
  padding: 140px 0;
  background: var(--foreign-warm);
}

.section-head {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-head h2,
.support-grid h2,
.foreign-cta h2 {
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.24;
}

.section-head > p:last-child {
  margin-top: 22px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--foreign-line);
  border-left: 1px solid var(--foreign-line);
}

.info-card {
  min-height: 320px;
  padding: 34px 30px;
  border-right: 1px solid var(--foreign-line);
  border-bottom: 1px solid var(--foreign-line);
  background: rgba(246, 242, 234, 0.38);
}

.info-card.highlight {
  background: rgba(251, 249, 244, 0.88);
}

.info-card > span {
  display: block;
  color: var(--foreign-gold);
  font-family: "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.info-card h3 {
  margin-top: 38px;
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.info-card ul {
  margin: 26px 0 0;
  padding-left: 20px;
}

.info-card li {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.74;
}

.info-card li + li {
  margin-top: 8px;
}

.support-section {
  padding: 110px 0;
  background: var(--foreign-ivory);
  border-top: 1px solid var(--foreign-line);
  border-bottom: 1px solid var(--foreign-line);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.support-grid > div:first-child > p:last-child {
  margin-top: 22px;
  max-width: 560px;
}

.support-actions {
  display: grid;
  gap: 14px;
}

.support-btn {
  min-height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--foreign-green);
  background: var(--foreign-green);
  color: var(--foreign-warm);
  transition: 0.25s ease;
}

.support-btn.secondary {
  background: transparent;
  color: var(--foreign-green);
}

.support-btn:hover {
  transform: translateY(-2px);
}

.foreign-cta {
  padding: 130px 0;
  text-align: center;
  background: var(--foreign-green);
  color: var(--foreign-warm);
}

.foreign-cta .foreign-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.foreign-cta p {
  max-width: 650px;
  margin: 24px auto 0;
}

.foreign-cta .btn {
  margin-top: 34px;
  border-color: var(--foreign-warm);
  background: var(--foreign-warm);
  color: var(--foreign-green);
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--foreign-green);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .foreign-inner {
    width: min(100% - 68px, 900px);
  }

  .foreign-hero-grid,
  .support-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .foreign-page {
    padding-top: 68px;
  }

  .foreign-inner {
    width: calc(100% - 44px);
  }

  .foreign-hero {
    padding: 72px 0 62px;
  }

  .foreign-hero h1 {
    font-size: 42px;
  }

  .foreign-hero-copy > p,
  .section-head > p:last-child,
  .support-grid > div:first-child > p:last-child,
  .foreign-cta p {
    font-size: 15px;
  }

  .foreign-section {
    padding: 86px 0;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .section-head h2,
  .support-grid h2,
  .foreign-cta h2 {
    font-size: 34px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .support-section,
  .foreign-cta {
    padding: 86px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
