:root {
  --bg: #101014;
  --bg-2: #0b0b0e;
  --panel: rgba(255, 255, 255, .07);
  --panel-2: rgba(255, 255, 255, .11);
  --panel-3: rgba(255, 255, 255, .16);
  --surface: #1c1c21;
  --surface-2: #26262c;
  --surface-3: #34343b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #ffffff;
  --text-2: #c4c4cc;
  --text-3: #8b8b95;
  --red: #fc0203;
  --red-2: #d60002;
  --red-soft: rgba(252, 2, 3, .14);
  --light: #e8e8ea;
  --gold: #ffd23f;
  --ok: #34d17a;
  --warn: #ffb800;
  --f: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --f-head: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --f-ui: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --r: 10px;
  --r-sm: 6px;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 56px);
  --header: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  scrollbar-color: #3a3a42 var(--bg);
  scrollbar-width: thin;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M5 3.5 21.5 11.4l-7.6 2.2-3.5 7.6z' fill='%23ffffff' stroke='%23000000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 4, auto;
}
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: #3a3a42; border: 2px solid var(--bg); border-radius: 6px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #3a3a42; border-radius: 6px; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg) radial-gradient(ellipse 90% 520px at 50% 0%, rgba(120, 104, 140, .22), transparent 70%) no-repeat;
  color: var(--text);
  font: 400 16px/1.6 var(--f);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

a, button, label, select, summary, [role="tab"], input[type="radio"], input[type="checkbox"], input[type="file"], input[type="submit"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M5 3.5 21.5 11.4l-7.6 2.2-3.5 7.6z' fill='%23fc0203' stroke='%23ffffff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 4, pointer;
}
input, textarea { cursor: text; }
[disabled] { cursor: not-allowed; }

