/* ─────────────────────────────────────────────────────────
   Joaquin Veliz — cloud infrastructure consulting
   Dark, typography-led, evidence-first.
   ───────────────────────────────────────────────────────── */

:root {
  --bg: #08090a;
  --bg-soft: #0e1011;
  --bg-lift: #121516;
  --line: #1c1f21;
  --line-soft: #16191a;
  --fg: #f4f5f5;
  --fg-dim: #a4abaf;
  --fg-mute: #6e7679;
  --accent: #c8f45e;
  --accent-dim: #8ba83c;
  --accent-wash: rgba(200, 244, 94, .09);
  --danger: #ff7a6b;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--fg-mute); }
strong { color: var(--fg); font-weight: 600; }
code {
  font-family: var(--mono);
  font-size: .88em;
  color: var(--accent);
  background: var(--accent-wash);
  border-radius: 4px;
  padding: .08em .34em;
}

::selection { background: var(--accent); color: #0a0b06; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── background layers ─────────────────────────────────── */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

.bg-glow {
  position: fixed;
  top: -30vh;
  left: 50%;
  width: min(1100px, 130vw);
  height: 80vh;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(200,244,94,.11), rgba(200,244,94,.02) 45%, transparent 70%);
  filter: blur(20px);
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ── nav ───────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8,9,10,.62);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.stuck {
  border-bottom-color: var(--line);
  background: rgba(8,9,10,.88);
}

.nav-mark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
/* The Veliz mark — geometry and colours are fixed by the brand (ClickUp wiki,
   "Veliz brand"); size is the only thing a page may change. */
.nav-mark .mark { flex: none; display: block; }
.footer-mark { display: inline-flex; align-items: center; gap: .5rem; }
.footer-mark .mark { flex: none; display: block; }
.nav-mark-sub {
  font-size: .74rem;
  color: var(--fg-mute);
  letter-spacing: .04em;
  padding-left: .55rem;
  margin-left: .1rem;
  border-left: 1px solid var(--line);
}
@media (max-width: 620px) { .nav-mark-sub { display: none; } }

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: .875rem;
  color: var(--fg-dim);
}
.nav-links a { position: relative; transition: color .2s ease; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--fg); }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--mono);
  font-size: .8rem;
  padding: .45rem .85rem;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  color: var(--accent);
  transition: all .22s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent);
  color: #0a0b06;
  box-shadow: 0 6px 24px -8px rgba(200,244,94,.55);
}

@media (max-width: 940px) { .nav-links { display: none; } }
@media (max-width: 460px) { .nav-cta { font-size: .72rem; padding: .4rem .7rem; } }

/* ── hero ──────────────────────────────────────────────── */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 12vh, 8rem) var(--pad) clamp(2.5rem, 7vh, 4.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .85rem;
}
.pulse {
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200,244,94,.5); }
  50% { opacity: .55; box-shadow: 0 0 0 6px rgba(200,244,94,0); }
}

h1 {
  font-size: clamp(2.7rem, 8.6vw, 7.4rem);
  line-height: .92;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}
h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg-mute);
  transition: -webkit-text-stroke-color .4s ease;
}
h1:hover .outline { -webkit-text-stroke-color: var(--accent); }

.role {
  font-family: var(--mono);
  font-size: clamp(.8rem, 1.8vw, 1rem);
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.role .sep { color: var(--fg-mute); margin: 0 .4rem; }

.lede {
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--fg-dim);
  line-height: 1.68;
}
.lede em { color: var(--fg); font-style: italic; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: .72rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .92rem;
  color: var(--fg-dim);
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  color: var(--fg);
  border-color: var(--fg-mute);
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0b06;
  font-weight: 500;
}
.btn-primary:hover {
  color: #0a0b06;
  border-color: var(--accent);
  box-shadow: 0 10px 34px -8px rgba(200,244,94,.5);
}
.btn-ghost { border-color: transparent; color: var(--fg-mute); }
.btn-ghost:hover { border-color: var(--line); }

