/* ============================================================================
   Avogado — Home page
   Hero, live workspace demo, provenance memo, redline demo, ask card,
   matters + pipeline, founder band. Pixel values from the design handoff.
   ========================================================================== */

[hidden] { display: none !important; }

/* ---- Hero ------------------------------------------------------------------ */
.hero { padding: 92px 0 56px; }
.hero__grid { display: flex; gap: 48px; align-items: flex-start; }
.hero__copy { flex: 1; min-width: 0; border-left: 2px solid var(--line2); padding-left: 36px; }
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04; letter-spacing: -0.015em;
  margin-top: 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero__lead {
  font-family: var(--serif);
  font-size: 21px; line-height: 1.55; color: var(--inkSoft);
  max-width: 34em; margin-top: 26px;
}
.hero__cta { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__cta .btn { font-size: 16px; }
.hero__note { font-size: 13.5px; color: var(--mut); margin-top: 22px; }
.hero__mark { width: 290px; flex: none; display: flex; justify-content: center; padding-top: 26px; }
.hero__mark img { width: 230px; filter: var(--sh-mascot); }

@media (max-width: 860px) {
  .hero { padding-top: 56px; }
  .hero__grid { flex-direction: column-reverse; }
  .hero__mark { width: auto; padding-top: 0; }
  .hero__mark img { width: 150px; }
}
@media (max-width: 760px) { .hero__mark { display: none; } }

/* ---- Live workspace demo ------------------------------------------------------ */
.demo { padding: 24px 0 40px; }
.demo .sec-head { margin-bottom: 36px; }

.frame {
  background: var(--skin);
  border-radius: var(--r-frame);
  box-shadow: var(--sh-frame);
  overflow: hidden;
  display: flex;
  height: 620px;
}

/* Sidebar */
.frame__side {
  width: 198px; flex: none;
  background: var(--skin); color: var(--skinTx);
  display: flex; flex-direction: column;
  padding: 16px 0;
  font-size: 12px;
}
.fside__brand { display: flex; align-items: center; gap: 8px; padding: 0 16px 14px; }
.fside__brand img { width: 16px; height: 22px; object-fit: contain; }
.fside__brand span { font-family: var(--serif); font-size: 14px; font-weight: 600; }
.fside__search {
  margin: 0 12px 14px; background: var(--skin2); border: 1px solid var(--skin3);
  border-radius: 8px; padding: 6px 10px; font-size: 11px; color: var(--skinMut);
}
.fside__label {
  padding: 0 16px 6px; font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--skinMut);
}
.fside__matter { margin: 0 8px 3px; border-radius: 8px; padding: 8px 10px; color: var(--skinMut); }
.fside__matter:hover { background: var(--skin2); }
.fside__matter--active { background: var(--skin3); }
.fside__mtitle { font-size: 12px; font-weight: 600; color: var(--skinTx); }
.fside__mstate { font-size: 10.5px; color: var(--skinMut); margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.fside__mstate .livedot { width: 6px; height: 6px; }
.fside__spacer { flex: 1; }
.fside__user {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px 0;
  border-top: 1px solid var(--skin2); font-size: 11px; color: var(--skinMut);
}
.fside__avatar {
  width: 24px; height: 24px; border-radius: 50%; background: var(--avatarGrad);
  color: #fff; font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* Center: chat */
.frame__chat { flex: 1; min-width: 0; background: var(--paper); display: flex; flex-direction: column; }
.chat__head {
  background: var(--surf); border-bottom: 1px solid var(--line);
  padding: 12px 20px; display: flex; align-items: center; gap: 12px;
}
.chat__title { font-family: var(--serif); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.chat__sub { font-size: 11px; color: var(--mut); }
.chat__spacer { flex: 1; }
.chat__live {
  display: flex; align-items: center; gap: 7px;
  background: var(--accentSoft); border: 1px solid var(--accentSoft2);
  border-radius: var(--r-pill); padding: 4px 12px;
  font-size: 11px; font-weight: 600; color: var(--accentDeep);
}
.chat__live .livedot { animation-duration: 1.4s; }
.chat__xray {
  border: 1px solid var(--line2); border-radius: 8px; padding: 5px 11px;
  font-size: 11px; font-weight: 600; color: var(--inkSoft); background: var(--card);
}
.chat__scroll {
  flex: 1; overflow: hidden; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
}

/* Messages */
.msg--user {
  align-self: flex-end; max-width: 78%;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px 12px 4px 12px; padding: 11px 15px;
  font-size: 13px; line-height: 1.55; color: var(--ink);
  box-shadow: var(--sh-card);
}
.msg--agent { display: flex; gap: 10px; max-width: 88%; }
.msg__mascot { width: 18px; height: 25px; object-fit: contain; flex: none; margin-top: 2px; }
.msg__card {
  flex: 1; background: var(--card); border: 1px solid var(--line);
  border-radius: 4px 12px 12px 12px; padding: 14px 16px;
  box-shadow: var(--sh-card);
}
.msg__card--doc { border-color: var(--accentSoft2); }
.msg__label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--inkSoft); margin-bottom: 8px;
}
.msg__label--amber { color: var(--amber); margin-bottom: 7px; }
.msg__q { font-size: 13px; line-height: 1.5; color: var(--ink); font-weight: 600; margin-bottom: 10px; }

.plan { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.plan__step { display: flex; gap: 8px; }
.plan__step > span:first-child { color: var(--mut); font-weight: 600; }
.plan__actions { margin-top: 12px; }
.plan__buttons { display: flex; gap: 8px; align-items: center; }
.plan__approved {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accentSoft); border: 1px solid var(--accentSoft2);
  border-radius: 8px; padding: 7px 13px;
  font-size: 12px; font-weight: 600; color: var(--accentDeep);
}
.chipbtn {
  display: inline-block; background: var(--card); border: 1px solid var(--line2);
  border-radius: 8px; padding: 7px 13px; font-size: 12px; font-weight: 600; color: var(--inkSoft);
}
.chipbtn--primary { background: var(--accent); border-color: var(--accentDeep); color: #fff; }
.doc__actions .chipbtn { padding: 6px 12px; font-size: 11.5px; }

/* Working row */
.workrow {
  max-width: 88%; margin-left: 28px;
  background: var(--surf); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 14px;
}
.workrow__head { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: var(--inkSoft); }
.workrow__check { color: var(--accent); font-weight: 700; }
.workrow__subs {
  margin-top: 8px; display: flex; flex-direction: column; gap: 4px;
  font-size: 11.5px; color: var(--mut); padding-left: 21px;
}
.workrow__subs span { color: var(--accent); }

/* Decision options (demo, static) */
.opts { display: flex; flex-direction: column; gap: 7px; }
.opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; }
.opt--pick { border-color: var(--accentSoft2); background: var(--accentSoft); }
.opt__ring {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line2);
  flex: none; margin-top: 1px; display: flex; align-items: center; justify-content: center;
}
.opt__ring--sage { border-color: var(--accent); }
.opt__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.opt__text { font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.opt__text--soft { color: var(--inkSoft); }
.opt__rec {
  font-size: 10px; font-weight: 600; color: var(--accentDeep); background: var(--accentSoft2);
  border-radius: 8px; padding: 1px 7px; margin-left: 4px; white-space: nowrap;
}

/* Document ready card */
.doc { display: flex; gap: 11px; align-items: center; }
.doc__tile {
  width: 34px; height: 40px; background: var(--accentSoft); border: 1px solid var(--accentSoft2);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  position: relative; flex: none;
  font-size: 9px; font-weight: 700; color: var(--accentDeep);
}
.doc__dot {
  position: absolute; top: -3px; right: -3px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent); border: 2px solid var(--card);
  animation: avPulse 1.6s ease-in-out infinite;
}
.doc__title { font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--ink); }
.doc__meta { font-size: 11.5px; color: var(--mut); margin-top: 2px; }
.doc__actions { display: flex; gap: 8px; margin-top: 11px; }
.doc__assure {
  margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--accentDeep); display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.doc__assure > span:first-child { font-weight: 700; }
