/* Blue Books marketing site: the Ledger structure in the Blue family (DESIGN.md direction).
   Archivo + IBM Plex Mono, hairlines, radius 0, no shadows. Ocean is a rule/marker colour, never small
   text; small blue text uses --accent-text. The hero and the closing band are always Midnight. */
:root {
  --midnight: #0c2340;
  --ocean: #4a8ec2;
  --ocean-text: #2f6fa6;
  --sky: #86b8ec;
  --warm: #f8f6f2;
  --paper: #ffffff;
  --ink: #0c2340;
  --body: #2a3340;
  --muted: #5b6b7d;
  --rule: #d9dde3;
  --rule-strong: #b8c0cb;
  --bg: var(--warm);
  --surface: var(--paper);
  --accent: var(--ocean);
  --accent-text: var(--ocean-text);
  --seg-1: #0c2340;
  --seg-2: #2f6fa6;
  --seg-3: #86b8ec;
  --seg-4: #b8c0cb;
  --band: #0c2340;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.68);
  --on-dark-rule: rgba(255, 255, 255, 0.16);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1a2e;
    --surface: #10243d;
    --ink: #eef2f7;
    --body: #cfd8e3;
    --muted: #9fb0c2;
    --rule: #26384d;
    --rule-strong: #3a4f68;
    --accent: #86b8ec;
    --accent-text: #9cc6ef;
    --seg-1: #eef2f7;
    --seg-2: #86b8ec;
    --seg-3: #4a8ec2;
    --seg-4: #3a4f68;
    --band: #2f6fa6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1a2e;
  --surface: #10243d;
  --ink: #eef2f7;
  --body: #cfd8e3;
  --muted: #9fb0c2;
  --rule: #26384d;
  --rule-strong: #3a4f68;
  --accent: #86b8ec;
  --accent-text: #9cc6ef;
  --seg-1: #eef2f7;
  --seg-2: #86b8ec;
  --seg-3: #4a8ec2;
  --seg-4: #3a4f68;
  --band: #2f6fa6;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img,
svg {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.14em;
}
a:hover {
  text-decoration-color: var(--accent);
}
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
}
p {
  margin: 0;
}
.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.mark {
  width: 22px;
  height: 22px;
  flex: none;
  fill: currentColor;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn.light {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--midnight);
}
.btn.light:hover {
  background: #dce9f6;
  border-color: #dce9f6;
}
.btn.ghost-light {
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(12, 35, 64, 0.82);
}
.btn.ghost-light:hover {
  border-color: var(--sky);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

/* ---------- header (light pages and on the dark hero) ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule);
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
.lockup svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.lockup .word {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav a {
  font-size: 15px;
  text-decoration: none;
  color: var(--body);
}
.nav a:hover {
  color: var(--ink);
}
.nav .login {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  border: 1px solid var(--rule-strong);
  padding: 7px 12px;
  color: var(--ink);
}
.nav .login:hover {
  border-color: var(--accent);
}
.site-header.on-dark {
  border-bottom-color: var(--on-dark-rule);
  position: relative;
  z-index: 2;
}
.on-dark .lockup,
.on-dark .nav .login {
  color: var(--on-dark);
}
.on-dark .nav a {
  color: var(--on-dark-muted);
}
.on-dark .nav a:hover {
  color: var(--on-dark);
}
.on-dark .nav .login {
  border-color: rgba(255, 255, 255, 0.35);
}
.on-dark .nav .login:hover {
  border-color: var(--sky);
}
@media (max-width: 760px) {
  .nav a:not(.login) {
    display: none;
  }
}

/* ---------- hero (always Midnight) ---------- */
.hero-band {
  position: relative;
  overflow: hidden;
  background: var(--midnight);
  color: var(--on-dark);
  border-bottom: 1px solid var(--on-dark-rule);
}
/* ASCII layer (ascii.js): the dynamicpeg.com technique, a <pre> redrawn every frame */
.ascii-bg,
.ascii-panel {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 10px;
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  font-variant-ligatures: none;
}
.ascii-bg {
  position: absolute;
  inset: 0;
  color: rgba(134, 184, 236, 0.2);
}
.ascii-bg b,
.ascii-panel b {
  font-weight: 400;
  color: rgba(170, 206, 242, 0.82);
}
.ascii-probe {
  position: absolute;
  visibility: hidden;
}
@media (max-width: 760px) {
  .ascii-bg {
    color: rgba(134, 184, 236, 0.14);
  }
  .ascii-bg b {
    color: rgba(170, 206, 242, 0.7);
  }
}
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  justify-items: start;
  padding-block: clamp(64px, 11vh, 128px) clamp(48px, 8vh, 88px);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
  border: 1px solid var(--on-dark-rule);
  background: rgba(12, 35, 64, 0.75);
  padding: 8px 12px;
}
.pill .icon {
  width: 16px;
  height: 16px;
  color: #ff6b5e;
}
.hero h1 {
  color: var(--on-dark);
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.role-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--on-dark-rule);
  background: rgba(12, 35, 64, 0.78);
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 500;
}
.role-chip .icon {
  width: 18px;
  height: 18px;
  color: var(--sky);
}
.role-chip.result {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--midnight);
  font-weight: 600;
}
.role-chip.result .mark {
  width: 18px;
  height: 18px;
}
.op {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--on-dark-muted);
  stroke-width: 1.5;
}
.op.eq {
  width: 22px;
  height: 22px;
  stroke: var(--sky);
}
.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.8vw, 21px);
  max-width: 34em;
}
.trust {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 36px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--on-dark-rule);
}
.trust-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.trust-logo {
  color: var(--on-dark);
  opacity: 0.86;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.trust-logo:hover {
  opacity: 1;
}
.trust-logo svg.finrate {
  height: 24px;
  width: auto;
}
svg.finrate {
  fill: currentColor;
  font-family: var(--sans);
}
.trust-logo.text {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
}

/* ---------- sections ---------- */
section.block {
  padding-block: clamp(64px, 9vw, 120px);
  border-bottom: 1px solid var(--rule);
}
.section-head {
  display: grid;
  gap: 14px;
  max-width: 44em;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head > p:not(.eyebrow) {
  font-size: 18px;
  color: var(--body);
}
.icon-box {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule-strong);
  color: var(--accent-text);
  background: var(--surface);
}
ul.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
ul.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* roles */
.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--surface);
}
.role {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
}
.role + .role {
  border-left: 1px solid var(--rule);
}
.role h3 {
  font-size: 22px;
}
.merge {
  display: block;
  width: 100%;
  height: 72px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: flow 1.6s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -20;
  }
}
.merge-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-inline: auto;
  max-width: 640px;
  padding: 18px 22px;
  background: var(--band);
  color: var(--on-dark);
  font-size: 16px;
}
.merge-result .mark {
  width: 28px;
  height: 28px;
}
.merge-result strong {
  font-weight: 600;
}