/* ── metrics ───────────────────────────────────────────── */

.metrics {
  max-width: var(--max);
  margin: clamp(2.5rem, 7vh, 5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.metric {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.1rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.metric .num {
  font-family: var(--mono);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.metric .num.accent { color: var(--accent); }
.metric .label {
  font-size: .82rem;
  color: var(--fg-mute);
  line-height: 1.45;
  max-width: 24ch;
}
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* ── section shell ─────────────────────────────────────── */

section[id] { scroll-margin-top: 100px; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 12vh, 8rem) var(--pad);
}
.section--framed {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(200,244,94,.05), transparent 70%),
    var(--bg-soft);
  max-width: none;
}
.section--framed > * { max-width: var(--max); margin-inline: auto; }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.kicker {
  display: block;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.85rem, 4.6vw, 3.1rem);
  letter-spacing: -0.04em;
  max-width: 20ch;
  text-wrap: balance;
}

.section-sub {
  margin-top: 1.4rem;
  max-width: 66ch;
  color: var(--fg-dim);
  font-size: clamp(.98rem, 1.4vw, 1.06rem);
  line-height: 1.7;
}

/* ── problem split ─────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.split-lede { display: flex; flex-direction: column; gap: 1.15rem; }
.split-lede p {
  color: var(--fg-dim);
  font-size: 1.02rem;
  line-height: 1.72;
  max-width: 54ch;
}

.signals { border-top: 1px solid var(--line-soft); }
.signals li {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--fg-dim);
  font-size: .96rem;
  line-height: 1.55;
  transition: color .25s ease, padding-left .25s var(--ease);
}
.signals li span {
  font-family: var(--mono);
  color: var(--accent-dim);
  flex: none;
}
.signals li:hover { color: var(--fg); padding-left: .5rem; }

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

/* ── engagements ───────────────────────────────────────── */

/* Explicit columns, not auto-fit: three cards in a two-column band leaves a
   dead half-row, and an empty cell next to the last offer reads as broken. */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 1040px) {
  .offers { grid-template-columns: repeat(2, 1fr); }
  .offer:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .offers { grid-template-columns: 1fr; }
  .offer:last-child { grid-column: auto; }
}
.offer {
  position: relative;
  background: var(--bg);
  padding: clamp(1.7rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: .95rem;
  overflow: hidden;
  transition: background .3s ease;
}
.offer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.offer:hover { background: var(--bg-soft); }
.offer:hover::before { transform: scaleX(1); }

.offer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.offer-idx {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--fg-mute);
  letter-spacing: .08em;
}
.offer-tag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .2rem .6rem;
}
.offer-tag--live {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: var(--accent-wash);
}

.offer h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.offer-line {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--accent-dim);
  line-height: 1.5;
}
.offer > p { color: var(--fg-dim); font-size: .95rem; line-height: 1.66; }

.offer-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-top: .3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
.offer-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--fg-dim);
  font-size: .89rem;
  line-height: 1.55;
}
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-dim);
}

.offer-price {
  margin-top: auto;
  padding-top: 1.4rem;
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--fg);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
}
.offer-price span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-mute);
}
.offer-price em { font-size: .78rem; color: var(--fg-mute); }

