/* ============================================================
   pricing-page.css — Pricing page
   Layers on top of styles.css; assumes same tokens.
   ============================================================ */

/* ── Shared page shell ────────────────────────────────────── */
.pricing-page {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x);
}
.pp-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 0;
  position: relative;
}
.pp-section-hd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}
.pp-section-hd .eb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.pp-section-hd .eb::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}
.pp-section-hd h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
  max-width: 600px;
}
.pp-section-hd h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary-glow);
}
.pp-section-hd p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-1);
  margin: 0;
  max-width: 520px;
}
@media (max-width: 820px) {
  .pp-section-hd { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   HERO
   ============================================================ */
.pp-hero {
  padding: 56px 0 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.pp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 28px;
}
.pp-breadcrumb a { color: var(--fg-2); transition: color 120ms; }
.pp-breadcrumb a:hover { color: var(--fg-0); }
.pp-breadcrumb .sep { color: var(--fg-3); }
.pp-breadcrumb .here { color: var(--fg-0); }

.pp-hero-headline {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 14px 0 22px;
  max-width: 920px;
}
.pp-hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary-glow);
}
.pp-hero-lede {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--fg-1);
  max-width: 640px;
}

/* ============================================================
   PRICE PANEL — the big $149 card
   ============================================================ */
.pp-price-section { padding: 32px 0 56px; }
.pp-price-panel {
  position: relative;
  background:
    radial-gradient(ellipse at top right,
      color-mix(in oklab, var(--primary) 16%, transparent) 0%,
      transparent 60%),
    var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr) auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-elev);
  overflow: hidden;
}
.pp-price-panel::before {
  /* glow accent */
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle,
    color-mix(in oklab, var(--primary) 50%, transparent) 0%,
    transparent 60%);
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}
.pp-price-panel > * { position: relative; z-index: 1; }

.pp-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 18%, transparent);
  border: 0.5px solid color-mix(in oklab, var(--primary) 40%, transparent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-glow);
  margin-bottom: 14px;
}
.pp-price-badge::before {
  content: "";
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
.pp-price-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 8px;
}
.pp-price-value {
  font-size: clamp(72px, 11vw, 132px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--fg-0);
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-feature-settings: 'tnum';
}
.pp-price-value .currency {
  font-size: 0.42em;
  font-weight: 500;
  margin-top: 0.15em;
  color: var(--fg-1);
}
.pp-price-value .amount {
  background: linear-gradient(180deg, var(--fg-0) 0%, color-mix(in oklab, var(--fg-0) 70%, var(--primary)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pp-price-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  margin-top: 10px;
}
.pp-price-copy {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-1);
}
.pp-price-copy p { margin: 0 0 12px; }
.pp-price-copy p:last-child { margin-bottom: 0; }
.pp-price-copy b {
  color: var(--fg-0);
  font-weight: 500;
}

.pp-price-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}
.pp-price-actions .reassure {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--fg-2);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 980px) {
  .pp-price-panel {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 24px;
  }
  .pp-price-actions { min-width: 0; }
}

/* ============================================================
   OBJECTION-KILLER CALLOUT
   ============================================================ */
.pp-objection {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: start;
  padding: 32px 36px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--primary) 12%, var(--surface)) 0%,
    var(--surface) 100%);
  border: 0.5px solid color-mix(in oklab, var(--primary) 35%, transparent);
  border-radius: var(--r-lg);
}
.pp-objection .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--primary) 22%, var(--bg-1));
  border: 0.5px solid color-mix(in oklab, var(--primary) 45%, transparent);
  display: grid;
  place-items: center;
  color: var(--primary-glow);
  flex-shrink: 0;
}
.pp-objection h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--fg-0);
}
.pp-objection h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary-glow);
}
.pp-objection p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-1);
  margin: 0 0 12px;
  max-width: 880px;
}
.pp-objection p:last-child { margin-bottom: 0; }
.pp-objection b { color: var(--fg-0); font-weight: 500; }

/* Inline stat-pills inside the objection paragraph */
.pp-stat-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 8px;
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  border: 0.5px solid color-mix(in oklab, var(--primary) 30%, transparent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--primary-glow);
  font-feature-settings: 'tnum';
  white-space: nowrap;
  margin: 0 2px;
}

@media (max-width: 720px) {
  .pp-objection { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; }
}

/* ============================================================
   COST SPECTRUM — 3 cards
   ============================================================ */
