/* ============================================================================
   Headline weight, which the site's own stylesheets actively fight.

   theme.css and v3.css both ship `h1,h2,h3,h4,h5{font-family:var(--head)!important;color:var(--ink)}`
   and, being linked from the shared header, they load AFTER this file and after
   /assets/cat-consult.css. The element-level !important beats a plain declaration, so without
   this block the h1 renders in Inter Tight and near-black on a near-black hero - invisible.
   cat-consult.css carries the same block scoped to #lp-cat, which is why the category pages look
   right and this page did not: the id is part of the selector. Any future .cx page needs its own
   id here, and the sheet must stay linked from inside <main> so it is last in document order.
   ========================================================================= */
#lp-franchise h1, #lp-franchise h2, #lp-franchise h3 {
  font-family: var(--cx-serif) !important;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.06;
  color: inherit;
}
#lp-franchise .cx-hero h1,
#lp-franchise .cx-band h2,
#lp-franchise .cx-sec--ink2 h2,
#lp-franchise .cx-sec--ink2 h3 { color: #fff; }
#lp-franchise .cx-sec--paper h2, #lp-franchise .cx-sec--paper h3 { color: var(--cx-inktext); }

/* ============================================================================
   LawPucho — /franchise-agreement-review
   Page-specific styles only. Everything else (tokens, buttons, price card,
   cards, rails, FAQ, band, sticky bar, motion) comes from /assets/cat-consult.css,
   which this file must be loaded AFTER.

   The one thing the shared design system does not have is a real data table:
   this page publishes fifteen review checks with two columns of substance, and
   a table is the honest way to present them. On narrow screens the same table
   re-flows into stacked blocks rather than scrolling sideways, because a
   sideways-scrolling table is where a reader gives up.

   The table sits in a dark section (.cx-sec--ink2), so all colours here are the
   dark-ground tokens: readable on #0E1016, never theme.css's h1..h5 colour.
   ========================================================================= */

.cx-table {
  width: 100%;
  margin: 34px 0 0;
  border-collapse: collapse;
  border-top: 1px solid var(--cx-line);
  text-align: left;
}

/* A caption carries the table's subject for assistive technology; keep it visible
   but quiet, in the same mono register as the eyebrows. */
.cx-table-cap {
  caption-side: top;
  padding: 0 0 14px;
  font-family: var(--cx-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cx-muted);
  text-align: left;
}

.cx-table th {
  padding: 14px 18px 14px 0;
  font-family: var(--cx-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cx-accent);
  border-bottom: 1px solid var(--cx-line);
  vertical-align: bottom;
}

.cx-table th.cx-table-n { width: 54px; color: var(--cx-muted); }

.cx-table td {
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--cx-line);
  vertical-align: top;
  font-size: 15px;
  line-height: 1.62;
}

.cx-table tbody tr { transition: background-color .18s ease, border-color .18s ease; }
.cx-table tbody tr:hover { background: rgba(47, 107, 255, .055); }

/* The number is an index, not data: mono, dim, and it never wraps. */
.cx-table td.cx-table-n {
  font-family: var(--cx-mono);
  font-size: 12px;
  color: var(--cx-accent-2);
  letter-spacing: .06em;
  white-space: nowrap;
  padding-right: 8px;
}

/* The service name is the label the client scans for, so it carries the weight. */
.cx-table td.cx-table-t {
  width: 34%;
  color: var(--cx-text);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -.01em;
  padding-right: 26px;
}

.cx-table td.cx-table-d { color: var(--cx-muted); }

/* Last row keeps the closing rule from doubling up against the fine print. */
.cx-table tbody tr:last-child td { border-bottom-color: var(--cx-line-s); }

/* ---------------------------------------------------------------- narrow screens
   Below 760px the three columns become one stacked block per check: number and
   service on one line, description beneath. The header row is dropped because
   the caption already names the table, and every cell repeats its label. */
@media (max-width: 760px) {
  .cx-table,
  .cx-table tbody,
  .cx-table tr,
  .cx-table td { display: block; width: auto; }

  .cx-table thead { display: none; }
  .cx-table { border-top: 0; }

  .cx-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--cx-line);
  }

  .cx-table td { padding: 0; border-bottom: 0; }

  .cx-table td.cx-table-n {
    display: inline-block;
    margin-right: 9px;
    padding: 0;
    vertical-align: baseline;
  }

  .cx-table td.cx-table-t {
    display: inline;
    width: auto;
    font-size: 15.5px;
    line-height: 1.5;
  }

  .cx-table td.cx-table-d {
    display: block;
    margin-top: 7px;
    padding-left: 27px;      /* aligns under the service name, past the index */
    font-size: 14.5px;
  }

  .cx-table tbody tr:hover { background: transparent; }
  .cx-table tbody tr:last-child td { border-bottom: 0; }
}
