/* FeirAI — governed action boundary */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0a09;
  --ink-2: #11110f;
  --ink-3: #181815;
  --paper: #f1efe8;
  --paper-2: #e8e5dc;
  --white: #fbfaf5;
  --graphite: #66665f;
  --mist: #a8a69e;
  /* Record green — the only brand accent. Reserved for authorized / verified /
     sealed states (the color of a cleared record), never for CTAs or decoration. */
  --record: #9ab99a;
  --record-ink: #435a38;
  --ok: var(--record);
  --warn: #d4a261;
  --stop: #bd756d;
  --line-light: rgba(241, 239, 232, 0.14);
  --line-soft: rgba(241, 239, 232, 0.075);
  --line-dark: rgba(10, 10, 9, 0.16);
  --line-dark-soft: rgba(10, 10, 9, 0.08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --wrap: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --nav-h: 4.5rem;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

::selection {
  background: #33332e;
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

.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;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

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

.page-progress {
  position: fixed;
  z-index: 999;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--record);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.eyebrow,
.hero__kicker,
.section-rule,
.hero__meta,
.hero__foot,
.contrast-id,
.plane-chapter__meta,
.plane-chapter__truth,
.principle-card__top,
.product-frame__label,
.product-section-head,
.evidence-test__top,
.truth-list article > span,
.closing__meta,
.footer__links span,
.footer__bottom,
.action-file,
.system-console {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #65645e;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid currentColor;
  content: "";
}

.eyebrow--light {
  color: #9a9992;
}

.button {
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 140ms var(--ease-out);
}

.button > span {
  font-size: 1rem;
  transition: transform 180ms var(--ease-out);
}

.button:active {
  transform: scale(0.97);
}

.button--compact {
  min-height: 2.65rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.78rem;
}

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

.button--outline {
  border-color: rgba(241, 239, 232, 0.28);
  color: var(--paper);
}

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

.button--paper-outline {
  border-color: var(--line-dark);
  color: var(--ink);
}

/* Navigation */
.site-nav {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: var(--paper);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled,
.site-nav.is-open,
.site-nav--solid {
  border-bottom-color: var(--line-light);
  background: rgba(10, 10, 9, 0.84);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.site-nav__inner {
  position: relative;
  z-index: 2;
  height: var(--nav-h);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-nav__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.site-nav__brand img {
  width: 5.7rem;
  height: auto;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.site-nav__links a,
.nav-contact {
  color: rgba(241, 239, 232, 0.65);
  font-size: 0.78rem;
  font-weight: 550;
  transition: color 160ms ease;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* On phones the persistent CTA is the sales action; the self-serve demo
   button returns at desktop widths (heroes carry both at every size). */
.nav-contact {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.5rem;
}

.site-nav__actions .button--compact {
  display: none;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 220ms var(--ease-drawer);
}

.nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: 1;
  top: var(--nav-h);
  left: 0;
  right: 0;
  /* Explicit height (not `bottom: 0`) on purpose: .site-nav gains a
     backdrop-filter when `.is-open`/`.is-scrolled`, which makes it the
     containing block for this fixed child. `bottom: 0` would then resolve
     against .site-nav's own (nav-h-tall) box and collapse this panel to a
     sliver, leaving most of the menu without its background. */
  height: calc(100svh - var(--nav-h));
  padding: 2rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: rgba(10, 10, 9, 0.98);
  opacity: 0;
  transform: translateY(-0.75rem);
  transition:
    opacity 220ms ease,
    transform 320ms var(--ease-drawer);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(1.55rem, 7vw, 2.25rem);
  font-weight: 550;
  letter-spacing: -0.045em;
}

.mobile-nav a span {
  width: 1.5rem;
  color: #76756e;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 1.1rem) 0 1.25rem;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--ink);
  isolation: isolate;
}

.hero__grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(241, 239, 232, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(241, 239, 232, 0.035) 1px, transparent 1px);
  background-size: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 8vw, 7rem);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.75) 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.75) 65%, transparent 100%);
}

.hero__grid::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 24%, transparent 78%, var(--ink) 100%);
  content: "";
}

.hero__signal {
  position: absolute;
  z-index: -1;
  top: 0;
  right: clamp(0.9rem, 4vw, 4rem);
  width: 1px;
  height: 100%;
  background: var(--line-soft);
}

.hero__signal span {
  position: absolute;
  top: 13%;
  left: 0;
  width: 1px;
  height: 18%;
  background: rgba(241, 239, 232, 0.55);
  animation: signal-trace 6s var(--ease-in-out) infinite alternate;
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-light);
  color: #77766f;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__meta .eyebrow {
  font-size: inherit;
}

.hero__meta-center {
  display: none;
}

.hero__content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  padding-top: clamp(2.2rem, 5vh, 3.5rem);
  padding-bottom: clamp(2.4rem, 5vh, 3.5rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__kicker {
  margin-bottom: 1.5rem;
  color: #8b8982;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.35rem, 14vw, 7.6rem);
  font-weight: 560;
  letter-spacing: -0.068em;
  line-height: 0.94;
}

.hero h1 span {
  color: #8b897f;
}

.hero__lede {
  max-width: 38rem;
  margin-top: 1.9rem;
  color: #a4a29b;
  font-size: clamp(1rem, 3.9vw, 1.22rem);
  line-height: 1.55;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero__actions .button {
  flex: 1 1 10rem;
}

.hero__promise {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #7f7d76;
  font-size: 0.76rem;
}

.hero__promise span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--record);
  box-shadow: 0 0 0 4px rgba(154, 185, 154, 0.1);
}

.hero__artifact {
  position: relative;
  width: min(100%, 35rem);
  justify-self: center;
}

.action-file {
  position: relative;
  border: 1px solid rgba(241, 239, 232, 0.18);
  background: rgba(17, 17, 15, 0.92);
  box-shadow: 0 2.2rem 7rem rgba(0, 0, 0, 0.4);
  color: #c4c2ba;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  overflow: hidden;
  transform: translate3d(0, var(--artifact-shift, 0), 0) perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}

.action-file::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.02);
  pointer-events: none;
  content: "";
}

.action-file__top,
.action-file__request,
.action-file__intent,
.action-file__checks,
.action-file__trace,
.action-file__seal {
  padding: 0.85rem;
}

.action-file__top {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line-light);
  color: #77766f;
}

.live-state,
.test-state,
.console-state {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.live-state i,
.test-state i,
.console-state i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(154, 185, 154, 0.14);
}

.action-file__request {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.agent-glyph {
  width: 2.35rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 239, 232, 0.22);
  background: #191917;
  color: var(--paper);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.84rem;
  font-weight: 650;
}

.action-file__request div:nth-child(2) {
  display: grid;
  gap: 0.15rem;
}

.action-file__request span,
.action-file__intent > span,
.action-file__intent small {
  color: #83817a;
}

.action-file__request strong {
  color: #c9c7c0;
  font-weight: 500;
  letter-spacing: 0;
}

.request-time {
  font-size: 0.56rem;
}

.action-file__intent {
  min-height: 7.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line-light);
}

.action-file__intent strong {
  color: var(--paper);
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(1.45rem, 6vw, 2.15rem);
  font-weight: 560;
  letter-spacing: -0.045em;
}

.action-file__intent small {
  letter-spacing: 0.04em;
}

.action-file__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.action-file__checks div {
  min-height: 3.65rem;
  padding: 0.75rem;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  background: #11110f;
}

.action-file__checks span {
  color: #83817a;
}

.action-file__checks b {
  color: #bbb9b2;
  font-size: 0.58rem;
  font-weight: 500;
}

.action-file__checks b::before {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--ok);
  content: "";
}

.action-file__trace {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line-light);
}

.action-file__trace::before {
  position: absolute;
  top: 1.02rem;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--line-light);
  content: "";
}

.action-file__trace span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: #7c7a72;
  font-size: 0.53rem;
  text-align: center;
}

