:root {
  --text: #17203a;
  --footer-pad-bottom: 20px;
  --legal-pad: 28px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  background: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3.8vw, 34px);
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(236,241,250,.34);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  border: 1px solid rgba(222,229,241,.94);
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 28px 60px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.95);
  padding: clamp(22px, 4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.auth-logo {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  padding: 6px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 24px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.95);
}

.auth-logo-art { width: 100%; height: 100%; display: block; }
.auth-heading { min-width: 0; }

.auth-title-line {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.auth-title {
  margin: 0;
  font-size: clamp(1.45rem, 1.9vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
  color: #17203a;
}

.auth-beta {
  color: #ea7a1d;
  font-size: 1.08rem;
  line-height: 1;
  font-weight: 400;
  font-style: italic;
  letter-spacing: .02em;
  font-family: "Didot", "Bodoni 72", "Baskerville", "Times New Roman", serif;
}

.auth-fields {
  display: grid;
  gap: 8px;
}

.auth-field-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(23,32,58,.7);
}

.auth-input {
  width: 100%;
  border: 1px solid rgba(157,173,196,.46);
  background: rgba(248,251,255,.9);
  border-radius: 14px;
  padding: 10px 12px;
  color: #17203a;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.auth-input:focus {
  border-color: rgba(56,126,223,.62);
  box-shadow: 0 0 0 3px rgba(56,126,223,.16);
  background: #fff;
}

.auth-keep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.auth-keep-label {
  font-size: 14px;
  color: rgba(23,32,58,.82);
}

.auth-toggle {
  width: 48px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 3px;
  background: rgba(148,163,184,.6);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: background-color .2s ease;
}

.auth-toggle-knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,23,42,.25);
  transition: transform .2s ease;
}

