:root {
  color-scheme: light;
  --ink: #1a1714;
  --muted: #6f6a63;
  --paper: #f6f3ee;
  --surface: #fffdf9;
  --line: #ded8cf;
  --accent: #ee7771;
  --accent-soft: #f9e7e2;
  --warm: #f5ead4;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--surface);
  padding: 10px 16px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: rgb(26 23 20 / 94%);
  color: #fffdf9;
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand svg {
  width: 42px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d8d3cc;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fffdf9;
}

.hero {
  overflow: hidden;
  background: var(--ink);
  color: #fffdf9;
}

.hero-inner {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  min-height: 620px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 64px;
  padding: 80px 0 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 76px);
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 34px;
  color: #cfc9c0;
  font-size: clamp(18px, 2vw, 22px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  border-color: rgb(255 255 255 / 26%);
  background: transparent;
  color: #fffdf9;
}

.wave-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 36px;
  background: linear-gradient(145deg, #23201d, #100f0d);
  box-shadow: 0 34px 80px rgb(0 0 0 / 30%);
}

.wave-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 35%, rgb(238 119 113 / 18%), transparent 44%);
  content: "";
}

.wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wave span {
  width: 6px;
  border-radius: 999px;
  background: #fffdf9;
  box-shadow: 0 0 20px rgb(255 255 255 / 18%);
}

.wave span:nth-child(1) {
  height: 36px;
}

.wave span:nth-child(2) {
  height: 68px;
}

.wave span:nth-child(3) {
  height: 112px;
}

.wave span:nth-child(4) {
  height: 78px;
}

.wave span:nth-child(5) {
  height: 144px;
}

.wave span:nth-child(6) {
  height: 92px;
}

.wave span:nth-child(7) {
  height: 176px;
}

.wave span:nth-child(8) {
  height: 118px;
}

.wave span:nth-child(9) {
  height: 72px;
}

.wave span:nth-child(10) {
  height: 130px;
}

.wave span:nth-child(11) {
  height: 84px;
}

.wave span:nth-child(12) {
  height: 46px;
}

.wave-label {
  position: absolute;
  right: 26px;
  bottom: 22px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  color: #9d968d;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.section.compact {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 28px;
}

.card-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #a9423e;
  font-size: 13px;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-hero-inner {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 86px 0 72px;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
}

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

.updated {
  display: inline-block;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--paper);
  padding: 7px 12px;
  color: var(--muted);
  font-size: 13px;
}

.document {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 64px 0 100px;
}

.document section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.document section:first-child {
  padding-top: 0;
  border-top: 0;
}

.document h2 {
  margin-bottom: 18px;
  font-size: 27px;
}

.document h3 {
  margin: 28px 0 10px;
  font-size: 18px;
}

.document p,
.document li {
  color: #49443e;
}

.document ul,
.document ol {
  margin: 14px 0 0;
  padding-left: 23px;
}

.document li + li {
  margin-top: 9px;
}

.policy-source {
  margin-top: 0;
  margin-bottom: 42px;
}

.policy-source p {
  margin: 6px 0 0;
  color: inherit;
}

.table-wrap {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.table-wrap:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.policy-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}

.policy-table th,
.policy-table td {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy-table th:last-child,
.policy-table td:last-child {
  border-right: 0;
}

.policy-table tbody tr:last-child td {
  border-bottom: 0;
}

.policy-table th {
  background: #efeae2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.policy-table td:first-child {
  width: 22%;
  color: var(--ink);
  font-weight: 750;
}

.compact-table td:nth-child(2) {
  width: 20%;
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 20px 22px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.contact-card p {
  margin: 0;
}

.policy-links a,
.document a {
  text-decoration-thickness: 1px;
}

.notice {
  margin: 24px 0;
  border: 1px solid #ead2ab;
  border-radius: 18px;
  background: var(--warm);
  padding: 20px 22px;
  color: #5d461f;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 18px 20px 18px 66px;
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 15px;
  left: 18px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fffdf9;
  content: counter(step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  background: var(--ink);
  color: #c9c3ba;
}

.footer-inner {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 48px 0;
}

.footer-inner strong {
  display: block;
  margin-bottom: 7px;
  color: #fffdf9;
  letter-spacing: 0.12em;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 13px;
}

@media (max-width: 820px) {
  .nav {
    min-height: 64px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0 72px;
  }

  .wave-card {
    min-height: 300px;
  }

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

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

  .section {
    padding: 68px 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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