/* Find and Seek — Sadewa-informed design system
   Reference: /reference/sadewa/ (Satoshi + Roboto Mono, neon green accents) */

@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Satoshi";
  src: url("https://cdn.prod.website-files.com/69b3dcd6dbb0a39643fb1ff8/69b3e2c0d89a8f900cb50290_Satoshi-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("https://cdn.prod.website-files.com/69b3dcd6dbb0a39643fb1ff8/69b3e2c03380bc936589661b_Satoshi-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("https://cdn.prod.website-files.com/69b3dcd6dbb0a39643fb1ff8/69b3e2c03ef97360f03e8556_Satoshi-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --green: #98fe00;
  --green-dark: #233802;
  --green-soft: #98fe000c;
  --ink: #131313;
  --ink-2: #1c1c1c;
  --surface: #f3f3f3;
  --white: #ffffff;
  --text: #131313;
  --text-mute: #3a3a3a;
  --gray-mid: #797979;
  --gray-light: #b4b4b4;
  --border: #e5e5e5;
  --proof: #98fe00;
  --proof-ink: #131313;
  --display: "Satoshi", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
  --max: 77.5rem;
  --prose: 42rem;
  /* Photo framing. The library is shot 3:2, so --ar-photo crops nothing.
     Wider ratios are deliberate crops, not accidents of a fixed pixel height. */
  --ar-photo: 3 / 2;
  --ar-card: 16 / 9;
  --ar-band: 21 / 9;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --track-tight: -0.04em;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--display);
  background: var(--white);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--prose)); margin-inline: auto; }

/* ——— Nav ———
   One treatment everywhere: ink bar bookending the site with the footer.
   Full-bleed background; content constrained to --max via padding. */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: 4.25rem;
  width: 100%;
  padding-inline: max(1.25rem, calc(50% - var(--max) / 2));
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.topbar.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(19, 19, 19, 0.92);
  backdrop-filter: blur(12px);
}
/* Home hero supplies its own dark shell + glow — keep the bar transparent there */
.hero-shell .topbar,
.hero-shell .topbar.scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.brand {
  font-size: 1.05rem; font-weight: 700; letter-spacing: var(--track-tight);
  display: inline-flex; align-items: baseline; gap: 0.25rem;
}
.brand em { font-style: normal; color: var(--green); font-weight: 700; }
.top-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.top-links a {
  font-family: var(--mono); font-size: 0.8125rem; color: var(--gray-light);
  font-weight: 400; text-transform: lowercase; transition: color 0.2s;
}
.top-links a:hover, .top-links a.active { color: var(--green); }
.top-links .join {
  color: var(--ink);
  background: var(--green);
  padding: 0.55rem 1rem;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: lowercase;
  transition: transform 0.2s var(--ease);
}
.top-links .join:hover { transform: scale(1.02); color: var(--ink); }

main { flex: 1; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.35rem;
  font-family: var(--mono); font-weight: 500; font-size: 0.875rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--green); color: var(--ink); }
.btn-solid:hover { transform: scale(1.02); }
.btn-line {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--ink); }
.btn-line.on-dark,
.band-dark .btn-line,
.hero-shell .btn-line,
.access .btn-line {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-line.on-dark:hover,
.band-dark .btn-line:hover,
.hero-shell .btn-line:hover,
.access .btn-line:hover { border-color: var(--green); color: var(--green); }

/* ——— Section chrome ——— */
.sec-kicker {
  font-family: var(--mono); font-size: 0.875rem;
  color: var(--gray-mid); margin-bottom: 0.85rem;
  text-transform: lowercase;
}
.sec-kicker::before { content: "/"; }
.sec-kicker.on-dark { color: var(--green); }
.sec-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: var(--track-tight); line-height: 1.05;
  max-width: 18ch;
}
.sec-lede {
  margin-top: 1rem;
  font-size: 1.0625rem; color: var(--text-mute); max-width: 48ch; line-height: 1.55;
}
.page-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.page-hero { padding: 3.5rem 0 2.5rem; }
.page-hero.band-dark {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 0 3rem;
}
.page-hero.band-dark .sec-kicker { color: var(--green); }
.page-hero.band-dark .sec-lede { color: var(--gray-light); }
.page-hero.band-dark .sec-title { color: var(--white); }
section.block { padding: 3.5rem 0; border-top: 1px solid var(--border); }
section.block:first-of-type { border-top: 0; }
.band { padding: 5rem 0; }
.band-surface { background: var(--surface); }
.band-dark { background: var(--ink); color: var(--white); }
.band-dark .sec-lede { color: var(--gray-light); }
.band-dark .sec-title { color: var(--white); }

