:root {
  --paper: #f5f1e6;
  --ink: #171816;
  --muted: #68685f;
  --line: rgba(23, 24, 22, 0.14);
  --accent: #ffd84d;
  --accent-soft: rgba(255, 216, 77, 0.28);
  --panel: rgba(255, 255, 255, 0.48);
  --shadow: 0 18px 60px rgba(22, 22, 18, 0.06);
  --max: 1180px;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 9%, rgba(255,216,77,.35), transparent 28rem),
    radial-gradient(circle at 12% 82%, rgba(255,216,77,.15), transparent 24rem),
    linear-gradient(var(--paper), var(--paper));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23,24,22,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,24,22,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 760;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.2rem;
}
.wordmark .dot { color: var(--muted); }

nav { display: flex; gap: 24px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  transition: color .18s ease;
}
nav a:hover { color: var(--ink); }

main, footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.hero {
  padding: clamp(76px, 9vw, 132px) 0 clamp(82px, 10vw, 130px);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 24px;
  align-items: end;
}
.hero-kicker, .eyebrow, .micro {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  font-weight: 700;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cda600;
  box-shadow: 0 0 0 4px rgba(255,216,77,.22);
}

h1, h2, h3, p, ul { margin-top: 0; }
h1 {
  margin: 26px 0 24px;
  max-width: 940px;
  font-size: clamp(3.3rem, 8vw, 7.2rem);
  line-height: .94;
  letter-spacing: -0.072em;
  font-weight: 780;
}
h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  text-decoration-thickness: .06em;
  text-decoration-color: var(--accent);
  text-decoration-line: underline;
  text-underline-offset: .08em;
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  color: #393a35;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 18px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { background: var(--accent); color: var(--ink); }
.button.ghost:hover { background: rgba(255,255,255,.66); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  max-width: 640px;
}
.hero-tags li,
.tag-list li,
.signal-pills li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.5);
}

.hero-side {
  display: grid;
  gap: 16px;
}
.panel-card,
.focus-card,
.route-card,
.principle-card,
.workflow-strip article,
.human-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.panel-card { padding: 20px; }
.mini-title {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: 10px;
}
.note-card p:last-child { color: var(--muted); margin-bottom: 0; }

.system-map {
  position: relative;
  min-height: 280px;
  margin: 16px 0 14px;
  border-radius: 22px;
  border: 1px dashed rgba(23,24,22,.16);
  background:
    radial-gradient(circle at center, rgba(255,216,77,.15), transparent 38%),
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18));
  overflow: hidden;
}
.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  inset: 18% 18%;
  border-radius: 50%;
  border: 1px solid rgba(23,24,22,.08);
}
.system-map::after {
  inset: 30% 30%;
  border-style: dashed;
}
.map-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.84);
  font-size: .84rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(20,20,18,.06);
}
.map-node.center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
}
.node-a { left: 8%; top: 18%; }
.node-b { right: 11%; top: 14%; }
.node-c { left: 7%; bottom: 16%; }
.node-d { right: 12%; bottom: 20%; }
.node-e { left: 50%; top: 8%; transform: translateX(-50%); }
.map-caption { color: var(--muted); margin-bottom: 0; }

.section {
  padding: clamp(82px, 10vw, 138px) 0;
  border-top: 1px solid var(--line);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}
.section-heading.compact { margin-bottom: 34px; }
.eyebrow { color: var(--muted); margin-bottom: 16px; }
h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.9rem);
  line-height: .98;
  letter-spacing: -0.06em;
  margin-bottom: 16px;
}
.section-heading > p:last-child,
.elsewhere-copy,
.focus-card p,
.route-card p,
.principle-card p,
.workflow-strip p { color: var(--muted); }

