/* ============================================================================
   RANGE CRAFT — SUBPAGE THEME (download, pricing, features, feature-*, legal, contact, documentation)
   Brings the home page look to the subpages: same titles, same light/dark
   glass cards, navy hover, unified buttons. Loaded after subpages.css and
   feature-page.css, before liquid-glass.css. Animations are untouched.
   All new components are prefixed "st-".
   ============================================================================ */

/* ---------- Hero (beige) : home typography ---------- */
.subpage-hero-beige .hero-title {
  font-weight: 600 !important;
  letter-spacing: -0.035em !important;
}

.subpage-hero-beige .hero-title .italic-green,
.subpage-hero-beige .hero-title .italic-lime {
  color: var(--green-italic-light) !important;
}

.st-hero-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: #5A657D;
}

.st-hero-note span + span::before {
  content: "·";
  margin: 0 8px;
  opacity: 0.6;
}

/* Small platform chips under the hero button */
.st-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.st-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1E293B;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(10, 14, 26, 0.04);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

a.st-chip:hover {
  background: rgba(10, 14, 26, 0.04);
  border-color: rgba(10, 14, 26, 0.12);
}

.st-chip img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(38%) saturate(2400%) hue-rotate(205deg) brightness(92%);
}

.st-chip small {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.05);
}

/* ---------- Sections ---------- */
.st-section {
  position: relative;
  z-index: 3;
  padding: 96px 24px;
}

.st-section + .st-section {
  padding-top: 0;
}

.st-container {
  max-width: 1080px;
  margin: 0 auto;
}

.st-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.st-head .st-eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--green-italic-light);
  margin-bottom: 14px;
}

.st-head h2 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  margin: 0 0 16px;
}

.st-head h2 .st-accent {
  color: var(--green-italic-light);
}

.st-head p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #5A657D;
  margin: 0;
}

/* Dark zone variants */
.section-dark .st-head .st-eyebrow { color: var(--green-italic-dark); }
.section-dark .st-head h2 { color: #FFFFFF !important; }
.section-dark .st-head h2 .st-accent { color: var(--green-italic-dark); }
.section-dark .st-head p { color: rgba(255, 255, 255, 0.68); }

/* Cream & white sections (outside the dark zone) */
.st-cream { background: var(--bg-cream); }
.st-white { background: #FFFFFF; }

/* ---------- Grids ---------- */
.st-grid {
  display: grid;
  gap: 14px;
}

.st-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .st-grid-3, .st-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .st-grid-2, .st-grid-3, .st-grid-4 { grid-template-columns: 1fr; }
  .st-section { padding: 72px 18px; }
}

/* ---------- Cards (same family as the home feature/testimonial cards) ---------- */
.st-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 22px;
  text-decoration: none;
  color: var(--text-dark);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(10, 14, 26, 0.04), 0 12px 32px rgba(10, 14, 26, 0.05);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.st-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: inherit;
}

.st-card p,
.st-card li {
  font-size: 14.5px;
  line-height: 1.6;
  color: #5A657D;
  margin: 0;
}

.st-card .rc-feature-icon {
  width: 24px;
  height: 24px;
  --rc-feature-icon-color: #1E3A6E;
  margin-bottom: 6px;
}

/* Dark glass variant (inside the dark zone) */
.st-card--dark {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.st-card--dark p,
.st-card--dark li {
  color: rgba(255, 255, 255, 0.7);
}

.st-card--dark .rc-feature-icon {
  --rc-feature-icon-color: var(--green-italic-dark);
}

/* Clickable cards → navy on hover (same as the home cards), never move */
a.st-card:hover,
a.st-card:focus-visible {
  color: #FFFFFF;
  background: #10204A;
  background-image:
    radial-gradient(120% 140% at 0% 0%, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0) 55%),
    linear-gradient(135deg, #142A61 0%, #0E1C44 55%, #0A1433 100%);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px rgba(10, 14, 26, 0.16);
  outline: none;
}

a.st-card:hover p,
a.st-card:focus-visible p { color: rgba(255, 255, 255, 0.75); }

a.st-card:hover .rc-feature-icon { --rc-feature-icon-color: #93C5FD; }

.st-card .st-card-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-italic-light);
}

