/* Page styles for pricing (owner: see CONTRIBUTING.md). Shared tokens live in /assets/site.css.
   Composition (DESIGN_SYSTEM.md, Pricing): the fare board sits on the opening dark stage, ruled columns with one
   raised .panel-dark column; then a short warm-white band, the definitions as a ruled list on paper, the records
   on mint, and the closing CTA on navy. No motion on this page. */

/* ================= Fare board: the opening dark stage ================= */
.fare { padding-block: clamp(3rem, 1.5rem + 5vw, 6rem) clamp(4rem, 2rem + 5vw, 7rem); }
.fare-head { display: grid; gap: 1.5rem 4rem; margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.fare-intro h1 { margin-bottom: 1.25rem; }
.fare-intro .lead { margin: 0; }
.fare-notes { display: grid; gap: 1rem; align-self: end; }
.price-label { margin: 0; padding: 0.85rem 1.1rem; border-left: 3px solid var(--teal); background: var(--navy-raise);
  border-radius: 0 var(--radius-small) var(--radius-small) 0; font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }
.scope-note { margin: 0; font-size: var(--step-0); line-height: 1.55; max-width: 64ch; }
.on-navy .scope-note { color: var(--mist); }
.scope-note a { font-weight: 700; }
@media (min-width: 60rem) { .fare-head { grid-template-columns: 5fr 7fr; } }

.fare-title { font-size: var(--step-3); max-width: 30ch; margin-bottom: 1.5rem; }
.fare-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fare-col { position: relative; max-width: none; display: flex; flex-direction: column; padding: 2rem 0;
  border-top: 1px solid var(--rule-navy); }
.fare-col h3 { font-size: var(--step-2); margin-bottom: 0.75rem; }
.price { font-weight: 800; font-stretch: 112%; font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; margin-bottom: 1.25rem; }
.price span { display: block; margin-top: 0.35rem; font-size: var(--step--1); font-weight: 600; font-stretch: 100%;
  letter-spacing: 0; color: var(--mist); }
.fare-points { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: var(--step-0); }
.fare-points li { position: relative; padding: 0.55rem 0 0.55rem 1.5rem; border-top: 1px solid var(--rule-navy); line-height: 1.5; }
.fare-points li::before { content: ""; position: absolute; left: 0.15rem; top: 1.05rem; width: 0.55rem; height: 0.55rem;
  border-radius: 2px; background: var(--teal); }
.on-navy .fare-note { margin: auto 0 0; font-size: var(--step--1); line-height: 1.55; color: var(--mist); }
.fare-note strong { color: var(--warm-white); }

.fare-col.is-featured { padding: 1.75rem; border-top: 0; margin-block: 0.5rem; }
.fare-col.is-featured + .fare-col { border-top-color: transparent; }
.fare-col.is-featured .fare-points li { border-top-color: rgba(169, 187, 203, 0.28); }
.fare-col.is-featured .fare-note { color: var(--mist); }
.fare-col.is-featured .flag { align-self: flex-start; color: var(--navy); }

@media (min-width: 64rem) {
  .fare-board { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
  .fare-col { padding: 2rem 1.5rem; border-top: 0; border-left: 1px solid var(--rule-navy); }
  .fare-col:first-child { border-left: 0; padding-left: 0; }
  .fare-col.is-featured { margin-block: -1.5rem; padding: 3.75rem 1.5rem 2rem; }
  .fare-col.is-featured + .fare-col { border-left-color: transparent; }
  .fare-col.is-featured .flag { position: absolute; top: 1.1rem; left: 1.5rem; margin: 0; }
}
.fare-actions { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

/* ================= Ad spend, software, tax: a short ruled band ================= */
.spend-grid { display: grid; gap: 1.5rem 4rem; }
.spend-grid h2 { margin: 0; max-width: 16ch; }
.spend-list { list-style: none; padding: 0; margin: 0; }
.spend-list li { position: relative; padding: 0.9rem 0 0.9rem 1.75rem; border-top: 1px solid var(--rule); }
.spend-list li:last-child { border-bottom: 1px solid var(--rule); }
.spend-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 2.25rem; height: 2px; background: var(--teal); }
.spend-list li::after { content: ""; position: absolute; left: 0.2rem; top: 1.55rem; width: 0.55rem; height: 0.55rem;
  border-radius: 50%; border: 2px solid var(--teal); }
@media (min-width: 60rem) { .spend-grid { grid-template-columns: 5fr 7fr; align-items: start; } }

/* ================= Definitions: one ruled list, term left, meaning right ================= */
.defs-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.defs-head h2, .defs-head .lead { margin: 0; }
@media (min-width: 60rem) { .defs-head { grid-template-columns: 5fr 7fr; align-items: end; } }
.def-list { margin: 0; border-bottom: 1px solid var(--rule); }
.def { position: relative; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.def::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.25rem; height: 2px; background: var(--teal); }
.def dt { color: var(--navy); font-weight: 800; font-stretch: var(--display-stretch); font-size: var(--step-3);
  letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 0.4rem; }
.def dd { margin: 0; max-width: 65ch; }
@media (min-width: 48rem) {
  .def { display: grid; grid-template-columns: 5fr 7fr; column-gap: 4rem; align-items: baseline; padding: 1.5rem 0; }
  .def dt { margin: 0; }
}

/* ================= Records ================= */
.records-grid { display: grid; gap: 2rem 4rem; align-items: center; }
.record-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.record-list li { position: relative; padding: 0.75rem 0 0.75rem 1.75rem; border-top: 1px solid rgba(16, 42, 67, 0.14); }
.record-list li:last-child { border-bottom: 1px solid rgba(16, 42, 67, 0.14); }
.record-list li::before { content: ""; position: absolute; left: 0.2rem; top: 1.35rem; width: 0.6rem; height: 0.6rem;
  border-radius: 2px; background: var(--teal); }
.rule-callout { margin: 0; background: var(--navy); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); font-weight: 800; font-stretch: var(--display-stretch);
  font-size: var(--step-3); line-height: 1.2; letter-spacing: -0.015em; box-shadow: var(--edge-dark); max-width: none; }
.on-mint .rule-callout { color: var(--warm-white); }
@media (min-width: 60rem) { .records-grid { grid-template-columns: 7fr 5fr; } }

/* ================= Final CTA ================= */
.final-title { font-size: var(--step-5); max-width: 16ch; }
.final-cta .lead { max-width: 52ch; }
