.pricing-page {
      padding: 5rem 0 6rem;
      background: #17264f;
    }

    #pricing.section {
      background: linear-gradient(180deg, #15244c 0%, #17264f 100%);
      padding: 5rem 0 5.5rem;
    }
    #pricing.section .how-head h2,
    #pricing.section .section-label,
    #pricing.section .section-intro {
      color: #f3eee2;
    }
    #pricing.section .section-intro {
      color: rgba(243,238,226,0.74);
    }
    #pricing.section .section-intro a {
      color: var(--accent);
    }
    #pricing.section .tiers-wrap {
      margin-top: 2.5rem;
      margin-bottom: 2rem;
    }

    .upgrade-note {
      background: rgba(199,58,37,0.1);
      border-left: 3px solid var(--alert);
      padding: 14px 20px;
      margin-bottom: 3rem;
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.72rem;
      color: rgba(242,238,226,0.85);
      letter-spacing: 0.04em;
    }
    .upgrade-note strong { color: #f2eee2; }

    .tiers-wrap {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
      align-items: start;
      margin-bottom: 4rem;
    }

    .tier-card {
      border: 2px solid rgba(243,238,226,0.18);
      background: #1a2b59;
      color: #f3eee2;
      padding: 2rem 1.6rem 1.8rem;
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .tier-card.featured {
      border: 3px solid #f0d7a4;
      background: #f7f1e4;
      color: #162040;
      transform: translateY(-10px);
      box-shadow: 0 34px 60px -26px rgba(0,0,0,0.5), 0 0 0 2px rgba(199,58,37,0.18);
      position: relative;
    }
    .tier-card .tier-badge {
      position: absolute;
      top: -0.85rem;
      left: 1.4rem;
      background: var(--alert);
      color: #fff6ef;
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.55rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      padding: 0.2rem 0.56rem;
    }

    .tier-card h2 {
      font-size: 2rem;
      color: var(--accent);
      margin-bottom: 0.4rem;
      line-height: 0.95;
    }
    .tier-card.featured h2 { color: var(--alert); }

    .tier-price {
      font-family: Oswald, sans-serif;
      font-size: 3.2rem;
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 0.9;
      margin: 0.4rem 0 0.2rem;
      color: inherit;
    }
    .tier-price span {
      font-size: 0.76rem;
      opacity: 0.6;
      font-family: "IBM Plex Mono", monospace;
      letter-spacing: 0.08em;
    }
    .tier-card.featured .tier-price { color: #12204a; }

    .tier-card ul {
      list-style: none;
      padding: 0;
      margin: 1.4rem 0 1.8rem;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      flex: 1;
    }
    .tier-card li {
      font-size: 0.88rem;
      padding-left: 1.1rem;
      position: relative;
      color: rgba(243,238,226,0.85);
    }
    .tier-card.featured li { color: #2a3455; }
    .tier-card li::before {
      content: "✓";
      position: absolute;
      left: 0;
      color: var(--accent);
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.68rem;
    }
    .tier-card.featured li::before { color: var(--alert); }

    .tier-cta {
      display: block;
      text-align: center;
      padding: 0.8rem 1rem;
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: background 0.15s;
      border-top: 2px solid rgba(200,169,110,0.35);
      border-bottom: 2px solid rgba(200,169,110,0.35);
      background: transparent;
      color: rgba(243,238,226,0.75);
      margin-top: auto;
    }
    .tier-cta:hover { background: rgba(200,169,110,0.08); color: #f2eee2; }
    .tier-cta.primary {
      background: var(--alert);
      color: #fff6ef;
      border-top-color: #c73a25;
      border-bottom-color: #c73a25;
    }
    .tier-cta.primary:hover { background: #d3482f; }

    .faq {
      max-width: none;
    }
    .faq h3 {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      color: #f3eee2;
      margin-bottom: 1.6rem;
    }
    .faq-item {
      border-top: 1px solid rgba(239,233,221,0.12);
      padding: 1.1rem 0;
    }
    .faq-item:last-child { border-bottom: 1px solid rgba(239,233,221,0.12); }
    .faq-q {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.78rem;
      color: #f3eee2;
      letter-spacing: 0.04em;
      margin-bottom: 0.4rem;
    }
    .faq-a {
      font-size: 0.88rem;
      color: rgba(243,238,226,0.65);
      line-height: 1.6;
      margin: 0;
    }
    .faq-a a { color: var(--accent); }

    .bottom-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 4rem;
      margin-top: 5rem;
      padding-top: 4rem;
      border-top: 1px solid rgba(239,233,221,0.12);
      align-items: start;
    }

    .donate-section {
      margin-top: 0;
      padding-top: 0;
      border-top: none;
    }
    .donate-eyebrow {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.62rem;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.14em;
      margin-bottom: 0.6rem;
    }
    .donate-section h3 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      color: #f3eee2;
      margin-bottom: 1rem;
      line-height: 0.97;
    }
    .donate-body {
      color: rgba(243,238,226,0.65);
      font-size: 0.92rem;
      line-height: 1.7;
      margin-bottom: 1.6rem;
    }
    .donate-body strong { color: #f3eee2; }
    .donate-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      align-items: center;
      margin-bottom: 2rem;
    }
    .donate-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1.35rem;
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      text-decoration: none;
      border-top: 2px solid var(--accent);
      border-bottom: 2px solid var(--accent);
      border-left: none;
      border-right: none;
      color: var(--accent);
      background: transparent;
      transition: background 0.15s, color 0.15s;
    }
    .donate-btn:hover {
      background: rgba(200,169,110,0.1);
      color: #f3eee2;
    }
    /* Placeholder state for links awaiting a real destination (e.g. the
       Square donation link before its Payment Link URL exists) — visibly
       inactive rather than a dead href="#" that silently does nothing. */
    .donate-btn.disabled-link {
      opacity: 0.4;
      cursor: not-allowed;
      border-color: rgba(243,238,226,0.3);
      color: rgba(243,238,226,0.45);
    }
    .donate-btn.disabled-link:hover {
      background: transparent;
      color: rgba(243,238,226,0.45);
    }
    .donate-breakdown {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1px;
      background: rgba(239,233,221,0.08);
      margin-top: 2rem;
    }
    .donate-breakdown-item {
      background: #1a2b59;
      padding: 1rem 1.1rem;
    }
    .donate-breakdown-item .amt {
      font-family: Oswald, sans-serif;
      font-size: 1.6rem;
      color: var(--accent);
      letter-spacing: -0.02em;
      line-height: 1;
      margin-bottom: 0.25rem;
    }
    .donate-breakdown-item .desc {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.58rem;
      color: rgba(243,238,226,0.5);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      line-height: 1.4;
    }

    /* ── Popup screenshot CTA (inside Pro card) ── */
    .sub-popup-cta {
      margin-top: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
    }
    .sub-popup-img {
      width: 100%;
      max-width: 240px;
      display: block;
      border: 1.5px solid rgba(18,32,74,0.18);
      box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    }
    .sub-popup-label {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.6rem;
      color: rgba(18,32,74,0.5);
      text-align: center;
      letter-spacing: 0.04em;
      line-height: 1.4;
    }

    /* ── Subscription form (inside Pro card) ── */
    .sub-form {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: auto;
    }
    .sub-form-field {
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
    }
    /* .sub-form-field's display:flex above has higher specificity than the
       browser's default [hidden] { display: none } rule, so setting the
       hidden attribute via JS (pricing-page.js's readTokenFromUrl) had no
       visible effect — both the paste field and the "token detected"
       confirm banner rendered simultaneously regardless of which one was
       actually hidden. This re-asserts hidden so only one ever shows. */
    .sub-form-field[hidden] {
      display: none;
    }
    .sub-form-label {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.56rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(18,32,74,0.7);
    }
    .sub-form-input {
      width: 100%;
      background: rgba(18,32,74,0.06);
      border: 1.5px solid rgba(18,32,74,0.22);
      color: #12204a;
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.7rem;
      padding: 0.5rem 0.65rem;
      outline: none;
      transition: border-color 0.15s;
    }
    .sub-form-input:focus { border-color: var(--alert); }
    .sub-form-input::placeholder { color: rgba(18,32,74,0.35); }
    .sub-form-input.token-field {
      font-size: 0.6rem;
      letter-spacing: 0.03em;
    }
    .sub-form-hint {
      font-size: 0.56rem;
      color: rgba(18,32,74,0.45);
      line-height: 1.4;
    }
    /* Shown in place of the manual paste field when ?token= arrives from
       the extension — a quiet "detected" state, not another input. */
    .sub-form-prefilled {
      background: rgba(27,138,132,0.08);
      border-left: 2px solid #1b8a84;
      padding: 0.5rem 0.65rem;
    }
    .sub-form-prefilled .sub-form-hint {
      color: #146a65;
    }
    .sub-form-prefilled code {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.6rem;
      color: #12204a;
      background: rgba(18,32,74,0.06);
      padding: 0.05rem 0.3rem;
    }
    .sub-form-btn {
      width: 100%;
      padding: 0.8rem 1rem;
      background: var(--alert);
      color: #fff6ef;
      border: none;
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.15s;
      margin-top: 0.25rem;
    }
    .sub-form-btn:hover:not(:disabled) { background: #d3482f; }
    .sub-form-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .sub-form-msg {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.62rem;
      line-height: 1.5;
      min-height: 1.2rem;
      display: none;
    }
    .sub-form-msg.ok    { color: #1b8a84; display: block; }
    .sub-form-msg.error { color: var(--alert); display: block; }

    @media (max-width: 820px) {
      .tiers-wrap { grid-template-columns: 1fr; }
      .tier-card.featured { transform: none; }
      .donate-breakdown { grid-template-columns: 1fr 1fr; }
      .bottom-row { grid-template-columns: 1fr; gap: 3rem; }
    }
    @media (max-width: 500px) {
      .donate-breakdown { grid-template-columns: 1fr; }
    }