/* ——— Home hero ——— */
.hero-shell {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(152, 254, 0, 0.12), transparent 45%),
    radial-gradient(circle at 85% 0%, #233802, transparent 50%);
}
.hero {
  position: relative;
  min-height: calc(100svh - 4.25rem);
  display: grid;
  /* Vertically centred, but left-aligned on the same edge as every section
     below it and every other page's hero. Centring the hero left it floating
     ~245px right of the shared left edge, so nothing lined up on scroll. */
  align-content: center;
  justify-items: start;
  gap: 2.5rem;
  padding: 2rem 0 3rem;
}
@media (min-width: 981px) {
  .hero {
    grid-template-columns: minmax(0, 44rem) minmax(20rem, 30rem);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    justify-items: stretch;
  }
}
.hero-copy { max-width: 46rem; }
.brand-hero {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: var(--track-tight);
  margin-bottom: 1rem;
}
.brand-hero span { color: var(--green); }
.hero-kicker {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--gray-mid);
  text-transform: lowercase;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}
.hero-kicker::before { content: "/"; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: var(--track-tight);
  max-width: 18ch;
  text-wrap: balance;
}
.hero h1 .hl { color: var(--green); }
.hero-lead {
  margin: 1.75rem 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--gray-light);
  max-width: 46ch;
  line-height: 1.6;
}
.hero-actions {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center;
}
.hero .hero-actions {
  margin-top: 2.5rem;
  gap: 1.5rem;
}
.hero-link {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--gray-light);
  text-transform: lowercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero-link:hover { color: var(--white); border-bottom-color: var(--white); }

