*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
  
  touch-action: manipulation;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  touch-action: manipulation;   
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--page-glow, none);
}

body::after { content: none; }

img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
svg { flex: none; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"], .list-reset { list-style: none; padding: 0; margin: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }

:where(button, [role="button"], .btn) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select { color-scheme: dark; }

a { color: var(--primary-text); text-decoration: none; }
a:hover { color: var(--accent-hover); }

table { border-collapse: collapse; width: 100%; }

::selection { background: rgba(108,102,250,.40); color: var(--white); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 2px;
  border-radius: inherit;
}
.btn--primary:focus-visible,
.on-accent :focus-visible { outline-color: var(--text); }
h1[tabindex="-1"]:focus, #main:focus { outline: none; }
.h-hero, .h1, .h2, .h3, .display {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.01em;
}
.h-hero { font-size: var(--fs-hero); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; }
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
.display { font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }


.eyebrow {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-2);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0; text-transform: none;
}
.overline {
  font-size: var(--fs-2xs); font-weight: 600;
  letter-spacing: 0; text-transform: none;
  color: var(--text-3);
}
.lead { font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--text-2); }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-win { color: var(--win); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger-text); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.fw-6 { font-weight: 600; } .fw-7 { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; }
.nowrap { white-space: nowrap; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.wrap { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.gap-1 { gap: var(--sp-1); } .gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); } .gap-6 { gap: var(--sp-6); }
.mt-1 { margin-top: var(--sp-1); } .mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); } .mt-8 { margin-top: var(--sp-8); }
.mt-section { margin-top: var(--section-gap); }
.hide-phone {}
.only-phone { display: none !important; }
@media (max-width: 767.98px) {
  .hide-phone { display: none !important; }
  .only-phone { display: revert !important; }
}
.only-desktop { display: none !important; }
@media (min-width: 1200px) {
  .only-desktop { display: revert !important; }
  .hide-desktop { display: none !important; }
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-md);
  background: var(--primary-fill); color: var(--on-primary); font-weight: 700;
  transition: top var(--dur-2) var(--ease);
}
.skip-link:focus { top: 12px; color: var(--on-primary); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


@media (max-width: 1023.98px) {
  html { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
  
  :where(dialog) { -webkit-user-select: none; user-select: none; }
  :where(input, textarea, select, [contenteditable]:not([contenteditable="false"])) { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
  :where(img, a) { -webkit-user-drag: none; }
  
  html:has(> body > .rl:not(.is-hidden)), html:has(> .rl:not(.is-hidden)), html.rb-load-lock { overflow: hidden; }
  .rl, .gp-frame__loading { touch-action: none; overscroll-behavior: none; }
}


html.rb-tg.rb-tg-desktop { overscroll-behavior-y: auto !important; }
