:root {
  --bt-ink: #222021;
  --bt-white: #fff;
  --bt-pink: #ff3363;
  --bt-yellow: #ffe683;
  --bt-blush: #fff3f6;
  --bt-line: rgba(34, 32, 33, .14);
  --bt-muted: rgba(34, 32, 33, .66);
}

:root[data-theme] {
  --theme-primary: #07e274;
  --theme-secondary: #5d0ae0;
  --theme-bg: #f7f8f4;
  --theme-ink: #21172f;
  --theme-muted: #655e70;
  --theme-surface-solid: #fff;
  --theme-glass-strong: rgba(255, 255, 255, .9);
  --theme-line: rgba(52, 31, 71, .14);
  --theme-primary-ink: #13251b;
  --theme-secondary-ink: #fff;
  --theme-primary-icon-invert: 0;
  --theme-secondary-icon-invert: 1;
}

:root[data-theme="tenza-pop"] {
  --theme-primary: #ffe683;
  --theme-secondary: #ff3363;
  --theme-bg: #fff;
  --theme-ink: #222021;
  --theme-muted: rgba(34, 32, 33, .68);
  --theme-surface-solid: #fff;
  --theme-line: rgba(34, 32, 33, .16);
  --theme-primary-ink: #222021;
  --theme-secondary-ink: #222021;
  --theme-secondary-icon-invert: 1;
}

:root[data-theme="ocean"] {
  --theme-primary: #00c2ff;
  --theme-secondary: #2747d9;
  --theme-bg: #f2fbff;
  --theme-ink: #12213b;
  --theme-muted: #53627a;
}

:root[data-theme="rose"] {
  --theme-primary: #ff4fa3;
  --theme-secondary: #7a1cac;
  --theme-bg: #fff6fa;
  --theme-ink: #32182b;
  --theme-muted: #735568;
}

:root[data-theme="forest"] {
  --theme-primary: #7bcf4c;
  --theme-secondary: #186b3a;
  --theme-bg: #f4faf1;
  --theme-ink: #172a1c;
  --theme-muted: #526658;
}

:root[data-theme="sunset"] {
  --theme-primary: #ff8a1f;
  --theme-secondary: #d63384;
  --theme-bg: #fff7f1;
  --theme-ink: #382019;
  --theme-muted: #765d54;
}

:root[data-theme="candy"] {
  --theme-primary: #28e0c0;
  --theme-secondary: #ff5d7d;
  --theme-bg: #fff7fb;
  --theme-ink: #2d1d2a;
  --theme-muted: #705b69;
}

:root[data-theme="royal"] {
  --theme-primary: #ffc928;
  --theme-secondary: #4f2bd6;
  --theme-bg: #faf8ff;
  --theme-ink: #251c3d;
  --theme-muted: #655d78;
}

:root[data-theme="sky"] {
  --theme-primary: #62d0ff;
  --theme-secondary: #123e9a;
  --theme-bg: #f3f9ff;
  --theme-ink: #14233b;
  --theme-muted: #56657a;
}

:root[data-theme="lavender"] {
  --theme-primary: #b277ff;
  --theme-secondary: #6a1fd2;
  --theme-bg: #fbf7ff;
  --theme-ink: #2b1d3c;
  --theme-muted: #6c5c7a;
}

:root[data-theme="citrus"] {
  --theme-primary: #f4d13d;
  --theme-secondary: #007f78;
  --theme-bg: #fbfbf1;
  --theme-ink: #202c26;
  --theme-muted: #5e6962;
}

:root[data-theme="midnight"],
:root[data-theme="deep-sea"],
:root[data-theme="ember"] {
  --theme-bg: #100d18;
  --theme-ink: #f7f4ff;
  --theme-muted: #aaa4b8;
  --theme-surface-solid: #1a1624;
  --theme-glass-strong: rgba(31, 26, 43, .92);
  --theme-line: rgba(255, 255, 255, .14);
}

:root[data-theme="midnight"] {
  --theme-primary: #36f59a;
  --theme-secondary: #8b5cff;
}

:root[data-theme="deep-sea"] {
  --theme-primary: #20d9d2;
  --theme-secondary: #4377ff;
  --theme-bg: #071b2c;
  --theme-surface-solid: #0d293a;
  --theme-glass-strong: rgba(14, 40, 57, .92);
}

:root[data-theme="ember"] {
  --theme-primary: #ffb52e;
  --theme-secondary: #e4475d;
  --theme-bg: #1e1113;
  --theme-surface-solid: #2a191b;
  --theme-glass-strong: rgba(48, 25, 29, .92);
}

:root[data-theme="cv-blue-orange"] {
  --theme-primary: #0072b2;
  --theme-secondary: #e69f00;
  --theme-primary-ink: #fff;
  --theme-secondary-ink: #17120a;
  --theme-secondary-icon-invert: 0;
  --theme-bg: #f7fafc;
  --theme-ink: #101820;
  --theme-muted: #53616c;
}

:root[data-theme="cv-cyan-magenta"] {
  --theme-primary: #00a6d6;
  --theme-secondary: #cc79a7;
  --theme-secondary-ink: #21121c;
  --theme-secondary-icon-invert: 0;
  --theme-bg: #f7fafc;
  --theme-ink: #131a20;
  --theme-muted: #56636d;
}

:root[data-theme="cv-high-contrast"] {
  --theme-primary: #ffd400;
  --theme-secondary: #0057b8;
  --theme-secondary-ink: #fff;
  --theme-bg: #fff;
  --theme-ink: #080808;
  --theme-muted: #454545;
  --theme-line: rgba(0, 0, 0, .34);
}

:root[data-theme-mode="dark"] {
  color-scheme: dark;
}

