﻿/* Pricing-specific layout. Reuses marketing.css tokens. */
    .pricing-hero {
      padding: 72px 0 40px;
      text-align: center;
    }
    .pricing-hero h1 {
      font-size: clamp(36px, 5vw, 56px);
      font-weight: 800;
      letter-spacing: -0.035em;
      line-height: 1.05;
      margin: 18px 0 16px;
      max-width: 760px;
      margin-inline: auto;
      color: var(--ink);
    }
    .pricing-hero h1 .accent { color: var(--accent); }
    .pricing-hero .lead {
      max-width: 560px;
      margin: 0 auto;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.55;
    }

    /* Two plans (Free + Pro): center them as a pair instead of letting them
       hang on the left of a 4-up grid. */
    .plans {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 300px));
      gap: 20px;
      justify-content: center;
      margin: 48px auto 0;
    }
    @media (max-width: 980px) { .plans { grid-template-columns: repeat(2, minmax(0, 320px)); } }
    @media (max-width: 680px) { .plans { grid-template-columns: minmax(0, 380px); } }

    .plan {
      position: relative;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 28px 24px;
      display: flex;
      flex-direction: column;
    }
    .plan.featured {
      border-color: var(--accent);
      background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 6%, var(--surface)) 0%, var(--surface) 60%);
    }
    .plan .badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent);
      color: var(--accent-ink);
      font-family: var(--font-mono);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 999px;
      white-space: nowrap;
    }
    .plan-name {
      font-weight: 700;
      font-size: 16px;
      letter-spacing: -0.01em;
      color: var(--ink);
      margin: 0 0 6px;
    }
    .plan-tagline {
      font-size: 13px;
      color: var(--muted);
      margin: 0 0 18px;
      min-height: 36px;
    }
    .plan-price {
      display: flex;
      align-items: baseline;
      gap: 4px;
      margin-bottom: 6px;
    }
    .plan-price .currency {
      font-size: 22px;
      font-weight: 600;
      color: var(--muted);
      margin-right: 2px;
    }
    .plan-price .amount {
      font-weight: 800;
      font-size: 44px;
      letter-spacing: -0.03em;
      line-height: 1;
      color: var(--ink);
    }
    .plan-price .period {
      font-size: 13px;
      color: var(--muted);
      margin-left: 4px;
    }
    .plan-quota {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 22px;
    }
    .plan-quota strong { color: var(--accent); font-weight: 600; }

    .plan-features {
      list-style: none;
      padding: 20px 0 0;
      margin: 0 0 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
      border-top: 1px solid var(--border);
    }
    .plan-features li {
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.45;
      padding-left: 22px;
      position: relative;
    }
    .plan-features li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      width: 14px;
      height: 14px;
      background-color: var(--success);
      -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8 L7 11.5 L13 5.5' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
              mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8 L7 11.5 L13 5.5' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
    }
    .plan-features li.muted { color: var(--muted-2); }
    .plan-features li.muted::before { background-color: var(--muted-2); }

    .plan .btn {
      width: 100%;
      justify-content: center;
    }

    .pricing-faq {
      margin-top: 96px;
    }
    .pricing-faq h2 {
      font-size: clamp(28px, 3.5vw, 36px);
      font-weight: 800;
      letter-spacing: -0.025em;
      margin: 0 0 32px;
      text-align: center;
      color: var(--ink);
    }
    .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px 32px;
      max-width: 960px;
      margin: 0 auto;
    }
    @media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
    .faq-item h3 {
      font-size: 15px;
      font-weight: 600;
      margin: 0 0 8px;
      color: var(--ink);
    }
    .faq-item p {
      font-size: 14px;
      line-height: 1.55;
      color: var(--muted);
      margin: 0;
    }
    .faq-item p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

    .skip-link {
      position: absolute;
      left: -9999px;
      top: 0;
      background: var(--accent);
      color: var(--accent-ink);
      padding: 8px 16px;
      z-index: 100;
    }
    .skip-link:focus { left: 16px; top: 16px; }

    .checkout-error {
      display: none;
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--surface-2);
      border: 1px solid var(--error, #FF6B6B);
      color: var(--ink);
      padding: 12px 20px;
      border-radius: 8px;
      font-size: 14px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
      z-index: 100;
      max-width: 480px;
    }