.action-file__trace i {
  z-index: 1;
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid #6a6963;
  border-radius: 50%;
  background: #11110f;
}

.action-file__trace .is-complete,
.action-file__trace .is-active {
  color: #b8b6ae;
}

.action-file__trace .is-complete i {
  border-color: #a7a59d;
  background: #a7a59d;
}

.action-file__trace .is-active i {
  border-color: var(--ok);
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(154, 185, 154, 0.14);
}

.action-file__seal {
  min-height: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  color: #66655f;
}

.action-file__seal span:last-child {
  text-align: right;
}

.seal-mark {
  width: 2.3rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #6d6c66;
  border-radius: 50%;
  color: #96948d;
  font-size: 0.5rem;
}

.artifact-note {
  margin-top: 0.7rem;
  color: #66655f;
  font-size: 0.67rem;
  line-height: 1.4;
  text-align: right;
}

.hero__foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-light);
  color: #77766f;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__foot > span:last-child {
  display: none;
}

.hero__foot-rule {
  height: 1px;
  overflow: hidden;
  background: var(--line-light);
}

.hero__foot-rule i {
  display: block;
  width: 22%;
  height: 100%;
  background: var(--paper);
  animation: foot-line 5s var(--ease-in-out) infinite alternate;
}

@keyframes signal-trace {
  from { transform: translateY(0); }
  to { transform: translateY(330%); }
}

@keyframes foot-line {
  from { transform: translateX(-100%); }
  to { transform: translateX(550%); }
}

/* Shared section treatment */
.paper-section {
  background: var(--paper);
  color: var(--ink);
}

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

.section-rule {
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
  color: #706f68;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-rule span:last-child {
  text-align: right;
}

.section-rule--dark {
  border-top-color: var(--line-light);
  color: #77766f;
}

/* Threshold */
.threshold {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.threshold__intro {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.threshold__intro h2,
.boundary__intro h2,
.principles__head h2,
.control__intro h2,
.entry__head h2,
.evidence__head h2,
.closing h2 {
  max-width: 12ch;
  margin-top: 1.4rem;
  font-size: clamp(2.8rem, 8.5vw, 6.5rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.97;
}

.threshold__lede {
  max-width: 45rem;
  margin-top: 2.1rem;
  display: grid;
  gap: 1rem;
  color: #5f5e58;
  font-size: clamp(1rem, 3.6vw, 1.24rem);
  line-height: 1.55;
}

.threshold__contrast {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.threshold__contrast article {
  min-height: 14rem;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-dark);
}

.threshold__contrast h3 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  font-weight: 520;
  letter-spacing: -0.052em;
  line-height: 1;
}

.contrast-id {
  color: #74736c;
  font-size: 0.61rem;
  letter-spacing: 0.11em;
}

.contrast-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  color: #75746d;
  font-size: 0.72rem;
}

.contrast-foot strong {
  color: currentColor;
  font-size: 0.9rem;
  font-weight: 600;
}

.contrast-card--dark {
  background: var(--ink);
  color: var(--paper);
}

.contrast-card--dark .contrast-foot {
  border-color: var(--line-light);
}

.contrast-card--dark .contrast-foot strong {
  color: var(--paper);
}

.contrast-arrow {
  position: relative;
  z-index: 2;
  width: 5.5rem;
  height: 5.5rem;
  margin: -1px auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--ink);
}

.contrast-arrow span {
  position: absolute;
  top: 0.45rem;
  color: #74736c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contrast-arrow i {
  display: block;
  margin-top: 0.7rem;
  font-size: 1.55rem;
  font-style: normal;
  transform: rotate(90deg);
}

.threshold__question {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.threshold__question blockquote {
  max-width: 14ch;
  margin-top: 1.4rem;
  font-size: clamp(2.5rem, 8vw, 5.6rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

.threshold__question em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: #aaa89f;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.1em;
}

.risk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line-dark);
}

.risk-grid article {
  min-height: 10rem;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  align-content: start;
  column-gap: 1rem;
  border-bottom: 1px solid var(--line-dark);
}

.risk-grid article > span {
  grid-row: 1 / span 2;
  color: #7d7b74;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
}

.risk-grid h3 {
  font-size: 1.35rem;
  font-weight: 570;
  letter-spacing: -0.035em;
}

.risk-grid p {
  max-width: 28rem;
  margin-top: 0.85rem;
  color: #686760;
  line-height: 1.55;
}

/* Four-plane system */
.boundary {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: clip;
}

.boundary__intro {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.boundary__intro h2,
.control__intro h2,
.evidence__head h2 {
  color: var(--paper);
}

.boundary__intro h2 span,
.control__intro h2 span,
.evidence__head h2 span {
  color: #8b897f;
}

.boundary__intro > p:last-child {
  max-width: 36rem;
  margin-top: 2rem;
  color: #9a9891;
  font-size: clamp(1rem, 3.8vw, 1.18rem);
  line-height: 1.55;
}

.system-story {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.system-story__visual {
  position: sticky;
  z-index: 3;
  top: calc(var(--nav-h) + 0.75rem);
  min-height: 24.5rem;
  display: flex;
  align-items: flex-start;
  pointer-events: none;
}

.system-console {
  width: 100%;
  max-width: 32rem;
  border: 1px solid rgba(241, 239, 232, 0.2);
  background: rgba(17, 17, 15, 0.97);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.45);
  color: #aaa8a1;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.system-console__head,
.system-console__request,
.system-console__receipt {
  padding: 0.75rem 0.85rem;
}

.system-console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line-light);
  color: #77766f;
}

.console-state b {
  color: #aaa8a1;
  font-size: inherit;
  font-weight: 500;
}

.system-console__request {
  display: grid;
  gap: 0.2rem;
  border-bottom: 1px solid var(--line-light);
}

.system-console__request span,
.system-console__request small {
  color: #83817a;
}

.system-console__request strong {
  color: var(--paper);
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.035em;
}

.plane-track {
  position: relative;
  list-style: none;
  padding: 0.6rem 0.85rem;
}

.plane-track::before,
.plane-track::after {
  position: absolute;
  z-index: 0;
  top: 2.2rem;
  bottom: 2.2rem;
  left: 1.72rem;
  width: 1px;
  content: "";
}

.plane-track::before {
  background: rgba(241, 239, 232, 0.16);
}

.plane-track::after {
  height: auto;
  background: var(--record);
  transform: scaleY(var(--system-progress));
  transform-origin: top;
  transition: transform 620ms var(--ease-out);
}

.plane-track li {
  position: relative;
  z-index: 1;
  min-height: 3.5rem;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  color: #8a887f;
  transition: color 320ms ease, opacity 320ms ease;
}