.pp-spectrum {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.pp-spec-card {
  position: relative;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms, transform 200ms;
}
.pp-spec-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.pp-spec-card.featured {
  border-color: color-mix(in oklab, var(--primary) 50%, transparent);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--primary) 10%, transparent) 0%,
    var(--surface-2) 100%);
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--primary) 25%, transparent) inset,
    0 24px 50px -28px color-mix(in oklab, var(--primary) 60%, transparent);
}
.pp-spec-card .lab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.pp-spec-card.featured .lab { color: var(--primary-glow); }
.pp-spec-card .price {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  font-feature-settings: 'tnum';
  line-height: 1;
}
.pp-spec-card .price small {
  font-size: 16px;
  color: var(--fg-2);
  font-weight: 400;
  margin-left: 4px;
}
.pp-spec-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0;
}
.pp-spec-card .badge {
  position: absolute;
  top: -10px; left: 24px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-0);
  border: 0.5px solid color-mix(in oklab, var(--primary) 50%, transparent);
  color: var(--primary-glow);
}
@media (max-width: 820px) {
  .pp-spectrum { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.pp-compare {
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.pp-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pp-compare-table thead th {
  text-align: left;
  padding: 14px 22px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
  border-bottom: 0.5px solid var(--border);
}
.pp-compare-table tbody td {
  padding: 18px 22px;
  border-bottom: 0.5px solid var(--border);
  color: var(--fg-1);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
}
.pp-compare-table tbody tr:last-child td { border-bottom: none; }
.pp-compare-table .row-name {
  color: var(--fg-0);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.pp-compare-table .row-cost {
  font-family: var(--font-mono);
  color: var(--fg-0);
  font-feature-settings: 'tnum';
}
.pp-compare-table tr.featured-row td {
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--primary) 12%, transparent) 0%,
    color-mix(in oklab, var(--primary) 4%, transparent) 100%);
}
.pp-compare-table tr.featured-row .row-name {
  color: var(--primary-glow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pp-compare-table tr.featured-row .row-name::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .pp-compare-table { font-size: 12.5px; }
  .pp-compare-table thead th,
  .pp-compare-table tbody td { padding: 12px 14px; }
}

/* ============================================================
   WHAT'S INCLUDED
   ============================================================ */
.pp-included {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pp-incl-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px 22px;
  border-bottom: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-1);
}
.pp-incl-item:nth-child(2n) { border-right: none; }
/* Remove bottom border on last row */
.pp-incl-item:nth-last-child(-n+2) { border-bottom: none; }
.pp-incl-item:nth-last-child(1) { border-right: none; }

.pp-incl-item .ck {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--success) 18%, transparent);
  border: 0.5px solid color-mix(in oklab, var(--success) 40%, transparent);
  display: grid;
  place-items: center;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}
.pp-incl-item b {
  color: var(--fg-0);
  font-weight: 500;
}
@media (max-width: 720px) {
  .pp-included { grid-template-columns: 1fr; }
  .pp-incl-item { border-right: none; }
  .pp-incl-item:nth-last-child(2) { border-bottom: 0.5px solid var(--border); }
}

/* ============================================================
   FAQ
   ============================================================ */
.pp-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 0.5px solid var(--border);
}
.pp-faq-item {
  border-bottom: 0.5px solid var(--border);
}
.pp-faq-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-0);
  letter-spacing: -0.005em;
  transition: color 160ms;
}
.pp-faq-summary::-webkit-details-marker { display: none; }
.pp-faq-summary:hover { color: var(--primary-glow); }
.pp-faq-summary .plus {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 0.5px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--fg-1);
  position: relative;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), background 160ms, color 160ms;
  flex-shrink: 0;
}
.pp-faq-summary .plus::before,
.pp-faq-summary .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.pp-faq-summary .plus::before { width: 11px; height: 1.5px; }
.pp-faq-summary .plus::after  { width: 1.5px; height: 11px; transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
.pp-faq-item[open] .pp-faq-summary .plus::after { transform: rotate(90deg); }
.pp-faq-item[open] .pp-faq-summary .plus {
  background: color-mix(in oklab, var(--primary) 18%, var(--surface));
  border-color: color-mix(in oklab, var(--primary) 40%, transparent);
  color: var(--primary-glow);
}
.pp-faq-answer {
  padding: 0 4px 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-1);
  max-width: 900px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.pp-finalcta {
  padding: 60px 0 90px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.pp-finalcta .eb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 14px;
}
.pp-finalcta h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 14px;
}
.pp-finalcta h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary-glow);
}
.pp-finalcta p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-1);
  margin: 0 auto 24px;
  max-width: 540px;
}
.pp-finalcta .cta-row {
  display: inline-flex;
  gap: 12px;
  justify-content: center;
}
.pp-finalcta .meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
}
.pp-finalcta .meta a {
  color: var(--fg-1);
  border-bottom: 0.5px dashed var(--fg-3);
}
.pp-finalcta .meta .sep {
  margin: 0 10px;
  color: var(--fg-3);
}

/* ============================================================
   LIGHT-THEME ADJUSTMENTS
   ============================================================ */
html[data-theme="light"] .pp-price-value .amount {
  background: linear-gradient(180deg, var(--fg-0) 0%, color-mix(in oklab, var(--fg-0) 60%, var(--primary)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