/* HCP plane (hero visual) */
.hero-visual {
  position: relative;
  min-height: min(60vh, 520px);
  display: flex; align-items: stretch;
}
.hcp-plane {
  flex: 1; min-width: 0;
  background: var(--white);
  color: var(--ink);
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75);
  transform: translateY(18px); opacity: 0;
  animation: rise-in 0.9s var(--ease) 0.15s forwards;
}
@keyframes rise-in {
  to { transform: translateY(0); opacity: 1; }
}
.hcp-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--gray-mid); margin-bottom: 1rem; text-transform: lowercase;
}
.hcp-meta .live { color: var(--green-dark); font-weight: 600; }
.hcp-query {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700; letter-spacing: var(--track-tight);
  line-height: 1.25; margin-bottom: 1.15rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.hcp-query::after {
  content: "\258C";
  margin-left: 0.15em;
  color: var(--green-dark);
  animation: caret-blink 1.1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.hcp-stack { display: flex; flex-direction: column; gap: 0.65rem; flex: 1; min-width: 0; }
.hit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem; align-items: start;
  padding: 0.8rem 0.85rem;
  background: var(--surface);
  border-left: 3px solid transparent;
}
.hit.rank-1 { border-left-color: var(--green); background: var(--green-soft); }
.hit .rank {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  color: var(--gray-mid); padding-top: 0.15rem;
}
.hit.rank-1 .rank { color: var(--green-dark); }
.hit h3 { font-size: 0.9rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.hit p { font-size: 0.85rem; color: var(--text-mute); line-height: 1.45; }
.hit .cite {
  font-family: var(--mono); font-size: 0.65rem; color: var(--gray-mid);
  margin-top: 0.35rem; text-transform: lowercase;
}
.hit .conf {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  color: var(--ink); background: var(--green);
  padding: 0.2rem 0.4rem; white-space: nowrap; align-self: start;
}
.hit .conf.mid {
  background: var(--surface);
  color: var(--gray-mid);
  border: 1px solid var(--border);
}
/* The plane tells a sequence: query first, hits land one by one, then the foot. */
.hit, .hcp-foot {
  opacity: 0; transform: translateY(10px);
  animation: rise-in 0.55s var(--ease) forwards;
}
.hcp-stack .hit:nth-child(1) { animation-delay: 0.65s; }
.hcp-stack .hit:nth-child(2) { animation-delay: 0.9s; }
.hcp-stack .hit:nth-child(3) { animation-delay: 1.15s; }
.hcp-foot { animation-delay: 1.5s; }
.hcp-foot {
  margin-top: 1rem; padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.68rem; color: var(--gray-mid);
  text-transform: lowercase;
}
.hcp-foot strong { color: var(--ink); font-weight: 600; }

/* Thesis */
.thesis {
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 0;
  font-family: var(--mono); font-size: 0.875rem;
  color: var(--gray-mid);
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.25rem; align-items: center;
}
.thesis b { color: var(--ink); font-weight: 600; }
.thesis .sep { color: var(--green-dark); }

/* Audience / doors */
.doors {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.door {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color 0.2s;
}
.door:hover { border-color: var(--ink); }
a.door { color: inherit; text-decoration: none; }
a.door::after { content: " \2192"; color: var(--gray-mid); }
.door.primary { background: var(--green-soft); border-color: var(--green); }
.door .who {
  font-family: var(--mono); font-size: 0.8125rem;
  color: var(--gray-mid); margin-bottom: 0.55rem; text-transform: lowercase;
}
.door .who::before { content: "/"; }
.door h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: var(--track-tight);
  margin-bottom: 0.5rem;
}
.door p { color: var(--text-mute); font-size: 0.95rem; line-height: 1.5; }

/* Measure strip */
.measure {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; border: 1px solid var(--border); margin-top: 2.5rem; background: var(--white);
}
.measure > div {
  padding: 1.5rem 1.15rem;
  border-right: 1px solid var(--border);
}
.measure > div:last-child { border-right: 0; }
.measure .n {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 700; letter-spacing: var(--track-tight); line-height: 1;
}
.measure .n em { font-style: normal; font-size: 0.55em; color: var(--green-dark); }
.measure .l {
  margin-top: 0.5rem; font-size: 0.8rem; color: var(--gray-mid); line-height: 1.35;
  max-width: 16ch;
}
.measure-note {
  margin-top: 1rem; font-size: 0.8rem; color: var(--gray-mid);
  max-width: 72ch; line-height: 1.5;
}
.evidence-cta { margin-top: 1.5rem; }

.wait-box {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  padding: 1.6rem 1.7rem;
  background: var(--surface);
}
.wait-box h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: var(--track-tight);
  margin-bottom: 0.7rem;
}
.wait-box p { color: var(--text-mute); font-size: 0.98rem; max-width: 70ch; }
.wait-box p + p { margin-top: 0.75rem; }
.wait-box strong { color: var(--ink); }
.wait-box .hw {
  margin-top: 1rem;
  font-family: var(--mono); font-size: 0.78rem; color: var(--green-dark);
  text-transform: lowercase;
}

/* Process / flow */
.flow {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.flow-step {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}
.band:not(.band-dark) .flow-step {
  border-color: var(--border);
  background: var(--white);
}
.flow-step .idx {
  font-family: var(--mono); font-size: 0.875rem; font-weight: 500;
  color: var(--green); margin-bottom: 1rem;
}
.band:not(.band-dark) .flow-step .idx { color: var(--green-dark); }
.flow-step h3 {
  font-size: 1.25rem; font-weight: 700; letter-spacing: var(--track-tight);
  margin-bottom: 0.55rem;
}
.flow-step p { color: var(--gray-light); font-size: 0.95rem; line-height: 1.5; }
.band:not(.band-dark) .flow-step p { color: var(--text-mute); }

.ask-demo {
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}
.band:not(.band-dark) .ask-demo,
.block:not(.band-dark) .ask-demo { border-color: var(--border); background: var(--white); }
.ask-demo-head {
  font-family: var(--mono); font-size: 0.8125rem;
  color: var(--green); margin-bottom: 1rem; text-transform: lowercase;
}
.ask-demo-head::before { content: "/"; }
.band:not(.band-dark) .ask-demo-head,
.block:not(.band-dark) .ask-demo-head { color: var(--gray-mid); }
.ask-demo ul { list-style: none; display: grid; gap: 0.85rem; }
.ask-demo li {
  display: flex; flex-direction: column; gap: 0.25rem;
  font-size: 0.95rem; color: var(--white);
}
.band:not(.band-dark) .ask-demo li,
.block:not(.band-dark) .ask-demo li { color: var(--ink); }
.ask-demo li span {
  font-family: var(--mono); font-size: 0.8rem; color: var(--gray-light);
  text-transform: lowercase;
}
.band:not(.band-dark) .ask-demo li span { color: var(--gray-mid); }
.ask-demo li b { color: var(--green); font-weight: 600; }
.band:not(.band-dark) .ask-demo li b,
.block:not(.band-dark) .ask-demo li b { color: var(--green-dark); }

/* Comparison */
.diff {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.diff-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
.diff-card.us {
  border: 2px solid var(--green);
  background: var(--green-soft);
}
.diff-card .who {
  font-family: var(--mono); font-size: 0.8125rem;
  text-transform: lowercase; margin-bottom: 1.25rem;
}
.diff-card.us .who { color: var(--green-dark); }
.diff-card.us .who::before { content: "/"; }
.diff-card.them .who { color: var(--gray-mid); }
.diff-card.them .who::before { content: "/"; }
.diff-card ul { list-style: none; display: grid; gap: 0.85rem; }
.diff-card li {
  display: flex; gap: 0.65rem; align-items: start;
  font-size: 0.95rem; line-height: 1.4;
}
.diff-card.us li::before { content: "✓"; color: var(--green-dark); font-weight: 700; }
.diff-card.them { color: var(--gray-mid); }
.diff-card.them li::before { content: "—"; }

/* Cards / grids for inner pages */
.grid-3 {
  margin-top: 2rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--white);
}
.card .who {
  font-family: var(--mono); font-size: 0.8125rem;
  color: var(--gray-mid); margin-bottom: 0.55rem; text-transform: lowercase;
}
.card .who::before { content: "/"; }
.card h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: var(--track-tight);
  margin-bottom: 0.45rem;
}
.card p { color: var(--text-mute); font-size: 0.92rem; line-height: 1.45; }

/* Ledger / evidence tables */
.ledger {
  margin-top: 2rem; width: 100%; border-collapse: collapse; font-size: 0.88rem;
}
.ledger th, .ledger td {
  text-align: left; padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
.ledger th {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  color: var(--gray-mid); text-transform: lowercase;
}
.ledger td:nth-child(n+2) { font-family: var(--mono); font-size: 0.82rem; }
.ledger .task { font-weight: 600; }
.ledger .task small {
  display: block; font-weight: 400; color: var(--gray-mid);
  font-size: 0.78rem; margin-top: 0.25rem; font-family: var(--display);
}
.ledger .lose { color: var(--gray-mid); }
.ledger .win { color: var(--green-dark); font-weight: 600; }
.ledger tr.fas td { background: var(--green-soft); }
.delta {
  display: inline-block; margin-left: 0.35rem;
  font-size: 0.65rem; color: var(--ink); background: var(--green);
  padding: 0.1rem 0.35rem; font-weight: 600;
}

.honesty {
  margin-top: 2rem; padding: 1.5rem;
  border: 1px solid var(--border); background: var(--surface);
}
.honesty h3 {
  font-size: 0.875rem; font-family: var(--mono);
  color: var(--gray-mid); margin-bottom: 0.75rem; text-transform: lowercase;
}
.honesty h3::before { content: "/"; }
.honesty p { color: var(--text-mute); font-size: 0.92rem; max-width: 72ch; }
.honesty p + p { margin-top: 0.65rem; }
.honesty strong { color: var(--ink); }

.prose {
  font-size: 1.05rem; line-height: 1.65; color: var(--text-mute);
}
.prose h2 {
  font-family: var(--display); font-size: 1.45rem; font-weight: 700;
  letter-spacing: var(--track-tight); color: var(--ink);
  margin: 2.25rem 0 0.85rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 0.15em; }
.prose blockquote {
  margin: 1.5rem 0; padding-left: 1.25rem;
  border-left: 3px solid var(--green);
  font-style: italic; color: var(--ink);
}

.paper-list { margin-top: 2.5rem; display: flex; flex-direction: column; border: 1px solid var(--border); }
.paper-item {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 1.25rem 1.35rem; border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.paper-item:last-child { border-bottom: 0; }
.paper-item:hover { background: var(--surface); }
.paper-item h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: var(--track-tight); margin-bottom: 0.35rem; }
.paper-item p { font-size: 0.9rem; color: var(--gray-mid); max-width: 52ch; }
.paper-item .tag {
  font-family: var(--mono); font-size: 0.7rem; color: var(--gray-mid); text-transform: lowercase;
}
.paper-item .arrow { color: var(--gray-mid); font-size: 1.25rem; }

.back-line { margin-top: 2.5rem; font-size: 0.9rem; color: var(--gray-mid); }
.back-line a {
  color: var(--text-mute); text-decoration: underline; text-underline-offset: 0.15em;
}
.back-line a:hover { color: var(--ink); }

/* Partner / work-with-us grid */
.partner-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.partner {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.6rem 1.5rem 1.75rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color 0.2s;
}
.partner:hover { border-color: var(--green); }
.partner .who {
  font-family: var(--mono); font-size: 0.8125rem;
  color: var(--gray-mid); text-transform: lowercase;
}
.partner .who::before { content: "/"; }
.partner h2, .partner h3 {
  font-size: 1.25rem; font-weight: 700; letter-spacing: var(--track-tight);
}
.partner p {
  color: var(--text-mute); font-size: 0.95rem; line-height: 1.45; flex: 1;
}
.partner a.btn { align-self: flex-start; margin-top: 0.5rem; }

/* Beta form */
.access {
  background: var(--ink);
  color: var(--white);
  padding: 5rem 0;
}
.access .wrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start;
}
.access .sec-lede { color: var(--gray-light); }
form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  background: var(--white); color: var(--ink);
  padding: 1.75rem; border: 1px solid var(--border);
}
form .full { grid-column: 1 / -1; }
label {
  display: block; font-family: var(--mono); font-size: 0.75rem;
  color: var(--gray-mid); margin-bottom: 0.4rem; text-transform: lowercase;
}
input, select, textarea {
  width: 100%; padding: 0.75rem 0.85rem;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--green); outline-offset: 0; border-color: transparent;
}
textarea { min-height: 5.5rem; resize: vertical; }
.form-note {
  grid-column: 1 / -1; font-size: 0.8rem; color: var(--gray-mid); line-height: 1.45;
}
.form-note a {
  color: var(--green-dark); text-decoration: underline; text-underline-offset: 0.15em;
}
.form-status {
  grid-column: 1 / -1; font-size: 0.9rem; padding: 0.85rem 1rem; display: none;
}
.form-status.ok { display: block; background: var(--green-soft); color: var(--green-dark); }
.form-status.err { display: block; background: #fff0f0; color: #8a2a10; }
.access .btn-solid { width: 100%; border: 0; }

/* Footer */
footer {
  background: var(--ink); color: var(--white);
  padding: 3.5rem 0 2.5rem; margin-top: auto;
}
.foot {
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.foot p {
  margin-top: 0.75rem; color: var(--gray-light); font-size: 0.9rem; max-width: 34ch;
}
.foot .brand { color: var(--white); }
.foot-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.foot-cols h5 {
  font-family: var(--mono); font-size: 0.8125rem;
  color: var(--gray-mid); margin-bottom: 0.85rem; text-transform: lowercase;
}
.foot-cols h5::before { content: "/"; }
.foot-cols a {
  display: block; color: var(--gray-light); font-size: 0.9rem; margin-bottom: 0.55rem;
  transition: color 0.2s;
}
.foot-cols a:hover { color: var(--green); }
.foot-wordmark {
  margin-top: 3rem;
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 700; letter-spacing: var(--track-tight); line-height: 0.85;
  color: rgba(255, 255, 255, 0.08);
}
.foot-bottom {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--gray-mid);
}
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: var(--green); }

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Evidence proof blocks */
.proof-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.proof { border: 1px solid var(--border); background: var(--white); }
.proof > summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 1.35rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 700; letter-spacing: -0.01em;
}
.proof > summary::-webkit-details-marker { display: none; }
.proof > summary .sg-task small {
  display: block; font-weight: 400; color: var(--gray-mid);
  font-size: 0.8rem; margin-top: 0.2rem;
}
.proof > summary .open-tag {
  font-family: var(--mono); font-size: 0.7rem; color: var(--gray-mid);
  text-transform: lowercase; white-space: nowrap;
}
.proof[open] > summary { border-bottom: 1px solid var(--border); }
.proof[open] > summary .open-tag::after { content: " ▾"; }
.proof:not([open]) > summary .open-tag::after { content: " ▸"; }
.proof-body { padding: 1.35rem; }
.proof-label {
  font-family: var(--mono); font-size: 0.7rem; color: var(--gray-mid);
  margin-bottom: 0.6rem; text-transform: lowercase;
}
.proof-prompt {
  font-size: 1rem; color: var(--text-mute); line-height: 1.55;
  border-left: 3px solid var(--green); padding-left: 1rem; margin-bottom: 1.75rem;
}
.proof-docs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.75rem; }
.doc-chip {
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-mute);
  border: 1px solid var(--border); padding: 0.3rem 0.5rem; background: var(--surface);
}
.proof-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.proof-side { border: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.proof-side h4 { font-size: 0.95rem; font-weight: 700; padding: 0.85rem 1rem 0.4rem; }
.proof-side.lose h4 { color: var(--gray-mid); }
.proof-side.win h4 { color: var(--green-dark); }
.proof-stat { font-family: var(--mono); font-size: 0.7rem; color: var(--gray-mid); padding: 0 1rem 0.75rem; }
.doc-raw {
  font-family: var(--mono); font-size: 0.72rem; line-height: 1.5;
  color: var(--text-mute); white-space: pre-wrap; word-break: break-word;
  overflow-y: auto; max-height: 26rem; padding: 0.9rem 1rem;
  border-top: 1px solid var(--border); background: var(--surface);
}

@media (max-width: 780px) {
  .hero { min-height: auto; gap: 1.75rem; padding: 3rem 0 3.5rem; }
  .hero-visual { min-height: auto; }
  .hcp-plane { min-height: 400px; }
  .measure { grid-template-columns: 1fr 1fr; }
  .measure > div:nth-child(2n) { border-right: 0; }
  .measure > div:nth-child(-n+4) { border-bottom: 1px solid var(--border); }
  .doors, .diff, .grid-3, .flow, .access .wrap, .partner-grid,
  .pain-grid, .case-grid, .blog-grid { grid-template-columns: 1fr; }
  .top-links a:not(.join) { display: none; }
  .ledger { display: block; overflow-x: auto; }
  form { grid-template-columns: 1fr; }
  .proof-cols { grid-template-columns: 1fr; }
  .paper-item { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hcp-plane, .hit, .hcp-foot { animation: none; opacity: 1; transform: none; }
  .hcp-query::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Legacy aliases used by older page markup */
.atmosphere, .grid-floor { display: none; }

/* ——— Sadewa: pain-point alert cards ——— */
.pain-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.pain-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  background: var(--white);
}
.pain-card .icon {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  background: var(--green-soft);
  font-family: var(--mono); font-size: 1rem; font-weight: 600;
  color: var(--green-dark);
}
.pain-card h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: var(--track-tight);
  margin-bottom: 0.35rem;
}
.pain-card p { font-size: 0.92rem; color: var(--text-mute); line-height: 1.45; }

/* ——— Sadewa: case study cards ——— */
.case-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.case-card {
  --card-pad: 1.5rem;
  border: 1px solid var(--border);
  background: var(--white);
  padding: var(--card-pad);
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.2s;
}
.case-card:hover { border-color: var(--green); }
a.case-card { color: inherit; text-decoration: none; }
.case-card .case-tag {
  font-family: var(--mono); font-size: 0.75rem;
  color: var(--gray-mid); text-transform: lowercase;
}
.case-card .case-tag::before { content: "/"; }
.case-card h3 {
  font-size: 1.25rem; font-weight: 700; letter-spacing: var(--track-tight);
  line-height: 1.15;
}
.case-card p { font-size: 0.92rem; color: var(--text-mute); flex: 1; }
.case-metrics {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
}
.case-metrics span {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  padding: 0.35rem 0.55rem;
  background: var(--green-soft);
  color: var(--green-dark);
}

/* ——— Sadewa: FAQ accordion ——— */
.faq-list {
  margin-top: 2rem;
  border: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 1.35rem;
  font-weight: 700; letter-spacing: var(--track-tight);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); font-weight: 400; color: var(--gray-mid);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-mute); font-size: 0.95rem; line-height: 1.55;
  max-width: 62ch;
}

