@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Familjen+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,500&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  --carbon: #1b241b;
  --carbon-soft: #354032;
  --paper: #f6f4df;
  --paper-deep: #e6e7bd;
  --celery: #d9ef75;
  --moss: #607842;
  --orange: #ff5a2f;
  --marigold: #ffd34e;
  --white: #fffef3;
  --line: rgba(27, 36, 27, 0.2);
  --shadow: 0 18px 50px rgba(27, 36, 27, 0.14);
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Familjen Grotesk", "Trebuchet MS", sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --page: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--carbon);
  background:
    linear-gradient(rgba(27, 36, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 36, 27, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection {
  color: var(--carbon);
  background: var(--marigold);
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--carbon);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 223, 0.88);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--page);
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  min-height: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  border-color: var(--orange);
}

.nav-menu .nav-github {
  margin-left: 8px;
  padding-inline: 16px;
  color: var(--white);
  border: 1px solid var(--carbon);
  border-radius: 999px;
  background: var(--carbon);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.nav-menu .nav-github:hover {
  border-color: var(--carbon);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--orange);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--carbon);
  border: 1px solid var(--carbon);
  border-radius: 50%;
  background: transparent;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  width: 19px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.menu-button::before,
.menu-button::after {
  content: "";
}

.menu-button span {
  margin-block: 4px;
}

.hero {
  width: var(--page);
  min-height: 700px;
  margin-inline: auto;
  padding: clamp(64px, 9vw, 126px) 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(490px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 7px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 12px 0 0 var(--marigold);
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(54px, 6.7vw, 94px);
}

.hero h1 em {
  position: relative;
  display: inline-block;
  color: var(--orange);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: -0.08em;
  bottom: -0.06em;
  left: 0.03em;
  height: 0.11em;
  border-radius: 999px;
  background: var(--marigold);
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--carbon-soft);
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.46;
}

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

.button {
  min-height: 52px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--carbon);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.button-primary {
  color: var(--white);
  background: var(--carbon);
  box-shadow: 5px 5px 0 var(--orange);
}

.button-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--orange);
}

.button-secondary {
  background: rgba(255, 254, 243, 0.52);
}

.button-secondary:hover {
  background: var(--marigold);
  transform: translateY(-2px);
}

.hero-facts {
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.hero-facts li,
.chip {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 254, 243, 0.46);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.relay-board {
  position: relative;
  min-height: 560px;
  padding: 26px;
  overflow: hidden;
  border: 2px solid var(--carbon);
  border-radius: 28px 6px 28px 6px;
  background: var(--carbon);
  box-shadow: var(--shadow), 12px 12px 0 var(--paper-deep);
  isolation: isolate;
}

.relay-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 90, 47, 0.3), transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(217, 239, 117, 0.18), transparent 34%);
}

.board-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 254, 243, 0.65);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-lights {
  display: flex;
  gap: 6px;
}

.board-lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 254, 243, 0.25);
}

.board-lights i:first-child {
  background: var(--orange);
}

.board-lights i:nth-child(2) {
  background: var(--marigold);
}

.board-lights i:last-child {
  background: var(--celery);
}

.relay-route {
  position: absolute;
  inset: 95px 23px auto;
  width: calc(100% - 46px);
  height: 280px;
  overflow: visible;
  pointer-events: none;
}

.route-base,
.route-active {
  fill: none;
  stroke-linecap: round;
  stroke-width: 3;
}

.route-base {
  stroke: rgba(255, 254, 243, 0.16);
  stroke-dasharray: 4 10;
}

.route-active {
  stroke: var(--orange);
  stroke-dasharray: 13 18;
  animation: signal-flow 1.1s linear infinite;
}

.signal-dot {
  fill: var(--marigold);
  filter: drop-shadow(0 0 6px var(--marigold));
}

.relay-columns {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 74px;
}

.relay-panel {
  position: relative;
  z-index: 2;
  min-height: 264px;
  padding: 17px;
  color: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
}

.relay-board[data-step="claimed"] .team-panel,
.relay-board[data-step="working"] .team-panel,
.relay-board[data-step="done"] .client-panel {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32), 0 0 0 3px var(--orange);
}

.panel-label {
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-label::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(96, 120, 66, 0.16);
}

.message-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
}

.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--marigold);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.message-row strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.message-row p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.relay-response,
.task-card {
  margin-top: 18px;
  padding: 12px;
  border-left: 4px solid var(--orange);
  background: var(--paper);
}