.offer-proof-link {
  width: fit-content;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.offer-proof-link:hover { border-bottom-color: var(--accent-dim); }

/* The report is the strongest proof on a sales page: a single tabbed tour of
   its screens, Leapsome-style — one screen visible at a time so the section
   takes a screen height instead of a long scroll, with a persistent tablist
   naming every screen so a visitor can jump straight to the one they want. */
.tour {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

/* Without JS every panel below is visible, stacked, full width, and the
   tablist stays hidden — this is the whole page without script.js. JS adds
   .is-tabbed, reveals the tablist, and hides every panel but the selected
   one. */
.tour-panels {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}
.tour.is-tabbed {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.tour.is-tabbed .tour-panels { display: block; }

/* Wraps the pause/play control and the tablist so the two-column grid above
   still sees exactly two children (side, panels) and the sidebar's sticky
   offset applies to both together. */
.tour-side {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.tour-tabs {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.tour-tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .7rem;
  width: 100%;
  padding: .65rem .85rem;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  background: none;
  color: var(--fg-mute);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.tour-tab-n {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--fg-mute);
  flex: none;
}
.tour-tab-name { font-size: .89rem; line-height: 1.4; }
.tour-tab:hover { color: var(--fg); background: var(--bg-soft); }
.tour-tab[aria-selected="true"] {
  color: var(--fg);
  border-left-color: var(--accent);
  background: var(--accent-wash);
}
.tour-tab[aria-selected="true"] .tour-tab-n { color: var(--accent); }

/* Autoplay progress: script.js only ever adds/removes .is-progressing and
   .autoplay-paused — the dwell (--tour-dwell) and the freeze-in-place on pause
   both come from this CSS animation, not from any timer bookkeeping in JS.
   4.5s is about the shortest dwell that still lets a reader finish the
   heading before the screen moves on.
   While a tab is progressing its own selected-state accent border dims, so
   the bar reads as filling rather than duplicating an already-lit edge. */
.tour { --tour-dwell: 4.5s; }
.tour-tab-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent-dim), var(--accent));
  box-shadow: 0 0 10px rgba(200,244,94,.55);
  pointer-events: none;
}
.tour-tab.is-progressing[aria-selected="true"] { border-left-color: var(--line); }
.tour-tab.is-progressing .tour-tab-progress {
  animation: tourProgressV var(--tour-dwell) linear forwards;
}
.tour.autoplay-paused .tour-tab-progress { animation-play-state: paused; }
@keyframes tourProgressV { from { height: 0; } to { height: 100%; } }

.tour-play-toggle {
  align-self: flex-start;
  padding: .35rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--fg-mute);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.tour-play-toggle:hover { color: var(--fg); border-color: var(--fg-mute); }
.tour-play-toggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent-dim); }

.tour-panel { min-width: 0; scroll-margin-top: 110px; }
.tour-panel[hidden] { display: none; }
/* Keep the copy block's height reasonably stable so the stage below it does
   not jump every time a tab switches to a shorter description. */
.tour-panel .proof-copy { min-height: 9.5rem; }
.tour-panel .proof-copy p { max-width: 60ch; }

/* Panel change: the tinted stage stays still — fading it made the whole frame
   blink — and only its contents move, in sequence: the screenshot rises out of
   a slight blur, the label, heading and text follow a beat apart, and the
   callout lands last with a small overshoot. Nothing under reduced motion. */
@keyframes tourShotIn {
  from { opacity: 0; transform: translateY(16px) scale(.965); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes tourCopyIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tourCalloutIn { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
.tour-panel:not([hidden]) .proof-stage .report-shot {
  animation: tourShotIn .6s cubic-bezier(.16, 1, .3, 1) both;
}
.tour-panel:not([hidden]) .proof-copy > * {
  animation: tourCopyIn .5s cubic-bezier(.16, 1, .3, 1) both;
}
.tour-panel:not([hidden]) .proof-copy > :nth-child(2) { animation-delay: .06s; }
.tour-panel:not([hidden]) .proof-copy > :nth-child(3) { animation-delay: .12s; }
.tour-panel:not([hidden]) .proof-callout {
  animation: tourCalloutIn .45s cubic-bezier(.34, 1.56, .64, 1) .28s both;
}
@media (prefers-reduced-motion: reduce) {
  .tour-panel:not([hidden]) .proof-stage .report-shot,
  .tour-panel:not([hidden]) .proof-copy > *,
  .tour-panel:not([hidden]) .proof-callout { animation: none; }
}

.proof-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.proof-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dim);
}
.proof-copy h3 {
  max-width: 18ch;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.08;
  text-wrap: balance;
}
.proof-copy p {
  color: var(--fg-dim);
  font-size: .96rem;
  line-height: 1.7;
  max-width: 54ch;
}
/* The report-tour disclosure: a short mono line stating the screens are
   sample data, right under the section head, ahead of the tabs. */
.report-tour-note {
  margin-top: .75rem;
  max-width: 66ch;
  color: var(--fg-mute);
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.6;
}

/* The coloured block a screenshot sits on — the thing that turns a plain
   inline image into a "product tour" row. Reuses the accent wash already
   used for tags/pills elsewhere, just stretched into a gradient. */
.proof-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.25rem, 4vw, 2.75rem);
  background:
    linear-gradient(155deg, rgba(200,244,94,.08), rgba(200,244,94,.015) 65%),
    var(--bg-soft);
}