.bt-landing-concept,
.bt-public-page {
  --bt-ink: var(--theme-ink, #222021);
  --bt-white: var(--theme-surface-solid, #fff);
  --bt-pink: var(--theme-secondary, #ff3363);
  --bt-yellow: var(--theme-primary, #ffe683);
  --bt-blush: color-mix(in srgb, var(--theme-secondary, #ff3363) 9%, var(--theme-surface-solid, #fff));
  --bt-line: var(--theme-line, rgba(34, 32, 33, .14));
  --bt-muted: var(--theme-muted, rgba(34, 32, 33, .66));
  --bt-on-primary: var(--theme-primary-ink, #222021);
  --bt-on-secondary: var(--theme-secondary-ink, #fff);
  --bt-on-ink: var(--theme-bg, #fff);
  --bt-secondary-heading: var(--bt-on-secondary);
  --bt-trust-icon-filter: brightness(0) invert(var(--theme-secondary-icon-invert, 1));
  color: var(--bt-ink);
  background: var(--theme-bg, var(--bt-white));
  font-family: Inter, Avenir Next, Avenir, "Segoe UI", sans-serif;
}

:root[data-theme="tenza-pop"] .bt-landing-concept,
:root[data-theme="tenza-pop"] .bt-public-page {
  --bt-secondary-heading: #fff;
  --bt-trust-icon-filter: brightness(0) invert(1);
}

.bt-landing-concept *,
.bt-public-page * {
  box-sizing: border-box;
}

.bt-landing-concept {
  --bt-handoff-height: 54px;
  --bt-header-height: 82px;
  grid-column: 1 / -1;
  width: 100vw;
  position: relative;
  left: 50%;
  margin: clamp(80px, 11vw, 150px) 0 -70px -50vw;
  overflow: clip;
  text-align: left;
}

/* The new concept is now the public homepage. Legacy elements remain mounted
   only so the existing game and guided-learning runtime can reuse them. */
[data-legacy-site-header],
.home-screen>[data-legacy-home-copy],
.home-screen>[data-legacy-home-stage],
[data-legacy-site-footer] {
  display: none;
}

body.is-playing [data-legacy-site-header] {
  display: flex;
}

body:not(.is-learning-in-home) .home-screen.is-active {
  width: 100%;
  max-width: none;
  display: block;
  margin: 0;
  padding: 0;
}

body:not(.is-learning-in-home) .bt-landing-concept {
  left: auto;
  margin: 0;
}

body.is-home-campaign .app-shell {
  padding-bottom: 0;
}

body.is-learning-in-home .home-screen.is-active {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  display: block;
  margin: 0;
  padding: 0;
}

body.is-learning-in-home .home-screen>[data-legacy-home-stage] {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  margin: 0;
  padding:
    max(72px, env(safe-area-inset-top)) clamp(18px, 4vw, 44px) max(24px, env(safe-area-inset-bottom));
  border-radius: 0;
  background: var(--theme-surface-solid, #fff);
  box-shadow: none;
  overflow-x: hidden;
  overflow-y: auto;
}

body.is-learning-in-home {
  overflow: hidden;
}

body.is-learning-in-home .app-shell,
body.is-learning-in-home main {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}

body.is-learning-in-home .learning-dismiss-button {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
}

@media (max-height: 560px) {
  body.is-learning-in-home .home-screen>[data-legacy-home-stage] {
    height: 100dvh;
    justify-content: flex-start;
  }
}

body.is-learning-in-home .bt-landing-concept {
  display: none;
}

/* The legacy homepage preview remains mounted for guided-learning reuse, but
   its document-level drag clone must never leak into the public homepage. */
body.is-home-campaign:not(.is-learning-in-home) .home-preview-drag-ghost {
  display: none !important;
}

.bt-landing-concept mark,
.bt-public-page mark {
  color: inherit;
  background: var(--bt-yellow);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.2;
}

.bt-heading-highlight {
  display: block;
  margin-top: .16em;
}

.bt-concept-handoff {
  height: var(--bt-handoff-height);
  min-height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  padding-block: 10px;
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
  color: var(--bt-on-ink);
  background: var(--bt-ink);
}

.bt-concept-feedback {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.bt-concept-feedback:hover {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-concept-handoff p {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  text-align: center;
  color: color-mix(in srgb, var(--bt-on-ink) 74%, transparent);
  font-size: 12px;
  font-weight: 700;
}

.bt-new-header {
  width: 100%;
  height: var(--bt-header-height);
  min-height: 82px;
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 14px;
  padding-left: max(32px, env(safe-area-inset-left));
  padding-right: max(32px, env(safe-area-inset-right));
  border-bottom: 1px solid var(--bt-line);
  background: color-mix(in srgb, var(--theme-glass-strong, var(--bt-white)) 94%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.bt-new-brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--bt-ink);
  text-decoration: none;
}

.bt-new-brand img {
  display: block;
  height: auto;
}

.bt-new-brand img:last-child {
  width: auto;
  height: 19px;
  max-width: 77px;
}

:root[data-theme-mode="dark"] .bt-new-brand img:last-child,
:root[data-theme-mode="dark"] .bt-nav-toggle img,
:root[data-theme-mode="dark"] .bt-nav-dismiss img {
  filter: brightness(0) invert(1);
}

.bt-new-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.bt-language-control {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.bt-language-control>span {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.bt-language-control select {
  min-height: 42px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--bt-line);
  border-radius: 13px;
  color: var(--bt-ink);
  background: color-mix(in srgb, var(--bt-white) 92%, transparent);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.bt-language-control select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bt-yellow) 70%, transparent);
  outline-offset: 2px;
}

.bt-language-control .bt-language-dropdown {
  width: fit-content;
  color: var(--bt-ink);
}

.bt-language-control .bt-language-dropdown-trigger {
  min-height: 42px;
  background: color-mix(in srgb, var(--bt-white) 82%, transparent);
}

.bt-language-control .bt-language-dropdown-menu {
  color: var(--bt-ink);
  background: color-mix(in srgb, var(--bt-white) 88%, transparent);
}

.bt-language-control .bt-language-dropdown-option[aria-selected="true"] {
  color: var(--theme-primary-ink, #143425);
  background: var(--theme-primary, var(--bt-green));
}

.bt-new-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 14px;
  color: var(--bt-ink);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.bt-new-nav a:hover {
  background: var(--bt-blush);
}

.bt-nav-icon-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bt-nav-action {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: var(--bt-ink);
  background: transparent;
  cursor: pointer;
}

.bt-nav-action:hover,
.bt-nav-action:focus-visible {
  background: var(--bt-blush);
}

.bt-nav-action img {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0);
  opacity: .82;
}

:root[data-theme-mode="dark"] .bt-nav-action img {
  filter: brightness(0) invert(1);
}

.bt-new-nav a[aria-current="page"] {
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-new-nav .bt-nav-play {
  margin-left: 7px;
  padding-inline: 20px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-new-nav .bt-nav-play:hover {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-nav-live-count {
  min-height: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 3px;
  color: var(--bt-muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.bt-nav-live-count::after,
.bt-live-status::after {
  position: absolute;
  z-index: 90;
  top: calc(100% + 7px);
  left: 50%;
  padding: 7px 10px;
  border-radius: 7px;
  color: #fff;
  background: rgba(0, 0, 0, .84);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  content: attr(data-tooltip);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translate(-50%, -3px);
  transition: opacity 150ms ease, transform 150ms ease;
  white-space: nowrap;
}

.bt-nav-live-count:hover::after,
.bt-live-status:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.bt-new-header>.bt-nav-live-count {
  flex: 0 0 auto;
  margin-left: 0;
}

.bt-nav-live-count i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: var(--theme-secondary, var(--bt-pink));
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme-secondary, var(--bt-pink)) 48%, transparent);
  animation: bt-live-pulse 1.8s ease-out infinite;
}

.bt-nav-live-count strong {
  color: var(--bt-ink);
  font: inherit;
  font-weight: 700;
}

.bt-nav-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--bt-ink);
  background: transparent;
  cursor: pointer;
}

.bt-nav-toggle:hover {
  background: transparent;
}

.bt-nav-dismiss {
  display: none;
}

.bt-landing-main {
  width: min(100% - 48px, 1220px);
  margin: 0 auto;
  padding: 0 0 clamp(70px, 10vw, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.bt-new-hero {
  width: 100vw;
  max-width: none;
  height: calc(100vh - var(--bt-handoff-height) - var(--bt-header-height));
  height: calc(100svh - var(--bt-handoff-height) - var(--bt-header-height));
  min-height: 0;
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(520px, 1.13fr);
  margin-inline: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--bt-pink);
  box-shadow: none;
}

.bt-hero-copy {
  min-height: 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 86px);
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
}

.bt-kicker {
  margin: 0 0 18px;
  color: var(--bt-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bt-hero-copy .bt-kicker {
  color: var(--bt-on-secondary);
}

.bt-hero-copy h2 {
  margin: 0;
  color: var(--bt-secondary-heading);
  font-size: clamp(47px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .9;
}

.bt-hero-copy h2 mark {
  display: inline;
  padding: 0 .08em .05em;
  color: var(--bt-ink);
  line-height: 1.2;
}

.bt-hero-lead {
  max-width: 520px;
  margin: 30px 0 0;
  color: color-mix(in srgb, var(--bt-on-secondary) 84%, transparent);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 650;
  line-height: 1.55;
}

.bt-hero-cta-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 34px;
}

.bt-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 18px;
  border: 0;
  border-radius: 16px;
  color: var(--bt-ink);
  background: var(--bt-white);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.bt-button img {
  display: block;
}

.bt-button:hover {
  transform: translateY(-2px);
}

.bt-button--primary {
  background: var(--bt-yellow);
}

.bt-button--primary:hover {
  background: color-mix(in srgb, var(--bt-yellow) 82%, white);
}

.bt-button--quiet {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  border: 1px solid rgba(34, 32, 33, .18);
  color: var(--bt-ink);
  background: var(--bt-white);
}

.bt-button--quiet small {
  color: var(--bt-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bt-button--quiet:hover {
  background: var(--bt-blush);
}

.bt-button--ink {
  color: var(--bt-on-ink);
  background: var(--bt-ink);
}

.bt-button--ink img {
  filter: brightness(0) invert(1);
}

.bt-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.bt-hero-facts li {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  border-right: 1px solid color-mix(in srgb, var(--bt-on-secondary) 28%, transparent);
}

.bt-hero-facts li:first-child {
  padding-left: 0;
}

.bt-hero-facts li:last-child {
  border-right: 0;
}

.bt-hero-facts strong {
  color: var(--bt-on-secondary);
  font-size: 16px;
  line-height: 1.1;
}

.bt-hero-facts span {
  margin-top: 4px;
  color: color-mix(in srgb, var(--bt-on-secondary) 76%, transparent);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bt-hero-modes {
  width: min(430px, 100%);
  margin-top: 32px;
  scroll-margin-top: 110px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bt-hero-rules-link {
  min-height: 42px;
  display: grid;
  grid-template-columns: auto 1fr 20px;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding: 8px 12px 8px 15px;
  border-radius: 14px;
  color: var(--theme-ink, var(--bt-ink));
  background: color-mix(in srgb, var(--theme-surface-solid, var(--bt-white)) 84%, transparent);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.bt-hero-rules-link small {
  color: var(--theme-muted, var(--bt-muted));
  font-size: 9px;
  font-weight: 750;
}

.bt-hero-rules-link img {
  display: block;
}

.bt-hero-rules-link:hover {
  background: var(--theme-surface-solid, var(--bt-white));
  transform: translateY(-3px);
}

.bt-trust-note {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin: 15px 0 0;
  color: color-mix(in srgb, var(--bt-secondary-heading) 78%, transparent);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.bt-trust-note img {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
  filter: var(--bt-trust-icon-filter);
  opacity: .72;
}

.bt-hero-visual {
  height: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: var(--bt-yellow);
}

.bt-hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.bt-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 32, 33, .05) 0%, rgba(34, 32, 33, .02) 34%, rgba(34, 32, 33, .62) 100%);
  pointer-events: none;
}

.bt-number-cluster {
  position: absolute;
  z-index: 3;
  top: 68px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 30px rgba(34, 32, 33, .14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.bt-number-cluster span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 17px;
  font-weight: 700;
}

.bt-number-cluster b {
  padding: 0 3px;
  font-size: 14px;
}

.bt-number-cluster .is-pink {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-number-cluster .is-yellow {
  background: var(--bt-yellow);
}

.bt-number-cluster .is-ink {
  color: var(--bt-on-ink);
  background: var(--bt-ink);
}

.bt-hero-game-preview {
  position: absolute;
  z-index: 4;
  inset: 0;
  animation: bt-hero-preview-enter 340ms ease both;
}

.bt-hero-game-preview[hidden],
.bt-hero-rules-panel[hidden] {
  display: none;
}

.bt-hero-game-rules {
  min-width: 190px;
  min-height: 58px;
  position: absolute;
  z-index: 3;
  top: 72px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 17px;
  border: 0;
  border-radius: 17px;
  color: var(--bt-ink);
  background: var(--theme-surface-solid);
  box-shadow: 0 16px 34px rgba(34, 32, 33, .18);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform: translateX(-50%);
  transition: transform 180ms ease, background-color 180ms ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.bt-hero-game-rules:hover,
.bt-hero-game-rules:focus-visible {
  background: var(--bt-white);
  transform: translate(-50%, -3px);
}

.bt-hero-game-rules>span {
  display: flex;
  flex-direction: column;
}

.bt-hero-game-rules strong {
  font-size: 20px;
  line-height: 1.05;
}

.bt-hero-game-rules small {
  color: var(--bt-muted);
  font-size: 16px;
}

.bt-hero-game-rules>i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bt-pink);
}

.bt-hero-game-rules>i img {
  display: block;
  filter: brightness(0) invert(1);
}

.bt-hero-board-scene {
  width: min(440px, calc(100% - 30px));
  position: absolute;
  top: 56%;
  left: 50%;
  display: grid;
  grid-template-columns: 44px auto 44px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transform: translate(-50%, -50%);
}

.bt-preview-board {
  position: relative;
  isolation: isolate;
  contain: paint;
  display: grid;
  grid-template-columns: repeat(5, 44px);
  grid-template-rows: repeat(8, 44px);
  gap: 6px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 24px;
  background: rgba(255, 255, 255, .3);
  box-shadow: 0 24px 50px rgba(34, 32, 33, .2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.bt-preview-cell {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 3px 9px rgba(34, 32, 33, .12);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.bt-preview-cell b {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  box-shadow: 0 5px 11px rgba(34, 32, 33, .18);
}

.bt-preview-cell .is-opponent,
.bt-preview-moving-piece.is-opponent {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-preview-cell .is-player,
.bt-preview-moving-piece.is-player {
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-preview-moving-piece {
  position: absolute;
  z-index: 50;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: 0 9px 20px rgba(34, 32, 33, .3);
  font-size: 13px;
  font-weight: 700;
  font-style: normal;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(1.08);
  transition: transform 640ms cubic-bezier(.2, .78, .2, 1);
  will-change: transform;
}

.bt-preview-cell.is-preview-source b {
  opacity: 0;
}

.bt-preview-cell.is-preview-impact::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: -4px;
  border: 3px solid var(--bt-yellow);
  border-radius: 15px;
  pointer-events: none;
  animation: bt-preview-impact .7s ease-out both;
}

.bt-preview-score-rail {
  --bt-preview-score-progress: 0%;
  height: 350px;
  position: relative;
  display: block;
  color: var(--bt-yellow);
}

.bt-preview-score-rail i {
  width: 6px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-radius: 999px;
  background: currentColor;
  opacity: .78;
  transform: translateX(-50%);
}

.bt-preview-score-rail strong {
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 2;
  bottom: var(--bt-preview-score-progress);
  left: 50%;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  box-shadow: 0 9px 24px color-mix(in srgb, currentColor 34%, transparent);
  font-size: 12px;
  font-weight: 700;
  transform: translate(-50%, 50%);
  transition: bottom 560ms cubic-bezier(.2, .8, .2, 1);
}

.bt-preview-score-rail--opponent {
  color: var(--bt-pink);
}

.bt-preview-score-rail--opponent strong {
  top: var(--bt-preview-score-progress);
  bottom: auto;
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
  transform: translate(-50%, -50%);
  transition: top 560ms cubic-bezier(.2, .8, .2, 1);
}

.bt-preview-score-rail strong.is-scoring {
  animation: bt-preview-score-pulse .72s cubic-bezier(.2, .8, .2, 1) both;
}

.bt-preview-move-caption {
  width: min(260px, calc(100% - 92px));
  position: absolute;
  z-index: 70;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 10px;
  color: #fff;
  text-shadow: 0 3px 0 color-mix(in srgb, var(--bt-pink) 62%, #271542), 0 8px 20px rgba(34, 32, 33, .42);
  font-size: clamp(22px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: .035em;
  line-height: .98;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.72);
}

.bt-preview-move-caption.is-visible {
  animation: bt-preview-caption-pop 1.8s cubic-bezier(.16, .8, .22, 1) both;
}

.bt-preview-cell.is-portal-choice {
  z-index: 3;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--bt-yellow) 42%, transparent), transparent 61%),
    color-mix(in srgb, var(--bt-white) 76%, var(--bt-pink));
  box-shadow:
    inset 0 0 0 3px color-mix(in srgb, var(--bt-pink) 26%, transparent),
    inset 0 0 20px color-mix(in srgb, var(--bt-yellow) 45%, transparent);
}

.bt-preview-vortex {
  position: absolute;
  z-index: 8;
  inset: 18%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--bt-yellow), var(--bt-pink), var(--bt-white), var(--bt-yellow));
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--bt-pink) 58%, transparent));
  animation: bt-preview-vortex-spin 1.15s linear infinite;
  pointer-events: none;
}

.bt-preview-vortex::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: color-mix(in srgb, var(--bt-white) 92%, transparent);
  box-shadow: inset 0 0 9px color-mix(in srgb, var(--bt-yellow) 55%, transparent);
}

.bt-preview-portal-flash {
  position: absolute;
  z-index: 16;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(circle,
      #fff 0 12%,
      var(--bt-yellow) 13% 28%,
      color-mix(in srgb, var(--bt-pink) 82%, transparent) 31% 46%,
      transparent 68%);
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--bt-pink) 64%, transparent));
  pointer-events: none;
  animation: bt-preview-portal-arrival .75s ease-out both;
}

.bt-preview-cell b.is-portal-ready::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -6px;
  border: 3px solid var(--bt-yellow);
  border-radius: 14px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bt-pink) 38%, transparent);
  animation: bt-preview-portal-ring .9s ease-in-out infinite alternate;
}

.bt-preview-cell b.is-portal-departing {
  z-index: 20;
  animation: bt-preview-portal-depart .34s ease-in both;
}

.bt-preview-cell b.is-portal-arriving {
  z-index: 20;
  animation: bt-preview-portal-arrive .4s ease-out both;
}

@keyframes bt-hero-preview-enter {
  from {
    opacity: 0;
    transform: scale(.985);
  }
}

@keyframes bt-preview-impact {
  from {
    opacity: 1;
    scale: .65;
  }

  to {
    opacity: 0;
    scale: 1.34;
  }
}

@keyframes bt-preview-score-pulse {

  0%,
  100% {
    scale: 1;
  }

  50% {
    filter: brightness(1.08);
    scale: 1.16;
  }
}

@keyframes bt-preview-caption-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -44%) scale(.68) rotate(-3deg);
  }

  14% {
    opacity: 1;
    transform: translate(-50%, -54%) scale(1.08) rotate(1deg);
  }

  32%,
  72% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -72%) scale(.92);
  }
}

@keyframes bt-preview-vortex-spin {
  to {
    rotate: 1turn;
  }
}

@keyframes bt-preview-portal-ring {
  to {
    filter: brightness(1.15);
    scale: 1.08;
  }
}

@keyframes bt-preview-portal-depart {
  to {
    filter: brightness(1.35);
    opacity: 0;
    scale: 0;
  }
}

@keyframes bt-preview-portal-arrive {
  from {
    filter: brightness(1.35);
    opacity: 0;
    scale: 0;
  }
}

@keyframes bt-preview-portal-arrival {
  from {
    opacity: 1;
    scale: .25;
    rotate: 0turn;
  }

  to {
    opacity: 0;
    scale: 1.65;
    rotate: .45turn;
  }
}

.bt-hero-rules-panel {
  width: min(540px, calc(100% - 36px));
  max-height: calc(100% - 142px);
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  overflow: auto;
  padding: 16px;
  border-radius: 25px;
  color: var(--bt-ink);
  background: color-mix(in srgb, var(--theme-glass-strong, var(--bt-white)) 94%, transparent);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--bt-ink) 24%, transparent);
  transform: translate(-50%, -50%);
  animation: bt-rules-panel-enter 220ms ease both;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

@keyframes bt-rules-panel-enter {
  from {
    opacity: 0;
    transform: translate(-50%, -47%);
  }
}

.bt-hero-rules-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 2px 12px;
}

