/* /pricing */
.pricing-hero { padding: 48px 0 32px; }
  .pricing-hero h1 { max-width: 22ch; margin: 0; }
  .pricing-hero h1 .accent { color: var(--primary-strong); font-style: italic; }
  [data-theme="dark"] .pricing-hero h1 .accent { color: var(--primary); }
  .pricing-hero .lede { margin: 24px 0 0; }

  .billing-toggle {
    display: inline-flex; padding: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-top: 32px;
    font-size: 13.5px;
  }
  .billing-toggle button {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
  }
  .billing-toggle button.on { background: var(--primary-soft); color: var(--on-primary-soft); }
  [data-theme="dark"] .billing-toggle button.on { background: var(--surface-2); color: var(--text); border: 1px solid var(--primary); }
  .billing-toggle .save { color: var(--primary-strong); font-weight: 600; margin-left: 6px; font-size: 12px; }
  [data-theme="dark"] .billing-toggle .save { color: var(--primary); }

  .audience-toggle { display: none; }

  .plans-header {
    margin-top: 56px;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
  }
  .plans-header .billing-toggle { margin-top: 0; }
  .plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .plan {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 28px;
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
  }
  .plan.featured {
    border-color: var(--primary-strong);
    background: linear-gradient(180deg, var(--primary-soft), var(--surface));
    box-shadow: var(--shadow-md);
  }
  [data-theme="dark"] .plan.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, color-mix(in oklab, var(--primary-soft) 60%, var(--surface)), var(--surface));
  }
  .plan .badge {
    position: absolute; top: -12px; right: 20px;
    background: var(--primary-strong); color: var(--primary-fg);
    padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  }
  [data-theme="dark"] .plan .badge { background: var(--primary); color: var(--primary-fg); }
  .plan .name { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
  .plan .price {
    font-family: var(--font-sans);
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .plan .price .currency { font-size: 22px; vertical-align: super; margin-right: 2px; }
  .plan .price .period { font-size: 14px; font-family: var(--font-sans); color: var(--muted); margin-left: 4px; font-weight: 500; }
  .plan .tagline { color: var(--muted); font-size: 14px; min-height: 2.4em; }
  .plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .plan li { padding-left: 26px; position: relative; font-size: 14px; color: var(--text-soft); }
  .plan li::before {
    content: "";
    position: absolute; left: 0; top: 6px;
    width: 16px; height: 16px;
    background: var(--primary-soft);
    border-radius: 999px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%234a8a3d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-position: center;
    background-repeat: no-repeat;
  }
  [data-theme="dark"] .plan li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23B8DDB0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-color: var(--surface-2);
  }
  .plan .cta { margin-top: auto; }
  .plan li.spacer { padding-left: 0; }
  .plan li.spacer::before { display: none; }

  /* Comparison */
  .compare {
    margin-top: 96px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
  }
  .compare table { width: 100%; border-collapse: collapse; }
  .compare th, .compare td {
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
  }
  .compare th { background: var(--surface-2); font-weight: 600; }
  .compare th.col { text-align: center; font-size: 13px; color: var(--text); }
  .compare td.col { text-align: center; color: var(--text-soft); }
  .compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }
  .compare .group td { background: var(--surface-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
  .compare svg.tick { color: var(--primary-strong); }
  [data-theme="dark"] .compare svg.tick { color: var(--primary); }
  .compare .dim { color: var(--muted); }

  /* FAQ */
  .faq { margin-top: 96px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .faq h2 { max-width: 12ch; }
  .faq .lede { margin-top: 16px; }
  .faq details {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
  }
  .faq summary {
    list-style: none; cursor: pointer;
    font-weight: 600; font-size: 16px;
    display: flex; justify-content: space-between; gap: 16px;
    align-items: center;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+";
    color: var(--primary-strong);
    font-size: 22px;
    font-weight: 400;
  }
  [data-theme="dark"] .faq summary::after { color: var(--primary); }
  .faq details[open] summary::after { content: "−"; }
  .faq details p { color: var(--muted); margin-top: 12px; font-size: 14.5px; }

  @media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } .faq { grid-template-columns: 1fr; gap: 32px; } }
  @media (max-width: 600px) { .plans { grid-template-columns: 1fr; } .compare { overflow-x: auto; } }
