:root {
  color-scheme: light;
  --paper: #f8f9fc;
  --surface: #ffffff;
  --ink: #202936;
  --muted: #596579;
  --rule: #dce3eb;
  --indigo: #243b6b;
  --teal: #237c83;
  --amber: #94621f;
  --rose: #93465a;
  --violet: #6f5597;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.site-header {
  align-items: center;
  background: rgb(248 249 252 / 92%);
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(24px, 5vw, 76px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  gap: 8px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.launch-status {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.78rem;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-status span {
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(35 124 131 / 12%);
  height: 7px;
  width: 7px;
}

main, footer { margin-inline: auto; max-width: 1440px; }

.hero {
  display: grid;
  gap: clamp(48px, 6vw, 96px);
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  min-height: calc(100vh - 72px);
  padding: clamp(72px, 10vw, 148px) clamp(24px, 7vw, 100px) clamp(76px, 9vw, 128px);
  place-items: center stretch;
}

.hero-copy { max-width: 610px; }
.status-kicker, .section-heading > p {
  align-items: center;
  color: var(--teal);
  display: flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.12em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.hero-intro {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.78;
  margin: 30px 0 28px;
  max-width: 58ch;
}

.text-link {
  color: #285f78;
  display: inline-flex;
  font-weight: 700;
  gap: 9px;
  text-underline-offset: 5px;
}

.text-link:hover { color: var(--indigo); }

.graph-window {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgb(36 59 107 / 10%);
  min-width: 0;
  overflow: hidden;
}

.window-bar {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 7px;
  min-height: 48px;
  padding: 0 18px;
}

.window-bar > span { background: #d8dee7; border-radius: 50%; height: 7px; width: 7px; }
.window-bar p { color: var(--muted); font-size: 0.75rem; margin: 0 0 0 auto; }
.knowledge-graph { height: auto; padding: 16px 20px 0; width: 100%; }
.edges path { fill: none; stroke: #ccd5e1; stroke-width: 1.6; }
.edges .active-edge {
  stroke: var(--teal);
  stroke-dasharray: 5 6;
  stroke-width: 2.3;
  animation: relationship-flow 4s linear infinite;
}

.nodes circle { stroke-width: 2; }
.node-center { fill: #f0f3fa; stroke: var(--indigo); }
.node-blue { fill: #dce5f4; stroke: var(--indigo); }
.node-teal { fill: #d9edee; stroke: var(--teal); }
.node-amber { fill: #f6ead7; stroke: var(--amber); }
.node-rose { fill: #f3e0e5; stroke: var(--rose); }
.node-violet { fill: #ebe5f2; stroke: var(--violet); }
.nodes text { fill: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 14px; text-anchor: middle; }
.nodes g:first-child text { font-family: Georgia, "Times New Roman", serif; font-size: 17px; }

.graph-legend {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: flex;
  font-size: 0.72rem;
  gap: 20px;
  padding: 14px 20px 16px;
}
.graph-legend span { align-items: center; display: inline-flex; gap: 7px; }
.graph-legend i { border-radius: 50%; height: 8px; width: 8px; }
.legend-person { background: var(--teal); }
.legend-work { background: var(--rose); }
.legend-idea { background: var(--amber); }

.about {
  border-top: 1px solid var(--rule);
  display: grid;
  gap: clamp(48px, 10vw, 170px);
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  margin: 0 clamp(24px, 7vw, 100px);
  padding: clamp(72px, 9vw, 126px) 0;
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 15ch; }
.about-copy { max-width: 700px; }
.about-copy p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0; }
.about-copy p + p { border-top: 1px solid var(--rule); margin-top: 30px; padding-top: 30px; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(24px, 7vw, 100px) clamp(96px, 10vw, 144px);
}
.principles article { border: 1px solid var(--rule); min-height: 330px; padding: 36px; }
.principles article + article { border-left: 0; }
.principle-icon {
  align-items: center;
  border-radius: 16px;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  height: 50px;
  justify-content: center;
  margin-bottom: 58px;
  width: 50px;
}
.icon-explore { background: #d9edee; color: var(--teal); }
.icon-understand { background: #f6ead7; color: var(--amber); }
.icon-contribute { background: #dce5f4; color: var(--indigo); }
.principle-number { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em; margin: 0 0 10px; }
.principles h2 { font-size: 1.75rem; margin-bottom: 15px; }
.principles article > p:last-child { color: var(--muted); margin: 0; max-width: 30ch; }

footer {
  align-items: center;
  border-top: 1px solid var(--rule);
  display: grid;
  font-size: 0.78rem;
  grid-template-columns: 1fr auto 1fr;
  margin-inline: clamp(24px, 5vw, 76px);
  max-width: none;
  min-height: 120px;
}
.footer-brand { font-size: 1rem; }
footer p { color: var(--muted); margin: 0; }
.copyright { justify-self: end; }

.not-found { display: grid; min-height: 100vh; place-items: center; padding: 24px; text-align: center; }
.not-found main { max-width: 700px; }
.not-found .brand { margin-bottom: 56px; }
.not-found h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.not-found p { color: var(--muted); font-size: 1.1rem; margin: 24px auto 30px; }

@keyframes relationship-flow { to { stroke-dashoffset: -44; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .graph-window { width: min(100%, 760px); }
  .about { gap: 44px; grid-template-columns: 1fr; }
  .section-heading h2 { max-width: 15ch; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: auto; }
  .principles article + article { border-left: 1px solid var(--rule); border-top: 0; }
  .principle-icon { margin-bottom: 36px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 64px; padding-inline: 20px; }
  .launch-status { font-size: 0; }
  .launch-status::after { content: "Building"; font-size: 0.72rem; }
  .hero { gap: 50px; padding: 66px 20px 78px; }
  .hero-intro { margin-top: 24px; }
  .knowledge-graph { padding: 8px 4px 0; }
  .graph-legend { gap: 12px; }
  .about { margin-inline: 20px; padding-block: 72px; }
  .principles { margin: 0 20px 86px; }
  .principles article { padding: 30px; }
  footer { gap: 14px; grid-template-columns: 1fr; margin-inline: 20px; padding-block: 30px; }
  footer > * { justify-self: start !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .edges .active-edge { animation: none; }
}

::selection { background: #d9edee; color: var(--ink); }
