:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --paper: #ffffff;
  --ink: #111827;
  --soft: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --code: #0f172a;
  --blue: #2563eb;
  --teal: #0f766e;
  --amber: #b7791f;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Noto Sans KR", system-ui, sans-serif;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  background: rgba(246, 248, 251, 0.9);
  backdrop-filter: blur(14px);
}

.logo,
.nav,
.actions,
.status,
.foot {
  display: flex;
  align-items: center;
}

.logo {
  gap: 12px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  font-weight: 800;
}

.mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 13px;
}

.nav {
  gap: 26px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.nav button {
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}

.nav button:hover {
  color: var(--blue);
}

.nav button.active {
  background: #e8f0ff;
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(34px, 6vw, 72px);
  min-height: calc(100vh - 73px);
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.page {
  min-height: calc(100vh - 73px);
}

.page-hero {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 86px);
}

.page-hero h1 {
  max-width: 980px;
}

.page-sec {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.copy {
  max-width: 760px;
}

.label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 640px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.btn.main {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.panel {
  overflow: hidden;
  border: 1px solid #1e293b;
  border-radius: 10px;
  background: var(--code);
  color: #dbeafe;
  box-shadow: var(--shadow);
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tabs span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #94a3b8;
}

.tabs span:first-child {
  background: #f87171;
}

.tabs span:nth-child(2) {
  background: #fbbf24;
}

.tabs span:nth-child(3) {
  background: #34d399;
}

pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #bfdbfe;
  font-size: 15px;
  line-height: 1.75;
}

.status {
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.status strong {
  color: #5eead4;
  font-size: 14px;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.shade {
  background: #eef3f8;
}

.flow-sec {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.05), transparent 44%),
    #ffffff;
}

.head {
  max-width: 920px;
  margin-bottom: 36px;
}

.head.left {
  margin-bottom: 0;
}

.tree {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.tree.wide {
  margin-bottom: 18px;
}

.tree strong {
  font-size: 18px;
}

.tree span {
  color: var(--soft);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 16px;
}

.four {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.project,
.routes div,
.flow-grid article,
.quote,
.research {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.card {
  min-height: 220px;
  padding: 24px;
}

.card p,
.project p,
.routes p,
.foot p {
  color: var(--soft);
  line-height: 1.7;
}

.num,
.tag,
.routes span,
.quote span,
.research span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.quote {
  padding: 28px;
  border-color: rgba(37, 99, 235, 0.2);
}

.quote strong {
  display: block;
  margin: 10px 0;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.quote p {
  margin-bottom: 0;
  color: var(--blue);
  font-weight: 800;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.flow-grid article {
  padding: 22px;
}

.flow-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--soft);
  line-height: 1.55;
}

.research {
  margin-top: 16px;
  padding: 24px;
}

.research p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.project {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  min-height: 280px;
  padding: 18px;
}

.project img,
.symbol {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 6px;
  object-fit: cover;
}

.symbol {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 118, 110, 0.16)),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(17, 24, 39, 0.08) 16px);
  color: var(--blue);
  font-size: 46px;
  font-weight: 800;
}

.project a,
.link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.routes {
  display: grid;
  gap: 12px;
}

.routes div {
  padding: 20px;
}

.routes strong {
  display: block;
  margin: 7px 0;
  overflow-wrap: anywhere;
}

.foot {
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: white;
}

.foot p {
  margin-bottom: 0;
}

.foot a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .projects {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .four,
  .project,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .project img,
  .symbol {
    height: 220px;
  }

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