:root {
  --page: #f7f8fa;
  --surface: #ffffff;
  --ink: #20242b;
  --muted: #626b78;
  --line: #dfe3e8;
  --brand: #287a5b;
  --brand-strong: #175c43;
  --danger: #b43f45;
  --danger-soft: #fff3f3;
  --info: #235f9c;
  --info-soft: #f1f7fd;
  --warm: #fff8f1;
  --focus: #111827;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Noto Sans KR", "Noto Sans JP", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

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

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

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

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

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.25;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 700;
}

.page {
  padding-block: 44px 72px;
}

.page-title {
  max-width: 700px;
  margin-bottom: 36px;
}

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

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.meta {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 0;
}

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

ul,
ol {
  margin: 0 0 18px;
  padding-left: 1.4rem;
}

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

.data-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 18px 0 0;
}

.data-item {
  min-width: 0;
}

.data-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.notice {
  padding: 18px;
  border: 1px solid #ecc6c8;
  border-left: 4px solid var(--danger);
  border-radius: 6px;
  background: var(--danger-soft);
}

.notice.info {
  border-color: #c6daee;
  border-left-color: var(--info);
  background: var(--info-soft);
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

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

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  min-height: 42px;
  padding-left: 50px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--brand-strong);
  border-radius: 6px;
  color: #fff;
  background: var(--brand-strong);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.key-value {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 20px;
  margin: 0;
}

.key-value dt {
  color: var(--muted);
  font-weight: 700;
}

.key-value dd {
  margin: 0;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.link-list a {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
  text-decoration: none;
}

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

.site-footer-inner {
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 68px;
  }

  .header-nav a:first-child {
    display: none;
  }

  .page {
    padding-block: 32px 56px;
  }

  .data-list,
  .link-list {
    grid-template-columns: 1fr;
  }

  .key-value {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .key-value dd + dt {
    margin-top: 12px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