/* A small floating chip overlapping the stage's bottom-left corner — the
   callout a product-tour screenshot always carries, pointing at the one
   number that matters. */
.proof-callout {
  position: absolute;
  left: 1.5rem;
  bottom: -1.1rem;
  z-index: 2;
  max-width: 17rem;
  padding: .55rem .9rem;
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.45;
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.8);
}
/* Tour shots show report content right down to their bottom edge, so the zoom
   pill lives in the empty title bar instead of covering it. */
.proof-stage .report-shot-zoom {
  top: 5px;
  bottom: auto;
  right: .5rem;
  padding: .2rem .6rem;
  font-size: .64rem;
  box-shadow: none;
}

/* The stage must not change height when a tab switches — fix it on desktop,
   centre the screenshot inside it, and fit every screenshot within it
   without cropping instead of the default 8:5 cover crop. */
.tour .proof-stage {
  height: clamp(22rem, 38vw, 31rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* The min-width keeps the title bar wide enough for its "· sample data" label
   and the zoom pill even when a tall screenshot (Start here) is scaled narrow to
   fit the stage height; the image centres on the frame's white, which matches
   the report's own background. */
.tour .proof-stage .report-shot {
  width: fit-content;
  min-width: min(100%, 22rem);
  max-width: 100%;
}
.tour .proof-stage .report-shot img { margin-inline: auto; }
.tour .proof-stage .report-shot img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(16.5rem, 32vw, 25rem);
}

.report-shot {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  min-width: 0;
  text-align: left;
  font: inherit;
  border: 1px solid #2a2e30;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 80px -34px rgba(0,0,0,.95);
  transition: border-color .3s ease, transform .38s var(--ease), box-shadow .38s ease;
  cursor: zoom-in;
}
.report-shot-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 .75rem;
  color: var(--fg-mute);
  background: #111415;
  border-bottom: 1px solid #2a2e30;
}
.report-shot-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34393b;
}
.report-shot-bar i:first-child { background: var(--accent-dim); }
.report-shot-bar em {
  margin-left: .45rem;
  color: var(--fg-mute);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .02em;
}
/* No aspect-ratio or object-fit here: leaving them unset lets each image's own
   width/height attributes reserve its box before it loads, so switching to a tab
   never shows a collapsed frame that then jumps to size. */
.report-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .55s var(--ease);
}
.report-shot-zoom {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  padding: .45rem .7rem;
  border: 1px solid rgba(200,244,94,.55);
  border-radius: 999px;
  background: rgba(8,9,10,.9);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .7rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  transition: transform .38s var(--ease), background .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .report-shot:hover {
    z-index: 2;
    border-color: var(--accent-dim);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 38px 100px -28px rgba(0,0,0,1), 0 0 0 1px rgba(200,244,94,.2);
  }
  .report-shot:hover img { transform: scale(1.01); }
  .report-shot:hover .report-shot-zoom {
    transform: translateY(-4px);
    background: rgba(8,9,10,.98);
  }
}