.auth-toggle[aria-checked="true"] { background: #2a7dea; }
.auth-toggle[aria-checked="true"] .auth-toggle-knob { transform: translateX(20px); }

.auth-error {
  margin: 0;
  min-height: 1.1em;
  font-size: 13px;
  color: #b91c1c;
}

.auth-submit {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: #111827;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}

.auth-submit:hover { filter: brightness(1.08); }
.auth-submit:active { transform: translateY(1px) scale(.996); }

body.auth-unlocked .auth-overlay {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}

.coming-soon-page {
  position: relative;
  min-height: max(100svh, 920px);
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: visible;
  isolation: isolate;
}

body.auth-locked .coming-soon-page {
  pointer-events: none;
  user-select: none;
}

.site-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(420px, 62vw, 760px);
  height: clamp(420px, 62vw, 760px);
  transform: translate(-50%, -50%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  inset: -24vmax;
  opacity: 0;
  pointer-events: none;
  transform-origin: var(--shock-x, 50%) var(--shock-y, 50%);
}

.site-bg::before {
  background:
    radial-gradient(circle at var(--shock-x, 50%) var(--shock-y, 50%), rgba(255,255,255,.24) 0%, rgba(255,255,255,.16) 6%, rgba(255,255,255,.08) 14%, rgba(255,255,255,.02) 24%, rgba(255,255,255,0) 38%);
  mix-blend-mode: screen;
  filter: blur(1px);
}

.site-bg::after {
  background:
    radial-gradient(circle at var(--shock-x, 50%) var(--shock-y, 50%), rgba(255,255,255,.18) 0%, rgba(255,255,255,.08) 12%, rgba(255,255,255,0) 34%),
    repeating-radial-gradient(circle at var(--shock-x, 50%) var(--shock-y, 50%), rgba(255,255,255,.08) 0 1.5px, rgba(255,255,255,0) 1.5px 4.5px);
  mix-blend-mode: soft-light;
  filter: blur(.6px);
}

.site-bg.is-shocking::before { animation: logoShockwaveDiffuse 560ms cubic-bezier(.16,.88,.25,1) forwards; }
.site-bg.is-shocking::after { animation: logoShockwaveGrain 460ms cubic-bezier(.16,.88,.25,1) forwards; }

.training-background {
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.training-workspace-glow {
  position: absolute;
  inset: 0;
  opacity: 1;
  overflow: hidden;
  pointer-events: none;
}

.training-workspace-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(32% 24% at 42% 46%, rgba(37,99,235,1) 0%, rgba(125,211,252,.98) 18%, rgba(59,130,246,.56) 46%, rgba(59,130,246,0) 78%),
    radial-gradient(30% 24% at 48% 40%, rgba(34,211,238,1) 0%, rgba(165,243,252,.96) 18%, rgba(34,211,238,.54) 45%, rgba(34,211,238,0) 78%),
    radial-gradient(30% 24% at 53% 54%, rgba(34,197,94,1) 0%, rgba(187,247,208,.96) 18%, rgba(74,222,128,.52) 45%, rgba(74,222,128,0) 78%),
    radial-gradient(30% 24% at 58% 48%, rgba(109,40,217,.98) 0%, rgba(196,181,253,.88) 18%, rgba(139,92,246,.44) 45%, rgba(139,92,246,0) 78%),
    radial-gradient(24% 18% at 50% 50%, rgba(14,165,233,1) 0%, rgba(186,230,253,.9) 16%, rgba(56,189,248,.4) 42%, rgba(56,189,248,0) 74%);
  filter: blur(68px);
  transform: translate3d(0,0,0);
  animation: trainingBottomFieldDrift 14s ease-in-out infinite alternate;
}

.training-workspace-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 1;
  will-change: transform, opacity;
  mix-blend-mode: normal;
}

.training-workspace-blob-a { width: 52vw; min-width: 420px; height: 30vh; left: 24vw; top: 36vh; background: radial-gradient(circle at 50% 50%, rgba(125,211,252,1) 0%, rgba(96,165,250,.94) 14%, rgba(59,130,246,.54) 36%, rgba(96,165,250,0) 72%); animation: trainingBlobA 14s ease-in-out infinite; }
.training-workspace-blob-b { width: 48vw; min-width: 380px; height: 28vh; left: 30vw; top: 34vh; background: radial-gradient(circle at 50% 50%, rgba(165,243,252,1) 0%, rgba(34,211,238,.94) 14%, rgba(6,182,212,.54) 36%, rgba(34,211,238,0) 72%); animation: trainingBlobB 12s ease-in-out infinite; }
.training-workspace-blob-c { width: 48vw; min-width: 380px; height: 28vh; right: 24vw; top: 36vh; background: radial-gradient(circle at 50% 50%, rgba(187,247,208,1) 0%, rgba(74,222,128,.94) 14%, rgba(34,197,94,.54) 36%, rgba(74,222,128,0) 72%); animation: trainingBlobC 13s ease-in-out infinite; }
.training-workspace-blob-f { width: 38vw; min-width: 300px; height: 20vh; left: 32vw; top: 42vh; background: radial-gradient(circle at 50% 50%, rgba(147,197,253,.98) 0%, rgba(59,130,246,.88) 16%, rgba(59,130,246,.44) 40%, rgba(59,130,246,0) 74%); animation: trainingBlobF 10s ease-in-out infinite; }
.training-workspace-blob-g { width: 36vw; min-width: 280px; height: 18vh; left: 40vw; top: 40vh; background: radial-gradient(circle at 50% 50%, rgba(186,230,253,.98) 0%, rgba(34,211,238,.88) 16%, rgba(6,182,212,.42) 40%, rgba(34,211,238,0) 74%); animation: trainingBlobG 11s ease-in-out infinite; }
.training-workspace-blob-h { width: 34vw; min-width: 260px; height: 18vh; right: 32vw; top: 44vh; background: radial-gradient(circle at 50% 50%, rgba(196,181,253,.98) 0%, rgba(139,92,246,.88) 16%, rgba(109,40,217,.42) 40%, rgba(139,92,246,0) 74%); animation: trainingBlobH 12s ease-in-out infinite; }
.training-workspace-blob-i { width: 28vw; min-width: 220px; height: 16vh; left: 44vw; top: 38vh; background: radial-gradient(circle at 50% 50%, rgba(191,219,254,.96) 0%, rgba(96,165,250,.84) 16%, rgba(59,130,246,.4) 40%, rgba(96,165,250,0) 74%); animation: trainingBlobI 18s ease-in-out infinite; }
.training-workspace-blob-j { width: 26vw; min-width: 200px; height: 14vh; right: 40vw; top: 46vh; background: radial-gradient(circle at 50% 50%, rgba(221,214,254,.92) 0%, rgba(139,92,246,.82) 16%, rgba(109,40,217,.36) 40%, rgba(139,92,246,0) 74%); animation: trainingBlobJ 20s ease-in-out infinite; }

.coming-soon-content {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
  min-height: 0;
  padding: 32px 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
  overflow: visible;
}

.coming-soon-content > :not(.site-bg) {
  position: relative;
  z-index: 1;
}

.logo-card {
  --logo-tilt-x: 0deg;
  --logo-tilt-y: 0deg;
  --logo-press-depth: 0px;
  --logo-shadow-y: 20px;
  --logo-shadow-blur: 50px;
  --logo-shadow-a: 0.12;
  width: clamp(136px, 15vw, 170px);
  height: clamp(136px, 15vw, 170px);
  flex-shrink: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform-style: preserve-3d;
  transform: perspective(840px) translateY(var(--logo-press-depth)) rotateX(var(--logo-tilt-x)) rotateY(var(--logo-tilt-y));
  transition: transform 280ms cubic-bezier(.2,.84,.24,1);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

.logo-card.is-molding { cursor: grabbing; transition-duration: 110ms; }
.logo-card.is-pressed { --logo-press-depth: 3.2px; --logo-shadow-y: 9px; --logo-shadow-blur: 20px; --logo-shadow-a: 0.07; }

.logo-art { width: 100%; height: 100%; display: block; overflow: visible; }

.coming-soon-title {
  margin: 10px 0 0;
  max-width: calc(100vw - 56px);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 700;
  color: #17203a;
  text-wrap: balance;
}

.coming-soon-label {
  margin: -6px 0 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(23,32,58,.58);
  text-indent: .38em;
}

.download-section {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.download-actions {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.download-actions[hidden],
.beta-apply-shell[hidden] {
  display: none !important;
}

.download-split {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
}

.download-button-main,
.download-button-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border: 0;
  background: rgba(255,255,255,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 16px 34px rgba(15,23,42,.08);
  color: #111111;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, background-color .18s ease;
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
}

.download-button-main {
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  padding: 11px 20px;
  border-right: 0;
  border-radius: 999px 0 0 999px;
}

.download-button-toggle {
  width: 48px;
  flex: 0 0 48px;
  padding: 0;
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  position: relative;
}

.download-button-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(23,32,58,.14);
}

.download-button-main:hover,
.download-button-main:focus-visible,
.download-button-toggle:hover,
.download-button-toggle:focus-visible,
.download-split.is-open .download-button-toggle {
  transform: scale(1.03);
  filter: brightness(1.015);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 20px 38px rgba(15,23,42,.11);
  outline: none;
}

.download-button-main.is-disabled,
.download-button-toggle.is-disabled,
.download-menu-item.is-disabled {
  opacity: .56;
  cursor: default;
  pointer-events: none;
}

.download-button-chevron {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform .18s ease;
}

.download-split.is-open .download-button-chevron {
  transform: rotate(180deg);
}

.download-button-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-grid;
  place-items: center;
  color: #111111;
}

.download-button-glyph {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.download-button-glyph-windows,
.download-button-glyph-apple {
  display: none;
}

.download-split[data-platform="windows"] .download-button-glyph-windows {
  display: block;
}

.download-split[data-platform="mac-intel"] .download-button-glyph-apple,
.download-split[data-platform="mac-apple-silicon"] .download-button-glyph-apple {
  display: block;
}

.download-button-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.download-button-line {
  display: block;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .94;
}

.download-button-line:first-child {
  font-size: .84rem;
  font-weight: 400;
  letter-spacing: 0;
}

.download-button-platform {
  font-size: 1.16rem;
}

.download-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid rgba(226,232,240,.84);
  background: rgba(255,255,255,.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 18px 42px rgba(15,23,42,.14);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  z-index: 18;
}

.download-menu[hidden] {
  display: none;
}

.download-menu-item {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 16px;
  color: #111111;
  text-decoration: none;
  font-size: .98rem;
  line-height: 1.2;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
  outline: none;
}

.download-menu-item:hover,
.download-menu-item:focus-visible {
  background: rgba(15,23,42,.07);
  color: #111111;
  transform: translateY(-1px);
}

.beta-apply-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.beta-apply {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: start;
  width: fit-content;
  max-width: min(100%, 420px);
}

.beta-apply-panel {
  position: relative;
  width: min(360px, calc(100vw - 40px));
  display: grid;
  gap: 12px;
  padding: 16px;
  margin: 0 0 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 22px 48px rgba(15,23,42,.14);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  z-index: 18;
  overflow: hidden;
  transform-origin: center bottom;
  transition:
    max-height .28s ease,
    margin-bottom .28s ease,
    opacity .22s ease,
    transform .28s ease,
    visibility 0s linear;
}

.beta-apply.is-open .beta-apply-panel {
  max-height: 280px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.beta-apply:not(.is-open) .beta-apply-panel {
  display: grid;
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(.96);
}

.beta-apply-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.beta-apply-label {
  font-size: .75rem;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(23,32,58,.62);
}

.beta-apply-input {
  width: 100%;
  border: 1px solid rgba(157,173,196,.32);
  border-radius: 16px;
  padding: 11px 13px;
  background: rgba(248,251,255,.88);
  color: #111111;
  font: inherit;
  font-size: .98rem;
  line-height: 1.25;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.beta-apply-input:focus {
  border-color: rgba(56,126,223,.48);
  box-shadow: 0 0 0 3px rgba(56,126,223,.12);
  background: #ffffff;
}

.beta-apply-input.is-invalid {
  border-color: rgba(185,28,28,.45);
  box-shadow: 0 0 0 3px rgba(185,28,28,.10);
}

.beta-apply-feedback {
  margin: 0;
  min-height: 1.1em;
  font-size: .9rem;
  line-height: 1.35;
  color: rgba(23,32,58,.72);
}

.beta-apply-feedback.is-error {
  color: #b91c1c;
}

.beta-apply-feedback.is-success {
  color: #166534;
}

.beta-apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 11px 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 16px 34px rgba(15,23,42,.08);
  color: #111111;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, background-color .18s ease;
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
}

.beta-apply.is-open .beta-apply-button {
  transform: translateY(6px);
}

.beta-apply-button:hover,
.beta-apply-button:focus-visible {
  transform: scale(1.03);
  filter: brightness(1.015);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 20px 38px rgba(15,23,42,.11);
  outline: none;
}

.beta-apply.is-open .beta-apply-button:hover,
.beta-apply.is-open .beta-apply-button:focus-visible {
  transform: translateY(6px) scale(1.03);
}

.beta-apply-button[disabled] {
  opacity: .64;
  cursor: progress;
}

.beta-apply-status {
  margin: 10px 0 0;
  min-height: 1.2em;
  font-size: .92rem;
  line-height: 1.35;
  color: rgba(23,32,58,.68);
}

.beta-apply-status[hidden] {
  display: none;
}

.beta-apply-status.is-success {
  color: #166534;
}

.beta-apply-status.is-error {
  color: #b91c1c;
}

.training-sidebar-anchor {
  position: relative;
  width: 100%;
  min-height: 64px;
  z-index: 6;
}

.training-sidebar-shell {
  position: relative;
  z-index: 6;
  width: 100%;
  display: grid;
  justify-items: center;
  margin: 28px 0 20px;
  padding: 0 22px;
  box-sizing: border-box;
  pointer-events: none;
}

.training-sidebar-shell.is-pinned {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0;
  transform: translateZ(0);
}

.training-sidebar-scroll {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(191, 203, 222, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.training-sidebar-shell.is-overflowing {
  display: block;
}

.training-sidebar-scroll.is-overflowing {
  display: block;
  width: 100%;
  margin: 0;
  overflow-x: auto;
}

.training-sidebar-scroll::-webkit-scrollbar {
  display: none;
}

.training-sidebar {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  width: max-content;
  min-width: 0;
  max-width: none;
  margin: 0 auto;
  padding: 4px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.training-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  width: 0;
  min-width: 0;
  height: 36px;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #000000;
  opacity: 0;
  transform: translateX(-18px);
  pointer-events: none;
  white-space: nowrap;
  transition:
    width 220ms cubic-bezier(.2,.9,.2,1),
    margin-right 220ms cubic-bezier(.2,.9,.2,1),
    opacity 180ms ease,
    transform 220ms cubic-bezier(.2,.9,.2,1);
  transition-delay: 0ms;
}

.training-nav-brand-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: block;
  margin-left: 10px;
}

.training-nav-brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.training-nav-brand-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #000000;
}

.training-sidebar-shell.is-pinned .training-nav-brand {
  width: 118px;
  margin-right: 4px;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  transition-delay: 110ms;
}

.training-nav-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: auto;
  text-align: center;
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(15, 23, 42, 0.78);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.training-nav-btn:hover {
  color: rgba(15, 23, 42, 0.96);
}

.training-nav-btn.active {
  color: #ffffff;
  background: #f97316;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.18);
}

.training-nav-indicator {
  position: absolute;
  left: 0;
  top: 0;
  height: var(--training-nav-indicator-height, 0px);
  border-radius: 999px;
  background: #f97316;
  opacity: 1;
  transform: translate(var(--training-nav-indicator-x, 0px), var(--training-nav-indicator-y, 0px));
  width: var(--training-nav-indicator-width, 0px);
  min-width: 0;
  transition:
    transform 240ms cubic-bezier(.2,.9,.2,1),
    width 240ms cubic-bezier(.2,.9,.2,1),
    height 240ms cubic-bezier(.2,.9,.2,1);
  pointer-events: none;
}

.training-sidebar.has-active .training-nav-indicator {
  opacity: 1;
}

.training-sidebar:not(.has-active) .training-nav-indicator {
  opacity: 0;
}

.beta-copy {
  width: min(calc(100vw - 56px), 980px);
  margin: 36px auto 0;
  padding: 0 0 20px;
}

.beta-copy-section + .beta-copy-section {
  margin-top: 34px;
}

.beta-copy-section {
  scroll-margin-top: 110px;
}

.beta-copy-title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #17203a;
}

.beta-copy-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(23,32,58,.78);
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 28px), 900px);
  margin-top: auto;
  margin-right: auto;
  margin-left: auto;
  padding: 0 14px var(--footer-pad-bottom);
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  color: rgba(23,32,58,.58);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
}