.doc__assure .u { text-decoration: underline; }

/* Composer */
.composer { padding: 14px 22px 16px; }
.composer__box {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 15px; box-shadow: var(--sh-card);
  display: flex; align-items: center; gap: 10px;
}
.composer__ph { flex: 1; font-size: 12.5px; color: var(--mut); }
.composer__send {
  width: 28px; height: 28px; border-radius: 8px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px;
}
.composer__note { font-size: 10.5px; color: var(--mut); text-align: center; margin-top: 8px; }

/* Right rail */
.frame__rail {
  width: 250px; flex: none;
  background: var(--surf); border-left: 1px solid var(--line);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 18px;
}
.rail__label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--inkSoft); margin-bottom: 8px;
}
.rail__label--amber { color: var(--amber); }
.rail__summary { font-size: 12px; line-height: 1.55; color: var(--inkSoft); }
.rail__chips { display: flex; gap: 5px; margin-top: 9px; flex-wrap: wrap; }
.chip { font-size: 10px; font-weight: 600; border-radius: 9px; padding: 2px 8px; }
.chip--sage   { color: var(--accentDeep); background: var(--accentSoft); border: 1px solid var(--accentSoft2); }
.chip--danger { color: var(--danger); background: var(--dangerSoft); }
.chip--pit    { color: var(--pit); background: var(--pitSoft); }
.chip--amber  { color: var(--amber); background: var(--amberSoft); }
.chip--blue   { color: var(--blue); background: var(--blueSoft); }
.rail__needs {
  background: var(--amberSoft); border: 1px solid var(--amberLine); border-radius: 9px;
  padding: 9px 11px; font-size: 11.5px; line-height: 1.5; color: var(--ink);
}
.rail__bar { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rail__fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width 800ms var(--ease-out); }
.rail__pct { font-size: 11px; color: var(--mut); margin-top: 6px; }
.rail__list { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; font-size: 11.5px; color: var(--inkSoft); }
.rail__list .ok { color: var(--accent); font-weight: 700; }
.rail__todo { color: var(--mut); }
.rail__list .circ {
  display: inline-block; width: 10px; height: 10px;
  border: 1.5px solid var(--line2); border-radius: 50%;
}

