/* haidercode.ai — /pricing, pass 15b (2026-09-06).
   Loaded AFTER /style.css on the pricing page only; every rule is scoped
   to `body.pricing`, so no other surface can be reached from here. The
   page is the landing's: Archivo display, Inter body, JetBrains Mono data;
   the plan tiles are the landing's tile language (pixel mark left,
   name · price, two lines, the buy button); the Models & rates card is a
   hairline PCB panel whose table styling comes from the shared app rules.
   Every colour is a token from /style.css, complete in both themes. */

body.pricing .page { max-width: 1060px; padding-top: 44px; }

/* ---------- head: eyebrow · headline · lead ---------- */
body.pricing .pricehead { margin: 0 0 30px; max-width: 46rem; }
body.pricing .pricehead .eyebrow { margin: 0 0 12px; }
body.pricing .pricehead h1 {
  margin: 0;
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
body.pricing .pricehead .lead { margin: 14px 0 0; font-size: 1.0625rem; max-width: 60ch; }

/* ---------- the two tiles ---------- */
body.pricing .pr-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.pricing .tier {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 1.1rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
body.pricing .tier--go { border-color: var(--orange-dim); box-shadow: inset 0 0 0 1px var(--orange-dim); }
body.pricing .tier__mark { width: 4.5rem; height: 4.5rem; border-radius: 12px; }
body.pricing .tier__mark img { border-radius: 12px; }
body.pricing .tier__body { gap: .6rem; }
body.pricing .tier__n { font-size: 1.2rem; }
body.pricing .tier__price { font-size: 1.7rem; }
body.pricing .tier__price small { font-size: .85rem; }
body.pricing .tier__rows { font-size: .875rem; }
body.pricing .tier__rows li { padding: .38rem 0; }
body.pricing .tier__buy, body.pricing .tier__body > .plan-cta { margin: .4rem 0 0; }
body.pricing .tier__buy .btn, body.pricing .tier__body > .plan-cta {
  width: 100%;
  min-height: 2.75rem;
  padding: .6rem 1.1rem;
  font-size: .95rem;
}
body.pricing .plan-form { margin: 0; }

/* member rates · Coming */
body.pricing .pr-note {
  margin: 14px 0 0;
  color: var(--ink-faint);
  font-family: var(--font-data);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.pricing .pr-note .chip { margin-left: .4rem; }

/* ---------- Models & rates: the PCB panel ---------- */
body.pricing .card.models-card { margin-top: 34px; }
body.pricing .models-card .pt-legend {
  color: var(--ink-faint);
  font-family: var(--font-data);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
}
body.pricing .models-card .plan-toggle,
.dpanel .models-card .plan-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-color: var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--paper-dim);
}
body.pricing .models-card .plan-toggle label,
.dpanel .models-card .plan-toggle label {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-data);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
}
body.pricing .models-card .plan-toggle label + label,
.dpanel .models-card .plan-toggle label + label { border-left: 0; }
body.pricing .models-card > p.muted { font-size: var(--t-sm); }
body.pricing p.soon { margin: 6px 0 0; font-family: var(--font-body); font-size: var(--t-sm); }

/* ---------- small screens: tiles stack, the table scrolls in its box ---------- */
@media (max-width: 720px) {
  body.pricing .page { padding-top: 28px; }
  body.pricing .pr-tiers { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.pricing .tier { padding: 1rem; column-gap: .9rem; }
  body.pricing .tier__mark { width: 3.75rem; height: 3.75rem; }
  body.pricing .tier__price { font-size: 1.5rem; }
  body.pricing .models-card .plan-toggle { display: flex; width: 100%; }
  body.pricing .models-card .plan-toggle label { flex: 1 1 0; text-align: center; }
}