.footer-link,
.footer-copy,
.footer-separator { color: inherit; }

.footer-link {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer-link:hover { color: rgba(23,32,58,.58); }

.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  background: rgba(248,250,252,.12);
  backdrop-filter: blur(4px) saturate(1.01);
  -webkit-backdrop-filter: blur(4px) saturate(1.01);
  transition: opacity .2s ease;
}

.legal-dialog {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--legal-pad);
  min-height: 100dvh;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

body.legal-open .legal-overlay,
body.legal-open .legal-dialog { opacity: 1; pointer-events: auto; }

.legal-card {
  --legal-header-progress: 0;
  position: relative;
  width: min(760px, calc(100vw - 40px));
  max-height: min(82vh, 560px);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,.2);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(248,250,252,.78));
  box-shadow: 0 28px 80px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.7);
  isolation: isolate;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.legal-card-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.legal-card-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background:
    radial-gradient(38vw 24vh at 12% 100%, rgba(37,99,235,.6) 0%, rgba(125,211,252,.46) 22%, rgba(59,130,246,0) 74%),
    radial-gradient(34vw 22vh at 54% 100%, rgba(34,211,238,.54) 0%, rgba(186,230,253,.38) 22%, rgba(34,211,238,0) 74%),
    radial-gradient(34vw 22vh at 88% 100%, rgba(109,40,217,.44) 0%, rgba(196,181,253,.32) 24%, rgba(139,92,246,0) 76%);
  filter: blur(48px);
  opacity: .92;
}

