/* ============================================================
   PARTNERS — the rate card

   Loads on top of referrals.css, which already carries the
   chartreuse ground, the hero treatment and the rules blocks. This
   file is only what the partner page adds: a three-column rate
   card, the accelerator callout, and the comparison bars.

   The two focus categories get a border and a tag rather than
   being buried in a list in the same weight as the rest. The page
   is meant to steer, and pretending every line is equally worth a
   rep's week would be a lie told by layout.
   ============================================================ */

.lede--tight { margin-top: 0.9rem; }

/* ---------- rate card ---------- */

.rates {
  width: min(76rem - var(--pad) * 2, 100% - var(--pad) * 2);
  margin: 3.5rem auto 0;
  border: 1px solid var(--line);
}

.rate {
  display: grid;
  grid-template-columns: 1fr 12rem;
  gap: 1.4rem;
  padding: 1.3rem clamp(1rem, 2.5vw, 1.7rem);
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.rate:last-child { border-bottom: 0; }

.rate--head { display: none; }
.rate--head-unused {
  padding-top: 0.85rem; padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.rate--head p {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dim);
}

/* The two categories the whole page is pointing at. */
.rate--lead { background: rgba(181, 217, 79, 0.05); }
.rate--lead .rate__close b { color: var(--accent); }

.rate__what h3 {
  color: var(--white); font-size: 0.98rem; font-weight: 500; line-height: 1.3;
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
}
.rate__tag {
  font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #1b2205; background: var(--accent);
  padding: 0.15rem 0.45rem; border-radius: 100px;
}
.rate__why { color: var(--mute); font-size: 0.83rem; line-height: 1.6; margin-top: 0.5rem; max-width: 40rem; }

.rate__fee b, .rate__close b {
  display: block; font-family: var(--serif); font-size: 1.7rem;
  line-height: 1; color: var(--white); font-variant-numeric: tabular-nums;
}
.rate__fee em, .rate__close em {
  display: block; font-style: normal; font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.06em; color: var(--dim);
  margin-top: 0.4rem; line-height: 1.5;
}
.rate__none { color: var(--dim) !important; }

/* ---------- accelerator ---------- */

.accel {
  max-width: 46rem; margin: 2rem 0 0;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--accent); border-radius: 12px;
  background: rgba(181, 217, 79, 0.07);
}
.accel__k {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem;
}
.accel__body { color: var(--mute); font-size: 0.92rem; line-height: 1.65; }
.accel__body b { color: var(--white); font-weight: 600; }

/* ---------- comparison ---------- */

.compare {
  width: min(70rem - var(--pad) * 2, 100% - var(--pad) * 2);
  margin: 3.5rem auto 0;
  display: grid; gap: 0.9rem;
}
.cmp {
  display: grid;
  grid-template-columns: 20rem 1fr 7rem;
  gap: 1.2rem;
  align-items: center;
}
.cmp__t b { display: block; color: var(--white); font-size: 0.92rem; font-weight: 500; line-height: 1.35; }
.cmp__t em { display: block; font-style: normal; color: var(--dim); font-size: 0.76rem; margin-top: 0.2rem; line-height: 1.5; }
.cmp__bar { height: 10px; background: rgba(255, 255, 255, 0.05); border-radius: 100px; overflow: hidden; }
.cmp__bar span {
  display: block; height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), rgba(181, 217, 79, 0.4));
}
.cmp__v {
  font-family: var(--mono); font-size: 0.92rem; color: var(--white);
  text-align: right; font-variant-numeric: tabular-nums;
}

/* ---------- the six ---------- */

.qual {
  width: min(56rem - var(--pad) * 2, 100% - var(--pad) * 2);
  margin: 3.5rem auto 0;
  list-style: none;
  counter-reset: q;
  display: grid; gap: 0.5rem;
}
.qual li {
  counter-increment: q;
  position: relative;
  padding: 1rem 1.2rem 1rem 3.4rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
  color: var(--mute); font-size: 0.92rem; line-height: 1.6;
}
.qual li::before {
  content: counter(q);
  position: absolute; left: 1.1rem; top: 0.95rem;
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(181, 217, 79, 0.15);
  color: var(--accent);
  font-family: var(--mono); font-size: 0.68rem;
}

