:root {
  --bg-top: #eef4ff;
  --bg-bottom: #f8fbff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #122033;
  --muted: #59708e;
  --line: rgba(34, 93, 186, 0.14);
  --primary: #2a74e8;
  --primary-strong: #1855c9;
  --warning-bg: #fff4ec;
  --warning-border: #ffb78a;
  --warning-text: #9b4a17;
  --shadow: 0 24px 60px rgba(45, 84, 145, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(42, 116, 232, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(42, 116, 232, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  line-height: 1.62;
}

a {
  color: var(--primary-strong);
}

.shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.shell--centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-card,
.policy-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 40px 32px;
}

.hero-card__eyebrow,
.policy-meta__eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(42, 116, 232, 0.1);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-card__title,
.policy-header h1 {
  margin: 18px 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
}

.hero-card__description,
.policy-header p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 16px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.language-card {
  display: block;
  padding: 22px 20px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(55, 96, 168, 0.1);
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.language-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(55, 96, 168, 0.16);
}

.language-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.language-card__body {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.policy-card {
  padding: 36px 28px 28px;
}

.policy-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.policy-lead {
  max-width: 720px;
  font-size: 17px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.policy-meta__item {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 32, 51, 0.05);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.fact-grid--hero {
  margin-top: 28px;
  margin-bottom: 28px;
}

.fact-card {
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.9));
  box-shadow: 0 14px 30px rgba(55, 96, 168, 0.08);
}

.fact-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.fact-card strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.notice {
  margin: 24px 0 0;
  padding: 18px 18px 16px;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 20px;
  color: var(--warning-text);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

.section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

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

.inline-code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(42, 116, 232, 0.09);
  color: var(--primary-strong);
  font-family: inherit;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 640px) {
  .shell {
    padding: 24px 14px 40px;
  }

  .hero-card,
  .policy-card {
    border-radius: 24px;
  }

  .hero-card,
  .policy-card {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .section h2 {
    font-size: 21px;
  }
}
