/* ============================================================
   Page-specific styles
   ============================================================ */

/* ---------- FEATURES PAGE (capability matrix + deep cards) ---------- */
.features-intro { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: end; padding-bottom: var(--stack-6); border-bottom: 1px solid var(--marvis-line); }
@media (max-width: 1023px) { .features-intro { grid-template-columns: 1fr; gap: 24px; } }

.matrix {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: var(--stack-4);
}
@media (max-width: 1023px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .matrix { grid-template-columns: 1fr; } }
.matrix__cell {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.matrix__cell .id { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.matrix__cell .name { font-size: 13px; font-weight: 500; color: var(--marvis-deep); line-height: 1.3; }
.matrix__cell.is-vis { background: rgba(139,92,246,0.04); border-color: rgba(139,92,246,0.18); }
.matrix__cell.is-part { background: rgba(245,158,11,0.04); border-color: rgba(245,158,11,0.18); }
.matrix__cell .status { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

.feature-deep {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: var(--card-pad);
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  margin-bottom: 24px;
}
.feature-deep__head { display: flex; flex-direction: column; gap: 16px; }
.feature-deep__id { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; }
.feature-deep__h { font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--marvis-deep); }
.feature-deep__body { color: var(--marvis-mid); font-size: 0.9375rem; line-height: 1.6; }
.feature-deep__body p + p { margin-top: 12px; }
.feature-deep__panel {
  background: var(--marvis-deep); color: var(--cream);
  border-radius: var(--r-card);
  padding: 24px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.65;
  overflow: auto;
}
.feature-deep__panel .com { color: var(--marvis-soft); }
.feature-deep__panel .kw { color: var(--accent-mute); }
.feature-deep__panel .str { color: #6EE7B7; }
.feature-deep__panel .ok { color: var(--state-full); }
@media (max-width: 768px) { .feature-deep { grid-template-columns: 1fr; } }

.feature-deep.flip > .feature-deep__head { order: 2; }
.feature-deep.flip > .feature-deep__panel { order: 1; }

/* ---------- PRICING PAGE additions ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: var(--stack-5); }
@media (max-width: 768px) { .faq { grid-template-columns: 1fr; } }
.faq__item {
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
}
.faq__item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--marvis-deep); }
.faq__item p { font-size: 14px; color: var(--marvis-mid); line-height: 1.55; }
.faq__item p + p { margin-top: 8px; }

/* ---------- BLOG INDEX ---------- */
.blog-list { display: flex; flex-direction: column; gap: 16px; }
.blog-item {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--marvis-line);
  text-decoration: none; color: inherit;
  transition: background-color .15s ease;
}
.blog-item:hover { text-decoration: none; }
.blog-item:hover h3 { color: var(--accent); }
.blog-item__date { font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute); letter-spacing: 0.04em; }
.blog-item__date .kind { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.blog-item h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--marvis-deep); transition: color .15s ease; margin-bottom: 6px; }
.blog-item p { font-size: 14px; color: var(--marvis-mute); line-height: 1.5; }
.blog-item__read { font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute); white-space: nowrap; }
@media (max-width: 768px) {
  .blog-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .blog-item__read { display: none; }
}

.blog-filter { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.blog-filter button {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--marvis-line); background: var(--paper);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--marvis-mute); cursor: pointer;
  transition: all .15s ease;
  letter-spacing: 0.04em;
}
.blog-filter button:hover { color: var(--marvis-deep); border-color: var(--marvis-mute); }
.blog-filter button.is-active { background: var(--marvis-deep); color: var(--cream); border-color: var(--marvis-deep); }

/* ---------- BLOG POST ---------- */
.post-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px) 1fr;
  gap: 64px;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
  padding-top: 48px;
  padding-bottom: 80px;
}
@media (max-width: 1199px) {
  .post-wrap { grid-template-columns: 1fr; gap: 32px; max-width: 760px; }
  .post-toc { position: static !important; max-width: none !important; }
}

.post-header { grid-column: 1 / -1; margin-bottom: var(--stack-6); }
.post-header .back { font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.post-header .back:hover { color: var(--accent); text-decoration: none; }
.post-header .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.post-header .badges .b { padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.post-header .badges .b--type { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.post-header .badges .b--date { background: var(--cream-warm); color: var(--marvis-mid); border: 1px solid var(--marvis-line); }
.post-header .badges .b--arxiv { background: var(--marvis-deep); color: var(--cream); }
.post-header h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 20px; max-width: 22ch; }
.post-header .meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 13px; color: var(--marvis-mute); align-items: center; }
.post-header .meta .author { color: var(--marvis-deep); font-weight: 600; }
.post-header .meta .pipe { color: var(--marvis-line); }

/* TOC */
.post-toc {
  position: sticky; top: 96px;
  align-self: start;
  font-size: 13px;
  max-width: 240px;
}
.post-toc__head { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--marvis-line); }
.post-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 4px; }
.post-toc li { counter-increment: toc; }
.post-toc a {
  display: flex; gap: 8px;
  padding: 6px 10px; border-radius: 6px;
  color: var(--marvis-mute); font-size: 13px;
  border-left: 2px solid transparent;
  line-height: 1.35;
}
.post-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 10px; color: var(--marvis-soft); flex: 0 0 22px; padding-top: 2px; }
.post-toc a:hover { color: var(--marvis-deep); background: var(--marvis-line); text-decoration: none; }
.post-toc a.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-tint); font-weight: 500; }

/* Prose */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--marvis-base); font-feature-settings: "ss01"; }
.prose > * + * { margin-top: 24px; }
.prose h2 { font-size: 1.625rem; font-weight: 600; line-height: 1.25; margin-top: 56px; color: var(--marvis-deep); letter-spacing: -0.015em; padding-top: 24px; border-top: 1px solid var(--marvis-line); }
.prose h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-top: 36px; color: var(--marvis-deep); }
.prose h4 { font-size: 1.0625rem; font-weight: 600; margin-top: 24px; color: var(--marvis-deep); font-family: var(--font-mono); letter-spacing: 0.02em; }
.prose p { color: var(--marvis-base); }
.prose strong { color: var(--marvis-deep); font-weight: 600; }
.prose em { font-family: var(--font-serif); font-style: italic; color: var(--marvis-base); }
.prose a { color: var(--accent); border-bottom: 1px dotted var(--accent); }
.prose a:hover { text-decoration: none; background: var(--accent-tint); }
.prose code:not(pre code) {
  background: var(--accent-tint); color: var(--accent);
  padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.875em;
}
.prose pre {
  background: var(--marvis-deep);
  color: var(--cream);
  padding: 20px 24px;
  border-radius: var(--r-card);
  overflow: auto;
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.6;
  position: relative;
}
.prose pre code { background: transparent; color: inherit; padding: 0; font-size: inherit; }
.prose pre::before {
  content: attr(data-lang);
  position: absolute; top: 10px; right: 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
}
.prose pre .com { color: var(--marvis-soft); }
.prose pre .kw  { color: var(--accent-mute); }
.prose pre .str { color: #6EE7B7; }
.prose pre .num { color: #FCA5A5; }
.prose pre .ok  { color: var(--state-full); }
.prose blockquote {
  border-left: 3px solid var(--accent-mute);
  padding: 8px 0 8px 20px;
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: 1.125rem; color: var(--marvis-mid); line-height: 1.5;
}
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-top: 8px; line-height: 1.65; }
.prose li::marker { color: var(--accent); }
.prose hr { border: 0; border-top: 1px solid var(--marvis-line); margin: 40px 0; }

/* Figure (KG mock, charts) */
.prose figure {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  padding: 24px;
  margin: 32px 0;
}
.prose figure figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute); margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--marvis-line); letter-spacing: 0.04em; }
.prose figure figcaption .lbl { color: var(--accent); font-weight: 600; }

.callout {
  padding: 20px 24px;
  background: var(--cream-warm);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-card);
  margin: 24px 0;
}
.callout h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.callout p { font-size: 14px; color: var(--marvis-mid); line-height: 1.55; margin-top: 0; }
.callout p + p { margin-top: 8px; }

/* Citation footer */
.cite-block {
  background: var(--marvis-deep); color: var(--cream);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-top: 56px;
}
.cite-block h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-mute); margin-bottom: 12px; }
.cite-block .bibtex {
  background: rgba(0,0,0,0.3);
  padding: 16px 18px;
  border-radius: 8px;
  font-family: var(--font-mono); font-size: 12.5px; color: rgba(245, 240, 232, 0.85); line-height: 1.6;
  white-space: pre; overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 12px;
}
.cite-block .actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.cite-block .actions .btn--outline { color: var(--cream); border-color: rgba(255,255,255,0.25); }
.cite-block .actions .btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); color: var(--cream); }

