.bf { overflow-x: clip; }
html { scroll-padding-block-start: 82px; }
.bf :focus-visible { outline: 3px solid #70a7ff; outline-offset: 4px; }
.skip-link {
  position: fixed; z-index: 50; top: 8px; left: 8px; transform: translateY(-160%);
  border-radius: 8px; padding: 12px 18px; background: #f2f1ea; color: #0a120e; font-weight: 700;
}
.skip-link:focus { transform: none; }
.bf section[tabindex="-1"]:focus { outline: none; }
.enhanced-nav .lang { order: 2; }
.enhanced-nav .nav-panel { display: contents; }
.enhanced-nav .nav-panel > .btn { order: 3; }
.enhanced-nav .nav-panel[hidden], .bf .motion-toggle[hidden] { display: none; }
.bf .menu-toggle { display: none; }
.motion-controls { display: flex; justify-content: center; margin-block-start: 10px; }
.motion-controls:has(> [hidden]) { display: none; }
.motion-toggle, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 6px 14px; font: inherit; font-size: 14px;
  color: var(--chalk); background: var(--night); border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer;
}
.motion-toggle::before {
  content: ''; box-sizing: border-box; width: 8px; height: 10px; border-inline: 3px solid var(--lime);
}
.motion-paused .motion-toggle::before {
  width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid var(--lime);
}
.menu-toggle:hover, .motion-toggle:hover { border-color: var(--mute); }
.bf .navlinks { column-gap: clamp(12px, 1.8vw, 28px); }
.bf .code { white-space: pre-wrap; overflow-wrap: anywhere; }
.bf .code .c { color: #94a29a; }
.bf .effect h2 .dim { color: #93a197; }
.bf .stage { margin-top: clamp(18px, 3.5vw, 48px); }
.bf .pitchbox { transform-origin: center; }
.bf .legend { margin-top: 0; }
.bf .rv { animation: none; opacity: 1; transform: none; }
.bf .term .ty, .bf .term .ask, .bf .term .out {
  clip-path: none; opacity: 1; transform: none; animation: none;
}
.bf .outside-view, .bf .outside-view *, .bf.motion-paused, .bf.motion-paused * {
  animation-play-state: paused !important;
}
.bf.motion-paused .rise, .bf.motion-paused .pitchbox {
  animation: none; opacity: 1; transform: none;
}
.bf :is(.card, .gcard, .pcard):not(a):hover { transform: none; }

@media (max-width: 1080px) {
  .bf .nav-in { min-height: 64px; flex-wrap: nowrap; gap: 8px; }
  .bf .enhanced-nav { flex-wrap: nowrap; gap: 8px; }
  .bf .enhanced-nav .lang { order: 0; }
  .bf .enhanced-nav .lang button { min-width: 38px; min-height: 38px; }
  .bf .enhanced-nav .menu-toggle { display: inline-flex; }
  .bf .enhanced-nav .nav-panel:not([hidden]) {
    position: absolute; top: 100%; right: 16px; display: grid; min-width: min(290px, calc(100vw - 32px));
    max-height: calc(100dvh - 80px); overflow-y: auto; padding: 10px; border: 1px solid var(--line);
    border-radius: 0 0 14px 14px; background: var(--pitch); box-shadow: 0 18px 32px #0008;
  }
  .bf .enhanced-nav .nav-panel a {
    display: flex; align-items: center; min-height: 44px; padding: 8px 12px;
    color: var(--chalk); border-radius: 8px;
  }
  .bf .enhanced-nav .nav-panel a:hover { background: #223328; }
  .bf .enhanced-nav .nav-panel .btn { margin-top: 6px; justify-content: center; }
  .bf .enhanced-nav .nav-panel .btn:hover { background: #e2ff8a; }
}
@media (min-width: 650px) and (max-width: 900px) {
  .bf .poss { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  html { scroll-padding-block-start: 72px; }
  .bf .wrap { padding-inline: clamp(16px, 5vw, 26px); }
  .bf .hero { padding-block-start: 44px; }
  .bf .hero-grid { gap: 24px; }
  .bf .hero .lede { margin-block-end: 22px; font-size: 18px; }
  .bf .ctas { gap: 8px; }
  .bf .ctas .btn { min-height: 46px; padding-inline: 15px; font-size: 15px; }
  .bf .sec, .bf .effect, .bf .cta { padding-block: 64px; }
  .bf .cards, .bf .fr-grid, .bf .poss, .bf .grounds, .bf .an-grid, .bf .perks { margin-top: 32px; }
  .bf .hero h1 { font-size: clamp(44px, 12.8vw, 73px); }
  .bf .ch0, .bf .ch1, .bf .ch2, .bf .ch3, .bf .ch4 {
    inset: 5px 5px auto auto; max-width: calc(100% - 10px); padding: 4px 7px;
    font-size: 11px; white-space: normal; overflow-wrap: anywhere;
  }
  .bf .legend { row-gap: 7px; column-gap: 14px; margin-top: 6px; }
  .bf .lab { padding: 16px; }
  .bf .lyr { grid-template-columns: 28px minmax(0,1fr); column-gap: 10px; }
  .bf .brand { font-size: 18px; gap: 8px; }
  .bf .brand svg { width: 32px; }
}
@media (max-width: 370px) {
  .bf .enhanced-nav .lang button { min-width: 32px; }
  .bf .menu-toggle { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .bf *, .bf *::before, .bf *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .bf .rise, .bf .pitchbox { opacity: 1; transform: none; }
  .bf .ballg { transform: translate(1018px,332px); }
  .bf .halo, .bf .scan, .bf .caret { display: none; }
  .bf .ch4 { opacity: 1; transform: none; }
  .bf .vz-trail { stroke-dashoffset: 0; }
  .bf .motion-controls { display: none; }
}
