﻿:root {
  --bg: #eef2e7;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fcfcf8;
  --text: #173127;
  --muted: #4f665a;
  --line: rgba(23, 49, 39, 0.12);
  --brand: #0b8764;
  --brand-strong: #09553f;
  --accent: #b89254;
  --accent-soft: rgba(184, 146, 84, 0.12);
  --shadow: 0 24px 60px rgba(17, 47, 34, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "SUIT", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 146, 84, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(11, 135, 100, 0.18), transparent 32%),
    linear-gradient(180deg, #eff4ea 0%, #edf0e4 100%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 24px auto;
}

.site-header,
.site-footer,
.hero,
.feature-overview,
.news-grid-wrap,
.sub-hero,
.filter-panel,
.manual-layout,
.contest-layout,
.signup-layout,
.vision-strip,
.process-board,
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(11, 135, 100, 0.12) 0%, rgba(115, 168, 108, 0.08) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-copy small,
.helper,
.hero-text,
.sub-hero p,
.spotlight-card p,
.feature-card p,
.news-card p,
.species-copy p,
.manual-grid p,
.contest-card p,
.contest-highlight p,
.signup-card p,
.signup-form span,
.process-grid p,
.vision-strip p,
.cta-banner p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 700;
}

.site-nav a { color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--brand-strong); }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  padding: 40px;
  overflow: hidden;
}

.hero-home {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.93), rgba(244,248,240,0.88)),
    linear-gradient(130deg, rgba(11, 135, 100, 0.1), transparent 58%);
}

.hero-home::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 135, 100, 0.12), transparent 65%);
}

.eyebrow,
.card-tag,
.species-type {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.sub-hero h1,
.signup-card h2,
.vision-strip h2,
.cta-banner h2 {
  margin: 10px 0 0;
  font-family: "Noto Serif KR", serif;
  line-height: 1.18;
}

.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.button-primary { background: var(--brand); color: #fff; }
.button-secondary { background: rgba(255,255,255,0.86); border: 1px solid var(--line); }

.hero-panel,
.hero-card-grid,
.feature-grid,
.spotlight-grid,
.news-grid,
.species-grid,
.contest-grid,
  .system-app-grid,
.signup-layout,
.process-grid,
.hero-metrics { display: grid; gap: 18px; }

.hero-panel { grid-template-rows: auto 1fr; }
.hero-card-grid,
.feature-grid,
.spotlight-grid,
.news-grid,
.contest-grid,
  .system-app-grid,
.process-grid,
.hero-metrics { grid-template-columns: repeat(3, 1fr); }

.hero-logo-card,
.hero-card-grid article,
.feature-card,
.spotlight-card,
.news-card,
.species-card,
.manual-sidebar,
.manual-panel,
.contest-highlight,
.contest-card,
.signup-card,
.hero-metrics article,
.process-grid article,
.signup-hero-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(17, 47, 34, 0.08);
}

.hero-logo-card,
.feature-card,
.news-card,
.contest-highlight,
.contest-card,
.signup-card,
.process-grid article,
.signup-hero-card,
.hero-metrics article {
  padding: 24px;
}

.hero-card-grid article,
.spotlight-card { padding: 20px; }

.ci-preview { display: flex; justify-content: center; margin-bottom: 16px; }
.ci-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid var(--brand);
  display: grid;
  place-items: center;
  background: rgba(11, 135, 100, 0.05);
}

.ci-core {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #1d9c76 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  overflow: hidden;
}

.ci-core-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.logo-note,
.signup-mini-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.logo-note span,
.signup-mini-flow span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(11, 135, 100, 0.08);
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

section + section { margin-top: 18px; }
.feature-overview,
.news-grid-wrap,
.sub-hero,
.filter-panel,
.manual-layout,
.contest-layout,
.signup-layout,
.vision-strip,
.process-board,
.cta-banner { padding: 30px; }
.section-heading { margin-bottom: 22px; }
.compact { margin-bottom: 18px; }

.hero-metrics article {
  position: relative;
  overflow: hidden;
}

.hero-metrics article::before,
.feature-card-wide::before,
.process-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #87a85a);
}

.hero-metrics strong,
.process-grid strong,
.signup-hero-card strong {
  display: block;
  font-size: 1rem;
}

.hero-metrics span,
.signup-hero-card span { display: block; margin-top: 10px; color: var(--muted); line-height: 1.6; }

.feature-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 135, 100, 0.1);
  color: var(--brand);
  font-weight: 800;
}

.feature-card-wide {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,249,243,0.92));
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,248,241,0.9));
}

.spotlight-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 135, 100, 0.08), transparent 68%);
}

