/* Services page (/products/services/): flat hero links and the memberships-first body.
 * Additive and scoped to .sv-*; loaded after products-showcase.css so the shared product and
 * ledger rules stay untouched. Colors come from the shared tokens, so Light and Dark both follow. */

/* ---------- hero: three aligned, equal-width links straight to their pages ---------- */
.sv-hubs li:nth-child(n) { margin-inline-start: 0; }
.sv-hubs a { height: 100%; }

/* ---------- body ---------- */
.sv-stack { display: grid; gap: var(--sc-gap, 16px); }
.sv-card { min-width: 0; padding: var(--sc-pad, 22px); border: 1px solid var(--sc-edge, var(--border)); border-radius: 20px; background: var(--sc-glass, var(--bg-1)); box-shadow: var(--shadow-card); }
.sv-card h2 { margin: 6px 0 12px; font-size: clamp(21px, 1.7vw, 30px); letter-spacing: -.025em; line-height: 1.2; }
.sv-card p { margin: 0 0 20px; color: var(--text-2); font-size: clamp(14px, .9vw, 16px); line-height: 1.7; }
.sv-card .product-points { margin: 0 0 24px; font-size: clamp(14px, .9vw, 16px); color: var(--text-2); }

/* memberships: the most prominent block */
.sv-plans { border-color: var(--border-accent); padding: clamp(22px, 2.4vw, 44px); background: radial-gradient(70% 120% at 0% 0%, rgba(var(--accent-rgb), .12), transparent 70%), var(--sc-glass, var(--bg-1)); }
.sv-plans-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(18px, 2vw, 32px); }
.sv-plans-head > div { max-width: 62ch; }
.sv-plans-head h2 { font-size: clamp(26px, 2.6vw, 44px); }
.sv-plans-head p { margin-bottom: 0; }
.sv-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-gap, 16px); }
.sv-tier { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: clamp(18px, 1.8vw, 30px); border: 1px solid var(--sc-edge, var(--border)); border-radius: 16px; background: var(--bg-1); }
.sv-tier--pro { border-color: var(--border-accent); }
.sv-tier h3 { margin: 0 0 6px; font-size: clamp(17px, 1.3vw, 22px); font-weight: 700; letter-spacing: -.02em; }
.sv-tier .product-price { font-size: clamp(18px, 1.4vw, 24px); font-weight: 700; }
.sv-tier .product-price-note { color: var(--text-2); font-size: 13px; }
.sv-tier .product-points { margin: 14px 0 0; }
.sv-plans .product-later { margin: clamp(14px, 1.4vw, 22px) 0 0; font-size: 13px; }

/* credits and Cloud: equal-height cards with one action pinned to the bottom */
.sv-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-gap, 16px); align-items: stretch; }
.sv-service { display: flex; flex-direction: column; align-items: flex-start; }
.sv-service .product-points { flex: 1 1 auto; }

@media (max-width: 900px) {
  .sv-tiers, .sv-pair { grid-template-columns: minmax(0, 1fr); }
  .sv-plans-head { align-items: flex-start; }
}
@media (max-width: 700px) {
  .sv-plans-head .btn, .sv-service .btn { width: 100%; }
}
