/* Pricing page: calm, dark, Apple-style look.
   Style only. Every class name, id, onclick, data attribute and script on pricing.html is unchanged, so checkout, the billing toggle,
   the Weekend Pass flag, translations and the CMS-driven copy all behave exactly as before.
   Scoped to body.pricing-apple, and skipped in the light theme (html.sf-lt) so light mode keeps its own look. */

html:not(.sf-lt) body.pricing-apple {
  --pa-bg: #000;
  --pa-surface: #0b0b0d;
  --pa-surface-2: #131316;
  --pa-line: #26262b;
  --pa-muted: #8e8e93;
  --pa-accent: #a100f0;
  --pa-accent-soft: #c466ff;
  background: var(--pa-bg);
}

/* no coloured blobs: the page is black with one accent (the site-wide corner glows are hidden on this page only) */
html:not(.sf-lt) body.pricing-apple .sf-glow-tr,
html:not(.sf-lt) body.pricing-apple .sf-glow-bl,
html:not(.sf-lt) body.pricing-apple .sf-noise-overlay { display: none; }
html:not(.sf-lt) body.pricing-apple .pricing-page .glow,
html:not(.sf-lt) body.pricing-apple .pricing-header .hero-orb { display: none; }

html:not(.sf-lt) body.pricing-apple .pricing-page { padding-top: 116px; }