.legal-card-blob { position: absolute; border-radius: 999px; filter: blur(44px); opacity: .42; }
.legal-card-blob-a { width: 260px; height: 120px; left: -60px; bottom: -28px; background: rgba(56,189,248,.48); }
.legal-card-blob-b { width: 220px; height: 110px; left: 34%; bottom: -30px; background: rgba(74,222,128,.38); }
.legal-card-blob-c { width: 240px; height: 120px; right: -50px; bottom: -34px; background: rgba(139,92,246,.34); }

.legal-scroll { position: relative; z-index: 1; max-height: min(82vh, 560px); overflow: auto; padding: 0 28px 24px; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: 0 -28px;
  padding: 18px 28px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,.48);
  border-bottom: 1px solid rgba(191,203,222,calc(.14 + (var(--legal-header-progress) * .34)));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 10px 28px rgba(15,23,42,calc(var(--legal-header-progress) * .08));
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.legal-header-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.legal-icon-wrap { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.84); }
.legal-icon { width: 26px; height: 26px; transform-origin: center; transform: scale(calc(1 - (var(--legal-header-progress) * .06))); }
.legal-title-wrap { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; transform-origin: left center; transform: translateY(calc(var(--legal-header-progress) * -1px)) scale(calc(1 - (var(--legal-header-progress) * .14))); will-change: transform; }
.legal-title { font-size: clamp(1.1rem, 2.8vw, 1.35rem); line-height: .96; font-weight: 700; letter-spacing: -.03em; }
.legal-subtitle { margin: 0; font-size: 10px; line-height: 1; color: rgba(15,23,42,.56); opacity: calc(1 - (var(--legal-header-progress) * .22)); }

