/* ════════════════════════════════════════════════════════════════════ */
/*  landing.css — indexed landing pages (/advisor/..., /firm/...)        */
/*                                                                       */
/*  Loaded after home.css. The hero gradient, question hooks and every   */
/*  section from the used-car band down are /home's own (home.css and    */
/*  _home_sections.html). This file styles what is specific to landing   */
/*  pages: the withheld hero card, the adviser / compare / firm cards    */
/*  and the two-card pricing. Site orange is var(--accent) throughout.   */
/* ════════════════════════════════════════════════════════════════════ */

.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.lp-hero { padding: 56px 0 88px; }
/* /home insets the hero copy to line up with its search card's fields.
   Here the cards below start at the column edge, so no inset. */
.lp-hero .hero-text { padding-left: 0; }
.lp-hero .hero-text h1 { margin-bottom: 10px; }
.lp-hero .hero-text p.lp-hero-line {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  color: #C9D6DC;
  margin: 0;
  max-width: none;
}
.lp-hero .hero-text p.lp-hero-line span { color: #FFFFFF; }
.lp-hooks { margin: 22px 0 0; gap: 10px; }
/* A long hook wraps under its own text, with the dot held on the first line. */
.lp-hooks li { font-size: 18px; align-items: flex-start; }
.lp-hooks li::before { margin-top: 0.5em; }
.lp-hooks strong { color: var(--accent); font-weight: 700; }
.lp-hero .hero-text p.lp-hero-body {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  color: #FFFFFF;
  max-width: 520px;
  margin: 24px 0 0;
}

/* ── Hero card: the result is withheld ────────────────────────────── */
.lp-herocard {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 20px 22px 18px;
  box-shadow: 0 12px 40px rgba(6,20,34,0.35);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-hc-head { display: flex; align-items: center; gap: 12px; }
.lp-qb {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 30px;
  color: var(--accent); flex-shrink: 0;
}
.lp-hc-titles { display: flex; flex-direction: column; min-width: 0; }
.lp-eyebrow {
  font-family: var(--font-heading); font-weight: 600; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: #3F6C7D;
}
.lp-hc-q {
  font-family: var(--font-heading); font-weight: 700; font-size: 21px;
  line-height: 1.15; color: var(--primary); overflow-wrap: anywhere;
}
.lp-scale { padding-top: 8px; }
.lp-track {
  position: relative; height: 10px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px;
}
.lp-track .seg-1 { background: var(--grade-a-circle); border-radius: 5px 0 0 5px; }
.lp-track .seg-2 { background: var(--grade-b-circle); }
.lp-track .seg-3 { background: var(--grade-c-circle); }
.lp-track .seg-4 { background: var(--grade-d-circle); border-radius: 0 5px 5px 0; }
/* The marker travels the whole scale so it implies no position. */
.lp-mk {
  position: absolute; left: 50%; top: -8px; margin-left: -13px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #FFFFFF; border: 2.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 16px; line-height: 1;
  color: var(--accent);
  animation: lp-mkslide 7s ease-in-out infinite alternate;
}
@keyframes lp-mkslide { from { left: 6%; } to { left: 94%; } }
@media (prefers-reduced-motion: reduce) { .lp-mk { animation: none; } }
.lp-scale-labels {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px;
  margin-top: 9px; font-size: 11px; line-height: 1.3; color: #4B5A63;
}
.lp-hc-items-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 13.5px;
  color: var(--primary); margin-bottom: 8px;
}
.lp-hc-items { display: flex; flex-direction: column; gap: 6px; }
.lp-hc-item {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px;
}
.lp-hc-pills {
  border-top: 1px solid var(--border); padding-top: 14px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}

/* ── Shared bits ──────────────────────────────────────────────────── */
.lp-cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-heading); font-weight: 600; font-size: 16px;
  color: #FFFFFF; background: var(--accent);
  border: none; border-radius: 8px; cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.lp-cta:hover { background: #D4622A; text-decoration: none; }
.lp-cta-navy { background: var(--primary); }
.lp-cta-navy:hover { background: #14303F; }
.lp-cta:focus-visible { outline: 3px solid rgba(233,113,50,0.45); outline-offset: 2px; }

.lp-lk {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lp-lk svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.lp-sk { height: 9px; border-radius: 5px; background: #D5DEE3; flex: 1; }
.lp-ck {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.lp-q {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--secondary); color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.lp-bdg {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 10.5px;
  color: #FFFFFF; flex-shrink: 0;
}
.lp-bdg-ia { background: #3B7BA8; }
.lp-bdg-bd { background: #3C4043; }
.lp-bdg-ins { background: #5B8A6F; }
.lp-bdg-ins-maybe { background: #FFFFFF; color: #3F6B55; border: 1.5px dashed #5B8A6F; }
.lp-sm { font-size: 12.5px; color: #4B5A63; line-height: 1.45; }
.lp-sl {
  font-family: var(--font-heading); font-weight: 600; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: #4B5A63;
}
.lp-sv { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--primary); }
.lp-sv-sm { font-size: 14px; }
.lp-name {
  font-family: var(--font-heading); font-weight: 600; font-size: 23px;
  line-height: 1.25; color: var(--primary);
}
.lp-num { font-family: var(--font-heading); font-weight: 700; font-size: 46px; line-height: 1; color: var(--accent); }
.lp-numl { font-family: var(--font-heading); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--primary); }
.lp-numrow { display: flex; align-items: center; gap: 12px; }
.lp-closing { font-weight: 500; color: var(--primary); }

/* ── Layout ───────────────────────────────────────────────────────── */
.lp-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
/* The two cards overlap the hero, as the search card does on /home. */
.lp-overlap { margin-top: -40px; position: relative; z-index: 10; }
.lp-stack { display: flex; flex-direction: column; gap: 20px; }
.lp-card {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 22px; background: #FFFFFF;
}

/* ── Adviser card ─────────────────────────────────────────────────── */
.lp-adviser { display: flex; flex-direction: column; gap: 14px; }
.lp-adv-top { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.lp-adv-id { flex: 1; min-width: 180px; }
.lp-regs { display: flex; flex-direction: column; gap: 8px; }
.lp-reg { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.3; }
.lp-reg strong { color: var(--primary); font-weight: 600; }
.lp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lp-stat {
  min-width: 0; background: var(--bg-subtle);
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
}

/* ── Revenue paths card ───────────────────────────────────────────── */
.lp-paths { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.lp-hats { display: flex; flex-direction: column; gap: 8px; }
.lp-hat {
  display: flex; gap: 10px; align-items: center;
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
}
.lp-hat-maybe { border-style: dashed; }
.lp-hn { font-family: var(--font-heading); font-weight: 600; font-size: 13.5px; line-height: 1.25; color: var(--primary); }
.lp-hn span { font-weight: 500; color: #4B5A63; }
.lp-paths .lp-closing { margin-top: auto; }

/* ── Compare card ─────────────────────────────────────────────────── */
.lp-compare {
  border: 1px solid var(--border); border-radius: 14px; background: #FFFFFF;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 8px 40px rgba(14,40,65,0.12), 0 1px 3px rgba(14,40,65,0.06);
}
.lp-compare-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px 14px; background: var(--bg-subtle);
  border-bottom: 3px solid var(--accent);
  font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--primary);
}
.lp-compare-head svg {
  width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--accent);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.lp-compare-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.lp-compare-body p { font-size: 15px; color: var(--text); }
.lp-fl {
  display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: #4B5A63; margin-bottom: 5px;
}
.lp-fi {
  width: 100%; padding: 11px 14px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--text);
  border: 1.5px solid #C9D6DC; border-radius: 8px; background: #FFFFFF; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-fi:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(74,124,143,0.12); }

/* ── Firm card ────────────────────────────────────────────────────── */
.lp-firm { margin-top: 20px; display: flex; flex-direction: column; gap: 22px; }
.lp-firm-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lp-firm-id { flex: 1; min-width: 220px; }
.lp-firm-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-firm-facts { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.lp-model {
  display: inline-flex; flex-direction: column; justify-content: center;
  background: var(--primary); border-radius: 8px; padding: 8px 14px;
  font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: #FFFFFF;
}
.lp-model .lp-sl { color: #C9D6DC; }
.lp-firm-cols { gap: 32px; }
.lp-col { display: flex; flex-direction: column; gap: 12px; }
.lp-ct {
  font-family: var(--font-heading); font-weight: 600; font-size: 18px;
  letter-spacing: -.2px; line-height: 1.25; color: var(--primary); min-height: 46px;
}
.lp-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--border); font-size: 14.5px; color: #1B2A33;
}
.lp-row:last-child { border-bottom: none; }

/* ── The home page flow below the cards ───────────────────────────── */
.lp-flow { margin-top: 56px; }

/* ── Pricing: two cards with buttons ──────────────────────────────── */
.pricing-cards.pricing-cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; max-width: 680px; margin: 0 auto; padding-top: 14px;
}
.price-card.price-card-cta { display: flex; flex-direction: column; }
.price-card.price-card-cta.featured { border-width: 2px; padding-top: 34px; }
.price-card-cta .price-detail { margin-bottom: 16px; }
.price-tab {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #FFFFFF;
  font-family: var(--font-heading); font-weight: 700; font-size: 12.5px;
  letter-spacing: .03em; padding: 4px 14px; border-radius: 14px; white-space: nowrap;
}
.price-btn {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 20px;
  font-family: var(--font-heading); font-weight: 600; font-size: 16px;
  color: #FFFFFF; background: var(--accent); border-radius: 8px; text-decoration: none;
  transition: background 0.15s;
}
.price-btn:hover { background: #D4622A; text-decoration: none; }
.price-btn-navy { background: var(--primary); }
.price-btn-navy:hover { background: #14303F; }
.price-btn:focus-visible { outline: 3px solid rgba(233,113,50,0.45); outline-offset: 2px; }

/* ── Phones and narrow screens: one column, same order ────────────── */
@media screen and (max-width: 900px) {
  .lp-wrap { padding: 0 20px; }
  .lp-hero { padding: 40px 0 72px; }
  .lp-g2 { grid-template-columns: minmax(0, 1fr); }
  .lp-firm-cols { gap: 24px; }
  .lp-ct { min-height: 0; }
  .lp-hooks li { font-size: 17px; }
  .lp-hero .hero-text p.lp-hero-line { font-size: 18px; }
  .pricing-cards.pricing-cards-2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .price-tab { font-size: 12px; }
}

/* ════════════════════════════════════════════════════════════════════ */
/*  FIRM PAGE                                                            */
/* ════════════════════════════════════════════════════════════════════ */
/* The adviser list / search card reuses the compare card's chassis. */
.lp-compare-head svg { flex-shrink: 0; }
.lp-roster-body { padding: 18px 22px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lp-roster-body p { font-size: 15px; color: var(--text); }
.lp-roster-list { list-style: none; margin: 0; padding: 0; }
.lp-roster-list li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 4px 2px; border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.lp-roster-list li:last-child a { border-bottom: none; }
.lp-roster-list li a:hover .lp-roster-name { color: #B4521B; }
.lp-roster-list li a:focus-visible { outline: 3px solid rgba(233,113,50,0.45); outline-offset: 2px; }
.lp-roster-name { font-family: var(--font-heading); font-weight: 600; font-size: 15.5px; line-height: 1.3; color: var(--primary); }
.lp-roster-loc { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.lp-roster-loc svg {
  width: 14px; height: 14px; fill: none; stroke: #4B5A63; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
/* Search version: the firm field is fixed, and says so by looking it. */
.lp-fi.lp-fi-fixed { background: var(--bg-subtle); color: #4B5A63; cursor: default; }
.lp-results { border-top: 1px solid var(--border); padding-top: 12px; }
.lp-results[hidden] { display: none; }
.lp-results-count {
  font-family: var(--font-heading); font-weight: 600; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: #4B5A63; margin-bottom: 4px;
}
/* Ten rows show; more scroll inside the card. */
.lp-results-list { max-height: 440px; overflow-y: auto; }
.lp-compare-body p.lp-results-note { font-size: 13.5px; color: #4B5A63; }
/* A two-firm adviser: the other firm, with a link to that view. */
.lp-hero .hero-text p.lp-hero-also { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.78); margin: 2px 0 0; max-width: none; }
.lp-hero .hero-text p.lp-hero-also a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 2px; }
.lp-hero .hero-text p.lp-hero-also a:hover { color: var(--accent); }
/* Trade names: one quiet line under the firm name. In the hero it sits on
   the dark band; in the firm card it is an ordinary small line. */
.lp-hero .hero-text .lp-hero-trade { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,0.78); margin: 2px 0 14px; }
.lp-firm-id .lp-trade { margin-top: 3px; }
/* Shown when the adviser chosen for a comparison is no longer registered. */
.lp-compare-body p.lp-gone-note {
  font-size: 14px; line-height: 1.45; color: var(--primary);
  background: var(--bg-subtle); border-left: 3px solid var(--accent);
  border-radius: 4px; padding: 10px 12px;
}
/* The "gone" page (410) for an adviser who is no longer registered. */
.lp-gone { max-width: 640px; margin: 0 auto; padding: 72px 24px 96px; text-align: center; }
.lp-gone h1 { font-family: var(--font-heading); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--primary); margin-bottom: 16px; }
.lp-gone p { font-size: 16px; line-height: 1.55; color: var(--text); margin-bottom: 10px; }
.lp-gone-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.lp-gone-links .lp-cta { text-decoration: none; }
@media (max-width: 600px) { .lp-gone { padding: 48px 20px 64px; } .lp-gone h1 { font-size: 25px; } }

/* The firm page shows its compare card beside the list on wide screens and
   below the used-car band on phones: two copies, one visible. */
.lp-phone-only { display: none; }
.lp-compare-phone { margin: 0 0 28px; }
@media screen and (max-width: 900px) {
  .lp-desktop-only { display: none; }
  .lp-phone-only { display: block; }
  .lp-roster-loc { white-space: normal; text-align: right; }
}

/* Search version: the adviser search card and the compare card sit side by
   side with the same fields, so their rows are shared. A firm name long
   enough to wrap one card's heading (or its opening line) pushes both cards
   down together and the fields and buttons stay level. Rows: heading,
   opening line, three fields, button, then the search results. */
@supports (grid-template-rows: subgrid) {
  @media screen and (min-width: 901px) {
    .lp-g2-forms > .lp-compare {
      display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0;
    }
    .lp-g2-forms > .lp-compare > .lp-compare-body {
      display: grid; grid-template-rows: subgrid; grid-row: 2 / span 6;
      row-gap: 16px; align-items: start;
    }
    /* The last row holds the results; it takes no room until there are some. */
    .lp-g2-forms > .lp-compare > .lp-compare-body { padding-bottom: 8px; }
  }
}

/* ════════════════════════════════════════════════════════════════════ */
/*  STATE B — two columns (?vs=)                                         */
/* ════════════════════════════════════════════════════════════════════ */
.lp-hero-b .hero-text .lp-b-name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -0.4px;
  color: #FFFFFF; margin: 0 0 6px; max-width: none;
}
.lp-hero-b .hero-text p.lp-hero-line { font-size: 17px; }
.lp-vs {
  font-family: var(--font-heading); font-weight: 600; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  margin: 16px 0 6px;
}
.lp-hero-b .lp-hooks li { font-size: 17px; }

/* Hero card: one scale per firm, markers out of step. */
.lp-scales { display: flex; flex-direction: column; gap: 16px; }
.lp-scales .lp-scale { padding-top: 0; }
.lp-scale-firm {
  font-family: var(--font-heading); font-weight: 600; font-size: 13px;
  color: var(--primary); margin-bottom: 12px; overflow-wrap: anywhere;
}
.lp-scales .lp-scale-labels { margin-top: -6px; }
.lp-mk-2 { animation-duration: 9s; animation-direction: alternate-reverse; }
.lp-hc-items-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lp-hc-items-pair .lp-hc-item { padding: 8px 10px; }

/* The grid: rows are shared across the two columns. */
.lp-b-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px; margin-top: -40px; position: relative; z-index: 10;
}
.lp-b-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lp-firm-b { display: flex; flex-direction: column; gap: 14px; }
.lp-firm-b .lp-ct { min-height: 0; margin-bottom: 10px; }
.lp-firm-b .lp-rows { align-self: start; width: 100%; }
@supports (grid-template-rows: subgrid) {
  /* 2 adviser rows + 7 firm-card rows (name, facts, question, its rows,
     question, its rows, closing line). */
  .lp-b-col { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 9; row-gap: 20px; }
  /* Firms only: the firm card's 7 rows, then one row for the adviser card. */
  .lp-b-firms-only .lp-b-col { grid-row: span 8; }
  /* Beside an adviser: the card takes the two adviser-card rows. */
  .lp-b-grid:not(.lp-b-firms-only) .lp-b-col > .lp-pick { grid-row: span 2; }
  .lp-firm-b { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 7; row-gap: 14px; }
}
.lp-b-col > .lp-paths { flex: none; }
.lp-stat-model { background: var(--primary); border-color: var(--primary); }
.lp-stat-model .lp-sl { color: #C9D6DC; }
.lp-stat-model .lp-sv { color: #FFFFFF; }
.lp-row-off { color: #7C8A92; }
.lp-dash {
  width: 20px; height: 20px; border-radius: 50%; background: #E0E7EB; color: #5F6F78;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.lp-change { color: var(--secondary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lp-b-change { text-align: center; margin: 18px 0 0; font-size: 14px; }
.lp-b-change a { color: var(--secondary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Tabs and hint: phones only. */
.lp-tabs, .lp-tabs-hint { display: none; }

/* Pricing on State B: one button per firm on the single card. */
.price-btns { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.price-btns .price-btn { margin-top: 0; }

/* Compare card results (in-place search). */
.lp-result-kind {
  font-family: var(--font-heading); font-weight: 600; font-size: 10.5px;
  letter-spacing: .07em; text-transform: uppercase; color: #4B5A63;
  border: 1px solid var(--border); border-radius: 10px; padding: 1px 7px; margin-left: 8px;
  white-space: nowrap;
}
.lp-roster-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: #4B5A63; }

@media screen and (max-width: 900px) {
  /* One firm fills the screen; swipe, or tap a name. The two columns stay
     one grid, so every row is the same height on both screens. */
  .lp-b-grid {
    grid-template-columns: repeat(2, 100%);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    margin-top: 16px; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .lp-b-grid::-webkit-scrollbar { display: none; }
  .lp-b-col { scroll-snap-align: start; }
  .lp-tabs {
    display: flex; position: sticky; top: var(--lp-nav-h, 56px); z-index: 60;
    background: #FFFFFF; border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(14,40,65,0.06);
  }
  .lp-tab {
    flex: 1; min-width: 0; min-height: 48px; padding: 8px 10px;
    background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer;
    font-family: var(--font-heading); font-weight: 500; font-size: 14px; line-height: 1.25;
    color: #4B5A63;
  }
  .lp-tab.is-on { font-weight: 700; color: var(--primary); border-bottom-color: var(--accent); }
  .lp-tabs-hint { display: block; text-align: center; font-size: 12.5px; color: #4B5A63; padding: 10px 20px 0; }
  .lp-hero-b { padding-bottom: 40px; }
  @media (prefers-reduced-motion: reduce) { .lp-b-grid { scroll-behavior: auto; } }
}

/* "See a sample comparison" under the compare card's search. */
.lp-cmp-foot { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lp-sample-pill { align-self: center; }

/* State B: a firm's advisers, on a side with no adviser chosen. */
.lp-pick { min-width: 0; align-self: stretch; }
.lp-pick .lp-compare-body { flex: 1; }
.lp-pick .lp-results-list { max-height: 264px; overflow-y: auto; }

/* ════════════════════════════════════════════════════════════════════ */
/*  CHECKOUT — pricing buttons as forms, and the two-report pop-up       */
/* ════════════════════════════════════════════════════════════════════ */
/* A pricing button is a form posting to /checkout/start. The form takes
   the button's old place at the foot of the card. */
.price-form { margin-top: auto; display: flex; }
.price-form .price-btn { margin-top: 0; flex: 1; }
button.price-btn { border: none; cursor: pointer; width: 100%; -webkit-appearance: none; appearance: none; }
.price-btns .price-form { margin-top: 0; }
.price-btn[disabled] { opacity: .7; cursor: default; }
.price-error {
  max-width: 640px; margin: 0 auto 18px; padding: 10px 14px; text-align: center;
  background: #FDF0E8; border: 1px solid #F3C9AE; border-radius: 8px; color: #8A3D12; font-size: 14.5px;
}

.lp-ack {
  /* margin: auto centres it; the site's reset would otherwise pin it top left. */
  margin: auto;
  width: calc(100% - 32px); max-width: 480px; padding: 0; border: none; border-radius: 14px;
  background: #FFFFFF; color: var(--text); overflow: hidden;
  box-shadow: 0 20px 60px rgba(14,40,65,.35);
}
.lp-ack::backdrop { background: rgba(14,40,65,.55); }
.lp-ack-head { padding: 18px 24px 14px; background: #F4F7F9; border-bottom: 3px solid var(--accent); }
.lp-ack-head .lp-sl { color: #3F6C7D; }
.lp-ack-head h2 {
  margin: 2px 0 0; font-family: var(--font-heading); font-weight: 700;
  font-size: 21px; line-height: 1.25; color: var(--primary);
}
.lp-ack-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.lp-ack-row {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--border); font-size: 14.5px; line-height: 1.45;
}
.lp-ack-row:last-child { border-bottom: none; }
.lp-ack-row strong { color: var(--primary); font-weight: 600; }
.lp-ack-n {
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
  font-family: var(--font-heading); font-weight: 700; font-size: 12px;
}
.lp-ack-plus { background: var(--secondary); }
.lp-ack-form { display: flex; flex-direction: column; gap: 16px; }
.lp-ack-check {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  background: #F4F7F9; border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font-size: 14px; color: #1B2A33;
}
.lp-ack-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.lp-ack-go { width: 100%; border: none; cursor: pointer; }
.lp-ack-links { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-ack-link {
  background: none; border: none; padding: 0; min-height: 44px; cursor: pointer;
  font-family: var(--font-body); font-size: 13.5px; color: var(--secondary);
  text-decoration: underline; text-underline-offset: 2px;
}
.lp-ack-link:hover { color: var(--primary); }

@media screen and (max-width: 640px) {
  /* A sheet rising from the bottom of the screen, full width. */
  .lp-ack {
    width: 100%; max-width: none; margin: auto 0 0; border-radius: 16px 16px 0 0;
    max-height: 92vh; overflow-y: auto;
  }
}

/* ════════════════════════════════════════════════════════════════════ */
/*  PRICING — the five packages (Nov 30, 2026)                           */
/*                                                                       */
/*  The order page's package row (get-report.css .gr-tiers), a size up   */
/*  for a full-width section, with one button under it. Replaces the     */
/*  two pricing cards on landing pages.                                  */
/* ════════════════════════════════════════════════════════════════════ */
.lp-tierform { max-width: 860px; margin: 0 auto; padding-top: 12px; }
.lp-tiers {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.lp-tier {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 22px 8px 16px; background: #FFFFFF;
  border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; text-align: center; user-select: none;
  transition: border-color 0.15s, background 0.15s;
}
.lp-tier:hover { border-color: var(--secondary); }
.lp-tier.selected {
  border-color: var(--primary); border-width: 2px; background: #E8F0F4;
  padding: 21.5px 7.5px 15.5px;
}
.lp-tier input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.lp-tier:focus-within { outline: 3px solid rgba(233,113,50,0.45); outline-offset: 2px; }
.lp-save {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-heading); font-weight: 700; font-size: 10.5px; letter-spacing: .04em;
  color: #FFFFFF; background: #B4521B; border-radius: 10px; padding: 2px 9px; white-space: nowrap;
}
.lp-tier-count {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  letter-spacing: .03em; text-transform: uppercase; color: #4B5A63;
}
.lp-tier-price { font-family: var(--font-heading); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--primary); }
.lp-tier-unit { font-size: 12px; color: #4B5A63; }
.lp-tier-use { font-size: 12.5px; color: #1B2A33; margin-top: 6px; }
.lp-tier-qty-row { margin-top: 6px; }
.lp-tier-qty-row input {
  width: 66px; padding: 5px 6px; font-family: var(--font-body); font-size: 14px; color: var(--text);
  text-align: center; border: 1.5px solid #C9D6DC; border-radius: 6px; outline: none; background: #FFFFFF;
}
.lp-tier-qty-row input:focus { border-color: var(--secondary); }
.lp-tier-go { width: 100%; max-width: 460px; margin: 22px auto 0; }
button.lp-tier-go { -webkit-appearance: none; appearance: none; }

/* One report on a two-firm page: which firm. With scripts on this shows
   only while the one-report package is chosen, in the button's place. */
.lp-tier-singles { max-width: 860px; margin: 18px auto 0; text-align: center; }
.lp-tier-singles-lead { font-size: 14.5px; color: #1B2A33; margin: 0 0 10px; }
.lp-tier-singles-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin: 0 auto; }
.lp-tier-singles .price-form { margin-top: 0; }
.lp-js .lp-tier-singles:not(.is-on) { display: none; }
.lp-js .lp-tier-go[hidden] { display: none; }

@media screen and (max-width: 900px) {
  .lp-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
}
@media screen and (max-width: 560px) {
  .lp-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-tier-more { grid-column: 1 / -1; }
  .lp-tier-singles-btns { grid-template-columns: minmax(0, 1fr); }
}
.lp-tierform + .pricing-callout, .lp-tier-singles + .pricing-callout { margin-top: 28px; }

/* Compare card results (Nov 30, 2026): four rows show, and half of the
   fifth so it is plain there are more; the rest scroll inside the card.
   A common name with the search widened can return 50 rows. The firm
   page's own adviser search keeps its ten rows. */
.lp-cmp-results .lp-results-list {
  max-height: 205px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
