:root {
  --paper: #f4f2ec;
  --surface: #fffefa;
  --ink: #20231f;
  --muted: #686c65;
  --line: #d8d7d0;
  --accent: #245f4a;
  --accent-soft: #e6efe9;
  --max-width: 1120px;
  color-scheme: light;
  font-family:
    Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR",
    "Apple SD Gothic Neo", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  background:
    linear-gradient(rgba(32, 35, 31, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 32px;
}

a {
  color: inherit;
}

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

.site-header,
.site-footer,
.page-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

.header-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.page-shell {
  padding-block: 72px 96px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 72px;
  align-items: end;
  padding: 40px 0 64px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

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

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.hero-aside {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.hero-aside dt,
.company-facts dt,
.notice-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero-aside dd {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.55;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 710;
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.notice-list {
  border-top: 1px solid var(--ink);
}

.notice-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 140px 28px;
  gap: 28px;
  align-items: center;
  min-height: 118px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    padding 180ms ease;
}

.notice-row:hover,
.notice-row:focus-visible {
  padding-inline: 18px;
  background: rgba(255, 254, 250, 0.68);
  outline: none;
}

.notice-row:active {
  transform: translateY(1px);
}

.notice-order {
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.notice-title {
  font-size: 21px;
  font-weight: 690;
  letter-spacing: -0.025em;
}

.notice-date {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.notice-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 17px;
  line-height: 1;
}

.notice-row.is-pending {
  cursor: default;
}

.notice-row.is-pending:hover,
.notice-row.is-pending:focus-visible {
  padding-inline: 8px;
  background: transparent;
}

.pending-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #cbd4cd;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 720;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-facts > div {
  min-height: 108px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
}

.company-facts > div:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.company-facts > div:nth-child(even) {
  padding-left: 32px;
}

.company-facts dd {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  word-break: keep-all;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-block: 28px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  text-underline-offset: 3px;
}

/* Notice document */
.notice-shell {
  width: min(calc(100% - 48px), 920px);
  margin-inline: auto;
  padding-block: 56px 96px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 64px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 630;
  text-decoration: none;
}

.breadcrumb:hover,
.breadcrumb:focus-visible {
  color: var(--accent);
  outline: none;
}

.notice-document {
  padding: clamp(38px, 7vw, 76px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 28px 70px -56px rgba(31, 43, 36, 0.48);
}

.notice-document-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.notice-badge {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.print-button {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    background-color 150ms ease;
}

.print-button:hover,
.print-button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  outline: none;
}

.print-button:active {
  transform: translateY(1px);
}

.notice-document h1 {
  margin: 64px 0 48px;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.notice-lead {
  margin-bottom: 36px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 580;
  letter-spacing: -0.02em;
  line-height: 1.75;
  word-break: keep-all;
}

.notice-body {
  color: #3f443e;
  font-size: 16px;
  line-height: 1.9;
  word-break: keep-all;
}

.deadline {
  margin-block: 36px;
  padding: 24px 26px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.deadline span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.deadline strong {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 720;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.notice-warning {
  margin: 36px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 690;
  line-height: 1.75;
}

.notice-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 54px 0 0;
  border-top: 1px solid var(--line);
}

.notice-meta > div {
  padding: 21px 8px;
  border-bottom: 1px solid var(--line);
}

.notice-meta > div:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.notice-meta > div:nth-child(even) {
  padding-left: 24px;
}

.notice-meta dd {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 610;
  line-height: 1.65;
  word-break: keep-all;
}

.notice-meta a {
  text-underline-offset: 3px;
}

.signature {
  margin-top: 64px;
  text-align: right;
}

.signature time {
  display: block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.signature p {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 630;
}

.signature strong {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.legal-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .page-shell,
  .notice-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    min-height: 70px;
  }

  .page-shell {
    padding-block: 36px 64px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 32px 48px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .section {
    padding-block: 44px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .notice-row {
    grid-template-columns: 86px minmax(0, 1fr) 26px;
    gap: 14px;
    min-height: 104px;
  }

  .notice-date {
    grid-column: 2;
  }

  .notice-arrow,
  .pending-label {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .company-facts,
  .notice-meta {
    grid-template-columns: 1fr;
  }

  .company-facts > div:nth-child(odd),
  .company-facts > div:nth-child(even),
  .notice-meta > div:nth-child(odd),
  .notice-meta > div:nth-child(even) {
    padding-inline: 8px;
    border-right: 0;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
  }

  .notice-shell {
    padding-block: 28px 64px;
  }

  .breadcrumb {
    margin-bottom: 28px;
  }

  .notice-document {
    padding: 28px 22px 36px;
  }

  .notice-document h1 {
    margin-block: 46px 36px;
  }

  .notice-document-header {
    align-items: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 18mm;
  }

  html,
  body {
    background: #fff;
  }

  .site-header,
  .site-footer,
  .breadcrumb,
  .print-button {
    display: none !important;
  }

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

  .notice-document {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .notice-document h1 {
    margin-top: 48px;
    font-size: 38px;
  }

  .notice-lead {
    font-size: 18px;
  }

  .notice-body,
  .notice-warning {
    font-size: 14px;
  }

  .legal-note {
    color: #444;
  }
}