/* ——— Sadewa: blog cards ——— */
.blog-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.blog-card {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.35rem;
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--ink); }
a.blog-card { color: inherit; text-decoration: none; }
.blog-card .blog-meta {
  font-family: var(--mono); font-size: 0.72rem; color: var(--gray-mid);
  text-transform: lowercase;
}
.blog-card h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: var(--track-tight);
  line-height: 1.2;
}
.blog-card p { font-size: 0.88rem; color: var(--text-mute); flex: 1; }

/* ——— Sadewa: logo / trust strip ——— */
.logo-strip {
  padding: 2rem 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.logo-strip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem;
}
.logo-strip .sec-kicker { margin-bottom: 0; flex-shrink: 0; }
.logo-strip .logos {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  font-family: var(--mono); font-size: 0.8125rem;
  color: var(--gray-mid); text-transform: lowercase;
}

/* ——— Sadewa: testimonial band ——— */
.testimonial {
  padding: 4rem 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.testimonial blockquote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700; letter-spacing: var(--track-tight);
  line-height: 1.25; max-width: 28ch;
  color: var(--ink);
}
.testimonial cite {
  display: block; margin-top: 1.25rem;
  font-family: var(--mono); font-size: 0.8125rem;
  color: var(--gray-mid); font-style: normal;
}