.spotlight-card span:last-child { display: inline-block; margin-top: 16px; color: var(--brand); font-weight: 800; }

.vision-strip,
.cta-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
}

.process-board { background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(240,244,235,0.84)); }
.process-grid article { position: relative; }

.sub-hero {
  display: grid;
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.sub-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.signup-hero { grid-template-columns: 1fr 320px; align-items: start; }
.signup-hero-card { background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(243,247,239,0.92)); }

.filter-panel { display: flex; gap: 12px; flex-wrap: wrap; }
.chip,
.manual-tab {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.chip.is-active,
.manual-tab.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.species-grid { grid-template-columns: repeat(3, 1fr); }
.species-card { overflow: hidden; }
.species-visual { min-height: 220px; }
.gradient-a { background: linear-gradient(140deg, #274e3a 0%, #7ea76b 90%); }
.gradient-b { background: linear-gradient(140deg, #a57b31 0%, #f0dd82 90%); }
.gradient-c { background: linear-gradient(140deg, #296a54 0%, #eef2e7 90%); }
.species-copy { padding: 24px; }
.species-copy ul { margin: 18px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }

.manual-layout { display: grid; grid-template-columns: 260px 1fr; gap: 18px; }
.manual-sidebar { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.manual-panel { display: none; padding: 24px; }
.manual-panel.is-active { display: block; }
.manual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.manual-grid section { padding: 20px; border-radius: var(--radius-md); background: rgba(11, 135, 100, 0.05); }

.contest-metrics { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.contest-metrics span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(11, 135, 100, 0.08);
  color: var(--brand-strong);
  font-weight: 800;
}

.signup-layout { grid-template-columns: 0.82fr 1.18fr; }
.signup-card-accent { background: linear-gradient(180deg, rgba(246,250,244,0.96), rgba(255,255,255,0.92)); }
.sso-list { display: grid; gap: 12px; }
.sso-button {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-weight: 800;
  cursor: pointer;
}

.sso-button.google { background: #fff; }
.sso-button.kakao { background: #fee500; color: #191600; border-color: #f3db00; }
.sso-button.naver { background: #03c75a; color: #fff; border-color: #03c75a; }

.signup-form { display: grid; gap: 14px; }
.signup-form label { display: grid; gap: 8px; font-weight: 700; }
.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 49, 39, 0.16);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: none;
  border-color: rgba(11, 135, 100, 0.6);
  box-shadow: 0 0 0 4px rgba(11, 135, 100, 0.08);
}

.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.consent { display: flex !important; align-items: center; gap: 10px; }
.consent input { width: auto; }
.submit-button { width: fit-content; }
.site-footer { margin-top: 18px; }
.footer-links { display: flex; gap: 16px; color: var(--muted); }

@media (max-width: 980px) {
  .hero,
  .hero-card-grid,
  .feature-grid,
  .spotlight-grid,
  .news-grid,
  .species-grid,
  .contest-grid,
  .system-app-grid,
  .manual-layout,
  .signup-layout,
  .vision-strip,
  .cta-banner,
  .process-grid,
  .hero-metrics,
  .signup-hero {
    grid-template-columns: 1fr;
  }

  .manual-grid,
  .form-grid.two,
  .form-grid.three { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-shell { width: min(calc(100% - 20px), var(--max-width)); }

  .site-header {
    padding: 16px 18px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 8px;
  }

  .site-nav.is-open { display: flex; }

  .hero,
  .feature-overview,
  .news-grid-wrap,
  .sub-hero,
  .filter-panel,
  .manual-layout,
  .contest-layout,
  .signup-layout,
  .vision-strip,
  .process-board,
  .cta-banner {
    padding: 22px;
    border-radius: 24px;
  }

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

.system-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.system-app-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,240,0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(17, 47, 34, 0.08);
  padding: 24px;
}

.story-grid,
.activity-grid,
.news-hub-grid {
  display: grid;
  gap: 18px;
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.activity-grid {
  grid-template-columns: repeat(2, 1fr);
}

.news-hub-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.timeline-list,
.archive-list {
  display: grid;
  gap: 14px;
}

.timeline-list article,
.archive-list article,
.news-side-card,
.news-lead-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(17, 47, 34, 0.08);
  padding: 22px;
}

.timeline-list article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-list article strong {
  color: var(--brand);
  font-size: 1.1rem;
}

.news-lead-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,240,0.9));
}

.news-side-card strong,
.archive-list strong,
.news-lead-card h3 {
  display: block;
  margin-bottom: 8px;
}

.archive-list article span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 135, 100, 0.08);
  color: var(--brand-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .story-grid,
  .activity-grid,
  .news-hub-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list article {
    grid-template-columns: 1fr;
  }
}