/* Demo caption + responsive frame */
.demo__caption {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; font-size: 13px; color: var(--mut); flex-wrap: wrap;
}
.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: var(--accentDeep); text-decoration: underline;
}
@media (max-width: 1000px) { .frame__rail { display: none; } }
@media (max-width: 760px)  { .frame__side { display: none; } }

/* ---- Provenance memo ------------------------------------------------------------ */
.memo {
  max-width: 820px; margin: 40px 0 0 38px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-doc); box-shadow: var(--sh-sheet);
  padding: 30px 36px;
}
.memo__meta {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mut); border-bottom: 1px solid var(--line);
  padding-bottom: 12px; margin-bottom: 18px;
}
.memo__claim { font-family: var(--serif); font-size: 17.5px; line-height: 2.05; color: var(--ink); }
.memo__claim .tag { margin: 0 3px; vertical-align: 2px; }
.tag-fade { opacity: 0; transition: opacity 600ms ease; }
.tag-fade.is-on { opacity: 1; }
.tag-morph { transition: opacity 600ms ease, color 500ms ease, background 500ms ease; }
.memo__legend {
  display: flex; flex-wrap: wrap; gap: 18px;
  border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px;
  font-size: 11.5px; color: var(--inkSoft);
}
.memo__legend > span { display: flex; align-items: center; gap: 6px; }
.memo__legend .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.memo__foot { font-size: 13.5px; color: var(--mut); max-width: 640px; margin: 18px 0 0 38px; line-height: 1.6; }
@media (max-width: 700px) { .memo, .memo__foot { margin-left: 0; } .memo { padding: 24px 22px; } }

