@font-face {
  font-family: "Area Normal";
  src: url("fonts/AreaNormal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Area Normal";
  src: url("fonts/AreaNormal-Semibold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Area Normal";
  src: url("fonts/AreaNormal-Bold.woff2") format("woff2");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #151515;
  --ink: #252525;
  --yellow: #ffc800;
  --white: #fff;
  --paper: #f6f5ef;
  --soft: #ebeae3;
  --purple: #8c5adc;
  --muted: #676767;
  --line: rgba(21, 21, 21, 0.2);
  --line-light: rgba(255, 255, 255, 0.22);
  --wrap: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Area Normal", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.88em;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.page {
  overflow: hidden;
}

.wrap {
  width: min(var(--wrap), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(21, 21, 21, 0.15);
  background: rgba(255, 200, 0, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(var(--wrap), calc(100% - (2 * var(--gutter))));
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 136px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.button) {
  opacity: 0.65;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--purple);
  border-radius: 2px;
  padding: 0.78rem 1.1rem;
  background: var(--purple);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  border-color: var(--black);
  background: var(--black);
  transform: translateY(-2px);
}

.dark .button:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.5rem;
  color: var(--black);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.light-link {
  color: var(--yellow);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}

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

h1,
h2,
h3 {
  color: var(--black);
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7.6vw, 7.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 980px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.lead {
  max-width: 750px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.48;
}

.dark {
  color: var(--white);
  background: var(--black);
}

.dark h1,
.dark h2,
.dark h3 {
  color: var(--white);
}

.dark .lead,
.dark p {
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-index,
.hero-kicker,
.context-label,
.step-type,
.artifact-label {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-index,
.step-type,
.artifact-label {
  color: var(--muted);
}

.dark .section-index,
.dark .step-type,
.dark .artifact-label {
  color: var(--yellow);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.split-heading > p {
  max-width: 460px;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.dark .split-heading > p {
  color: rgba(255, 255, 255, 0.7);
}

/* Home hero */
.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--black);
}

.hero-photo-panel,
.hero-photo-picture,
.hero-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo-image {
  object-fit: cover;
  object-position: 50% 64%;
  opacity: 0.76;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 21, 21, 0.2) 40%, rgba(21, 21, 21, 0.42));
}

.home-photo-hero {
  background: var(--paper);
}

.home-photo-hero .hero-photo-image {
  object-position: 50% 64%;
  opacity: 1;
}

.home-photo-hero::after {
  background: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  padding: clamp(2rem, 7vh, 5rem) 0 0;
}

.hero-copy {
  width: min(820px, 70vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 5vw, 5rem);
  background: var(--yellow);
}

.hero-copy .hero-kicker,
.hero-copy .lead {
  color: var(--black);
}

.hero-copy h1 {
  font-size: clamp(3.6rem, 6.1vw, 6.15rem);
}

/* Shift and constraint */
.story-intro {
  background: var(--paper);
}

.story-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.story-intro h2 {
  margin-bottom: 0;
}

.story-intro .lead {
  max-width: 460px;
  margin-bottom: 0.45rem;
}

.photo-break {
  position: relative;
  height: clamp(420px, 64vw, 760px);
  margin: 0;
  overflow: hidden;
  background: var(--black);
}

.photo-break picture,
.photo-break img {
  width: 100%;
  height: 100%;
}

.photo-break img {
  object-fit: cover;
  object-position: center;
}

.photo-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21, 21, 21, 0.66));
}

.photo-break > p {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(2rem, 5vw, 4rem);
  max-width: 560px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-align: right;
}

.constraint-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.constraint-grid .section-heading {
  margin: 0;
}

.constraint-section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.business-api-flow {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  margin-inline: auto;
}

.api-flow-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--line-light);
}

.api-flow-panel h3 {
  max-width: none;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
}

.api-flow-source h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.api-flow-panel > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.api-flow-label {
  margin-bottom: 1rem;
  color: var(--yellow) !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.api-source-icon {
  flex: 0 0 auto;
}

.api-flow-brand {
  margin-bottom: 1rem;
}

.api-flow-brand img {
  display: block;
  width: clamp(140px, 18vw, 180px);
  height: auto;
}

.api-source-icon {
  width: 24px;
  height: 24px;
  box-sizing: content-box;
  padding: 0.45rem;
  background: var(--yellow);
}

.api-flow-core {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.api-flow-core h3 {
  color: var(--black) !important;
}

.api-control-list,
.api-use-list {
  display: grid;
  margin-top: 0.85rem;
  border-top: 1px solid rgba(21, 21, 21, 0.25);
  border-bottom: 1px solid rgba(21, 21, 21, 0.25);
}

.api-control-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.api-control-list span,
.api-use-list span {
  padding: 0.75rem;
  color: var(--black);
  font-weight: 800;
}

.api-control-list span + span,
.api-use-list span + span {
  border-left: 1px solid rgba(21, 21, 21, 0.25);
}

.api-use-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: var(--line-light);
}

.api-use-list span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-color: var(--line-light);
  color: var(--white);
}

