:root {
  color-scheme: dark;
  --ink: #071422;
  --ink-soft: #0b1d30;
  --panel: #10263d;
  --line: #294766;
  --paper: #f6f1e7;
  --muted: #9eb0c4;
  --mint: #58e0b5;
  --sun: #ffca57;
  --sky: #5ab6ff;
  --violet: #a67cff;
  --shadow: 0 22px 70px rgb(0 0 0 / 28%);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(rgb(41 71 102 / 16%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(41 71 102 / 16%) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgb(88 224 181 / 10%), transparent 36%),
    var(--ink);
  background-size: 48px 48px, 48px 48px, auto, auto;
  line-height: 1.68;
}

a {
  color: var(--mint);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  padding: 22px 0 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  font-weight: 950;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 17px;
  width: 11px;
  height: 4px;
  border-radius: 4px;
  background: var(--mint);
}

.brand-mark::before {
  left: 5px;
}

.brand-mark::after {
  right: 5px;
}

.brand-mark span {
  position: absolute;
  inset: 11px;
  rotate: 45deg;
  border-radius: 4px;
  background: var(--paper);
}

.nav-spacer {
  flex: 1;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-soft);
}

.language-switch button {
  min-width: 48px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--mint);
}

.hero {
  padding: 72px 0 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.document-title {
  max-width: 780px;
  font-size: clamp(36px, 7vw, 62px);
}

.lede {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgb(16 38 61 / 78%);
  font-size: 12px;
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px 0 74px;
}

.card {
  display: block;
  min-height: 220px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--paper);
  background: linear-gradient(145deg, rgb(16 38 61 / 96%), rgb(11 29 48 / 96%));
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: translate 160ms ease, border-color 160ms ease;
}

.card:hover {
  translate: 0 -3px;
  border-color: var(--mint);
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 14px;
  color: var(--ink);
  background: var(--mint);
  font-size: 21px;
  font-weight: 950;
}

.card:nth-child(2) .card-icon {
  background: var(--sky);
}

.card:nth-child(3) .card-icon {
  background: var(--violet);
}

.card h2 {
  margin-bottom: 8px;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.document {
  padding-bottom: 76px;
}

.notice,
.contact-card {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid rgb(88 224 181 / 42%);
  border-radius: 18px;
  background: rgb(88 224 181 / 8%);
}

.notice p,
.contact-card p {
  margin: 0;
}

.section {
  margin: 14px 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(16 38 61 / 92%);
}

.section h2 {
  margin-bottom: 13px;
  font-size: clamp(20px, 3vw, 27px);
  letter-spacing: -0.04em;
}

.section h3 {
  margin: 22px 0 8px;
  color: var(--sky);
  font-size: 16px;
}

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

.section p,
.section li {
  color: #c5d0dc;
}

.section li + li {
  margin-top: 7px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 11px 18px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--mint);
  font-weight: 900;
  text-decoration: none;
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--paper);
  background: var(--ink-soft);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgb(41 71 102 / 58%);
  color: var(--muted);
  font-size: 12px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

html[data-language="en"] [data-lang="ko"],
html[data-language="ko"] [data-lang="en"] {
  display: none !important;
}

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

@media (max-width: 720px) {
  .shell {
    width: min(100% - 26px, 920px);
  }

  .hero {
    padding-top: 48px;
  }

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

  .card {
    min-height: 0;
  }

  .card-icon {
    margin-bottom: 20px;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #111;
    background: #fff;
  }

  .language-switch,
  .site-footer,
  .footer-links {
    display: none;
  }

  .section,
  .notice,
  .contact-card {
    break-inside: avoid;
    border-color: #ccc;
    color: #111;
    background: #fff;
    box-shadow: none;
  }

  .section p,
  .section li,
  .lede {
    color: #333;
  }
}
