@font-face {
  font-family: "Pretendard";
  src: url("./assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #182320;
  --muted: #5d6a66;
  --paper: #f5f3ed;
  --surface: #fff;
  --green: #0e665c;
  --green-dark: #084a43;
  --green-soft: #e8f2ef;
  --gold: #d5ad66;
  --wine: #7a2639;
  --line: #d8ded9;
  --content: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.65;
  letter-spacing: -0.018em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  color: #fff;
  background: var(--green-dark);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content), calc(100% - 48px));
  min-height: 76px;
  margin-inline: auto;
  border-bottom: 1px solid rgba(24, 35, 32, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { display: grid; }
.brand strong { font-size: 0.98rem; line-height: 1.2; }
.brand small { color: var(--muted); font-size: 0.61rem; font-weight: 680; letter-spacing: 0.06em; }

.header-nav { display: flex; align-items: center; gap: 18px; font-size: 0.82rem; font-weight: 720; }
.header-nav a { text-decoration: none; }
.header-nav > a:first-child { color: var(--muted); }
.header-login {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.62);
}

.hero,
.section,
.site-footer {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.72fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
  min-height: 640px;
  padding: 84px 0 92px;
}

.pilot-label,
.section-kicker,
.section-heading > p {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 840;
  letter-spacing: 0.15em;
}

.pilot-label { display: flex; align-items: center; gap: 9px; }
.pilot-label span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(14, 102, 92, 0.12); }

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 5.7vw, 5.2rem);
  font-weight: 805;
  line-height: 1.08;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.9;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 9px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(8, 74, 67, 0.18);
  font-size: 0.88rem;
  font-weight: 780;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.text-link { color: var(--muted); font-size: 0.86rem; font-weight: 730; text-decoration: none; }
.invitation-note { max-width: 610px; margin: 17px 0 0; color: var(--muted); font-size: 0.76rem; }

.pilot-status {
  padding: 28px;
  border: 1px solid rgba(14, 102, 92, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 70px rgba(43, 62, 57, 0.1);
}

.status-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.status-heading span { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.status-heading strong { padding: 5px 9px; border-radius: 999px; color: var(--green-dark); background: var(--green-soft); font-size: 0.72rem; }
.pilot-status dl { display: grid; gap: 0; margin: 8px 0 0; }
.pilot-status dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(216, 222, 217, 0.78); }
.pilot-status dt { color: var(--muted); font-size: 0.78rem; }
.pilot-status dd { margin: 0; font-size: 0.82rem; font-weight: 770; text-align: right; }
.pilot-status > p { margin: 18px 0 0; color: var(--muted); font-size: 0.73rem; line-height: 1.65; }

.section { padding: 96px 0; }
.section-heading { display: grid; grid-template-columns: 0.48fr 1.52fr; gap: 36px; align-items: start; margin-bottom: 46px; }
.section-heading h2,
.scope-copy h2,
.safeguards h2,
.participation h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.22; letter-spacing: -0.045em; text-wrap: balance; }

.workflow { border-top: 1px solid var(--line); }
.workflow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.workflow-list li { min-width: 0; padding: 24px 24px 16px 0; border-right: 1px solid var(--line); }
.workflow-list li:not(:first-child) { padding-left: 24px; }
.workflow-list li:last-child { border-right: 0; }
.workflow-list span { color: var(--green); font-size: 0.7rem; font-weight: 840; }
.workflow-list strong { display: block; margin-top: 28px; font-size: 1rem; }
.workflow-list p { margin: 10px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }

.scope {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--line);
}
.scope-copy > p:last-child { margin: 24px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.85; }
.scope-copy .scope-boundary-note {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--green);
  font-size: 0.79rem;
}
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scope-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.65); }
.scope-grid article:last-child { background: rgba(122, 38, 57, 0.035); }
.scope-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 850; }
.scope-mark.allowed { color: var(--green-dark); background: var(--green-soft); }
.scope-mark.restricted { color: var(--wine); background: #f5e9ec; }
.scope-grid h3 { margin: 24px 0 14px; font-size: 1rem; }
.scope-grid ul { display: grid; gap: 10px; margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.79rem; line-height: 1.6; }

.safeguards {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(48px, 8vw, 96px);
  padding-inline: clamp(28px, 5vw, 64px);
  border-radius: 22px;
  color: #fff;
  background: var(--green-dark);
}
.safeguards .section-kicker { color: var(--gold); }
.safeguards ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.safeguards li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.safeguards li:last-child { border-bottom: 0; }
.safeguards strong { font-size: 0.82rem; }
.safeguards span { color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; }
.safeguard-link {
  grid-column: 2;
  justify-self: start;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 760;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 4px;
}
.safeguard-link:hover { text-decoration-color: #fff; }

.participation { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(48px, 8vw, 96px); align-items: start; }
.participation-copy > p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 0.88rem; }
.participation > ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.participation > ol li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.participation > ol li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--green); font-size: 0.72rem; font-weight: 820; }
.participation strong { font-size: 0.9rem; }
.participation p { margin: 5px 0 0; color: var(--muted); font-size: 0.8rem; }
.participation > .primary-button { grid-column: 2; justify-self: start; margin-top: -52px; transform: translateY(82px); }
.participation > .primary-button:hover { transform: translateY(81px); }

.site-footer { display: flex; justify-content: space-between; gap: 28px; margin-top: 82px; padding: 28px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--ink); }
.site-footer span { white-space: nowrap; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 68px; }
  .pilot-status { width: min(560px, 100%); }
  .section-heading,
  .scope,
  .safeguards,
  .participation { grid-template-columns: 1fr; }
  .safeguard-link { grid-column: auto; }
  .workflow-list { grid-template-columns: 1fr 1fr; }
  .workflow-list li:nth-child(2) { border-right: 0; }
  .workflow-list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .workflow-list li:nth-child(3) { padding-left: 0; }
  .participation > .primary-button { grid-column: auto; margin-top: 0; transform: none; }
  .participation > .primary-button:hover { transform: translateY(-1px); }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .site-footer { width: min(100% - 36px, var(--content)); }
  .site-header { min-height: 68px; }
  .brand img { width: 35px; height: 35px; }
  .brand small,
  .header-nav > a:first-child { display: none; }
  .hero { gap: 38px; padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 3.6rem); }
  .hero-lead { font-size: 0.95rem; }
  .pilot-status { padding: 22px; }
  .section { padding: 72px 0; }
  .section-heading { gap: 8px; margin-bottom: 32px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li,
  .workflow-list li:not(:first-child) { padding: 20px 0; border-right: 0; border-top: 1px solid var(--line); }
  .workflow-list li:first-child { border-top: 0; }
  .workflow-list strong { margin-top: 10px; }
  .scope-grid { grid-template-columns: 1fr; }
  .safeguards { width: 100%; padding: 68px 24px; border-radius: 0; }
  .safeguards li { grid-template-columns: 1fr; gap: 5px; }
  .site-footer { display: grid; margin-top: 54px; padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .site-footer span { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button { transition: none; }
}
