:root {
  color-scheme: light;
  --ink: #18252a;
  --muted: #5d6c70;
  --navy: #123747;
  --navy-soft: #eaf1f3;
  --teal: #176b67;
  --teal-soft: #e8f5f2;
  --gold: #a66a1f;
  --gold-soft: #fff5e5;
  --danger: #9f3a38;
  --danger-soft: #fff0ef;
  --paper: #ffffff;
  --canvas: #f5f7f6;
  --line: #d9e1df;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(18, 55, 71, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 225, 223, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.header-inner,
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  display: inline-block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover,
nav a[aria-current="page"] { background: var(--navy-soft); color: var(--navy); }

main { padding: 3.5rem 0 5rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(91, 191, 172, 0.28), transparent 28%),
    linear-gradient(135deg, #123747 0%, #17575c 100%);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #9fe2d5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-title h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero .lede {
  max-width: 720px;
  margin: 1.4rem 0 0;
  color: #dcebea;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  font-size: 0.82rem;
  font-weight: 750;
}

.page-title {
  padding: 2.2rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.page-title h1 { color: var(--navy); font-size: clamp(2rem, 5vw, 3.8rem); }
.page-title p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }

.section { padding: 3.2rem 0 0; }
.section.compact { padding-top: 2rem; }
.section h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.section h3 { margin: 1.5rem 0 0.4rem; color: var(--navy); }
.section > p,
.section .section-intro { max-width: 800px; color: var(--muted); }

.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(18,55,71,.04);
}
.card h3 { margin-top: 0; }
.card p:last-child,
.card ul:last-child { margin-bottom: 0; }

.callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-left: 5px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--teal-soft);
}
.callout.warning { border-color: var(--gold); background: var(--gold-soft); }
.callout.blocker { border-color: var(--danger); background: var(--danger-soft); }
.callout strong { color: var(--navy); }

.button-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.button {
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid var(--teal);
  border-radius: 10px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
  text-decoration: none;
}
.button.secondary { color: var(--teal); background: #fff; }

.language-jump {
  display: flex;
  gap: .6rem;
  margin: 1rem 0 0;
  font-size: .9rem;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.policy-meta div { padding: 1rem; border-radius: 12px; background: var(--navy-soft); }
.policy-meta dt { color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.policy-meta dd { margin: .2rem 0 0; font-weight: 750; }

.steps { counter-reset: item; padding: 0; list-style: none; }
.steps li {
  position: relative;
  margin: 0 0 1rem;
  padding: 0 0 1rem 3.2rem;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 850;
}

.korean {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 3px solid var(--navy);
}

.plain-list { padding-left: 1.2rem; }
.plain-list li { margin-bottom: .45rem; }

footer {
  padding: 2.2rem 0;
  color: var(--muted);
  background: #eaf0ef;
  border-top: 1px solid var(--line);
  font-size: .88rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 800px) {
  .site-header { position: static; }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .grid.two, .grid.three, .policy-meta { grid-template-columns: 1fr; }
  main { padding-top: 1.5rem; }
  .hero { border-radius: 20px; }
}

@media print {
  :root { --canvas: #fff; }
  .site-header, .button-row, .language-jump { display: none; }
  main { padding: 0; }
  .wrap { width: 100%; }
  .hero { color: var(--ink); background: #fff; border: 2px solid var(--navy); box-shadow: none; }
  .hero .lede, .hero .eyebrow, .pill { color: var(--ink); }
  .card { break-inside: avoid; box-shadow: none; }
  a { color: inherit; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; word-break: break-all; }
}


.main-site-link{flex:none;padding:.48rem .7rem;border:1px solid var(--teal);border-radius:8px;color:var(--teal);font-size:.82rem;font-weight:700;text-decoration:none;white-space:nowrap}.main-site-link:hover{background:var(--teal-soft)}@media(max-width:780px){.header-inner{align-items:flex-start;flex-wrap:wrap;padding:.75rem 0}.main-site-link{order:-1;width:100%;text-align:center}.header-inner nav{width:100%}}
