:root {
  color-scheme: light;
  --brand: #f97316;
  --brand-strong: #c2410c;
  --navy: #162a4e;
  --ink: #172033;
  --muted: #647084;
  --line: #dfe3ea;
  --surface: #ffffff;
  --background: #f5f7fa;
  --soft-orange: #fff4eb;
  --soft-green: #edf8f2;
  --green: #18794e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a:hover {
  color: var(--brand);
}

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

.site-header {
  background: var(--navy);
  color: #ffffff;
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: calc(100% - 32px);
  max-width: 960px;
  margin: 0 auto;
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-link:hover {
  color: #ffffff;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-nav a {
  color: #dbe6f7;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-shell {
  padding: 56px 0 80px;
}

.document,
.hub {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 48px;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  margin: 0;
  font-size: 34px;
}

h2 {
  margin: 44px 0 14px;
  padding-top: 8px;
  font-size: 22px;
}

h3 {
  margin: 28px 0 10px;
  font-size: 17px;
}

p,
ul,
ol {
  margin-top: 0;
}

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

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.notice,
.success-notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 0 6px 6px 0;
  background: var(--soft-orange);
}

.success-notice {
  border-left-color: var(--green);
  background: var(--soft-green);
}

.notice p,
.success-notice p {
  margin: 0;
}

.table-wrap {
  max-width: 100%;
  margin: 18px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0f3f7;
  color: #313c50;
  font-size: 14px;
}

td {
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.policy-card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.policy-card:hover {
  border-color: var(--brand);
  color: var(--ink);
}

.policy-card-label {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
}

.policy-card h2 {
  margin: 10px 0 8px;
  padding: 0;
  font-size: 20px;
}

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

.policy-card-action {
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-strong);
  font-weight: 700;
}

.steps {
  padding-left: 24px;
}

.steps strong {
  display: block;
  margin-bottom: 3px;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 20px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--brand-strong);
  color: #ffffff;
}

.contact-block {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbfc;
}

.contact-block p:last-child {
  margin-bottom: 0;
}

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

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

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

  .page-shell {
    padding: 28px 0 48px;
  }

  .document,
  .hub {
    padding: 28px 20px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    margin-top: 36px;
    font-size: 20px;
  }

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

  .policy-card {
    min-height: 0;
  }

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

@media print {
  body {
    background: #ffffff;
  }

  .site-header,
  .site-footer {
    display: none;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .document {
    border: 0;
    padding: 0;
  }
}
