:root {
  color-scheme: light;
  --navy: #263b63;
  --navy-deep: #182844;
  --emerald: #159a7d;
  --emerald-soft: #dff5ee;
  --coral: #f2645a;
  --amber: #f6b94b;
  --mist: #f3f6fa;
  --ink: #152238;
  --muted: #5f6d82;
  --surface: #ffffff;
  --line: #dce3ec;
  --shadow: 0 24px 64px rgba(38, 59, 99, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--mist);
  color: var(--ink);
  font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 85% 4%, rgba(21, 154, 125, 0.12), transparent 25rem),
    radial-gradient(circle at 7% 20%, rgba(246, 185, 75, 0.12), transparent 22rem),
    var(--mist);
}

a {
  color: var(--navy);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgba(21, 154, 125, 0.42);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(220, 227, 236, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy), #38598b);
  box-shadow: 0 10px 24px rgba(38, 59, 99, 0.24);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 720;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--navy);
}

.hero,
.page {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: #0b725d;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 18px 0;
  font-size: clamp(2.4rem, 7vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.page h1 {
  font-size: clamp(2.35rem, 6vw, 4.25rem);
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  max-width: 720px;
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(38, 59, 99, 0.18);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.app-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.app-screen {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
}

.app-screen p {
  color: rgba(255, 255, 255, 0.75);
}

.subject-list {
  display: grid;
  gap: 10px;
}

.subject {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 750;
}

.subject span {
  float: right;
  color: #8de0cc;
}

.feature-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.card,
.notice,
.doc-section {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(38, 59, 99, 0.05);
}

.card {
  padding: 20px;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 14px;
  background: var(--emerald-soft);
  color: #0b725d;
  font-weight: 900;
}

.notice,
.doc-section {
  margin: 18px 0;
  padding: 22px;
}

.notice {
  border-left: 6px solid var(--amber);
}

.notice strong {
  color: var(--ink);
}

.doc-section h2 {
  color: var(--navy-deep);
}

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

.legal-meta {
  margin: -6px 0 28px;
  font-size: 0.92rem;
}

.language-block {
  scroll-margin-top: 96px;
}

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

.language-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}

.language-jump a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  padding: 34px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-panel {
    max-width: 500px;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero,
  .page {
    padding: 48px 0;
  }

  .feature-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .app-screen {
    min-height: 410px;
  }
}

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