:root {
  --bg: #242830;
  --bg2: #2a2f38;
  --panel: #313742;
  --line: #3d4654;
  --line2: #4c566a;
  --ink: #eceff4;
  --dim: #9aa4b8;
  --faint: #6f7a8c;
  --accent: #88c0d0;
  --res: #a3be8c;
  --warn: #ebcb8b;
  --violet: #b48ead;
  --red: #bf616a;
  --discord: #5865f2;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--violet);
  color: var(--bg);
}

a:focus-visible,
.button:focus-visible,
input:focus-visible,
.auth_tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  padding: 12px 26px;
  border: 1px solid var(--line2);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button_primary {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--bg);
}

.button_primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  box-shadow: 0 12px 28px rgba(136, 192, 208, 0.22);
}

.button_big {
  font-size: 14px;
  padding: 16px 34px;
}

.button_block {
  width: 100%;
  padding: 15px 26px;
  font-size: 14px;
}

.button_discord {
  background: var(--discord);
  border-color: var(--discord);
  color: #fff;
}

.button_discord:hover {
  background: #4752e0;
  border-color: #4752e0;
  color: #fff;
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.28);
}

.button_ghost {
  border-color: transparent;
  color: var(--dim);
  padding: 10px 14px;
  letter-spacing: 0.1em;
}

.button_ghost:hover {
  border-color: var(--line2);
  color: var(--ink);
  transform: none;
}

[aria-disabled='true'] {
  color: var(--faint);
  cursor: not-allowed;
  pointer-events: none;
}

.button[aria-disabled='true'] {
  background: var(--bg2);
  border-color: var(--line);
  border-style: dashed;
  box-shadow: none;
  transform: none;
}

.fold {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.section_kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 28px;
}

.ghost_mark {
  position: absolute;
  color: var(--violet);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