.bt-hero-rules-heading p,
.bt-hero-rules-heading h3 {
  margin: 0;
}

.bt-hero-rules-heading p {
  color: var(--bt-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bt-hero-rules-heading h3 {
  margin-top: 3px;
  color: var(--bt-ink);
  font-size: 21px;
  letter-spacing: -.035em;
}

.bt-hero-rules-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bt-hero-rules-actions>span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.bt-hero-rules-actions button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--bt-ink);
  background: color-mix(in srgb, var(--bt-ink) 8%, transparent);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.bt-hero-rules-actions button:hover,
.bt-hero-rules-actions button:focus-visible {
  background: color-mix(in srgb, var(--bt-ink) 14%, transparent);
  transform: rotate(4deg);
}

.bt-hero-rules-actions img {
  display: block;
}

:root[data-theme-mode="dark"] .bt-hero-rules-actions img {
  filter: brightness(0) invert(1);
}

.bt-hero-rule-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bt-hero-rule-groups {
  display: grid;
  gap: 12px;
}

.bt-hero-rule-group {
  display: grid;
  gap: 6px;
}

.bt-hero-rule-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 3px;
}

.bt-hero-rule-section-heading h4,
.bt-hero-rule-section-heading span {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.bt-hero-rule-section-heading h4 {
  color: var(--bt-ink);
  font-size: 10px;
  letter-spacing: .08em;
}

.bt-hero-rule-section-heading span {
  color: var(--bt-muted);
  font-size: 8px;
  letter-spacing: .07em;
}

.bt-hero-rule-levels button {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 5px 9px 5px 5px;
  border: 0;
  border-radius: 13px;
  color: var(--bt-ink);
  background: color-mix(in srgb, var(--bt-white) 88%, var(--bt-yellow) 12%);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.bt-hero-rule-levels button:hover,
.bt-hero-rule-levels button:focus-visible {
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  transform: translateY(-2px);
}

.bt-hero-rule-levels button>span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  font-size: 9px;
  font-weight: 700;
}

.bt-hero-rule-levels button:hover>span,
.bt-hero-rule-levels button:focus-visible>span {
  background: color-mix(in srgb, var(--bt-white) 72%, transparent);
}

.bt-hero-rule-levels strong {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-hero-rule-play {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--bt-white);
  background: var(--bt-ink);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.bt-hero-rule-play img {
  display: block;
  filter: brightness(0) invert(1);
}

.bt-hero-rule-levels button:hover .bt-hero-rule-play,
.bt-hero-rule-levels button:focus-visible .bt-hero-rule-play {
  color: var(--bt-ink);
  background: var(--bt-white);
}

.bt-hero-rule-levels button:hover .bt-hero-rule-play img,
.bt-hero-rule-levels button:focus-visible .bt-hero-rule-play img {
  filter: none;
}

.bt-hero-rule-level--wide {
  grid-column: 1 / -1;
}

.bt-mode-panel {
  position: absolute;
  z-index: 5;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  left: clamp(18px, 3vw, 36px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 25px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 60px rgba(34, 32, 33, .24);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  scroll-margin-top: 110px;
}

.bt-mode-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 3px 3px 13px;
}

.bt-mode-panel-heading p,
.bt-mode-panel-heading h3 {
  margin: 0;
}

.bt-mode-panel-heading p {
  color: var(--bt-ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bt-mode-panel-heading h3 {
  margin-top: 4px;
  color: var(--bt-ink);
  font-size: 21px;
  letter-spacing: -.035em;
}

.bt-mode-panel-heading>span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--bt-muted);
  background: #f3f1f2;
  font-size: 9px;
  font-weight: 900;
}

.bt-mode-list {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.bt-mode-sublist {
  display: flex;
  flex-direction: row;
  gap: 7px;
}

.bt-mode-card {
  --bt-mode-surface: var(--theme-surface-solid, var(--bt-white));
  --bt-mode-ink: var(--theme-ink, var(--bt-ink));
  --bt-mode-border: var(--theme-line, var(--bt-line));
  --bt-mode-icon-surface: color-mix(in srgb, var(--theme-secondary, var(--bt-pink)) 10%, var(--theme-surface-solid, var(--bt-white)));
  --bt-mode-icon-invert: 0;
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 11px;
  padding: 14px 14px 14px 18px;
  border: 0;
  border-radius: 17px;
  color: var(--bt-mode-ink);
  background: var(--bt-mode-surface);
  box-shadow: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  width: fit-content;
}

.bt-mode-card:hover {
  box-shadow: none;
  transform: translateY(-2px);
}

.bt-mode-card:active {
  transform: translateY(-2px);
}

.bt-mode-card--solo {
  --bt-mode-surface: var(--theme-primary, var(--bt-yellow));
  --bt-mode-ink: var(--theme-primary-ink, var(--bt-ink));
  --bt-mode-border: color-mix(in srgb, var(--theme-ink, var(--bt-ink)) 82%, transparent);
  --bt-mode-icon-surface: color-mix(in srgb, var(--theme-surface-solid, var(--bt-white)) 40%, transparent);
  --bt-mode-icon-invert: var(--theme-primary-icon-invert, 0);
  box-shadow: none;
  width: fit-content;
}

.bt-mode-card--friend {
  --bt-mode-surface: var(--theme-ink, var(--bt-ink));
  --bt-mode-ink: var(--theme-bg, var(--bt-white));
  --bt-mode-border: transparent;
  --bt-mode-icon-surface: color-mix(in srgb, var(--theme-bg, var(--bt-white)) 13%, transparent);
  --bt-mode-icon-invert: 1;
}

.bt-mode-arrow {
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.bt-mode-arrow img {
  display: block;
  filter: brightness(0) invert(var(--bt-mode-icon-invert));
}

body[data-theme-mode="dark"] .bt-mode-card--live {
  --bt-mode-icon-invert: 1;
}

body[data-theme-mode="dark"] .bt-mode-card--friend {
  --bt-mode-icon-invert: 0;
}

.bt-mode-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bt-mode-copy strong {
  font-size: 16px;
  line-height: 1.05;
}

.bt-mode-copy small {
  color: var(--bt-muted);
  font-size: 14px;
}

.bt-mode-card--friend .bt-mode-copy small {
  color: currentColor;
  opacity: .66;
}

.bt-mode-arrow {
  width: 34px;
  height: 34px;
  background: var(--bt-mode-icon-surface);
}

.bt-mode-card--live .bt-mode-arrow {
  background: var(--bt-mode-icon-surface);
}

.bt-mode-card--friend .bt-mode-arrow {
  background: var(--bt-mode-icon-surface);
}

.bt-live-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bt-live-status i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: var(--theme-secondary, var(--bt-pink));
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme-secondary, var(--bt-pink)) 48%, transparent);
  animation: bt-live-pulse 1.8s ease-out infinite;
}

@keyframes bt-live-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme-secondary, var(--bt-pink)) 45%, transparent);
  }

  70%,
  100% {
    box-shadow: 0 0 0 7px transparent;
  }
}

