:root {
  color-scheme: light;
  --ink: #000;
  --paper: #fff;
  --gray: #767676;
  --line: rgba(0, 0, 0, 0.14);
  --line-soft: rgba(0, 0, 0, 0.07);
  --cheddar: #ffe66b;
  --max: 1180px;
  --reading: 760px;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
    "Noto Sans KR", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.site-header .shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.page-hero {
  padding-block: clamp(72px, 11vw, 150px) clamp(54px, 8vw, 108px);
  border-bottom: 1px solid var(--line);
}

.page-hero .shell {
  display: grid;
  gap: 22px;
}

.kicker {
  margin: 0;
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.lede {
  max-width: 680px;
  margin: 0;
  color: #232323;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 8px 0 0;
  color: var(--gray);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.highlight {
  background: linear-gradient(transparent 58%, var(--cheddar) 58%);
}

.document-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, var(--reading));
  justify-content: space-between;
  gap: clamp(48px, 8vw, 110px);
  padding-block: clamp(54px, 8vw, 100px) 120px;
}

.toc {
  position: sticky;
  top: 28px;
  align-self: start;
}

.toc-title {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.toc a {
  display: block;
  padding-block: 9px;
  border-bottom: 1px solid var(--line-soft);
  color: #333;
  font-size: 0.87rem;
  line-height: 1.45;
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.document {
  min-width: 0;
}

.policy-section {
  scroll-margin-top: 30px;
  padding-block: 0 clamp(48px, 7vw, 80px);
}

.policy-section + .policy-section {
  padding-top: clamp(42px, 6vw, 68px);
  border-top: 1px solid var(--line);
}

.section-number {
  display: block;
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.policy-section h2 {
  margin-bottom: 24px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.policy-section h3 {
  margin: 30px 0 12px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.policy-section p:last-child,
.policy-section ul:last-child,
.policy-section ol:last-child {
  margin-bottom: 0;
}

.bullet-list,
.number-list {
  padding-left: 1.35em;
}

.bullet-list li,
.number-list li {
  margin-block: 9px;
  padding-left: 0.25em;
}

.data-table-wrap {
  margin-block: 26px;
  overflow-x: auto;
  border-block: 2px solid var(--ink);
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.55;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

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

.callout {
  margin-block: 28px;
  padding: 20px 22px;
  border-left: 5px solid var(--ink);
  background: #f5f5f5;
}

.callout strong {
  display: block;
  margin-bottom: 5px;
}

.support-main {
  padding-block: clamp(54px, 8vw, 96px) 120px;
}

.support-main > .shell {
  display: grid;
  gap: clamp(64px, 10vw, 120px);
}

.support-section {
  display: grid;
  gap: 30px;
}

.support-section > header {
  max-width: 680px;
}

.support-section h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.support-section header p {
  margin-bottom: 0;
  color: var(--gray);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: clamp(26px, 5vw, 54px);
  border-block: 2px solid var(--ink);
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card p {
  max-width: 620px;
  margin-bottom: 0;
  color: #333;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--cheddar);
  color: var(--ink);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.topic-card {
  min-height: 210px;
  padding: 28px 26px;
  border-bottom: 1px solid var(--line);
}

.topic-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.topic-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.topic-card p {
  margin-bottom: 0;
  color: #3b3b3b;
  font-size: 0.94rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 760px;
  padding: 0 44px 24px 0;
  color: #383838;
}

.page-footer {
  border-top: 1px solid var(--line);
}

.page-footer .shell {
  min-height: 160px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  letter-spacing: 0.08em;
}

.footer-brand span {
  color: var(--gray);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 0.84rem;
}

@media (max-width: 820px) {
  .document-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .contact-card .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header .shell {
    min-height: auto;
    padding-block: 18px;
    align-items: flex-start;
  }

  .site-nav {
    gap: 5px 14px;
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .topic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-card:nth-child(odd) {
    border-right: 0;
  }

  .page-footer .shell {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    padding-block: 38px;
  }

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

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

@media print {
  .site-header,
  .toc,
  .page-footer,
  .skip-link {
    display: none;
  }

  .page-hero {
    padding-block: 24px 32px;
  }

  h1 {
    font-size: 42pt;
  }

  .document-layout {
    display: block;
    padding-block: 28px;
  }

  .policy-section {
    break-inside: avoid;
  }
}
