/* ============================================================
   STARCHAN — Pricing ("Three Paths")
   Dark cosmic sheet. Three vertical meridians. Basic glows lunar.
   Ported from CD canvas 2026-05-04.
   ============================================================ */

body.pricing-page {
  background: #08090f;
  color: var(--text-on-dark);
  min-height: 100%;
  overflow-x: clip;            /* backstop for stray full-bleed bleed on mobile */
}

/* Cosmic backdrop — deep-navy gradient sheet behind the astrolabe canvas.
   "The instrument, ghosted." Astrolabe linework is painted on #space-canvas;
   this layer is the void it floats in. */
.pricing-page .astrolabe-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 80% at 78% 12%, rgba(200,146,58,0.08), transparent 52%),
    radial-gradient(110% 70% at 50% 0%,  rgba(120,150,200,0.04), transparent 60%),
    radial-gradient(150% 110% at 50% 100%, rgba(0,0,0,0.55), transparent 58%),
    radial-gradient(ellipse 120% 80% at 50% 50%, #14192a, #08090f 75%);
}
.pricing-page #space-canvas {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  width: 100%; height: 100%; display: block;
  max-width: 100vw;            /* mobile horizontal-scroll backstop */
  animation: astrolabe-fade 2s ease-out both;
}
@keyframes astrolabe-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .pricing-page #space-canvas { animation: none; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.pricing-page .hero {
  padding: 88px 48px 48px;
  text-align: center;
  position: relative;
  /* "protection gradient" — a soft well of dark under the type so the headline
     reads cleanly over the live astrolabe canvas, instead of a flat panel.
     (CD round-2 hero port 2026-06-20.) */
  background: radial-gradient(ellipse 460px 560px at 50% 130px,
              rgba(3,4,10,0.55), rgba(3,4,10,0.22) 46%, transparent 72%);
}
.pricing-page .hero .eyebrow {
  color: var(--gold);
  font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  margin: 0 0 26px;
  display: flex; align-items: center; justify-content: center; gap: 11px;
}
.pricing-page .hero .eyebrow .rule {
  height: 1px; width: 26px; flex: 0 0 auto;
  background: linear-gradient(90deg, transparent, rgba(200,146,58,0.5));
}
.pricing-page .hero .eyebrow .rule:last-child {
  background: linear-gradient(90deg, rgba(200,146,58,0.5), transparent);
}
/* Editorial "chapter opener": a deliberate two-line stack —
   roman beige line over a gold-italic line (period kept upright). */
.pricing-page .hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(58px, 11vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 0;
}
.pricing-page .hero h1 .l1 { display: block; color: #ede8df; }
.pricing-page .hero h1 .l2 {
  display: block; font-style: italic; font-weight: 600; color: var(--gold);
}
.pricing-page .hero h1 .l2 .stop { font-style: normal; }

/* Ornamental rule beneath the headline: gold hairline · ✦ · gold hairline */
.pricing-page .hero .ornament {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 188px; margin: 26px auto 24px;
}
.pricing-page .hero .ornament .hr {
  height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, rgba(200,146,58,0.45));
}
.pricing-page .hero .ornament .hr:last-child {
  background: linear-gradient(90deg, rgba(200,146,58,0.45), transparent);
}
.pricing-page .hero .ornament .star { color: var(--gold); font-size: 13px; line-height: 1; }

.pricing-page .hero .lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  max-width: 540px;
  margin: 0 auto;
  color: #c9d4e2;
  opacity: 0.86;
  line-height: 1.55;
}

/* Hero decorative meridian — single orbital arc behind h1 */
.pricing-page .hero::after {
  content: "";
  position: absolute;
  left: 50%; top: 60%;
  width: 1100px; height: 1100px;
  border: 1px solid rgba(200,146,58,0.10);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
}

/* ── Social proof strip — a clean scannable ledger ───────────────
   Gold keyword — muted descriptor, three rows between gold hairlines.
   (CD round-2 hero port 2026-06-20, replacing the inline ✦-dotted row.) */