.bt-learn-card {
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px dashed rgba(255, 51, 99, .35);
  border-radius: 17px;
  color: var(--bt-ink);
  background: var(--bt-blush);
  text-decoration: none;
}

.bt-learn-card:hover {
  border-style: solid;
}

.bt-learn-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--bt-ink);
  background: var(--bt-yellow);
  font-size: 13px;
  font-weight: 700;
}

.bt-learn-card>span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bt-learn-card strong {
  font-size: 12px;
}

.bt-learn-card small {
  color: var(--bt-muted);
  font-size: 9px;
  font-weight: 750;
}

.bt-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  border: 1px solid var(--bt-line);
  border-radius: 20px;
  background: var(--bt-white);
  width: fit-content;
}

.bt-proof-strip p {
  margin: 0;
  padding: 18px 22px;
  border-right: 1px solid var(--bt-line);
  color: var(--bt-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.bt-proof-strip p:last-child {
  border-right: 0;
}

.bt-proof-strip strong {
  color: var(--bt-ink);
}

.bt-section {
  padding: clamp(90px, 12vw, 160px) 0 0;
}

.bt-section-heading {
  max-width: 680px;
}

.bt-section-heading h2,
.bt-learning h2,
.bt-final-cta h2 {
  margin: 0;
  color: var(--bt-ink);
  font-size: clamp(42px, 5.7vw, 76px);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .95;
}

.bt-for-every-table .bt-section-heading h2 mark {
  display: inline;
  padding: .07em .2em .12em;
  border-radius: .045em;
  line-height: 1.3;
}

.bt-section-heading>p:last-child {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--bt-muted);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 620;
  line-height: 1.6;
}

.bt-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.bt-step-card {
  min-height: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--bt-line);
  border-radius: 30px;
  background: var(--bt-blush);
}

.bt-step-card--yellow {
  background: var(--bt-yellow);
}

.bt-step-card--ink {
  color: var(--bt-on-ink);
  background: var(--bt-ink);
}

.bt-step-index {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  font-size: 10px;
  font-weight: 700;
}

.bt-step-demo {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bt-step-demo b {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--bt-ink);
  background: var(--bt-yellow);
  font-size: 25px;
  font-weight: 700;
  transition: transform 260ms cubic-bezier(.2, .75, .2, 1);
}

.bt-step-card:hover .bt-step-demo b {
  transform: translateY(-6px) rotate(-2deg);
}

.bt-step-card:hover .bt-step-demo b:nth-of-type(even) {
  transform: translateY(-3px) rotate(2deg);
}

.bt-step-demo--think b:first-child {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-step-demo--think i {
  width: 34px;
  height: 2px;
  position: relative;
  background: var(--bt-ink);
}

.bt-step-demo--think i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--bt-ink);
  border-right: 2px solid var(--bt-ink);
  transform: translateY(-50%) rotate(45deg);
}

.bt-step-demo--pair strong {
  font-size: 18px;
}

.bt-step-demo--play {
  justify-content: space-between;
}