/* ---- Redline demo ------------------------------------------------------------------ */
.redline { display: flex; gap: 56px; align-items: flex-start; flex-wrap: wrap; }
.redline__copy { flex: 1; min-width: 320px; position: sticky; top: 100px; }
.redline__toggle { display: flex; gap: 8px; margin-top: 22px; }
.togglebtn {
  border-radius: 9px; padding: 9px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: var(--sans);
  background: var(--card); color: var(--inkSoft); border: 1px solid var(--line2);
}
.togglebtn.is-active { background: var(--accent); color: #fff; border-color: var(--accentDeep); }
.redline__sheetcol { flex: 1.2; min-width: 400px; }
@media (max-width: 560px) { .redline__sheetcol { min-width: 0; } .redline__copy { position: static; } }

.sheet {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-doc); box-shadow: var(--sh-sheet);
  padding: 34px 40px;
}
@media (max-width: 700px) { .sheet { padding: 26px 22px; } }
.sheet__meta {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mut); margin-bottom: 16px;
}
.sheet__clause { font-family: var(--serif); font-size: 15.5px; line-height: 1.95; color: var(--ink); }
.rl-del { text-decoration: line-through; color: var(--danger); background: var(--dangerSoft); border-radius: 3px; padding: 0 3px; }
.rl-ins { text-decoration: none; color: var(--accentDeep); background: var(--accentSoft); border-radius: 3px; padding: 0 3px; font-weight: 600; }
.sheet__why {
  margin-top: 16px; background: var(--surf); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
  padding: 12px 15px; font-size: 12.5px; line-height: 1.6; color: var(--inkSoft);
}
.sheet__why strong { color: var(--ink); }
.sheet__legend { margin-top: 14px; display: flex; align-items: center; gap: 14px; font-size: 11.5px; color: var(--mut); flex-wrap: wrap; }
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; vertical-align: -1px; }
.sw--danger { background: var(--dangerSoft); border: 1px solid var(--danger); }
.sw--sage   { background: var(--accentSoft); border: 1px solid var(--accent); }

.hl { padding: 0 2px; }
.hl--sage  { background: var(--accentSoft); border-bottom: 1.5px solid var(--accent); }
.hl--amber { background: var(--amberSoft); border-bottom: 1.5px solid var(--amber); }
.fn { font-size: 10px; font-weight: 700; }
.fn--sage  { color: var(--accent); }
.fn--amber { color: var(--amber); }
.sheet__notes { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.note {
  background: var(--surf); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 13px; font-size: 12px; line-height: 1.55; color: var(--inkSoft);
}
.note__no {
  display: inline-block; font-size: 10px; font-weight: 700; color: #fff;
  border-radius: 50%; width: 15px; height: 15px; text-align: center; line-height: 15px;
  margin-right: 7px;
}
.note__no--sage  { background: var(--accent); }
.note__no--amber { background: var(--amber); }
.note__k--sage  { color: var(--accentDeep); }
.note__k--amber { color: var(--amber); }
.note__tag { font-family: var(--mono); font-size: 10px; color: var(--blue); }
.redline__caption { font-size: 12.5px; color: var(--mut); margin-top: 14px; text-align: center; }

/* ---- Ask card ------------------------------------------------------------------------ */
.asks { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.asks__copy { flex: 1; min-width: 320px; }
.asks__note { font-size: 14px; color: var(--mut); margin-top: 14px; }
.asks__try { color: var(--accentDeep); font-weight: 600; }
.asks__cardcol { flex: 1; min-width: 380px; }
@media (max-width: 560px) { .asks__cardcol { min-width: 0; } }

.askcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--sh-sheet); padding: 20px 22px;
}
.askcard__q {
  font-family: var(--serif); font-size: 16.5px; font-weight: 600; line-height: 1.4;
  color: var(--ink); margin-bottom: 14px;
}
.askcard__opts { display: flex; flex-direction: column; gap: 8px; }
.ask__opt {
  display: flex; gap: 11px; align-items: flex-start; text-align: left; width: 100%;
  border: 1px solid var(--line); background: var(--card); border-radius: var(--r-btn);
  padding: 12px 14px; cursor: pointer; font-family: var(--sans);
  transition: background 180ms ease, border-color 180ms ease;
}
.ask__opt.is-picked { border-color: var(--accentSoft2); background: var(--accentSoft); }
.ask__ring {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2);
  flex: none; margin-top: 2px; display: flex; align-items: center; justify-content: center;
  transition: border-color 180ms ease;
}
.ask__opt.is-picked .ask__ring { border-color: var(--accent); }
.ask__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity 180ms ease; }
.ask__opt.is-picked .ask__dot { opacity: 1; }
.ask__text { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.ask__desc { color: var(--mut); font-size: 12.5px; }
.askcard__resp { margin-top: 12px; font-size: 12px; color: var(--inkSoft); display: flex; align-items: center; gap: 7px; }
.askcard__resp img { width: 12px; height: 17px; object-fit: contain; flex: none; }

/* ---- Matters + pipeline --------------------------------------------------------------- */
.section--matters { padding-bottom: 0; }
.matters { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.matters__grid {
  flex: 1; min-width: 380px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 560px) { .matters__grid { min-width: 0; grid-template-columns: 1fr; } }
.matters__copy { flex: 1; min-width: 320px; }
.mcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 16px 17px; box-shadow: var(--sh-card);
}
.mcard__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mcard__title { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink); }
.mcard__head .chip { font-size: 9.5px; white-space: nowrap; }
.mcard__bar { height: 4px; background: var(--line); border-radius: 2px; margin-top: 12px; overflow: hidden; }
.mcard__bar > div { height: 100%; background: var(--accent); }
.mcard__meta { font-size: 11px; color: var(--mut); margin-top: 7px; }
.mcard--new {
  background: none; box-shadow: none; border: 1.5px dashed var(--line2);
  display: flex; align-items: center; justify-content: center;
  color: var(--mut); font-size: 13px; font-weight: 600;
}

