:root {
  --paper: #f7f8f7;
  --ink: #141414;
  --muted: #5d6262;
  --line: #d9dddd;
  --soft: #eef1f0;
  --dark: #161918;
  --dark-muted: #b8c0bd;
  --accent: #b7372f;
  --blue: #0f6674;
  --code: #0c0d0d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 247, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.wordmark {
  font-size: 1rem;
  font-weight: 800;
}

nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  max-width: var(--max);
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 36px 84px;
  margin: 0 auto;
}

.kicker,
.section-label,
.statement-grid span,
.flow-step span,
.practice-lines span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kicker {
  margin: 0 0 20px;
}

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

h1 {
  max-width: 1040px;
  margin-bottom: 28px;
  font-size: 5rem;
  line-height: 0.98;
  font-weight: 850;
}

.lede {
  max-width: 760px;
  color: #343838;
  font-size: 1.35rem;
  line-height: 1.62;
}

.statement-grid {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto;
  padding: 0 36px 96px;
}

.statement-grid article {
  min-height: 250px;
  padding: 28px;
  border-top: 2px solid var(--ink);
  border-right: 1px solid var(--line);
}

.statement-grid article:last-child {
  border-right: none;
}

.statement-grid p {
  margin: 38px 0 0;
  font-size: 1.45rem;
  line-height: 1.32;
  font-weight: 720;
}

.band {
  border-top: 1px solid var(--line);
  padding: 96px 36px;
}

.band-dark {
  background: var(--dark);
  color: #fff;
}

.band-quiet {
  background: var(--soft);
}

.section-label {
  max-width: var(--max);
  margin: 0 auto 32px;
}

.large-copy,
.split,
.flow,
.value-list,
.tool-layout,
.final {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.large-copy p {
  max-width: 780px;
  font-size: 2.35rem;
  line-height: 1.12;
  font-weight: 820;
}

.questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  list-style-position: inside;
  padding: 0;
  margin: 44px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.questions li {
  min-height: 120px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--dark-muted);
  font-size: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 840;
}

.copy-stack p {
  color: #3d4241;
  font-size: 1.125rem;
  line-height: 1.82;
}

.copy-stack p + p {
  margin-top: 24px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0 36px 96px;
}

.flow-step {
  min-height: 245px;
  padding: 26px 22px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--line);
}

.flow-step:last-child {
  border-right: none;
}

.flow-step strong {
  display: block;
  margin-top: 34px;
  font-size: 1.35rem;
}

.flow-step p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.value-list div {
  min-height: 230px;
  padding: 30px 34px 30px 0;
  border-bottom: 1px solid var(--line);
}

.value-list h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.value-list p {
  max-width: 430px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.practice-lines {
  border-top: 1px solid var(--line);
}

.practice-lines p {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.22rem;
}

.practice-lines span {
  padding-top: 5px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 64px;
  align-items: start;
}

.tool-layout p {
  max-width: 520px;
  color: var(--dark-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 800;
}

.text-button.light {
  background: #fff;
  color: var(--dark);
}

.text-button.ghost {
  color: #fff;
  opacity: 0.84;
}

pre {
  margin: 0;
  min-height: 280px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--code);
  color: #f4f7f5;
  padding: 24px;
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.75;
}

code {
  font-family: "SF Mono", "Fira Code", ui-monospace, monospace;
}

.final h2 {
  max-width: 920px;
  font-size: 4rem;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.9rem;
  }

  .statement-grid,
  .flow,
  .split,
  .tool-layout {
    grid-template-columns: 1fr;
  }

  .statement-grid article,
  .flow-step {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .questions,
  .value-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    margin-left: 0;
    padding-bottom: 2px;
  }

  .hero,
  .band {
    padding: 64px 20px;
  }

  .statement-grid,
  .flow {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  .large-copy p {
    font-size: 2.05rem;
  }

  .final h2 {
    font-size: 2.45rem;
  }

  .lede {
    font-size: 1.12rem;
  }

  .practice-lines p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