.bt-step-demo--play b {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-step-demo--play span {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 7px solid var(--bt-yellow);
  border-radius: 50%;
  font-size: 27px;
  font-weight: 700;
}

.bt-step-card h3 {
  margin: auto 0 0;
  font-size: 28px;
  letter-spacing: -.04em;
}

.bt-step-card p {
  margin: 10px 0 0;
  color: var(--bt-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.bt-step-card--ink p {
  color: rgba(255, 255, 255, .68);
}

.bt-learning {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  scroll-margin-top: 110px;
}

.bt-learning-copy {
  position: sticky;
  top: 120px;
}

.bt-learning-copy h2 {
  font-size: clamp(42px, 5vw, 68px);
}

.bt-learning-copy>p:not(.bt-kicker) {
  margin: 24px 0 30px;
  color: var(--bt-muted);
  font-size: 16px;
  font-weight: 620;
  line-height: 1.62;
}

.bt-learning-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 18px;
  border-radius: 34px;
  background: var(--bt-pink);
  list-style: none;
}

.bt-learning-path li {
  min-width: 0;
}

.bt-learning-path li:nth-child(10) {
  grid-column: 1 / -1;
}

.bt-learning-level {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border: 0;
  border-radius: 17px;
  color: var(--bt-ink);
  background: rgba(255, 255, 255, .94);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.bt-learning-level:hover {
  background: var(--bt-white);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--bt-ink) 14%, transparent);
  transform: translateY(-3px);
}

.bt-learning-level:focus-visible {
  outline: 3px solid var(--bt-yellow);
  outline-offset: 3px;
}

.bt-learning-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--bt-yellow);
  font-size: 11px;
  font-weight: 700;
}

.bt-learning-level-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bt-learning-level-copy strong {
  font-size: 12px;
}

.bt-learning-level-copy small {
  color: var(--bt-muted);
  font-size: 9px;
  font-weight: 750;
}

.bt-learning-play {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--bt-on-ink);
  background: var(--bt-ink);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.bt-learning-play img {
  display: block;
  filter: brightness(0) invert(1);
}

.bt-section-heading--center {
  margin: 0 auto;
  text-align: center;
}

.bt-section-heading--center>p:last-child {
  margin-inline: auto;
}

.bt-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.bt-audience-grid article {
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--bt-line);
  border-radius: 26px;
  background: var(--bt-white);
  box-shadow: 0 18px 40px rgba(34, 32, 33, 0);
  transition:
    transform 320ms cubic-bezier(.2, .75, .2, 1),
    box-shadow 320ms ease;
}

.bt-audience-grid article:nth-child(2) {
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-audience-grid article:nth-child(3) {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-audience-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(34, 32, 33, .13);
}

.bt-audience-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bt-blush);
}

.bt-audience-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .75, .2, 1);
}

.bt-audience-grid article:hover .bt-audience-media img {
  transform: scale(1.045);
}

.bt-audience-copy {
  min-height: 178px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px 28px 27px;
}

.bt-audience-grid span {
  color: var(--bt-ink);
  font-size: 11px;
  font-weight: 700;
}

.bt-audience-grid article:nth-child(3) span {
  color: var(--bt-on-secondary);
}

.bt-audience-grid h3 {
  margin: auto 0 0;
  font-size: 23px;
  letter-spacing: -.035em;
}

.bt-audience-grid p {
  margin: 10px 0 0;
  color: var(--theme-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.bt-audience-grid article:nth-child(3) p {
  color: color-mix(in srgb, var(--bt-on-secondary) 82%, transparent);
}

.bt-motion-ready .bt-landing-concept .bt-reveal,
.bt-motion-ready .bt-public-page .bt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms ease var(--bt-reveal-delay, 0ms),
    transform 650ms cubic-bezier(.2, .75, .2, 1) var(--bt-reveal-delay, 0ms);
}

.bt-motion-ready .bt-landing-concept .bt-reveal.is-visible,
.bt-motion-ready .bt-public-page .bt-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bt-motion-ready .bt-landing-concept .bt-audience-grid article.bt-reveal.is-visible:hover {
  transform: translateY(-8px);
}

.bt-number-cluster span {
  animation: bt-number-bob 3.8s ease-in-out infinite alternate;
}

.bt-number-cluster span:nth-of-type(2) {
  animation-delay: -1.3s;
}

.bt-number-cluster span:nth-of-type(3) {
  animation-delay: -2.4s;
}

@keyframes bt-number-bob {
  from {
    transform: translateY(0) rotate(0);
  }

  to {
    transform: translateY(-5px) rotate(2deg);
  }
}

.bt-testimonials {
  padding-top: clamp(90px, 12vw, 160px);
}

.bt-testimonial-surface {
  --bt-testimonial-duration: 5200ms;
  min-height: clamp(440px, 56vw, 610px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  padding: clamp(34px, 6vw, 76px);
  border-radius: clamp(30px, 4vw, 50px);
  color: var(--bt-on-ink);
  background: var(--bt-ink);
}

.bt-testimonial-mark {
  width: clamp(270px, 35vw, 420px);
  height: auto;
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(-130px, -9vw, -72px);
  display: block;
  opacity: .3;
  filter: invert(1);
  transform: translateY(-50%) rotate(45deg) scale(1.5);
  pointer-events: none;
  user-select: none;
}

.bt-testimonial-stage {
  min-height: 330px;
  position: relative;
  z-index: 1;
}

.bt-testimonial-intro,
.bt-testimonial-quote {
  position: absolute;
  inset: 0;
  transition:
    opacity 360ms ease,
    transform 460ms cubic-bezier(.2, .75, .2, 1);
}

.bt-testimonial-intro {
  display: flex;
  align-items: center;
  opacity: 1;
  transform: translateX(0);
}

.bt-testimonial-intro h2 {
  max-width: 850px;
  margin: 0;
  color: var(--bt-on-ink);
  font-size: clamp(55px, 8.7vw, 110px);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .88;
}

.bt-testimonial-intro h2 span {
  color: var(--bt-yellow);
}

.bt-testimonial-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  opacity: 0;
  transform: translateX(38px);
}

.bt-testimonial-quote blockquote {
  max-width: 900px;
  margin: 0;
  color: var(--bt-on-ink);
  font-size: clamp(42px, 6.7vw, 80px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .98;
}

.bt-testimonial-quote figcaption {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: clamp(30px, 5vw, 50px);
}

.bt-testimonial-quote figcaption img {
  width: 66px;
  height: 66px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--bt-yellow) 82%, transparent);
  border-radius: 50%;
}

.bt-testimonial-quote figcaption>span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bt-testimonial-quote figcaption strong {
  color: var(--bt-on-ink);
  font-size: 15px;
}

.bt-testimonial-quote figcaption small {
  color: color-mix(in srgb, var(--bt-on-ink) 66%, transparent);
  font-size: 11px;
  font-weight: 720;
}

.bt-testimonial-surface:not(.is-intro) .bt-testimonial-intro {
  opacity: 0;
  transform: translateX(-38px);
}

.bt-testimonial-surface:not(.is-intro) .bt-testimonial-quote {
  opacity: 1;
  transform: translateX(0);
}

.bt-testimonial-surface.is-changing .bt-testimonial-intro,
.bt-testimonial-surface.is-changing .bt-testimonial-quote {
  opacity: 0;
  transform: translateX(-28px);
}

.bt-testimonial-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 0;
}

.bt-testimonial-footer p {
  margin: 0;
  color: color-mix(in srgb, var(--bt-on-ink) 72%, transparent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bt-testimonial-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bt-testimonial-controls button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.bt-testimonial-controls button:hover,
.bt-testimonial-controls button:focus-visible {
  background: color-mix(in srgb, var(--bt-on-ink) 12%, transparent);
}

.bt-testimonial-controls button:focus-visible,
.bt-testimonial-dots button:focus-visible {
  outline: 2px solid var(--bt-yellow);
  outline-offset: 2px;
}

.bt-testimonial-controls img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.bt-testimonial-controls button:first-child img {
  transform: rotate(180deg);
}

.bt-testimonial-dots {
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 0;
}

.bt-testimonial-dots button {
  height: 3.5px;
  position: relative;
  flex: 1 1 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bt-on-ink) 22%, transparent);
  cursor: pointer;
}

.bt-testimonial-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--bt-on-ink);
  transform: scaleX(0);
  transform-origin: left center;
}

.bt-testimonial-dots button:hover {
  background: color-mix(in srgb, var(--bt-on-ink) 42%, transparent);
}

.bt-testimonial-surface.is-progressing .bt-testimonial-dots button.is-active::after {
  animation: bt-testimonial-dot-progress var(--bt-testimonial-duration) linear forwards;
}