.relay-response {
  min-height: 65px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.task-card strong {
  font-size: 14px;
  line-height: 1.2;
}

.task-card small,
.task-card span {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
}

.task-card small {
  margin-top: 4px;
  color: rgba(27, 36, 27, 0.62);
}

.task-card span {
  margin-top: 18px;
  font-weight: 600;
}

.board-controls {
  position: absolute;
  right: 24px;
  bottom: 23px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.board-controls p {
  margin: 0;
  color: rgba(255, 254, 243, 0.75);
  font-size: 12px;
  line-height: 1.4;
}

.demo-button {
  min-height: 43px;
  padding: 9px 14px;
  color: var(--carbon);
  border: 0;
  border-radius: 999px;
  background: var(--celery);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.demo-button:hover {
  background: var(--marigold);
  transform: translateY(-2px);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.trust-strip-inner {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 96px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 1px solid var(--line);
}

.trust-item strong {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.trust-item span {
  color: var(--carbon-soft);
  font-size: 14px;
}

.section {
  width: var(--page);
  margin-inline: auto;
  padding: clamp(84px, 10vw, 144px) 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-head h2,
.split-copy h2,
.cta-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
  text-wrap: balance;
}

.section-head h2,
.split-copy h2 {
  font-size: clamp(42px, 5.6vw, 72px);
}

.section-head > p:not(.eyebrow),
.split-copy > p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--carbon-soft);
  font-size: 20px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--carbon);
}

.flow-step {
  position: relative;
  min-height: 350px;
  padding: 30px;
  border-right: 1px solid var(--carbon);
}

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

.step-id {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--carbon);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--mono);
  font-size: 12px;
}

.flow-step:nth-child(2) .step-id {
  background: var(--marigold);
}

.flow-step:nth-child(3) .step-id {
  color: var(--white);
  background: var(--orange);
}

.flow-step h3 {
  margin: 80px 0 0;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.flow-step p {
  margin: 16px 0 0;
  color: var(--carbon-soft);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 300px;
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 6px 24px 6px 6px;
  background: rgba(255, 254, 243, 0.6);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.feature-card:hover {
  border-color: var(--carbon);
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 var(--paper-deep);
}

.feature-card.wide {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 50px;
  color: var(--white);
  background: var(--carbon);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.feature-card h3 {
  margin: 54px 0 0;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.feature-card p {
  max-width: 590px;
  margin: 15px 0 0;
  color: var(--carbon-soft);
  font-size: 16px;
}

.feature-card.wide h3 {
  margin-top: 0;
}

.feature-card.wide p {
  color: rgba(255, 254, 243, 0.7);
}

.feature-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  list-style: none;
}

.feature-list li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 254, 243, 0.18);
  font-family: var(--mono);
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
}

.principle-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--carbon);
}

.principle-list li {
  padding: 23px 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--carbon);
}

.principle-list b {
  font-family: var(--mono);
  font-size: 12px;
}

.principle-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.principle-list span {
  color: var(--carbon-soft);
  font-size: 15px;
}

.code-window {
  overflow: hidden;
  color: var(--white);
  border: 2px solid var(--carbon);
  border-radius: 8px;
  background: var(--carbon);
  box-shadow: 10px 10px 0 var(--orange);
}

.code-topbar {
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 254, 243, 0.16);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.code-window pre {
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  white-space: pre;
}

.code-window .comment {
  color: var(--celery);
}

.copy-button {
  padding: 6px 10px;
  color: var(--carbon);
  border: 0;
  border-radius: 999px;
  background: var(--marigold);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.cta-wrap {
  width: var(--page);
  margin: 0 auto clamp(48px, 7vw, 90px);
}

.cta-panel {
  position: relative;
  padding: clamp(42px, 7vw, 84px);
  overflow: hidden;
  color: var(--white);
  border-radius: 36px 8px 36px 8px;
  background: var(--orange);
}

.cta-panel::after {
  content: "↗";
  position: absolute;
  right: -0.04em;
  bottom: -0.27em;
  color: rgba(27, 36, 27, 0.15);
  font-family: var(--display);
  font-size: clamp(180px, 32vw, 430px);
  line-height: 1;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 760px;
  font-size: clamp(44px, 6vw, 82px);
}

.cta-panel p {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 20px;
}

.cta-panel .button-primary {
  color: var(--carbon);
  background: var(--marigold);
  box-shadow: 5px 5px 0 var(--carbon);
}

.site-footer {
  color: var(--white);
  background: var(--carbon);
}

.footer-inner {
  width: var(--page);
  margin-inline: auto;
  padding: 58px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.6fr);
  gap: 40px;
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255, 254, 243, 0.62);
  font-size: 15px;
}