.pricing-page .proof {
  margin: 40px auto 0;
  max-width: 320px;
  border-top: 1px solid rgba(200,146,58,0.22);
  border-bottom: 1px solid rgba(200,146,58,0.22);
}
.pricing-page .proof .row {
  display: flex; align-items: baseline; justify-content: center;
  gap: 8px; padding: 12px 0;
}
.pricing-page .proof .row + .row { border-top: 1px solid rgba(221,232,244,0.07); }
.pricing-page .proof .k {
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--gold-light);
}
.pricing-page .proof .d { color: rgba(200,146,58,0.45); font-size: 13px; }
.pricing-page .proof .v {
  font-size: 14px; font-weight: 400; color: rgba(221,232,244,0.7);
}

/* ── Billing toggle ─────────────────────────────────────────── */
.pricing-page .billing {
  margin: 36px auto 0;
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #8ea4bd;
}
.pricing-page .billing .side { color: #c9d4e2; }
.pricing-page .billing .side.dim { color: #55667b; }
.pricing-page .billing .side .save {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px;
  border: 1px solid rgba(200,146,58,0.5);
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  background: rgba(200,146,58,0.06);
}
.pricing-page .billing-switch {
  position: relative;
  width: 52px; height: 26px;
  border-radius: 20px;
  background: rgba(200,146,58,0.10);
  border: 1px solid rgba(200,146,58,0.24);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.pricing-page .billing-switch:hover { border-color: rgba(200,146,58,0.5); }
.pricing-page .billing-switch:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.pricing-page .billing-switch[aria-checked="true"] {
  background: rgba(200,146,58,0.32);
  border-color: rgba(200,146,58,0.6);
}
.pricing-page .billing-switch::after {
  content: "";
  position: absolute; left: 3px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a2535, #111420);
  border: 1px solid rgba(200,146,58,0.4);
  transition: transform 0.25s ease;
}
.pricing-page .billing-switch[aria-checked="true"]::after {
  transform: translateX(26px);
}

/* ── Three Paths — the core layout ──────────────────────────── */
.pricing-page .paths {
  margin: 140px auto 0;
  max-width: 860px;            /* two centered cards now Pro moved to a strip */
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 24px;
  position: relative;
  align-items: stretch;
}

/* Free card sat visually dead next to the featured card (2026-06-28 review) —
   give the non-featured card a touch more presence. */
.pricing-page .path:not(.featured) {
  border-color: rgba(200, 146, 58, 0.16);
}

.pricing-page .paths::before {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  bottom: -80px;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(200,146,58,0.08) 15%,
    rgba(200,146,58,0.22) 50%,
    rgba(200,146,58,0.08) 85%,
    transparent 100%);
}

.pricing-page .path {
  position: relative;
  padding: 44px 38px 60px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(200,146,58,0.08);
  background:
    linear-gradient(180deg, rgba(26,37,53,0.35) 0%, rgba(10,14,24,0.28) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: default;
  transition: transform 320ms var(--ease-standard),
              box-shadow 320ms var(--ease-standard),
              border-color 320ms var(--ease-standard);
  transform: translateY(0);
  display: flex;
  flex-direction: column;
}
.pricing-page .path:hover {
  transform: translateY(-3px);
  border-color: rgba(200,146,58,0.35);
  box-shadow:
    0 1px 0 rgba(200,146,58,0.15) inset,
    0 14px 40px rgba(0,0,0,0.45);
}
.pricing-page .path:hover .glyph-svg { filter: drop-shadow(0 0 10px rgba(200,146,58,0.55)); transform: rotate(6deg); }
.pricing-page .path:hover .glyph { border-color: rgba(200,146,58,0.7); }

.pricing-page .path::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  height: 80px;
  width: 1px;
  background: linear-gradient(to bottom,
    rgba(200,146,58,0.35) 0%,
    rgba(200,146,58,0.02) 100%);
  transform: translateX(-0.5px);
}

/* Glyph node — wraps SVG emblem */
.pricing-page .path .glyph {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1a2535 40%, rgba(26,37,53,0.85));
  border: 1px solid rgba(200,146,58,0.35);
  margin: 0 auto 26px;
  z-index: 2;
  line-height: 1;
  transition: border-color 320ms var(--ease-standard);
}
.pricing-page .path .glyph-svg {
  width: 64px; height: 64px;
  color: var(--gold);
  transition: filter 320ms var(--ease-standard), transform 520ms var(--ease-spring);
}

.pricing-page .path .ordinal {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #55667b;
  margin: -12px 0 28px;
}

.pricing-page .path .tier-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f4ecdc;
  margin: 0 0 6px;
}
.pricing-page .path .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: #9db0c7;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto 36px;
  opacity: 0.9;
}

