:root {
  color-scheme: light;
  --abyss-950: #03131d;
  --abyss-900: #062333;
  --abyss-800: #0a3b4e;
  --current-600: #087d8f;
  --current-500: #0e9aac;
  --foam-100: #e6f7fa;
  --foam-50: #f5fbfc;
  --paper: #ffffff;
  --ink: #102c38;
  --muted: #526f7b;
  --line: #c9dfe5;
  --warning-bg: #fff7e7;
  --warning-border: #d99b20;
  --warning-ink: #714b00;
  --danger: #a2352a;
  --shadow: 0 18px 60px rgba(3, 35, 51, 0.12);
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(14, 154, 172, 0.11), transparent 28rem),
    var(--foam-50);
}

a {
  color: #066c7c;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: #034c5a;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #f4be4b;
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--abyss-950);
  background: #fff;
  border-radius: 0.5rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: relative;
  overflow: hidden;
  color: #f2fdff;
  background:
    radial-gradient(circle at 82% 22%, rgba(71, 215, 223, 0.22), transparent 18rem),
    linear-gradient(155deg, var(--abyss-800), var(--abyss-950) 72%);
}

.site-header::before,
.site-header::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(165, 240, 244, 0.28);
  border-radius: 999px;
  pointer-events: none;
}

.site-header::before {
  width: 11rem;
  height: 11rem;
  right: 8%;
  bottom: -7rem;
}

.site-header::after {
  width: 3.5rem;
  height: 3.5rem;
  right: 5%;
  top: 28%;
}

.nav,
.hero,
.page-shell,
.site-footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  gap: 1.25rem;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: #9ee1e7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.55rem 0.72rem;
  color: #d9f7fa;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 4.8rem 0 5.4rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #75dbe2;
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: #c2e8ec;
  font-size: clamp(1rem, 2.4vw, 1.22rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.hero-meta span {
  padding: 0.42rem 0.72rem;
  color: #dffcff;
  background: rgba(4, 17, 26, 0.38);
  border: 1px solid rgba(158, 225, 231, 0.26);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.page-shell {
  padding: 3.5rem 0 5rem;
}

.section {
  margin-top: 4rem;
}

.section:first-child {
  margin-top: 0;
}

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

.section-heading h2,
.policy-article h2 {
  margin: 0;
  color: var(--abyss-900);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

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

.card,
.policy-article,
.status-panel,
.steps,
.scope-table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
}

.card {
  padding: 1.35rem;
}

.card-kicker {
  margin: 0 0 0.7rem;
  color: var(--current-600);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0;
  color: var(--abyss-900);
  font-size: 1.15rem;
}

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

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 800;
}

.status-panel {
  padding: 1.35rem;
  border-color: var(--warning-border);
  background: var(--warning-bg);
  box-shadow: none;
}

.status-panel strong {
  display: block;
  color: var(--warning-ink);
  font-size: 1.05rem;
}

.status-panel p,
.status-panel ul {
  color: var(--warning-ink);
}

.status-panel p:last-child,
.status-panel ul:last-child {
  margin-bottom: 0;
}

.steps {
  counter-reset: deletion-step;
  margin: 0;
  padding: 0.6rem 1.45rem;
  list-style: none;
}

.steps li {
  position: relative;
  counter-increment: deletion-step;
  padding: 1.2rem 0 1.2rem 3.2rem;
  border-bottom: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 0;
}

.steps li::before {
  position: absolute;
  left: 0;
  top: 1.05rem;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  content: counter(deletion-step);
  color: #fff;
  background: var(--current-600);
  border-radius: 999px;
  font-weight: 900;
}

.steps strong {
  display: block;
  color: var(--abyss-900);
}

.steps p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.scope-table-wrap {
  overflow-x: auto;
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
}

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

.scope-table tr:last-child th,
.scope-table tr:last-child td {
  border-bottom: 0;
}

.scope-table th {
  width: 28%;
  color: var(--abyss-900);
  background: #eef8fa;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.policy-article {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.policy-article h1 {
  margin: 0;
  color: var(--abyss-900);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.policy-article h2 {
  margin-top: 2rem;
  font-size: 1.22rem;
}

.policy-article p,
.policy-article li {
  font-size: 0.96rem;
}

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

code {
  padding: 0.1em 0.3em;
  color: #194d5d;
  background: #e7f4f6;
  border-radius: 0.3em;
  font-size: 0.88em;
}

details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

details:last-child {
  border-bottom: 0;
}

summary {
  color: var(--abyss-900);
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  color: #c5e8ec;
  background: var(--abyss-950);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer a {
  color: #8de2e8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 800px) {
  .card-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.4rem 0 4rem;
  }

  .policy-article[lang="en"] {
    margin-top: 0.5rem;
  }
}

@media (max-width: 600px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

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

  .hero h1 {
    font-size: clamp(2.1rem, 13vw, 3.2rem);
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .scope-table th {
    width: 38%;
  }
}

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