.related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 56px;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  padding: 20px;
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  background: var(--paper);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .15s ease, transform .15s ease;
}
.related-card:hover { border-color: var(--accent-mute); transform: translateY(-2px); text-decoration: none; }
.related-card .kind { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.related-card h5 { font-size: 0.9375rem; font-weight: 600; color: var(--marvis-deep); line-height: 1.35; }
.related-card .read { font-family: var(--font-mono); font-size: 11px; color: var(--marvis-mute); margin-top: auto; padding-top: 8px; }

/* ============================================================
   ASSESSMENT SLIDER (Grimaldi /valutazione-style)
   ============================================================ */
.assessment {
  max-width: 880px; margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.assessment__progress { height: 4px; background: var(--marvis-line); position: relative; }
.assessment__progress__bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); transition: width .35s cubic-bezier(0.2, 0, 0, 1); width: 0%; }

.assessment__head {
  padding: 36px clamp(28px, 4vw, 48px) 24px;
  border-bottom: 1px solid var(--marvis-line);
}
.assessment__step-id { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.assessment__step-id .of { color: var(--marvis-mute); margin-left: 8px; }
.assessment__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; margin-bottom: 8px; max-width: 22ch; }
.assessment__head .help { color: var(--marvis-mute); font-size: 0.9375rem; }

.assessment__body { padding: 40px clamp(28px, 4vw, 48px); }

.q-slider { display: flex; flex-direction: column; gap: 24px; }
.q-slider__readout {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--marvis-line);
}
.q-slider__readout .num { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.025em; color: var(--marvis-deep); line-height: 1; }
.q-slider__readout .unit { font-family: var(--font-mono); font-size: 14px; color: var(--marvis-mute); letter-spacing: 0.04em; }
.q-slider__readout .label-chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; padding: 6px 12px; background: var(--accent-tint); color: var(--accent); border-radius: 999px; }

.q-slider__range { position: relative; height: 36px; }
.q-slider__range input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; background: transparent;
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  margin: 0;
}
.q-slider__range__track {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  height: 6px; background: var(--marvis-line); border-radius: 999px;
  overflow: hidden;
}
.q-slider__range__track__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent);
  width: 0%;
  transition: width .15s ease;
}
.q-slider__range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: white; border: 3px solid var(--accent);
  box-shadow: 0 2px 6px rgba(28, 22, 16, 0.18);
  cursor: pointer;
  margin-top: 0;
  transition: transform .15s ease;
}
.q-slider__range input[type=range]:hover::-webkit-slider-thumb,
.q-slider__range input[type=range]:focus::-webkit-slider-thumb { transform: scale(1.1); }
.q-slider__range input[type=range]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: white; border: 3px solid var(--accent);
  box-shadow: 0 2px 6px rgba(28, 22, 16, 0.18);
  cursor: pointer;
}
.q-slider__range input[type=range]::-moz-range-track { background: transparent; }
.q-slider__range__legend { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--marvis-mute); letter-spacing: 0.04em; }

.q-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 600px) { .q-options { grid-template-columns: 1fr; } }
.q-options label {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  cursor: pointer; transition: all .15s ease;
}
.q-options label:hover { border-color: var(--accent-mute); background: var(--accent-tint); }
.q-options label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.q-options input { position: absolute; opacity: 0; pointer-events: none; }
.q-options .bullet { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--marvis-soft); transition: all .15s ease; flex: 0 0 18px; }
.q-options label:has(input:checked) .bullet { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--accent); }
.q-options .txt { display: flex; flex-direction: column; gap: 2px; }
.q-options .txt b { font-size: 14px; font-weight: 600; color: var(--marvis-deep); }
.q-options .txt span { font-size: 12px; color: var(--marvis-mute); }

.assessment__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--marvis-line);
  background: var(--cream);
}
.assessment__steps {
  display: flex; gap: 6px;
}
.assessment__steps .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--marvis-line);
  transition: all .2s ease;
}
.assessment__steps .dot.is-done { background: var(--accent); }
.assessment__steps .dot.is-active { background: var(--accent); transform: scale(1.4); }
.assessment__foot__actions { display: flex; gap: 12px; }

.assessment__step { display: none; }
.assessment__step.is-active { display: block; }

/* Result step */
.result-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
@media (max-width: 768px) { .result-card { grid-template-columns: 1fr; } }
.result-card__rec {
  background: linear-gradient(180deg, var(--marvis-deep), var(--marvis-base));
  color: var(--cream);
  padding: 32px;
  border-radius: var(--r-lg);
}
.result-card__rec .badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-mute); margin-bottom: 12px; display: inline-block; }
.result-card__rec h3 { color: var(--cream); font-size: 1.75rem; margin-bottom: 16px; }
.result-card__rec p { color: rgba(245, 240, 232, 0.85); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.result-card__rec .btn { margin-top: 8px; }
.result-card__score { display: flex; flex-direction: column; gap: 16px; }
.score-bar { display: flex; flex-direction: column; gap: 6px; }
.score-bar__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.score-bar__head .name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--marvis-mute); text-transform: uppercase; }
.score-bar__head .val { font-family: var(--font-mono); font-size: 13px; color: var(--marvis-deep); font-weight: 600; }
.score-bar__track { height: 6px; background: var(--marvis-line); border-radius: 999px; overflow: hidden; }
.score-bar__fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .6s cubic-bezier(0.2, 0, 0, 1); width: 0; }
.score-bar__fill.low    { background: var(--state-absent); }
.score-bar__fill.mid    { background: var(--state-partial); }
.score-bar__fill.high   { background: var(--state-full); }
.score-bar__fill.accent { background: var(--accent); }

/* ============================================================
   HERO VARIANT 2 — split with code panel (uses .console-panel)
   ============================================================ */
.console-panel {
  background: linear-gradient(180deg, var(--marvis-deep), var(--marvis-base));
  border: 1px solid var(--marvis-base);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  font-family: var(--font-mono);
  position: relative;
}
.console-panel__chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}
.console-panel__lights { display: flex; gap: 6px; }
.console-panel__lights span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.console-panel__title { font-family: var(--font-mono); font-size: 11px; color: rgba(245, 240, 232, 0.45); letter-spacing: 0.06em; }
.console-panel__body { padding: 20px 24px; color: rgba(245, 240, 232, 0.9); font-size: 13.5px; line-height: 1.75; }
.console-panel__body .prompt { color: var(--accent-mute); }
.console-panel__body .com { color: var(--marvis-soft); }
.console-panel__body .kw  { color: var(--accent-mute); }
.console-panel__body .str { color: #6EE7B7; }
.console-panel__body .ok  { color: var(--state-full); }
.console-panel__body .ln { display: block; }
.console-panel__body .ln.cursor::after {
  content: ""; display: inline-block; width: 8px; height: 1.2em; background: var(--cream); margin-left: 4px; vertical-align: text-bottom;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* ============================================================
   MISC
   ============================================================ */
.kbd {
  display: inline-block; padding: 2px 6px;
  font-family: var(--font-mono); font-size: 11px;
  background: var(--marvis-line); color: var(--marvis-mid);
  border-radius: 4px; border-bottom: 2px solid var(--marvis-soft);
}
.divider { height: 1px; background: var(--marvis-line); margin: var(--stack-6) 0; }

.notice {
  display: flex; gap: 14px;
  padding: 16px 18px;
  background: var(--cream-warm);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  font-size: 14px; color: var(--marvis-mid); line-height: 1.5;
}
.notice strong { color: var(--marvis-deep); }

/* badges grid for permissions list (OSS page-style) */
.perms { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .perms { grid-template-columns: 1fr; } }
.perm { display: flex; gap: 10px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--marvis-line); border-radius: 8px; font-size: 14px; color: var(--marvis-mid); }
.perm.ok::before { content: "✓"; color: var(--state-full); font-weight: 700; }
.perm.no::before { content: "✗"; color: var(--state-absent); font-weight: 700; }


/* ============================================================
   v2 — CEO-frame components
   ============================================================ */

/* --- thesis hero, asymmetric --- */
.thesis-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 80px);
}
@media (max-width: 1023px) {
  .thesis-hero { grid-template-columns: 1fr; gap: 48px; }
}
.thesis-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.thesis-eyebrow::after { content: ""; width: 48px; height: 1px; background: var(--accent); }
.thesis-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--marvis-deep);
  margin-bottom: 32px;
  text-wrap: pretty;
}
.thesis-h1 .delta {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "ss01";
  color: var(--accent);
}
.thesis-h1 .strike {
  position: relative;
  color: var(--marvis-mute);
  font-weight: 500;
}
.thesis-h1 .strike::after {
  content: "";
  position: absolute; left: -2%; right: -2%; top: 52%;
  border-top: 4px solid var(--accent);
  transform: rotate(-3deg);
}
.thesis-h1 .ital {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--marvis-deep);
  letter-spacing: -0.02em;
}
.thesis-sub {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--marvis-mute);
  max-width: 48ch;
  line-height: 1.5;
  margin-bottom: 36px;
}
.thesis-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* small founder-line under CTA */
.founder-line {
  margin-top: 28px;
  display: flex; gap: 12px; align-items: center;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--marvis-mute);
  letter-spacing: 0.04em;
}
.founder-line .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.founder-line strong { color: var(--marvis-deep); font-weight: 600; font-family: var(--font-body); font-size: 13px; letter-spacing: 0; }

