:root {
  color-scheme: light;
  --ink: #172027;
  --muted: #5d6872;
  --line: #d9e2e7;
  --paper: #f7faf9;
  --surface: #ffffff;
  --green: #1b7f67;
  --green-dark: #105443;
  --blue: #2867b2;
  --yellow: #f0c24c;
  --shadow: 0 18px 60px rgb(23 32 39 / 12%);
  font-family:
    Pretendard,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgb(247 250 249 / 86%);
  border-bottom: 1px solid rgb(217 226 231 / 78%);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(27 127 103 / 24%);
}

.nav-links {
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a,
.text-link {
  text-underline-offset: 0.28em;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(44px, 8vw, 96px) clamp(20px, 5vw, 72px) 56px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: #33424d;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  word-break: keep-all;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button.secondary {
  color: var(--green-dark);
  background: #fff;
}

.hero-visual {
  margin: 0;
  justify-self: center;
  width: min(100%, 520px);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow));
}

.band {
  margin: 0 clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro,
.status {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(42px, 8vw, 82px) 0;
}

.section-heading h2,
.status h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

.intro-copy,
.status p {
  max-width: 760px;
  color: #354651;
  font-size: clamp(1.04rem, 1.6vw, 1.25rem);
  word-break: keep-all;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.intro-copy p:last-child,
.status p {
  margin-bottom: 0;
}

.wikis {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.wiki-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.wiki-group {
  padding: clamp(20px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgb(23 32 39 / 8%);
}

.wiki-group.muted {
  background: #fbfcfc;
}

.wiki-group h3 {
  margin: 0 0 18px;
  font-size: 1.25rem;
}

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

.wiki-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 46px;
  padding: 10px 0;
  border-top: 1px solid #edf1f3;
}

.wiki-list li:first-child {
  border-top: 0;
}

.wiki-list a,
.wiki-list li > span:first-child {
  font-weight: 800;
  word-break: keep-all;
}

.wiki-list li > span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.status {
  align-items: start;
}

.status .text-link {
  align-self: end;
  color: var(--green-dark);
  font-weight: 800;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .intro,
  .status,
  .wiki-groups {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    width: min(100%, 420px);
  }

  .status .text-link {
    align-self: start;
  }
}

@media (max-width: 560px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(3.7rem, 24vw, 5.6rem);
  }

  .button {
    width: 100%;
  }

  .wiki-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
