:root {
  color-scheme: light;
  --ink: #171a1f;
  --muted: #606873;
  --line: #d9dde3;
  --surface: #ffffff;
  --surface-soft: #f5f7f9;
  --accent: #e94f2f;
  --accent-dark: #b9341d;
  --teal: #0b6b65;
  --focus: #1463d6;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: 0;
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 45%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, white 94%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner,
.hero-inner,
.content-layout {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent);
  color: white;
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 4px;
  color: #454b54;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--ink);
}

.site-nav .report-link {
  border: 1px solid #f1aa9b;
  color: var(--accent-dark);
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-inner {
  padding-block: 52px 46px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
}

.hero-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.content-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 64px;
  justify-content: space-between;
  padding-block: 46px 80px;
}

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

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent-dark);
}

.policy-content > section {
  padding-block: 2px 34px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.policy-content > section + section {
  padding-top: 34px;
}

.policy-content h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.policy-content h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.policy-content p,
.policy-content ul,
.policy-content ol {
  margin-block: 10px;
}

.policy-content li + li {
  margin-top: 6px;
}

.notice {
  margin-block: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: #eef8f6;
}

.warning {
  border-left-color: var(--accent);
  background: #fff3ef;
}

.definition-list {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  margin: 18px 0;
  border-top: 1px solid var(--line);
}

.definition-list dt,
.definition-list dd {
  margin: 0;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  font-weight: 750;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.status-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  font-size: 14px;
}

.status-item strong {
  display: block;
  color: var(--teal);
}

.policy-form {
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.field legend {
  font-weight: 720;
}

.field small,
.form-note {
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #aeb5bf;
  border-radius: 5px;
  background: white;
  color: var(--ink);
}

input,
select {
  min-height: 44px;
  padding: 8px 11px;
}

textarea {
  min-height: 150px;
  padding: 11px;
  resize: vertical;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button,
.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button-link:hover {
  background: #30343a;
  color: white;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.secondary-button {
  background: white;
  color: var(--ink);
}

.secondary-button:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.form-result {
  display: none;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.form-result[data-visible="true"] {
  display: block;
}

.form-result[data-kind="success"] {
  border-color: #75aaa5;
  background: #eef8f6;
}

.form-result[data-kind="error"] {
  border-color: #e39b8c;
  background: #fff3ef;
}

.ticket-code {
  display: block;
  margin-top: 8px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 16px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 820px) {
  .header-inner {
    display: block;
    padding-block: 12px;
  }

  .site-nav {
    margin-top: 8px;
    padding-bottom: 2px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .toc {
    position: static;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .status-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .footer-inner,
  .hero-inner,
  .content-layout {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero-inner {
    padding-block: 38px 34px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .field-row,
  .definition-list,
  .status-list {
    grid-template-columns: 1fr;
  }

  .definition-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .definition-list dd {
    padding-top: 4px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner p + p {
    margin-top: 8px;
  }
}

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