@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=IBM+Plex+Sans+KR:wght@400;500;600;700&display=swap");

:root {
  --bg: #f3f7f3;
  --ink: #0f1f2a;
  --muted: #4f6474;
  --line: #d6e2e1;
  --paper: #ffffff;
  --brand: #0f9a94;
  --brand-strong: #0b6f8a;
  --accent: #e0792a;
  --shadow: 0 18px 38px rgba(8, 48, 70, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(15, 154, 148, 0.18), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(224, 121, 42, 0.14), transparent 32%),
    linear-gradient(180deg, #f9fcfb 0%, var(--bg) 60%, #edf5f3 100%);
  min-height: 100vh;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(rgba(8, 34, 49, 0.05) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  z-index: -1;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(249, 252, 251, 0.82);
  border-bottom: 1px solid rgba(214, 226, 225, 0.8);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 5px rgba(15, 154, 148, 0.15);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  color: var(--brand-strong);
}

.hero {
  padding: 76px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Chakra Petch", sans-serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-bottom: 14px;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.hero-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0 0 12px;
  font-weight: 700;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #dde8e8;
  padding-bottom: 8px;
}

.status-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.status-list span {
  color: var(--muted);
}

.status-list strong {
  font-family: "Chakra Petch", sans-serif;
}

.section {
  padding: 54px 0;
}

.section-alt {
  background: linear-gradient(
    180deg,
    rgba(15, 154, 148, 0.05) 0%,
    rgba(11, 111, 138, 0.03) 100%
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.section-head p {
  color: var(--muted);
  margin: 8px 0 0;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  border-color: transparent;
}

.digest-list {
  display: grid;
  gap: 14px;
}

.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}

.news-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.news-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.news-source::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.news-time {
  color: var(--muted);
  font-size: 0.82rem;
}

.news-title {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
}

.news-title:hover {
  color: var(--brand-strong);
}

.summary-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.6;
}

.children-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.children-list a {
  color: inherit;
  text-decoration: none;
}

.children-list a:hover {
  color: var(--brand-strong);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}

.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  counter-increment: step;
  box-shadow: var(--shadow);
}

.steps h3 {
  font-size: 1.03rem;
  margin-bottom: 6px;
}

.steps h3::before {
  content: counter(step, decimal-leading-zero) ". ";
  color: var(--accent);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

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

.ops-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow);
}

.ops-card h3 {
  margin-bottom: 10px;
}

.ops-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

pre {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #0f1f2a;
  color: #f5fafb;
  overflow-x: auto;
}

code {
  font-family: "Chakra Petch", monospace;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }
}