/* cost */
.cost {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  gap: 18px;
}
.cost-title {
  font-size: 20px;
}
.stack {
  display: flex;
  height: 44px;
  width: 100%;
  border: 1px solid var(--rule);
}
.seg {
  display: block;
  height: 100%;
}
/* widths proportional to the legend: 145 / 120 / 110 / 56 of 431 */
.stack .s-cfo {
  width: 33.64%;
}
.stack .s-fm {
  width: 27.84%;
}
.stack .s-ro {
  width: 25.52%;
}
.stack .s-soc {
  width: 13%;
}
.s-cfo {
  background: var(--seg-1);
}
.s-fm {
  background: var(--seg-2);
}
.s-ro {
  background: var(--seg-3);
}
.s-soc {
  background: repeating-linear-gradient(135deg, var(--seg-4) 0 3px, transparent 3px 7px);
}
.legend {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 15px;
}
.legend > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.legend dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.legend dd {
  margin: 0;
  font-family: var(--mono);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.legend .sw {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid var(--rule);
}
.legend .total {
  margin-left: auto;
}
.legend .total dt {
  color: var(--ink);
  font-weight: 600;
}
.legend .total dd {
  font-size: 22px;
  font-weight: 500;
}
.versus {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  background: var(--surface);
}
.versus .mark {
  width: 30px;
  height: 30px;
  color: var(--ink);
  margin-top: 2px;
}
.versus-title {
  color: var(--ink);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 10px;
}
.inline-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 15px;
}
.inline-ticks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.inline-ticks .icon {
  width: 18px;
  height: 18px;
  color: var(--accent-text);
}
.footnote {
  font-size: 13px;
  color: var(--muted);
  max-width: 60em;
}