.bt-testimonial-live {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Center the quote card across the hero and let it straddle the hero's lower
   edge. The section owns the overlap; the surface owns the scroll reveal. */
.bt-landing-main > .bt-testimonials {
  width: min(680px, calc(100vw - 48px));
  position: relative;
  z-index: 10;
  align-self: center;
  margin: -40px 0 -116px;
  padding: 0;
  transform: translateY(-50%);
}

.bt-landing-main > .bt-testimonials .bt-testimonial-surface {
  width: 100%;
  min-height: clamp(240px, 20vw, 270px);
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: clamp(26px, 3vw, 36px);
  transition:
    opacity 600ms ease,
    transform 680ms cubic-bezier(.16, 1, .3, 1);
}

.bt-landing-main > .bt-testimonials .bt-testimonial-stage {
  min-height: clamp(124px, 11vw, 148px);
}

.bt-landing-main > .bt-testimonials .bt-testimonial-quote {
  justify-content: center;
}

.bt-landing-main > .bt-testimonials .bt-testimonial-quote blockquote {
  max-width: 100%;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: .94;
}

.bt-landing-main > .bt-testimonials .bt-testimonial-quote figcaption {
  gap: 11px;
  margin-top: clamp(16px, 2vw, 22px);
}

.bt-landing-main > .bt-testimonials .bt-testimonial-quote figcaption img {
  width: 50px;
  height: 50px;
  border-width: 2px;
}

.bt-landing-main > .bt-testimonials .bt-testimonial-footer {
  gap: 16px;
  padding-top: 14px;
}

.bt-landing-main > .bt-testimonials:not(.is-entered) .bt-testimonial-surface {
  visibility: hidden;
  opacity: 0;
  transform: translateY(64px);
  pointer-events: none;
}

.bt-landing-main > .bt-testimonials.is-entered .bt-testimonial-surface {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@keyframes bt-testimonial-dot-progress {
  to {
    transform: scaleX(1);
  }
}

.bt-final-cta {
  min-height: 370px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(90px, 12vw, 160px);
  padding: clamp(38px, 6vw, 72px);
  border-radius: clamp(30px, 4vw, 50px);
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-final-cta .bt-kicker,
.bt-final-cta h2 {
  color: var(--bt-on-secondary);
}

.bt-final-cta .bt-kicker {
  color: var(--bt-on-secondary);
}

.bt-final-actions {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.bt-final-actions>a:last-child {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--bt-ink);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.bt-contact {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  margin-top: clamp(90px, 12vw, 160px);
  overflow: hidden;
  scroll-margin-top: 110px;
  border: 1px solid var(--bt-line);
  border-radius: clamp(28px, 4vw, 46px);
  background: var(--bt-white);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--bt-ink) 10%, transparent);
}

.bt-contact-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: start;
  padding: clamp(34px, 5vw, 62px);
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-contact-copy .bt-kicker,
.bt-contact-copy h2,
.bt-contact-copy p,
.bt-contact-copy small {
  color: inherit;
}

.bt-contact-copy h2 {
  max-width: 440px;
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .94;
}

.bt-contact-copy p {
  max-width: 460px;
  margin: 28px 0 42px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.bt-contact-copy small {
  font-size: 10px;
  font-weight: 700;
  opacity: .68;
}

.bt-contact-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(34px, 5vw, 62px);
  background: color-mix(in srgb, var(--bt-white) 94%, var(--bt-pink) 6%);
}

.bt-contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bt-contact-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.bt-contact-label-row label {
  color: var(--bt-ink);
  font-size: 12px;
  font-weight: 900;
}

.bt-contact-label-row small {
  color: var(--bt-muted);
  font-size: 9px;
  font-weight: 750;
}

.bt-contact-field input,
.bt-contact-field textarea {
  width: 100%;
  border: 1px solid var(--bt-line);
  border-radius: 16px;
  color: var(--bt-ink);
  background: var(--bt-white);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.bt-contact-field input {
  min-height: 52px;
  padding: 0 16px;
}

.bt-contact-field textarea {
  min-height: 160px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.bt-contact-field input::placeholder,
.bt-contact-field textarea::placeholder {
  color: color-mix(in srgb, var(--bt-muted) 74%, transparent);
}

.bt-contact-field input:focus,
.bt-contact-field textarea:focus {
  border-color: var(--bt-pink);
  outline: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bt-pink) 15%, transparent);
}

.bt-contact-field input[aria-invalid="true"],
.bt-contact-field textarea[aria-invalid="true"] {
  border-color: var(--bt-pink);
}

.bt-contact-error {
  min-height: 15px;
  color: var(--bt-pink);
  font-size: 10px;
  font-weight: 700;
}

.bt-contact-submit {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  padding: 0 18px 0 22px;
  border: 0;
  border-radius: 17px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.bt-contact-submit:hover:not(:disabled) {
  filter: brightness(1.03);
  transform: translateY(-3px);
}

.bt-contact-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.bt-contact-submit img {
  display: block;
  filter: brightness(0) invert(var(--theme-primary-icon-invert, 0));
}

.bt-contact-submit b {
  width: 18px;
  height: 18px;
  display: none;
  justify-self: end;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bt-contact-spin .7s linear infinite;
}

.bt-contact-submit.is-loading img {
  display: none;
}

.bt-contact-submit.is-loading b {
  display: block;
}

@keyframes bt-contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.bt-contact-response {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--bt-yellow) 65%, var(--bt-line));
  border-radius: 16px;
  color: var(--bt-ink);
  background: color-mix(in srgb, var(--bt-yellow) 20%, var(--bt-white));
}

.bt-contact-response[hidden] {
  display: none;
}

.bt-contact-response[data-state="error"] {
  border-color: color-mix(in srgb, var(--bt-pink) 58%, var(--bt-line));
  background: color-mix(in srgb, var(--bt-pink) 10%, var(--bt-white));
}

.bt-contact-response strong,
.bt-contact-response p {
  margin: 0;
}

.bt-contact-response strong {
  font-size: 12px;
}

.bt-contact-response p {
  margin-top: 3px;
  color: var(--bt-muted);
  font-size: 10px;
  font-weight: 700;
}

.bt-contact-response button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  color: var(--bt-ink);
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.bt-new-footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px max(24px, calc((100vw - 1220px) / 2));
  border-top: 1px solid var(--bt-line);
}

.bt-new-footer p {
  margin: 0;
  color: var(--bt-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bt-new-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.bt-new-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--bt-muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.bt-new-footer nav a:hover {
  color: var(--bt-ink);
  text-decoration: underline;
}

.bt-landing-concept a:focus-visible,
.bt-landing-concept button:focus-visible,
.bt-landing-concept input:focus-visible,
.bt-landing-concept textarea:focus-visible,
.bt-public-page a:focus-visible,
.bt-public-page button:focus-visible {
  outline: 3px solid var(--bt-ink);
  outline-offset: 3px;
}

/* Standalone Rules and Leaderboard pages */
.bt-public-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

.bt-skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--bt-on-ink);
  background: var(--bt-ink);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-160%);
}

.bt-skip-link:focus {
  transform: none;
}

.bt-public-page .bt-new-header {
  position: sticky;
}

.bt-page-main {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0 clamp(70px, 9vw, 120px);
}

.bt-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--bt-muted);
  font-size: 11px;
  font-weight: 700;
}

.bt-page-breadcrumb a {
  color: var(--bt-ink);
  text-decoration: underline;
}

.bt-page-hero {
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  align-items: end;
  gap: 38px;
  padding: clamp(38px, 6vw, 72px);
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 48px);
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-page-hero--leaderboard {
  color: var(--bt-on-ink);
  background: var(--bt-ink);
}

.bt-page-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--bt-on-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bt-page-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.bt-page-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .9;
}

.bt-page-hero:not(.bt-page-hero--leaderboard) h1 {
  color: var(--bt-secondary-heading);
}

.bt-page-hero p:not(.bt-page-label) {
  max-width: 620px;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--bt-on-secondary) 84%, transparent);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}

.bt-page-hero-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 25px;
  border-radius: 24px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-page-hero--leaderboard .bt-page-label {
  color: var(--bt-yellow);
}

.bt-page-hero--leaderboard p:not(.bt-page-label) {
  color: color-mix(in srgb, var(--bt-on-ink) 82%, transparent);
}

