:root {
  color-scheme: light;
  --background: #fff9d7;
  --surface: #fffdf5;
  --surface-soft: rgba(255, 255, 255, 0.64);
  --navy: #0f2e4b;
  --navy-soft: #61708a;
  --muted: #7c8799;
  --line: rgba(15, 46, 75, 0.12);
  --honey: #f5df57;
  --sky: #ddecfa;
  --danger: #a05252;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--navy);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Malgun Gothic",
    sans-serif;
  line-height: 1.7;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(15, 46, 75, 0.36);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.page {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.page::before,
.page::after {
  border-radius: 999px;
  content: "";
  position: fixed;
  z-index: 0;
}

.page::before {
  background: var(--sky);
  height: 260px;
  right: -80px;
  top: -70px;
  width: 260px;
}

.page::after {
  background: #f7eba6;
  bottom: -150px;
  height: 280px;
  left: -110px;
  width: 280px;
}

.shell {
  margin: 0 auto;
  max-width: 920px;
  padding: 54px 22px 72px;
  position: relative;
  z-index: 1;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
}

.brand {
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-home {
  align-items: center;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  display: inline-flex;
  min-height: 64px;
  padding: 14px 22px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.brand-home:hover {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 28px rgba(15, 46, 75, 0.08);
  transform: translateY(-1px);
}

.brand-home img {
  display: block;
  height: auto;
  width: 138px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a,
.pill-link {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 13px;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  background: var(--navy);
  color: #ffffff;
}

.hero {
  margin-bottom: 28px;
}

.home-hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  margin-bottom: 40px;
  min-height: 420px;
}

.home-hero-copy {
  max-width: 690px;
}

.eyebrow {
  color: #bf6b25;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  color: var(--navy);
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 18px;
}

.lead {
  color: var(--navy-soft);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
}

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

.primary-link,
.secondary-link {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

.primary-link {
  background: var(--navy);
  color: white;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--navy);
}

.brand-visual {
  align-items: center;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 42px;
  box-shadow: 0 18px 42px rgba(15, 46, 75, 0.08);
  display: flex;
  justify-content: center;
  min-height: 300px;
  overflow: hidden;
  padding: 28px;
}

.brand-visual img {
  display: block;
  height: auto;
  max-width: 280px;
  width: 100%;
}

.home-section {
  margin-top: 44px;
}

.section-title {
  color: var(--navy);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.section-copy {
  color: var(--navy-soft);
  font-size: 16px;
  font-weight: 700;
  margin: 12px 0 0;
  max-width: 680px;
}

.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.step {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  min-height: 190px;
  padding: 20px;
}

.step span {
  align-items: center;
  background: var(--honey);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  margin-bottom: 18px;
  width: 30px;
}

.step strong {
  color: var(--navy);
  display: block;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.split-section {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.feature-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  color: var(--navy-soft);
  font-size: 15px;
  font-weight: 800;
  padding: 15px 17px;
}

.card {
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(15, 46, 75, 0.08);
  padding: clamp(22px, 4vw, 34px);
}

.document {
  display: grid;
  gap: 22px;
}

.section {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  padding: 22px;
}

.section h2 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 12px;
}

.section h3 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  margin: 20px 0 8px;
}

.section p,
.section li {
  color: var(--navy-soft);
  font-size: 15px;
  font-weight: 650;
}

.section p {
  margin: 0 0 10px;
}

.section ul,
.section ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

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

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.link-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  color: var(--navy);
  min-height: 170px;
  padding: 22px;
  text-decoration: none;
}

.link-card strong {
  display: block;
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 10px;
}

.link-card span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.notice {
  background: #fff4bf;
  border: 1px solid rgba(193, 133, 0, 0.18);
  border-radius: 22px;
  color: #815c00;
  font-size: 14px;
  font-weight: 800;
  margin-top: 22px;
  padding: 16px 18px;
}

.danger {
  color: var(--danger);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-top: 34px;
  padding-top: 18px;
}

@media (max-width: 760px) {
  .shell {
    padding-top: 36px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .nav {
    justify-content: flex-start;
  }

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

  .home-hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 0;
  }

  .brand-visual {
    min-height: 220px;
  }

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

  .link-card {
    min-height: 0;
  }
}