.report-viewer {
  width: min(96vw, 1500px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 1px solid #343a3c;
  border-radius: 12px;
  background: #111415;
  color: var(--fg);
  box-shadow: 0 30px 100px rgba(0,0,0,.85);
  overflow: hidden;
}
.report-viewer[open] { display: flex; flex-direction: column; }
.report-viewer::backdrop { background: rgba(0,0,0,.86); }
.report-viewer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .55rem .8rem;
  border-bottom: 1px solid #343a3c;
  font-family: var(--mono);
  font-size: .74rem;
}
.report-viewer-actions { display: flex; gap: .4rem; flex: none; }
.report-viewer-actions button {
  padding: .35rem .65rem;
  border: 1px solid #343a3c;
  border-radius: 6px;
  background: #1c2122;
  color: var(--fg);
  font: inherit;
  cursor: pointer;
}
.report-viewer-actions button:hover { border-color: var(--accent-dim); color: var(--accent); }
.report-viewer-scroll { overflow: auto; overscroll-behavior: contain; }
.report-viewer-scroll img { display: block; width: 100%; height: auto; }
.report-viewer.is-zoomed .report-viewer-scroll img { width: 1600px; max-width: none; }

@media (max-width: 560px) {
  .report-viewer-head { flex-wrap: wrap; }
  .report-viewer-title { flex-basis: 100%; }
}

@media (max-width: 900px) {
  .proof-copy h3 { max-width: 24ch; }
  .tour-panel .proof-copy { min-height: 0; }

  /* No room for a fixed-width sidebar — the tablist becomes a horizontal,
     scrollable row of chips, and the panel copy/stage stack full width
     underneath it. */
  .tour.is-tabbed {
    display: block;
  }
  .tour-side {
    position: static;
    gap: .5rem;
  }
  .tour-tabs {
    flex-direction: row;
    gap: .5rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: .5rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .tour-tab {
    flex: none;
    scroll-snap-align: start;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: 999px;
  }
  .tour-tab[aria-selected="true"] {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
  }
  /* Chip row: the fill runs along the chip's bottom edge instead of the left
     accent border used in the vertical desktop list. */
  .tour-tab-progress {
    left: 0;
    top: auto;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-dim), var(--accent));
  }
  .tour-tab.is-progressing[aria-selected="true"] {
    border-left-color: transparent;
    border-bottom-color: var(--line);
  }
  .tour-tab.is-progressing .tour-tab-progress {
    animation-name: tourProgressH;
  }
  @keyframes tourProgressH { from { width: 0; } to { width: 100%; } }
  /* Column, not the desktop row: the callout flows below the shot here, and in a
     row it would sit beside a fit-content shot and squeeze it to a thumbnail. */
  .tour .proof-stage {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .tour .proof-stage .report-shot { width: 100%; }
  .tour .proof-stage .report-shot img {
    width: 100%;
    max-height: none;
  }
  /* Icon-only zoom pill, so the bar's label keeps room for its "· sample data"
     ending instead of being ellipsised away. The pill is aria-hidden; the button's
     aria-label carries the meaning. */
  .proof-stage .report-shot-zoom { font-size: 0; padding: .15rem .5rem; }
  .proof-stage .report-shot-zoom::before { content: "↗"; font-size: .75rem; }

  /* The callout no longer has a corner to float over once the stage is
     full-width above stacked copy — let it flow as a normal block instead. */
  /* display: block matters — the callout is a span, and once it is no longer
     absolutely positioned it would go back to inline and split its border per line. */
  .proof-callout {
    position: static;
    display: block;
    width: fit-content;
    left: auto;
    right: auto;
    margin-top: 1rem;
    max-width: none;
  }
}

/* On the narrowest phones the label wraps rather than ellipsising, because the
   part an ellipsis would cut is "· sample data" — the one part that must show.
   The decorative dots go to make room, and the right padding clears the pill. */
@media (max-width: 420px) {
  .proof-stage .report-shot-bar i { display: none; }
  .proof-stage .report-shot-bar em {
    margin-left: 0;
    padding: .45rem 2.1rem .45rem 0;
    white-space: normal;
    overflow: visible;
    line-height: 1.35;
  }
}