.footer-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--celery);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a {
  width: fit-content;
  margin: 7px 0;
  display: block;
  color: rgba(255, 254, 243, 0.75);
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--marigold);
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 254, 243, 0.13);
  color: rgba(255, 254, 243, 0.5);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.page-hero {
  width: var(--page);
  margin-inline: auto;
  padding: clamp(88px, 12vw, 160px) 0 clamp(74px, 9vw, 120px);
}

.page-hero h1 {
  max-width: 1000px;
  font-size: clamp(56px, 9vw, 126px);
}

.page-hero .lede {
  max-width: 780px;
  margin: 30px 0 0 auto;
  color: var(--carbon-soft);
  font-size: clamp(20px, 2.4vw, 29px);
  line-height: 1.4;
}

.statement {
  color: var(--white);
  background: var(--carbon);
}

.statement-inner {
  width: var(--page);
  margin-inline: auto;
  padding: clamp(74px, 10vw, 140px) 0;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 60px;
}

.statement-label {
  color: var(--celery);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.statement blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 8vw, 110px);
}

.prose-grid h2,
.content-block h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.prose-grid p,
.content-block p {
  color: var(--carbon-soft);
}

.feature-catalog {
  border-top: 1px solid var(--carbon);
}

.catalog-row {
  padding: 36px 0;
  display: grid;
  grid-template-columns: 0.45fr 0.9fr 1.5fr;
  gap: 34px;
  border-bottom: 1px solid var(--carbon);
}

.catalog-row .chip {
  width: fit-content;
  height: fit-content;
  background: var(--marigold);
}

.catalog-row h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.catalog-row p {
  margin: 0;
  color: var(--carbon-soft);
}

.setup-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.setup-nav {
  position: sticky;
  top: 28px;
  padding: 18px;
  border: 1px solid var(--carbon);
  background: var(--paper-deep);
}

.setup-nav strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.setup-nav a {
  padding: 8px 0;
  display: block;
  color: var(--carbon-soft);
  font-size: 14px;
  text-decoration: none;
}

.setup-nav a:hover {
  color: var(--orange);
}

.setup-content {
  display: grid;
  gap: 76px;
}

.setup-step {
  scroll-margin-top: 30px;
}

.setup-step header {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
}

.setup-step header span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
}

.setup-step h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.setup-step > p {
  color: var(--carbon-soft);
}

.callout {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 5px solid var(--orange);
  background: var(--paper-deep);
  font-size: 15px;
}

.command-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.command-table th,
.command-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.command-table th {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.command-table code {
  font-family: var(--mono);
  font-size: 12px;
}

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}

.has-reveal [data-reveal][data-visible="true"] {
  opacity: 1;
  transform: none;
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -31;
  }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .relay-board {
    width: min(700px, 100%);
    min-height: 530px;
    margin-inline: auto;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .flow-step {
    padding: 24px;
  }

  .feature-card.wide {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-top {
    grid-template-columns: 1.5fr repeat(2, 0.7fr);
  }

  .footer-nav:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100% - 28px, 1180px);
  }

  body {
    font-size: 17px;
  }

  .nav-shell {
    min-height: 70px;
  }

  .menu-button {
    display: grid;
  }

  .menu-button[aria-expanded="true"] span {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"]::before {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"]::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: 69px;
    right: 0;
    left: 0;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--carbon);
    background: var(--paper);
    box-shadow: 0 16px 30px rgba(27, 36, 27, 0.12);
  }

  .nav-menu[data-open="true"] {
    display: flex;
  }

  .nav-menu a {
    justify-content: center;
  }

  .nav-menu .nav-github {
    margin: 6px 0 0;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .relay-board {
    min-height: 665px;
    padding: 18px;
    border-radius: 20px 5px;
    box-shadow: 7px 7px 0 var(--paper-deep);
  }

  .relay-columns {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .relay-panel {
    min-height: 205px;
  }

  .relay-route {
    inset: 170px auto auto 50%;
    width: 220px;
    transform: translateX(-50%) rotate(90deg);
  }

  .board-controls {
    right: 18px;
    bottom: 18px;
    left: 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .demo-button {
    width: 100%;
  }

  .trust-strip-inner,
  .flow-grid,
  .feature-grid,
  .split-section,
  .statement-inner,
  .prose-grid,
  .setup-layout {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:nth-child(3) {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--carbon);
  }

  .flow-step:last-child {
    border-bottom: 0;
  }

  .flow-step h3 {
    margin-top: 48px;
  }

  .feature-card,
  .feature-card.wide {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-nav:last-child {
    grid-column: auto;
  }

  .page-hero .lede {
    margin-left: 0;
  }

  .statement-inner {
    gap: 30px;
  }

  .catalog-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .setup-nav {
    position: static;
  }

  .command-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-nav:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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