.api-use-list img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  box-sizing: content-box;
  padding: 0.45rem;
  background: var(--yellow);
}

.api-use-list span + span {
  border-color: var(--line-light);
}

.api-flow-arrow {
  display: grid;
  place-items: center;
  height: 38px;
  color: var(--yellow);
  font-size: 1.6rem;
}

/* Walkthrough */
.walkthrough-section {
  background: var(--yellow);
}

.walkthrough-section .section-index,
.walkthrough-section .split-heading > p {
  color: rgba(21, 21, 21, 0.68);
}

.walkthrough {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.walkthrough-context {
  position: sticky;
  top: 112px;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--black);
  color: var(--white);
}

.context-label {
  color: var(--yellow);
}

.context-value {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.walkthrough-context dl {
  margin: 0;
}

.walkthrough-context dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line-light);
}

.walkthrough-context dt {
  color: rgba(255, 255, 255, 0.55);
}

.walkthrough-context dd {
  margin: 0;
  text-align: right;
}

.status-chip {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.76rem;
  font-weight: 800;
}

.walkthrough-steps,
.operation-flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.walkthrough-steps li {
  min-height: 185px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid rgba(21, 21, 21, 0.34);
  opacity: 0.68;
  transition: opacity 260ms ease, transform 260ms ease;
}

.walkthrough-steps li:last-child {
  border-bottom: 1px solid rgba(21, 21, 21, 0.34);
}

.walkthrough-steps li:hover,
.walkthrough-steps li:focus-visible {
  opacity: 1;
  transform: translateX(8px);
}

.walkthrough-steps li:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

@media (hover: none) {
  .walkthrough-steps li {
    opacity: 1;
  }
}

.step-number {
  color: rgba(21, 21, 21, 0.48);
  font-size: 0.82rem;
  font-weight: 900;
}

.walkthrough-steps h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.walkthrough-steps p:last-child {
  max-width: 560px;
  margin-bottom: 0;
}

.walkthrough-steps code {
  padding: 0.1em 0.35em;
  background: rgba(255, 255, 255, 0.5);
}

.capability-section {
  background: var(--paper);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 260px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid article > span,
.builder-path article > span {
  display: block;
  margin-bottom: 3rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 900;
}

.capability-grid p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--muted);
}

.audience-section {
  padding: 0;
}

.audience-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 6vw, 6rem);
  text-decoration: none;
}

.audience-card h2 {
  max-width: 600px;
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
}

.audience-card > span {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.business-card {
  background: var(--yellow);
}

.builder-card {
  background: var(--purple);
  color: var(--white);
}

.builder-card h2,
.builder-card .section-index {
  color: var(--white);
}

.closing-cta {
  border-top: 1px solid var(--line-light);
}

.closing-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4rem;
  align-items: end;
}

.closing-cta h2 {
  max-width: 900px;
  margin-bottom: 0;
}

/* Shared supporting-page hero */
.editorial-hero {
  padding-top: clamp(5rem, 10vw, 9rem);
  background: var(--yellow);
}

.editorial-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.editorial-hero h1 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(3.6rem, 7vw, 7rem);
}

.editorial-hero-copy .lead {
  color: var(--black);
}

.editorial-hero-image {
  display: block;
  width: min(calc(100% - (2 * var(--gutter))), 1440px);
  height: clamp(420px, 58vw, 760px);
  margin-inline: auto;
  overflow: hidden;
  background: var(--black);
}

.editorial-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-editorial-hero .editorial-hero-image img {
  object-position: center 58%;
}

.builders-editorial-hero .editorial-hero-image img {
  object-position: center;
}

/* Supporting-page photo heroes */
.supporting-photo-hero .hero-photo-image {
  opacity: 0.94;
}

.platform-photo-hero .hero-photo-image {
  object-position: 50% 58%;
}

.builders-photo-hero .hero-photo-image {
  object-position: center;
}

.supporting-photo-hero::after {
  background: linear-gradient(90deg, rgba(15, 15, 15, 0.08), rgba(15, 15, 15, 0.18));
}

.supporting-hero-grid {
  align-items: stretch;
  padding: clamp(2rem, 7vh, 5rem) 0 0;
}

.supporting-hero-copy {
  width: min(850px, 72vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.25rem, 3.6vw, 4rem);
  background: #0f0f0f;
}

.supporting-hero-copy h1 {
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(3.25rem, 4.4vw, 5rem);
}