/* ——— Compare page helpers ——— */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 1.5rem; }
.scroll-x .ledger { min-width: 640px; }
.grid-wide { min-width: 820px; }
.mark { font-family: var(--mono); font-weight: 600; text-align: center; font-size: 0.82rem; }
.mark.yes { color: var(--green-dark); }
.mark.no { color: var(--gray-mid); }
.mark.part { color: var(--text-mute); }
.ledger tr.fas .mark.yes { color: var(--green-dark); font-weight: 700; }
.ledger .sys { font-weight: 600; }
.ledger tr.fas .sys { color: var(--ink); }
.legend {
  display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem;
  font-size: 0.78rem; color: var(--gray-mid); font-family: var(--mono);
}
.legend span b { font-weight: 600; }
.legend .yes b { color: var(--green-dark); }
.legend .part b { color: var(--text-mute); }
.legend .no b { color: var(--gray-mid); }
.cats { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 2rem; }
.cat { background: var(--surface); padding: 1.5rem 1.6rem; }
.cat h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 0.2rem; font-weight: 700; }
.cat .who { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 0.7rem; }
.cat dl { margin: 0.9rem 0 0; }
.cat dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-mid); margin-top: 0.7rem; }
.cat dd { margin: 0.2rem 0 0; color: var(--text-mute); font-size: 0.93rem; line-height: 1.5; }
.cat dd.line { color: var(--ink); font-weight: 500; }
@media (min-width: 760px) { .cats { grid-template-columns: 1fr 1fr; } }