.legal-close-btn {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(203,213,225,.72);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  color: rgba(15,23,42,.72);
  cursor: pointer;
}

.legal-close-btn svg { width: 18px; height: 18px; display: block; margin: 0 auto; }

.legal-body { display: grid; gap: 18px; padding: 10px 0 8px; }
.legal-section { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.54); border: 1px solid rgba(226,232,240,.76); box-shadow: inset 0 1px 0 rgba(255,255,255,.84); }
.legal-section h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 700; }
.legal-section p { margin: 0; font-size: .96rem; line-height: 1.6; color: rgba(15,23,42,.72); }
.legal-section a { color: #2563eb; text-decoration: none; }
.legal-section a:hover { color: #1d4ed8; }

@keyframes trainingBlobA { 0%,100% { transform: translate3d(0,0,0) scale(.78); opacity:.34; } 25% { transform: translate3d(5vw,-8vh,0) scale(1.1); opacity:1; } 50% { transform: translate3d(10vw,2vh,0) scale(1.3); opacity:.98; } 75% { transform: translate3d(3vw,9vh,0) scale(.94); opacity:.24; } }
@keyframes trainingBlobB { 0%,100% { transform: translate3d(0,0,0) scale(.74); opacity:.3; } 25% { transform: translate3d(6vw,8vh,0) scale(1.08); opacity:.94; } 50% { transform: translate3d(10vw,-5vh,0) scale(1.28); opacity:1; } 75% { transform: translate3d(4vw,-9vh,0) scale(.92); opacity:.22; } }
@keyframes trainingBlobC { 0%,100% { transform: translate3d(0,0,0) scale(.76); opacity:.3; } 25% { transform: translate3d(-6vw,-8vh,0) scale(1.08); opacity:.92; } 50% { transform: translate3d(-10vw,3vh,0) scale(1.28); opacity:.98; } 75% { transform: translate3d(-3vw,9vh,0) scale(.94); opacity:.22; } }
@keyframes trainingBlobF { 0%,100% { transform: translate3d(0,0,0) scale(.66); opacity:.24; } 25% { transform: translate3d(4vw,-7vh,0) scale(1.02); opacity:.84; } 50% { transform: translate3d(8vw,2vh,0) scale(1.26); opacity:.98; } 75% { transform: translate3d(2vw,8vh,0) scale(.86); opacity:.16; } }
@keyframes trainingBlobG { 0%,100% { transform: translate3d(0,0,0) scale(.68); opacity:.24; } 25% { transform: translate3d(3vw,7vh,0) scale(1.04); opacity:.88; } 50% { transform: translate3d(7vw,-4vh,0) scale(1.22); opacity:.98; } 75% { transform: translate3d(2vw,-8vh,0) scale(.88); opacity:.18; } }
@keyframes trainingBlobH { 0%,100% { transform: translate3d(0,0,0) scale(.66); opacity:.24; } 25% { transform: translate3d(-3vw,-7vh,0) scale(1.02); opacity:.82; } 50% { transform: translate3d(-7vw,4vh,0) scale(1.22); opacity:.96; } 75% { transform: translate3d(-2vw,8vh,0) scale(.86); opacity:.18; } }
@keyframes trainingBlobI { 0%,100% { transform: translate3d(0,0,0) scale(.62); opacity:.2; } 25% { transform: translate3d(2vw,6vh,0) scale(1); opacity:.78; } 50% { transform: translate3d(-5vw,-4vh,0) scale(1.18); opacity:.94; } 75% { transform: translate3d(2vw,-8vh,0) scale(.82); opacity:.16; } }
@keyframes trainingBlobJ { 0%,100% { transform: translate3d(0,0,0) scale(.64); opacity:.2; } 25% { transform: translate3d(-2vw,-6vh,0) scale(1); opacity:.8; } 50% { transform: translate3d(-6vw,4vh,0) scale(1.18); opacity:.94; } 75% { transform: translate3d(-2vw,8vh,0) scale(.84); opacity:.18; } }
@keyframes trainingBottomFieldDrift { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity:.98; } 25% { transform: translate3d(1vw,-6vh,0) scale(1.04); opacity:1; } 50% { transform: translate3d(-.8vw,2vh,0) scale(1.03); opacity:1; } 75% { transform: translate3d(1vw,6vh,0) scale(1.05); opacity:1; } }
@keyframes logoShockwaveDiffuse { 0% { opacity:0; transform:scale(.55); } 24% { opacity:.62; transform:scale(.98); } 100% { opacity:0; transform:scale(1.42); } }

@media (max-width: 720px) {
  .training-sidebar-shell {
    padding: 0 22px;
  }

  .beta-copy {
    width: min(calc(100vw - 32px), 980px);
  }
}
@keyframes logoShockwaveGrain { 0% { opacity:0; transform:scale(.66); } 18% { opacity:.45; transform:scale(.9); } 100% { opacity:0; transform:scale(1.18); } }

@supports (padding: max(0px)) {
  .coming-soon-content {
    padding-top: max(32px, env(safe-area-inset-top));
    padding-right: max(28px, env(safe-area-inset-right));
    padding-left: max(28px, env(safe-area-inset-left));
  }

  .site-footer {
    width: min(calc(100vw - max(28px, calc(env(safe-area-inset-left) + env(safe-area-inset-right) + 28px))), 900px);
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }

  .legal-dialog {
    padding-top: var(--legal-pad);
    padding-right: max(var(--legal-pad), env(safe-area-inset-right));
    padding-bottom: var(--legal-pad);
    padding-left: max(var(--legal-pad), env(safe-area-inset-left));
  }
}

@media (max-width: 640px) {
  :root {
    --footer-pad-bottom: 12px;
    --legal-pad: 14px;
  }

  .logo-card { border-radius: 20px; }
  .coming-soon-content { gap: 16px; padding: 20px 18px 14px; }
  .coming-soon-title { max-width: calc(100vw - 36px); line-height: .94; }
  .coming-soon-label { margin-top: -2px; font-size: 12px; letter-spacing: .32em; text-indent: .32em; }
  .download-section { width: min(100%, 400px); gap: 12px; }
  .download-split { width: min(100%, 340px); }
  .download-button-main { width: calc(100% - 46px); justify-content: flex-start; min-height: 60px; padding: 10px 18px; gap: 10px; }
  .download-button-toggle { width: 46px; flex-basis: 46px; min-height: 60px; }
  .download-button-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .download-button-line:first-child { font-size: .8rem; font-weight: 400; letter-spacing: 0; }
  .download-button-platform { font-size: 1.08rem; }
  .download-menu { left: 0; right: 0; min-width: 0; }
  .beta-apply-panel { width: min(340px, calc(100vw - 32px)); }
  .beta-apply-button { min-height: 56px; padding: 10px 22px; }
  .site-footer { gap: 8px; font-size: 11px; padding: 0 10px var(--footer-pad-bottom); }

  .legal-dialog { align-items: center; }
  .legal-card { width: min(100vw - 20px, 760px); max-height: min(84dvh, 620px); border-radius: 20px; }
  .legal-scroll { max-height: min(84dvh, 620px); padding: 0 18px 18px; }
  .legal-header { margin: 0 -18px; padding: 16px 18px 12px; gap: 14px; }
  .legal-section { padding: 16px; }

  @supports (padding: max(0px)) {
    .coming-soon-content {
      padding-top: max(20px, env(safe-area-inset-top));
      padding-right: max(18px, env(safe-area-inset-right));
      padding-bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px));
      padding-left: max(18px, env(safe-area-inset-left));
    }

    .site-footer {
      width: min(calc(100vw - max(20px, calc(env(safe-area-inset-left) + env(safe-area-inset-right) + 20px))), 900px);
      padding-left: max(10px, env(safe-area-inset-left));
      padding-right: max(10px, env(safe-area-inset-right));
    }
  }
}