.supporting-hero-copy .hero-kicker {
  color: var(--yellow);
}

.supporting-hero-copy .lead {
  color: rgba(255, 255, 255, 0.76);
}

.supporting-hero-copy .text-link {
  color: var(--yellow);
}

.operation-section {
  background: var(--paper);
}

.operation-flow {
  counter-reset: operation;
  border-top: 1px solid var(--line);
}

.operation-flow li {
  display: grid;
  grid-template-columns: 70px 130px minmax(180px, 0.65fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.operation-flow li > span {
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 900;
}

.operation-flow li > div {
  display: contents;
}

.operation-flow .step-type {
  margin: 0;
}

.operation-flow h3 {
  margin: 0;
}

.operation-flow p:last-child {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
}

.platform-stack-section {
  background: #0f0f0f;
}

.platform-stack {
  border: 1px solid var(--line-light);
}

.stack-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1.65fr);
  border-bottom: 1px solid var(--line-light);
}

.stack-row:last-child {
  border-bottom: 0;
}

.stack-row > p {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.5rem;
  border-right: 1px solid var(--line-light);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stack-row > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.stack-row span {
  min-height: 96px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line-light);
  padding: 1rem;
  color: var(--white);
  text-align: center;
}

.stack-row span:first-child {
  border-left: 0;
}

.stack-core {
  background: var(--yellow);
}

.stack-core > p,
.stack-core span {
  color: var(--black);
}

.stack-core > p,
.stack-core span {
  border-color: rgba(21, 21, 21, 0.24);
}

.data-choice-section {
  background: var(--soft);
}

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

.data-choice-grid article {
  padding: clamp(2rem, 5vw, 4.5rem);
  border-left: 1px solid var(--line);
}

.data-choice-grid article:first-child {
  border-left: 0;
  padding-left: 0;
}

.choice-number {
  color: var(--purple);
  font-size: 2.5rem;
  font-weight: 800;
}

.data-choice-grid h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.data-choice-grid ul {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.control-section {
  background: var(--yellow);
}

.control-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.control-list {
  border-top: 1px solid rgba(21, 21, 21, 0.28);
}

.control-list article {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(21, 21, 21, 0.28);
}

.control-list span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.control-list h3 {
  margin: 0;
}

/* Builders */
.builder-tension-section {
  background: var(--paper);
}

.builder-tension-grid {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: stretch;
}

.builder-tension-grid article {
  min-height: 380px;
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--line);
}

.builder-tension-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.builder-tension-grid article.accent {
  border: 0;
  background: var(--yellow);
}

.builder-tension-grid h3 {
  max-width: 460px;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

.builder-tension-grid p:last-child {
  max-width: 430px;
  color: var(--muted);
}

.tension-symbol {
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  font-weight: 800;
}

.artifact-section {
  background: #0f0f0f;
}

.artifact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.artifact-window {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #191919;
  box-shadow: 20px 20px 0 var(--yellow);
}

.artifact-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line-light);
}

.artifact-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.artifact-bar p {
  margin: 0 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.52);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.artifact-body section {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--line-light);
}

.artifact-body section:last-child {
  border-bottom: 0;
}

.artifact-body h3 {
  color: var(--white);
}

.token-row,
.event-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.token-row span,
.event-line span {
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.75);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
}

.command-row,
.policy-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-light);
}

.command-row code {
  color: var(--yellow);
}

.command-row em,
.policy-line span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-style: normal;
}

.policy-line strong {
  color: var(--yellow);
  font-size: 0.8rem;
}

.builder-path-section {
  background: var(--soft);
}

.builder-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.builder-path article {
  min-height: 330px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.builder-path article:first-child {
  padding-left: 0;
  border-left: 0;
}

.builder-path p {
  color: var(--muted);
}

.builders-photo-break img {
  object-position: center 67%;
}

.access-section {
  background: var(--yellow);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.access-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(21, 21, 21, 0.3);
  border-left: 1px solid rgba(21, 21, 21, 0.3);
}

.access-list span {
  min-height: 110px;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  border-right: 1px solid rgba(21, 21, 21, 0.3);
  border-bottom: 1px solid rgba(21, 21, 21, 0.3);
  font-weight: 800;
}

/* Signup */
.signup-page {
  background: var(--black);
}

.signup-hero {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--yellow);
}

.signup-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.signup-intro h1 {
  font-size: clamp(3.5rem, 6vw, 6.4rem);
}

.signup-intro .lead {
  color: var(--black);
}

.signup-principles {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(21, 21, 21, 0.3);
}

.signup-principles > div {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(21, 21, 21, 0.3);
}

.signup-principles span {
  font-size: 0.76rem;
  font-weight: 900;
}

.signup-principles p {
  margin: 0;
}

