/* Foresportia API commercial landing pages (FR/EN/ES).
   Isolated from the legacy css/api.css stylesheet.
   Brand tokens come from css/core.css: --primary-color, --primary-dark, --muted, --light-bg/text. */

.api-page {
  --api-ink: var(--light-text, #111827);
  --api-muted: var(--muted, #5b6780);
  --api-blue: var(--primary-color, #1e40af);
  --api-blue-dark: var(--primary-dark, #172554);
  --api-line: #dfe5ef;
  --api-soft: #f4f7fc;
  --api-card: #fff;
  background: var(--light-bg, #fff);
  color: var(--api-ink);
}
.api-page * { box-sizing: border-box; }
.api-page a { color: inherit; }

.api-wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
.api-wrap.fs-hero-card { text-align: center; }
.api-hero .api-wrap.fs-hero-card h1,
.api-wrap.fs-hero-card .api-lead { margin-inline: auto; }
.api-wrap.fs-hero-card .api-actions { justify-content: center; }

.api-skip {
  position: fixed; z-index: 1000; top: 8px; left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px; border-radius: 7px; background: #fff; color: #111;
}
.api-skip:focus { transform: none; }

/* --- Section 1: hero. One H1, one sentence, two CTA. --- */
.api-hero {
  padding: 56px 0 48px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.24), transparent 34%),
    linear-gradient(135deg, #081636 0%, #1e3a8a 58%, #0f172a 100%);
}
.api-hero h1 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.api-lead {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.6;
}
.api-hero-starter-summary {
  max-width: 760px;
  margin: 12px auto 0;
  color: #e8efff;
  font-weight: 700;
  line-height: 1.55;
}
.api-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.api-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: 8px;
  font: inherit; font-weight: 700; text-decoration: none;
}
.api-page a.api-button-primary { background: #fff; color: #172554 !important; }
.api-page a.api-button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}
.api-hero-note { margin: 20px 0 0; color: #c5d1f1; font-size: 0.86rem; }
.api-hero-note code { color: #fff; }
.api-hero-note a { color: #fff; }

/* --- Shared section rhythm --- */
.api-section { padding-top: 60px; padding-bottom: 60px; }
.api-section h2 {
  max-width: 24ch;
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.api-section-lead { max-width: 68ch; margin: 0 0 28px; color: var(--api-muted); line-height: 1.7; }
.api-note { max-width: 72ch; margin: 22px 0 0; color: var(--api-muted); line-height: 1.7; font-size: 0.92rem; }
.api-text-link { color: var(--api-blue) !important; font-weight: 700; text-decoration: none; }
.api-starter { background: var(--api-soft); }

/* --- Section 2: the three plans. Real cards, real content, Starter leading. --- */
.api-plan-jump {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: -8px 0 6px;
}
.api-plan-jump a {
  padding: 7px 12px;
  border: 1px solid var(--api-line); border-radius: 99px;
  background: var(--api-card);
  color: var(--api-blue); font-size: 0.82rem; font-weight: 750; text-decoration: none;
}
.api-plan-jump a:hover, .api-plan-jump a:focus-visible {
  border-color: var(--api-blue); background: #eef3ff;
}
.api-plan-jump .is-custom { background: var(--api-blue); border-color: var(--api-blue); color: #fff; }
.api-plan-jump .is-custom:hover, .api-plan-jump .is-custom:focus-visible { background: var(--api-blue-dark); }
.api-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 28px;
}
.api-plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--api-line); border-radius: 16px;
  background: var(--api-card);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  scroll-margin-top: 88px;
}
.api-plan.is-featured {
  padding-top: 34px;
  border: 2px solid var(--api-blue);
  box-shadow: 0 18px 40px rgba(30, 64, 175, 0.16);
}
.api-plan-flag {
  position: absolute; top: -12px; left: 24px;
  margin: 0; padding: 5px 12px;
  border-radius: 99px;
  background: var(--api-blue); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.03em;
}
.api-plan-top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.api-plan-top h3 { margin: 0; font-size: 1.3rem; }
.api-plan-pricing { margin-top: 14px; }
.api-plan-price {
  margin: 14px 0 0;
  color: var(--api-ink);
  font-size: 1.05rem; font-weight: 800;
}
.api-plan-pricing .api-plan-price { margin: 0; }
.api-plan-price strong { font-size: 1.9rem; letter-spacing: -0.02em; }
.api-plan-period { color: var(--api-muted); font-size: 0.95rem; font-weight: 600; }
.api-plan-annual {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline;
  margin: 8px 0 0;
  color: var(--api-muted);
  font-size: 0.88rem; line-height: 1.5;
}
.api-plan-annual strong { color: var(--api-blue); font-weight: 800; }
.api-plan-badge {
  padding: 2px 7px;
  border-radius: 99px;
  background: #e7f8ef; color: #197446;
  font-size: 0.7rem; font-weight: 800; white-space: nowrap;
}
.api-plan-billed { margin: 4px 0 0; color: var(--api-muted); font-size: 0.82rem; }
.api-plan-history-badge {
  display: inline-flex;
  margin: 12px 0 0;
  padding: 6px 10px;
  border: 1px solid #86efac;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-size: 0.84rem;
  font-weight: 800;
}
.api-plan-goal { margin: 12px 0 0; color: var(--api-ink); font-weight: 700; line-height: 1.4; }
.api-plan-pitch { margin: 6px 0 0; color: var(--api-muted); font-size: 0.92rem; line-height: 1.6; }
.api-plan-history-caveat { margin: -12px 0 20px; color: var(--api-muted); font-size: 0.78rem; line-height: 1.45; }
.api-plan-features { margin: 18px 0 22px; padding: 0; list-style: none; }
.api-plan-features li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--api-muted);
  font-size: 0.9rem; line-height: 1.5;
}
.api-plan-features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--api-blue); font-weight: 800;
}
.api-plan-feature-details {
  margin: -12px 0 20px;
  border-top: 1px solid var(--api-line);
}
.api-plan-feature-details summary {
  padding: 12px 0 0;
  color: var(--api-blue);
  cursor: pointer;
  font-size: 0.82rem; font-weight: 750;
}
.api-plan-feature-details .when-open { display: none; }
.api-plan-feature-details[open] .when-closed { display: none; }
.api-plan-feature-details[open] .when-open { display: inline; }
.api-plan-features-extra { margin: 8px 0 0; }
.api-plan-catalog-link {
  align-self: center;
  margin: auto 0 14px;
  color: var(--api-blue) !important;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.api-plan-catalog-link:hover { color: var(--api-blue-dark) !important; }
.api-plan-catalog-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--api-blue);
  outline-offset: 4px;
}
.api-plan-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; margin-top: auto; padding: 11px 18px;
  border: 1px solid var(--api-blue); border-radius: 8px;
  background: var(--api-blue); color: #fff !important;
  font: inherit; font-weight: 700; text-align: center; text-decoration: none;
  cursor: pointer;
}
.api-plan-cta:hover, .api-plan-cta:focus-visible { background: var(--api-blue-dark); border-color: var(--api-blue-dark); }
.api-plan-cta-disabled {
  border-color: var(--api-line);
  background: #eef1f6;
  color: #59647a !important;
  cursor: not-allowed;
}
.api-plan-cta-disabled:hover { background: #eef1f6; border-color: var(--api-line); }

.api-starter-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 440px);
  margin: auto auto 0;
  padding-top: 24px;
}
.api-starter-actions .api-plan-cta {
  width: 100%;
  margin-top: 0;
}
.api-starter-sales-note {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 2px 0 0;
  color: var(--api-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.api-plans-note {
  margin: 18px 0 0;
  color: var(--api-muted);
  font-size: 0.87rem; line-height: 1.6;
}

/* Custom: one wide band under the three plans, not a fourth card in the grid. */
.api-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--api-line); border-radius: 16px;
  background: var(--api-soft);
  scroll-margin-top: 88px;
}
.api-custom-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; }
.api-custom-head h3 { margin: 0; font-size: 1.45rem; }
.api-custom-price {
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--api-card); border: 1px solid var(--api-line);
  color: var(--api-blue);
  font-size: 0.8rem; font-weight: 800;
}
.api-custom-promise {
  max-width: 52ch;
  margin: 12px 0 0;
  color: var(--api-muted);
  line-height: 1.65;
}
.api-custom-audience-title, .api-custom-features-title {
  margin: 20px 0 8px;
  color: var(--api-muted);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.api-custom-features-title { margin-top: 0; }
.api-custom-audience {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin: 0; padding: 0; list-style: none;
}
.api-custom-audience li {
  padding: 5px 10px;
  border: 1px solid var(--api-line); border-radius: 99px;
  background: var(--api-card);
  color: var(--api-ink);
  font-size: 0.78rem; font-weight: 600;
}
.api-custom-cta { margin-top: 22px; align-self: start; }
.api-custom-features .api-plan-features { margin: 0; }
.api-custom-features .api-plan-feature-details { margin: 10px 0 0; }

.api-competition-catalog {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--api-line);
  border-radius: 16px;
  background: var(--api-card);
  scroll-margin-top: 96px;
}
.api-competition-catalog h3 { margin: 0; font-size: 1.3rem; }
.api-competition-catalog > p {
  max-width: 76ch;
  margin: 10px 0 18px;
  color: var(--api-muted);
  line-height: 1.65;
}
.api-competition-catalog details {
  border-top: 1px solid var(--api-line);
}
.api-competition-catalog summary {
  padding: 16px 0 0;
  color: var(--api-blue);
  cursor: pointer;
  font-weight: 750;
}