/* fit */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.two-col .section-head {
  margin-bottom: 0;
}
.fit {
  display: grid;
  gap: 36px;
}
.scale {
  display: grid;
  gap: 10px;
}
.scale-track {
  position: relative;
  height: 56px;
  border-bottom: 1px solid var(--rule-strong);
  background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10%);
}
/* log scale CHF 0.3 Mio. … 200 Mio.: 1 Mio. = 18.5 %, 5 = 43.3 %, 10 = 53.9 %, 50 = 78.7 % */
.scale-band {
  position: absolute;
  left: 18.5%;
  width: 60.2%;
  top: 10px;
  bottom: 0;
  background: var(--band);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
}
.scale-ticks {
  position: relative;
  height: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.scale-ticks .t {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}
.t-1 {
  left: 18.5%;
}
.t-5 {
  left: 43.3%;
}
.t-10 {
  left: 53.9%;
}
.t-50 {
  left: 78.7%;
}
.scale-caption {
  font-size: 13px;
  color: var(--muted);
}
.criteria {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.criteria li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 16px;
}
.criteria .icon {
  color: var(--accent-text);
}

/* how it works + phone */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--rule);
}
.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.steps h3 {
  margin-bottom: 4px;
}
.steps p {
  font-size: 15.5px;
}
.phone {
  justify-self: center;
  width: 300px;
  max-width: 100%;
  padding: 12px;
  background: #0a1b31;
  border: 1px solid #23405f;
}
.ph-screen {
  background: #ffffff;
  color: #0c2340;
  padding: 18px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  min-height: 520px;
}
.ph-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.ph-co {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.ph-co i {
  font-style: normal;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: #0c2340;
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
}
.ph-bb {
  color: #2f6fa6;
  font-size: 11px;
}
.ph-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 14px;
}
.ph-rule {
  display: block;
  width: 36px;
  height: 2px;
  background: #4a8ec2;
}
.ph-count {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4c4f55;
}
.ph-item {
  border-top: 1px solid #d9dde3;
  padding-top: 12px;
  display: grid;
  gap: 6px;
}
.ph-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.ph-amt {
  font-family: var(--mono);
  font-weight: 500;
}
.ph-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6b7d;
}
.ph-action {
  display: grid;
  margin: 4px 0 8px;
}
.ph-action > * {
  grid-area: 1 / 1;
}
.ph-btn {
  display: grid;
  place-items: center;
  min-height: 42px;
  background: #0c2340;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  animation: ph-press 7s ease-in-out infinite;
}
.ph-btn.quiet {
  background: transparent;
  color: #0c2340;
  border: 1px solid #b8c0cb;
  animation: none;
}
.ph-stamp {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid #0c2340;
  color: #0c2340;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: ph-stamp 7s ease-in-out infinite;
}
@keyframes ph-press {
  0%,
  30% {
    opacity: 1;
    transform: scale(1);
  }
  34% {
    opacity: 1;
    transform: scale(0.97);
    background: #1b3a5e;
  }
  40%,
  92% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 1;
  }
}
@keyframes ph-stamp {
  0%,
  38% {
    opacity: 0;
  }
  44%,
  90% {
    opacity: 1;
  }
  96%,
  100% {
    opacity: 0;
  }
}
.ph-tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #d9dde3;
  font-size: 11px;
  color: #5b6b7d;
  text-align: center;
}
.ph-tabs span {
  padding: 12px 0 14px;
}
.ph-tabs .on {
  color: #0c2340;
  font-weight: 600;
  border-top: 2px solid #4a8ec2;
  margin-top: -1px;
}

/* clients */
.clients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--surface);
}
.client {
  padding: 32px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.client + .client {
  border-left: 1px solid var(--rule);
}
.client-head {
  display: grid;
  gap: 8px;
  color: var(--ink);
}
.client-head svg.finrate {
  height: 30px;
  width: auto;
  justify-self: start;
}
.dp-word {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 30px;
}
.client-place {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.client-note {
  color: var(--ink);
  font-size: 16px;
}

/* data */
.data-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.data-grid li {
  padding: 26px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 8px;
  align-content: start;
}
.data-grid .icon {
  width: 26px;
  height: 26px;
  color: var(--accent-text);
  margin-bottom: 6px;
}
.data-grid p {
  font-size: 15px;
}

/* closing band (always Midnight) */
.cta-band {
  background: var(--midnight);
  color: var(--on-dark-muted);
  overflow: hidden;
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 112px);
}
.cta-band .eyebrow {
  color: var(--on-dark-muted);
}
.cta-band h2 {
  color: var(--on-dark);
  margin-block: 14px;
}
.cta-band p {
  font-size: 18px;
  max-width: 32em;
}
.cta-band .cta {
  margin-top: 26px;
}
.cta-band .mail {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--on-dark);
  user-select: all;
}
.ascii-panel {
  position: relative;
  width: 100%;
  height: 340px;
  color: rgba(134, 184, 236, 0.24);
}
.ascii-panel b {
  color: rgba(190, 220, 248, 0.95);
}

/* footer */
.site-footer {
  padding-block: 32px 48px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer a {
  text-decoration: none;
  color: var(--body);
}
.site-footer a:hover {
  color: var(--ink);
}
.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .roles,
  .clients {
    grid-template-columns: 1fr;
  }
  .role + .role,
  .client + .client {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .merge {
    height: 40px;
  }
  .two-col,
  .how,
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legend .total {
    margin-left: 0;
    width: 100%;
  }
  .ascii-panel {
    width: 100%;
    height: 260px;
  }
}
@media (max-width: 760px) {
  /* phones: the animated mark gets its own band below the buttons (ascii.js places it there) */
  .hero {
    padding-bottom: 260px;
  }
}
@media (max-width: 560px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
  .role,
  .client {
    padding: 22px;
  }
  .equation {
    gap: 8px;
  }
  .role-chip {
    min-height: 36px;
    font-size: 14px;
  }
  .pill {
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .stack {
    height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .merge,
  .ph-btn,
  .ph-stamp {
    animation: none;
  }
  .ph-btn:not(.quiet) {
    opacity: 0;
  }
  .ph-stamp {
    opacity: 1;
  }
}

/* ---------- legal pages ---------- */
.prose {
  max-width: 42em;
  display: grid;
  gap: 16px;
  padding-block: clamp(40px, 6vw, 80px);
}
.prose h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.prose h2 {
  font-size: 22px;
  margin-top: 20px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
}
.prose th {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.table-wrap {
  overflow-x: auto;
}
.prose address {
  font-style: normal;
}
ul.plain {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 8px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hero-band :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--sky);
}
