/* ============================================================================
   Avogado — audience pages (who-its-for.html, story.html)
   Lane cards + comparison table (Who it's for) and the founder story column
   (Story). All values from the design handoff prototypes.
   ========================================================================== */

/* ---- Page head: Who it's for ---------------------------------------------- */
.page-head--who { padding-bottom: 24px; }
.page-head--who .sec-head { max-width: 760px; }
.page-head--who h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
  margin-top: 18px;
}
.page-head--who .lead--serif { margin-top: 20px; }

/* ---- Audience lane cards --------------------------------------------------- */
.lanes { padding: 48px 0 40px; }
.lanes__col { display: flex; flex-direction: column; gap: 20px; }

.lane {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  padding: 30px 34px;
  display: flex; gap: 44px; flex-wrap: wrap;
}
.lane__who { flex: 1; min-width: 300px; }
.lane h2 { font-size: 26px; letter-spacing: -0.01em; margin-top: 14px; }
.lane__pain {
  font-size: 14.5px; line-height: 1.65;
  color: var(--inkSoft); margin-top: 12px;
}

/* audience chip (colored per lane) */
.chip {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 9px; padding: 3px 10px;
  display: inline-block;
}
.chip--sage { color: var(--accentDeep); background: var(--accentSoft); }
.chip--blue { color: var(--blue);       background: var(--blueSoft); }
.chip--pit  { color: var(--pit);        background: var(--pitSoft); }

/* sage-check bullets */
.lane__fits {
  flex: 1; min-width: 300px;
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.lane__fits li {
  display: flex; gap: 10px;
  font-size: 14px; line-height: 1.55; color: var(--ink);
}
.lane__fits li::before {
  content: "\2713";
  color: var(--accent); font-weight: 700; flex: none;
}

/* muted closer under the lanes */
.lanes__closer {
  max-width: 46rem;
  font-size: 14.5px; line-height: 1.65; color: var(--mut);
  margin: 16px 0 0 4px;
}
.lanes__closer strong { color: var(--inkSoft); }

/* ---- Comparison band + table ------------------------------------------------ */
.compare-band { padding-block: 88px; }
.compare-head { margin-bottom: 36px; }
.compare-head .lead { margin-top: 14px; }

/* scroll container: the table never squeezes below readable width */
.compare-scroll { max-width: 900px; margin-left: 38px; overflow-x: auto; }

.compare {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.compare__row {
  display: grid; grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
}
.compare__row:last-child { border-bottom: 0; }
.compare__row--head { background: var(--surf); }
.compare__th {
  padding: 12px 20px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--inkSoft);
}
.compare__tool {
  padding: 16px 20px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.compare__gap {
  padding: 16px 20px;
  font-size: 13.5px; line-height: 1.6; color: var(--inkSoft);
}
.compare__row--avogado { background: var(--accentSoft); }
.compare__row--avogado .compare__tool { font-weight: 700; color: var(--accentDeep); }
.compare__row--avogado .compare__gap { color: var(--ink); }

/* Mobile replacement for the table: stacked cards, one per tool (≤760px).
   Base display comes from the media query below; .m-only hides it ≥761px. */
.compare-cards { display: none; }

/* ---- Story: centered head with floating mascot ------------------------------- */
.story-head {
  max-width: 760px; margin-inline: auto;
  padding: 84px var(--pad-x) 12px;
  text-align: center;
}
.story-mascot {
  width: 88px; height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 16px 28px rgba(40, 42, 22, .16));
  animation-delay: 1s;
}
.story-head .eyebrow { margin-top: 24px; }
.story-head h1 {
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.08; letter-spacing: -0.015em;
  margin-top: 16px;
}

/* ---- Story: single serif prose column ----------------------------------------- */
.story { max-width: 680px; margin-inline: auto; padding: 44px var(--pad-x) 72px; }
.story-prose {
  font-family: var(--serif);
  font-size: 18px; line-height: 1.85; color: var(--ink);
  display: flex; flex-direction: column; gap: 26px;
}
.story-prose p { margin: 0; }
.story-prose .opener { font-size: 20px; }
.story-prose .pull {
  font-size: 26px; font-weight: 600; font-style: italic;
  line-height: 1.4; color: var(--accentDeep);
  border-left: 3px solid var(--accent); padding-left: 24px;
}
/* the A / V initials in the name-origin paragraph */
.story-prose .init { color: var(--accent); }

/* ---- Fluid Mind AI Lab card (dark) ---------------------------------------------- */
.lab-card {
  margin-top: 52px;
  background: var(--skin);
  border-radius: var(--r-frame);
  padding: 28px 32px;
  box-shadow: 0 20px 60px rgba(40, 42, 22, .25);
}
.lab-card__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 600; color: var(--skinTx);
}
.lab-card__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--logoGreen); flex: none;
}
.lab-card p {
  font-size: 14.5px; line-height: 1.7;
  color: var(--skinMut); margin-top: 12px;
}

