/* =======================================================================
   HomeLight Offers — /investors/guide page
   Additive companion to investors-landing.css. Loaded only on the guide
   page; all classes scoped under `.investors-landing` so nothing leaks.
   Reuses the same tokens (--hl-*, --fw-*, --font-*).
   ======================================================================= */

/* ---------- Body prose ---------------------------------------------------
   The landing page is card-and-grid heavy; the guide is long-form content.
   These classes give paragraphs and lists a readable rhythm without
   shouting over the existing section heads. */
.investors-landing .inv-guide-body {
  max-width: 760px;
  color: var(--hl-blue-800);
  font-size: 17px;
  line-height: 1.65;
}
.investors-landing .inv-guide-body p {
  margin: 0 0 18px 0;
}
.investors-landing .inv-guide-body p:last-child {
  margin-bottom: 0;
}
.investors-landing .inv-guide-body .inv-h3 {
  margin: 36px 0 12px 0;
}
.investors-landing .inv-guide-body .inv-h3:first-child {
  margin-top: 0;
}
.investors-landing .inv-guide-body strong {
  font-weight: var(--fw-bold);
  color: var(--hl-blue-800);
}

.investors-landing .inv-guide-list {
  margin: 0 0 18px 0;
  padding: 0 0 0 22px;
}
.investors-landing .inv-guide-list li {
  margin: 6px 0;
  padding-left: 4px;
}
.investors-landing .inv-guide-list li::marker {
  color: var(--hl-blue-500);
}

/* ---------- Comparison table --------------------------------------------
   Used in the "Two programs at a glance" section. Keeps the same border
   radius vocabulary as inv-pcard so it sits with the product cards. */
.investors-landing .inv-guide-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: 18px;
  background: var(--hl-white);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 18px 40px rgba(15, 23, 42, 0.06);
}
.investors-landing .inv-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  color: var(--hl-blue-800);
}
.investors-landing .inv-guide-table thead th {
  text-align: left;
  font-weight: var(--fw-extrabold);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--hl-blue-700);
  background: rgba(17, 146, 229, 0.06);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.investors-landing .inv-guide-table tbody th {
  text-align: left;
  font-weight: var(--fw-bold);
  color: var(--hl-blue-800);
  padding: 14px 20px;
  width: 28%;
  background: rgba(248, 250, 252, 0.6);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.investors-landing .inv-guide-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: top;
}
.investors-landing .inv-guide-table tbody tr:last-child th,
.investors-landing .inv-guide-table tbody tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 640px) {
  .investors-landing .inv-guide-table {
    font-size: 14.5px;
  }
  .investors-landing .inv-guide-table thead th,
  .investors-landing .inv-guide-table tbody th,
  .investors-landing .inv-guide-table tbody td {
    padding: 12px 14px;
  }
}

/* ---------- 1% closing-fee callout --------------------------------------
   This is intentionally prominent — pricing transparency that investors
   need to see before signing up. Uses a slightly tinted card on the white
   section to draw the eye without going dark. */
.investors-landing .inv-guide-callout {
  background: linear-gradient(180deg, rgba(17, 146, 229, 0.04), rgba(17, 146, 229, 0.08));
  border: 1px solid rgba(17, 146, 229, 0.18);
  border-radius: 22px;
  padding: 40px 44px;
  max-width: 920px;
  margin: 0 auto;
}
.investors-landing .inv-guide-callout .inv-h2 {
  margin: 14px 0 16px 0;
}
.investors-landing .inv-guide-callout .inv-lede {
  font-size: 18px;
  color: var(--hl-blue-800);
  margin-bottom: 28px;
}
.investors-landing .inv-guide-callout > p:last-child {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--hl-slate-500);
  font-size: 15px;
}
.investors-landing .inv-guide-callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .investors-landing .inv-guide-callout {
    padding: 28px 22px;
  }
  .investors-landing .inv-guide-callout-grid {
    grid-template-columns: 1fr;
  }
}
.investors-landing .inv-guide-callout-item {
  background: var(--hl-white);
  border: 1px solid rgba(17, 146, 229, 0.16);
  border-radius: 14px;
  padding: 18px 20px;
}
.investors-landing .inv-guide-callout-label {
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hl-blue-700);
  margin-bottom: 6px;
}
.investors-landing .inv-guide-callout-value {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 22px;
  font-weight: var(--fw-extrabold);
  color: var(--hl-blue-800);
  line-height: 1.2;
}
.investors-landing .inv-guide-callout-note {
  margin-top: 6px;
  color: var(--hl-slate-500);
  font-size: 14px;
}

/* ---------- Hero spacing tweak for the guide ----------------------------
   The landing hero has a portal mockup taking the right column, so it
   doesn't need much padding below. The guide hero is text-only and reads
   better with a little extra breathing room before the first section. */
.investors-landing .inv-hero + .inv-section {
  padding-top: 32px;
}

/* ---------- Section-head alignment for guide ---------------------------
   The landing's inv-section-head goes centered at small viewports
   (investors-landing.css:1010). For the guide page — a long-form doc
   with body prose and a right-side facts panel — keep section heads
   left-aligned at all viewports so they align with the body column.

   Selector intentionally uses BOTH class names on the same element to
   raise specificity above the landing's `.inv-section-head` rule, so
   this wins regardless of stylesheet load order (`:app` re-loads the
   landing CSS after this file). */
.investors-landing .inv-section-head.inv-guide-head,
.investors-landing .inv-section-head.inv-guide-head .inv-lede {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.investors-landing .inv-section-head.inv-guide-head {
  margin-bottom: 36px;
}

/* ---------- Two-column split: body + key-facts aside ------------------
   PPL and Offers detail sections use this. Left = body prose. Right =
   sticky-ish key-facts card that summarizes the section. Mirrors the
   landing's inv-how-grid 2-column rhythm without the portal mockup. */
.investors-landing .inv-guide-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) {
  .investors-landing .inv-guide-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Key-facts card --------------------------------------------
   Sits on the right of split layouts. Sticky on tall screens so the
   summary stays visible while the reader scrolls through the body. */
.investors-landing .inv-guide-facts {
  background: linear-gradient(180deg, rgba(17, 146, 229, 0.05), rgba(17, 146, 229, 0.10));
  border: 1px solid rgba(17, 146, 229, 0.18);
  border-radius: 18px;
  padding: 26px 26px 22px 26px;
  position: sticky;
  top: 96px;
}
@media (max-width: 980px) {
  .investors-landing .inv-guide-facts {
    position: static;
  }
}
.investors-landing .inv-guide-facts-head {
  margin-bottom: 18px;
}
.investors-landing .inv-guide-facts dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.investors-landing .inv-guide-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 146, 229, 0.15);
}
.investors-landing .inv-guide-fact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.investors-landing .inv-guide-fact dt {
  font-size: 11.5px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hl-blue-700);
}
.investors-landing .inv-guide-fact dd {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 15.5px;
  font-weight: var(--fw-bold);
  color: var(--hl-blue-800);
  line-height: 1.35;
}

/* ---------- Comparison table — explanatory note inside a cell ---------
   Used in the Cost-at-close row to spell out that the investor pays the
   agent's commission too, on top of the 1% to HomeLight. */
.investors-landing .inv-guide-table-note {
  margin-top: 6px;
  color: var(--hl-slate-500);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}
