:root {
  --bts-navy-950: #061d2e;
  --bts-navy-900: #08283d;
  --bts-navy-800: #0d354d;
  --bts-teal: #5ad8d0;
  --bts-teal-dark: #2aa79f;
  --bts-white: #f7fbfd;
  --bts-muted: #bfd0da;
  --bts-line: rgba(142, 188, 210, 0.28);
  --bts-shadow: 0 24px 70px rgba(0, 9, 18, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.legal-page {
  margin: 0;
  color: var(--bts-white);
  background:
    radial-gradient(circle at 85% 6%, rgba(90, 216, 208, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--bts-navy-900), var(--bts-navy-950));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

.legal-shell {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
}

.legal-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--bts-line);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  color: var(--bts-white);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-back {
  color: var(--bts-teal);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-back:hover,
.legal-back:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-hero {
  padding: 72px 0 34px;
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--bts-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.legal-lead {
  max-width: 730px;
  margin: 22px 0 0;
  color: var(--bts-muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.legal-meta {
  margin-top: 24px;
  color: #92aeba;
  font-size: 0.9rem;
}

.legal-card {
  margin: 26px 0 76px;
  padding: clamp(24px, 5vw, 56px);
  background: rgba(7, 36, 54, 0.82);
  border: 1px solid var(--bts-line);
  border-radius: 24px;
  box-shadow: var(--bts-shadow);
  backdrop-filter: blur(12px);
}

.legal-card h2 {
  margin: 46px 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 28px 0 8px;
  font-size: 1.08rem;
}

.legal-card p,
.legal-card li {
  color: #d3e0e6;
}

.legal-card a {
  color: var(--bts-teal);
  text-underline-offset: 3px;
}

.legal-card ul {
  padding-left: 1.3rem;
}

.legal-note {
  margin: 28px 0;
  padding: 20px 22px;
  color: #dcebed;
  background: rgba(90, 216, 208, 0.08);
  border: 1px solid rgba(90, 216, 208, 0.35);
  border-radius: 14px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0 28px;
  border: 1px solid var(--bts-line);
  border-radius: 14px;
}

.legal-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 15px 17px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--bts-line);
}

.legal-table th {
  color: var(--bts-white);
  background: rgba(90, 216, 208, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-footer {
  padding: 32px 0 52px;
  color: #8faab7;
  border-top: 1px solid var(--bts-line);
  font-size: 0.88rem;
}

.legal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-footer a {
  color: var(--bts-muted);
  text-decoration: none;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--bts-white);
}

.bts-consent-modal {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bts-consent-modal[hidden] {
  display: none !important;
}

.bts-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.bts-consent-button {
  min-height: 42px;
  padding: 10px 15px;
  color: #f7fbfd;
  background: transparent;
  border: 1px solid rgba(247, 251, 253, 0.42);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 750;
}

.bts-consent-button:hover,
.bts-consent-button:focus-visible {
  background: rgba(247, 251, 253, 0.08);
  outline: 2px solid transparent;
}

.bts-consent-button--primary {
  color: #061d2e;
  background: #5ad8d0;
  border-color: #5ad8d0;
}

.bts-consent-button--primary:hover,
.bts-consent-button--primary:focus-visible {
  background: #74e3dc;
}

.bts-consent-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 11, 20, 0.72);
}

.bts-consent-modal__panel {
  width: min(100%, 610px);
  max-height: min(82vh, 720px);
  overflow-y: auto;
  padding: clamp(22px, 5vw, 34px);
  color: #f7fbfd;
  background: #08283d;
  border: 1px solid rgba(90, 216, 208, 0.35);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 9, 18, 0.58);
}

.bts-consent-modal__panel h2 {
  margin: 0 0 10px;
  font-size: 1.65rem;
}

.bts-consent-modal__intro {
  margin: 0 0 22px;
  color: #bfd0da;
  line-height: 1.55;
}

.bts-consent-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(142, 188, 210, 0.22);
}

.bts-consent-option strong {
  display: block;
  margin-bottom: 3px;
}

.bts-consent-option p {
  margin: 0;
  color: #afc4cf;
  font-size: 0.87rem;
  line-height: 1.45;
}

.bts-consent-switch {
  width: 46px;
  height: 25px;
  accent-color: #2aa79f;
  cursor: pointer;
}

.bts-consent-switch:disabled {
  cursor: not-allowed;
}

.bts-consent-gpc {
  margin: 16px 0;
  padding: 12px 14px;
  color: #d8ece9;
  background: rgba(90, 216, 208, 0.08);
  border-radius: 10px;
  font-size: 0.86rem;
}

.bts-privacy-choices-button {
  appearance: none;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Short, clear referral disclosure placed directly below the first CTA. */
.bts-affiliate-disclosure {
  max-width: 680px;
  margin: 14px auto 0;
  color: #526b7a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.78rem, 1.25vw, 0.86rem);
  line-height: 1.5;
  text-align: center;
}

/* Longer disclosure for the site footer; visible without opening another page. */
.bts-affiliate-disclosure--footer {
  max-width: 840px;
  margin: 0 auto 18px;
  color: #8faab7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: center;
}

body.bts-consent-lock {
  overflow: hidden;
}

@media (max-width: 780px) {
  .legal-shell {
    width: min(100% - 28px, 920px);
  }

  .legal-header__inner,
  .legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding-top: 52px;
  }

  .bts-consent-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .bts-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bts-consent-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