@media (max-width: 420px) {
  .coming-soon-content { gap: 14px; padding: 18px 14px 12px; }
  .coming-soon-title { max-width: calc(100vw - 28px); letter-spacing: -.05em; }
  .coming-soon-label { font-size: 12px; letter-spacing: .22em; text-indent: .22em; }
  .download-section { width: min(100%, 360px); }
  .download-split { width: min(100%, 320px); }
  .download-button-main { width: calc(100% - 44px); min-height: 56px; padding: 9px 16px; gap: 9px; }
  .download-button-toggle { width: 44px; flex-basis: 44px; min-height: 56px; }
  .download-button-icon { width: 26px; height: 26px; flex-basis: 26px; }
  .download-button-line:first-child { font-size: .78rem; font-weight: 400; letter-spacing: 0; }
  .download-button-platform { font-size: 1rem; }
  .beta-apply-panel { width: min(320px, calc(100vw - 24px)); padding: 14px; }
  .beta-apply-button { min-height: 54px; padding: 9px 20px; font-size: .98rem; }
  .logo-card { border-radius: 18px; }
  .site-footer { width: min(calc(100vw - 16px), 900px); padding: 0 8px var(--footer-pad-bottom); line-height: 1.35; }
}

@media (orientation: landscape) and (max-height: 500px) {
  :root { --footer-pad-bottom: 10px; }

  .coming-soon-content { gap: 10px; padding-top: 16px; padding-bottom: 8px; }
  .logo-card { border-radius: 14px; }
  .coming-soon-title { max-width: calc(100vw - 34px); line-height: .92; }
  .coming-soon-label { font-size: 11px; letter-spacing: .28em; text-indent: .28em; }
  .site-footer { font-size: 10px; padding: 0 12px var(--footer-pad-bottom); }

  @supports (padding: max(0px)) {
    .coming-soon-content {
      padding-top: max(16px, env(safe-area-inset-top));
      padding-right: max(18px, env(safe-area-inset-right));
      padding-bottom: max(12px, calc(env(safe-area-inset-bottom) + 6px));
      padding-left: max(18px, env(safe-area-inset-left));
    }

    .site-footer {
      padding-left: max(12px, env(safe-area-inset-left));
      padding-right: max(12px, env(safe-area-inset-right));
    }
  }
}

@media (min-width: 1024px) {
  body { min-height: 100dvh; }
  .coming-soon-page { min-height: max(100svh, 920px); }
}