.plane-track li > i {
  width: 1.75rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #5b5a54;
  border-radius: 50%;
  background: var(--ink-2);
  font-style: normal;
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.plane-track li > i span {
  font-size: 0.5rem;
}

.plane-track li div {
  display: grid;
  gap: 0.05rem;
}

.plane-track li b {
  font-size: 0.62rem;
  font-weight: 500;
}

.plane-track li small {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.plane-track li em {
  font-size: 0.5rem;
  font-style: normal;
  text-align: right;
}

.plane-track li.is-complete,
.plane-track li.is-current {
  color: #b9b7af;
}

.plane-track li.is-complete > i {
  border-color: #8f8d86;
  background: #8f8d86;
  color: var(--ink);
}

.plane-track li.is-current > i {
  border-color: var(--record);
  background: var(--record);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(154, 185, 154, 0.12);
}

.system-console__receipt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  border-top: 1px solid var(--line-light);
}

.system-console__receipt > span:first-child {
  color: #6a6963;
}

.system-console__receipt strong {
  color: var(--ok);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.receipt-hash {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #72716b;
}

.system-story__chapters {
  position: relative;
  z-index: 2;
}

.plane-chapter {
  min-height: 40svh;
  padding: 2.5rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--line-light);
  opacity: 0.42;
  transition: opacity 420ms ease;
}

.plane-chapter.is-active {
  opacity: 1;
}

.plane-chapter__meta,
.plane-chapter__truth {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #72716a;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.plane-chapter h3 {
  max-width: 14ch;
  margin-top: 1.1rem;
  color: var(--paper);
  font-size: clamp(2rem, 8vw, 4.2rem);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.plane-chapter > p {
  max-width: 35rem;
  margin-top: 1.2rem;
  color: #99978f;
  font-size: 0.95rem;
  line-height: 1.55;
}

.plane-chapter__truth {
  margin-top: 1.7rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-light);
}

.plane-chapter__truth span:last-child {
  color: #9d9b94;
  text-align: right;
}

/* Before/during/after */
.principles {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.principles__head {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.principles__head h2 {
  max-width: 10ch;
}

.principle-grid {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.principle-card {
  min-height: 25rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.principle-card__top {
  display: flex;
  justify-content: space-between;
  color: #75746d;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.principle-card h3 {
  max-width: 12ch;
  margin-top: 1.9rem;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.principle-card > p {
  max-width: 29rem;
  margin-top: 1rem;
  color: #65645e;
  line-height: 1.55;
}

.decision-mini,
.scope-mini,
.proof-mini {
  min-height: 11rem;
  margin-top: auto;
  border: 1px solid var(--line-dark);
  background: var(--paper-2);
  color: #55544f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.decision-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.decision-mini div {
  padding: 0.75rem;
  display: grid;
  gap: 0.2rem;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.decision-mini div:nth-child(even) {
  border-right: 0;
}

.decision-mini div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.decision-mini span {
  color: #85837c;
  text-transform: uppercase;
}

.decision-mini b {
  color: #292925;
  font-weight: 500;
}

.decision-mini__result b {
  color: var(--record-ink);
}

.scope-mini {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.scope-mini__ring {
  width: 5rem;
  flex: 0 0 5rem;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 1px solid #8b8982;
  border-radius: 50%;
  text-align: center;
  /* Paper core over a conic dial: the grant's remaining TTL reads as an outer
     ring, keeping the 47s / TTL text on a light ground. */
  background:
    radial-gradient(closest-side, var(--paper-2) calc(100% - 0.5rem), transparent calc(100% - 0.5rem + 1px)),
    conic-gradient(var(--record-ink) 72%, #cbc8bd 72%);
}

.scope-mini__ring span {
  color: #2b2b27;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.scope-mini__ring small {
  color: #77766f;
  font-size: 0.5rem;
}

.scope-mini__copy {
  display: grid;
  gap: 0.25rem;
}

.scope-mini__copy > span,
.scope-mini__copy small {
  color: #77766f;
}

.scope-mini__copy strong {
  color: #292925;
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 580;
  letter-spacing: -0.03em;
}

.proof-mini {
  padding: 0.7rem;
  display: grid;
  align-content: center;
}

.proof-mini > span {
  min-height: 2.55rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line-dark);
}

.proof-mini > span:last-child {
  border-bottom: 0;
}

.proof-mini i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #6f8968;
}

.proof-mini span span {
  color: #88867f;
}

/* Product */
.control {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.control__intro {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: 2rem;
}

.control__intro > p {
  max-width: 34rem;
  color: #96948d;
  font-size: clamp(1rem, 3.7vw, 1.2rem);
  line-height: 1.55;
}

.product-frame {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.product-frame__label {
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #77766f;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
}

.product-frame__label span:last-child {
  text-align: right;
}

.product-shell {
  display: grid;
  border: 1px solid rgba(241, 239, 232, 0.22);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2.5rem 8rem rgba(0, 0, 0, 0.5);
}

.product-rail {
  display: none;
  min-height: 42rem;
  padding: 1.4rem 1.1rem;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
}

.product-rail > img {
  width: 5rem;
  height: auto;
}

.product-rail__sub {
  margin-top: 0.25rem;
  color: #77766f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.13em;
}

.product-rail nav {
  margin-top: 2rem;
  display: grid;
  gap: 0.35rem;
}

.product-rail nav > span {
  min-height: 2.9rem;
  padding: 0.7rem 0.75rem;
  display: grid;
  grid-template-columns: 1.2rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  color: #9a9891;
  font-size: 0.76rem;
}

.product-rail nav > span.is-selected {
  border-color: rgba(241, 239, 232, 0.12);
  background: var(--paper);
  color: var(--ink);
}

.product-rail nav i {
  font-style: normal;
}

.product-rail nav b {
  min-width: 1.25rem;
  padding: 0.12rem 0.3rem;
  border: 1px solid rgba(241, 239, 232, 0.28);
  border-radius: 2px;
  background: transparent;
  color: #b8b6ae;
  font-size: 0.57rem;
  text-align: center;
}

.product-rail__trust {
  margin-top: auto;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(241, 239, 232, 0.13);
  color: #b1afa7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.09em;
}

.product-rail__trust i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ok);
}

.product-rail__trust small {
  color: #686760;
  font-size: 0.48rem;
}

.product-main {
  min-width: 0;
  padding: 1rem;
}

.product-topbar {
  min-height: 4.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line-dark-soft);
}

.product-topbar > div > span,
.attention-card span,
.product-section-head,
.spend-card > span,
.activity-card > span {
  color: #77766f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-topbar h3 {
  margin-top: 0.15rem;
  font-size: clamp(1.25rem, 5vw, 1.8rem);
  font-weight: 590;
  letter-spacing: -0.04em;
}

.product-topbar > a {
  min-height: 2.55rem;
  padding: 0.65rem 0.75rem;
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.65rem;
}

.product-topbar > a b {
  margin-left: 0.35rem;
  color: var(--warn);
}

.attention-card {
  margin-top: 1rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  border: 1px solid var(--line-dark);
  border-left: 2px solid #8a6a2e;
  background: var(--white);
}

.attention-card__icon {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  background: #8a6a2e;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 650;
}

.attention-card > div > span {
  color: #6b5224;
}

.attention-card h4 {
  margin-top: 0.25rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 5vw, 1.75rem);
  font-weight: 590;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.attention-card p {
  margin-top: 0.35rem;
  color: #73716a;
  font-size: 0.72rem;
}

.attention-card__cta {
  width: fit-content;
  margin-top: 0.6rem;
  padding: 0.45rem 0.7rem;
  display: inline-flex;
  background: var(--ink);
  color: var(--paper);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.attention-card__aside {
  display: none;
  min-width: 7.5rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line-dark);
  align-content: center;
  gap: 0.3rem;
  color: #73716a;
}

.attention-card__aside span {
  font-size: 0.48rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #77766f;
}

.attention-card__aside strong {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 590;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Live lead — system in action (replaces the burden-first attention card) */
.lead-card {
  margin-top: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
  border: 1px solid var(--line-dark);
  background: var(--white);
}

.lead-card__main {
  min-width: 0;
}

.lead-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #77766f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead-card h4 {
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 5vw, 1.75rem);
  font-weight: 590;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.lead-feed {
  margin-top: 0.85rem;
  padding: 0;
  list-style: none;
}

.lead-feed li {
  min-height: 2.6rem;
  padding: 0.28rem 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  border-top: 1px solid var(--line-dark-soft);
  color: #3e3d38;
  font-size: 0.64rem;
}

.lead-feed li > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.lead-feed li small {
  flex: 0 0 auto;
  color: #85837c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lead-card__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-dark);
}

.lead-card__loop {
  display: grid;
  gap: 0.2rem;
}

.lead-card__loop span {
  color: #77766f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.48rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead-card__loop strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 590;
  letter-spacing: -0.02em;
}

.lead-card__approvals {
  margin-left: auto;
  padding: 0.42rem 0.65rem;
  border: 1px solid var(--line-dark);
  color: #3e3d38;
  font-size: 0.62rem;
  letter-spacing: -0.01em;
}

.product-summary {
  margin-top: 0.55rem;
  padding: 0.7rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  border: 1px solid var(--line-dark);
  background: var(--white);
  color: #3e3d38;
  font-size: 0.62rem;
}

.product-summary > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-summary b {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-summary__sep {
  color: #b8b6ae;
}

.product-section-head {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-section-head a {
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0;
  text-decoration: underline;
  text-transform: none;
}

.fleet-grid {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.fleet-grid article {
  min-width: 0;
  min-height: 7.5rem;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  background: var(--white);
}

.fleet-grid article > span {
  min-height: 1.8rem;
  color: #77766f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.07em;
}

.fleet-grid strong {
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1;
}

.fleet-grid small {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #73716a;
  font-size: 0.55rem;
  line-height: 1.25;
}

.status-dot {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  border-radius: 50%;
}

.status-dot--ok { background: var(--ok); }
.status-dot--warn { background: var(--warn); }
.status-dot--stop { background: var(--stop); }

.product-lower {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.55rem;
}

.spend-card,
.activity-card {
  min-height: 12rem;
  padding: 0.9rem;
  border: 1px solid var(--line-dark);
  background: var(--white);
}

.spend-card h4,
.activity-card h4 {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.spend-total {
  margin-top: 1.4rem;
  display: flex;
  align-items: end;
  gap: 0.45rem;
}

.spend-total strong {
  font-size: 1.75rem;
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1;
}

.spend-total span {
  color: #77766f;
  font-size: 0.65rem;
}

.spend-bar {
  height: 0.45rem;
  margin-top: 0.8rem;
  background: #dedbd2;
}

.spend-bar i {
  display: block;
  width: 23%;
  height: 100%;
  background: #637b5f;
}

.spend-card > small {
  display: block;
  margin-top: 0.5rem;
  color: #7a7972;
  font-size: 0.55rem;
}

/* Full-width budgets row: the record feed now lives in the lead, so budgets
   spans the lower region on its own with a content-sized height. */
.spend-card.spend-card--wide {
  min-height: 0;
}

.activity-card ul {
  margin-top: 0.7rem;
  list-style: none;
  padding: 0;
}

.activity-card li {
  min-height: 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
  border-top: 1px solid var(--line-dark-soft);
  color: #3e3d38;
  font-size: 0.64rem;
}

.activity-card li > i {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--ok);
}

.activity-card li span {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.activity-card li small {
  color: #85837c;
  white-space: nowrap;
}

.product-proof {
  min-height: 3.3rem;
  margin-top: 0.55rem;
  padding: 0.75rem 0.9rem;
  display: grid;
  gap: 0.25rem;
  align-items: center;
  border: 1px solid #91aa8c;
  background: #e9eee5;
  font-size: 0.62rem;
}

.product-proof > span {
  color: #5d7459;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.07em;
}

.product-proof > span:first-child {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.product-proof i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #5f7e5a;
}

.product-proof strong {
  font-weight: 570;
}

/* Entry */
.entry {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.entry__head {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.entry__head h2 {
  max-width: 13ch;
}

.entry__head > p:last-child {
  max-width: 39rem;
  margin-top: 2rem;
  color: #62615b;
  font-size: clamp(1rem, 3.8vw, 1.2rem);
  line-height: 1.55;
}

.entry-steps {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  list-style: none;
}

.entry-steps li {
  min-height: 6.5rem;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
  border-top: 1px solid var(--line-dark);
}

.entry-steps > li:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.entry-steps > li > span {
  color: #74736c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
}

.entry-steps h3 {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1;
}

.entry-steps p {
  max-width: 32rem;
  margin-top: 0.7rem;
  color: #6a6963;
  line-height: 1.5;
}

.entry-moments {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.entry-moments > span {
  color: #73716a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.entry-moments ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
}

.entry-moments li {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-dark);
  font-size: 0.72rem;
}

/* Evidence */
.evidence {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.evidence__head {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.evidence__head h2 {
  max-width: 12ch;
}

.evidence__head > p:last-child {
  max-width: 39rem;
  margin-top: 2rem;
  color: #96948d;
  font-size: clamp(1rem, 3.8vw, 1.2rem);
  line-height: 1.55;
}

.evidence-grid {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.evidence-test,
.truth-list {
  background: var(--ink-2);
}

.evidence-test {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.evidence-test__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #77766f;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

.evidence-test__top .test-state {
  color: #a6a49c;
  text-align: right;
}

.evidence-test h3 {
  max-width: 12ch;
  margin-top: clamp(2rem, 6vw, 3.5rem);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.evidence-test ul {
  margin-top: 2rem;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.evidence-test li {
  min-height: 3.7rem;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line-light);
}

.evidence-test li > span,
.evidence-test li > em {
  color: #77766f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.54rem;
  font-style: normal;
  letter-spacing: 0.07em;
}

.evidence-test li strong {
  font-size: 0.86rem;
  font-weight: 560;
}

.evidence-test > p {
  margin-top: 1rem;
  color: #77766f;
  font-size: 0.7rem;
}

.truth-list article {
  min-height: 11.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line-light);
}

.truth-list article:last-child {
  border-bottom: 0;
}

.truth-list article > span {
  color: #77766f;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
}

.truth-list h3 {
  margin-top: auto;
  color: var(--paper);
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1;
}

.truth-list p {
  max-width: 31rem;
  margin-top: 0.65rem;
  color: #8e8c85;
  line-height: 1.5;
}

/* Closing and footer */
.closing {
  position: relative;
  min-height: 66svh;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  display: flex;
  align-items: center;
  overflow: clip;
}

.closing::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-dark-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-dark-soft) 1px, transparent 1px);
  background-size: clamp(3.5rem, 8vw, 7rem) clamp(3.5rem, 8vw, 7rem);
  mask-image: radial-gradient(circle at 80% 50%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 80% 50%, #000, transparent 70%);
  content: "";
  pointer-events: none;
}

.closing__inner {
  position: relative;
  z-index: 1;
}

.closing__meta {
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding: 0.9rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: #73716a;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
}

.closing__meta span:last-child {
  max-width: 18rem;
  text-align: right;
}

.closing h2 {
  max-width: 10ch;
}

.closing h2 span {
  color: #7d7b74;
}

.closing__inner > p:not(.eyebrow) {
  max-width: 36rem;
  margin-top: 2rem;
  color: #63625c;
  font-size: clamp(1rem, 3.8vw, 1.18rem);
  line-height: 1.55;
}

.closing__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.closing__actions .button {
  flex: 1 1 12rem;
}

.footer {
  padding-top: clamp(3.5rem, 7vw, 5rem);
  background: var(--ink);
  color: var(--paper);
}

.footer__top {
  display: grid;
  gap: 2rem;
}

.footer__brand img {
  width: clamp(8rem, 28vw, 15rem);
  height: auto;
}

.footer__line {
  max-width: 22ch;
  color: #8f8d86;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

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

.footer__links > div {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.footer__links span {
  margin-bottom: 0.4rem;
  color: #65645e;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.footer__links a {
  color: #aaa8a1;
  font-size: 0.8rem;
}

.footer__bottom {
  margin-top: 3rem;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-light);
  color: #66655f;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer__bottom > span:nth-child(2) {
  display: none;
  text-align: center;
}

/* View-triggered motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(0.9rem);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}

.js [data-reveal="scale"] {
  transform: translateY(1rem) scale(0.985);
}

.js [data-reveal="mask"] {
  clip-path: inset(0 0 100% 0);
  opacity: 1;
  transform: translateY(0.85rem);
  transition:
    clip-path 780ms var(--ease-out),
    transform 780ms var(--ease-out);
}

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

/* Settle with a negative bottom inset: the 0.88 line-height box is tighter
   than the glyphs, so clipping exactly at the box cuts descenders (g, y, p). */
.js [data-reveal="mask"].is-visible {
  clip-path: inset(0 0 -12% 0);
}

.hero__copy > * {
  animation: hero-enter 900ms var(--ease-out) both;
}

.hero__copy > :nth-child(1) { animation-delay: 120ms; }
.hero__copy > :nth-child(2) { animation-delay: 190ms; }
.hero__copy > :nth-child(3) { animation-delay: 270ms; }
.hero__copy > :nth-child(4) { animation-delay: 350ms; }
.hero__copy > :nth-child(5) { animation-delay: 410ms; }

.hero__artifact {
  animation: artifact-enter 950ms var(--ease-out) 420ms both;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes artifact-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Tablet */
@media (min-width: 44rem) {
  .hero__meta {
    grid-template-columns: 1fr auto 1fr;
  }

  .hero__meta-center {
    display: inline;
    text-align: center;
  }

  .hero__meta > :last-child {
    text-align: right;
    justify-self: end;
  }

  .hero__actions .button,
  .closing__actions .button {
    flex: 0 0 auto;
  }

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

  .hero__foot > span:last-child {
    display: inline;
    text-align: right;
  }

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

  .threshold__contrast {
    grid-template-columns: minmax(0, 1fr) 5.5rem minmax(0, 1fr);
    align-items: center;
  }

  .contrast-arrow {
    margin: 0 -1px;
  }

  .contrast-arrow i {
    transform: none;
  }

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

  .risk-grid article {
    min-height: 13rem;
    padding: 1.6rem;
    grid-template-columns: 1fr;
    border-right: 1px solid var(--line-dark);
  }

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

  .risk-grid article > span {
    grid-row: auto;
  }

  .risk-grid h3 {
    margin-top: auto;
  }

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

  .principle-card {
    min-height: 28rem;
  }

  .product-main {
    padding: 1.5rem;
  }

  .attention-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .attention-card__aside {
    display: grid;
  }

  .fleet-grid {
    gap: 0.65rem;
  }

  .fleet-grid article {
    min-height: 9rem;
    padding: 1rem;
  }

  .fleet-grid article > span {
    font-size: 0.5rem;
  }

  .fleet-grid small {
    font-size: 0.58rem;
  }

  .lead-card {
    grid-template-columns: minmax(0, 1fr) minmax(8.5rem, auto);
    gap: 1.4rem;
  }

  .lead-card__aside {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.15rem 0 0.15rem 1.25rem;
    border-top: none;
    border-left: 1px solid var(--line-dark);
  }

  .lead-card__approvals {
    margin-left: 0;
  }

  .product-proof {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .entry-steps li {
    grid-template-columns: 3rem minmax(12rem, 0.8fr) minmax(0, 1fr);
    align-items: center;
  }

  .entry-steps li div {
    grid-column: 2 / span 2;
    display: grid;
    grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
  }

  .entry-steps p {
    margin-top: 0;
  }

  .entry-moments {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

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

  .footer__brand,
  .footer__line {
    grid-column: 1;
  }

  .footer__links {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .footer__bottom > span:nth-child(2) {
    display: inline;
  }
}

/* Desktop */
@media (min-width: 62rem) {
  :root {
    --nav-h: 5rem;
  }

  .site-nav__brand img {
    width: 6.5rem;
  }

  .site-nav__links {
    display: flex;
  }

  .site-nav__actions .button--compact {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  body.menu-open {
    overflow: auto;
  }

  .hero__content {
    grid-template-columns: minmax(0, 1.08fr) minmax(28rem, 0.92fr);
    gap: clamp(3rem, 6vw, 7rem);
  }

  .hero h1 {
    font-size: clamp(5.7rem, 8.3vw, 9.2rem);
  }

  .hero__artifact {
    transform: rotate(0.8deg);
  }

  .action-file__top,
  .action-file__request,
  .action-file__intent,
  .action-file__trace,
  .action-file__seal {
    padding: 1rem 1.1rem;
  }

  .action-file__intent {
    min-height: 9rem;
  }

  .action-file__checks div {
    min-height: 4.1rem;
    padding: 0.9rem 1.1rem;
  }

  .threshold__intro,
  .boundary__intro,
  .principles__head,
  .entry__head,
  .evidence__head {
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
    column-gap: 3rem;
  }

  .threshold__intro .eyebrow,
  .boundary__intro .eyebrow,
  .principles__head .eyebrow,
  .entry__head .eyebrow,
  .evidence__head .eyebrow {
    align-self: start;
  }

  .threshold__intro h2,
  .boundary__intro h2,
  .principles__head h2,
  .entry__head h2,
  .evidence__head h2 {
    grid-column: 2;
    margin-top: 0;
  }

  .threshold__lede,
  .boundary__intro > p:last-child,
  .entry__head > p:last-child,
  .evidence__head > p:last-child {
    grid-column: 2;
  }

  .threshold__question {
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
    column-gap: 3rem;
  }

  .threshold__question blockquote {
    grid-column: 2;
    margin-top: 0;
  }

  .system-story {
    display: grid;
    grid-template-columns: minmax(24rem, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(4rem, 8vw, 9rem);
  }

  .system-story__visual {
    top: calc(var(--nav-h) + 2rem);
    height: calc(100svh - var(--nav-h) - 4rem);
    align-items: center;
  }

  .system-console {
    max-width: none;
  }

  .system-console__head,
  .system-console__request,
  .system-console__receipt {
    padding: 0.95rem 1.1rem;
  }

  .plane-track {
    padding: 0.9rem 1.1rem;
  }

  .plane-track::before,
  .plane-track::after {
    top: 2.75rem;
    bottom: 2.75rem;
    left: 2.07rem;
  }

  .plane-track::after {
    height: auto;
  }

  .plane-track li {
    min-height: 4.3rem;
    grid-template-columns: 1.95rem minmax(0, 1fr) auto;
  }

  .plane-track li > i {
    width: 1.95rem;
  }

  .plane-chapter {
    min-height: 52svh;
    padding-block: 3.5rem 2rem;
    justify-content: center;
  }

  .plane-chapter h3 {
    font-size: clamp(3rem, 4.6vw, 4.6rem);
  }

  .control__intro {
    grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 0.5fr);
    align-items: end;
    gap: 4rem;
  }

  .product-shell {
    grid-template-columns: 13.5rem minmax(0, 1fr);
  }

  .product-rail {
    display: flex;
  }

  .product-main {
    padding: 2rem;
  }

  .evidence-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
  }

  .evidence-test {
    min-height: 34rem;
  }

  .truth-list article {
    min-height: 13rem;
  }

  .footer__top {
    grid-template-columns: 0.9fr 0.8fr 1fr;
    align-items: start;
  }

  .footer__brand,
  .footer__line,
  .footer__links {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (min-width: 78rem) {
  .product-shell {
    grid-template-columns: 15rem minmax(0, 1fr);
  }

  .product-main {
    padding: 2.3rem;
  }

  .fleet-grid article {
    min-height: 10rem;
    padding: 1.2rem;
  }

  .product-lower {
    gap: 0.75rem;
  }

  .spend-card,
  .activity-card {
    min-height: 13.5rem;
    padding: 1.1rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover > span {
    transform: translate(0.14rem, -0.08rem);
  }

  .button--light:hover {
    background: var(--white);
  }

  .button--outline:hover {
    border-color: rgba(241, 239, 232, 0.65);
    background: rgba(241, 239, 232, 0.05);
  }

  .button--dark:hover {
    background: #24241f;
  }

  .button--paper-outline:hover {
    border-color: var(--ink);
    background: rgba(10, 10, 9, 0.04);
  }

  .site-nav__links a:hover,
  .nav-contact:hover,
  .footer__links a:hover {
    color: var(--paper);
  }

  .entry-moments li:hover {
    background: var(--ink);
    color: var(--paper);
  }
}

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

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

  .js [data-reveal],
  .js [data-reveal="scale"],
  .js [data-reveal="mask"] {
    clip-path: none;
    opacity: 1;
    transform: none;
  }
}

.page-hidden .hero__signal span,
.page-hidden .hero__foot-rule i,
.hero-out .hero__signal span,
.hero-out .hero__foot-rule i {
  animation-play-state: paused;
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav.is-scrolled,
  .site-nav.is-open,
  .site-nav--solid,
  .mobile-nav,
  .system-console,
  .action-file {
    background: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line-light: rgba(255, 255, 255, 0.38);
    --line-dark: rgba(0, 0, 0, 0.42);
  }

  .hero__lede,
  .boundary__intro > p:last-child,
  .plane-chapter > p,
  .control__intro > p,
  .evidence__head > p:last-child {
    color: #d3d1ca;
  }
}

/* =====================================================================
   For organizations — offering pages (/organizations/*) + nav additions.
   Self-contained block: components first, then its own responsive,
   hover, and accessibility rules. Nothing above this line changes.
   ===================================================================== */

/* Desktop nav dropdown ("For organizations") */
.nav-group {
  position: relative;
}

.nav-group > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-group > a::after {
  width: 0.3rem;
  height: 0.3rem;
  margin-top: -0.2rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
  content: "";
}

.nav-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  min-width: 16rem;
  padding: 0.35rem;
  border: 1px solid var(--line-light);
  background: rgba(10, 10, 9, 0.96);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -0.35rem);
  transition:
    opacity 180ms ease,
    transform 240ms var(--ease-out),
    visibility 0s linear 240ms;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s, 0s, 0s;
}

.nav-group:hover > a::after,
.nav-group:focus-within > a::after {
  margin-top: 0.2rem;
  transform: rotate(225deg);
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 0.95rem;
  border-bottom: 1px solid var(--line-soft);
  color: rgba(241, 239, 232, 0.7);
  font-size: 0.8rem;
  font-weight: 550;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.nav-menu a:last-child {
  border-bottom: 0;
}

.nav-menu a span {
  width: 1.4rem;
  color: #76756e;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.site-nav__links a[aria-current="page"],
.nav-menu a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--paper);
}

/* More rows than the original four-anchor panel: let small phones scroll. */
.mobile-nav {
  overflow-y: auto;
}

/* Collapsible "For organizations" group in the mobile panel */
.mobile-nav summary {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(1.55rem, 7vw, 2.25rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary > span {
  width: 1.5rem;
  color: #76756e;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.mobile-nav summary::after {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  border-right: 1px solid #76756e;
  border-bottom: 1px solid #76756e;
  transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
  content: "";
}

.mobile-nav details[open] > summary::after {
  transform: rotate(225deg);
}

.mobile-nav details > div {
  display: grid;
  padding-left: 2.5rem;
}

.mobile-nav details > div a {
  min-height: 3.4rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  letter-spacing: -0.025em;
}

.mobile-nav details > div a:last-child {
  border-bottom: 1px solid var(--line-light);
}

/* Org-page hero: same stage as the home hero, shorter, single column. */
.hero--org {
  min-height: min(72svh, 46rem);
}

.hero--org h1 {
  max-width: 26ch;
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero--org .hero__lede {
  max-width: 38rem;
}

.org-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.6rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid var(--line-light);
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.org-switch > span {
  margin-right: 0.4rem;
}

.org-switch a {
  padding-block: 0.35rem;
  border-bottom: 1px solid transparent;
  color: #8a887f;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.org-switch a[aria-current="page"] {
  border-bottom-color: var(--paper);
  color: var(--paper);
}

/* Org-page section shell and heads */
.org-section {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.org-head {
  padding-top: clamp(2.2rem, 5vw, 3.5rem);
}

.org-head h2 {
  max-width: 15ch;
  margin-top: 1.4rem;
  font-size: clamp(2.3rem, 7.5vw, 4.9rem);
  font-weight: 560;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.org-head h2 span {
  color: #7d7b74;
}

.ink-section .org-head h2 span {
  color: #8b897f;
}

.org-head__lede {
  max-width: 41rem;
  margin-top: 1.9rem;
  color: #62615b;
  font-size: clamp(1rem, 3.8vw, 1.2rem);
  line-height: 1.55;
}

.ink-section .org-head__lede {
  color: #96948d;
}

/* The offering: platform + practice cards (paper sections) */
.org-offer {
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.org-offer article {
  padding: clamp(1.25rem, 4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.org-offer article > span {
  color: #74736c;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.org-offer h3 {
  max-width: 16ch;
  margin-top: clamp(1.4rem, 4vw, 2.4rem);
  font-size: clamp(1.65rem, 5.5vw, 2.5rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1;
}

.org-offer article > p {
  max-width: 33rem;
  margin-top: 0.95rem;
  color: #62615b;
  line-height: 1.55;
}

.org-offer ul {
  margin-top: auto;
  padding: 1.5rem 0 0;
  list-style: none;
}

.org-offer li {
  padding: 0.85rem 0;
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  column-gap: 0.75rem;
  border-top: 1px solid var(--line-dark);
}

.org-offer li > span {
  padding-top: 0.2rem;
  color: #74736c;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.6rem;
}

.org-offer li strong {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.org-offer li small {
  display: block;
  margin-top: 0.3rem;
  color: #6a6963;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* The four controls (ink sections) */
.org-controls {
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.org-controls article {
  min-height: 10.5rem;
  padding: clamp(1.15rem, 3.5vw, 1.6rem);
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
}

.org-controls article > span {
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.org-controls h3 {
  margin-top: auto;
  color: var(--paper);
  font-size: clamp(1.45rem, 5.5vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1;
}

.org-controls p {
  margin-top: 0.55rem;
  color: #8e8c85;
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Two adoption paths + works-with strip (ink sections) */
.org-paths {
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.org-paths article {
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
}

.org-paths article > span {
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.org-paths h3 {
  max-width: 14ch;
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--paper);
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1;
}

.org-paths article > p {
  max-width: 30rem;
  margin-top: 0.9rem;
  color: #8e8c85;
  line-height: 1.55;
}

.org-paths ol {
  margin-top: auto;
  padding: 1.6rem 0 0;
  list-style: none;
  counter-reset: orgpath;
}

.org-paths ol li {
  min-height: 3.2rem;
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  align-items: center;
  column-gap: 0.6rem;
  border-top: 1px solid var(--line-light);
  color: #cfcdc5;
  font-size: 0.86rem;
  font-weight: 550;
  counter-increment: orgpath;
}

.org-paths ol li::before {
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  content: "0" counter(orgpath);
}

.org-stack-note {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.org-stack-note > span {
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.org-stack-note ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.org-stack-note li {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-light);
  color: #a6a49c;
  font-size: 0.72rem;
}

/* Vertical-specific points (paper sections) */
.org-points {
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.org-points article {
  min-height: 10rem;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  align-content: start;
  column-gap: 1rem;
  border-bottom: 1px solid var(--line-dark);
}

.org-points article > span {
  grid-row: 1 / span 2;
  color: #7d7b74;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.65rem;
}

.org-points h3 {
  font-size: clamp(1.3rem, 4.5vw, 1.6rem);
  font-weight: 570;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.org-points p {
  max-width: 30rem;
  margin-top: 0.8rem;
  color: #686760;
  line-height: 1.55;
}

/* Honest fine print (closing sections, paper) */
.org-fineprint {
  max-width: 52rem;
  margin-top: clamp(2.4rem, 6vw, 3.6rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
  color: #6f6e67;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.02em;
  line-height: 1.75;
}

/* Home-page index rows pointing at the three offering pages */
.org-index {
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
  border-top: 1px solid var(--line-dark);
}

.org-index a {
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 1rem;
  border-bottom: 1px solid var(--line-dark);
}

.org-index a > span:first-child {
  color: #74736c;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.62rem;
}

.org-index h3 {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1;
}

.org-index p {
  grid-column: 2;
  max-width: 34rem;
  margin-top: 0.55rem;
  color: #6a6963;
  line-height: 1.5;
}

.org-index__arrow {
  grid-row: 1;
  grid-column: 3;
  font-size: 1.1rem;
  transition: transform 180ms var(--ease-out);
}

@media (min-width: 44rem) {
  .org-offer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .org-points article {
    min-height: 12rem;
    padding: 1.6rem;
    grid-template-columns: 1fr;
  }

  .org-points article:nth-child(odd) {
    border-right: 1px solid var(--line-dark);
  }

  .org-points article > span {
    grid-row: auto;
  }

  .org-points h3 {
    margin-top: auto;
  }

  .org-stack-note {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer__links--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .footer__links--three > div:first-child {
    grid-column: auto;
  }
}

@media (min-width: 62rem) {
  /* Full-bar hit and hover area: clicking just above/below a nav word works.
     Direct children only — the dropdown panel's links must not inherit this.
     The padding/negative-margin pair widens the target without moving text. */
  .site-nav__links > a,
  .nav-group > a {
    display: inline-flex;
    align-items: center;
    min-height: var(--nav-h);
    padding-inline: 0.45rem;
    margin-inline: -0.45rem;
  }

  .nav-contact {
    min-height: var(--nav-h);
  }

  .hero--org h1 {
    font-size: clamp(3.2rem, 4.5vw, 4.6rem);
  }

  .hero--org .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .org-head {
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
    column-gap: 3rem;
  }

  .org-head .eyebrow {
    align-self: start;
  }

  .org-head h2 {
    grid-column: 2;
    margin-top: 0;
  }

  .org-head__lede {
    grid-column: 2;
  }

  .org-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .org-index a {
    grid-template-columns: 2.5rem minmax(12rem, 0.42fr) minmax(0, 1fr) auto;
  }

  .org-index p {
    grid-column: 3;
    margin-top: 0;
  }

  .org-index__arrow {
    grid-column: 4;
  }
}

@media (hover: hover) and (pointer: fine) {
  .org-switch a:hover,
  .nav-menu a:hover {
    color: var(--paper);
  }

  .nav-menu a:hover {
    background: rgba(241, 239, 232, 0.05);
  }

  .org-index a:hover .org-index__arrow {
    transform: translateX(0.3rem);
  }

  .org-index a:hover h3 {
    text-decoration: underline;
    text-decoration-thickness: 0.045em;
    text-underline-offset: 0.14em;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav-menu {
    background: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .ink-section .org-head__lede,
  .org-paths article > p,
  .org-controls p {
    color: #d3d1ca;
  }
}

/* =====================================================================
   Compact one-pager layout (/organizations/*): the whole page is one
   dark viewport-height composition — no sections, no site footer.
   ===================================================================== */
.op-main {
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.op-core {
  flex: 1;
  display: grid;
  gap: clamp(1.5rem, 3vh, 2.5rem);
  align-content: center;
  padding-block: clamp(1.25rem, 3vh, 2.25rem);
}

.op-core h1 {
  max-width: 24ch;
  font-size: clamp(2.3rem, 7.5vw, 3.5rem);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.op-core h1 span {
  color: #8b897f;
}

.op-kicker {
  margin-bottom: 1.1rem;
  color: #8b8982;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.op-lede {
  max-width: 36rem;
  margin-top: 1.1rem;
  color: #a4a29b;
  font-size: clamp(0.92rem, 2.5vw, 1.02rem);
  line-height: 1.55;
}

.op-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.op-offer {
  border: 1px solid var(--line-light);
  background: var(--ink-2);
}

.op-offer > div {
  padding: clamp(0.85rem, 1.8vh, 1.15rem) clamp(0.95rem, 2vw, 1.25rem);
  display: grid;
  gap: 0.55rem;
  border-bottom: 1px solid var(--line-soft);
}

.op-offer > div:last-child {
  border-bottom: 0;
}

.op-offer > div > span {
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.op-offer strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.op-offer small {
  display: block;
  margin-top: 0.3rem;
  color: #8e8c85;
  font-size: 0.8rem;
  line-height: 1.5;
}

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

/* Mobile single-column stack: read the 01-02-03 offer BEFORE the "How it
   runs" flow. DOM order is hero -> flow -> offer, so push the flow after the
   offer here. Inert at >=62rem, where .op-flow is explicitly grid-placed on
   its own full-width row (order has no effect on explicitly-placed items). */
.op-core .op-flow {
  order: 1;
}

.op-strip__label {
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Example tasks traced through the governed path. Phones stack the stages
   with ↓ arrows; desktop draws a rail from the task list through the three
   stage nodes to a terminal seal, and app.js walks one example at a time
   along it (static complete-trace fallback without JS / with reduced motion). */
.op-flow__grid {
  --flow-gap: clamp(0.9rem, 1.8vw, 1.7rem);
  position: relative;
  display: grid;
  gap: 1rem;
  padding-block: 1rem 1.15rem;
  border-top: 1px solid var(--line-soft);
}

.op-flow__tasks > span,
.op-flow__stage > span {
  display: block;
  color: #9a9992;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.op-flow__tasks ul {
  margin-top: 0.5rem;
  padding-left: 0;
  list-style: none;
}

.op-flow__tasks li {
  border-bottom: 1px solid var(--line-soft);
}

.op-flow__tasks li:last-child {
  border-bottom: 0;
}

.op-flow__tasks button {
  display: flex;
  width: 100%;
  gap: 0.6rem;
  padding: 0.45rem 0;
  background: none;
  text-align: left;
  color: #c9c7bf;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.67rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 160ms var(--ease-out);
}

/* Rows ship disabled and are enabled by app.js once the trace is wired,
   so a broken/absent script leaves no false affordance. */
.op-flow__tasks button:disabled {
  cursor: default;
}

.op-flow__tasks button:not(:disabled):hover {
  color: var(--paper);
}

.op-flow__tasks button > span {
  color: #77766f;
  transition: color 160ms var(--ease-out);
}

/* Selection is neutral brightness; record green stays reserved for
   verified/sealed states on the rail itself. */
.op-flow__tasks li.is-active button,
.op-flow__tasks li.is-active button > span {
  color: var(--paper);
}

.op-flow__hint {
  display: none;
  margin-top: 0.6rem;
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The rail: a line of record from the task list to the sealed proof. */
.op-flow__rail {
  display: none;
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--flow-gap);
  padding-right: 1.25rem;
}

.op-flow__rail::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--flow-gap));
  right: 0;
  top: 5px;
  height: 1px;
  background: var(--line-light);
}

/* Terminal seal: the record locking into place at the end of the path. */
.op-flow__seal {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.op-flow__seal span {
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 200ms var(--ease-out);
}

.op-flow__seal i {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 1px;
  border: 1px solid #77766f;
  background: var(--ink);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.op-flow__rail.is-sealed .op-flow__seal i {
  border-color: var(--record);
  background: var(--record);
}

.op-flow__rail.is-sealed .op-flow__seal span {
  color: var(--paper);
}

/* The path taken is neutral; only locked checks turn record green. */
.op-flow__trace {
  position: absolute;
  left: calc(-1 * var(--flow-gap));
  top: 5px;
  width: calc(100% + var(--flow-gap));
  height: 1px;
  background: var(--paper);
  opacity: 0.3;
  transform-origin: left center;
  transition: transform 600ms linear;
}

/* Connector from the selected task row up into the rail; positioned by app.js. */
.op-flow__branch {
  display: none;
  position: absolute;
  width: 1px;
  background: rgba(241, 239, 232, 0.28);
}

.op-flow__marker {
  position: absolute;
  left: calc(-1 * var(--flow-gap));
  top: 2px;
  width: 7px;
  height: 7px;
  background: var(--paper);
  opacity: 0;
  transition: transform 600ms linear, opacity 160ms var(--ease-out);
}

.op-flow__marker.is-live {
  opacity: 1;
}

/* flex-start + fixed line-height keep the 9px dot at exactly y 1..10, so its
   center sits on the rail line (top 5px) and the 7px marker (top 2px) docks
   dead-center into it. */
.op-flow__node {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.op-flow__node i {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 1px;
  border: 1px solid #77766f;
  background: var(--ink);
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.op-flow__node span {
  color: #9a9992;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 200ms var(--ease-out);
}

.op-flow__node.is-on i {
  border-color: var(--record);
  background: var(--record);
}

.op-flow__node.is-on span {
  color: var(--paper);
}

.op-flow__stage > strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.op-flow__chip {
  display: block;
  margin-top: 0.45rem;
  min-height: 1.5em;
  color: #c6c4bc;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.op-flow__chip.is-sealed {
  color: var(--record);
}

.op-flow__stage p {
  max-width: 30rem;
  margin-top: 0.35rem;
  color: #a6a49c;
  font-size: 0.8rem;
  line-height: 1.5;
}

.op-flow__arrow {
  display: block;
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.85rem;
  line-height: 1;
  text-align: center;
}

.op-flow__arrow::before {
  content: "↓";
}

.op-audience {
  max-width: 36rem;
  margin-top: 1rem;
  color: #8e8c85;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.9;
}

.op-audience > span {
  margin-right: 0.65rem;
  color: #77766f;
}

.op-foot {
  /* padding-block only: a `padding` shorthand here would zero out the
     .wrap gutter this element also carries. */
  padding-block: 1.1rem max(1.1rem, env(safe-area-inset-bottom));
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line-light);
}

.op-foot .org-switch {
  padding: 0;
  border-top: 0;
}

.op-foot__cta {
  color: var(--paper);
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.op-foot__cta:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.op-fineprint {
  max-width: 56rem;
  color: #77766f;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* Three footer groups in the two-column phone grid: let the (long-labelled)
   FOR ORGANIZATIONS group take a full row instead of cramping into half. */
.footer__links--three > div:first-child {
  grid-column: 1 / -1;
}

@media (min-width: 62rem) {
  .op-core {
    grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
    align-items: center;
    gap: clamp(1.6rem, 3vh, 2.6rem) clamp(2.5rem, 4vw, 5rem);
  }

  /* DOM order is hero → demo → offer. On phones the base rule bumps the demo
     (.op-flow) below the offer so they read detail before the flow; desktop
     places everything explicitly, so reset order and put the demo on its own
     full-width row under both columns. */
  .op-core > div:first-child {
    grid-row: 1;
    grid-column: 1;
  }

  .op-core .op-offer {
    grid-row: 1;
    grid-column: 2;
  }

  .op-core .op-flow {
    order: 0;
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .op-flow__grid {
    grid-template-columns: minmax(0, 0.9fr) repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 0.85rem var(--flow-gap);
    align-items: start;
  }

  .op-flow__tasks {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .op-flow__rail {
    display: grid;
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .op-flow__stage {
    grid-row: 2;
  }

  /* The rail carries the before/during/after labels visually on desktop;
     keep the stage copies in the accessibility tree (the rail is aria-hidden). */
  .op-flow__stage > span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .op-flow__arrow {
    display: none;
  }

  .op-flow__stage > strong {
    margin-top: 0;
  }

  .op-flow.flow-ready .op-flow__hint {
    display: block;
  }

  .op-flow.flow-ready .op-flow__branch {
    display: block;
  }

  .op-core h1 {
    font-size: clamp(2.5rem, 3.3vw, 3.3rem);
  }

  .op-foot {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
  }

  .op-foot__cta {
    justify-self: end;
  }

  .op-fineprint {
    justify-self: end;
    text-align: right;
  }
}

@media (prefers-contrast: more) {
  .op-lede,
  .op-offer small,
  .op-audience,
  .op-flow__tasks button,
  .op-flow__chip,
  .op-flow__stage p {
    color: #d3d1ca;
  }
}

@media (prefers-reduced-motion: reduce) {
  .op-flow__trace,
  .op-flow__marker,
  .op-flow__node i,
  .op-flow__node span,
  .op-flow__seal i,
  .op-flow__seal span,
  .op-flow__tasks button,
  .op-flow__tasks button > span {
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
   08 / Plain answers — homepage FAQ
--------------------------------------------------------------------------- */

.answers__head {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.answers__head h2 {
  max-width: 16ch;
  margin-top: 1.4rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 52rem;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(4rem, 9vw, 7rem);
}

.faq-item {
  border: 1px solid rgba(10, 10, 9, 0.16);
  background: var(--white);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-weight: 560;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

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

.faq-item summary span {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--graphite);
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  color: var(--graphite);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item > p {
  padding: 0 1.4rem 1.3rem;
  margin: 0;
  max-width: 62ch;
  color: var(--graphite);
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after {
    transition: none;
  }
}

/* ---------------------------------------------------------------------------
   Learn — reference articles
--------------------------------------------------------------------------- */

.learn-head {
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.learn-head h1 {
  max-width: 14ch;
  margin-top: 1.4rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.learn-head > p {
  max-width: 52ch;
  margin-top: 1.4rem;
  color: var(--graphite);
  line-height: 1.6;
}

.learn-list {
  display: grid;
  gap: 0.8rem;
  padding-bottom: clamp(4rem, 9vw, 7rem);
  max-width: 56rem;
}

.learn-list > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: baseline;
  border: 1px solid rgba(10, 10, 9, 0.16);
  background: var(--white);
  padding: 1.5rem 1.6rem;
  text-decoration: none;
  color: inherit;
}

.learn-list > a > span:first-child {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--graphite);
}

.learn-list h2 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.learn-list p {
  color: var(--graphite);
  line-height: 1.55;
  max-width: 58ch;
}

.learn-list .learn-list__arrow {
  color: var(--graphite);
}

.article-head {
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 5vw, 3rem));
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 46rem;
}

.article-head h1 {
  max-width: 18ch;
  margin-top: 1.4rem;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.article-head .article-dek {
  max-width: 56ch;
  margin-top: 1.4rem;
  font-size: 1.1rem;
  color: var(--graphite);
  line-height: 1.6;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.6rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
}

.article-body {
  max-width: 46rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.article-body h2 {
  max-width: 28ch;
  margin: 2.6rem 0 1rem;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
}

.article-body h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.15rem;
}

.article-body p {
  margin: 0 0 1.1rem;
  line-height: 1.68;
}

.article-body p,
.article-body li {
  color: #33332e;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.3rem;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.55rem;
}

.article-body li {
  line-height: 1.6;
}

.article-body li::marker {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.8em;
  color: var(--graphite);
}

.article-body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(10, 10, 9, 0.35);
  text-underline-offset: 0.18em;
}

.article-body strong {
  font-weight: 620;
}

.article-table {
  overflow-x: auto;
  margin: 0 0 1.4rem;
  border: 1px solid rgba(10, 10, 9, 0.16);
  background: var(--white);
}

.article-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.article-table th,
.article-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(10, 10, 9, 0.1);
  line-height: 1.5;
}

.article-table th {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 500;
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-callout {
  border: 1px solid rgba(10, 10, 9, 0.2);
  border-left: 3px solid var(--record-ink);
  background: var(--white);
  padding: 1.3rem 1.5rem;
  margin: 2rem 0;
}

.article-callout p {
  margin: 0;
}

.article-sources {
  border-top: 1px solid rgba(10, 10, 9, 0.16);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
}

.article-sources h2 {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 500;
  margin: 0 0 1rem;
}

.article-sources ol {
  font-size: 0.9rem;
  color: var(--graphite);
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(10, 10, 9, 0.16);
  padding-block: 2rem 3.5rem;
  max-width: 46rem;
}
