/* 색과 배치는 assets/brand/web-banners의 확정 배너(어두운 배경 기본)를 따른다. */
:root {
  --bg: #0e1116;
  --surface: #161b22;
  --line: #252c36;
  --fg: #ffffff;
  --muted: #a3adbb;
  --accent: #74a9fa;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f5f7fa;
    --line: #e5e9ef;
    --fg: #1f2937;
    --muted: #677384;
    --accent: #2f6fd6;
    color-scheme: light;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  font-family:
    Pretendard,
    -apple-system,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 1;
  padding: 12px 16px;
  background: var(--surface);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px);
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: clamp(24px, 4vw, 48px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  min-height: 44px;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
}
.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-nav a:hover,
.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.site-nav a[aria-current="page"],
.site-nav a[aria-current="location"] {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.footer-nav {
  margin-bottom: 16px;
  color: var(--fg);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: clamp(48px, 8vw, 96px) 0;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.19;
  letter-spacing: -0.045em;
  font-weight: 700;
}
h1 span {
  display: block;
  white-space: nowrap;
}
.description {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: -0.025em;
  color: var(--muted);
  font-weight: 600;
}
.status {
  display: inline-block;
  margin-top: 28px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}
.symbol {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  aspect-ratio: 1;
}
section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
h2 {
  margin: 0 0 24px;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.03em;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features li {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
}
.features h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.features p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}
.contact a {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
}
footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
footer p {
  margin: 0;
}
footer p a {
  color: inherit;
  text-decoration: underline;
}
.board {
  max-width: 880px;
  min-height: 60vh;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0;
}
.board h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.35;
}
.board-description {
  margin: 16px 0 36px;
  color: var(--muted);
  line-height: 1.7;
}
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.post-list:empty {
  display: none;
}
.post-list li {
  border-bottom: 1px solid var(--line);
}
.post-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: center;
  min-height: 72px;
  padding: 20px 8px;
  text-decoration: none;
  line-height: 1.6;
}
.post-list a:hover {
  background: var(--surface);
}
.post-list a:hover .post-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.post-title {
  font-weight: 600;
}
.post-list time,
.post-date {
  font-size: 14px;
  color: var(--muted);
}
.empty-state {
  margin: 0;
  padding: 64px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}
.post-date {
  margin: 20px 0 32px;
}
.post-body {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.9;
}
.post-body p {
  margin: 0 0 1.5em;
}
.post-body > :last-child {
  margin-bottom: 0;
}
.post-body h2 {
  margin: 32px 0 16px;
}
.post-body a {
  color: var(--accent);
  text-underline-offset: 4px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  color: var(--accent);
  text-underline-offset: 4px;
}
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .symbol {
    max-width: 280px;
    justify-self: center;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .post-list a {
    grid-template-columns: 1fr;
  }
}
@media print {
  :root {
    --bg: #ffffff;
    --fg: #000000;
    --muted: #333333;
    --line: #cccccc;
    color-scheme: light;
  }
  .skip-link,
  header,
  footer,
  .back-link {
    display: none;
  }
  .wrap,
  .board {
    max-width: none;
    min-height: auto;
    padding: 0;
  }
}