.pipeline { margin-top: 110px; padding-bottom: 96px; }
.pipeline .sec-head { margin-bottom: 40px; }
.pipeline__cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px; margin-left: 38px;
}
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; }
.pcard__no { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--accentSoft2); }
.pcard__title { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.pcard p { font-size: 13.5px; line-height: 1.6; color: var(--inkSoft); margin-top: 8px; }
.pipeline__passes {
  margin: 20px 0 0 38px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--inkSoft);
}
.passchip { font-family: var(--mono); font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 9px; }
.passchip--blue { color: var(--blue); background: var(--blueSoft); }
.passchip--sage { color: var(--accentDeep); background: var(--accentSoft); }
@media (max-width: 700px) { .pipeline__cards, .pipeline__passes { margin-left: 0; } }

/* ---- Founder band --------------------------------------------------------------------- */
.founder { background: var(--surf); border-top: 1px solid var(--line); padding: 88px 0; }
.founder__inner { max-width: 860px; margin-inline: auto; padding-inline: var(--pad-x); }
.founder__row { display: flex; gap: 30px; align-items: flex-start; }
.founder__row > img { width: 64px; flex: none; }
@media (max-width: 560px) { .founder__row { flex-direction: column; } }
.founder__quote {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600; font-style: italic; line-height: 1.3; color: var(--ink);
}
.founder__body { font-size: 15px; line-height: 1.65; color: var(--inkSoft); margin-top: 16px; }
.founder__link { color: var(--accentDeep); font-weight: 600; text-decoration: none; }
.founder__attr { font-size: 13.5px; color: var(--mut); margin-top: 8px; }

/* ---- CTA band (Home uses the 96px rhythm) ---------------------------------------------- */
.cta-band--home { padding-block: 96px; }

/* ---- Mobile frame chrome (matter header + status strip; hidden ≥761 via .m-only) -------- */
.frame__mhead { padding: 12px 15px; display: flex; align-items: center; gap: 10px; }
.frame__mhead > img { width: 15px; height: 21px; object-fit: contain; flex: none; }
.mhead__meta { min-width: 0; }
.mhead__title {
  font-family: var(--serif); font-size: 13px; font-weight: 600; color: var(--skinTx);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mhead__sub { font-size: 10px; color: var(--skinMut); }
.mhead__spacer { flex: 1; }
.mhead__chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--skin2); border: 1px solid var(--skin3);
  border-radius: 16px; padding: 4px 10px;
  font-size: 10px; font-weight: 600; color: var(--logoGreen); white-space: nowrap;
}
.mhead__chip .livedot { width: 6px; height: 6px; animation-duration: 1.4s; }