/* hero */
html:not(.sf-lt) body.pricing-apple .pricing-header { max-width: 900px; margin-bottom: 30px; }
html:not(.sf-lt) body.pricing-apple .pricing-header .section-badge {
  background: none; border: 0; padding: 0; box-shadow: none;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; color: var(--pa-accent-soft); margin-bottom: 14px;
}
html:not(.sf-lt) body.pricing-apple .pricing-header h1 {
  font-size: clamp(44px, 8vw, 80px); line-height: 1.06; font-weight: 600; letter-spacing: -0.03em;
  max-width: 11ch; margin: 0 auto 22px; text-wrap: balance;
}
html:not(.sf-lt) body.pricing-apple .pricing-header h1 .highlight {
  background: linear-gradient(180deg, #e9c6ff 0%, #a100f0 120%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
html:not(.sf-lt) body.pricing-apple .pricing-header p {
  color: var(--pa-muted); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.33; font-weight: 500; letter-spacing: -0.02em; max-width: 30ch; margin: 0 auto; text-wrap: balance;
}
html:not(.sf-lt) body.pricing-apple .pricing-header .tagline-text { display: none; }

/* launch offer: one quiet pill */
html:not(.sf-lt) body.pricing-apple .pricing-offer {
  max-width: 860px !important; width: fit-content; border-radius: 980px !important; padding: 10px 20px !important;
  background: var(--pa-surface) !important; border: 1px solid var(--pa-line) !important; margin: 0 auto 30px !important;
}
html:not(.sf-lt) body.pricing-apple .pricing-offer p { font-size: 14px !important; line-height: 1.5 !important; color: #d2d2d7 !important; }
html:not(.sf-lt) body.pricing-apple .pricing-offer p > span:first-child { display: none; }
html:not(.sf-lt) body.pricing-apple .pricing-offer strong { color: #fff; font-weight: 600; }
html:not(.sf-lt) body.pricing-apple .pricing-offer strong[style] { color: var(--pa-accent-soft) !important; }

/* billing toggle: segmented control */
html:not(.sf-lt) body.pricing-apple .pricing-toggles { margin-bottom: 40px; }
html:not(.sf-lt) body.pricing-apple .toggle-inner { background: var(--pa-surface-2); border: 1px solid var(--pa-line); padding: 3px; gap: 0; }
html:not(.sf-lt) body.pricing-apple .toggle-tab { font-size: 14px; font-weight: 500; letter-spacing: 0; padding: 8px 22px; color: var(--pa-muted); }
html:not(.sf-lt) body.pricing-apple .toggle-tab:hover { color: #fff; }
html:not(.sf-lt) body.pricing-apple .toggle-tab.active { background: #fff; color: #000; box-shadow: none; }
html:not(.sf-lt) body.pricing-apple .save-badge { background: none; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #3ddc97; }
html:not(.sf-lt) body.pricing-apple .toggle-tab.active .save-badge,
html:not(.sf-lt) body.pricing-apple .toggle-tab:not(.active) .save-badge { background: none; color: #3ddc97; }
html:not(.sf-lt) body.pricing-apple .toggle-tab.active .save-badge { color: #0a7a4b; }

/* cards */
html:not(.sf-lt) body.pricing-apple .pricing-cards { gap: 16px; align-items: stretch; }
html:not(.sf-lt) body.pricing-apple .pricing-card {
  background: var(--pa-surface); border: 1px solid var(--pa-line); border-radius: 28px; padding: 36px 30px 32px; gap: 22px; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
html:not(.sf-lt) body.pricing-apple .pricing-card:hover { transform: none; border-color: #3a3a40; box-shadow: none; }
html:not(.sf-lt) body.pricing-apple .pricing-card.featured {
  background: radial-gradient(120% 70% at 50% 0%, rgba(161,0,240,.34) 0%, rgba(161,0,240,0) 62%), var(--pa-surface);
  border-color: rgba(196,102,255,.55); box-shadow: 0 0 0 1px rgba(196,102,255,.15), 0 30px 80px -30px rgba(161,0,240,.55);
}
html:not(.sf-lt) body.pricing-apple .pricing-card.featured:hover { border-color: rgba(196,102,255,.75); }
html:not(.sf-lt) body.pricing-apple .pricing-badge {
  top: 22px; right: 22px; left: auto; transform: none; background: rgba(255,255,255,.08); color: #d2d2d7;
  font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: none; padding: 4px 11px;
}
html:not(.sf-lt) body.pricing-apple .pricing-card.featured .pricing-badge { background: var(--pa-accent); color: #fff; }
html:not(.sf-lt) body.pricing-apple .pricing-plan { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--pa-muted); }
html:not(.sf-lt) body.pricing-apple .pricing-card.featured .pricing-plan { color: var(--pa-accent-soft); }
html:not(.sf-lt) body.pricing-apple .pricing-name { font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
html:not(.sf-lt) body.pricing-apple .pricing-price { margin-top: 14px; gap: 6px; align-items: baseline; }
html:not(.sf-lt) body.pricing-apple .pricing-amount { font-size: 56px; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
html:not(.sf-lt) body.pricing-apple .pricing-amount.free { color: #fff; }
html:not(.sf-lt) body.pricing-apple .pricing-period { font-size: 17px; font-weight: 500; color: var(--pa-muted); }
html:not(.sf-lt) body.pricing-apple .pricing-annual-note { font-size: 14px; color: var(--pa-muted); }
html:not(.sf-lt) body.pricing-apple .pricing-desc { font-size: 15px; line-height: 1.45; color: #c7c7cc; }
html:not(.sf-lt) body.pricing-apple .pricing-features { gap: 12px; padding-top: 22px; border-top: 1px solid var(--pa-line); margin-top: 6px; }
html:not(.sf-lt) body.pricing-apple .pricing-feature { font-size: 15px; gap: 12px; color: #e5e5ea; }
html:not(.sf-lt) body.pricing-apple .pricing-feature strong { color: #fff; font-weight: 600; }
html:not(.sf-lt) body.pricing-apple .pricing-note { font-size: 12px; color: var(--pa-muted); }

/* buttons: pills */
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-primary,
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-secondary,
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-accent-outline {
  border-radius: 980px; padding: 13px 20px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; box-shadow: none;
}
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-primary { background: var(--pa-accent); border: 1px solid var(--pa-accent); color: #fff; }
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-primary:hover { background: #b520ff; border-color: #b520ff; }
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-secondary,
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-accent-outline { background: transparent; border: 1px solid #3a3a40; color: #fff; }
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-secondary:hover,
html:not(.sf-lt) body.pricing-apple .pricing-cta .btn-accent-outline:hover { background: rgba(255,255,255,.08); border-color: #5a5a60; color: #fff; }

/* comparison table */
html:not(.sf-lt) body.pricing-apple .cmp-wrap { background: var(--pa-surface); border: 1px solid var(--pa-line); border-radius: 24px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html:not(.sf-lt) body.pricing-apple .cmp-table th, html:not(.sf-lt) body.pricing-apple .cmp-table td { border-bottom-color: var(--pa-line); }
html:not(.sf-lt) body.pricing-apple .cmp-table thead th { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
html:not(.sf-lt) body.pricing-apple .cmp-table thead th small { font-weight: 400; color: var(--pa-muted); }
html:not(.sf-lt) body.pricing-apple .cmp-table thead th.cmp-pro { color: #fff; }
html:not(.sf-lt) body.pricing-apple .cmp-table tbody th { font-weight: 400; color: #e5e5ea; }
html:not(.sf-lt) body.pricing-apple .cmp-table td { font-weight: 500; }
html:not(.sf-lt) body.pricing-apple .cmp-table th.cmp-pro, html:not(.sf-lt) body.pricing-apple .cmp-table td.cmp-pro { background: rgba(161,0,240,.07); border-left-color: transparent; border-right-color: transparent; }
html:not(.sf-lt) body.pricing-apple .cmp-keep { background: transparent; border: 0; padding: 4px 24px; color: var(--pa-muted); font-size: 15px; text-align: center; }
html:not(.sf-lt) body.pricing-apple .cmp-keep strong { color: #fff; font-weight: 600; }

/* FAQ */
html:not(.sf-lt) body.pricing-apple .pricing-faq { max-width: 760px; }
html:not(.sf-lt) body.pricing-apple .pricing-faq h3 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; margin-bottom: 36px; }
html:not(.sf-lt) body.pricing-apple .faq-list details.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--pa-line); border-radius: 0; box-shadow: none; padding: 0; }
html:not(.sf-lt) body.pricing-apple .faq-list details.faq-item:first-of-type { border-top: 1px solid var(--pa-line); }
html:not(.sf-lt) body.pricing-apple .faq-list summary.faq-q { padding-left: 0; padding-right: 0; }
html:not(.sf-lt) body.pricing-apple .faq-list .faq-a { padding-left: 0; padding-right: 0; }
html:not(.sf-lt) body.pricing-apple .faq-list details.faq-item[open] { border-color: var(--pa-line); background: transparent; }
html:not(.sf-lt) body.pricing-apple .faq-list summary.faq-q { font-size: 18px; letter-spacing: -.02em; }

/* closing call to action: just a heading and a button */
html:not(.sf-lt) body.pricing-apple .cta-box { background: transparent; border: 0; box-shadow: none; }
html:not(.sf-lt) body.pricing-apple .cta-box .cta-glow { display: none; }
html:not(.sf-lt) body.pricing-apple .cta-box h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 600; letter-spacing: -.03em; }

@media (max-width: 900px) {
  html:not(.sf-lt) body.pricing-apple .pricing-page { padding-top: 92px; }
  html:not(.sf-lt) body.pricing-apple .pricing-offer { border-radius: 22px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.sf-lt) body.pricing-apple * { transition: none !important; animation: none !important; }
}