@media (max-width: 900px) {
  .rate { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .rate__what { grid-column: 1 / -1; }
  .rate--head { display: none; }
  .rate__fee::before, .rate__close::before {
    display: block; font-family: var(--mono); font-size: 0.55rem;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
    margin-bottom: 0.3rem;
  }
  .rate__fee::before { content: "Qualified meeting"; }
  .rate__close::before { content: "On close"; }
  .cmp { grid-template-columns: 1fr; gap: 0.5rem; }
  .cmp__v { text-align: left; }
}

/* ============================================================
   TERM CARDS — the four ways a client can buy

   The rate is the message, so it is set enormous and the
   twelve-month card is the only one that gets the accent border.
   A rate card where every option looks equally attractive is a
   rate card that steers nobody.
   ============================================================ */

.tcards {
  width: min(76rem - var(--pad) * 2, 100% - var(--pad) * 2);
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.tcard {
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}
.tcard--best, .tcard.is-best {
  border-color: var(--accent);
  background: rgba(181, 217, 79, 0.07);
}
.tcard__rate {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 0.9;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tcard h3 { color: var(--white); font-size: 0.98rem; font-weight: 500; margin-top: 0.7rem; }
.tcard__when {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em;
  color: var(--dim); margin-top: 0.35rem;
}
.tcard__note { color: var(--mute); font-size: 0.82rem; line-height: 1.6; margin-top: 0.8rem; }

/* ============================================================
   THE MATRIX — every service against every term
   ============================================================ */

.mxwrap {
  width: min(80rem - var(--pad) * 2, 100% - var(--pad) * 2);
  margin: 3.5rem auto 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.mx { width: 100%; border-collapse: collapse; min-width: 54rem; }

.mx th {
  text-align: left; padding: 0.9rem 0.8rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  color: var(--white); vertical-align: bottom; white-space: nowrap;
}
.mx th em {
  display: block; font-style: normal; font-family: var(--mono);
  font-size: 0.58rem; letter-spacing: 0.1em; color: var(--dim); margin-top: 0.25rem;
}
.mx th.is-best { background: rgba(181, 217, 79, 0.1); color: var(--accent); }
.mx th.is-best em { color: var(--accent); }

.mx td { padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }

/* Group rows break the table into SEO / GEO / both, so a rep can find the
   line they are selling without reading every row. */
.mx__group td {
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dim);
  padding-top: 0.9rem; padding-bottom: 0.5rem;
}
.mx__group.is-lead td { color: var(--accent); background: rgba(181, 217, 79, 0.06); }
.mx__tag {
  margin-left: 0.6rem; padding: 0.12rem 0.45rem; border-radius: 100px;
  background: var(--accent); color: #1b2205; letter-spacing: 0.1em;
}

.mx__svc { color: var(--white); font-size: 0.9rem; white-space: nowrap; }
.mx__svc em { display: block; font-style: normal; font-size: 0.72rem; color: var(--dim); margin-top: 0.2rem; }
.mx__mo { font-family: var(--mono); font-size: 0.85rem; color: var(--mute); white-space: nowrap; }
.mx__mo em { font-style: normal; font-size: 0.7rem; color: var(--dim); }

.mx__pay b {
  display: block; font-family: var(--serif); font-size: 1.35rem;
  line-height: 1; color: var(--white); font-variant-numeric: tabular-nums;
}
.mx__pay b i { font-style: normal; font-family: var(--mono); font-size: 0.6rem; color: var(--dim); }
.mx__pay em {
  display: block; font-style: normal; font-family: var(--mono);
  font-size: 0.58rem; color: var(--dim); margin-top: 0.3rem; line-height: 1.45;
}
.mx__pay.is-best { background: rgba(181, 217, 79, 0.06); }
.mx__pay.is-best b { color: var(--accent); }

/* The month-to-month column is deliberately quieter. It is a smaller number
   arriving in pieces, and setting it in the same weight as a lump sum would
   flatten the only distinction the table exists to draw. */
.mx__pay.is-drip b { color: var(--mute); font-size: 1.1rem; }
.mx__ceil { color: #8a7f5a !important; }

.mx tr.is-star .mx__svc { color: var(--accent); }
.mx tbody tr:not(.mx__group):hover td { background: rgba(255, 255, 255, 0.02); }

@media (max-width: 900px) {
  .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .tcards { grid-template-columns: 1fr; }
}

/* Shown at the point of applying, not filed away in a footer — the
   commission rules only bind somebody who saw them before they signed
   up. */
.pt__agree {
  margin: 1rem 0 0.2rem;
  font-size: 0.78rem; line-height: 1.6; opacity: 0.72;
}
.pt__agree a { color: var(--accent); }