.frame__strip {
  background: var(--surf); border-top: 1px solid var(--line);
  padding: 10px 14px; display: flex; align-items: center; gap: 10px;
}
.strip__main { flex: 1; min-width: 0; }
.strip__bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.strip__fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 800ms var(--ease-out); }
.strip__label { font-size: 10px; color: var(--mut); margin-top: 5px; }
.strip__chip {
  font-size: 10px; font-weight: 600; border-radius: 12px; padding: 3px 9px; white-space: nowrap;
}
.strip__chip--amber { color: var(--amber); background: var(--amberSoft); border: 1px solid var(--amberLine); }
.strip__chip--sage  { color: var(--accentDeep); background: var(--accentSoft); border: 1px solid var(--accentSoft2); }

/* ---- Mobile (≤760px) ---------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* Hero: mascot small above the ruled block; stacked full-width buttons */
  .hero { padding: 44px 0 40px; }
  .hero__grid { flex-direction: column-reverse; gap: 22px; }
  .hero__mark { display: flex; width: auto; justify-content: flex-start; padding: 0; }
  .hero__mark img { width: 104px; margin-left: 2px; filter: drop-shadow(0 14px 24px rgba(40, 42, 22, .16)); }
  .hero__copy { padding-left: 18px; }
  .hero h1 { font-size: 40px; line-height: 1.06; margin-top: 14px; }
  .hero__lead { font-size: 17px; margin-top: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 22px; }
  .hero__cta .btn { font-size: 15px; }
  .hero__note { font-size: 12.5px; margin-top: 16px; }

  /* Demo: chat-only frame */
  .demo { padding: 8px 0 36px; }
  .demo .sec-head { margin-bottom: 20px; }
  .frame { flex-direction: column; height: auto; box-shadow: 0 18px 50px rgba(40, 42, 22, .30); }
  .chat__head { display: none; }
  .composer { display: none; }
  .chat__scroll { flex: none; height: 430px; padding: 14px; gap: 11px; }

  .msg--user { max-width: 86%; padding: 10px 13px; line-height: 1.5; }
  .msg--agent { max-width: none; gap: 8px; }
  .msg__mascot { width: 15px; height: 21px; }
  .msg__card { padding: 12px 13px; }
  .msg__label { font-size: 9.5px; margin-bottom: 7px; }
  .msg__q { font-size: 12.5px; line-height: 1.45; margin-bottom: 9px; }
  .plan { gap: 5px; }
  .plan__step { gap: 7px; }
  .plan__actions { margin-top: 10px; }
  .chipbtn { padding: 7px 11px; font-size: 11.5px; }
  .plan__approved { padding: 7px 11px; font-size: 11.5px; }
  .workrow { max-width: none; margin-left: 23px; padding: 10px 12px; }
  .workrow__head { font-size: 12px; gap: 8px; }
  .workrow__subs { font-size: 11px; padding-left: 19px; margin-top: 7px; }
  .opts { gap: 6px; }
  .opt { padding: 8px 10px; gap: 9px; }
  .opt__ring { width: 13px; height: 13px; }
  .opt__dot { width: 5px; height: 5px; }
  .opt__text { font-size: 12px; line-height: 1.4; }
  .opt__rec { font-size: 9px; padding: 1px 6px; }
  .doc__tile { width: 30px; height: 36px; font-size: 8px; }
  .doc__dot { width: 7px; height: 7px; }
  .doc__title { font-size: 13px; }
  .doc__meta { font-size: 10.5px; }
  .doc__actions { margin-top: 10px; gap: 7px; }
  .doc__actions .chipbtn { padding: 6px 11px; font-size: 11px; }
  .doc__assure { margin-top: 10px; padding-top: 9px; font-size: 10.5px; }
  .demo__caption { margin-top: 12px; font-size: 11.5px; }
  .linklike { font-size: 11.5px; }

  /* Provenance memo */
  .memo { margin-left: 0; padding: 20px; }
  .memo__meta { flex-direction: column; gap: 2px; font-size: 9.5px; padding-bottom: 10px; margin-bottom: 14px; }
  .memo__claim { font-size: 15px; line-height: 2; }
  .memo .tag { font-size: 9.5px; padding: 1px 6px; }
  .memo__legend { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 16px; padding-top: 12px; font-size: 11px; }
  .memo__legend .dot { width: 7px; height: 7px; }
  .memo__foot { margin-left: 0; font-size: 12px; margin-top: 14px; }

  /* Redline: stacked, equal-width toggle, tighter sheet */
  .redline { gap: 0; }
  .redline__copy { position: static; min-width: 0; flex-basis: 100%; }
  .redline__sheetcol { min-width: 0; flex-basis: 100%; }
  .redline__toggle { margin-top: 18px; margin-bottom: 12px; }
  .togglebtn { flex: 1; padding: 10px; }
  .sheet { padding: 22px; }
  .sheet__meta { font-size: 9.5px; margin-bottom: 12px; }
  .sheet__clause { font-size: 14px; }
  .sheet__why { margin-top: 13px; padding: 11px 13px; font-size: 12px; }
  .sheet__legend { display: none; }
  .sheet__notes { margin-top: 13px; gap: 7px; }
  .note { padding: 9px 11px; font-size: 11.5px; }
  .note__no { width: 14px; height: 14px; line-height: 14px; font-size: 9px; margin-right: 6px; }
  .note__tag { font-size: 9px; }
  .redline__caption { font-size: 11.5px; margin-top: 12px; }

  /* Ask card */
  .asks { gap: 0; }
  .asks__copy, .asks__cardcol { min-width: 0; flex-basis: 100%; }
  .asks__cardcol { margin-top: 18px; }
  .askcard { padding: 16px; }
  .askcard__q { font-size: 15px; margin-bottom: 12px; }
  .askcard__opts { gap: 7px; }
  .ask__opt { padding: 11px 12px; gap: 10px; }
  .ask__ring { width: 15px; height: 15px; }
  .ask__dot { width: 6px; height: 6px; }
  .ask__text { font-size: 12.5px; line-height: 1.45; }
  .ask__desc { font-size: 11.5px; }
  .askcard__resp { margin-top: 11px; font-size: 11.5px; align-items: flex-start; gap: 6px; }
  .askcard__resp img { width: 11px; height: 15px; margin-top: 2px; }

  /* Matters + pipeline */
  .matters { flex-direction: column; gap: 18px; align-items: stretch; }
  .matters__copy { order: -1; min-width: 0; }
  .matters__grid { min-width: 0; grid-template-columns: 1fr; gap: 10px; }
  .matters__mlead { font-size: 14px; line-height: 1.65; color: var(--inkSoft); }
  .mcard { padding: 14px 15px; }
  .mcard__title { font-size: 14px; }
  .mcard__head .chip { font-size: 9px; padding: 2px 7px; }
  .mcard__bar { margin-top: 10px; }
  .mcard__meta { font-size: 10.5px; margin-top: 6px; }
  .mcard--new { padding: 13px; font-size: 12.5px; }
  .pipeline { margin-top: 44px; padding-bottom: 4px; }
  .pipeline .sec-head { margin-bottom: 18px; }
  .pipeline__cards { margin-left: 0; grid-template-columns: 1fr; gap: 10px; }
  .pcard { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
  .pcard__no { font-size: 24px; flex: none; }
  .pcard__title { font-size: 16px; margin-top: 0; }
  .pcard p { font-size: 12.5px; line-height: 1.55; margin-top: 5px; }
  .pipeline__passes { margin: 14px 0 0; font-size: 12px; gap: 7px; }
  .passchip { font-size: 10px; padding: 2px 8px; }

  /* Founder */
  .founder { padding: 40px 0; }
  .founder__inner { padding-inline: 20px; }
  .founder__row { flex-direction: column; gap: 14px; }
  .founder__row > img { width: 48px; }
  .founder__quote { font-size: 22px; line-height: 1.35; }
  .founder__body { font-size: 13.5px; margin-top: 12px; }
  .founder__attr { font-size: 12px; margin-top: 7px; }

  .cta-band--home { padding-block: 52px; }
}