/* --- org-split visual (right side of hero) --- */
.org-split {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.org-split__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--marvis-mute);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.org-split__head .dot-grp { display: flex; gap: 5px; }
.org-split__head .dot-grp span { width: 8px; height: 8px; border-radius: 50%; background: var(--marvis-line); }
.org-split__head .dot-grp span:first-child { background: var(--accent); }

.org-split__cols {
  display: grid; grid-template-columns: 1fr 32px 1fr; gap: 14px; align-items: stretch;
}
.org-side {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px 12px;
  background: var(--cream);
  border-radius: var(--r-card);
  border: 1px solid var(--marvis-line);
}
.org-side__lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marvis-mute); margin-bottom: 4px; text-align: center; }
.org-side__count { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--marvis-deep); text-align: center; letter-spacing: -0.02em; }
.org-side__count.is-accent { color: var(--accent); }
.org-side__people { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; min-height: 72px; align-items: flex-start; padding-top: 4px; }
.org-side__people i {
  display: block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--marvis-soft);
}
.org-side.right .org-side__people i { background: var(--marvis-deep); }
.org-side.right .org-side__people i.agent { background: var(--accent); width: 6px; height: 6px; border-radius: 1px; }
.org-side__meta { font-family: var(--font-mono); font-size: 10px; color: var(--marvis-mute); text-align: center; padding-top: 4px; border-top: 1px dashed var(--marvis-line); margin-top: 4px; letter-spacing: 0.04em; }
.org-side.right .org-side__meta { color: var(--green); }

.org-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: var(--font-mono); font-size: 16px;
}

/* footer of org-split */
.org-split__cap {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--marvis-line);
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 11px; color: var(--marvis-mute);
  letter-spacing: 0.04em;
}
.org-split__cap b { color: var(--marvis-deep); font-weight: 600; font-size: 12px; }

/* --- the math strip (big numeric comparison) --- */
.math-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--marvis-line);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 768px) { .math-strip { grid-template-columns: 1fr; } }
.math-cell {
  background: var(--paper);
  padding: 28px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.math-cell__lbl {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--marvis-mute); letter-spacing: 0.14em; text-transform: uppercase;
}
.math-cell__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1;
  color: var(--marvis-deep); letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.math-cell__num .small { font-size: 0.5em; font-weight: 500; color: var(--marvis-mute); margin-left: 6px; vertical-align: 0.3em; letter-spacing: 0; }
.math-cell__num.accent { color: var(--accent); }
.math-cell__num .strike { position: relative; color: var(--marvis-soft); font-weight: 500; }
.math-cell__num .strike::after { content: ""; position: absolute; left: -3%; right: -3%; top: 55%; border-top: 3px solid var(--accent); transform: rotate(-6deg); }
.math-cell__sub {
  font-size: 13px; color: var(--marvis-mute); line-height: 1.45;
  margin-top: 4px;
}
.math-cell__sub b { color: var(--marvis-deep); }

/* --- 5 roles strike-out cards --- */
.roles {
  display: flex; flex-direction: column; gap: 0;
}
.role {
  display: grid;
  grid-template-columns: 64px 1.2fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--marvis-line);
  position: relative;
  transition: background-color .15s ease;
}
.role:first-child { border-top: 1px solid var(--marvis-line); }
.role:hover { background: var(--cream-warm); padding-left: 12px; padding-right: 12px; }
.role:hover .role__num { color: var(--accent); }
@media (max-width: 1023px) {
  .role { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}
.role__num { font-family: var(--font-mono); font-size: 14px; color: var(--marvis-mute); letter-spacing: 0.06em; transition: color .15s ease; }
.role__title {
  display: flex; flex-direction: column; gap: 4px;
}
.role__title h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.01em; line-height: 1.15;
  color: var(--marvis-deep);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}
.role__title .alias { font-family: var(--font-mono); font-size: 11px; color: var(--marvis-mute); letter-spacing: 0.04em; }
.role__salary {
  font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute);
  display: flex; flex-direction: column; gap: 2px; letter-spacing: 0.02em;
}
.role__salary b { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--marvis-soft); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; letter-spacing: -0.01em; }
.role__how {
  font-size: 14px; color: var(--marvis-base); line-height: 1.45;
}
.role__how code { font-family: var(--font-mono); font-size: 12px; background: var(--accent-tint); color: var(--accent); padding: 1px 6px; border-radius: 4px; }
.role__arrow {
  font-family: var(--font-mono); font-size: 14px; color: var(--accent);
}

/* --- manifesto: full-bleed editorial pull-quote --- */
.manifesto {
  background: var(--marvis-deep);
  color: var(--cream);
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; top: -20%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(circle, hsl(var(--pir-accent) / 0.18), transparent 65%);
  pointer-events: none;
}
.manifesto__inner {
  position: relative;
  max-width: 880px; margin: 0 auto;
  padding-left: var(--content-pad); padding-right: var(--content-pad);
}
.manifesto__kicker {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent-mute); letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 32px;
  display: inline-flex; align-items: center; gap: 12px;
}
.manifesto__kicker::after { content: ""; width: 64px; height: 1px; background: var(--accent-mute); }
.manifesto__body {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  color: var(--cream);
  letter-spacing: -0.015em;
}
.manifesto__body p + p { margin-top: 32px; }
.manifesto__body em { font-family: var(--font-display); font-style: normal; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.manifesto__body strong { font-family: var(--font-display); font-style: normal; font-weight: 600; color: var(--cream); }
.manifesto__sig {
  margin-top: 48px;
  display: flex; gap: 12px; align-items: center;
  font-family: var(--font-mono); font-size: 13px;
  color: rgba(245, 240, 232, 0.6);
  letter-spacing: 0.04em;
}
.manifesto__sig::before { content: ""; width: 32px; height: 1px; background: rgba(245, 240, 232, 0.3); }

/* --- day-timeline (operator's week) --- */
.day-week {
  display: grid;
  grid-template-columns: 80px repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
@media (max-width: 768px) { .day-week { grid-template-columns: 1fr; } }
.day-week__lane {
  border-right: 1px solid var(--marvis-line);
  padding: 16px 14px;
  min-height: 220px;
  display: flex; flex-direction: column; gap: 8px;
}
.day-week__lane:last-child { border-right: 0; }
.day-week__lane:first-child {
  background: var(--cream-warm);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--marvis-mute); letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--marvis-line);
}
/* time stamps: same row height as a typical day-block, offset for the missing weekday head */
.day-week__lane:first-child span {
  display: flex; align-items: center;
  min-height: 63px;
  font-variant-numeric: tabular-nums;
  color: var(--marvis-mid);
}
.day-week__lane:first-child span:first-child {
  margin-top: 33px;
}
.day-week__head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--marvis-mute); margin-bottom: 4px; padding-bottom: 6px; border-bottom: 1px dashed var(--marvis-line); }
.day-block { padding: 8px 10px; border-radius: 6px; font-size: 12px; line-height: 1.35; }
.day-block.agent { background: var(--accent-tint); color: var(--accent); border-left: 2px solid var(--accent); }
.day-block.agent .who { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; opacity: .7; }
.day-block.human { background: var(--marvis-deep); color: var(--cream); }
.day-block.human .who { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-mute); margin-bottom: 2px; }
.day-block.standup { background: var(--cream-warm); color: var(--marvis-mid); border-left: 2px solid var(--marvis-mute); font-style: italic; }

/* --- math calculator --- */
.math-calc {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.math-calc__head {
  padding: 24px clamp(24px, 3vw, 32px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-bottom: 1px solid var(--marvis-line);
  background: var(--cream-warm);
}
.math-calc__head h3 { font-size: 1.25rem; font-weight: 600; }
.math-calc__head .sub { font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute); letter-spacing: 0.04em; }
.math-calc__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; }
@media (max-width: 768px) { .math-calc__body { grid-template-columns: 1fr; } }
.math-calc__inputs { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 24px; border-right: 1px solid var(--marvis-line); }
@media (max-width: 768px) { .math-calc__inputs { border-right: 0; border-bottom: 1px solid var(--marvis-line); } }
.math-calc__output {
  padding: clamp(24px, 3vw, 32px);
  background: var(--marvis-deep);
  color: var(--cream);
  display: flex; flex-direction: column; gap: 16px;
}
.math-calc__output .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--accent-mute); letter-spacing: 0.14em; text-transform: uppercase; }
.math-calc__output .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1;
  color: var(--cream); letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.math-calc__output .big .unit { font-size: 0.45em; color: var(--accent-mute); font-weight: 500; margin-left: 8px; vertical-align: 0.5em; letter-spacing: 0; }
.math-calc__output .strike-line { font-size: 14px; color: rgba(245, 240, 232, 0.5); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; font-family: var(--font-mono); }
.math-calc__output .vs { font-size: 14px; color: rgba(245, 240, 232, 0.7); font-family: var(--font-mono); }
.math-calc__output .breakdown { margin-top: 8px; padding-top: 16px; border-top: 1px dashed rgba(245, 240, 232, 0.15); display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-family: var(--font-mono); color: rgba(245, 240, 232, 0.75); }
.math-calc__output .breakdown .row { display: flex; justify-content: space-between; }
.math-calc__output .breakdown .row b { color: var(--cream); font-weight: 600; }