@media (max-width: 560px) {
  .proof-stage { padding: 1rem; border-radius: 12px; }
  .report-shot-bar em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ── steps ─────────────────────────────────────────────── */

.steps { border-top: 1px solid var(--line-soft); }
.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding: clamp(1.6rem, 3.5vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease;
}
.step:hover { background: rgba(255,255,255,.012); }
.step-n {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--fg-mute);
  letter-spacing: -.02em;
  padding-top: .1rem;
  transition: color .3s ease;
}
.step:hover .step-n { color: var(--accent); }
.step > div { display: flex; flex-direction: column; gap: .6rem; }
.step h3 { font-size: clamp(1.1rem, 2.4vw, 1.42rem); }
.step p { color: var(--fg-dim); font-size: .97rem; line-height: 1.68; max-width: 68ch; }
.step-when {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--fg-mute);
  letter-spacing: .02em;
}

@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: .5rem; }
}

/* ── access / guard ────────────────────────────────────── */

.guard {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.guard-code {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0a0c0d;
  box-shadow: 0 24px 70px -30px rgba(0,0,0,.9);
}
.guard-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem .95rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-lift);
}
.guard-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #23272a;
  flex: none;
}
.guard-bar em {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--fg-mute);
  margin-left: .6rem;
  letter-spacing: .01em;
}
.guard-code pre {
  margin: 0;
  padding: 1.35rem 1.25rem 1.6rem;
  overflow-x: auto;
}
.guard-code code {
  background: none;
  padding: 0;
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.9;
  white-space: pre;
}
.guard-code .c { color: #4d5457; }
.guard-code .ok {
  color: #0a0b06;
  background: var(--accent);
  border-radius: 3px;
  padding: .05em .4em;
  font-weight: 500;
}
.guard-code .no {
  color: var(--danger);
  border: 1px solid rgba(255,122,107,.35);
  border-radius: 3px;
  padding: .02em .35em;
}

/* Four notes, always 2×2 — auto-fit produced a 3+1 orphan once the
   surrounding grid collapsed to a single column. */
.guard-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 520px) { .guard-notes { grid-template-columns: 1fr; } }
.gnote {
  background: var(--bg-soft);
  padding: 1.35rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.gnote h3 { font-size: 1rem; letter-spacing: -0.02em; }
.gnote p { color: var(--fg-dim); font-size: .88rem; line-height: 1.6; }

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

/* ── pillars ───────────────────────────────────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: background .3s ease;
}
.pillar:hover { background: var(--bg-soft); }
.pillar h3 {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.18rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.pillar-mark {
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-wash);
  border: 1px solid rgba(200,244,94,.22);
  border-radius: 5px;
  padding: .25rem .45rem;
}
.pillar ul { display: flex; flex-direction: column; gap: .7rem; }
.pillar li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--fg-dim);
  font-size: .89rem;
  line-height: 1.55;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 4px; height: 4px;
  background: var(--fg-mute);
  transform: rotate(45deg);
}

.coverage-note {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  max-width: 74ch;
  color: var(--fg-dim);
  font-size: .97rem;
  line-height: 1.72;
  border-left: 2px solid var(--accent-dim);
  padding-left: 1.25rem;
}

/* ── compare table ─────────────────────────────────────── */

.compare {
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line-soft);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > span {
  padding: 1.15rem 1.3rem;
  font-size: .91rem;
  line-height: 1.6;
  color: var(--fg-mute);
  border-right: 1px solid var(--line-soft);
}
.compare-row > span:last-child { border-right: 0; }
.compare-row .hi {
  color: var(--fg-dim);
  background: rgba(200,244,94,.035);
}
.compare-head > span {
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--fg-mute);
  background: var(--bg-soft);
  padding-block: .85rem;
}
.compare-head .hi { color: var(--accent); background: var(--accent-wash); }
.compare-k {
  font-family: var(--mono);
  font-size: .74rem !important;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--fg-mute) !important;
  background: var(--bg-soft);
}

