:root {
  color-scheme: light;
  --paper: #f2eadc;
  --paper-light: #faf5ea;
  --paper-deep: #dfd2be;
  --ink: #181714;
  --muted: #635e54;
  --line: rgba(24, 23, 20, 0.22);
  --line-strong: rgba(24, 23, 20, 0.58);
  --orange: #f04a18;
  --orange-dark: #bd2f08;
  --acid: #d7ff45;
  --terminal: #11110f;
  --terminal-text: #f6f0e4;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Candara, "Trebuchet MS", "Gill Sans", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-pad: clamp(1.25rem, 4vw, 4.75rem);
  --max-width: 92rem;
  --shadow: 0 1.25rem 3rem rgba(45, 35, 22, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(24, 23, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 23, 20, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 2rem, 2rem 100%, auto;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

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

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

code {
  font-family: var(--mono);
}

::selection {
  color: var(--paper-light);
  background: var(--orange);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(100%, var(--max-width));
  min-height: 5.5rem;
  padding: 1.25rem var(--page-pad);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-strong);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-mark {
  display: grid;
  width: 2.3rem;
  aspect-ratio: 1;
  color: var(--paper-light);
  background: var(--ink);
  place-items: center;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: -0.08em;
}

.wordmark-note {
  padding: 0.12rem 0.38rem;
  color: var(--orange-dark);
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transform: rotate(-2deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav .nav-source {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--ink);
}

.hero {
  display: grid;
  width: min(100%, var(--max-width));
  min-height: calc(100vh - 5.5rem);
  padding: clamp(4.5rem, 9vw, 8.5rem) var(--page-pad) clamp(4rem, 7vw, 6.5rem);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(30rem, 1.1fr);
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow,
.section-number,
.diagram-label,
.boundary-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  margin: 0 0 1.65rem;
  align-items: center;
  gap: 0.65rem;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgba(240, 74, 24, 0.14);
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.8rem;
  font-size: clamp(4.15rem, 8vw, 8.4rem);
}

h1 em {
  position: relative;
  color: var(--orange);
  font-weight: 500;
}

h1 em::after {
  position: absolute;
  right: 0;
  bottom: 0.02em;
  left: 0.03em;
  height: 0.05em;
  content: "";
  background: currentColor;
  transform: rotate(-1.1deg);
  transform-origin: left;
}

.hero-lede {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: #3c3933;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  line-height: 1.45;
}

.install-block {
  width: 100%;
  max-width: 43rem;
  margin: 2.25rem 0 1.4rem;
  border: 1px solid var(--ink);
  background: rgba(250, 245, 234, 0.58);
  box-shadow: 0.45rem 0.45rem 0 var(--ink);
}

.install-meta {
  display: flex;
  padding: 0.55rem 0.8rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-row {
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.command-row code {
  display: block;
  min-width: 0;
  padding: 1rem;
  overflow-x: auto;
  flex: 1;
  font-size: clamp(0.69rem, 1vw, 0.82rem);
  font-weight: 600;
  white-space: nowrap;
  scrollbar-width: thin;
}

.copy-button {
  min-width: 5rem;
  padding: 0.8rem 1rem;
  color: var(--paper-light);
  border: 0;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-button:hover {
  color: var(--ink);
  background: var(--acid);
}

.copy-status {
  min-height: 0;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.install-block > .copy-status:not(:empty) {
  min-height: 1.9rem;
  padding: 0.3rem 0.8rem;
  color: var(--paper-light);
  background: var(--orange-dark);
}

.hero-actions {
  display: flex;
  margin-top: 1.85rem;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  padding: 0.75rem 1.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.button-primary {
  color: var(--paper-light);
  background: var(--ink);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--acid);
}

.text-link {
  font-size: 0.8rem;
  font-weight: 700;
}

.independence-note {
  max-width: 42rem;
  padding-top: 1.1rem;
  margin: 2.2rem 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-width: 0;
  max-width: 48rem;
  justify-self: end;
}

.diagram-label {
  display: inline-block;
  padding: 0.48rem 0.7rem;
  margin: 0 0 -1px 1.5rem;
  color: var(--paper-light);
  background: var(--orange);
  transform: rotate(-1deg);
}

.route-diagram {
  position: relative;
  min-height: 39rem;
  padding: clamp(1.6rem, 3vw, 3rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 80% 18%, rgba(240, 74, 24, 0.16), transparent 27%),
    repeating-linear-gradient(0deg, transparent 0 2.9rem, rgba(24, 23, 20, 0.07) 3rem),
    var(--paper-light);
  box-shadow: var(--shadow);
}

.route-diagram::before {
  position: absolute;
  top: 1.5rem;
  right: -3.2rem;
  width: 12rem;
  height: 1.5rem;
  content: "CONFIG / ROUTE / LAUNCH";
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  line-height: 1.5rem;
  text-align: center;
  transform: rotate(35deg);
}

.terminal-window {
  position: relative;
  z-index: 3;
  width: min(100%, 31rem);
  margin-top: 1rem;
  color: var(--terminal-text);
  background: var(--terminal);
  box-shadow: 0.9rem 0.9rem 0 rgba(240, 74, 24, 0.9);
  transform: rotate(-1deg);
}

.terminal-bar {
  display: flex;
  height: 2.3rem;
  padding: 0 0.75rem;
  align-items: center;
  justify-content: space-between;
  color: #aaa397;
  border-bottom: 1px solid #36332e;
  font-family: var(--mono);
  font-size: 0.57rem;
}

.terminal-lights {
  display: flex;
  gap: 0.32rem;
}

.terminal-lights i {
  width: 0.48rem;
  height: 0.48rem;
  background: #6f6b63;
  border-radius: 50%;
}

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

.terminal-body {
  min-height: 18rem;
  padding: 1.35rem;
  font-family: var(--mono);
  font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  line-height: 1.75;
}

.terminal-body p {
  margin-bottom: 0.2rem;
}

.terminal-body .prompt {
  color: var(--acid);
}

.terminal-body .terminal-output {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  color: #aaa397;
}

.terminal-output span {
  color: #f1825e;
}

.cursor-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cursor {
  width: 0.56rem;
  height: 1rem;
  background: var(--terminal-text);
  animation: blink 1s steps(1, end) infinite;
}

.profile-stack {
  position: absolute;
  right: 2.2rem;
  bottom: 2.2rem;
  z-index: 4;
  width: min(17rem, 48%);
}

.profile-card {
  position: relative;
  display: grid;
  min-height: 6.2rem;
  padding: 0.8rem 0.9rem;
  margin-top: -0.4rem;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 0.8rem;
  color: var(--ink);
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 0.35rem 0.35rem 0 rgba(24, 23, 20, 0.2);
}

.profile-card-team {
  margin-left: -1.8rem;
  background: #f7cbbd;
  transform: rotate(1.5deg);
}

.profile-card-studio {
  margin-left: 0.7rem;
  background: #e5f1b7;
  transform: rotate(-1deg);
}

.card-index {
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--serif);
  font-size: 2rem;
}

.profile-card strong {
  font-family: var(--mono);
  font-size: 0.8rem;
}

.profile-card code {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.55rem;
  text-overflow: ellipsis;
}

.card-tag {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.08em;
}

.route-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.route-line {
  position: absolute;
  display: block;
  height: 1px;
  background: var(--orange);
  transform-origin: left;
}

.route-line::after {
  position: absolute;
  right: -0.25rem;
  top: -0.22rem;
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  background: var(--orange);
  border-radius: 50%;
}

.route-line-a {
  top: 47%;
  left: 12%;
  width: 55%;
  transform: rotate(21deg);
}

.route-line-b {
  top: 54%;
  left: 15%;
  width: 51%;
  transform: rotate(31deg);
}

.route-line-c {
  top: 61%;
  left: 20%;
  width: 45%;
  transform: rotate(39deg);
}

.margin-note {
  position: absolute;
  right: -1.5rem;
  bottom: -2.25rem;
  z-index: 5;
  max-width: 21rem;
  padding: 0.8rem 1rem;
  margin: 0;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 0.35rem 0.35rem 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.55;
  transform: rotate(1.2deg);
}

.proof-strip {
  display: grid;
  color: var(--paper-light);
  background: var(--ink);
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip p {
  display: flex;
  min-height: 8rem;
  padding: 1.35rem clamp(1.2rem, 3vw, 3.8rem);
  margin: 0;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid rgba(250, 245, 234, 0.2);
}

.proof-strip p:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--orange);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.proof-strip span {
  max-width: 7rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.section-shell {
  width: min(100%, var(--max-width));
  padding: clamp(6rem, 10vw, 10rem) var(--page-pad);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  margin-bottom: clamp(3rem, 6vw, 6rem);
  grid-template-columns: minmax(8rem, 0.45fr) minmax(20rem, 1.25fr) minmax(15rem, 0.65fr);
  gap: 2rem;
  align-items: end;
}

.section-number {
  align-self: start;
  color: var(--orange-dark);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(3.15rem, 6vw, 6.8rem);
}

.section-heading > p:last-child {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.benefit-card {
  position: relative;
  min-height: 25rem;
  padding: clamp(1.5rem, 3.2vw, 3.4rem);
  border-right: 1px solid var(--line-strong);
}

.benefit-card:last-child {
  border-right: 0;
}

.benefit-card-featured {
  color: var(--paper-light);
  background: var(--orange);
}

.benefit-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 5rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.benefit-card h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.benefit-card p {
  max-width: 29rem;
  margin: 0;
}

.benefit-card code {
  font-size: 0.82em;
}

.mini-map {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.mini-map span {
  padding: 0.35rem 0.45rem;
  background: var(--paper-light);
}

.mini-map i {
  height: 1px;
  flex: 1;
  background: var(--paper-light);
}

.workflow {
  width: 100%;
  max-width: none;
  color: var(--paper-light);
  background: var(--ink);
}

.workflow > * {
  width: min(100%, calc(var(--max-width) - (2 * var(--page-pad))));
  margin-right: auto;
  margin-left: auto;
}

.section-heading-light .section-number,
.section-heading-light > p:last-child {
  color: #b8b0a4;
}

.steps {
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(250, 245, 234, 0.28);
}

.steps li {
  display: grid;
  min-height: 13rem;
  padding: 2.4rem 0;
  grid-template-columns: 0.28fr 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(250, 245, 234, 0.28);
}

.step-number {
  color: var(--orange);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
}

.steps li > div {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(14rem, 0.75fr) minmax(20rem, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.steps p {
  margin: 0;
  color: #b8b0a4;
}

.steps code,
.workflow-footer code {
  display: block;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  color: var(--acid);
  border: 1px solid rgba(250, 245, 234, 0.35);
  background: #0c0c0b;
  font-size: 0.72rem;
  white-space: nowrap;
}

.workflow-footer {
  display: flex;
  padding-top: 2.3rem;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  color: #b8b0a4;
  font-family: var(--mono);
  font-size: 0.66rem;
  flex-wrap: wrap;
}

.workflow-footer code {
  display: inline-block;
  color: var(--terminal-text);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
}

.platform-grid article {
  min-height: 24rem;
  padding: clamp(1.8rem, 3.5vw, 3.6rem);
  border-right: 1px solid var(--line-strong);
}

.platform-grid article:last-child {
  border-right: 0;
}

.platform-glyph {
  display: block;
  min-height: 7rem;
  color: var(--orange);
  font-family: var(--sans);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
}

.platform-glyph-linux {
  transform: rotate(-15deg);
  transform-origin: left center;
}

.platform-grid h3 {
  margin-bottom: 0.6rem;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.platform-grid p {
  min-height: 3rem;
  margin-bottom: 3rem;
}

.platform-grid small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.doctor-note {
  display: grid;
  padding: 1.4rem;
  grid-template-columns: auto minmax(14rem, 0.55fr) 1fr;
  gap: 1rem;
  align-items: center;
  color: var(--paper-light);
  background: var(--orange);
}

.doctor-prompt {
  color: var(--acid);
  font-family: var(--mono);
}

.doctor-note code {
  font-size: 0.82rem;
  font-weight: 700;
}

.doctor-note p {
  margin: 0;
  font-size: 0.78rem;
}

.safety {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: #e6ddce;
}

.safety > *:not(.safety-stamp) {
  width: min(100%, calc(var(--max-width) - (2 * var(--page-pad))));
  margin-right: auto;
  margin-left: auto;
}

.safety-stamp {
  position: absolute;
  top: 9rem;
  right: -1.2rem;
  padding: 0.7rem 2.8rem;
  color: var(--orange-dark);
  border: 4px double currentColor;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-align: center;
  transform: rotate(7deg);
}

.safety-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.safety-lede {
  max-width: 43rem;
  margin-bottom: 2.5rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.35;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 1rem 0 1rem 2.2rem;
  border-top: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--orange-dark);
  content: "[✓]";
  font-family: var(--mono);
  font-size: 0.72rem;
}

.boundary-card {
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 0.75rem 0.75rem 0 var(--ink);
}

.boundary-label {
  padding: 0.9rem 1.1rem;
  margin: 0;
  color: var(--paper-light);
  background: var(--ink);
}

.boundary-row {
  display: grid;
  padding: 1.2rem 1.1rem;
  grid-template-columns: 5rem 1fr;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.boundary-row span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.boundary-row strong {
  font-family: var(--serif);
  font-weight: 600;
}

.boundary-row-stop {
  color: var(--orange-dark);
}

.boundary-card > a {
  display: block;
  padding: 1rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.policy-links {
  padding-top: 2rem;
  margin-top: 4rem !important;
  margin-bottom: 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.64rem;
}

.policy-links a:hover {
  color: var(--orange-dark);
}

.faq {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(3rem, 8vw, 10rem);
  align-items: start;
}

.faq .section-heading {
  display: block;
  margin: 0;
}

.faq .section-number {
  display: block;
  margin-bottom: 2rem;
}

.faq .section-heading h2 {
  font-size: clamp(3.2rem, 5.5vw, 6rem);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  min-height: 5.5rem;
  padding: 1.2rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 1.4rem;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--ink);
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 47rem;
  padding: 0 3.5rem 1.6rem 0;
  margin: 0;
  color: var(--muted);
}

.final-cta {
  position: relative;
  min-height: 45rem;
  padding: clamp(6rem, 12vw, 11rem) var(--page-pad);
  overflow: hidden;
  color: var(--paper-light);
  background: var(--orange);
}

.cta-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(250, 245, 234, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 245, 234, 0.45) 1px, transparent 1px);
  background-size: 4rem 4rem;
  transform: perspective(40rem) rotateX(58deg) scale(1.5) translateY(15%);
  transform-origin: bottom;
}

.cta-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 67rem);
  margin: 0 auto;
  text-align: center;
}

.eyebrow-dark {
  display: block;
  color: var(--ink);
}

.final-cta h2 {
  margin-bottom: 3rem;
  color: var(--paper-light);
  font-size: clamp(3.4rem, 7vw, 7.2rem);
}

.cta-command {
  display: flex;
  max-width: 52rem;
  margin: 0 auto;
  align-items: stretch;
  color: var(--terminal-text);
  border: 1px solid var(--paper-light);
  background: var(--ink);
  box-shadow: 0.65rem 0.65rem 0 var(--paper-light);
}

.cta-command code {
  min-width: 0;
  padding: 1.2rem;
  overflow-x: auto;
  flex: 1;
  font-size: clamp(0.7rem, 1.3vw, 0.88rem);
  white-space: nowrap;
}

.copy-button-dark {
  color: var(--ink);
  border-left-color: var(--paper-light);
  background: var(--acid);
}

.copy-button-dark:hover {
  color: var(--ink);
  background: var(--paper-light);
}

.cta-inner > .copy-status:not(:empty) {
  min-height: 1.8rem;
  margin-top: 1.4rem;
}

.cta-links {
  display: flex;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.button-paper {
  color: var(--ink);
  border-color: var(--paper-light);
  background: var(--paper-light);
}

.button-paper:hover {
  background: var(--acid);
}

.cta-links > a:not(.button) {
  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  min-height: 9rem;
  padding: 2rem var(--page-pad);
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  color: #b8b0a4;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.site-footer p {
  margin: 0;
}

.site-footer strong,
.site-footer a {
  color: var(--paper-light);
}

.site-footer strong {
  display: block;
  margin-bottom: 0.2rem;
}

html.is-enhanced [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.is-enhanced [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media (max-width: 70rem) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 52rem;
  }

  .hero-visual {
    width: min(100%, 48rem);
    justify-self: center;
  }

  .section-heading {
    grid-template-columns: 0.35fr 1fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .steps li > div {
    grid-template-columns: 0.65fr 1fr;
  }

  .steps code {
    grid-column: 1 / -1;
  }

  .benefit-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .benefit-card:first-child {
    grid-row: span 2;
  }

  .benefit-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .benefit-card:last-child {
    border-top: 0;
  }

  .safety-stamp {
    display: none;
  }
}

@media (max-width: 52rem) {
  .site-header {
    min-height: 4.5rem;
  }

  .site-nav a:not(.nav-source):not(.nav-primary) {
    display: none;
  }

  .hero {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(3.8rem, 15vw, 6.4rem);
  }

  .route-diagram {
    min-height: 35rem;
  }

  .profile-stack {
    right: 1.4rem;
    bottom: 2rem;
    width: 50%;
  }

  .margin-note {
    right: 1rem;
    bottom: -3rem;
  }

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

  .proof-strip p:nth-child(2) {
    border-right: 0;
  }

  .proof-strip p:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(250, 245, 234, 0.2);
  }

  .section-heading {
    display: block;
  }

  .section-number {
    display: block;
    margin-bottom: 1.5rem;
  }

  .section-heading h2 {
    margin-bottom: 1.5rem;
  }

  .benefit-grid,
  .platform-grid,
  .safety-layout,
  .faq {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .benefit-card:first-child,
  .platform-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .benefit-card:last-child,
  .platform-grid article:last-child {
    border-bottom: 0;
  }

  .benefit-icon {
    margin-bottom: 3rem;
  }

  .benefit-card-featured {
    padding-bottom: 8rem;
  }

  .steps li {
    grid-template-columns: 4rem 1fr;
    align-items: start;
  }

  .steps li > div {
    grid-template-columns: 1fr;
  }

  .steps code {
    grid-column: auto;
  }

  .step-number {
    font-size: 2.5rem;
  }

  .doctor-note {
    grid-template-columns: auto 1fr;
  }

  .doctor-note p {
    grid-column: 2;
  }

  .faq {
    gap: 3rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 35rem) {
  .wordmark-note {
    display: none;
  }

  .site-nav .nav-source {
    padding: 0.45rem 0.55rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .install-block {
    box-shadow: 0.3rem 0.3rem 0 var(--ink);
  }

  .install-meta span:last-child {
    display: none;
  }

  .copy-button {
    min-width: 4rem;
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }

  .route-diagram {
    min-height: 30rem;
    padding: 1rem;
  }

  .terminal-window {
    box-shadow: 0.55rem 0.55rem 0 rgba(240, 74, 24, 0.9);
  }

  .terminal-body {
    min-height: 15.5rem;
    padding: 1rem;
    font-size: 0.6rem;
  }

  .profile-stack {
    right: 1rem;
    width: 67%;
  }

  .profile-card {
    min-height: 4.8rem;
  }

  .route-lines {
    display: none;
  }

  .margin-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 1rem);
    margin: -1rem auto 0;
  }

  .proof-strip p {
    min-height: 7rem;
    padding: 1rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .proof-strip strong {
    font-size: 2.5rem;
  }

  .section-shell {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-heading h2,
  .faq .section-heading h2 {
    font-size: 3rem;
  }

  .benefit-card,
  .platform-grid article {
    padding: 1.5rem;
  }

  .steps li {
    grid-template-columns: 2.8rem 1fr;
    gap: 0.4rem;
  }

  .steps code {
    margin-left: -3.2rem;
    font-size: 0.6rem;
  }

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

  .boundary-card {
    box-shadow: 0.4rem 0.4rem 0 var(--ink);
  }

  .boundary-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .final-cta {
    min-height: 38rem;
  }

  .final-cta h2 {
    font-size: 3.4rem;
  }

  .cta-command {
    box-shadow: 0.35rem 0.35rem 0 var(--paper-light);
  }

  .cta-command code {
    padding: 1rem 0.8rem;
    font-size: 0.62rem;
  }
}

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

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

  html.is-enhanced [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