/* slider field reused */
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field__lbl {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--marvis-mute); letter-spacing: 0.04em;
}
.field__lbl .val { color: var(--marvis-deep); font-weight: 600; font-size: 13px; }
.field__lbl .val .unit { color: var(--marvis-mute); font-weight: 400; margin-left: 3px; }
.field input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--marvis-line); border-radius: 999px;
  cursor: pointer;
}
.field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(28, 22, 16, 0.18);
}
.field input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 3px solid var(--accent); cursor: pointer; }

/* --- proof strip --- */
.proof-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--marvis-line);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 768px) { .proof-strip { grid-template-columns: 1fr; } }
.proof-cell {
  background: var(--paper);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.proof-cell .kind {
  font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.proof-cell .kind::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.proof-cell h4 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.25; color: var(--marvis-deep); }
.proof-cell p { font-size: 13px; color: var(--marvis-mute); line-height: 1.5; }
.proof-cell a { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-top: auto; }

/* --- block quotes / pull quotes inside sections --- */
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.3;
  color: var(--marvis-deep);
  max-width: 720px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  letter-spacing: -0.01em;
}

/* --- bender whitelabel mention --- */
.bender-strip {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 20px 24px;
  background: var(--marvis-deep); color: var(--cream);
  border-radius: var(--r-card);
}
.bender-strip .badge { font-family: var(--font-mono); font-size: 11px; color: var(--accent-mute); letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; background: rgba(245, 240, 232, 0.06); border-radius: 999px; }
.bender-strip .copy { font-size: 14px; color: rgba(245, 240, 232, 0.85); line-height: 1.5; }
.bender-strip .copy strong { color: var(--cream); }
.bender-strip a { color: var(--accent-mute); font-family: var(--font-mono); font-size: 12px; }
@media (max-width: 600px) {
  .bender-strip { grid-template-columns: 1fr; gap: 12px; text-align: left; }
}

/* --- page-hero override for "manifesto" feel --- */
.page-hero.editorial { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 0; }
.page-hero.editorial h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.03em; max-width: 22ch; line-height: 1; font-family: var(--font-display); font-weight: 700; }
.page-hero.editorial h1 .ital { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
.page-hero.editorial h1 .accent { color: var(--accent); }
.page-hero.editorial p.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 56ch; line-height: 1.55; color: var(--marvis-mute); }


/* ============================================================
   v2.1 — "What the brain does" 2x2 grid
   ============================================================ */
.brain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) { .brain-grid { grid-template-columns: 1fr; } }

.brain-cell {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.brain-cell:hover { border-color: var(--accent-mute); transform: translateY(-2px); }

.brain-cell__head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--marvis-line);
}
.brain-cell__id {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding: 3px 8px; border-radius: 4px;
  background: var(--accent-tint);
}
.brain-cell__lbl {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--marvis-mute);
}

.brain-cell__h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--marvis-deep);
}

.brain-cell__body {
  font-size: 14px;
  color: var(--marvis-mid);
  line-height: 1.55;
}
.brain-cell__body code {
  font-family: var(--font-mono); font-size: 12px;
  background: var(--accent-tint); color: var(--accent);
  padding: 1px 6px; border-radius: 4px;
}
.brain-cell__body em {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--marvis-base);
}
.brain-cell__body strong { color: var(--marvis-deep); font-weight: 600; }

.brain-cell__panel {
  margin: 0;
  background: var(--marvis-deep);
  color: var(--cream);
  border-radius: var(--r-card);
  padding: 16px 18px;
  font-family: var(--font-mono); font-size: 12.5px;
  line-height: 1.65;
  overflow-x: auto;
  margin-top: auto;
}
.brain-cell__panel .com { color: var(--marvis-soft); }
.brain-cell__panel .kw  { color: var(--accent-mute); }
.brain-cell__panel .str { color: #7BB59A; }
.brain-cell__panel .ok  { color: var(--green-bright); }


/* ============================================================
   v2.2 — centered hero variant
   ============================================================ */
.thesis-hero--center {
  grid-template-columns: 1fr !important;
  text-align: center;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.thesis-hero--center .thesis-hero__center {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.thesis-hero--center .thesis-eyebrow { justify-content: center; }
.thesis-hero--center .thesis-eyebrow::after { display: none; }
.thesis-hero--center .thesis-eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--accent); margin-right: 4px; }
.thesis-hero--center .thesis-h1 { max-width: 18ch; }
.thesis-hero--center .thesis-sub { max-width: 56ch; }
.thesis-hero--center .thesis-cta { justify-content: center; }
.thesis-hero--center .founder-line { justify-content: center; flex-wrap: wrap; }


/* ============================================================
   v3.0 — operator landing (SB7 architecture)
   Hero slogan payoff · 3-tier problem · guide · 3-step plan ·
   demo block · before/after stakes · enterprise strip · proof recast
   ============================================================ */

/* ---- hero highlight classes (color + emphasis) ---- */
.hi-accent { color: var(--accent); }
.hi-green  { color: var(--green); }
.hi-ital   {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--marvis-deep);
}
.thesis-h1 .hi-ital { letter-spacing: -0.02em; }
/* the subhead uses these too — make sure inherited weight on <strong> still feels bold */
.thesis-sub strong.hi-accent,
.thesis-sub strong.hi-green { font-weight: 700; }

/* ---- hero payoff slogan (under CTAs) ---- */
.hero-slogan {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--marvis-line);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  line-height: 1.3;
  color: var(--marvis-deep);
  letter-spacing: -0.01em;
  max-width: 32ch;
  text-wrap: balance;
}
.hero-slogan::before {
  content: "";
  display: block;
  width: 32px; height: 2px;
  background: var(--accent);
  margin: 0 auto 18px;
  opacity: 0.7;
}

/* ---- hero amplify chip ---- */
.amplify-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--marvis-mid);
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 100%;
  overflow-x: auto;
}
.amplify-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.amplify-chip b { color: var(--marvis-deep); font-weight: 600; }
.amplify-chip .stack { color: var(--marvis-deep); font-weight: 500; }
.amplify-chip .stack .sep { color: var(--marvis-soft); font-weight: 400; margin: 0 2px; }
@media (max-width: 540px) {
  .amplify-chip { font-size: 11px; padding: 6px 12px; }
}

/* ---- hero CTA secondary "play" ---- */
.btn--play {
  background: transparent; color: var(--marvis-deep); border-color: var(--marvis-mid);
}
.btn--play .play-glyph {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--marvis-deep); color: var(--cream);
  border-radius: 50%;
  font-size: 10px;
  margin-right: 2px;
}
.btn--play:hover { background: var(--marvis-deep); color: var(--cream); border-color: var(--marvis-deep); }
.btn--play:hover .play-glyph { background: var(--accent); }

/* ---- hero tertiary text links row ---- */
.hero-tertiary {
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  margin-top: 18px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--marvis-mute); letter-spacing: 0.02em;
}
.hero-tertiary a { color: var(--marvis-mid); border-bottom: 1px dotted var(--marvis-line); padding-bottom: 1px; }
.hero-tertiary a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.hero-tertiary .sep { color: var(--marvis-soft); }

/* ============================================================
   3-TIER PROBLEM (external · internal · philosophical)
   ============================================================ */
.problem {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.problem__tier {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  gap: 32px;
  padding: 36px clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--marvis-line);
  position: relative;
}
.problem__tier:first-child { border-top: 0; }
.problem__tier::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
}
.problem__tier--ext::before { background: var(--marvis-soft); }
.problem__tier--int::before { background: var(--accent); }
.problem__tier--phi::before { background: var(--marvis-deep); }

.problem__label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 6px;
}
.problem__label .id { color: var(--accent); }
.problem__label .name { color: var(--marvis-deep); font-size: 13px; letter-spacing: 0.08em; }
.problem__label .severity {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--marvis-mute); font-weight: 500;
}
.problem__label .bar { display: inline-block; width: 36px; height: 4px; border-radius: 2px; background: var(--marvis-line); position: relative; }
.problem__label .bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; }
.problem__tier--ext .bar::after { width: 33%; background: var(--marvis-soft); }
.problem__tier--int .bar::after { width: 66%; background: var(--accent); }
.problem__tier--phi .bar::after { width: 100%; background: var(--marvis-deep); }

.problem__body h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: 600; line-height: 1.25;
  color: var(--marvis-deep);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.problem__body h3 em { font-style: normal; color: var(--accent); }
.problem__body p {
  color: var(--marvis-mid);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 62ch;
}
.problem__body p + p { margin-top: 8px; }

@media (max-width: 768px) {
  .problem__tier { grid-template-columns: 1fr; gap: 14px; padding: 28px 20px; }
}

/* ============================================================
   GUIDE — empathy + 3 authority cards
   ============================================================ */
