:root {
  --bg: #050505;
  --bg-soft: #0c0c0c;
  --panel: #080808;
  --text: #f5f2eb;
  --muted: #aaa59b;
  --line: rgba(255, 255, 255, 0.15);
  --line-strong: rgba(255, 255, 255, 0.28);
  --accent: #ffbf1f;
  --accent-strong: #ffd34d;
  --content: 1180px;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 191, 31, 0.08), transparent 18%),
    linear-gradient(180deg, #000 0%, #050505 100%);
}

body::before {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 85%);
  pointer-events: none;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 28px, var(--content));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  width: min(100% - 28px, var(--content));
  margin: 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease;
}

.topbar::before {
  position: absolute;
  inset: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.78));
  backdrop-filter: blur(10px);
  content: "";
  transition: background 180ms ease, backdrop-filter 180ms ease, border-color 180ms ease;
}

.topbar.is-at-top {
  border-bottom-color: transparent;
}

.topbar.is-at-top::before {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  color: #050505;
  background: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.96rem;
  font-weight: 500;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.74rem;
}

.topnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.topnav-github {
  margin-left: 10px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.topnav a:hover {
  color: var(--text);
}

.header-cta {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.74rem;
  white-space: nowrap;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.section {
  position: relative;
  padding: 50px 0;
}

.section::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
  content: "";
}

.section:first-of-type::before {
  display: none;
}

.section-panel {
  padding-left: 0;
  padding-right: 0;
}

.section-with-title::before {
  display: none;
}

.statement-band {
  position: relative;
  padding: 0;
}

.statement-copy {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
}

.statement-band h2 {
  position: relative;
  z-index: 2;
  max-width: 24.5ch;
  margin: 0;
}

.quote-display {
  color: #fff;
  font-weight: 400;
  font-size: 62.5px;
  line-height: 74.8px;
  letter-spacing: 0;
}

.quote-accent {
  color: #ffc501;
}

.statement-image {
  position: absolute;
  top: 50%;
  right: 40px;
  z-index: 1;
  width: min(53vw, 690px);
  max-width: 690px;
  overflow: hidden;
  transform: translateY(-50%);
}

.statement-image img {
  width: 100%;
  display: block;
  filter: grayscale(1) contrast(0.92) brightness(0.82);
  aspect-ratio: 1.63 / 1;
  object-fit: cover;
}

.section-label-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 18px 0 54px;
}

.section-label-row::after {
  border-top: 1px solid var(--line);
  content: "";
}

.section-kicker {
  margin: 0;
  color: #fff;
  font-size: 1.42rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.content-section-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 18px 0 54px;
}

.content-section-title::after {
  border-top: 1px solid var(--line);
  content: "";
}

.content-section-kicker {
  margin: 0;
  color: #fff;
  font-size: 1.42rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
  gap: 102px;
  align-items: start;
  margin-bottom: 94px;
}

.content-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
  gap: 102px;
  align-items: start;
  margin-bottom: 94px;
}

.content-copy {
  max-width: 35.5ch;
  margin: 26px 0 0;
  color: #f0ede6;
  font-size: 1.06rem;
  line-height: 1.4;
}

.content-quote {
  margin: 0;
  justify-self: end;
}

.editorial-copy {
  max-width: 35.5ch;
  margin: 26px 0 0;
  color: #f0ede6;
  font-size: 1.06rem;
  line-height: 1.4;
}

