:root {
  --ink: var(--atlas-ink, #101113);
  --muted: var(--atlas-muted, #626976);
  --line: var(--atlas-line, rgba(16, 17, 19, 0.13));
  --surface: var(--atlas-paper, #ffffff);
  --bg: var(--atlas-canvas, #f5f6f8);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 12% 0%, #fff 0, #f8f9fa 44%, #eef0f3 100%);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Pretendard", Inter, sans-serif;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.05rem 1rem 3rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.86rem;
}

.brand-wrap,
.nav-links a,
.board-row,
.doc-link {
  color: inherit;
  text-decoration: none;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.78rem;
}

.brand-logo {
  width: auto;
  height: 34px;
  object-fit: contain;
}

.brand {
  font-weight: 900;
  letter-spacing: 0.07em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.doc-hero {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: clamp(1rem, 2.2vw, 1.5rem);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.doc-eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.doc-hero h1 {
  margin: 0.24rem 0 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.doc-hero p {
  max-width: 780px;
  margin: 0.55rem 0 0;
  color: #4a5361;
  line-height: 1.58;
}

.board {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 0.82rem;
  margin-top: 0.82rem;
}

.board-list,
.board-detail,
.legal-section {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.board-list {
  align-self: start;
  overflow: hidden;
}

.board-row {
  display: grid;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(16, 17, 19, 0.08);
  padding: 0.78rem;
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row small,
.board-detail small,
.legal-section small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.board-row strong {
  font-size: 0.96rem;
  font-weight: 950;
}

.board-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
}

.board-detail {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.board-detail h2,
.legal-section h2 {
  margin: 0.24rem 0 0;
  font-size: 1.28rem;
}

.board-detail p,
.legal-section p,
.legal-section li {
  color: #424b59;
  line-height: 1.65;
}

.board-detail p:last-child,
.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-grid {
  display: grid;
  gap: 0.82rem;
  margin-top: 0.82rem;
}

.legal-section {
  padding: clamp(1rem, 2vw, 1.25rem);
}

.legal-section ul {
  margin: 0.72rem 0 0;
  padding-left: 1.2rem;
}

.doc-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(16, 17, 19, 0.16);
  border-radius: 4px;
  background: #fff;
  font-weight: 900;
  padding: 0.42rem 0.64rem;
}

.notice-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 58%, rgba(246, 247, 249, 0.96) 100%),
    var(--surface);
  padding: clamp(1rem, 2.2vw, 1.5rem);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.notice-hero h1 {
  margin: 0.22rem 0 0;
  font-size: clamp(2.2rem, 5vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.notice-hero > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.55;
  text-align: right;
}

.notice-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0.82rem;
}

.notice-status article {
  display: grid;
  gap: 0.32rem;
  min-height: 92px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 0.82rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.notice-status span,
.notice-item time {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice-status strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-board {
  display: grid;
  gap: 0;
  margin-top: 0.82rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.notice-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  border-bottom: 1px solid rgba(16, 17, 19, 0.08);
  padding: clamp(1rem, 2.2vw, 1.25rem);
}

.notice-item:last-child {
  border-bottom: 0;
}

.notice-item h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.2;
}

.notice-item p {
  max-width: 760px;
  margin: 0.46rem 0 0;
  color: #424b59;
  font-size: 0.94rem;
  line-height: 1.62;
}

@media (max-width: 820px) {
  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .notice-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .notice-hero > p {
    text-align: left;
  }

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

  .notice-item {
    grid-template-columns: 1fr;
  }
}