.guide-empathy {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--marvis-mid);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: var(--stack-5);
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.guide-empathy strong { color: var(--marvis-deep); font-style: normal; font-family: var(--font-display); font-weight: 700; }

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .authority-grid { grid-template-columns: 1fr; } }
.authority {
  padding: 28px;
  background: var(--cream-warm);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.authority__id {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--accent);
}
.authority__h {
  font-size: 1.0625rem; font-weight: 600;
  color: var(--marvis-deep); line-height: 1.3;
}
.authority__body {
  font-size: 14px; color: var(--marvis-mid); line-height: 1.55;
}
.authority__proof {
  margin-top: auto; padding-top: 16px;
  border-top: 1px dashed var(--marvis-line);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--marvis-mute); letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}
.authority__proof b { color: var(--marvis-deep); font-weight: 600; }
.authority__proof .glyph {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--accent-tint); color: var(--accent);
  border-radius: 6px;
  font-size: 13px;
}

/* green-accented authority variant (governance / audit) */
.authority--green {
  background: var(--green-soft);
  border-color: hsl(var(--green-300) / 0.4);
}
.authority--green .authority__id { color: var(--green); }
.authority--green .authority__proof .glyph { background: hsl(var(--green-200) / 0.7); color: var(--green); }

/* ============================================================
   PLAN — 3 steps with install command
   ============================================================ */
.plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}
@media (max-width: 1100px) { .plan { grid-template-columns: 1fr; } }

.plan__step {
  background: var(--cream-warm);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.plan__step__num {
  font-family: var(--font-display); font-size: 2.25rem;
  font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  color: var(--accent);
}
.plan__step__lbl {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--marvis-mute);
}
.plan__step__h {
  font-size: 1.125rem; font-weight: 600;
  color: var(--marvis-deep); line-height: 1.3;
}
.plan__step__body {
  font-size: 14px; color: var(--marvis-mid); line-height: 1.6;
}
.plan__step__cmd {
  margin: 0;
  background: var(--marvis-deep); color: var(--cream);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6;
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  white-space: pre;
}
.plan__step__cmd .prompt { color: var(--accent-mute); user-select: none; }
.plan__step__cmd .com { color: var(--marvis-soft); }
.plan__step__cmd .ok { color: var(--green-bright); }

/* arrows between steps on desktop */
@media (min-width: 1101px) {
  .plan__step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -14px; top: 36px;
    color: var(--marvis-soft);
    font-family: var(--font-mono); font-size: 18px;
    z-index: 2;
  }
}

.plan__agreement {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.02em; color: var(--marvis-mute);
  justify-content: center;
}
.plan__agreement b { color: var(--marvis-deep); font-weight: 600; }
.plan__agreement .item { display: inline-flex; align-items: center; gap: 6px; }
.plan__agreement .item::before { content: "✓"; color: var(--state-full); font-weight: 700; }

/* ============================================================
   DEMO BLOCK — 60-sec video placeholder
   ============================================================ */
.demo-block {
  margin-top: var(--stack-5);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  background: var(--marvis-deep);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease;
}
.demo-block:hover { border-color: var(--accent); }
.demo-block::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, hsl(var(--pir-accent) / 0.18), transparent 65%),
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(245, 240, 232, 0.04) 39px, rgba(245, 240, 232, 0.04) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(245, 240, 232, 0.04) 39px, rgba(245, 240, 232, 0.04) 40px);
}
.demo-block__play {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 88px; height: 88px;
  background: var(--accent); color: white;
  border-radius: 50%;
  box-shadow: 0 8px 32px hsl(var(--pir-accent) / 0.5);
}
.demo-block__play svg {
  width: 28px; height: 28px;
  margin-left: 4px;
  fill: currentColor;
}
.demo-block__meta {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 2;
  color: var(--cream); font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.04em;
}
.demo-block__meta .duration { color: var(--accent-mute); font-weight: 600; }
.demo-block__meta .caption b { color: white; }

/* ============================================================
   STAKES — before / after split
   ============================================================ */
.stakes {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}
@media (max-width: 768px) { .stakes { grid-template-columns: 1fr; } }
.stakes__side {
  padding: 36px clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  min-height: 340px;
}
.stakes__side--without {
  background: var(--marvis-deep);
  color: var(--cream);
}
.stakes__side--without h3 { color: var(--cream); }
.stakes__side--without .stakes__lbl { color: var(--accent-mute); }
.stakes__side--with {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
}
.stakes__lbl {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.stakes__h {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--marvis-deep);
  max-width: 22ch;
}
.stakes__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.stakes__list li {
  position: relative;
  padding-left: 32px;
  font-size: 14px; line-height: 1.5;
}
.stakes__side--without .stakes__list li { color: rgba(245, 240, 232, 0.75); }
.stakes__side--with .stakes__list li { color: var(--marvis-mid); }
.stakes__list li::before {
  position: absolute;
  left: 0; top: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  line-height: 1;
}
.stakes__side--without .stakes__list li::before {
  content: "✕";
  background: rgba(178, 47, 31, 0.2); color: #FF9B8A;
}
.stakes__side--with .stakes__list li::before {
  content: "✓";
  background: var(--green-soft); color: var(--green);
}
.stakes__side b { color: var(--marvis-deep); font-weight: 600; }
.stakes__side--without b { color: white; }

.stakes__arrow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--accent); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 22px; font-weight: 700;
  box-shadow: 0 0 0 6px var(--cream);
  z-index: 3;
}
@media (max-width: 768px) {
  .stakes__arrow { display: none; }
}

/* ============================================================
   STAKES — small failure line under
   ============================================================ */
.stakes-aside {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 14px; color: var(--marvis-deep);
  line-height: 1.55;
  max-width: 720px;
}
.stakes-aside b { font-weight: 600; }

/* ============================================================
   ENTERPRISE STRIP
   ============================================================ */
.enterprise-strip {
  background: var(--marvis-deep);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.enterprise-strip__copy { display: flex; flex-direction: column; gap: 12px; }
.enterprise-strip__lbl {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-mute);
}
.enterprise-strip__h {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600; line-height: 1.25;
  color: var(--cream);
  max-width: 28ch; letter-spacing: -0.01em;
}
.enterprise-strip__feats {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(245, 240, 232, 0.7);
  letter-spacing: 0.02em;
}
.enterprise-strip__feats span { display: inline-flex; align-items: center; gap: 6px; }
.enterprise-strip__feats span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.enterprise-strip__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.enterprise-strip .btn--outline { color: var(--cream); border-color: rgba(255, 255, 255, 0.3); }
.enterprise-strip .btn--outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); color: var(--cream); }
.enterprise-strip .btn--primary { background: var(--accent); }
@media (max-width: 768px) {
  .enterprise-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   CAPABILITY LIST (rebadged "Five things your agents can't do alone")
   ============================================================ */
.capabilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: var(--stack-4);
}
@media (max-width: 1100px) { .capabilities { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .capabilities { grid-template-columns: 1fr; } }
.capability {
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.capability:hover { border-color: var(--accent-mute); transform: translateY(-2px); }
.capability__num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--accent);
}
.capability__h {
  font-size: 0.9375rem; font-weight: 600;
  color: var(--marvis-deep); line-height: 1.3;
}
.capability__body {
  font-size: 13px; color: var(--marvis-mid); line-height: 1.5;
}
.capability__cli {
  margin-top: auto; padding-top: 12px;
  border-top: 1px dashed var(--marvis-line);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--marvis-mute);
}
.capability__cli code { color: var(--accent); background: transparent; padding: 0; }


/* ============================================================
   v3 — OSS-first home (justaskmarvis.com)
   Install-by-agent · KG hero · 3-tier pricing · anti-claims
   ============================================================ */

/* ---- HERO V3: asymmetric, terminal + KG ---- */
.v3-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(16px, 2.5vw, 32px);
  padding-bottom: clamp(8px, 1.2vw, 20px);
}
@media (max-width: 980px) { .v3-hero { grid-template-columns: 1fr; } }

.v3-hero__left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
body.v3 .v3-hero__left .thesis-h1 { margin-bottom: 0; }
body.v3 .v3-hero__left { gap: 24px; }
body.v3 .v3-hero__left .v3-hero__tertiary { margin-top: -4px; }
.v3-hero__right {
  position: relative;
  aspect-ratio: 6 / 5;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* ---- KG SVG container ---- */
.v3-kg { width: 100%; height: 100%; display: block; }
.v3-kg-legend {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--cream-warm);
  border: 1px solid var(--marvis-line);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marvis-mute);
  display: flex; flex-direction: column; gap: 4px;
}
.v3-kg-legend b { color: var(--marvis-deep); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; }
.v3-kg-legend .lg-row { display: flex; align-items: center; gap: 8px; }
.v3-kg-legend .lg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.v3-kg-meta {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--cream-warm);
  border: 1px solid var(--marvis-line);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--marvis-mute);
  letter-spacing: 0.04em;
  display: flex; flex-direction: column; gap: 4px;
}
.v3-kg-meta b { color: var(--marvis-deep); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- SIMULATED TERMINAL ---- */
.v3-term {
  background: var(--marvis-deep);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--marvis-deep);
  box-shadow: 0 12px 32px -16px rgba(28, 22, 16, 0.25);
}
.v3-term__tabs {
  display: flex;
  background: hsl(30 12% 12%);
  padding: 0 8px;
  gap: 0;
  border-bottom: 1px solid hsl(30 12% 18%);
}
.v3-term__tab {
  background: transparent; border: 0; cursor: pointer;
  padding: 10px 16px;
  font-family: var(--font-mono); font-size: 12px;
  color: hsl(30 8% 55%);
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.v3-term__tab:hover { color: hsl(30 8% 75%); }
.v3-term__tab.is-active {
  color: var(--cream);
  border-bottom-color: var(--accent);
}
.v3-term__tab .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  margin-right: 8px;
  background: hsl(30 8% 40%);
  vertical-align: middle;
}
.v3-term__tab.is-active .dot { background: var(--accent); }

