/* ==========================================================
   VERYQUERY · partner page
   Layers on top of design-system.css + components.css + ../styles.css.

   Reuses the .way card chassis from the home page for the three-
   relationship triad, swaps the 2-col grid for 3. Adds the lifecycle
   stages list, the contract-fact grid, and the CTA strip layout.
========================================================== */

/* Sub-lede paragraph under .sec__lede on §01. Same role as
   pricing/styles.css `.sec__sub`. */
.partner-sub {
  margin-top: var(--s-3);
  font-size: var(--t-sm);
  color: var(--ink-mid);
  line-height: 1.55;
  font-weight: 400;
  max-width: 62ch;
}
.partner-sub strong {
  color: var(--ink);
  font-weight: 600;
}

/* CTA row under §01 lede: primary + ghost button side by side. */
.partner-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* ==========================================================
   §02 · TRIAD GRID
   The .way card chassis lives in ../styles.css; here we only swap
   the parent grid from 2 cols to 3 and adjust the wrap point.
========================================================== */
.partner-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(var(--s-5), 2vw, var(--s-6));
  margin-top: var(--s-6);
}
@media (max-width: 64rem)  { .partner-trio { grid-template-columns: 1fr 1fr; } }
@media (max-width: 44rem)  { .partner-trio { grid-template-columns: 1fr; } }

/* ==========================================================
   §03 · STAGES (rev-share lifecycle)
   Ordered list rendered as a stack of rows: monospace numeral on
   the left, headline + paragraph on the right. Mirrors the editorial
   tone of the home page ledger without the comparison columns.
========================================================== */
.stages {
  list-style: none;
  margin: var(--s-6) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  border-top: 1px solid var(--rule);
}
.stage {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(var(--s-4), 2.5vw, var(--s-6));
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.stage__num {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding-top: 0.35em;
}
.stage__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.stage__h {
  margin: 0;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.stage__body p {
  margin: 0;
  font-size: var(--t-md);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 68ch;
  font-weight: 400;
}

/* ==========================================================
   §04 · CONTRACT FACTS GRID
   Two columns of short key/value pairs. Reads like the back of a
   one-pager: term on top, plain-English meaning underneath.
========================================================== */
.partner-facts {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 44rem) { .partner-facts { grid-template-columns: 1fr; } }
.partner-fact {
  padding: var(--s-5);
  background: var(--paper-0);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
.partner-fact__k {
  margin: 0 0 var(--s-2);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.partner-fact__v {
  margin: 0;
  font-size: var(--t-md);
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 400;
}

/* ==========================================================
   §05 · CTA STRIP
   Same shape as pricing/styles.css `.enterprise-strip` but with a
   stacked-actions column that fits two buttons + a contact line.
========================================================== */
.partner-cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(var(--s-5), 4vw, var(--s-8));
  align-items: end;
  margin-top: var(--s-5);
  padding: clamp(var(--s-6), 4vw, var(--s-7));
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
@media (max-width: 47.5rem) {
  .partner-cta-strip {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    align-items: start;
  }
}
.partner-cta-strip__text .prose {
  color: var(--ink-soft);
  font-size: var(--t-md);
  line-height: 1.55;
  font-weight: 400;
  margin-top: var(--s-4);
}
.partner-cta-strip__text .prose p + p { margin-top: var(--s-3); }
.partner-cta-strip__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-3);
}
@media (max-width: 47.5rem) {
  .partner-cta-strip__actions { align-items: flex-start; }
}
.partner-cta-strip__email {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--ink-mid);
  font-weight: 400;
}
.partner-cta-strip__email a {
  color: var(--accent);
  font-weight: 500;
}
.partner-cta-strip__email a:hover { color: var(--accent-deep); }
