:root {
  --bg: #fafaf8;
  --bg-alt: #f3f2ee;
  --ink: #1c1f26;
  --ink-soft: #52585f;
  --ink-faint: #868d94;
  --accent: #2f5d6b;
  --accent-soft: #dfeaec;
  --accent-strong: #1d3f4a;
  --line: #e4e2dc;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(20, 25, 30, 0.04), 0 8px 24px rgba(20, 25, 30, 0.05);
  --radius: 14px;
  --max: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 248, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav.topnav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.brand svg { display: block; }
.navlinks { display: flex; gap: 22px; }
.navlinks a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.navlinks a:hover { color: var(--accent-strong); }

/* Hero */
header.hero {
  padding: 76px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
h1.title {
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1.title .accent { color: var(--accent); }
p.tagline {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 18px;
}
/* Sections */
section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}
section.no-line { border-top: none; }
h2.h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-strong);
  font-weight: 700;
  margin: 0 0 10px;
}
h3.h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
p.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 740px;
}

/* Figure */
figure.diagram {
  margin: 32px 0 8px;
  text-align: center;
}
figure.diagram img {
  max-width: 100%;
  border-radius: 10px;
}
figure.diagram figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.pillar .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--accent-strong);
}
.pillar h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 700;
}
.pillar p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

/* Loop diagram */
.loop {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 10px;
}
.loop .node {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.loop .arrow {
  color: var(--ink-faint);
  font-size: 16px;
}

/* Status card */
.status-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.status-card .icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex; align-items: center; justify-content: center;
}
.status-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.status-card strong { color: var(--ink); }

footer {
  padding: 34px 0 60px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .navlinks { gap: 14px; }
  header.hero { padding: 56px 0 40px; }
}
