:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --text: #17202a;
  --muted: #5e6875;
  --border: #d8dee6;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --shadow: 0 18px 44px rgba(21, 30, 41, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(216, 222, 230, 0.88);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand strong {
  color: var(--accent-strong);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current] {
  border-color: var(--border);
  color: var(--accent-strong);
  background: #ffffff;
}

.nav-menu {
  position: relative;
  display: inline-flex;
}

.nav-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 29;
  width: 100%;
  min-width: 190px;
  height: 10px;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 190px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu:hover::after,
.nav-menu:focus-within::after {
  pointer-events: auto;
}

.nav-submenu a {
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.frontpage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(120px, 1fr);
  align-items: center;
  padding: clamp(26px, 5vh, 54px) clamp(18px, 6vw, 82px);
  background:
    linear-gradient(90deg, rgba(245, 247, 248, 0.9) 0%, rgba(245, 247, 248, 0.58) 44%, rgba(245, 247, 248, 0.03) 100%),
    url("assets/hero-space-background.png") right center / cover no-repeat;
}

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

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

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

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8.5vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.summary,
.lede,
.content-card p {
  color: var(--muted);
  line-height: 1.62;
}

.summary {
  max-width: 52ch;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.content-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent-strong);
  color: #ffffff;
  background: var(--accent-strong);
}

.simple-page {
  flex: 1;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: clamp(28px, 6vh, 64px) clamp(18px, 5vw, 48px);
}

.content-card {
  padding: clamp(26px, 5vw, 48px);
}

.content-card h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.content-card h2 {
  margin: 36px 0 10px;
  font-size: 1.32rem;
  line-height: 1.2;
}

.content-card p {
  max-width: 72ch;
  font-size: 1.02rem;
}

.content-card a:not(.project-row) {
  color: var(--accent-strong);
  font-weight: 700;
}

.project-list-view {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(260px, 1.4fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  font-weight: 400;
  text-decoration: none;
}

.project-row:hover,
.project-row:focus-visible {
  color: var(--accent-strong);
}

.project-main,
.project-copy {
  display: grid;
  gap: 4px;
}

.project-main strong {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 800;
}

.project-main span,
.project-copy {
  color: var(--muted);
  font-weight: 400;
}

.project-status {
  justify-self: end;
  padding: 5px 10px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(15, 118, 110, 0.08);
}

.lede {
  margin-top: 20px;
  font-size: 1.12rem;
}

.policy-notice {
  margin: 28px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  color: var(--accent-strong);
  font-weight: 700;
  line-height: 1.55;
  background: rgba(15, 118, 110, 0.08);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.policy-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  background: #ffffff;
}

.policy-section {
  margin-top: 36px;
}

.policy-summary {
  display: grid;
  margin: 18px 0 0;
  border-top: 1px solid var(--border);
}

.policy-summary div {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.policy-summary dt,
.policy-summary dd {
  margin: 0;
  line-height: 1.55;
}

.policy-summary dt {
  color: var(--text);
  font-weight: 800;
}

.policy-summary dd {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr 1fr;
  gap: 10px 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: #ffffff;
  font-size: 0.88rem;
  line-height: 1.45;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
}

.site-footer strong {
  color: var(--text);
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 700;
}

@media (max-width: 860px) {
  body {
    min-height: 100svh;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .frontpage {
    grid-template-columns: 1fr;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(245, 247, 248, 0.96), rgba(245, 247, 248, 0.74)),
      url("assets/hero-space-background.png") center / cover no-repeat;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    min-height: 58px;
    padding: 10px 14px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .site-nav a {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.86rem;
  }

  .nav-menu {
    position: relative;
    display: inline-flex;
  }

  .nav-menu::after {
    content: none;
  }

  .nav-submenu {
    position: absolute;
    top: calc(100% + 6px);
    right: auto;
    left: 0;
    z-index: 40;
    display: none;
    min-width: 190px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu.is-open .nav-menu-trigger {
    border-color: var(--border);
    color: var(--accent-strong);
    background: #ffffff;
  }

  .nav-menu.is-open .nav-submenu {
    display: grid;
  }

  .nav-submenu a {
    min-height: 38px;
    padding: 0 10px;
    background: #ffffff;
  }

  .frontpage {
    padding: 20px 14px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2rem, 13vw, 3.5rem);
  }

  .summary {
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .button {
    width: 100%;
    min-height: 40px;
  }

  .site-footer {
    padding: 12px 14px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-status {
    justify-self: start;
  }

  .policy-summary div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