.editorial-quote {
  margin: 0;
  justify-self: end;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(260px, 0.62fr);
  gap: 88px;
  align-items: start;
  padding-top: 70px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 8ch;
  font-size: clamp(3.5rem, 6.8vw, 5.9rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.08;
}

.highlight {
  display: inline-block;
  padding: 0.01em 0.12em 0.03em;
  color: #070707;
  background: var(--accent);
}

.lede,
.section-heading p,
.problem-card p,
.thesis p,
.arc-step p,
.proof-copy p,
.value-card p,
.chapter-card p,
.final-cta-card p {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-copy .lede {
  margin-top: 26px;
  font-size: 1.1rem;
  line-height: 1.48;
}

.hero-subtitle {
  margin: 30px 0 0;
  max-width: 480px;
  color: var(--accent);
  font-size: 1.7rem;
  line-height: 1.42;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #050505;
  background: var(--accent);
  border-color: var(--accent);
}

.button-secondary {
  background: transparent;
}

.button-tertiary {
  color: var(--muted);
  border-style: dashed;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-signals li {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.cover-frame,
.system-card,
.proof-console,
.final-cta-card,
.problem-card,
.value-card,
.chapter-card,
.arc-step {
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cover-frame {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  border-radius: 10px;
  --cover-shadow-x: 16px;
  --cover-shadow-y: -20px;
  --cover-shadow-dark-x: -4px;
  --cover-shadow-dark-y: -11px;
  box-shadow:
    var(--cover-shadow-x) var(--cover-shadow-y) 40px rgb(255 191 31 / 44%),
    var(--cover-shadow-dark-x) var(--cover-shadow-dark-y) 90px rgba(0, 0, 0, 0.75);
  max-width: 270px;
  margin-left: 0;
  transition: box-shadow 120ms ease-out;
  will-change: box-shadow;
}

.hero-cover-actions {
  max-width: 360px;
  margin-left: 0;
  margin-top: 22px;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 8px 0;
}

.hero-mobile-actions {
  display: none;
}

.cover-frame::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.52));
  content: "";
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.system-card {
  padding: 18px;
  border: 1px solid var(--line);
}

.system-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.system-node {
  padding: 16px;
  border: 1px solid var(--line);
  background: #0f0f0f;
}

.system-node strong {
  display: block;
  margin-bottom: 6px;
}

.system-node small,
.chapter-meta,
.chapter-link {
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: none;
}

.section-heading > :last-child {
  position: relative;
  padding-top: 16px;
}

.section-heading > :last-child::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--line);
  content: "";
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 108px 148px;
}

.problem-card {
  display: grid;
  grid-template-columns: 112px minmax(280px, 1fr);
  column-gap: 18px;
  align-items: start;
  min-height: 192px;
  padding: 0;
  border: 0;
  background: transparent;
}

.problem-index {
  display: block;
  min-width: 88px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 5.9rem;
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.05em;
}

.problem-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 2px;
}

.problem-card h3 {
  max-width: 14ch;
  margin: 0;
  color: #ffc501;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.problem-card p {
  max-width: 30ch;
  margin: 0;
  color: #a6a197;
  font-size: 0.98rem;
  line-height: 1.22;
}

.thesis {
  max-width: 780px;
  margin-top: 94px;
  padding: 0;
  border-top: 0;
}

.learn-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 22px;
}

.learn-pillar {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.learn-pillar strong {
  display: block;
  max-width: 16ch;
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.12;
}

.learn-pillar p {
  max-width: 27ch;
  margin: 0;
  color: #a6a197;
  font-size: 0.92rem;
  line-height: 1.24;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.comparison-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.comparison-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.08rem;
}

.comparison-card ul {
  margin: 0;
  padding-left: 18px;
  color: #d7d2c9;
  line-height: 1.6;
}

.comparison-card li + li {
  margin-top: 8px;
}

.comparison-card-accent {
  border-color: rgba(255, 197, 1, 0.42);
  background: linear-gradient(180deg, rgba(255, 197, 1, 0.08), rgba(255, 255, 255, 0.02));
}

.comparison-note {
  max-width: 980px;
  margin-top: 26px;
}

.comparison-note p {
  margin: 0;
  color: #c7c2b9;
  font-size: 0.98rem;
  line-height: 1.46;
}

.subpage-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 18px;
}

.subpage-inline-links a {
  color: #ffc501;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.tutorial-hero {
  position: relative;
  min-height: 680px;
  margin-bottom: 28px;
}

.tutorial-hero-image {
  position: absolute;
  left: 0;
  top: 34px;
  width: min(100%, 720px);
  overflow: hidden;
}

.tutorial-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.56 / 1;
  object-fit: cover;
  filter: grayscale(1) contrast(0.9) brightness(0.82);
}

.tutorial-quote {
  position: absolute;
  z-index: 1;
  max-width: none;
  margin: 0;
  top: 155px;
  left: 455px;
}

.tutorial-intro {
  position: absolute;
  z-index: 1;
  right: 18px;
  top: 540px;
  width: 320px;
  margin: 0;
  color: #f0ede6;
  font-size: 1rem;
  line-height: 1.48;
  text-align: right;
}

.tutorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 68px;
}

.tutorial-column {
  display: grid;
  gap: 22px;
}