.bt-page-hero-card>span {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bt-page-hero-card>strong {
  max-width: 250px;
  font-size: 27px;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.bt-page-hero-card>small {
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

.bt-page-learn-button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 7px 8px 7px 15px;
  border-radius: 16px;
  color: var(--bt-ink);
  background: color-mix(in srgb, var(--bt-white) 94%, transparent);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.bt-page-learn-button:hover {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-page-learn-button>span {
  display: grid;
  gap: 1px;
}

.bt-page-learn-button strong,
.bt-page-learn-button small {
  font: inherit;
}

.bt-page-learn-button strong {
  font-size: 14px;
  font-weight: 900;
}

.bt-page-learn-button small {
  opacity: .7;
  font-size: 10px;
  font-weight: 750;
}

.bt-page-learn-button>i {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-page-learn-button:hover>i {
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-page-learn-button>i img {
  display: block;
  filter: brightness(0) invert(var(--theme-secondary-icon-invert, 1));
}

.bt-page-learn-button:hover>i img {
  filter: brightness(0) invert(var(--theme-primary-icon-invert, 0));
}

.bt-rule-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: start;
  margin-top: 64px;
}

.bt-rule-nav {
  position: sticky;
  top: 112px;
  padding: 16px;
  border: 1px solid var(--bt-line);
  border-radius: 20px;
}

.bt-rule-nav strong {
  display: block;
  padding: 5px 7px 11px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bt-rule-nav a {
  min-height: 43px;
  display: flex;
  align-items: center;
  padding: 7px;
  border-radius: 10px;
  color: var(--bt-muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.bt-rule-nav a:hover {
  color: var(--bt-ink);
  background: var(--bt-yellow);
}

.bt-rule-content {
  min-width: 0;
}

.bt-rule-section {
  padding: 0 0 64px;
  scroll-margin-top: 120px;
}

.bt-rule-section+.bt-rule-section {
  padding-top: 64px;
  border-top: 1px solid var(--bt-line);
}

.bt-rule-section>span {
  color: var(--bt-ink);
  font-size: 11px;
  font-weight: 700;
}

.bt-rule-section h2 {
  margin: 12px 0 0;
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -.055em;
  line-height: 1;
}

.bt-rule-section>p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--bt-muted);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.7;
}

.bt-rule-callout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.bt-rule-example-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.bt-rule-example-toolbar button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  color: var(--bt-on-ink);
  background: var(--bt-ink);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.bt-rule-example-toolbar button:hover {
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-rule-example-toolbar img {
  display: block;
  filter: brightness(0) invert(1);
}

.bt-rule-example-toolbar button:hover img {
  filter: brightness(0) invert(var(--theme-primary-icon-invert, 0));
}

.bt-capture-example-grid {
  margin-top: 12px;
}

.bt-capture-example-grid.is-refreshing .bt-rule-tile {
  animation: bt-rule-example-refresh 300ms cubic-bezier(.2, .8, .2, 1) both;
}

.bt-capture-example-grid.is-refreshing .bt-rule-tile:nth-child(2) {
  animation-delay: 35ms;
}

.bt-capture-example-grid.is-refreshing .bt-rule-tile:nth-child(3) {
  animation-delay: 70ms;
}

.bt-capture-example-grid.is-refreshing .bt-rule-tile:nth-child(4) {
  animation-delay: 105ms;
}

@keyframes bt-rule-example-refresh {
  0% {
    opacity: .35;
    transform: scale(.96);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.bt-rule-tile {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border-radius: 18px;
  background: var(--bt-blush);
}

.bt-rule-tile:nth-child(2) {
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
}

.bt-rule-tile:nth-child(4) {
  color: var(--bt-on-ink);
  background: var(--bt-ink);
}

.bt-rule-tile b {
  font-size: 23px;
}

.bt-rule-tile span {
  font-size: 11px;
  font-weight: 850;
}

.bt-rule-example {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 20px;
  background: var(--bt-blush);
}

.bt-rule-example b {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--bt-yellow);
  font-size: 21px;
}

.bt-rule-example b:first-child {
  color: var(--bt-on-secondary);
  background: var(--bt-pink);
}

.bt-rule-example strong {
  margin-left: 6px;
  font-size: 13px;
}

.bt-guided-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 28px;
  border-radius: 25px;
  background: var(--bt-yellow);
  color: var(--bt-on-primary);
}

.bt-guided-card h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.04em;
}

.bt-guided-card p {
  margin: 8px 0 0;
  color: var(--bt-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.bt-leaderboard-shell {
  margin-top: 42px;
}

.bt-leaderboard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.bt-leaderboard-meta p {
  margin: 0;
  color: var(--bt-muted);
  font-size: 11px;
  font-weight: 750;
}

.bt-leaderboard-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bt-leaderboard-controls {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
}

.bt-leaderboard-period-filter {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--bt-line);
  border-radius: 15px;
  background: var(--bt-white);
}

.bt-leaderboard-period-filter button {
  min-height: 38px;
  padding: 7px 13px;
  border: 0;
  border-radius: 10px;
  color: var(--bt-muted);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.bt-leaderboard-period-filter button:hover:not(:disabled) {
  color: var(--bt-ink);
  background: var(--bt-blush);
}

.bt-leaderboard-period-filter button[aria-pressed="true"] {
  color: var(--bt-on-ink);
  background: var(--bt-ink);
}

.bt-leaderboard-period-filter button:disabled {
  cursor: progress;
  opacity: .66;
}

.bt-leaderboard-card {
  overflow: hidden;
  border: 1px solid var(--bt-line);
  border-radius: 26px;
  background: var(--bt-white);
}

.bt-leaderboard-current {
  display: grid;
  grid-template-columns: auto minmax(66px, .4fr) minmax(180px, 1.5fr) minmax(76px, .45fr) minmax(94px, .55fr);
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--bt-line);
  color: var(--bt-ink);
  background: color-mix(in srgb, var(--bt-yellow) 46%, var(--bt-white));
}

.bt-leaderboard-current-label {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--bt-on-primary);
  background: var(--bt-yellow);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bt-leaderboard-current > span:not(.bt-leaderboard-current-label, .bt-leaderboard-player) {
  display: grid;
  gap: 2px;
}

.bt-leaderboard-current > span > strong {
  font-size: 14px;
  font-weight: 850;
}

.bt-leaderboard-current > span > small {
  color: var(--bt-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bt-leaderboard-scroll {
  overflow-x: auto;
}

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

.bt-leaderboard-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bt-leaderboard-table th,
.bt-leaderboard-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--bt-line);
  text-align: left;
}

.bt-leaderboard-table th {
  color: var(--bt-muted);
  background: color-mix(in srgb, var(--bt-white) 90%, var(--bt-yellow) 10%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bt-leaderboard-table td {
  font-size: 13px;
  font-weight: 750;
}

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

.bt-leaderboard-table tr.is-you td {
  background: color-mix(in srgb, var(--bt-yellow) 46%, var(--bt-white));
}

.bt-leaderboard-table td:first-child {
  width: 84px;
  color: var(--bt-ink);
  font-weight: 700;
}

.bt-leaderboard-player {
  display: flex;
  align-items: center;
  gap: 11px;
}

.bt-leaderboard-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 12px;
  background: var(--bt-yellow);
  color: var(--bt-on-primary);
  font-size: 12px;
  font-weight: 700;
}

.bt-leaderboard-status {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 12px 20px;
  color: var(--bt-muted);
  background: var(--bt-blush);
  font-size: 11px;
  font-weight: 750;
}

.bt-leaderboard-empty {
  padding: 50px 22px !important;
  color: var(--bt-muted);
  text-align: center !important;
}

.bt-skeleton {
  display: block;
  width: 68%;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      color-mix(in srgb, var(--bt-muted) 16%, var(--bt-white)) 20%,
      color-mix(in srgb, var(--bt-yellow) 10%, var(--bt-white)) 50%,
      color-mix(in srgb, var(--bt-muted) 16%, var(--bt-white)) 80%);
  background-size: 220% 100%;
  animation: bt-skeleton 1.4s linear infinite;
}

@keyframes bt-skeleton {
  to {
    background-position: -220% 0;
  }
}

.bt-page-footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--bt-line);
}

.bt-page-footer p {
  margin: 0;
  color: var(--bt-muted);
  font-size: 11px;
  font-weight: 750;
}

.bt-page-footer a {
  color: var(--bt-ink);
  font-size: 11px;
  font-weight: 850;
  text-decoration: underline;
}

@media (max-width: 1020px) {
  .bt-new-hero {
    grid-template-columns: minmax(0, .8fr) minmax(440px, 1.2fr);
  }

  .bt-hero-copy {
    padding: 48px 38px;
  }

  .bt-hero-copy h2 {
    font-size: clamp(43px, 5.8vw, 62px);
  }

  .bt-learning {
    grid-template-columns: minmax(0, .7fr) minmax(470px, 1.3fr);
    gap: 36px;
  }
}

/* Keep every desktop hero inside the stable viewport left after the status
   banner and navigation, while compacting its content on shorter screens. */
@media (min-width: 821px) and (max-height: 850px) {
  .bt-hero-copy {
    padding-block: clamp(24px, 4svh, 42px);
  }

  .bt-kicker {
    margin-bottom: 10px;
  }

  .bt-hero-copy h2 {
    font-size: clamp(44px, min(5vw, 8svh), 56px);
  }

  .bt-hero-lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.4;
  }

  .bt-hero-facts {
    margin-top: 22px;
  }

  .bt-hero-modes {
    margin-top: 18px;
  }

  .bt-mode-card {
    min-height: 56px;
  }

  .bt-mode-copy strong {
    font-size: 18px;
  }

  .bt-mode-copy small {
    font-size: 12px;
  }

  .bt-trust-note {
    margin-top: 10px;
  }
}

@media (max-width: 820px) {
  .bt-landing-concept {
    --bt-handoff-height: 82px;
    --bt-header-height: 72px;
  }

  body.bt-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.bt-nav-open .bt-landing-concept {
    overflow: visible;
  }

  body.bt-nav-open .bt-new-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .bt-concept-handoff {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    padding-block: 12px;
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }

  .bt-concept-handoff p {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    font-size: 11px;
  }

  .bt-concept-feedback {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .bt-nav-toggle {
    display: grid;
    margin-left: auto;
  }

  .bt-new-header {
    height: var(--bt-header-height);
    min-height: 72px;
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
    gap: clamp(8px, 3vw, 14px);
  }

  .bt-new-nav {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    position: fixed;
    z-index: 220;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding:
      max(92px, calc(env(safe-area-inset-top) + 76px)) max(24px, env(safe-area-inset-right)) max(42px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    border: 0;
    border-radius: 0;
    background: color-mix(in srgb, var(--theme-glass-strong, var(--bt-white)) 92%, transparent);
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    backdrop-filter: blur(28px) saturate(150%);
  }

  .bt-new-nav.is-open {
    display: flex;
    animation: bt-mobile-nav-in 190ms ease-out both;
  }

  .bt-mode-list {
    align-items: center;
  }

  .bt-new-nav a {
    width: min(100%, 340px);
    min-height: 58px;
    justify-content: center;
    padding-inline: 24px;
    border-radius: 18px;
    font-size: clamp(20px, 6vw, 28px);
    text-align: center;
  }

  .bt-nav-icon-actions {
    width: min(100%, 340px);
    justify-content: center;
    gap: 12px;
  }

  .bt-nav-action {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--bt-white) 72%, transparent);
  }

  .bt-nav-action img {
    width: 24px;
    height: 24px;
  }

  .bt-language-control {
    width: fit-content;
    min-height: 54px;
    display: inline-flex;
    justify-content: center;
    gap: 0;
    margin-inline: auto;
  }

  .bt-language-control>span {
    width: 1px;
    height: 1px;
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .bt-language-control select {
    width: auto;
    min-height: 54px;
    font-size: 16px;
  }

  .bt-language-control .bt-language-dropdown {
    width: fit-content;
  }

  .bt-language-control .bt-language-dropdown-trigger {
    width: auto;
    min-height: 54px;
    font-size: 16px;
  }

  .bt-language-control .bt-language-dropdown-menu {
    right: 0;
    left: auto;
    width: 100%;
  }

  .bt-new-nav .bt-nav-play {
    width: fit-content;
    margin: 8px auto 0;
    justify-content: center;
  }

  .bt-nav-live-count {
    min-height: 40px;
    justify-content: center;
    margin-left: 0;
    font-size: 12px;
  }

  .bt-nav-dismiss {
    width: 52px;
    height: 52px;
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--bt-ink);
    background: color-mix(in srgb, var(--theme-glass-strong, var(--bt-white)) 66%, transparent);
    cursor: pointer;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .bt-nav-dismiss:hover {
    background: color-mix(in srgb, var(--bt-white) 82%, transparent);
  }

  .bt-landing-main {
    width: min(100% - 28px, 700px);
  }

  .bt-new-hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .bt-hero-copy {
    min-height: calc(100vh - var(--bt-handoff-height) - var(--bt-header-height));
    min-height: calc(100svh - var(--bt-handoff-height) - var(--bt-header-height));
    padding: clamp(32px, 5svh, 48px) clamp(25px, 8vw, 60px);
    overflow: visible;
  }

  .bt-hero-copy h2 {
    font-size: clamp(48px, 11vw, 72px);
  }

  .bt-trust-note {
    justify-content: center;
    text-align: center;
  }

  .bt-hero-visual {
    height: calc(100vh - var(--bt-handoff-height) - var(--bt-header-height));
    height: calc(100svh - var(--bt-handoff-height) - var(--bt-header-height));
    min-height: 520px;
    max-height: 700px;
  }

  .bt-proof-strip {
    grid-template-columns: 1fr;
  }

  .bt-proof-strip p {
    border-right: 0;
    border-bottom: 1px solid var(--bt-line);
  }

  .bt-proof-strip p:last-child {
    border-bottom: 0;
  }

  .bt-step-grid,
  .bt-audience-grid {
    grid-template-columns: 1fr;
  }

  .bt-audience-media {
    aspect-ratio: 16 / 9;
  }

  .bt-step-card {
    min-height: 350px;
  }

  .bt-learning {
    grid-template-columns: 1fr;
  }

  .bt-learning-copy {
    position: static;
  }

  .bt-testimonial-surface {
    min-height: 500px;
  }

  .bt-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .bt-contact {
    grid-template-columns: 1fr;
  }

  .bt-contact-copy {
    min-height: 330px;
  }

  .bt-final-actions {
    width: 100%;
  }

  .bt-new-footer {
    grid-template-columns: 1fr auto;
  }

  .bt-new-footer>p {
    display: none;
  }

  .bt-page-main {
    width: min(100% - 28px, 700px);
  }

  .bt-page-hero {
    grid-template-columns: 1fr;
  }

  .bt-rule-layout {
    grid-template-columns: 1fr;
  }

  .bt-rule-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bt-rule-nav strong {
    grid-column: 1 / -1;
  }

  .bt-rule-callout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .bt-landing-concept {
    margin-top: 70px;
  }

  .bt-new-brand {
    gap: 8px;
  }

  .bt-new-brand>img:first-child {
    width: 36px;
    height: 36px;
  }

  .bt-new-brand>img:last-child {
    max-width: 120px;
  }

  .bt-hero-copy {
    padding: 36px 24px 40px;
  }

  .bt-hero-copy h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .bt-hero-lead {
    margin-top: 20px;
  }

  .bt-hero-facts {
    margin-top: 28px;
  }

  .bt-hero-modes {
    margin-top: 24px;
  }

  .bt-hero-cta-row {
    flex-direction: column;
  }

  .bt-button--quiet {
    align-items: center;
  }

  .bt-hero-facts {
    gap: 10px;
  }

  .bt-hero-facts li {
    padding: 0 8px;
  }

  .bt-number-cluster {
    right: 15px;
  }

  .bt-number-cluster span {
    width: 36px;
    height: 36px;
  }

  .bt-mode-panel {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 13px;
    border-radius: 22px;
  }

  .bt-hero-rules-panel {
    width: calc(100% - 20px);
    max-height: calc(100% - 130px);
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    padding: 13px;
    border-radius: 22px;
  }

  .bt-hero-game-rules {
    top: 68px;
  }

  .bt-hero-board-scene {
    width: calc(100% - 20px);
    grid-template-columns: 38px auto 38px;
    gap: 10px;
  }

  .bt-preview-board {
    grid-template-columns: repeat(5, 38px);
    grid-template-rows: repeat(8, 38px);
    gap: 5px;
    padding: 7px;
    border-radius: 21px;
  }

  .bt-preview-cell {
    border-radius: 10px;
  }

  .bt-preview-cell b {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 11px;
  }

  .bt-preview-score-rail {
    height: 320px;
  }

  .bt-preview-score-rail strong {
    width: 38px;
    height: 38px;
  }

  .bt-hero-rule-levels {
    gap: 5px;
  }

  .bt-hero-rule-levels button {
    min-height: 42px;
  }

  .bt-mode-card {
    min-height: 62px;
  }

  .bt-section {
    padding-top: 92px;
  }

  .bt-section-heading h2,
  .bt-learning h2,
  .bt-final-cta h2 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .bt-step-demo {
    min-height: 145px;
  }

  .bt-learning-path {
    grid-template-columns: 1fr;
  }

  .bt-learning-path li:nth-child(10) {
    grid-column: auto;
  }

  .bt-final-cta {
    min-height: 420px;
    padding: 34px 25px;
  }

  .bt-testimonial-surface {
    min-height: 480px;
    padding: 34px 25px;
  }

  .bt-testimonial-stage {
    min-height: 335px;
  }

  .bt-testimonial-intro h2 {
    font-size: clamp(50px, 15.5vw, 76px);
  }

  .bt-testimonial-quote blockquote {
    font-size: clamp(38px, 11vw, 56px);
  }

  .bt-testimonial-quote figcaption img {
    width: 58px;
    height: 58px;
  }

  .bt-contact-copy,
  .bt-contact-form {
    padding: 34px 25px;
  }

  .bt-contact-copy {
    min-height: 300px;
  }

  .bt-contact-response {
    align-items: flex-start;
    flex-direction: column;
  }

  .bt-new-footer {
    justify-items: center;
    grid-template-columns: 1fr;
    padding-block: 28px;
  }

  .bt-new-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .bt-page-main {
    padding-top: 24px;
  }

  .bt-page-hero {
    min-height: 0;
    padding: 39px 24px 24px;
  }

  .bt-page-hero h1 {
    font-size: clamp(46px, 15vw, 70px);
  }

  .bt-rule-nav,
  .bt-rule-callout {
    grid-template-columns: 1fr;
  }

  .bt-guided-card {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .bt-leaderboard-meta,
  .bt-page-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .bt-leaderboard-controls {
    width: 100%;
    align-items: stretch;
  }

  .bt-leaderboard-current {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bt-leaderboard-current-label {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.bt-scroll-top {
  width: 56px;
  height: 56px;
  position: fixed;
  z-index: 75;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--theme-surface-solid, #fff) 58%, var(--theme-line, rgba(34, 32, 33, .18)));
  border-radius: 50%;
  color: var(--theme-ink, #222021);
  background: color-mix(in srgb, var(--theme-glass-strong, #fff) 72%, transparent);
  box-shadow:
    0 14px 34px color-mix(in srgb, var(--theme-ink, #222021) 18%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--theme-surface-solid, #fff) 72%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(.92);
  transition:
    opacity 220ms ease,
    transform 220ms cubic-bezier(.2, .8, .2, 1),
    visibility 0s linear 220ms,
    background 180ms ease;
  cursor: pointer;
}

.bt-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.bt-scroll-top:hover {
  background: color-mix(in srgb, var(--theme-glass-strong, #fff) 88%, transparent);
  transform: translateY(-2px) scale(1);
}

.bt-scroll-top:active {
  transform: translateY(0) scale(.96);
}

.bt-scroll-top:focus-visible {
  outline: 3px solid var(--theme-primary, #ffe683);
  outline-offset: 4px;
}

.bt-scroll-top .ui-icon {
  width: 21px;
  height: 21px;
}

:root[data-theme-mode="dark"] .bt-scroll-top .ui-icon {
  filter: brightness(0) invert(1);
}

@media (max-width: 560px) {
  .bt-scroll-top {
    width: 52px;
    height: 52px;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@keyframes bt-mobile-nav-in {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {

  .bt-landing-concept *,
  .bt-public-page *,
  .bt-scroll-top {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .bt-testimonial-surface.is-progressing .bt-testimonial-dots button.is-active::after {
    animation-name: none !important;
    transform: scaleX(1);
  }
}

:root.bt-reduced-motion .bt-landing-concept *,
:root.bt-reduced-motion .bt-public-page *,
:root.bt-reduced-motion .bt-scroll-top {
  scroll-behavior: auto !important;
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 1ms !important;
}

:root.bt-reduced-motion .bt-testimonial-surface.is-progressing .bt-testimonial-dots button.is-active::after {
  animation-name: none !important;
  transform: scaleX(1);
}