@media (max-width: 820px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > span { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .compare-row > span:last-child { border-bottom: 0; }
  .compare-head { display: none; }
  /* The column headers are gone, so each cell has to say which side it is. */
  .compare-row > span:nth-child(2)::before,
  .compare-row .hi::before {
    display: block;
    font-family: var(--mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: .45rem;
  }
  .compare-row > span:nth-child(2)::before {
    content: "Partner-delivered review";
    color: var(--fg-mute);
  }
  .compare-row .hi::before {
    content: "This audit";
    color: var(--accent);
  }
}

/* ── pricing tiers ─────────────────────────────────────── */

.tiers { border-top: 1px solid var(--line-soft); }
.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease, padding-left .3s var(--ease);
}
.tier:hover { background: rgba(255,255,255,.012); padding-left: .65rem; }
.tier--pilot {
  background: linear-gradient(to right, var(--accent-wash), transparent 65%);
  border-bottom-color: rgba(200,244,94,.2);
}
.tier-k h3 { font-size: 1.16rem; margin-bottom: .35rem; }
.tier-k p { color: var(--fg-mute); font-size: .89rem; line-height: 1.55; max-width: 56ch; }
.tier-v { text-align: right; display: flex; flex-direction: column; gap: .2rem; }
.tier-price {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: var(--fg);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.tier--pilot .tier-price { color: var(--accent); }
.tier-note {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 1040px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .rules { grid-template-columns: 1fr; } }
.rule h4 {
  font-size: .95rem;
  margin-bottom: .55rem;
  padding-left: .85rem;
  border-left: 2px solid var(--accent-dim);
}
.rule p { color: var(--fg-mute); font-size: .88rem; line-height: 1.65; padding-left: .85rem; }

@media (max-width: 560px) {
  .tier { grid-template-columns: 1fr; gap: .6rem; }
  .tier-v { text-align: left; flex-direction: row; align-items: baseline; gap: .6rem; }
}

/* ── about: why two, then the two ──────────────────────── */

.why-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.wt {
  background: var(--bg-soft);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.wt h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding-left: .8rem;
  border-left: 2px solid var(--accent-dim);
}
.wt p { color: var(--fg-dim); font-size: .9rem; line-height: 1.65; }

.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.person {
  background: var(--bg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background .3s ease;
}
.person:hover { background: var(--bg-soft); }
.person > p { color: var(--fg-dim); font-size: .94rem; line-height: 1.7; }

.person-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}
.person-initials {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--accent-wash);
  border: 1px solid rgba(200,244,94,.22);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.person-id h3 { font-size: 1.2rem; letter-spacing: -0.025em; margin-bottom: .2rem; }
.person-role { font-family: var(--mono); font-size: .74rem; color: var(--fg-mute); }
.person-link {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--fg-mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .65rem;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.person-link:hover { color: var(--accent); border-color: var(--accent-dim); }

.person-certs { display: flex; flex-wrap: wrap; gap: .4rem; }
.person-certs li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  color: var(--fg-dim);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .3rem .6rem .3rem .3rem;
}
.person-certs li span {
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--accent);
  background: var(--accent-wash);
  border-radius: 4px;
  padding: .2rem .35rem;
}

.person-sub {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line-soft);
  margin-top: .4rem;
}

.track-list li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.track-list span { font-size: .92rem; color: var(--fg); font-weight: 500; }
.track-list em { font-size: .81rem; color: var(--fg-mute); line-height: 1.5; }

/* Gonzalo lists no certifications, so his card carries focus areas instead —
   the same rhythm as the cert row opposite, without implying a credential. */