.v3-term__chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 0 8px 0 12px;
}
.v3-term__chrome .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: hsl(30 8% 30%);
}
.v3-term__chrome .dot:nth-child(1) { background: hsl(4 70% 50%); opacity: .8; }
.v3-term__chrome .dot:nth-child(2) { background: hsl(38 80% 50%); opacity: .8; }
.v3-term__chrome .dot:nth-child(3) { background: hsl(120 40% 45%); opacity: .8; }

.v3-term__body {
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream);
  min-height: 120px;
}
.v3-term__body .prompt { color: var(--accent-mute); user-select: none; }
.v3-term__body .com { color: hsl(30 8% 55%); }
.v3-term__body .ok  { color: hsl(156 55% 55%); }
.v3-term__body .warn { color: hsl(38 80% 60%); }
.v3-term__body .accent { color: var(--accent); }
.v3-term__body code { background: transparent; padding: 0; color: inherit; }
.v3-term__pane { display: none; }
.v3-term__pane.is-active { display: block; }

.v3-term__copy {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: auto;
  padding: 4px 10px;
  background: transparent; border: 1px solid hsl(30 12% 22%);
  border-radius: 4px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: hsl(30 8% 60%);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.v3-term__copy:hover { color: var(--cream); border-color: hsl(30 8% 50%); }

/* ---- Early-access strip under terminal ---- */
.v3-ea {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: var(--accent-tint);
  border: 1px solid hsl(var(--pir-accent) / 0.35);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--marvis-deep);
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
.v3-ea .blink {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: v3-blink 1.6s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes v3-blink { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0.3; } }
.v3-ea b { color: var(--marvis-deep); font-weight: 600; }

/* ---- v3 hero tertiary links row ---- */
.v3-hero__tertiary {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: var(--font-mono); font-size: 12.5px;
  color: var(--marvis-mute); letter-spacing: 0.02em;
  margin-top: 8px;
}
.v3-hero__tertiary a { color: var(--marvis-mid); border-bottom: 1px dotted var(--marvis-line); padding-bottom: 1px; }
.v3-hero__tertiary a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.v3-hero__tertiary .sep { color: var(--marvis-soft); }

/* ============================================================
   PROBLEM V3 — Sarah pattern, 2-card
   ============================================================ */
.v3-problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 820px) { .v3-problem { grid-template-columns: 1fr; } }
.v3-problem__card {
  padding: 32px clamp(24px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.v3-problem__card::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.v3-problem__card--a::before { background: var(--accent); }
.v3-problem__card--b::before { background: var(--marvis-deep); }
.v3-problem__card .lbl {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--marvis-mute);
}
.v3-problem__card .lbl b { color: var(--accent); font-weight: 600; }
.v3-problem__card h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: 600; line-height: 1.25;
  letter-spacing: -0.01em; color: var(--marvis-deep);
  max-width: 22ch;
}
.v3-problem__card p {
  font-size: 0.9375rem; color: var(--marvis-mid); line-height: 1.65;
  max-width: 56ch;
}
.v3-problem__card .micro {
  margin-top: auto; padding-top: 16px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--marvis-soft); letter-spacing: 0.04em;
  border-top: 1px dashed var(--marvis-line);
}
.v3-problem__card .micro b { color: var(--marvis-mute); font-weight: 600; }

.v3-problem__viz {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 0 4px;
  align-self: flex-start;
}

.v3-problem__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 2px 0 6px;
}
.v3-problem__chips .chip {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  background: var(--cream-warm);
  border: 1px solid var(--marvis-line);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--marvis-mid);
  letter-spacing: -0.005em;
}
.v3-problem__chips .chip::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  flex: 0 0 auto;
}

/* Pull-quote inside a problem card — concrete example */
.v3-problem__quote {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--marvis-deep);
  border-radius: 0 6px 6px 0;
  max-width: 56ch;
}
.v3-problem__quote em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   PIPELINE V3 — Capture → Structure → Expose
   ============================================================ */
.v3-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}
@media (max-width: 980px) { .v3-pipeline { grid-template-columns: 1fr; } }
.v3-pipeline__step {
  background: var(--cream-warm);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.v3-pipeline__step__lbl {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--marvis-mute);
}
.v3-pipeline__step__lbl b { color: var(--accent); font-weight: 600; }
.v3-pipeline__step h3 {
  font-size: 1.25rem; font-weight: 600;
  color: var(--marvis-deep); line-height: 1.3;
  max-width: 22ch;
}
.v3-pipeline__step p {
  font-size: 14px; color: var(--marvis-mid); line-height: 1.6;
}
.v3-pipeline__step__viz {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 120px;
  padding: 8px 12px;
  background: var(--cream);
  border: 1px solid var(--marvis-line);
  border-radius: 6px;
}
.v3-pipeline__step__viz svg { width: 100%; height: auto; max-height: 140px; }
@media (min-width: 981px) {
  .v3-pipeline__step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -10px; top: 38px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 18px; font-weight: 700;
    z-index: 2;
    background: var(--cream); padding: 0 4px;
  }
}

/* ============================================================
   INSTALL FLOW V3 — 4 steps vertical with terminal blocks
   ============================================================ */
.v3-flow {
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.v3-flow__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 0 0 32px;
  position: relative;
}
.v3-flow__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 35px; top: 56px; bottom: 0;
  width: 2px;
  background: var(--marvis-line);
}
.v3-flow__num {
  display: flex; align-items: center; justify-content: center;
  width: 70px; height: 70px;
  background: var(--marvis-deep);
  color: var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
  position: relative; z-index: 2;
}
.v3-flow__body { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; min-width: 0; }
.v3-flow__body__lbl {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--marvis-mute);
}
.v3-flow__body__lbl b { color: var(--accent); font-weight: 600; }
.v3-flow__body h3 {
  font-size: 1.25rem; font-weight: 600;
  color: var(--marvis-deep); line-height: 1.3;
  max-width: 32ch;
  margin: 0;
}
.v3-flow__body p {
  font-size: 14.5px; color: var(--marvis-mid); line-height: 1.6;
  max-width: 60ch;
}
.v3-flow__body pre.v3-cli {
  margin: 0;
  background: var(--marvis-deep);
  color: var(--cream);
  border-radius: 8px;
  padding: 14px 18px;
  font-family: var(--font-mono); font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
  min-width: 0; max-width: 100%;
  white-space: pre;
}
.v3-cli .prompt { color: var(--accent-mute); user-select: none; }
.v3-cli .com    { color: hsl(30 8% 55%); }
.v3-cli .ok     { color: hsl(156 55% 55%); }
.v3-cli .accent { color: var(--accent); }
.v3-cli b { color: var(--cream); font-weight: 500; }

/* morning digest card */
.v3-digest {
  margin-top: 28px;
  padding: 22px clamp(20px, 2.4vw, 28px);
  background: var(--green-soft);
  border: 1px solid hsl(var(--green-300) / 0.5);
  border-radius: var(--r-card);
  position: relative;
  max-width: 720px;
}
.v3-digest::before {
  content: "BRAIN";
  position: absolute;
  top: -8px; left: 22px;
  padding: 2px 10px;
  background: var(--green);
  color: white;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em;
  border-radius: 4px;
}
.v3-digest h4 {
  font-size: 0.95rem; font-weight: 600;
  color: var(--marvis-deep); margin: 0 0 12px;
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.v3-digest h4 .ts {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--marvis-mute); letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.v3-digest ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.v3-digest li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px; color: var(--marvis-deep);
  line-height: 1.55;
}
.v3-digest li::before {
  content: "▸";
  position: absolute; left: 4px; top: 0;
  color: var(--green);
  font-weight: 700;
}
.v3-digest li b { color: var(--marvis-deep); font-weight: 600; }
.v3-digest li em { color: var(--accent); font-style: normal; font-weight: 500; }

@media (max-width: 640px) {
  .v3-flow__step { grid-template-columns: 56px 1fr; gap: 14px; }
  .v3-flow__num { width: 48px; height: 48px; font-size: 1.25rem; }
  .v3-flow__step:not(:last-child)::before { left: 24px; top: 40px; }
  .v3-digest { max-width: 100%; }
  .v3-cli { white-space: pre-wrap; overflow-wrap: anywhere; }
}

/* ============================================================
   ANTI-CLAIMS V3 — 5-card "Marvis is NOT…" grid
   ============================================================ */