/* ---- CTA band: these pages use the smaller heading size --------------------------- */
.cta-band--aud h2 { font-size: clamp(30px, 3.6vw, 42px); }

/* ============================================================================
   Responsive layer (mobile handoff)
   ========================================================================== */

/* ---- Tablet (761–1000px): lane cards keep two internal columns only if both
   fit at ~320px min; otherwise they wrap. Comparison table stays a table. --- */
@media (min-width: 761px) and (max-width: 1000px) {
  .lane__who, .lane__fits { min-width: 320px; }
  .compare-scroll { margin-left: 0; }
}

/* ---- Mobile (≤760px) ------------------------------------------------------- */
@media (max-width: 760px) {

  /* Page head: Who it's for */
  .page-head--who h1 { font-size: 29px; line-height: 1.14; margin-top: 12px; }
  .page-head--who .lead--serif { margin-top: 14px; }
  .page-head--who { padding-bottom: 0; }

  /* Lane cards stack internally: chip → H2 → pain → ✓ bullets */
  .lanes { padding: 20px 0 40px; }
  .lanes__col { gap: 12px; }
  .lane { display: block; padding: 22px; }
  .lane__who, .lane__fits { min-width: 0; }
  .chip { font-size: 9.5px; padding: 3px 9px; }
  .lane h2 { font-size: 20px; margin-top: 11px; }
  .lane__pain { font-size: 13px; line-height: 1.6; margin-top: 9px; }
  .lane__fits { margin-top: 13px; gap: 8px; }
  .lane__fits li { gap: 9px; font-size: 13px; line-height: 1.5; }
  .lanes__closer { font-size: 13px; margin-left: 0; }

  /* Comparison band: eyebrow + H2 only (lead is desktop-only), tighter head */
  .compare-band { padding-block: 40px 48px; }
  .compare-head { margin-bottom: 18px; }
  .compare-head h2 { font-size: 25px; line-height: 1.15; margin-top: 10px; }

  /* Table → stacked cards (the .d-only table is hidden at this width) */
  .compare-cards { display: flex; flex-direction: column; gap: 10px; }
  .compare-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px 17px;
  }
  .compare-card__tool {
    font-family: var(--sans);
    font-size: 13.5px; font-weight: 600; color: var(--ink);
    letter-spacing: 0; text-wrap: pretty;
  }
  .compare-card__gap {
    font-size: 12.5px; line-height: 1.6; color: var(--inkSoft);
    margin-top: 6px;
  }
  .compare-card--avogado { background: var(--accentSoft); border-color: var(--accentSoft2); }
  .compare-card--avogado .compare-card__tool { font-weight: 700; color: var(--accentDeep); }
  .compare-card--avogado .compare-card__gap { color: var(--ink); }

  /* Story: head */
  .story-head { padding: 44px 24px 12px; }
  .story-mascot { width: 68px; }
  .story-head .eyebrow { margin-top: 18px; }
  .story-head h1 { font-size: 30px; line-height: 1.1; margin-top: 12px; }

  /* Story: prose column */
  .story { padding: 28px 24px 48px; }
  .story-prose { font-size: 16px; line-height: 1.8; gap: 18px; }
  .story-prose .opener { font-size: 17px; }
  .story-prose .pull { font-size: 21px; padding-left: 16px; }

  /* Lab card */
  .lab-card { margin-top: 28px; padding: 20px 22px; }
  .lab-card__title { font-size: 16px; gap: 9px; }
  .lab-card__dot { width: 8px; height: 8px; }
  .lab-card p { font-size: 12.5px; line-height: 1.65; margin-top: 9px; }
}
