:root {
  color-scheme: light;
  --background: #f6f7fb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #172034;
  --muted: #657086;
  --line: rgba(23, 32, 52, 0.1);
  --accent: #5d5fef;
  --accent-dark: #4849cc;
  --accent-soft: #eeefff;
  --shadow: 0 24px 70px rgba(43, 46, 91, 0.11);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(
      circle at 12% 8%,
      rgba(93, 95, 239, 0.16),
      transparent 31rem
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(70, 197, 170, 0.12),
      transparent 28rem
    ),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR',
    sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
}

a:hover {
  color: var(--accent);
}

.site-shell {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #7577ff, #4e50d8);
  box-shadow: 0 10px 25px rgba(93, 95, 239, 0.3);
}

.brand-mark::after {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  content: '';
  transform: rotate(-35deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.hero {
  padding: 86px 0 94px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid rgba(93, 95, 239, 0.16);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(238, 239, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 740;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-right: auto;
  margin-bottom: 22px;
  margin-left: auto;
  font-size: clamp(2.65rem, 7vw, 5.35rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
}

.hero p {
  max-width: 670px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 720;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
  white-space: normal;
}

.button:hover {
  color: var(--text);
  box-shadow: 0 10px 25px rgba(43, 46, 91, 0.1);
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  color: #fff;
  background: var(--accent-dark);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 94px;
}

.card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card p,
.card li,
.legal-section p,
.legal-section li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.card p:last-child,
.legal-section p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  margin-top: 9px;
  font-weight: 720;
  text-decoration: none;
}

.page-hero {
  padding: 58px 0 46px;
}

.page-hero h1 {
  margin-left: 0;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.language-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-stack {
  display: grid;
  gap: 20px;
  padding-bottom: 94px;
}

.legal-section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
}

.legal-section ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.callout {
  border-color: rgba(93, 95, 239, 0.16);
  background: var(--accent-soft);
}

.section-divider {
  height: 1px;
  margin: 22px 0;
  border: 0;
  background: var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 28px, 1040px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .site-nav a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero {
    padding: 62px 0 70px;
    text-align: left;
  }

  .hero h1,
  .hero p {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: 1fr;
    padding-bottom: 70px;
  }

  .card,
  .legal-section {
    padding: 24px;
  }

  .callout .button {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 0.9rem;
  }
}

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

  .button {
    transition: none;
  }
}