a.st-card:hover .st-card-link,
.st-card--dark .st-card-link { color: #93C5FD; }

/* Lists with check marks */
.st-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.st-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.st-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(53, 99, 201, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233563c9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.st-card--dark .st-list li::before {
  background-color: rgba(147, 197, 253, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2393C5FD' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Status badge (e.g. "In development") */
.st-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #1E3A6E;
  background: rgba(53, 99, 201, 0.1);
}

.st-card--dark .st-badge {
  color: #BFDBFE;
  background: rgba(147, 197, 253, 0.12);
}

/* ---------- Platform cards (download) ---------- */
.st-platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.st-platform-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.st-platform-logo img {
  width: 22px;
  height: 22px;
}

.st-platform-head small {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.st-card .os-auto-download-btn,
.st-card .st-dl-btn {
  margin-top: auto;
  align-self: stretch;
}

.st-card.is-detected {
  border-color: rgba(147, 197, 253, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 1px rgba(147, 197, 253, 0.35), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.st-detected-tag {
  display: none;
}

.st-card.is-detected .st-detected-tag {
  display: inline-flex;
}

/* ---------- Numbered steps ---------- */
.st-steps {
  counter-reset: st-step;
}

.st-step {
  counter-increment: st-step;
}

.st-step::before {
  content: counter(st-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  background: #1E3A6E;
  margin-bottom: 6px;
}

.st-card--dark.st-step::before {
  background: rgba(147, 197, 253, 0.16);
  color: #DBEAFE;
}

/* ---------- Comparison table ---------- */
.st-table-wrap {
  border-radius: 22px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 32px rgba(0, 0, 0, 0.25);
  overflow-x: auto;
}

.st-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}

.st-table th,
.st-table td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.st-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.st-table tbody tr:last-child td,
.st-table tbody tr:last-child th {
  border-bottom: none;
}

.st-table tbody th {
  font-weight: 500;
  color: #FFFFFF;
}

.st-table td:not(:first-child),
.st-table th:not(:first-child) {
  text-align: center;
  width: 22%;
}

.st-yes { color: #93C5FD; font-weight: 600; }
.st-no { color: rgba(255, 255, 255, 0.35); }

/* ---------- FAQ (native <details>, accessible without JS) ---------- */
.st-faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-faq details {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(10, 14, 26, 0.04);
}

.st-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.st-faq summary::-webkit-details-marker { display: none; }

.st-faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231E3A6E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}

.st-faq details[open] summary::after { transform: rotate(180deg); }

.st-faq summary:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
  border-radius: 18px;
}

.st-faq .st-faq-a {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: #5A657D;
}

.st-faq .st-faq-a a { color: var(--green-italic-light); font-weight: 600; }

/* FAQ inside the dark zone */
.section-dark .st-faq details {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.section-dark .st-faq summary { color: #FFFFFF; }
.section-dark .st-faq summary::after { filter: brightness(0) invert(1); opacity: 0.7; }
.section-dark .st-faq .st-faq-a { color: rgba(255, 255, 255, 0.7); }
.section-dark .st-faq .st-faq-a a { color: #93C5FD; }

/* ---------- Callout (honest notes) ---------- */
.st-note {
  max-width: 820px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(147, 197, 253, 0.08);
  border: 1px solid rgba(147, 197, 253, 0.18);
}

.st-note strong { color: #FFFFFF; }

/* ---------- Final CTA on cream (same navy card as the home page) ---------- */
/* Every subpage ends with the dark zone: the CTA sits directly on the navy
   background, as a white card (same layout as the home page CTA). */
.st-final {
  background: var(--bg-dark, #080A14);
  padding: 0 24px 96px;
  position: relative;
  z-index: 3;
}

.st-final .final-cta-compact {
  max-width: 1200px;
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35) !important;
}

.st-final .final-cta-headline { color: var(--text-dark, #0A0E1A); }
.st-final .final-cta-subline { color: #5A657D; }
.st-final .final-cta-compact .final-os-tag {
  color: #5A657D !important;
  background: #EEF1F6 !important;
  border: 1px solid #E2E6EE !important;
}

/* ---------- Feature pages: points & related cards follow the card family ---------- */
.rc-feature-page .fp-points li,
.rc-feature-page .fp-more-card,
.rc-feature-page .fp-cta {
  border-radius: 18px !important;
}

.rc-feature-page .fp-more-card:hover {
  background: #10204A !important;
  background-image:
    radial-gradient(120% 140% at 0% 0%, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0) 55%),
    linear-gradient(135deg, #142A61 0%, #0E1C44 55%, #0A1433 100%) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: none !important;
}

.rc-feature-page .fp-more-card .rc-feature-icon {
  --rc-feature-icon-color: var(--green-italic-dark);
}

.rc-feature-page .fp-eyebrow .rc-feature-icon {
  --rc-feature-icon-color: #1E3A6E;
}

.rc-feature-page .fp-back:hover {
  transform: none;
}

/* Per-platform download buttons (fixed OS, not auto-detected): same look as every Download button */
html body .st-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  background: var(--dl-bg, #3563c9);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(10, 14, 26, 0.18);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

html body .st-dl-btn:hover { background: var(--dl-bg-hover, #2c4a8f); }
html body .st-dl-btn:active { background: var(--dl-bg-active, #2c4a8f); box-shadow: inset 0 1px 3px rgba(10, 14, 26, 0.28); }
html body .st-dl-btn:focus-visible { outline: 2px solid #93C5FD; outline-offset: 2px; }
html body .st-dl-btn .os-btn-logo { width: 18px; height: 18px; }

/* White secondary buttons used inside cards */
.st-card .btn-pricing-secondary { align-self: stretch; }

@media (max-width: 640px) {
  .st-table { min-width: 0; font-size: 13px; }
  .st-table th, .st-table td { padding: 12px 10px; }
  .st-table th:first-child { padding-left: 16px; }
  .st-table td:not(:first-child), .st-table th:not(:first-child) { width: 26%; }
}

/* ============================================================================
   LEGAL · CONTACT · DOCUMENTATION — same card family and accents as the
   home page / download / pricing (dark glass cards, ice-blue accents).
   ============================================================================ */
.legal-section-dark,
.contact-section-dark {
  --rc-accent-ice: #93C5FD;
}

.legal-section-dark {
  padding-top: 56px !important;
  padding-bottom: 96px !important;
}

.legal-section-dark > .rc-container {
  position: relative;
  z-index: 2;
  max-width: 1480px;
}

/* Document buttons under the title (hero) */
.legal-doc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.legal-doc-tabs .legal-tab-item {
  width: auto;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 1px 2px rgba(10, 14, 26, 0.04);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.legal-doc-tabs .legal-tab-item:hover { border-color: rgba(10, 14, 26, 0.14); }

.legal-doc-tabs .legal-tab-item.active {
  color: #FFFFFF;
  background: #3563c9;
  border-color: #3563c9;
  font-weight: 600;
}

.legal-doc-tabs .legal-tab-item:focus-visible { outline: 2px solid #3563c9; outline-offset: 2px; }

/* Centered document + "On this page" rail on the right (same as the documentation) */
.legal-layout--doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 860px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 0;
}

.legal-layout--doc .legal-content-main { grid-column: 2; min-width: 0; }

.legal-toc-rail {
  grid-column: 3;
  position: sticky;
  top: 110px;
  max-width: 240px;
}

.legal-toc-inner {
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 16px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.legal-toc-heading {
  font-family: var(--rc-font-mono, 'JetBrains Mono', monospace);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.legal-toc-rail .legal-toc-list { gap: 8px; }

.legal-toc-rail .legal-toc-link,
.legal-toc-rail .legal-toc-link:hover,
.legal-toc-rail .legal-toc-link.active {
  padding: 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #94A3B8;
  background: none;
  border: 0;
  white-space: normal;
}

.legal-toc-rail .legal-toc-link:hover,
.legal-toc-rail .legal-toc-link.is-active { color: #93C5FD; }
.legal-toc-rail .legal-toc-link.is-active { font-weight: 600; }

@media (max-width: 1380px) {
  .legal-layout--doc { grid-template-columns: minmax(0, 1fr) 220px; }
  .legal-layout--doc .legal-content-main { grid-column: 1; }
  .legal-toc-rail { grid-column: 2; }
}

@media (max-width: 960px) {
  .legal-layout--doc { grid-template-columns: minmax(0, 1fr); }
  .legal-toc-rail { display: none; }
  .legal-document-card { padding: 28px 22px !important; }
}

.contact-section-dark {
  padding: 40px 0 40px;
}

.contact-section-dark .st-head {
  margin-bottom: 40px;
}

/* Dark glass cards (= .st-card--dark) */
.legal-sidebar,
.legal-document-card,
.legal-card,
.contact-info-card-glass,
.thanks-item-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 32px rgba(0, 0, 0, 0.25) !important;
  border-radius: 22px;
}

.contact-info-card-glass:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.contact-card-icon,
.legal-sec-num {
  color: var(--green-italic-dark);
}

.contact-card-sub { color: rgba(255, 255, 255, 0.7); font-size: 14px; }

/* Active states: ice blue instead of bright blue */
.legal-doc-nav-list .legal-tab-item.active,
.legal-toc-link:hover,
.legal-toc-link.active {
  background: rgba(147, 197, 253, 0.12);
  border-color: rgba(147, 197, 253, 0.28);
  color: #FFFFFF;
}

.legal-intro-banner,
.legal-callout-box {
  background: rgba(147, 197, 253, 0.08);
  border-color: rgba(147, 197, 253, 0.18);
}

.legal-section-body a,
.legal-callout-box a { color: #93C5FD; }

.contact-copy-action-btn:hover { background: #3563c9; }

/* Contact form on beige: navy accent like the home page */
.contact-hero-beige .rc-form-input:focus,
.contact-hero-beige .rc-form-textarea:focus,
.contact-hero-beige .rc-custom-select-trigger:focus-visible {
  border-color: #3563c9 !important;
  box-shadow: 0 0 0 3px rgba(53, 99, 201, 0.15) !important;
}

/* Documentation: navbar logo sized like the rest of the site */
body.docs-app-body #navbar.site-navbar .site-logo-img {
  height: var(--logo-height);
  width: auto;
}

/* Legal hero: sized to its content (title, intro, document buttons) */
.subpage-hero.legal-hero {
  min-height: 0 !important;
  padding-bottom: 150px !important;
}

/* ============================================================================
   PILL BUTTONS = "FORMAT" TABS OF THE HOME PAGE (.audience-tab-btn)
   Legal documents, Database quick filters, Download platforms.
   Solid colours (the home tabs sit on white): the beige never shows through,
   and the hover keeps a single clean border.
   ============================================================================ */
.legal-doc-tabs,
.db-quick,
.st-chip-row {
  gap: 10px !important;
}

.legal-doc-tabs .legal-tab-item,
.db-quick .db-chip,
.st-chip-row .st-chip {
  height: auto !important;
  padding: 14px 22px !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--rc-ink-2, #1E293B) !important;
  background: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid rgba(10, 14, 26, 0.08) !important;
  box-shadow: 0 1px 2px rgba(10, 14, 26, 0.04) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
  transform: none !important;
}

.legal-doc-tabs .legal-tab-item:hover,
.db-quick .db-chip:hover,
.st-chip-row .st-chip:hover {
  background: #F4F5F8 !important;
  border-color: rgba(10, 14, 26, 0.14) !important;
  box-shadow: 0 1px 2px rgba(10, 14, 26, 0.04) !important;
}

.legal-doc-tabs .legal-tab-item.active,
.legal-doc-tabs .legal-tab-item.active:hover,
.db-quick .db-chip.is-on,
.db-quick .db-chip.is-on:hover {
  background: #1E3A6E !important;
  color: #FFFFFF !important;
  border-color: #1E3A6E !important;
  box-shadow: 0 1px 2px rgba(10, 14, 26, 0.2) !important;
}

.legal-doc-tabs .legal-tab-item:focus-visible,
.db-quick .db-chip:focus-visible,
.st-chip-row .st-chip:focus-visible {
  outline: 2px solid #1E3A6E;
  outline-offset: 2px;
}


/* ============================================================================
   DESIGN CONSISTENCY LAYER (subpages)
   ============================================================================ */
/* Same hero spacing and title size on every subpage */
.subpage-hero.subpage-hero-beige { padding-top: 130px !important; padding-bottom: 140px !important; }
.subpage-hero.legal-hero { padding-bottom: 140px !important; }
.subpage-hero .hero-title,
.fp-hero.subpage-hero-beige .hero-title,
.db-pack-hero .hero-title { font-size: clamp(34px, 4.2vw, 56px) !important; }
.subpage-hero .hero-subtitle,
.fp-hero.subpage-hero-beige .hero-subtitle { margin-bottom: 32px !important; }

/* Same dark-zone and section rhythm everywhere */
.section-dark.download-dark-zone { padding-top: 120px !important; padding-bottom: 100px !important; }
.section-dark.legal-section-dark,
.section-dark.contact-section-dark { padding-top: 120px !important; padding-bottom: 100px !important; }
.db-zone .st-section { padding-top: 96px !important; }

/* Eyebrows: one style on dark sections */
.fp-detail-text .section-eyebrow {
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--green-italic-dark, #94A3B8) !important;
}

/* Card radius scale */
.st-card, .db-card, .db-panel, .db-bundle, .legal-document-card, .legal-sidebar, .contact-info-card-glass,
.fp-more-card, .st-table-wrap, .db-sidebar { border-radius: var(--rc-radius-card, 22px) !important; }
.contact-form-glass,
.download-hero-beige .contact-form-glass,
.contact-hero-beige .contact-form-glass { border-radius: var(--rc-radius-lg, 28px) !important; }
.fp-points li, .st-note, .db-lib-item, .db-summary, .db-buy-bundle, .db-method-note, .db-empty--wide { border-radius: var(--rc-radius-inner, 16px) !important; }
.db-field input, .db-field select, .db-method { border-radius: var(--rc-radius-input, 12px) !important; }
.db-field input, .db-field select { height: 44px; }

/* Feature pages: cards on the same radius scale */
.rc-feature-page .fp-more-card { border-radius: var(--rc-radius-card, 22px) !important; }
.rc-feature-page .fp-points li { border-radius: var(--rc-radius-inner, 16px) !important; }

/* Contact submit = every other primary button (48px) */
.contact-submit-btn,
button.contact-submit-btn { height: 48px !important; min-height: 48px !important; padding: 0 26px !important; }
.db-modal-dialog { border-radius: 24px; }