::selection { background: var(--red); color: #fff; }

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ol, ul, dl, dd, fieldset, figure { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 800; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -64px; z-index: 1000; padding: 10px 16px; background: #fff; color: #000; font-weight: 700; border-radius: var(--r-sm); transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.display { font: italic 900 1em/1 var(--f); font-stretch: 125%; text-transform: uppercase; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border: 0; border-radius: 4px;
  font: 800 16px/1 var(--f); font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
  background: var(--panel-2); color: var(--text);
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); }
.btn--light { background: var(--light); color: #000; }
.btn--light:hover { background: #fff; }
.btn--ghost { background: var(--panel-2); color: var(--text); }
.btn--ghost:hover { background: var(--panel-3); }
.btn--discord { background: #5865f2; color: #fff; }
.btn--discord:hover { background: #4752c4; }
.btn--danger { background: rgba(252, 2, 3, .14); color: #ff6b6c; }
.btn--danger:hover { background: var(--red); color: #fff; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 18px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy > * { opacity: 0; }
.btn.is-busy::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text-2); transition: color .15s, background-color .15s; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { color: var(--text); background: var(--panel); }

.header {
  position: sticky; top: 0; z-index: 100; height: var(--header);
  background: #000; border-bottom: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.header.is-away { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.header__logo { display: block; flex: none; }
.header__logo img { height: 38px; width: auto; }
.header__nav { display: flex; align-items: stretch; height: 100%; margin-right: auto; }
.header__nav a {
  position: relative; display: flex; align-items: center; padding: 0 14px;
  font: 600 16px/1 var(--f); color: var(--text-2); transition: color .15s;
}
.header__nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: #fff; transform: scaleX(0); transition: transform .25s var(--ease); }
.header__nav a:hover { color: var(--text); }
.header__nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
.header__nav a[aria-current="page"]::after { display: none; }
.header__side { display: flex; align-items: center; gap: 4px; }
.header__socials { display: flex; margin-right: 10px; }
.header__side .btn { height: 36px; padding: 0 16px; font-size: 14px; }
.header__side .btn svg { width: 16px; height: 16px; }
.burger { display: none; position: relative; width: 44px; height: 44px; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: var(--header) 0 0; z-index: 99; background: #000;
  display: flex; flex-direction: column; padding: 8px var(--gut) 32px;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s;
}
.sheet.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sheet nav a span { font: italic 900 30px/1 var(--f); font-stretch: 125%; text-transform: uppercase; }
.sheet nav a small { font-size: 14px; color: var(--text-3); }
.sheet nav a[aria-current="page"] span { color: var(--red); }
.sheet__socials { display: flex; gap: 4px; margin-top: auto; }

@media (max-width: 1140px) { .header__socials { display: none; } }
@media (max-width: 960px) {
  .header__nav, .header__side .btn { display: none; }
  .header__side { margin-left: auto; }
  .burger { display: block; }
}
@media (min-width: 961px) { .sheet { display: none; } }

.section { position: relative; padding: clamp(56px, 7vw, 96px) 0; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.head__kicker { display: block; margin-bottom: 6px; font: 800 13px/1 var(--f); text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.head h2 { font: italic 900 clamp(32px, 4.2vw, 52px)/1 var(--f); font-stretch: 125%; text-transform: uppercase; }
.head p { color: var(--text-2); max-width: 56ch; margin-top: 10px; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 14px/1 var(--f); font-stretch: 112%; text-transform: uppercase; color: var(--text-2);
  transition: color .15s;
}
.link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover { color: var(--text); }
.link:hover svg { transform: translateX(3px); }

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > legend { display: flex; justify-content: space-between; gap: 8px; width: 100%; padding: 0; font: 500 15px/1.2 var(--f); color: var(--text-2); }
.field > label small, .field > legend small { color: var(--text-3); font-size: 13px; font-weight: 400; }
.field__hint { font-size: 13px; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; background: var(--panel-2); border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 15px; color: var(--text); transition: border-color .15s, background-color .15s;
}
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .select:hover, .textarea:hover { background: var(--panel-3); }
.input:focus, .select:focus, .textarea:focus { border-color: #fff; background: var(--panel-3); outline: none; }
.input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.input::-webkit-outer-spin-button, .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.select option { background: var(--surface); color: var(--text); }
.field.is-err > label, .field.is-err > legend { color: #ff6b6c; }
.field.is-err .input, .field.is-err .select, .field.is-err .textarea { border-color: var(--red); }
.field.is-err .seg { outline: 1px solid var(--red); outline-offset: 3px; border-radius: var(--r-sm); }

.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--panel); border-radius: var(--r-sm); }
.seg label { position: relative; flex: 1 1 auto; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
.seg span {
  display: grid; place-items: center; height: 36px; padding: 0 14px; border-radius: 4px; background: var(--panel);
  font: italic 800 15px/1 var(--f); font-stretch: 112%; color: var(--text-2); white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.seg label:hover span { color: var(--text); background: var(--panel-2); }
.seg input:checked + span { background: #fff; color: #000; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 1px; }

.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }

.spinner { width: 28px; height: 28px; border: 3px solid var(--panel-3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }

.footer { background: #000; border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; padding-bottom: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 16px; }
.footer__col--end { align-items: flex-end; }
.footer h4 { font: 800 12px/1 var(--f); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.footer__links a { position: relative; font: 700 16px/1.2 var(--f); color: var(--text-2); transition: color .15s; }
.footer__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.footer__links a:hover { color: var(--text); }
.footer__links a:hover::after { transform: scaleX(1); }
.footer__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__socials .icon-btn { width: 44px; height: 44px; color: var(--text); background: var(--panel); border: 1px solid var(--line); transition: background-color .15s, border-color .15s, transform .2s var(--ease); }
.footer__socials .icon-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.footer__up { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-2); transition: color .15s; }
.footer__up svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.footer__up:hover { color: var(--text); }
.footer__up:hover svg { transform: translateY(-3px); }
@media (max-width: 760px) {
  .footer__top { flex-direction: column; align-items: center; text-align: center; }
  .footer__col, .footer__col--end { align-items: center; }
  .footer__links { justify-content: center; gap: 14px 24px; }
}
.footer__copy { user-select: none; -webkit-tap-highlight-color: transparent; }

.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--gut); }
.modal__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .82); animation: fade .25s var(--ease); }
.modal__box { position: relative; width: min(1100px, 100%); background: #000; border-radius: var(--r); overflow: hidden; animation: pop .3s var(--ease); }
.modal__box.is-v { width: min(calc((100svh - 2 * var(--gut) - 56px) * 9 / 16), 100%); }
.modal__bar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 18px; background: var(--surface); }
.modal__title { flex: 1; min-width: 0; font: 700 16px/1.2 var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal__box.is-v .modal__frame { aspect-ratio: 9 / 16; }
.modal__frame iframe, .modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.modal.is-closing .modal__bg { animation: fade .2s var(--ease) reverse forwards; }
.modal.is-closing .modal__box { animation: pop .2s var(--ease) reverse forwards; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.toasts { position: fixed; right: var(--gut); bottom: var(--gut); z-index: 400; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; max-width: min(420px, calc(100vw - 2 * var(--gut))); padding: 14px 18px;
  background: #fff; color: #000; border-left: 4px solid var(--ok); border-radius: var(--r-sm); font-size: 15px; font-weight: 600;
  pointer-events: auto; animation: toastIn .3s var(--ease);
}
.toast--err { border-left-color: var(--red); }
.toast.is-out { animation: toastOut .25s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(12px); } }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.header { view-transition-name: site-header; }
.nav-ind { position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: #fff; display: none; }
.header__nav a[aria-current="page"] .nav-ind { display: block; view-transition-name: nav-ind; }
::view-transition-group(nav-ind) { animation-duration: .45s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(root) { animation: vtOut .26s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vtIn .5s cubic-bezier(.22, 1, .36, 1) .06s both; }
@keyframes vtOut { to { opacity: 0; transform: scale(.985); filter: blur(2px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(22px); } }

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