/* Simply Ai — landing page v3
   Lean homepage: agent demo hero, sticky service stack, pinned horizontal
   worker rail, industry overlay cards, blocked-colour bands.
   Bands re-declare the token set locally, so the manual theme toggle flips
   band colours (dark band ↔ light band) — no scroll-driven theme changes. */

body { transition: background .3s ease, color .3s ease; }

/* ---------- Blocked-colour bands ---------- */
/* In light theme this is a dark ink block; the toggle flips it to cream. */
.band-ink {
  --parchment:   #1A1816;
  --parchment-2: #201E1B;
  --parchment-3: #262320;
  --mist:        #1F1D1A;
  --ink:         #F2ECDC;
  --ink-2:       #E7DFCC;
  --dusk:        #BDB39B;
  --stone:       #8F8571;
  --stone-2:     #6E6555;
  --mute:        #514A3E;
  --clay:        #E08960;
  --clay-deep:   #C27146;
  --clay-soft:   #3A2A21;
  --moss:        #9DB087;
  --moss-soft:   #2B3228;
  --sakura:      #E6B8A6;
  --saffron:     #D89A6F;
  --surface:     #1F1D1A;
  --surface-2:   #272421;
  --line:        rgba(242, 236, 220, 0.08);
  --line-2:      rgba(242, 236, 220, 0.14);
  --line-strong: rgba(242, 236, 220, 0.22);
  background: var(--parchment);
  color: var(--ink);
  transition: background .3s ease, color .3s ease;
}
html[data-theme="dark"] .band-ink {
  --parchment:   #F4EDE1;
  --parchment-2: #EFE6D5;
  --parchment-3: #E8DEC9;
  --mist:        #F9F4EA;
  --ink:         #1A1816;
  --ink-2:       #2B2824;
  --dusk:        #4A4842;
  --stone:       #6B6862;
  --stone-2:     #8A857C;
  --mute:        #B5AE9F;
  --clay:        #B8552E;
  --clay-deep:   #9A4121;
  --clay-soft:   #E9C6B3;
  --moss:        #6B7A5A;
  --moss-soft:   #D6DAC8;
  --sakura:      #D9A89A;
  --saffron:     #C8895A;
  --surface:     #FAF5EA;
  --surface-2:   #F2EAD8;
  --line:        rgba(26, 24, 22, 0.09);
  --line-2:      rgba(26, 24, 22, 0.14);
  --line-strong: rgba(26, 24, 22, 0.22);
}

/* Band-safe primitives (specificity: loaded after dark.css, html-prefixed) */
html .band-ink .btn-primary,
html[data-theme="dark"] .band-ink .btn-primary {
  background: var(--clay); border-color: var(--clay); color: var(--parchment);
}
html .band-ink .btn-primary:hover,
html[data-theme="dark"] .band-ink .btn-primary:hover { background: var(--clay-deep); }
html .band-ink .btn-ghost,
html[data-theme="dark"] .band-ink .btn-ghost { color: var(--ink); border-color: var(--line-strong); background: transparent; }
html .band-ink .eyebrow-pill,
html[data-theme="dark"] .band-ink .eyebrow-pill {
  border-color: var(--line-2); color: var(--dusk); background: rgba(255,255,255,0.02);
}
html .band-ink .dots,
html[data-theme="dark"] .band-ink .dots {
  background-image: radial-gradient(circle, var(--line-strong) 1px, transparent 1.4px);
  opacity: 0.5;
}
.band-ink .h-display em, .band-ink .h-1 em { color: var(--sakura); }

/* Clay accent band — same bold block in both themes */
.band-clay {
  background: var(--clay);
  color: #FDF7EC;
  transition: background .3s ease;
}
html[data-theme="dark"] .band-clay { background: #A34A26; }

/* ---------- Rhythm ---------- */
.lp-pad { padding: 96px 0; }
.lp-pad-lg { padding: 140px 0; }
@media (max-width: 720px) { .lp-pad { padding: 64px 0; } .lp-pad-lg { padding: 96px 0; } }

.lp-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: 48px; }
.lp-head .lead { margin: 0; }