.api-status { padding: 4px 9px; border-radius: 99px; font-size: 0.7rem; font-weight: 800; }
.api-status.available { background: #e7f8ef; color: #197446; }
.api-status.soon { background: #e8edfb; color: var(--api-blue); }
.api-status.later { background: #edf0f4; color: #5b6579; }

/* --- Section 3: the chain + the five families as a real table --- */
.api-chain {
  display: flex; align-items: stretch;
  gap: 12px;
  margin: 0 0 32px; padding: 0; list-style: none;
}
.api-chain li {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
}
.api-chain-step {
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--api-line); border-radius: 8px;
  background: var(--api-card);
  text-align: center;
}
.api-chain-arrow {
  flex: 0 0 auto;
  color: var(--api-blue); font-weight: 800;
}

.api-core { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 28px; align-items: start; }
.api-plan-comparison-wrap { width: 100%; }
.api-plan-comparison { table-layout: auto; }
.api-plan-comparison tbody th { white-space: nowrap; }
.api-family-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.api-family-table caption { margin-bottom: 12px; color: var(--api-muted); font-size: 0.85rem; text-align: left; }
.api-family-table th, .api-family-table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--api-line);
  text-align: left; vertical-align: top;
}
.api-family-table thead th { color: var(--api-muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.api-family-table tbody th { width: 22%; color: var(--api-ink); font-weight: 700; }
.api-family-table tbody td { color: var(--api-muted); line-height: 1.55; }
.api-family-fields { font-size: 0.84rem; }
.api-core-payload {
  overflow: auto; margin: 0; padding: 20px;
  border-radius: 10px; background: #081636;
  color: #dbeafe; font-size: 0.76rem; line-height: 1.7;
}

/* --- Section 4: SDK, two columns --- */
.api-sdk { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.api-sdk-text h2 { margin-bottom: 12px; }
.api-sdk-text p { max-width: 52ch; color: var(--api-muted); line-height: 1.7; }
.api-sdk-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.api-sdk-code {
  overflow: auto; margin: 0; padding: 24px;
  border-radius: 12px; background: #081636;
  color: #dbeafe; font-size: 0.8rem; line-height: 1.75;
}

.api-country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 20px 20px; }
.api-country { padding: 12px; border: 1px solid var(--api-line); border-radius: 8px; }
.api-country h3 { margin: 0 0 6px; color: var(--api-blue); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.api-country ul { margin: 0; padding: 0; list-style: none; }
.api-country li { padding: 2px 0; color: #536079; font-size: 0.75rem; line-height: 1.35; }

/* --- Documentation + AI assistants + FAQ --- */
.api-resources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.api-resources-grid p { color: var(--api-muted); line-height: 1.7; }
.api-resource-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.api-resource-links a {
  padding: 8px 12px;
  border: 1px solid var(--api-line); border-radius: 7px;
  background: var(--api-card);
  color: var(--api-blue) !important;
  font-size: 0.8rem; font-weight: 700; text-decoration: none;
}
.api-ai-tool { padding: 22px; border: 1px solid var(--api-line); border-radius: 12px; background: var(--api-card); }
.api-ai-tool label { display: block; margin-bottom: 7px; font-size: 0.8rem; font-weight: 700; }
.api-ai-tool select, .api-ai-tool textarea {
  width: 100%; padding: 10px 11px;
  border: 1px solid #ccd4e2; border-radius: 7px;
  background: #fff; color: #17223b; font: inherit;
}
.api-ai-tool textarea { margin-top: 10px; resize: vertical; font: 0.75rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; }
.api-ai-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.api-ai-button {
  min-height: 41px; padding: 8px 14px;
  border: 1px solid #c7d2ee; border-radius: 7px;
  background: #f0f4fd; color: var(--api-blue);
  font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer;
}
.api-ai-button:hover, .api-ai-button:focus-visible {
  border-color: var(--api-blue);
  outline: 2px solid rgba(30, 64, 175, 0.25); outline-offset: 2px;
}
.api-ai-status { min-height: 22px; margin: 10px 0 0; color: #26734d; font-size: 0.78rem; }

.api-faq { margin-top: 44px; }
.api-faq h3 { margin: 0 0 14px; font-size: 1.15rem; }
.api-faq details { border-bottom: 1px solid var(--api-line); }
.api-faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; color: var(--api-ink); }
.api-faq details > p { margin: 0; padding: 0 0 15px; color: var(--api-muted); line-height: 1.65; }

/* --- Responsive: stack early, keep sections dense on phones --- */
@media (max-width: 900px) {
  .api-core, .api-sdk, .api-resources-grid { grid-template-columns: 1fr; gap: 26px; }
  .api-plans { grid-template-columns: 1fr; gap: 22px; }
  .api-custom { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .api-custom-cta { width: 100%; }
  .api-plan.is-featured { order: -1; } /* Starter leads on narrow screens */
  .api-country-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .api-wrap { width: min(100% - 28px, 1080px); }
  .api-hero { padding: 40px 0 36px; }
  .api-hero h1 { font-size: 1.85rem; max-width: none; }
  .api-lead { margin-top: 14px; font-size: 1rem; }
  .api-actions { gap: 10px; margin-top: 22px; }
  .api-actions .api-button { width: 100%; }
  .api-hero-note { margin-top: 16px; }

  .api-section { padding-top: 44px; padding-bottom: 44px; }
  .api-section h2 { max-width: none; }
  .api-section-lead { margin-bottom: 22px; }

  /* Keep the process readable as a vertical flow without horizontal overflow. */
  .api-chain { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .api-chain li { width: 100%; min-width: 0; flex-direction: column; gap: 8px; font-size: 14px; }
  .api-chain-step { width: 100%; min-height: 0; padding: 12px 14px; }
  .api-chain-arrow { transform: rotate(90deg); }

  /* the family table becomes readable stacked rows */
  .api-family-table, .api-family-table tbody, .api-family-table tr, .api-family-table th, .api-family-table td { display: block; width: auto; }
  .api-family-table thead { display: none; }
  .api-family-table tr { padding: 14px 0; border-bottom: 1px solid var(--api-line); }
  .api-family-table th, .api-family-table td { padding: 0; border: 0; }
  .api-family-table tbody th { width: auto; margin-bottom: 4px; font-size: 14px; }
  .api-family-table tbody td { margin-top: 4px; font-size: 14px; }
  .api-family-fields { font-size: 14px; }

  /* the site scales the root font down on phones: pin small text in px so it stays legible */
  .api-core-payload, .api-sdk-code { font-size: 12.5px; padding: 16px; }
  .api-note { font-size: 14px; }
  .api-plan { padding: 22px 18px; }
  .api-plan.is-featured { padding-top: 30px; }
  .api-plan-pitch { font-size: 14px; }
  .api-plan-features li { font-size: 14px; }
  .api-starter-actions { grid-template-columns: 1fr; gap: 10px; }
  .api-starter-sales-note { grid-column: 1; }
  .api-custom { padding: 20px 18px; }
  .api-custom-promise { font-size: 14px; }
  .api-custom-audience li { font-size: 13px; }

  .api-country-grid { grid-template-columns: 1fr; padding: 14px; }
  .api-resource-links a { flex: 1 1 auto; text-align: center; }
  .api-ai-actions { display: grid; grid-template-columns: 1fr; }
  .api-ai-button { width: 100%; }
  .api-faq { margin-top: 32px; }
}

@media (max-width: 720px) {
  /* Desktop keeps a semantic comparison table; mobile reads each plan as a card. */
  .api-plan-comparison,
  .api-plan-comparison tbody,
  .api-plan-comparison tr,
  .api-plan-comparison th,
  .api-plan-comparison td {
    display: block;
    width: 100%;
  }
  .api-plan-comparison thead { display: none; }
  .api-plan-comparison caption { margin-bottom: 16px; font-size: 14px; }
  .api-plan-comparison tbody { display: grid; gap: 16px; }
  .api-plan-comparison tr {
    padding: 18px;
    border: 1px solid var(--api-line);
    border-radius: 12px;
    background: var(--api-card);
  }
  .api-plan-comparison tbody th {
    margin: 0 0 10px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid var(--api-line);
    font-size: 18px;
    white-space: normal;
  }
  .api-plan-comparison tbody td {
    display: grid;
    grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    margin: 0;
    padding: 8px 0;
    border: 0;
    font-size: 14px;
  }
  .api-plan-comparison tbody td::before {
    content: attr(data-label);
    color: var(--api-ink);
    font-weight: 750;
  }
}

/* --- Dark theme --- */
[data-theme="dark"] .api-page {
  --api-ink: #eef3ff;
  --api-muted: #bec8da;
  --api-line: #334155;
  --api-soft: #111c31;
  --api-card: #172033;
  background: #0f172a;
}
[data-theme="dark"] .api-chain-step,
[data-theme="dark"] .api-plan,
[data-theme="dark"] .api-competition-catalog,
[data-theme="dark"] .api-country,
[data-theme="dark"] .api-ai-tool,
[data-theme="dark"] .api-resource-links a { background: #172033; }
[data-theme="dark"] .api-plan { box-shadow: none; }
[data-theme="dark"] .api-plan.is-featured {
  border-color: #3b82f6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .api-custom { background: #111c31; border-color: #334155; }
[data-theme="dark"] .api-custom-price,
[data-theme="dark"] .api-custom-audience li { background: #172033; border-color: #334155; }
[data-theme="dark"] .api-custom-price { color: #93c5fd; }
[data-theme="dark"] .api-plan-jump a { background: #172033; border-color: #334155; color: #93c5fd; }
[data-theme="dark"] .api-plan-jump a:hover,
[data-theme="dark"] .api-plan-jump a:focus-visible { background: #1c2941; border-color: #3b82f6; }
[data-theme="dark"] .api-plan-jump .is-custom { background: #2563eb; border-color: #2563eb; color: #fff; }
[data-theme="dark"] .api-plan-flag { background: #2563eb; }
[data-theme="dark"] .api-plan-price { color: #eef3ff; }
[data-theme="dark"] .api-plan-annual strong { color: #93c5fd; }
[data-theme="dark"] .api-plan-badge { background: #123527; color: #5fd39a; }
[data-theme="dark"] .api-plan-history-badge { background: #123527; border-color: #237a4b; color: #86efac; }
[data-theme="dark"] .api-plan-features li::before { color: #93c5fd; }
[data-theme="dark"] .api-plan-cta { background: #2563eb; border-color: #2563eb; }
[data-theme="dark"] .api-plan-cta:hover,
[data-theme="dark"] .api-plan-cta:focus-visible { background: #1d4ed8; border-color: #1d4ed8; }
[data-theme="dark"] .api-plan-cta-disabled {
  background: #1c2941; border-color: #334155; color: #9db0c9 !important;
}
[data-theme="dark"] .api-plan-cta-disabled:hover { background: #1c2941; border-color: #334155; }
[data-theme="dark"] .api-core-payload,
[data-theme="dark"] .api-sdk-code { background: #060f26; }
[data-theme="dark"] .api-country li { color: #c3cde0; }
[data-theme="dark"] .api-family-table tbody th { color: #eef3ff; }
[data-theme="dark"] .api-ai-tool select,
[data-theme="dark"] .api-ai-tool textarea { background: #101b30; color: #eef3ff; border-color: #46546c; }
[data-theme="dark"] .api-ai-button { background: #1d2b45; border-color: #46546c; color: #93c5fd; }
[data-theme="dark"] .api-ai-status { color: #6fdca8; }
[data-theme="dark"] .api-status.available { background: #123527; color: #5fd39a; }
[data-theme="dark"] .api-status.soon { background: #1b2a4d; color: #93c5fd; }
[data-theme="dark"] .api-status.later { background: #222d40; color: #a3aec4; }
[data-theme="dark"] .api-skip { background: #172033; color: #eef3ff; }
