
    :root {
      --indigo:        oklch(42% 0.20 275);
      --indigo-light:  oklch(55% 0.18 275);
      --indigo-mid:    oklch(35% 0.20 275);
      --indigo-dark:   oklch(24% 0.18 275);
      --indigo-deeper: oklch(16% 0.14 278);
      --amber:         oklch(70% 0.18 72);
      --amber-dark:    oklch(59% 0.20 68);
      /* Amber for TEXT on a light ground. --amber-dark is tuned for fills and
         reaches only ~3.9-4.3:1 as small text on --bg/--bg-2/white, so small
         amber labels use this deeper tone to clear WCAG AA. Mirrors the token
         landing.html introduced in Batch 7. */
      --amber-text:    oklch(42% 0.14 56);
      --amber-glow:    oklch(70% 0.18 72 / 0.22);
      --amber-subtle:  oklch(70% 0.18 72 / 0.10);
      --success:       oklch(55% 0.12 155);

      --bg:        oklch(98.5% 0.005 80);
      --bg-2:      oklch(96.5% 0.008 80);
      --surface:   oklch(100% 0 0);
      --border:    oklch(90% 0.008 90);
      --border-2:  oklch(85% 0.010 90);

      --text:      oklch(18% 0.015 270);
      --text-2:    oklch(38% 0.012 270);
      --text-3:    oklch(56% 0.008 270);

      --r:  10px;
      --r-lg: 16px;
      --r-xl: 24px;
      --ui: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: var(--ui);
      font-size: 16px;
      line-height: 1.6;
      color: var(--text);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    /* ===== Nav ===== */
    nav {
      position: sticky; top: 0; left: 0; right: 0; z-index: 100;
      background: oklch(16% 0.14 278 / 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid oklch(100% 0 0 / 0.08);
    }
    .nav-inner {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 24px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none; color: inherit;
    }
    .logo-mark {
      width: 32px; height: 32px; border-radius: 8px;
      background: var(--amber);
      display: grid; place-items: center;
      flex-shrink: 0;
    }
    .logo-name {
      font-size: 17px; font-weight: 700;
      color: oklch(97% 0.004 80);
      letter-spacing: -0.02em;
    }
    .logo-name span { color: var(--amber); }
    .nav-actions { display: flex; align-items: center; gap: 12px; }
    .nav-link {
      font-size: 14px; font-weight: 500;
      color: oklch(75% 0.008 270);
      text-decoration: none;
    }
    .nav-link:hover { color: oklch(97% 0.004 80); }
    .nav-link.active { color: var(--amber); }
    .btn-nav {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 0 16px; height: 36px;
      background: var(--amber); color: var(--indigo-deeper);
      font-size: 14px; font-weight: 700;
      border-radius: 8px; text-decoration: none;
      letter-spacing: -0.01em;
      transition: background .15s;
    }
    .btn-nav:hover { background: var(--amber-dark); }

    /* ===== Pricing hero ===== */
    .pricing-hero {
      background: var(--indigo-deeper);
      padding: 80px 24px 72px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .pricing-hero::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 60% 80% at 50% 50%, oklch(42% 0.20 275 / 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 30% 40% at 80% 20%, oklch(70% 0.18 72 / 0.06) 0%, transparent 60%);
      pointer-events: none;
    }
    .pricing-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
    .pricing-eyebrow {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 5px 14px;
      background: var(--amber-subtle);
      border: 1px solid var(--amber-glow);
      border-radius: 100px;
      font-size: 12px; font-weight: 600;
      color: var(--amber);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 24px;
    }
    .pricing-hero h1 {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.035em;
      color: oklch(97% 0.004 80);
      margin: 0 0 16px;
      text-wrap: balance;  /* Batch 7 landing type refinement, rolled out */
    }
    .pricing-hero h1 em { font-style: normal; color: var(--amber); }
    .pricing-hero-sub {
      font-size: 18px;
      color: oklch(65% 0.010 270);
      line-height: 1.65;
      margin: 0 auto;
      max-width: 500px;
    }

    /* ===== Pricing section ===== */
    .pricing-section {
      padding: 72px 24px 56px;
      background: var(--bg);
    }
    .pricing-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    /* ===== Credit explainer banner ===== */
    .credit-explainer {
      background: oklch(42% 0.20 275 / 0.05);
      border: 1px solid oklch(42% 0.20 275 / 0.15);
      border-radius: var(--r-lg);
      padding: 16px 22px;
      margin-bottom: 40px;
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }
    .credit-explainer-icon {
      width: 36px; height: 36px; border-radius: 9px;
      background: oklch(42% 0.20 275 / 0.10);
      display: grid; place-items: center;
      color: var(--indigo);
      flex-shrink: 0;
      margin-top: 1px;
    }
    .credit-explainer h4 {
      margin: 0 0 4px;
      font-size: 14px; font-weight: 700;
      color: var(--text);
      letter-spacing: -0.01em;
    }
    .credit-explainer p {
      margin: 0;
      font-size: 13.5px; color: var(--text-2);
      line-height: 1.55;
    }
    .credit-explainer strong { color: var(--indigo); font-weight: 600; }

    /* ===== Cards grid ===== */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 20px;
    }

    .plan-card {
      background: var(--surface);
      border: 1.5px solid var(--border);
      border-radius: var(--r-xl);
      padding: 28px 26px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: border-color .2s, box-shadow .2s;
    }
    .plan-card:hover {
      border-color: var(--border-2);
      box-shadow: 0 8px 32px -8px oklch(0% 0 0 / 0.10);
    }
    .plan-card.featured {
      border-color: var(--indigo);
      border-width: 2px;
      box-shadow: 0 0 0 4px oklch(42% 0.20 275 / 0.07), 0 12px 40px -8px oklch(0% 0 0 / 0.15);
    }

    .popular-badge {
      position: absolute;
      top: -13px; left: 50%; transform: translateX(-50%);
      background: var(--indigo);
      color: white;
      font-size: 11px; font-weight: 700;
      padding: 3px 14px;
      border-radius: 100px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .plan-name {
      font-size: 13px; font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--text-3);
      margin-bottom: 10px;
    }
    .plan-card.featured .plan-name { color: var(--indigo); }

    .plan-price-block { margin-bottom: 4px; }
    .plan-price {
      font-size: 40px; font-weight: 800;
      letter-spacing: -0.04em;
      color: var(--text);
      line-height: 1;
    }
    .plan-price sup {
      font-size: 20px; font-weight: 700;
      vertical-align: super; letter-spacing: 0;
      margin-right: 1px;
    }
    .plan-price .price-cycle {
      font-size: 14px; font-weight: 500;
      color: var(--text-3);
      letter-spacing: 0;
    }

    .plan-per-credit {
      font-size: 12.5px; color: var(--text-3);
      margin-top: 4px;
      min-height: 18px;
    }
    .plan-per-credit strong { color: var(--success); font-weight: 600; }

    .plan-divider {
      height: 1px;
      background: var(--border);
      margin: 18px 0;
    }

    .plan-credits {
      display: flex; align-items: baseline; gap: 8px;
      margin-bottom: 14px;
    }
    .plan-credits .credits-num {
      font-size: 32px; font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--indigo);
      line-height: 1;
    }
    .plan-credits .credits-label {
      font-size: 14px; font-weight: 600;
      color: var(--text-2);
    }

    .plan-validity {
      display: flex; align-items: center; gap: 6px;
      font-size: 12.5px; color: var(--text-3);
      margin: -6px 0 14px;
      line-height: 1.4;
    }
    .plan-validity svg { flex-shrink: 0; }

    .plan-tagline {
      font-size: 14px; font-weight: 600;
      color: var(--text);
      margin-bottom: 14px;
      line-height: 1.4;
      flex: 1;
    }

    /* ===== Shared features strip (all packs include the same product) ===== */
    .shared-features {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 16px 22px;
      margin-bottom: 20px;
      display: flex; flex-wrap: wrap; align-items: center;
      gap: 10px 26px;
    }
    .shared-features-title {
      font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.05em;
      color: var(--text-3);
    }
    .shared-feature {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 13.5px; color: var(--text-2);
      line-height: 1.45;
    }
    .shared-feature .check {
      width: 16px; height: 16px; border-radius: 50%;
      background: oklch(55% 0.12 155 / 0.12);
      display: grid; place-items: center;
      flex-shrink: 0;
      color: var(--success);
    }

    .plan-cta {
      margin-top: 24px;
      display: flex; align-items: center; justify-content: center;
      width: 100%;
      height: 44px;
      border-radius: 12px;
      font-size: 14.5px; font-weight: 700;
      letter-spacing: -0.01em;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: background .15s, transform .08s, box-shadow .15s;
    }
    .plan-cta:active { transform: translateY(1px); }

    .cta-ghost {
      background: transparent;
      color: var(--text-2);
      border: 1.5px solid var(--border-2);
    }
    .cta-ghost:hover { border-color: var(--text-3); color: var(--text); background: var(--bg); }

    .cta-secondary {
      background: oklch(42% 0.20 275 / 0.08);
      color: var(--indigo);
      border: 1.5px solid oklch(42% 0.20 275 / 0.20);
    }
    .cta-secondary:hover { background: oklch(42% 0.20 275 / 0.13); }

    .cta-primary {
      background: var(--indigo);
      color: white;
      box-shadow: 0 4px 18px oklch(42% 0.20 275 / 0.35), 0 1px 0 oklch(100% 0 0 / 0.15) inset;
    }
    .cta-primary:hover { background: oklch(36% 0.21 275); }

    /* ===== Single credit footnote ===== */
    .single-credit-row {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 14px 22px;
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 56px;
    }
    .single-credit-icon {
      width: 36px; height: 36px; border-radius: 9px;
      background: oklch(70% 0.18 72 / 0.10);
      display: grid; place-items: center;
      color: var(--amber-dark);
      flex-shrink: 0;
    }
    .single-credit-text { flex: 1; }
    .single-credit-text strong {
      font-size: 14px; font-weight: 700;
      color: var(--text);
      display: block;
      margin-bottom: 1px;
    }
    .single-credit-text span { font-size: 13px; color: var(--text-2); }
    .single-credit-btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 0 16px; height: 36px;
      background: transparent;
      border: 1.5px solid var(--amber);
      color: var(--amber-text);
      font-size: 13.5px; font-weight: 700;
      border-radius: 9px;
      text-decoration: none;
      white-space: nowrap;
      transition: background .15s;
    }
    .single-credit-btn:hover { background: var(--amber-subtle); }

    /* ===== Trust signals ===== */
    .trust-strip {
      border-top: 1px solid var(--border);
      padding-top: 40px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .trust-item { display: flex; align-items: flex-start; gap: 12px; }
    .trust-icon {
      width: 38px; height: 38px;
      border-radius: 10px;
      background: oklch(42% 0.20 275 / 0.07);
      display: grid; place-items: center;
      color: var(--indigo);
      flex-shrink: 0;
    }
    .trust-item h4 {
      margin: 0 0 3px;
      font-size: 14px; font-weight: 700;
      color: var(--text);
      letter-spacing: -0.01em;
    }
    .trust-item p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }

    /* ===== FAQ ===== */
    .faq-section {
      padding: 64px 24px 80px;
      background: var(--bg-2);
      border-top: 1px solid var(--border);
    }
    .faq-inner { max-width: 700px; margin: 0 auto; }
    .section-label {
      font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.08em;
      color: var(--indigo);
      margin-bottom: 14px;
    }
    .faq-heading {
      font-size: 30px; font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--text);
      margin: 0 0 36px;
    }
    .faq-list { display: flex; flex-direction: column; }
    .faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
    .faq-item:first-child { border-top: 1px solid var(--border); }
    .faq-q {
      font-size: 15.5px; font-weight: 700;
      color: var(--text);
      margin: 0 0 8px;
      letter-spacing: -0.01em;
    }
    .faq-a { font-size: 14.5px; color: var(--text-2); line-height: 1.65; margin: 0; }
    .faq-a strong { color: var(--text); font-weight: 600; }

    /* ===== Final CTA ===== */
    .final-cta {
      padding: 100px 24px;
      background: var(--indigo-deeper);
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .final-cta::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 80% at 50% 50%, oklch(42% 0.20 275 / 0.4) 0%, transparent 70%);
      pointer-events: none;
    }
    .final-cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
    .final-cta h2 {
      font-size: 40px; font-weight: 800;
      letter-spacing: -0.03em;
      color: oklch(97% 0.004 80);
      margin: 0 0 16px;
    }
    .final-cta h2 em { font-style: normal; color: var(--amber); }
    .final-cta p { font-size: 17px; color: oklch(65% 0.008 270); line-height: 1.65; margin: 0 0 36px; }
    .btn-hero {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 0 28px; height: 52px;
      background: var(--amber); color: var(--indigo-deeper);
      font-size: 16px; font-weight: 700;
      border-radius: 12px; text-decoration: none;
      border: none; cursor: pointer;
      box-shadow: 0 4px 24px var(--amber-glow), 0 1px 0 oklch(100% 0 0 / 0.2) inset;
      transition: background .15s;
    }
    .btn-hero:hover { background: var(--amber-dark); }
    .cta-note { font-size: 13px; color: oklch(50% 0.008 270); margin-top: 18px; }

    /* ===== Footer ===== */
    footer {
      background: oklch(12% 0.12 278);
      border-top: 1px solid oklch(100% 0 0 / 0.06);
      padding: 32px 24px;
    }
    .footer-inner {
      max-width: 1140px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 16px;
    }
    .footer-brand { display: flex; align-items: center; gap: 10px; }
    .footer-brand-name { font-size: 15px; font-weight: 700; color: oklch(75% 0.006 80); }
    .footer-brand-name span { color: var(--amber); }
    .footer-copy { font-size: 13px; color: oklch(68% 0.006 270); } /* 68%: AA on the 12% navy footer, incl. links at .7 opacity; was 2.35:1 */
    .footer-copy a { color: inherit; } /* opacity fade dropped: gamma-space blending put 13px links at 3.79:1 */

    /* ===== Responsive ===== */
    @media (max-width: 900px) {
      .cards-grid { grid-template-columns: repeat(2, 1fr); }
      .trust-strip { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
      .pricing-hero h1 { font-size: 34px; }
      .cards-grid { grid-template-columns: 1fr; }
      .plan-card.featured { order: -1; }
      .trust-strip { grid-template-columns: 1fr; }
      .single-credit-row { flex-direction: column; align-items: flex-start; }
      .nav-link { display: none; }
      /* Logo mark + language switcher + currency switcher + CTA no longer fit
         one 60px row at ~390px (the second switcher tips it over). Compact
         every piece so all four still fit rather than clipping off-screen —
         nothing is removed. */
      .nav-inner { padding: 0 12px; }
      .logo-name { display: none; }
      .nav-actions { gap: 8px; }
      .nav-lang select { padding: 6px 20px 6px 24px; font-size: 12px; }
      .btn-nav { padding: 0 12px; height: 34px; font-size: 13px; white-space: nowrap; }
    }

    /* ===== Stripe test-mode & cancel notices ===== */
    .testmode-banner {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px; border-radius: 100px;
      background: oklch(70% 0.18 72 / 0.12);
      border: 1px solid oklch(70% 0.18 72 / 0.35);
      color: var(--amber-dark); font-size: 12.5px; font-weight: 700;
      letter-spacing: 0.03em; text-transform: uppercase;
      margin: 0 auto 28px; width: fit-content;
    }
    .testmode-wrap { text-align: center; }
    .cancel-banner {
      background: oklch(55% 0.18 25 / 0.06);
      border: 1px solid oklch(55% 0.18 25 / 0.20);
      border-radius: var(--r-lg);
      padding: 13px 20px; margin-bottom: 24px;
      font-size: 14px; color: var(--text-2);
      display: flex; align-items: center; gap: 10px;
    }
    .checkout-error {
      display: none;
      background: oklch(55% 0.18 25 / 0.06);
      border: 1px solid oklch(55% 0.18 25 / 0.20);
      border-radius: var(--r-lg);
      padding: 13px 20px; margin-bottom: 24px;
      font-size: 14px; color: var(--text-2);
    }
    /* Discount-code hint: the code field itself lives on Stripe's hosted
       page, so this only tells buyers where to look. Plain text (no input to
       mislabel), centred under the test-mode badge, 14px so it stays
       readable on mobile; the icon is decorative (aria-hidden). */
    .promo-hint {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      margin: -12px 0 24px; font-size: 14px; line-height: 1.5;
      color: var(--text-2); text-align: center;
    }
    .promo-hint svg { flex: 0 0 auto; color: var(--amber-dark); }
    .plan-cta[disabled], .single-credit-btn[disabled] { opacity: 0.6; cursor: wait; }
    button.plan-cta, button.single-credit-btn { font-family: inherit; cursor: pointer; }

    /* "Coming soon" notice: shown when a buy button is clicked while real
       purchasing is not yet enabled. Mirrors the cancel/checkout banners so it
       stays on-style. Hidden until JS reveals it; role="status" + aria-live
       announce it to screen readers without stealing focus. */
    .coming-soon-notice {
      display: none;
      background: var(--amber-subtle);
      border: 1px solid oklch(70% 0.18 72 / 0.30);
      border-radius: var(--r-lg);
      padding: 14px 20px; margin-bottom: 24px;
      font-size: 14px; line-height: 1.5; color: var(--text-2);
      align-items: flex-start; gap: 12px;
    }
    .coming-soon-notice.is-visible { display: flex; }
    .coming-soon-notice .cs-icon {
      flex: 0 0 auto; color: var(--amber-dark); margin-top: 1px;
    }
    .coming-soon-notice strong { color: var(--text); }
    .coming-soon-notice a { color: var(--amber-dark); font-weight: 600; }
    @media (prefers-reduced-motion: no-preference) {
      .coming-soon-notice.is-visible { animation: cs-fade-in 200ms ease-out; }
      @keyframes cs-fade-in {
        from { opacity: 0; transform: translateY(-4px); }
        to   { opacity: 1; transform: none; }
      }
    }

    /* Keyboard focus: a visible ring on every interactive element. */
    a:focus-visible,
    button:focus-visible,
    select:focus-visible,
    [tabindex]:focus-visible {
      outline: 2px solid var(--amber-dark);
      outline-offset: 2px;
      border-radius: 4px;
    }

    /* Respect the OS "reduce motion" setting. */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
    }
  