/* ---------- HERO ---------- */
.lp-hero { padding: 128px 0 64px; text-align: center; overflow: hidden; }
.lp-hero .h-display { margin: 20px auto 16px; max-width: 14ch; font-size: clamp(44px, 6vw, 84px); }
.lp-hero .lead { margin: 0 auto; max-width: 44ch; }
.lp-hero .hero-ctas { justify-content: center; margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.lp-hero-meta { margin-top: 16px; font-size: 12px; letter-spacing: .08em; color: var(--stone); }

/* ---------- AGENT DEMO ---------- */
.agent-demo {
  width: min(680px, calc(100% - 8px));
  margin: 44px auto 0;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  text-align: left;
  overflow: hidden;
  position: relative;
}
.ad-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.ad-id { display: flex; align-items: center; gap: 10px; }
.ad-avatar {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--clay); color: #FDF7EC;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.ad-name { font-family: 'Newsreader', serif; font-size: 15.5px; font-weight: 500; }
.ad-role { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.ad-status { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }

.ad-thread {
  padding: 20px 18px 8px;
  min-height: 248px;
  display: flex; flex-direction: column; gap: 12px;
}
.ad-msg {
  align-self: flex-end;
  max-width: 85%;
  background: var(--parchment-2);
  border: 1px solid var(--line);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
  font-size: 14px; line-height: 1.5; color: var(--ink);
  opacity: 0; transform: translateY(8px);
  animation: ad-in .45s var(--ease-out) forwards;
}
.ad-steps {
  align-self: flex-start;
  min-width: 240px; max-width: 85%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(8px);
  animation: ad-in .45s var(--ease-out) forwards;
}
.ad-step {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--stone);
  transition: color .3s var(--ease);
}
.ad-step .tick {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1.4px solid var(--line-strong);
  display: inline-grid; place-items: center; flex: none;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.ad-step .tick svg { opacity: 0; transform: scale(.4); transition: opacity .25s var(--ease), transform .3s var(--ease-out); }
.ad-step.doing { color: var(--ink); }
.ad-step.doing .tick { border-color: var(--clay); border-style: dashed; animation: ad-spin 1.4s linear infinite; }
.ad-step.done { color: var(--dusk); }
.ad-step.done .tick { background: var(--moss); border-color: var(--moss); animation: none; }
.ad-step.done .tick svg { opacity: 1; transform: scale(1); }
@keyframes ad-spin { to { transform: rotate(360deg); } }

.ad-result {
  align-self: flex-start;
  max-width: 92%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  border-radius: 14px;
  padding: 13px 15px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(8px);
  animation: ad-in .45s var(--ease-out) forwards;
}
.ad-result-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--dusk);
  background: var(--parchment-2);
}
.ad-chip.accent { background: var(--clay); border-color: var(--clay); color: #FDF7EC; }
html[data-theme="dark"] .ad-chip.accent { color: #1A1816; }
.ad-approve {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--stone);
}
.ad-approve .pulse-dot { width: 6px; height: 6px; }
@keyframes ad-in { to { opacity: 1; transform: translateY(0); } }

.ad-input {
  display: flex; align-items: center; gap: 12px;
  margin: 10px 14px 14px;
  padding: 12px 12px 12px 16px;
  background: var(--parchment-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
}
.ad-typed {
  flex: 1; min-height: 21px;
  font-size: 14px; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ad-typed:empty::before { content: "Give your worker a task…"; color: var(--stone-2); }
.ad-caret {
  width: 1.5px; height: 16px; background: var(--clay);
  margin-left: -8px; flex: none;
  animation: blink 1.1s steps(2) infinite;
}
.ad-send {
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; cursor: default;
  background: var(--clay); color: #FDF7EC;
  display: grid; place-items: center;
  transition: transform .18s var(--ease), background .3s var(--ease);
}
html[data-theme="dark"] .ad-send { color: #1A1816; }
.ad-send.pressed { transform: scale(.82); background: var(--clay-deep); }

/* ---------- WORKS-WITH STRIP ---------- */
.lp-works { padding: 34px 0 10px; }
.lp-works .eyebrow { display: block; text-align: center; margin-bottom: 18px; }

/* ---------- STEP STRIP (find → build → run) ---------- */
.step-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin: 0 0 56px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-2);
}
.step-strip .st { display: flex; gap: 12px; align-items: baseline; }
.step-strip .st .mono { color: var(--clay); font-size: 12px; }
.step-strip .st h4 { font-family: 'Newsreader', serif; font-size: 18px; font-weight: 500; display: inline; }
.step-strip .st p { display: inline; font-size: 13.5px; color: var(--dusk); margin-left: 6px; }
@media (max-width: 860px) { .step-strip { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- STICKY OVERLAY STACK (shared) ---------- */
.stack { display: grid; gap: 20px; }
.stack-card {
  position: sticky;
  top: calc(92px + var(--i, 0) * 18px);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 44px;
  align-items: center;
  min-height: 340px;
}
.stack-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: .14em; color: var(--clay);
  display: block; margin-bottom: 14px;
}
.stack-card h3 { font-family: 'Newsreader', serif; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.016em; font-weight: 400; }
.stack-card .sc-line { color: var(--dusk); font-size: 15.5px; line-height: 1.6; margin-top: 12px; max-width: 44ch; }
.stack-card .sc-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.stack-card .sc-go {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-size: 14px; font-weight: 500; color: var(--clay);
  text-decoration: none;
}
.stack-card .sc-go:hover { color: var(--clay-deep); }
.stack-card .flow-viz { margin-top: 0; }
@media (max-width: 860px) {
  .stack-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; min-height: 0; }
}

/* Quiet service links row */
.lp-svc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.lp-svc-links a {
  font-size: 13px; text-decoration: none; color: var(--dusk);
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.lp-svc-links a:hover { color: var(--ink); border-color: var(--line-strong); }

/* ---------- WORKERS — pinned horizontal rail ---------- */
.hs-wrap { height: 300vh; }
.hs-pin {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  gap: 44px;
}
.hs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hs-hint { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); display: inline-flex; align-items: center; gap: 10px; }
.hs-hint .hs-line { width: 54px; height: 1px; background: var(--line-strong); display: inline-block; }
.hs-track {
  display: flex; gap: 16px;
  padding-left: max(32px, calc((100vw - 1240px) / 2 + 32px));
  padding-right: 64px;
  will-change: transform;
}
.hs-card {
  flex: none;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ink);
  transition: border-color .25s var(--ease), transform .3s var(--ease);
}
.hs-card:hover { border-color: var(--clay); transform: translateY(-4px); }
.hs-card .wk-avatar { width: 42px; height: 42px; border-radius: 12px; }
.hs-card h3 { font-family: 'Newsreader', serif; font-size: 21px; font-weight: 500; }
.hs-card .hs-line1 { font-size: 13px; color: var(--dusk); line-height: 1.5; min-height: 40px; }
.hs-card .hs-metric {
  margin-top: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--clay);
  border-top: 1px dashed var(--line-2);
  padding-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.hs-card .hs-metric svg { color: var(--stone-2); transition: transform .25s var(--ease); }
.hs-card:hover .hs-metric svg { transform: translateX(3px); color: var(--clay); }
.wk-avatar {
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  background: var(--clay-soft); color: var(--sakura);
  width: 38px; height: 38px; border-radius: 11px; flex: none;
}
.hs-card[data-tint="moss"] .wk-avatar { background: var(--moss-soft); color: var(--moss); }

/* Mobile / reduced motion: native swipe rail */
@media (max-width: 860px) {
  .hs-wrap { height: auto; }
  .hs-pin { position: static; height: auto; overflow: visible; padding: 0; }
  .hs-hint { display: none; }
  .hs-track {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-left: 24px; padding-right: 24px; padding-bottom: 8px;
  }
  .hs-card { scroll-snap-align: start; width: 260px; }
}

/* ---------- INDUSTRY OVERLAY CARDS ---------- */
.ind-card .ch-head { margin-bottom: 18px; }
.ind-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ch-row { margin-bottom: 16px; }
.ch-row:last-child { margin-bottom: 0; }
.ch-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--dusk); margin-bottom: 7px; }
.ch-label .mono { font-size: 11px; color: var(--stone); }
.ch-track { display: grid; gap: 5px; }
.ch-bar { height: 9px; border-radius: 5px; width: 0; transition: width 1.1s var(--ease-out); }
.ch-bar.before { background: var(--mute); opacity: .55; }
.ch-bar.after { background: var(--clay); }
.ch-legend { display: flex; gap: 16px; font-size: 12px; color: var(--stone); }
.ch-legend .dot { width: 8px; height: 8px; border-radius: 3px; display: inline-block; margin-right: 6px; }
.ch-legend .d-before { background: var(--mute); }
.ch-legend .d-after { background: var(--clay); }
.ch-panel { background: var(--parchment-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }

/* ---------- TRUST / APPROVAL (band-safe, variable-driven) ---------- */
.trust-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .trust-wrap { grid-template-columns: 1fr; gap: 36px; } }
.trust-points { display: grid; margin-top: 30px; }
.trust-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.trust-item .mono { color: var(--clay); font-size: 12px; padding-top: 2px; }
.trust-item h4 { font-family: 'Newsreader', serif; font-size: 18px; font-weight: 500; }
.trust-item p { font-size: 13.5px; color: var(--dusk); line-height: 1.55; margin-top: 4px; max-width: 52ch; }

