:root {
  --bg: #f7f4ea;
  --surface: #fffdf7;
  --surface-strong: #ffffff;
  --text: #20231f;
  --muted: #6e746b;
  --line: #e6dfcf;
  --primary: #214f43;
  --primary-soft: #e5f0eb;
  --accent: #c28b38;
  --accent-soft: #fff1d5;
  --shadow: 0 22px 54px rgba(39, 51, 41, .13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(194, 139, 56, .16), transparent 34rem),
    linear-gradient(180deg, #fbf8ef 0%, var(--bg) 42%, #f4efe3 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.72;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--primary);
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 247, .88);
  border-bottom: 1px solid rgba(230, 223, 207, .85);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 40px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #347461);
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(33, 79, 67, .23);
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: -.02em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-nav a {
  padding: 9px 12px;
  color: #4e564d;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--primary-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, transparent 0 32%, rgba(255, 255, 255, .36) 32% 33%, transparent 33% 100%),
    radial-gradient(circle at 78% 22%, rgba(33, 79, 67, .16), transparent 26rem);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.eyebrow,
.section-label {
  color: var(--accent);
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.06;
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
  letter-spacing: -.035em;
}

.lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #4d554d;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.ghost-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.primary-btn {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 28px rgba(33, 79, 67, .24);
}

.ghost-btn {
  color: var(--primary);
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
}

.policy-card {
  padding: 24px;
  background: rgba(255, 253, 247, .82);
  border: 1px solid rgba(230, 223, 207, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.policy-card dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.policy-card div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.policy-card div:last-child {
  border-bottom: 0;
}

.policy-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.policy-card dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 80px;
}

.side-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 4px;
  padding: 18px;
  background: rgba(255, 253, 247, .74);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.side-nav strong {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 15px;
}

.side-nav a {
  padding: 8px 10px;
  color: #566057;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.side-nav a.is-active,
.side-nav a:hover,
.side-nav a:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
}

.policy-content {
  display: grid;
  gap: 22px;
}

.section-card {
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(42, 45, 40, .08);
}

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

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.summary-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.summary-item span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-weight: 900;
}

.summary-item p {
  margin: 0;
  color: #444c44;
  font-size: 15px;
}

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

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

th {
  color: var(--primary);
  background: #f7f8f2;
  font-weight: 900;
}

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

.note {
  padding: 16px 18px;
  color: #4d554d;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.link-list,
.date-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.link-list li,
.date-list li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.link-list a {
  color: var(--primary);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agencies span {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.permission-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.permission-list div {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.permission-list strong {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 4px 10px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
}

.permission-list p {
  margin: 0;
}

.contact-card {
  background: linear-gradient(135deg, #fffdf7 0%, #f6f0df 100%);
}

.contact-box {
  margin: 20px 0;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2d6b59);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 34px rgba(33, 79, 67, .24);
}

.contact-box span,
.contact-box a {
  display: block;
}

.contact-box span {
  opacity: .76;
  font-size: 13px;
  font-weight: 800;
}

.contact-box a {
  margin-top: 4px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.site-footer {
  padding: 34px 0;
  color: #fff;
  background: #183d34;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 900;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(33, 79, 67, .24);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

:focus-visible {
  outline: 3px solid rgba(194, 139, 56, .45);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .hero {
    padding-top: 52px;
  }

  .hero-grid,
  .layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container,
  .header-inner {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .top-nav a {
    white-space: nowrap;
  }

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

  .side-nav {
    grid-template-columns: 1fr;
  }

  .section-card {
    border-radius: 22px;
  }

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

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .side-nav,
  .hero-actions,
  .to-top,
  .site-footer {
    display: none !important;
  }

  .hero,
  .layout {
    padding: 0;
  }

  .container,
  .header-inner {
    width: 100%;
  }

  .hero-grid,
  .layout {
    display: block;
  }

  .section-card,
  .policy-card {
    box-shadow: none;
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