/* Inner page hero shell */
.page-shell-dark { background: var(--ink); }
.page-shell-dark .topbar { color: var(--white); }
.page-shell-dark .topbar .top-links a { color: var(--gray-light); }
.page-shell-dark .topbar .top-links a:hover,
.page-shell-dark .topbar .top-links a.active { color: var(--green); }

.sec-kicker { /* already defined */ }

/* ——— Site visuals (Pexels / pitch-visuals) ——— */
.visual-strip {
  padding: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.visual-strip .mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}
.visual-strip img {
  width: 100%;
  aspect-ratio: var(--ar-photo);
  object-fit: cover;
  display: block;
}
.pain-card.has-media {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.pain-card.has-media .pain-body {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem 1.25rem;
}
.pain-media img {
  width: 100%;
  aspect-ratio: var(--ar-card);
  object-fit: cover;
  display: block;
}

/* Card-top media bleeds to the card edges — the pull is derived from the
   card's own padding so the two can't drift apart. */
.case-media img {
  display: block;
  aspect-ratio: var(--ar-card);
  object-fit: cover;
  margin-inline: calc(var(--card-pad, 1.5rem) * -1);
  width: calc(100% + var(--card-pad, 1.5rem) * 2);
}
.case-card:has(.case-media) { padding-top: 0; overflow: hidden; }
.split-band {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split-band .split-media img {
  width: 100%;
  aspect-ratio: var(--ar-photo);
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
}
.media-band {
  margin-top: 2rem;
  border: 1px solid var(--border);
  overflow: hidden;
}
.media-band img {
  width: 100%;
  aspect-ratio: var(--ar-band);
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.page-hero-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.page-hero-split .hero-photo img {
  width: 100%;
  aspect-ratio: var(--ar-photo);
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.12);
}
.blog-card.has-media { padding: 0; overflow: hidden; }
.blog-media img {
  width: 100%;
  aspect-ratio: var(--ar-card);
  object-fit: cover;
  display: block;
}
.blog-card.has-media > *:not(.blog-media) { padding-inline: 1.35rem; }
.blog-card.has-media .blog-meta { padding-top: 1.1rem; }
.blog-card.has-media p:last-child { padding-bottom: 1.35rem; }
.testimonial.has-visual {
  position: relative;
  padding-block: 4rem;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.testimonial.has-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,19,19,0.94) 0%, rgba(19,19,19,0.72) 55%, rgba(19,19,19,0.35) 100%),
    var(--testimonial-bg) center / cover no-repeat;
}
.testimonial.has-visual blockquote,
.testimonial.has-visual cite {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.testimonial.has-visual cite { color: var(--gray-light); }
.img-credit {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-mid);
  letter-spacing: 0.04em;
}
@media (min-width: 860px) {
  .split-band { grid-template-columns: 1fr 1fr; }
  .page-hero-split { grid-template-columns: 1.1fr 0.9fr; }
}
@media (max-width: 640px) {
  .visual-strip .mosaic { grid-template-columns: repeat(2, 1fr); }
}