.tr-frame {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: 22px;
}
.tr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tr-item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 15px;
  margin-bottom: 10px;
}
.tr-item:last-child { margin-bottom: 0; }
.tr-row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.tr-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--clay-soft); color: var(--clay-deep);
  padding: 3px 8px; border-radius: 999px;
}
.band-ink .tr-pill { color: var(--sakura); }
.tr-pill.muted { background: transparent; border: 1px solid var(--line-2); color: var(--stone); }
.tr-pill.warn { background: transparent; border: 1px solid var(--saffron); color: var(--saffron); }
.tr-body { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.tr-state { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--stone); margin-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.tr-state .ok { color: var(--moss); }
.tr-state .block { color: var(--clay); }
.tr-approve {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  background: var(--clay); color: var(--parchment);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- FUNDING — clay band ---------- */
.fund3 { text-align: left; }
.fund3 .eyebrow-pill { border-color: rgba(253,247,236,0.35); color: #FDF7EC; background: rgba(253,247,236,0.08); }
.fund3 .eyebrow-pill .dot { background: #FDF7EC; }
.fund3 h2 { color: #FDF7EC; margin-top: 18px; max-width: 20ch; }
.fund3 h2 em { color: #F7DCC8; }
.fund3 .lead { color: rgba(253,247,236,0.85); margin-top: 16px; max-width: 52ch; }
.fund3-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .fund3-grid { grid-template-columns: 1fr; gap: 36px; } }
.fund3-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fund3 .btn-ink {
  background: #1A1816; color: #F2ECDC; border: 1px solid #1A1816;
}
.fund3 .btn-ink:hover { background: #000; }
.fund3 .btn-outline {
  background: transparent; color: #FDF7EC; border: 1px solid rgba(253,247,236,0.45);
}
.fund3 .btn-outline:hover { background: rgba(253,247,236,0.1); }
.fund3-stats { display: grid; }
.fund3-stats .row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 14px 0; border-top: 1px dashed rgba(253,247,236,0.3);
  font-size: 13px;
}
.fund3-stats .row:first-child { border-top: 0; padding-top: 0; }
.fund3-stats .k { color: rgba(253,247,236,0.7); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.fund3-stats .v { color: #FDF7EC; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; text-align: right; }

/* ---------- PRICING (compact) ---------- */
.price2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .price2-grid { grid-template-columns: 1fr; } }
.price2-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.price2-card.featured { border-color: var(--clay); box-shadow: var(--shadow-2); }
.price2-badge {
  position: absolute; top: -11px; left: 26px;
  background: var(--clay); color: #FDF7EC;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
html[data-theme="dark"] .price2-badge { color: #1A1816; }
.price2-name { font-family: 'Newsreader', serif; font-size: 22px; font-weight: 500; }
.price2-amount { font-family: 'Newsreader', serif; font-size: 40px; letter-spacing: -0.02em; margin-top: 8px; }
.price2-amount .mono { font-size: 16px; vertical-align: 14px; color: var(--stone); margin-right: 2px; }
.price2-amount .per { font-family: 'Inter Tight', sans-serif; font-size: 13px; color: var(--stone); margin-left: 4px; }
.price2-line { font-size: 13.5px; color: var(--dusk); line-height: 1.55; margin: 6px 0 18px; }
.price2-card .btn { justify-content: center; margin-top: auto; }

/* ---------- STATS (results counters) ---------- */
.lp-stats { display: grid; margin-top: 34px; }
.lp-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px dashed var(--line-2); }
.lp-stat:first-child { border-top: 0; }
.lp-stat .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.lp-stat .v { font-family: 'JetBrains Mono', monospace; font-size: 20px; color: var(--ink); }
.lp-stat .v em { font-style: normal; color: var(--clay); }

/* ---------- FINAL CTA ---------- */
.final2 { text-align: center; }
.final2 .h-display { max-width: 13ch; margin: 18px auto; }
.final2 .lead { margin: 0 auto; max-width: 42ch; }
.final2-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.final2-meta { margin-top: 20px; font-size: 12px; letter-spacing: .06em; color: var(--stone); }

/* ---------- Slide-in reveals ---------- */
.reveal-x {
  opacity: 0; transform: translateX(-44px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-x.from-right { transform: translateX(44px); }
.reveal-x.in { opacity: 1; transform: translateX(0); }

/* ---------- RUN CARDS — delegation showcase ---------- */
#runs { overflow: hidden; overflow-x: clip; } /* pre-reveal slide-in offsets must not widen the page */
.run-list { display: grid; gap: 18px; }
.run-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  width: min(920px, 100%);
}
.run-card.from-right { justify-self: end; }
.run-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; grid-column: 1 / -1; border-bottom: 1px dashed var(--line-2); padding-bottom: 12px; }
.run-id { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.run-status {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--saffron); color: var(--saffron);
}
.run-status.ok { border-color: var(--moss); color: var(--moss); }
.run-task { font-family: 'Newsreader', serif; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.012em; }
.run-task::before { content: '“'; color: var(--clay); }
.run-task::after { content: '”'; color: var(--clay); }
.run-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; align-content: center; }
.run-steps li {
  font-size: 13px; color: var(--dusk); line-height: 1.45;
  display: flex; gap: 10px; align-items: baseline;
}
.run-steps li::before {
  content: '✓';
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--moss); flex: none;
}
.run-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
@media (max-width: 800px) {
  .run-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .run-card.from-right { justify-self: stretch; }
}

/* ---------- FUNDING — programme wordmarks ---------- */
.fund3-progs { margin-top: 30px; }
.fund3-progs .k {
  display: block;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(253,247,236,0.6); margin-bottom: 10px;
}
.fund3-progs .marks { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.fund3-progs .mark {
  font-family: 'Newsreader', serif; font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em; color: #FDF7EC; white-space: nowrap;
}
.fund3-progs .mark small {
  display: block; font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(253,247,236,0.55); margin-top: 2px;
}
.fund3-progs .mark-sep { width: 1px; height: 30px; background: rgba(253,247,236,0.3); align-self: center; }

/* ---------- PRICING — consultation-first ---------- */
.pv-consult {
  background: var(--surface);
  border: 1.5px solid var(--clay);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 18px;
  position: relative;
}
.pv-badge {
  position: absolute; top: -12px; left: 40px;
  background: var(--clay); color: #FDF7EC;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
html[data-theme="dark"] .pv-badge { color: #1A1816; }
.pv-consult h3 { font-family: 'Newsreader', serif; font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; letter-spacing: -0.016em; }
.pv-consult .pv-line { color: var(--dusk); font-size: 15px; line-height: 1.6; margin-top: 10px; max-width: 52ch; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pv-right { text-align: center; display: grid; gap: 14px; justify-items: center; }
.pv-price { font-family: 'Newsreader', serif; font-size: 64px; letter-spacing: -0.03em; line-height: 1; }
.pv-price .mono { font-size: 22px; vertical-align: 26px; color: var(--stone); }
.pv-price .per { font-family: 'Inter Tight', sans-serif; font-size: 13px; color: var(--stone); display: block; margin-top: 6px; letter-spacing: 0; }
@media (max-width: 860px) { .pv-consult { grid-template-columns: 1fr; padding: 32px 26px; } .pv-right { justify-items: start; text-align: left; } }

.pv-fund-note {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px; color: var(--dusk);
}
.pv-fund-note a { color: var(--clay); text-decoration: none; font-weight: 500; }
.pv-fund-note a:hover { color: var(--clay-deep); }

/* ---------- Scroll-driven card settle (modern browsers) ---------- */
@supports (animation-timeline: view()) {
  .stack-card {
    animation: stack-settle linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes stack-settle {
    from { transform: translateY(28px) scale(.985); }
    to { transform: translateY(0) scale(1); }
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ad-caret, .ad-step.doing .tick { animation: none; }
  .ch-bar { transition: none; }
  .reveal, .reveal-x { opacity: 1; transform: none; transition: none; }
  .hs-wrap { height: auto; }
  .hs-pin { position: static; height: auto; overflow: visible; }
  .hs-track { overflow-x: auto; transform: none !important; }
  @supports (animation-timeline: view()) {
    .stack-card { animation: none; }
  }
}
