:root {
  color-scheme: light;
  --ink: #25213b;
  --muted: #625c74;
  --purple: #7041d3;
  --purple-dark: #512aa3;
  --line: #e7e1f1;
  --soft: #f6f3fc;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
a { color: var(--purple-dark); text-underline-offset: .2em; }
a:hover { color: #35186f; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  z-index: 5;
  background: var(--white);
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 2.5rem, 1080px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.25rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--purple-dark);
  text-decoration: none;
  font-weight: 750;
  font-size: 1.25rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #8b5cf6;
  color: var(--white);
  font-size: 1.1rem;
}
.site-nav { display: flex; gap: .35rem 1rem; flex-wrap: wrap; }
.site-nav a { padding: .3rem 0; font-size: .9rem; text-decoration: none; }
.site-nav [aria-current="page"] { font-weight: 750; border-bottom: 2px solid var(--purple); }
.hero {
  background: linear-gradient(130deg, #f6f1ff 0%, #eef1ff 70%, #fcf8ff 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.eyebrow { color: var(--purple-dark); font-weight: 700; letter-spacing: .04em; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 5.5vw, 3.8rem); line-height: 1.18; letter-spacing: -.035em; max-width: 18ch; margin: 0; }
.hero p:not(.eyebrow) { max-width: 65ch; color: var(--muted); margin: 1.2rem 0 0; }
.language-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.language-links a {
  background: var(--white);
  border: 1px solid #c8b8e8;
  border-radius: 999px;
  padding: .4rem 1rem;
  font-weight: 650;
  text-decoration: none;
}
.content { padding-block: 3rem; }
.language-section + .language-section { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.section-label { color: var(--purple-dark); font-size: .85rem; font-weight: 700; letter-spacing: .08em; }
h2 { font-size: 1.65rem; line-height: 1.35; margin: .5rem 0 1rem; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; line-height: 1.5; margin: 1.8rem 0 .6rem; }
p { margin: .6rem 0 1rem; }
ul, ol { padding-left: 1.5rem; }
li { margin-block: .5rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.card { border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem; background: var(--white); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); }
.card a { font-weight: 650; }
.note { border-left: 4px solid var(--purple); background: var(--soft); border-radius: 0 .75rem .75rem 0; padding: 1rem 1.25rem; margin-block: 1.5rem; }
.note p:last-child { margin-bottom: 0; }
.contact-box { background: var(--soft); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; margin-block: 1.5rem; }
.contact-box h3 { margin-top: 0; }
.button-link { display: inline-block; background: var(--purple-dark); color: var(--white); border-radius: .6rem; padding: .6rem 1rem; font-weight: 650; text-decoration: none; }
.button-link:hover { color: var(--white); background: #35186f; }
.small { font-size: .9rem; color: var(--muted); }
.status-note { border: 1px solid #d8b46a; background: #fff8e9; border-radius: .75rem; padding: 1rem 1.25rem; margin-block: 1.5rem; }
.status-note p:last-child { margin-bottom: 0; }
.document-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-block: 1.25rem; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 650; }
details p { margin: .8rem 0 .3rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-block: 1.25rem; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border: 1px solid var(--line); }
th { background: var(--soft); }
thead th { font-size: .95rem; }
tbody th { min-width: 9rem; width: 23%; }
.site-footer { background: #f7f6fa; border-top: 1px solid var(--line); padding-block: 2rem; font-size: .9rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: 1rem; }
.site-footer p { margin: .35rem 0; }
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .header-inner { align-items: flex-start; }
  .site-nav { width: 100%; }
  .content { padding-block: 2rem; }
  th, td { padding: .75rem; }
  tbody th { min-width: 7rem; }
  .policy-table { display: block; }
  .policy-table caption { display: block; text-align: left; font-weight: 650; }
  .policy-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .policy-table tbody { display: block; }
  .policy-table tr {
    display: block;
    border: 1px solid var(--line);
    border-radius: .75rem;
    margin-block: 1rem;
    overflow: hidden;
  }
  .policy-table tbody th, .policy-table td {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    padding: .8rem 1rem;
  }
  .policy-table td + td { border-top: 1px solid var(--line); }
  .policy-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: 650;
    color: var(--purple-dark);
    margin-bottom: .3rem;
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .skip-link, .language-links { display: none; }
  .hero, .site-footer, .note, .contact-box, th { background: none; }
  .wrap { width: 100%; }
  .hero, .content { padding-block: 1rem; }
  a { color: inherit; }
  .card, .note, .contact-box, tr { break-inside: avoid; }
}