.signup-form-shell {
  border: 1px solid rgba(21, 21, 21, 0.3);
  background: var(--paper);
  box-shadow: 18px 18px 0 var(--black);
}

.form-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.form-status span {
  color: var(--purple);
  font-weight: 900;
}

.form-status p {
  margin: 0;
  color: var(--muted);
}

.signup-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.field label {
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(21, 21, 21, 0.3);
  border-radius: 0;
  padding: 0.85rem;
  background: var(--white);
  color: var(--black);
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple);
  outline: 2px solid var(--purple);
  outline-offset: 0;
}

.form-button {
  width: 100%;
}

.form-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.signup-next {
  background: var(--black);
}

.signup-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(21, 21, 21, 0.22);
  padding-block: 3rem;
  background: var(--yellow);
  color: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.footer-logo {
  width: 125px;
  margin-bottom: 1rem;
}

.footer-grid p {
  max-width: 420px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
  font-weight: 800;
}

.footer-links a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

/* Progressive enhancement */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-copy {
    width: min(780px, 82vw);
  }

  .constraint-grid,
  .artifact-grid,
  .control-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .walkthrough {
    grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
    gap: 2rem;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-hero-grid {
    grid-template-columns: 1fr;
  }

  .editorial-hero-copy {
    max-width: 700px;
  }

  .builder-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-path article:nth-child(3) {
    border-left: 0;
  }

  .signup-hero-grid {
    grid-template-columns: 1fr;
  }

  .signup-form-shell {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 106px;
  }

  .nav-links {
    gap: 0.65rem;
    font-size: 0.8rem;
  }

  .nav-links .button {
    min-height: 38px;
    padding: 0.65rem 0.72rem;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

  .hero-grid {
    width: 100%;
    padding: 0;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 8vw, 3.5rem) var(--gutter);
  }

  .hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .supporting-hero-grid {
    align-items: stretch;
    padding: 0 var(--gutter);
  }

  .supporting-hero-copy {
    width: 100%;
    padding: clamp(2rem, 8vw, 3rem);
    background: rgba(15, 15, 15, 0.94);
  }

  .supporting-hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 3.75rem);
  }

  .split-heading,
  .story-intro-grid,
  .walkthrough,
  .audience-grid,
  .closing-cta-inner,
  .editorial-hero-grid,
  .data-choice-grid,
  .signup-next-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .walkthrough-context {
    position: relative;
    top: auto;
  }

  .walkthrough-steps li {
    grid-template-columns: 44px 1fr;
  }

  .api-control-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .api-control-list span:nth-child(3) {
    border-top: 1px solid rgba(21, 21, 21, 0.25);
    border-left: 0;
  }

  .api-control-list span:nth-child(4) {
    border-top: 1px solid rgba(21, 21, 21, 0.25);
  }

  .api-use-list {
    grid-template-columns: 1fr;
  }

  .api-use-list span + span {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 420px;
  }

  .closing-cta-inner {
    align-items: start;
  }

  .editorial-hero {
    padding-top: 4rem;
  }

  .editorial-hero-image {
    width: 100%;
    height: 420px;
  }

  .operation-flow li {
    grid-template-columns: 46px 1fr;
  }

  .operation-flow li > div {
    display: block;
  }

  .operation-flow p:last-child {
    grid-column: 2;
  }

  .stack-row {
    grid-template-columns: 1fr;
  }

  .stack-row > p {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .stack-row > div {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-row span {
    min-height: 76px;
    border-top: 1px solid var(--line-light);
  }

  .data-choice-grid article,
  .data-choice-grid article:first-child {
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .builder-tension-grid {
    grid-template-columns: 1fr;
  }

  .builder-tension-grid article,
  .builder-tension-grid article:first-child {
    min-height: auto;
    padding: 2.5rem var(--gutter);
    border: 0;
  }

  .builder-tension-grid article:first-child {
    padding-inline: 0;
  }

  .tension-symbol {
    min-height: 80px;
  }

  .artifact-window {
    box-shadow: 10px 10px 0 var(--yellow);
  }

  .command-row,
  .policy-line {
    flex-direction: column;
  }

  .builder-path {
    grid-template-columns: 1fr;
  }

  .builder-path article,
  .builder-path article:first-child,
  .builder-path article:nth-child(3) {
    min-height: auto;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .access-list {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

@media (max-width: 500px) {
  .nav-links a:not(.button) {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .section {
    padding-block: 4.5rem;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .actions .button {
    width: 100%;
  }

  .photo-break {
    height: 480px;
  }

  .photo-break > p {
    left: var(--gutter);
    right: var(--gutter);
    text-align: left;
  }

  .control-list article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .form-status {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .walkthrough-steps li {
    opacity: 1;
    transform: none;
  }
}