.v3-anti {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1100px) { .v3-anti { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .v3-anti { grid-template-columns: 1fr; } }

.v3-anti__card {
  padding: 22px 20px 24px;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.v3-anti__card:hover { border-color: var(--marvis-line-strong); }
.v3-anti__not {
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 600;
  color: var(--marvis-deep); line-height: 1.25;
  letter-spacing: -0.005em;
  display: flex; align-items: baseline; gap: 8px;
}
.v3-anti__not .x {
  color: hsl(4 70% 50%);
  font-family: var(--font-mono); font-weight: 700;
  font-size: 0.9rem;
  flex: 0 0 auto;
}
.v3-anti__not .label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: hsl(4 70% 50%); display: block;
  margin-bottom: 4px;
}
.v3-anti__what {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--marvis-mute);
  border-top: 1px dashed var(--marvis-line);
  padding-top: 12px;
}
.v3-anti__yes {
  font-size: 13.5px; line-height: 1.6;
  color: var(--marvis-mid);
}
.v3-anti__yes b { color: var(--marvis-deep); font-weight: 600; }
.v3-anti__yes em.accent { color: var(--accent); font-style: normal; font-weight: 600; }
.v3-anti__yes em.green { color: var(--green); font-style: normal; font-weight: 600; }

/* ============================================================
   TIERS V3 — 3-column pricing, OSS featured
   ============================================================ */
.v3-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px) { .v3-tiers { grid-template-columns: 1fr; } }

.v3-tier {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.v3-tier--featured {
  background: var(--marvis-deep);
  color: var(--cream);
  border-color: var(--marvis-deep);
  position: relative;
  transform: translateY(-6px);
}
.v3-tier--featured .v3-tier__name,
.v3-tier--featured .v3-tier__price,
.v3-tier--featured .v3-tier__subline {
  color: var(--cream);
}
.v3-tier--featured .v3-tier__features li { color: rgba(245, 240, 232, 0.85); }
.v3-tier--featured .v3-tier__features li::before { color: var(--accent-mute); }
.v3-tier--featured .v3-tier__hr { border-color: hsl(30 12% 22%); }
.v3-tier--featured .v3-tier__note { color: rgba(245, 240, 232, 0.6); }
@media (max-width: 980px) {
  .v3-tier--featured { transform: none; }
}

.v3-tier__badge {
  position: absolute;
  top: -10px; left: 24px;
  padding: 4px 10px;
  background: var(--accent);
  color: white;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.v3-tier:not(.v3-tier--featured) .v3-tier__badge {
  background: var(--cream-warm);
  color: var(--marvis-mute);
  border: 1px solid var(--marvis-line);
}

.v3-tier__head { display: flex; flex-direction: column; gap: 6px; }
.v3-tier__kind {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--marvis-mute);
}
.v3-tier--featured .v3-tier__kind { color: var(--accent-mute); }
.v3-tier__name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--marvis-deep); line-height: 1.15;
  letter-spacing: -0.01em;
}
.v3-tier__price {
  font-size: 0.9375rem; color: var(--marvis-mid);
  font-weight: 500;
  font-family: var(--font-mono);
}
.v3-tier__subline {
  font-size: 0.9rem; color: var(--marvis-mid);
  line-height: 1.5;
  font-style: italic;
}
.v3-tier__hr {
  height: 0; border: 0; border-top: 1px solid var(--marvis-line);
  margin: 0;
}
.v3-tier__features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.v3-tier__features li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px; color: var(--marvis-mid);
  line-height: 1.5;
}
.v3-tier__features li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  color: var(--green);
  font-weight: 700; font-size: 13px;
}
.v3-tier__cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.v3-tier__note {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--marvis-soft);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.v3-tier--featured .v3-tier__cta .btn--primary { background: var(--accent); }
.v3-tier--featured .v3-tier__cta .btn--outline {
  color: var(--cream); border-color: rgba(255, 255, 255, 0.3);
}
.v3-tier--featured .v3-tier__cta .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--cream);
}

/* ============================================================
   TRUST V3 — Constitution + Audit + AI Act + Sovereignty
   ============================================================ */
.v3-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 980px) { .v3-trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .v3-trust { grid-template-columns: 1fr; } }

/* full-width feature card (hosts paragraph + kanban illustration) */
.v3-trust__feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
  margin-bottom: 12px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
}
.v3-trust__feature-text {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.v3-trust__feature-viz {
  display: flex; align-items: flex-start; justify-content: flex-end;
  min-width: 0;
}
@media (max-width: 740px) {
  .v3-trust__feature { grid-template-columns: 1fr; }
  .v3-trust__feature-viz { justify-content: flex-start; }
}
.v3-trust__card {
  padding: 24px 22px 26px;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-card);
  display: flex; flex-direction: column; gap: 12px;
}
.v3-trust__id {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--green);
}
.v3-trust__h {
  font-size: 0.9375rem; font-weight: 600;
  color: var(--marvis-deep); line-height: 1.35;
}
.v3-trust__body {
  font-size: 13px; color: var(--marvis-mid); line-height: 1.55;
}
.v3-trust__sig {
  margin-top: auto; padding-top: 10px;
  border-top: 1px dashed var(--marvis-line);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--marvis-soft); letter-spacing: 0.04em;
}
.v3-trust__sig b { color: var(--green); font-weight: 600; }

/* ------------------------------------------------------------
   KANBAN cross-team illustration (scoped under .v3-kanban*)
   Component CSS - all tokens from the design system, no JS.
   ------------------------------------------------------------ */
/* container ---------------------------------------------------- */
.v3-kanban{
  position: relative;
  width: 100%;
  max-width: 440px;
  min-width: 0;
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 12px 10px;
  background: var(--cream);
  border: 1px solid var(--marvis-line);
  border-radius: 10px;
  font-family: var(--font-body);
  color: var(--marvis-deep);
  /* faint paper texture, pure CSS, no asset */
  background-image:
    radial-gradient(hsl(var(--bone-300) / 0.35) 1px, transparent 1px);
  background-size: 14px 14px;
  background-position: 0 0;
}

/* header strip ------------------------------------------------ */
.v3-kanban__head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 0 2px 6px;
  border-bottom: 1px dashed var(--marvis-line);
  min-width: 0;
}
.v3-kanban__brand{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--marvis-deep); font-weight: 700;
  white-space: nowrap; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}
.v3-kanban__brand i{
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  flex: 0 0 5px;
  box-shadow: 0 0 0 0 hsl(var(--green-400) / 0.5);
  animation: v3kPulse 2.2s ease-in-out infinite;
}
.v3-kanban__brand b{ color: var(--green); font-weight: 700; }
@keyframes v3kPulse{
  0%, 100%{ box-shadow: 0 0 0 0 hsl(var(--green-400) / 0.4); }
  50%     { box-shadow: 0 0 0 4px hsl(var(--green-400) / 0); }
}
@media (prefers-reduced-motion: reduce){
  .v3-kanban__brand i{ animation: none; }
}

.v3-kanban__depts{
  display: inline-flex; align-items: center; gap: 4px;
  flex: 0 0 auto; min-width: 0;
}
.v3-kanban__depts i{
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
}
.v3-kanban__depts i[data-d="sales"]      { background: var(--accent); }
.v3-kanban__depts i[data-d="eng"]        { background: var(--marvis-deep); }
.v3-kanban__depts i[data-d="product"]    { background: var(--green); }
.v3-kanban__depts i[data-d="compliance"] { background: var(--state-vision); }

/* board grid -------------------------------------------------- */
.v3-kanban__board{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

/* (no cross-team threads in this variant) */

/* column ------------------------------------------------------ */
.v3-kanban__col{
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 5px;
  min-width: 0;
}
/* col-head separator (solid hairline) */
.v3-kanban__col-head{
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marvis-soft);
  font-weight: 600;
  padding: 0 0 4px;
  border-bottom: 1px solid var(--marvis-line);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden; text-overflow: clip;
}
.v3-kanban__col[data-col="done"] .v3-kanban__col-head{
  color: var(--green);
}

/* card (tile) ------------------------------------------------- */
.v3-kanban__card{
  position: relative;
  display: flex; flex-direction: column; gap: 3px;
  padding: 5px 6px 6px;
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: 4px;
  min-width: 0;
  min-height: 38px;
}
.v3-kanban__card::after{
  /* top-edge dept color bar */
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: currentColor;
  border-radius: 4px 4px 0 0;
}
.v3-kanban__card[data-dept="sales"]      { color: var(--accent); }
.v3-kanban__card[data-dept="eng"]        { color: var(--marvis-deep); }
.v3-kanban__card[data-dept="product"]    { color: var(--green); }
.v3-kanban__card[data-dept="compliance"] { color: var(--state-vision); }

.v3-kanban__title{
  font-family: var(--font-mono); font-size: 9.5px;
  font-weight: 600; line-height: 1.25;
  color: var(--marvis-deep);
  letter-spacing: 0;
  min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-top: 1px;
}