.tutorial-item {
  min-height: 250px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tutorial-number {
  display: inline-block;
  margin-bottom: 20px;
  color: #ffc501;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

.tutorial-item h3 {
  display: block;
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.12;
}

.tutorial-question {
  display: block;
  max-width: 28ch;
  margin-bottom: 16px;
  color: #d4d0c8;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.18;
}

.tutorial-item p {
  max-width: 33ch;
  margin: 0;
  color: #a6a197;
  font-size: 0.96rem;
  line-height: 1.3;
}

.proof-hero {
  position: relative;
  min-height: 430px;
  margin-bottom: 28px;
}

.proof-quote {
  position: absolute;
  z-index: 1;
  top: 112px;
  left: 50%;
  width: 860px;
  margin: 0;
  text-align: center;
  transform: translateX(-50%);
}

.proof-quote-image {
  position: absolute;
  top: 6px;
  right: 0;
  width: min(100%, 720px);
  overflow: hidden;
}

.proof-quote-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
}

.proof-copy {
  max-width: 920px;
  margin-bottom: 96px;
}

.inline-link {
  color: #ffc501;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.proof-copy p {
  max-width: 67ch;
  margin: 0;
  color: #f0ede6;
  font-size: 1rem;
  line-height: 1.46;
  text-decoration: none;
}

.proof-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  margin-bottom: 54px;
}

.proof-learning {
  max-width: 32ch;
  margin: 0 0 0 auto;
  color: #f0ede6;
  font-size: 1.04rem;
  line-height: 1.55;
  text-align: right;
}

.proof-console {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #090909;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  max-width: 840px;
}

.console-bar {
  display: flex;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.console-bar span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.proof-console pre {
  margin: 0;
  padding: 28px 40px 36px;
  color: #f0d274;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  line-height: 1.26;
  white-space: pre-wrap;
}

.samples-cta {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 6em;
  margin-bottom: 56px;
}

.samples-kicker {
  margin: 0;
  color: #ffc501;
  font-size: 0.96rem;
  font-weight: 700;
}

.samples-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 360px;
  min-height: 64px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6em;
  gap: 56px 62px;
}

.sample-card {
  display: grid;
  gap: 22px;
}

.sample-link {
  display: inline-block;
  color: #ffc501;
  font-size: 0.96rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.sample-body {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sample-body h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
}

.sample-body p {
  max-width: 31ch;
  margin: 0;
  color: #c7c2b9;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.62fr);
  gap: 92px;
  align-items: start;
}

.audience-quote {
  max-width: 15ch;
  margin: 50px 0 0;
}

.audience-notes {
  display: grid;
  gap: 46px;
  padding-top: 18px;
}

.audience-note {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.audience-note h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 700;
}

.audience-note p,
.author-copy p {
  margin: 0;
  color: #a6a197;
  font-size: 0.96rem;
  line-height: 1.28;
  max-width: 25ch;
}

.author-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.18fr);
  gap: 86px;
  align-items: start;
  margin-bottom: 92px;
}

.author-copy {
  display: grid;
  gap: 0;
  padding-top: 18px;
}

.author-quote {
  max-width: 13.5ch;
  margin: 0;
}

.author-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.author-highlight {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.author-highlight h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 700;
}

.author-highlight p {
  max-width: 28ch;
  margin: 0;
  color: #a6a197;
  font-size: 0.96rem;
  line-height: 1.28;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
}

.lab-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 24px;
  align-items: start;
}

.lab-image-link {
  display: block;
  grid-column: 1 / -1;
}

.lab-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1.52 / 1;
  object-fit: cover;
  filter: grayscale(1) contrast(0.92) brightness(0.86);
  transition: filter 180ms ease;
}

.lab-card:hover .lab-thumb,
.lab-card:focus-within .lab-thumb {
  filter: grayscale(0.5) contrast(0.92) brightness(0.86);
}

.lab-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 0.9fr);
  gap: 18px 24px;
  align-items: start;
}

.lab-title {
  max-width: 12ch;
}

.lab-meta {
  max-width: 18ch;
}

.lab-title strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.08;
}

.lab-meta p {
  margin: 0;
  color: #a6a197;
  font-size: 0.96rem;
  line-height: 1.22;
}

.plus-mark {
  align-self: end;
  color: #fff;
  font-size: 5rem;
  line-height: 0.82;
  text-decoration: none;
}

.blog-load-error {
  margin: 0;
  color: #a6a197;
  font-size: 0.98rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contacts-band {
  margin-top: 88px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 52px 44px 220px;
  background: #ffc501;
}

.contacts-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  max-width: min(100% - 56px, var(--content));
  margin: 0 auto;
}