.pricing-page .path .price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 92px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f4ecdc;
  margin: 0;
}
.pricing-page .path .price .unit {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #7e94ad;
  text-transform: uppercase;
  display: block;
  margin-top: 6px;
}
.pricing-page .path .price.zero { color: #c9d4e2; }

/* Features — a research note, not a checklist */
.pricing-page .path .notes {
  margin: 44px auto 0;
  max-width: 300px;
  padding: 0;
  list-style: none;
  text-align: left;
  flex-grow: 1;
}
.pricing-page .path .notes li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 14px;
  line-height: 1.55;
  color: #c9d4e2;
  border-bottom: 1px solid rgba(200,146,58,0.07);
}
.pricing-page .path .notes li:last-child { border-bottom: none; }
.pricing-page .path .notes li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 10px;
  color: var(--gold);
  font-size: 11px;
  opacity: 0.85;
}
.pricing-page .path .notes li.absent { color: #55667b; }
.pricing-page .path .notes li.absent::before {
  content: "·";
  color: #3f4f65;
  font-size: 18px;
  top: 7px;
}

/* CTA */
.pricing-page .path .cta {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  padding: 16px 30px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(200,146,58,0.45);
  border-radius: 2px;
  cursor: pointer;
  transition: all 200ms ease;
  text-decoration: none;
}
.pricing-page .path .cta:hover {
  background: rgba(200,146,58,0.08);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.pricing-page .path .cta .arr {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0;
  transition: transform 200ms ease;
}
.pricing-page .path .cta:hover .arr { transform: translateX(4px); }

/* "Current plan" pill — same shape, muted, non-interactive */
.pricing-page .path .cta.current {
  margin-top: 44px;
  color: #7e94ad;
  border-color: rgba(126,148,173,0.35);
  cursor: default;
  background: transparent;
}
.pricing-page .path .cta.current:hover {
  background: transparent;
  transform: none;
  border-color: rgba(126,148,173,0.35);
}
.pricing-page .path .manage-link {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8ea4bd;
  text-decoration: none;
}
.pricing-page .path .manage-link:hover { color: var(--gold); }

/* ── "Not yet" language (Prompt C) ───────────────────────────────
   One rule, two placements (Pro card + Annual toggle):
   solid line = available · dashed border + waxing-crescent ☾ = forthcoming.
   Reads as a deliberate state, not a broken/disabled control. */
.pricing-page .moon { color: var(--gold); font-style: normal; }

.pricing-page .path.forthcoming {
  border-top: 2px dashed rgba(200,146,58,0.5);
}

/* Forthcoming ribbon — dashed sibling of the gold "Start Here" badge */
.pricing-page .path .badge.soon {
  background: rgba(10,13,21,0.95);
  border: 1px dashed rgba(200,146,58,0.6);
  color: var(--gold);
  box-shadow: 0 0 0 1px rgba(10,14,24,0.8);
}
.pricing-page .path .badge.soon::before,
.pricing-page .path .badge.soon::after { display: none; }

/* Forthcoming CTA — dashed gold, captures intent (mailto), not a dead pill */
.pricing-page .path .cta.forthcoming {
  margin-top: 44px;
  background: rgba(200,146,58,0.06);
  border: 1px dashed rgba(200,146,58,0.6);
  color: var(--gold-light);
}
.pricing-page .path .cta.forthcoming:hover {
  background: rgba(200,146,58,0.12);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* ── PRO coming-soon strip ──────────────────────────────────────────────────
   Pro demoted from a full third card to a quiet strip below the two buyable
   paths, so an unpurchasable $30 plan stops competing with Practitioner at the
   decision point (2026-06-28 GPT pricing review). */
.pricing-page .pro-strip {
  position: relative;
  max-width: 880px;
  margin: 36px auto 0;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px dashed rgba(200, 146, 58, 0.40);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(26,37,53,0.40) 0%, rgba(10,14,24,0.30) 100%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.pricing-page .pro-strip-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 380px;
  text-align: left;
}
.pricing-page .pro-strip-moon { color: var(--gold); font-size: 22px; line-height: 1; flex: 0 0 auto; }
.pricing-page .pro-strip-copy { display: flex; flex-direction: column; gap: 3px; }
.pricing-page .pro-strip-label {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.pricing-page .pro-strip-desc { font-size: 13px; color: #9fb0c4; line-height: 1.45; }
.pricing-page .pro-strip-cta {
  flex: 0 0 auto;
  padding: 11px 22px;
  border: 1px dashed rgba(200, 146, 58, 0.6);
  border-radius: 8px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 150ms ease, border-color 150ms ease;
}
.pricing-page .pro-strip-cta:hover { background: rgba(200, 146, 58, 0.10); border-color: var(--gold); }
@media (max-width: 600px) {
  .pricing-page .pro-strip { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .pricing-page .pro-strip-cta { width: 100%; text-align: center; box-sizing: border-box; }
}

/* Locked Free features — lock glyph + "in Basic ↑" upsell, not strikethrough.
   Overrides the muted-dot .absent treatment for an upsell, not a dead-end. */
.pricing-page .path .notes li.absent {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-left: 0;
  color: #6c7d92;
}
.pricing-page .path .notes li.absent::before { display: none; }
.pricing-page .path .notes li.absent .lock-ico {
  width: 13px; height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: #6585a0;
  stroke-width: 1.3;
}
.pricing-page .path .notes li.absent .feat { flex: 1 1 0; }
.pricing-page .path .notes li.absent .upsell {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200,146,58,0.7);
  white-space: nowrap;
}

/* FEATURED path — hero card, 5% larger, gold outer glow, pulses */
.pricing-page .path.featured {
  transform: scale(1.05);
  border: 1px solid rgba(200,146,58,0.38);
  background:
    linear-gradient(180deg, rgba(50,42,28,0.48) 0%, rgba(26,22,14,0.35) 60%, rgba(10,14,24,0.35) 100%);
  box-shadow:
    0 0 0 1px rgba(200,146,58,0.12) inset,
    0 0 60px rgba(200,146,58,0.18),
    0 20px 50px rgba(0,0,0,0.55);
  animation: featuredPulse 4.5s ease-in-out infinite;
  z-index: 1;
}
.pricing-page .path.featured:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(200,146,58,0.2) inset,
    0 0 80px rgba(200,146,58,0.28),
    0 28px 60px rgba(0,0,0,0.6);
}
@keyframes featuredPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(200,146,58,0.12) inset,
      0 0 60px rgba(200,146,58,0.18),
      0 20px 50px rgba(0,0,0,0.55);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(200,146,58,0.18) inset,
      0 0 90px rgba(200,146,58,0.32),
      0 20px 50px rgba(0,0,0,0.55);
  }
}
.pricing-page .path.featured::before {
  background: linear-gradient(to bottom,
    rgba(200,146,58,0.6) 0%,
    rgba(200,146,58,0.05) 100%);
  box-shadow: 0 0 18px rgba(200,146,58,0.35);
}
.pricing-page .path.featured .glyph {
  background: radial-gradient(circle at 30% 30%,
    rgba(200,146,58,0.28),
    #1a2535 60%);
  border: 1px solid rgba(200,146,58,0.7);
  box-shadow:
    0 0 0 1px rgba(200,146,58,0.12),
    0 0 40px rgba(200,146,58,0.45),
    inset 0 0 18px rgba(200,146,58,0.15);
}
.pricing-page .path.featured .halo {
  position: absolute;
  top: -200px; left: 50%;
  width: 640px; height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center,
    rgba(200,146,58,0.16) 0%,
    rgba(200,146,58,0.05) 30%,
    transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.pricing-page .path.featured .tier-name { color: #fff6de; }
.pricing-page .path.featured .price { color: #fff6de; }
.pricing-page .path.featured .cta {
  background: var(--gold);
  color: #111420;
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(200,146,58,0.3);
}
.pricing-page .path.featured .cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* "Most Popular" badge — gold gradient pill */
.pricing-page .path .badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 7px 20px;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #1a1308;
  background: linear-gradient(135deg, #d4a84e 0%, #c8923a 50%, #b07d2d 100%);
  border: 1px solid rgba(255,226,170,0.55);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(10,14,24,0.8),
    0 4px 16px rgba(200,146,58,0.35),
    inset 0 1px 0 rgba(255,245,220,0.4);
  white-space: nowrap;
}
.pricing-page .path .badge::before,
.pricing-page .path .badge::after {
  content: "";
  width: 14px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(26,19,8,0.55), transparent);
}

/* Fineprint */
.pricing-page .fineprint {
  max-width: 1100px;
  margin: 72px auto 0;
  padding: 0 48px;
  text-align: center;
  font-size: 13px;
  color: #7e94ad;
  line-height: 1.7;
}
.pricing-page .fineprint a { color: var(--gold); border-bottom: 1px dotted rgba(200,146,58,0.4); }

/* "Always included" strip */
.pricing-page .always {
  margin: 120px auto 0;
  max-width: 1100px;
  padding: 48px 48px;
  border-top: 1px solid rgba(200,146,58,0.12);
  border-bottom: 1px solid rgba(200,146,58,0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.pricing-page .always .item .g {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.pricing-page .always .item .lbl {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7e94ad;
  margin-bottom: 8px;
}
.pricing-page .always .item .txt {
  font-size: 14px;
  color: #c9d4e2;
  line-height: 1.5;
}

/* FAQ — glass cards */
.pricing-page .faq-wrap {
  max-width: 880px;
  margin: 200px auto 0;
  padding: 0 48px;
}
.pricing-page .faq-wrap .section-head {
  text-align: center;
  margin-bottom: 60px;
}
.pricing-page .faq-wrap .section-head .eyebrow {
  color: var(--gold);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  margin: 0 0 16px;
}
.pricing-page .faq-wrap .section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 52px);
  color: #f4ecdc;
  letter-spacing: -0.015em;
  margin: 0;
}
.pricing-page .faq-wrap .section-head h2 em { color: var(--gold); font-style: italic; }

.pricing-page .faq-list { display: flex; flex-direction: column; gap: 14px; }
.pricing-page .faq {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(200,146,58,0.14);
  background: rgba(26,37,53,0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}
.pricing-page .faq::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.55;
  transition: opacity 240ms ease;
}
.pricing-page .faq:hover { border-color: rgba(200,146,58,0.3); box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
.pricing-page .faq:hover::before { opacity: 0.9; }
.pricing-page .faq[open] { border-color: rgba(200,146,58,0.4); }
.pricing-page .faq[open]::before { opacity: 1; }

.pricing-page .faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 60px 24px 34px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: #f4ecdc;
  letter-spacing: -0.005em;
  transition: color 200ms ease;
}
.pricing-page .faq summary::-webkit-details-marker { display: none; }
.pricing-page .faq summary::after {
  content: "✚";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--gold);
  transition: transform 320ms var(--ease-spring);
  line-height: 1;
}
.pricing-page .faq[open] summary::after { content: "−"; color: var(--gold); font-size: 22px; }
.pricing-page .faq summary:hover { color: #fff6de; }
.pricing-page .faq[open] summary { color: var(--gold); }
.pricing-page .faq .body {
  padding: 0 34px 26px 34px;
  font-size: 15px;
  line-height: 1.7;
  color: #c9d4e2;
  max-width: 680px;
  animation: faqFade 320ms ease both;
}
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Footer CTA */
.pricing-page .footer-cta {
  margin: 160px auto 0;
  padding: 96px 48px 120px;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(200,146,58,0.12);
}
.pricing-page .footer-cta::before {
  content: "";
  position: absolute;
  left: 50%; top: -1px;
  transform: translateX(-50%);
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(200,146,58,0.55);
}
.pricing-page .footer-cta .glyph {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 30px;
  margin-bottom: 20px;
  display: inline-block;
  animation: pulseStar 3s ease-in-out infinite;
}
.pricing-page .footer-cta h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  color: #f4ecdc;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.pricing-page .footer-cta p {
  font-family: var(--font-display);
  font-size: 18px;
  color: #9db0c7;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.pricing-page .footer-cta .cta-stack {
  display: flex; flex-direction: column;
  gap: 14px;
  align-items: center;
}
.pricing-page .footer-cta .btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 12px;
  min-width: 280px;
  padding: 16px 32px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 200ms ease;
  text-decoration: none;
}
.pricing-page .footer-cta .btn.primary {
  background: var(--gold);
  color: #111420;
  border: 1px solid var(--gold);
  box-shadow: 0 0 24px rgba(200,146,58,0.3);
}
.pricing-page .footer-cta .btn.primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(200,146,58,0.4);
}
.pricing-page .footer-cta .btn.secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(200,146,58,0.45);
}
.pricing-page .footer-cta .btn.secondary:hover {
  background: rgba(200,146,58,0.08);
  border-color: var(--gold);
  transform: translateY(-1px);
}

@keyframes pulseStar {
  0%, 100% { text-shadow: 0 0 12px rgba(200,146,58,0.35); }
  50%      { text-shadow: 0 0 24px rgba(200,146,58,0.6), 0 0 4px rgba(200,146,58,0.9); }
}

/* Reveal animation — hidden start state gated on html.js (theme.js sets it)
   so no-JS visitors see everything; :where() adds zero specificity. */
:where(html.js) .pricing-page .reveal { opacity: 0; transform: translateY(14px); transition: opacity 800ms ease, transform 800ms ease; }
.pricing-page .reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .pricing-page .paths { grid-template-columns: 1fr; gap: 24px; padding: 0 24px; }
  .pricing-page .paths::before { display: none; }
  .pricing-page .path.featured { transform: none; }
  .pricing-page .path.featured:hover { transform: translateY(-3px); }
  .pricing-page .always { grid-template-columns: 1fr 1fr; padding: 32px 24px; margin-top: 80px; }
  .pricing-page .hero { padding: 60px 24px 30px; }
  .pricing-page .proof { max-width: 296px; }
  .pricing-page .faq-wrap { padding: 0 24px; margin-top: 120px; }
  .pricing-page .faq summary { font-size: 17px; padding: 20px 50px 20px 28px; }
  .pricing-page .faq .body { padding: 0 28px 22px 28px; }
  .pricing-page .footer-cta { padding: 64px 24px 80px; }
  .pricing-page .footer-cta .btn { min-width: 0; width: 100%; max-width: 320px; }
}

/* Phone vertical rhythm — desktop section gaps (140–200px) read as dead navy
   voids on a phone. Tighten, and drop the wide decorative layers that only
   exist to overflow. */
@media (max-width: 600px) {
  .pricing-page .hero { padding: 48px 22px 24px; }
  .pricing-page .hero::after { display: none; }   /* 1100px meridian = pure overflow on phones */
  .pricing-page .path.featured .halo { display: none; }   /* 640px gold glow overflows; decorative only */
  .pricing-page .paths { margin-top: 56px; }
  .pricing-page .always { margin-top: 64px; }
  .pricing-page .fineprint { margin-top: 48px; }
  .pricing-page .faq-wrap { margin-top: 72px; }
  .pricing-page .faq-wrap .section-head { margin-bottom: 40px; }
  .pricing-page .footer-cta { margin-top: 72px; padding: 56px 22px 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-page .reveal { opacity: 1; transform: none; }
  .pricing-page .footer-cta .glyph { animation: none; }
  .pricing-page .path.featured { animation: none; }
  .pricing-page .path, .pricing-page .path:hover { transition: none; }
}