/* These grids are declared after the main 780px breakpoint, so their
   multi-column rules were winning on phones. Collapse them here, where
   source order lets the override stick. */
@media (max-width: 780px) {
  .pain-grid, .case-grid, .blog-grid { grid-template-columns: 1fr; }
}

/* ——— Pricing cards ——— */
.pricing-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.pricing-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--white);
  position: relative;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.15);
}
.pricing-card.highlight-reset {
  border: 2px solid var(--green);
  background: var(--green-soft);
}
.pricing-card.highlight-reset:hover {
  box-shadow: 0 16px 32px -12px rgba(152, 254, 0, 0.25);
}
.pricing-card.highlight-command {
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--green);
}
.pricing-card.highlight-command:hover {
  box-shadow: 0 16px 32px -12px rgba(152, 254, 0, 0.35);
}
.pricing-card .badge {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: lowercase;
  padding: 0.25rem 0.5rem;
  background: var(--green);
  color: var(--ink);
}
.pricing-card.highlight-command .badge {
  background: var(--white);
  color: var(--ink);
}
.pricing-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: var(--track-tight);
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: var(--track-tight);
  line-height: 1.1;
  margin: 1rem 0;
}
.pricing-card .price span {
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-mid);
}
.pricing-card.highlight-command .price span {
  color: var(--gray-light);
}
.pricing-card .desc {
  font-size: 0.95rem;
  color: var(--text-mute);
  margin-bottom: 1.5rem;
  min-height: 2.8rem;
  line-height: 1.4;
}
.pricing-card.highlight-command .desc {
  color: var(--gray-light);
}
.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}
.pricing-card li {
  font-size: 0.875rem;
  display: flex;
  gap: 0.5rem;
  align-items: start;
  line-height: 1.4;
}
.pricing-card li::before {
  content: "✓";
  color: var(--green-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card.highlight-reset li::before {
  color: var(--green-dark);
}
.pricing-card.highlight-command li::before {
  color: var(--green);
}
.pricing-card.highlight-command li {
  color: var(--gray-light);
}
.pricing-card .btn {
  width: 100%;
}
@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Download waiting screen — keep the person on a real page while the DMG starts */
main:has(.download-screen) { display: flex; flex-direction: column; }
.page-hero:has(.download-screen) {
  flex: 1;
  min-height: calc(100svh - 3.5rem);
}
.download-screen { max-width: 40rem; }
.download-track {
  margin-top: 2rem;
  height: 4px;
  width: min(100%, 22rem);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.download-bar {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--green);
  animation: download-slide 1.4s var(--ease) infinite;
}
@keyframes download-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.download-status {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--green);
}
.download-steps {
  margin-top: 2.5rem;
  padding-left: 1.15rem;
  color: var(--gray-light);
  max-width: 42ch;
  line-height: 1.55;
}
.download-steps li + li { margin-top: 0.45rem; }
.download-steps b { color: var(--white); font-weight: 500; }