.contacts-heading h2 {
  max-width: none;
  margin: 0;
  color: #070707;
  font-size: clamp(4.8rem, 9vw, 5.4rem);
  font-weight: 400;
  line-height: 0.92;
  text-transform: lowercase;
}

.contacts-meta {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #070707;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  font-size: 0.86rem;
  font-weight: 400;
  text-transform: lowercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 34px;
  max-width: min(100% - 56px, var(--content));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(7, 7, 7, 0.28);
}

.footer-column h3 {
  margin: 0 0 16px;
  color: #070707;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-cluster + .footer-cluster {
  margin-top: 24px;
}

.footer-book-cta {
  display: grid;
  align-content: start;
}

.footer-book-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.footer-book-cover {
  display: block;
  width: 104px;
  text-decoration: none;
}

.footer-book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(7, 7, 7, 0.22);
}

.footer-book-copy p {
  margin: 0 0 16px;
  color: rgba(7, 7, 7, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-book-button {
  min-height: 36px;
  padding: 0 16px;
  border-color: rgba(7, 7, 7, 0.9);
  color: #ffc501;
  background: #070707;
}

.contacts-nav {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 22px;
  padding-top: 18px;
}

.contacts-nav a {
  color: #070707;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  font-size: 0.98rem;
  font-weight: 400;
  text-transform: lowercase;
}

@media (max-width: 1100px) {
  .hero,
  .proof-body,
  .audience-layout,
  .author-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-label-row,
  .problem-grid,
  .comparison-grid,
  .tutorial-columns,
  .labs-grid {
    grid-template-columns: 1fr;
  }

  .contacts-band {
    padding: 40px 26px 120px;
  }

  .contacts-heading {
    flex-direction: column;
  }

  .contacts-meta {
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .contacts-nav {
    justify-content: flex-start;
    padding-top: 0;
  }

  .content-section-title {
    grid-template-columns: 1fr;
  }

  .editorial-heading {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 64px;
  }

  .editorial-copy {
    max-width: 30ch;
    margin-top: 0;
  }

  .editorial-quote {
    max-width: 13ch;
    justify-self: start;
  }

  .content-heading {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 64px;
  }

  .content-copy {
    max-width: 30ch;
    margin-top: 0;
  }

  .content-quote {
    justify-self: start;
  }

  .learn-pillars {
    grid-template-columns: 1fr;
  }

  .tutorial-hero {
    min-height: 0;
    display: grid;
    gap: 22px;
  }

  .tutorial-hero-image,
  .proof-quote-image {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 320px);
  }

  .tutorial-quote,
  .proof-quote,
  .audience-quote,
  .author-quote {
    max-width: none;
    margin-left: 0;
    padding-top: 0;
  }

  .tutorial-quote {
    position: relative;
    top: auto;
    left: auto;
  }

  .tutorial-intro {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: 32ch;
    margin: 0;
    font-size: 0.96rem;
    text-align: left;
  }

  .proof-quote {
    position: relative;
    top: auto;
    left: auto;
  }

  .proof-hero {
    min-height: 0;
    display: grid;
    gap: 24px;
    margin-bottom: 34px;
  }

  .proof-detail,
  .samples-grid {
    grid-template-columns: 1fr;
  }

  .samples-button {
    min-width: 0;
    width: 100%;
  }

  .problem-grid {
    gap: 64px 42px;
  }

  .problem-card {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 22px;
  }

  .problem-index {
    font-size: 4.8rem;
  }

  .statement-copy {
    display: block;
    min-height: 420px;
  }

  .statement-band h2 {
    max-width: 12.2ch;
  }

  .quote-display {
    font-size: clamp(2.8rem, 7vw, 4.2rem);
    line-height: 1.14;
  }

  .statement-image {
    top: 50%;
    right: 0;
    width: min(56vw, 470px);
    transform: translateY(-50%);
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 64px;
  }

  .page-shell {
    width: min(100% - 40px, var(--content));
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    background: #050505;
  }

  body::before {
    opacity: 0.18;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 50%;
    width: min(100% - 40px, var(--content));
    transform: translateX(-50%);
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 0;
  }

  .menu-toggle {
    order: 3;
  }

  .header-cta {
    order: 2;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  h1 {
    max-width: 9.5ch;
    font-size: clamp(2.2rem, 12.4vw, 4.9rem);
    line-height: 0.92;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.28;
  }

  .hero-copy .lede {
    font-size: 0.92rem;
    line-height: 1.46;
  }

  h2 {
    font-size: clamp(1.45rem, 6vw, 2rem);
    line-height: 1.06;
  }

  .section {
    padding: 8px 0;
    margin-top: 0;
  }

  .section-label-row {
    gap: 26px;
    padding: 8px 0 20px;
  }

  .section-kicker {
    font-size: 0.92rem;
  }

  .content-section-title {
    gap: 26px;
    padding: 8px 0 20px;
  }

  .content-section-kicker {
    font-size: 0.92rem;
  }

  .editorial-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .editorial-copy {
    order: 2;
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .editorial-quote {
    order: 1;
    max-width: none;
  }

  .content-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .content-copy {
    order: 2;
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .content-quote {
    order: 1;
  }

  .problem-card {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 26px;
  }

  .hero-visual,
  .statement-image,
  .tutorial-hero-image,
  .proof-quote-image,
  .lab-thumb,
  .proof-console,
  .topnav,
  .problem-grid,
  .learn-pillars,
  .tutorial-columns,
  .labs-grid,
  .samples-grid,
  #author,
  #blog {
    display: none;
  }

  .hero-copy {
    display: grid;
    gap: 10px;
  }

  .hero-subtitle {
    max-width: none;
    margin-top: 0;
    font-size: 0.95rem;
    line-height: 1.24;
  }

  .hero-copy .lede {
    margin-top: 0;
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.44;
  }

  .hero-mobile-actions {
    display: flex;
    margin-top: 10px;
    gap: 8px;
  }

  .hero-mobile-actions .button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .statement-band {
    padding: 0;
  }

  .statement-copy,
  .tutorial-hero,
  .proof-hero {
    min-height: 0;
    display: block;
  }

  .statement-copy h2,
  .tutorial-quote,
  .proof-quote,
  .audience-quote,
  .author-quote {
    position: static;
    width: auto;
    max-width: none;
    margin: 0;
    margin-bottom: 40px;
    transform: none;
    text-align: left;
  }

  .statement-copy h2 {
    margin-top: 60px;
  }

  .quote-display {
    font-size: clamp(1.7rem, 5.8vw, 2.2rem);
    line-height: 1.04;
  }

  .content-copy,
  .editorial-copy,
  .proof-copy p,
  .tutorial-intro,
  .proof-learning,
  .audience-note p,
  .author-copy p,
  .author-highlight p,
  .learn-pillar p,
  .tutorial-item p,
  .sample-body p {
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .tutorial-intro,
  .proof-learning {
    position: static;
    width: auto;
    margin-top: 10px;
    text-align: left;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.78rem;
  }

  .header-cta {
    margin-left: auto;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(10px);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 100%;
    padding: 18px;
    background: #0a0a0a;
    border-left: 1px solid var(--line);
    display: grid;
    align-content: start;
    gap: 18px;
  }

  .mobile-menu-close {
    justify-self: end;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.78rem;
  }

  .mobile-menu-nav {
    display: grid;
    gap: 10px;
  }

  .mobile-menu-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.96rem;
    line-height: 1.2;
  }

  .proof-copy {
    margin-bottom: 20px;
  }

  .thesis {
    display: block;
    margin-top: 18px;
    max-width: none;
  }

  .thesis p {
    max-width: none;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.42;
    color: var(--muted);
  }

  .audience-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .audience-quote {
    max-width: none;
    margin-top: 0;
    margin-bottom: 18px;
  }

  .audience-notes {
    display: grid;
    gap: 16px;
    padding-top: 0;
  }

  .audience-note {
    padding-top: 14px;
  }

  .audience-note h3 {
    margin-bottom: 8px;
    font-size: 0.98rem;
  }

  .contacts-band {
    margin-top: 28px;
    padding: 22px 18px 36px;
  }

  .contacts-heading {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 10px;
  }

  .contacts-meta {
    justify-items: start;
    gap: 14px;
  }

  .contacts-heading h2 {
    font-size: clamp(2.3rem, 14vw, 3.2rem);
    line-height: 0.96;
  }

  .footer-links {
    margin-top: 18px;
    padding-top: 14px;
    gap: 8px 12px;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 18px;
    padding-top: 14px;
  }

  .footer-column h3 {
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  .footer-book-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .footer-book-cover {
    width: 88px;
  }

  .footer-book-copy p {
    margin-bottom: 12px;
    font-size: 0.84rem;
  }

  .contacts-nav {
    justify-content: flex-start;
    gap: 8px 14px;
    padding-top: 0;
  }

  .contacts-nav a {
    font-size: 0.84rem;
  }
}