.v3-kanban__foot{
  display: flex; align-items: center; justify-content: space-between;
  gap: 4px; margin-top: auto; min-width: 0;
}
.v3-kanban__owner{
  display: inline-flex; align-items: center;
  width: 12px; height: 12px;
  color: var(--marvis-mute);
  flex: 0 0 12px;
}
.v3-kanban__owner svg{
  width: 12px; height: 12px;
  stroke: currentColor; stroke-width: 1.6;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.v3-kanban__owner--human{
  color: var(--state-vision);
  background: hsl(var(--pir-purple) / 0.10);
  border-radius: 3px;
  padding: 1px;
  width: 14px; height: 14px;
  flex: 0 0 14px;
}
.v3-kanban__owner--human svg{ width: 10px; height: 10px; }

.v3-kanban__tag{
  font-family: var(--font-mono); font-size: 7.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700;
  color: var(--state-vision);
  background: hsl(var(--pir-purple) / 0.10);
  padding: 1px 4px;
  border-radius: 2px;
  white-space: nowrap;
}

.v3-kanban__card[data-state="done"]{ opacity: 0.7; }
.v3-kanban__card[data-state="done"] .v3-kanban__title{
  text-decoration: line-through;
  text-decoration-color: var(--marvis-soft);
}

/* thread anchor dots removed */

/* running pulse on "in corso" -------------------------------- */
.v3-kanban__live{
  position: absolute; top: 4px; right: 4px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 hsl(var(--green-400) / 0.55);
  animation: v3kPulse 1.5s ease-in-out infinite;
}

/* foot caption ----------------------------------------------- */
.v3-kanban__cap{
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: nowrap;
  padding: 2px 2px 0;
  font-family: var(--font-mono); font-size: 9px;
  color: var(--marvis-soft); letter-spacing: 0.04em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.v3-kanban__cap > *{
  min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}
.v3-kanban__cap b{
  color: var(--state-vision); font-weight: 700;
}
.v3-kanban__cap em{
  color: var(--marvis-mute); font-style: normal;
}

/* responsive: stays compact; on very tight widths, columns
   get a touch narrower and titles clamp to 1 line.            */
@media (max-width: 380px){
  .v3-kanban{ padding: 10px 10px 8px; }
  .v3-kanban__board{ gap: 4px; }
  .v3-kanban__title{ -webkit-line-clamp: 1; }
}

/* ============================================================
   FINAL CTA V3
   ============================================================ */
.v3-final {
  background: var(--marvis-deep);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(40px, 5vw, 64px);
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
  text-align: center;
}
.v3-final h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--cream);
  max-width: 22ch;
  letter-spacing: -0.01em;
}
.v3-final h2 em { color: var(--accent); font-style: italic; }
.v3-final p {
  font-size: 1.0625rem; color: rgba(245, 240, 232, 0.75);
  max-width: 50ch; line-height: 1.55;
}
.v3-final__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.v3-final__cta .btn--primary { background: var(--accent); }
.v3-final__cta .btn--outline {
  color: var(--cream); border-color: rgba(255, 255, 255, 0.3);
}
.v3-final__cta .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--cream);
}
.v3-final__meta {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(245, 240, 232, 0.5);
  letter-spacing: 0.04em;
}
.v3-final__meta b { color: var(--accent-mute); font-weight: 600; }

/* ============================================================
   KG NODE STYLES (used inside the SVG)
   ============================================================ */
.kg-edge { stroke-linecap: round; }
.kg-node-disk { transition: fill .2s ease; }
.kg-pulse {
  transform-origin: center;
  animation: kg-pulse 2.6s ease-in-out infinite;
}
@keyframes kg-pulse {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.45; }
}

/* ============================================================
   v3 — navbar: blended-on-hero at top, dark-on-scroll
   ============================================================ */

/* TOP (not scrolled) — fully blended with hero paper bg,
   dark logo and dark nav links. Default light header already
   sits here from marvis.css; we only soften the border and
   make sure the brand+links read at full ink. */
body.v3 .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
body.v3 .site-header:not(.is-scrolled) .site-header__brand,
body.v3 .site-header:not(.is-scrolled) .site-header__brand .mark {
  color: var(--marvis-deep);
}
body.v3 .site-header:not(.is-scrolled) .site-nav a {
  color: var(--marvis-mid);
}
body.v3 .site-header:not(.is-scrolled) .site-nav a:hover {
  color: var(--marvis-deep);
  background: hsl(var(--pir-accent) / 0.08);
}

/* SCROLLED — anthracite ink, light logo, light nav links. */
body.v3 .site-header.is-scrolled {
  background: rgba(28, 22, 16, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.v3 .site-header.is-scrolled .site-header__brand,
body.v3 .site-header.is-scrolled .site-header__brand .mark {
  color: var(--cream);
}
body.v3 .site-header.is-scrolled .site-nav a {
  color: rgba(245, 240, 232, 0.65);
}
body.v3 .site-header.is-scrolled .site-nav a:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
}
body.v3 .site-header:not(.is-scrolled) .mobile-toggle { color: var(--marvis-deep); }
body.v3 .site-header.is-scrolled .mobile-toggle { color: var(--cream); }
body.v3 .site-header.is-scrolled .lang-toggle {
  background: rgba(255, 255, 255, 0.08);
}
body.v3 .site-header.is-scrolled .lang-toggle a {
  color: rgba(245, 240, 232, 0.6);
}
body.v3 .site-header.is-scrolled .lang-toggle a.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: var(--cream);
}
body.v3 .site-header.is-scrolled .btn--outline {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.3);
}
body.v3 .site-header.is-scrolled .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--cream);
}

/* smooth transition between the two states */
body.v3 .site-header,
body.v3 .site-header__brand,
body.v3 .site-header__brand .mark,
body.v3 .site-nav a,
body.v3 .lang-toggle,
body.v3 .lang-toggle a,
body.v3 .site-header .btn--outline {
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}

/* small adjustment: section spacing for v3 home is balanced */
body.v3 .section { padding-block: clamp(36px, 4.5vw, 64px); }
body.v3 .wrap    { max-width: 1180px; }


/* ============================================================
   v3 FAQ — 2-column flat list
   ============================================================ */
.v3-faq {
  border-top: 1px solid var(--marvis-line);
}
.v3-faq__row {
  display: grid;
  grid-template-columns: minmax(220px, 32%) 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: 22px 0;
  border-bottom: 1px solid var(--marvis-line);
  align-items: start;
}
@media (max-width: 760px) {
  .v3-faq__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
}
.v3-faq__q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--marvis-deep);
  letter-spacing: -0.005em;
}
.v3-faq__a {
  font-size: 0.9375rem;
  color: var(--marvis-mid);
  line-height: 1.6;
  max-width: 58ch;
}
.v3-faq__a b { color: var(--marvis-deep); font-weight: 600; }


/* ============================================================
   Section header with mascot (used in "What it is")
   ============================================================ */
.section-header--with-mascot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.section-header--with-mascot .section-header__copy {
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
}
.section-header__mascot {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.section-header__mascot svg {
  width: 140px; height: auto;
  display: block;
  overflow: visible;
}
.section-header__mascot-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marvis-mute);
}
@media (max-width: 760px) {
  .section-header--with-mascot { grid-template-columns: 1fr; }
  .section-header__mascot { align-self: flex-start; }
  .section-header__mascot svg { width: 100px; }
}


/* ============================================================
   Mascot animations — MX-01 idle
   ============================================================ */
.mascot__body {
  transform-origin: 55px 80px;
}

.mascot__antenna-pulse {
  transform-origin: 55px 4px;
  animation: mascot-antenna 7s ease-out infinite;
}

.mascot__eye {
  animation: mascot-blink 5.5s infinite;
}

.mascot__scan {
  transform-box: fill-box;
  transform-origin: left center;
  animation: mascot-scan 20s ease-in-out infinite;
}

.mascot__led {
  animation: mascot-led-cycle 2.4s ease-in-out infinite;
}
.mascot__led--1 { animation-delay:    0s; }
.mascot__led--2 { animation-delay: -1.6s; }
.mascot__led--3 { animation-delay: -0.8s; }

@keyframes mascot-breathe {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2.5px); }
}

/* Antenna: rare slow ping (~once every 7s) — feels like a heartbeat signal */
@keyframes mascot-antenna {
  0%        { transform: scale(1);   opacity: 0; }
  3%        { transform: scale(1);   opacity: 0.75; }
  18%       { transform: scale(3.5); opacity: 0; }
  19%, 100% { transform: scale(1);   opacity: 0; }
}

/* Eye blink: brief disappearance every 5.5s */
@keyframes mascot-blink {
  0%, 93%, 96%, 100% { opacity: 1; }
  94%, 95%           { opacity: 0; }
}

/* Scan line: vertical bar sweeps L→R across the eye-screen every 20s */
@keyframes mascot-scan {
  0%        { transform: translateX(0);     opacity: 0; }
  2%        { transform: translateX(0);     opacity: 0.85; }
  9%        { transform: translateX(56px);  opacity: 0.85; }
  10%, 100% { transform: translateX(56px);  opacity: 0; }
}

/* Status LEDs: chase pattern, one bright at a time */
@keyframes mascot-led-cycle {
  0%, 100% { opacity: 0.25; }
  20%, 50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .mascot__body,
  .mascot__antenna-pulse,
  .mascot__scan,
  .mascot__eye,
  .mascot__led { animation: none; }
}