.person-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.person-tags li {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--fg-dim);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .32rem .6rem;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.person:hover .person-tags li { border-color: #24282a; }

@media (max-width: 900px) {
  .why-two, .people { grid-template-columns: 1fr; }
}

/* Name, role and the LinkedIn pill fight over one row on a phone — the name
   wraps and the role turns into three lines. Drop the pill to its own row. */
@media (max-width: 460px) {
  .person-head { grid-template-columns: auto 1fr; row-gap: .9rem; }
  .person-link { grid-column: 1 / -1; justify-self: start; }
}

/* ── faq ───────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line-soft); }
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-dim);
  transition: color .22s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--fg-mute);
  flex: none;
  transition: transform .3s var(--ease), color .22s ease;
}
.faq summary:hover { color: var(--fg); }
.faq summary:hover::after { color: var(--accent); }
.faq details[open] summary { color: var(--fg); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p {
  padding: 0 0 1.6rem;
  max-width: 76ch;
  color: var(--fg-dim);
  font-size: .96rem;
  line-height: 1.75;
}

/* ── contact ───────────────────────────────────────────── */

.contact {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  border-top: 1px solid var(--line-soft);
}
.contact-h {
  font-size: clamp(2.2rem, 6.5vw, 4.2rem);
  margin: 0 0 1.5rem;
  max-width: none;
}
.contact .lede { font-size: 1rem; max-width: 48ch; }

.contact-list { display: flex; flex-direction: column; }
.contact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-list li:first-child { border-top: 1px solid var(--line-soft); }
.contact-list span {
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-mute);
  flex: none;
}
.contact-list a {
  font-size: .97rem;
  color: var(--fg-dim);
  transition: color .2s ease;
  text-align: right;
  word-break: break-word;
}
.contact-list a:hover { color: var(--accent); }
.contact-list a[aria-disabled="true"] { pointer-events: none; }

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

/* ── subpage intro header (replaces hero on subpages) ──── */

.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 4.5rem) var(--pad) clamp(1.5rem, 4vh, 2.5rem);
}
.page-head-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .85rem;
}
.page-head h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin-bottom: 1.1rem;
  max-width: 20ch;
  text-wrap: balance;
}
.page-head-lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--fg-dim);
  line-height: 1.65;
}

@media (max-width: 560px) {
  .page-head h1 { max-width: none; }
}

/* ── how summary cards (home) ──────────────────────────── */

.how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.how-card {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: background .3s ease;
}
.how-card:hover { background: var(--bg-soft); }
.how-card-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dim);
}
.how-card h3 { font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.3; }
.how-card p { color: var(--fg-dim); font-size: .89rem; line-height: 1.6; }
.how-card-link {
  margin-top: auto;
  width: fit-content;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.how-card-link:hover { border-bottom-color: var(--accent-dim); }

@media (max-width: 900px) { .how-cards { grid-template-columns: 1fr; } }

/* ── team summary strip (home) ─────────────────────────── */

.team-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.team-card {
  background: var(--bg);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem 1rem;
  align-items: start;
  transition: background .3s ease;
}
.team-card:hover { background: var(--bg-soft); }
.team-card-initials {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--accent-wash);
  border: 1px solid rgba(200,244,94,.22);
  color: var(--accent);
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.team-card-id h3 { font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: .2rem; }
.team-card-role { font-family: var(--mono); font-size: .72rem; color: var(--fg-mute); }
.team-card-bio {
  grid-column: 2 / -1;
  color: var(--fg-dim);
  font-size: .89rem;
  line-height: 1.6;
}

@media (max-width: 900px) { .team-strip { grid-template-columns: 1fr; } }

/* ── closing CTA band (subpages) ───────────────────────── */

.cta-band {
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.cta-band > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-band-h {
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  max-width: 20ch;
  text-wrap: balance;
}
.cta-band .actions { justify-content: center; margin-top: 0; }

@media (max-width: 560px) {
  .cta-band { padding-block: clamp(3rem, 10vh, 5rem); }
}

/* ── footer ────────────────────────────────────────────── */

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: .73rem;
  color: var(--fg-mute);
  border-top: 1px solid var(--line-soft);
}

/* ── reveal animation ──────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
  * { transition-duration: .01ms !important; }
}