.focus-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.focus-card {
  padding: 24px;
  min-height: 290px;
}
.glyph {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid rgba(23,24,22,.08);
  background: linear-gradient(135deg, var(--accent-soft), rgba(255,255,255,.75));
  position: relative;
  overflow: hidden;
}
.glyph::before,
.glyph::after {
  content: "";
  position: absolute;
}
.glyph.board::before {
  inset: 16px;
  border-radius: 14px;
  border: 2px solid rgba(23,24,22,.25);
}
.glyph.board::after {
  left: 24px;
  right: 24px;
  top: 36px;
  height: 2px;
  background: rgba(23,24,22,.25);
  box-shadow: 0 -10px 0 rgba(23,24,22,.25), 0 10px 0 rgba(23,24,22,.25);
}
.glyph.flow::before {
  width: 18px;
  height: 18px;
  left: 16px;
  top: 16px;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 26px 16px 0 var(--accent), 6px 34px 0 rgba(23,24,22,.3);
}
.glyph.flow::after {
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-right: 2px dashed rgba(23,24,22,.3);
  border-bottom: 2px dashed rgba(23,24,22,.3);
  border-radius: 0 0 18px 0;
}
.glyph.trust::before {
  inset: 14px;
  border-radius: 50%;
  border: 2px solid rgba(23,24,22,.25);
}
.glyph.trust::after {
  left: 28px;
  top: 22px;
  width: 22px;
  height: 32px;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(var(--ink), rgba(23,24,22,.4));
  clip-path: polygon(50% 0%, 100% 28%, 80% 100%, 20% 100%, 0% 28%);
}
.focus-card h3,
.route-card h3,
.principle-card h3,
.workflow-strip h3 {
  font-size: 1.34rem;
  line-height: 1.14;
  letter-spacing: -.035em;
  margin-bottom: 8px;
}
.tag-list,
.signal-pills {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tag-list li,
.signal-pills li {
  font-size: .82rem;
  color: var(--muted);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.route-card {
  padding: 22px;
  position: relative;
}
.route-step,
.workflow-strip span,
.principle-index {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  margin-bottom: 18px;
}
.route-card p { margin-bottom: 0; }

.principle-grid { margin-bottom: 14px; }
.principle-card { padding: 22px; }
.principle-card p { margin-bottom: 0; }

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.workflow-strip article { padding: 20px; }
.workflow-strip p { margin-bottom: 0; }

.human-band {
  margin-top: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: start;
}
.human-band .eyebrow { margin-bottom: 10px; }
.human-band .mini-title { margin-bottom: 0; }
.signal-pills { margin-top: 0; }

.elsewhere {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 8vw, 120px);
  align-items: end;
}
.link-list { border-top: 1px solid var(--line); }
.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .2s ease;
}
.link-list a:hover { padding-left: 10px; }
.link-list span:first-child { font-weight: 800; }
.link-list span:last-child { color: var(--muted); font-size: .9rem; text-align: right; }

footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: .82rem;
}
footer p { margin: 0; }

@media (max-width: 980px) {
  .hero-layout,
  .elsewhere,
  .human-band { grid-template-columns: 1fr; }
  .focus-grid,
  .principle-grid,
  .route-grid,
  .workflow-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header { min-height: 72px; }
  nav { display: none; }
  h1 { font-size: clamp(3.1rem, 14vw, 5.6rem); }
  .hero-copy { font-size: 1.08rem; }
}

@media (max-width: 620px) {
  .focus-grid,
  .principle-grid,
  .route-grid,
  .workflow-strip { grid-template-columns: 1fr; }
  .system-map { min-height: 240px; }
  .map-node { min-width: 76px; font-size: .76rem; }
  .node-a { left: 5%; top: 18%; }
  .node-b { right: 4%; top: 14%; }
  .node-c { left: 4%; bottom: 16%; }
  .node-d { right: 6%; bottom: 18%; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 72px; }
  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 34px; }
  .panel-card,
  .focus-card,
  .route-card,
  .principle-card,
  .workflow-strip article,
  .human-band { padding: 18px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
