@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-display: "Quicksand", "Nunito", "Segoe UI Rounded", system-ui, -apple-system, sans-serif;
  --font-sans: "Nunito", "Quicksand", "Segoe UI Rounded", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Consolas", monospace;
  --surface-deep: #0e0d12;
  --surface-page: #131218;
  --surface-card: #191820;
  --surface-raised: #22202b;
  --surface-hover: #2b2837;
  --hairline: rgba(238, 237, 244, 0.08);
  --hairline-strong: rgba(238, 237, 244, 0.15);
  --hairline-accent: rgba(139, 92, 246, 0.34);
  --text-primary: #f1eff7;
  --text-secondary: #a8a4b8;
  --text-muted: #78748a;
  --accent: #8b5cf6;
  --accent-ink: #c4b5fd;
  --status-live: #4cc38a;
  --status-soon: #9c99aa;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --preview-accent: #8b5cf6;
  --preview-panel-alpha: 0.14;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--surface-page);
  cursor: url("../images/cursors/default.png") 4 3, auto;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-primary);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: url("../images/cursors/default.png") 4 3, auto;
}

a,
button,
[role="button"],
label.switch-row,
.filter-btn,
.seg-btn,
.row-action,
.nav-link,
.brand-link,
.modal-close,
.menu-toggle,
.footer-link,
.peak-chart-pill,
.peak-chart-option,
.side-rail__btn,
.ctx-item,
.assistant-chip,
.assistant-canvas,
.warp-nav-btn,
.warp-dot,
.ai-pill-btn,
.ai-plus-btn,
.ai-submit-btn,
.ai-model-option,
.ai-att-thumb,
.ai-att-thumb__remove,
.att-lightbox__close,
.intro-skip,
.promo-center-play,
.promo-hud-btn,
.promo-progress {
  cursor: url("../images/cursors/pointer.png") 6 3, pointer;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
p,
h1,
h2,
h3,
li,
.release-desc,
.modal-summary {
  cursor: url("../images/cursors/text.png") 16 16, text;
}

input[type="range"],
.warp-stage,
.peak-chart-surface {
  cursor: url("../images/cursors/grab.png") 16 16, ew-resize;
}

[disabled],
.is-disabled {
  cursor: url("../images/cursors/denied.png") 16 16, not-allowed;
}

html.cursor-lmb,
html.cursor-lmb * {
  cursor: url("../images/cursors/active.png") 5 5, pointer !important;
}

html.cursor-rmb,
html.cursor-rmb * {
  cursor: url("../images/cursors/context.png") 10 3, context-menu !important;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 360px at 18% 0%, rgba(139, 92, 246, 0.14), transparent 72%),
    radial-gradient(520px 320px at 84% 12%, rgba(168, 85, 247, 0.1), transparent 74%);
}

::selection {
  background-color: var(--accent);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.keycap {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border-radius: 8px;
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--text-secondary);
  white-space: nowrap;
}

.keycap--accent {
  border-color: var(--hairline-accent);
  color: var(--accent-ink);
  background-color: rgba(139, 92, 246, 0.1);
}

.btn,
.row-action,
.filter-btn,
.seg-btn,
.nav-link,
.brand-link,
.modal-close {
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
}

.btn::after,
.row-action::after,
.filter-btn::after,
.seg-btn::after,
.nav-link::after,
.modal-close::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--lok-mx, 50%) var(--lok-my, 50%),
    rgba(255, 255, 255, 0.22),
    rgba(196, 181, 253, 0.08) 44%,
    transparent 74%
  );
  transition: opacity 160ms var(--ease);
}

.btn.is-tilting::after,
.row-action.is-tilting::after,
.filter-btn.is-tilting::after,
.seg-btn.is-tilting::after,
.nav-link.is-tilting::after,
.modal-close.is-tilting::after {
  opacity: 1;
}

.btn.is-tilting,
.row-action.is-tilting,
.filter-btn.is-tilting,
.seg-btn.is-tilting,
.nav-link.is-tilting,
.brand-link.is-tilting,
.modal-close.is-tilting {
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease),
    color 150ms var(--ease),
    box-shadow 150ms var(--ease),
    transform 65ms linear;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease),
    box-shadow 160ms var(--ease),
    transform 220ms var(--ease);
}

.btn:active {
  transform: scale(0.95);
}

.btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: 10px;
}

.btn--primary {
  background: linear-gradient(135deg, #f3f0ff, #dfd6fe);
  color: #14111d;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.24);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #ffffff, #ece6ff);
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.34);
}

.btn--secondary {
  background-color: var(--surface-raised);
  border-color: var(--hairline-strong);
  color: var(--text-primary);
}

.btn--secondary:hover {
  background-color: var(--surface-hover);
  border-color: var(--hairline-accent);
  box-shadow: 0 8px 20px rgba(14, 13, 18, 0.36);
}

.btn--ghost {
  background-color: transparent;
  color: var(--text-secondary);
  padding: 0 12px;
}

.btn--ghost:hover {
  color: var(--text-primary);
  background-color: var(--surface-card);
}

.btn--discord {
  background: rgba(88, 101, 242, 0.16);
  border-color: rgba(114, 137, 255, 0.38);
  color: #dce1ff;
}

.btn--discord:hover {
  background: rgba(88, 101, 242, 0.28);
  border-color: rgba(145, 162, 255, 0.65);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.34);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  background-color: rgba(19, 18, 24, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 4px 8px 4px 4px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 200ms var(--ease), color 150ms var(--ease);
}

.brand-orb {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(216, 180, 254, 0.72), rgba(139, 92, 246, 0.28) 52%, rgba(168, 85, 247, 0.68));
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.36), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 220ms var(--ease), transform 220ms var(--ease);
}

.brand-orb--sm {
  width: 24px;
  height: 24px;
  padding: 1.5px;
}

.brand-orb--lg {
  width: 44px;
  height: 44px;
  padding: 2.5px;
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.32);
}

.brand-link:hover .brand-orb {
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.58), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transform: scale(1.04);
}

.brand-mark {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background-color: #0e0d12;
}

.brand-mark--sm {
  width: 100%;
  height: 100%;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  letter-spacing: -0.02em;
}

.brand-wordmark--lg {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 28px);
  gap: 7px;
}

.brand-name {
  background: linear-gradient(180deg, #ffffff 18%, #e4d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.brand-sub {
  color: #b79cff;
  font-weight: 600;
  font-size: 0.94em;
  letter-spacing: 0.01em;
  transition: color 180ms var(--ease);
}

.brand-link:hover .brand-sub {
  color: #e9d5ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 6px 12px;
  border-radius: 9px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: color 150ms var(--ease), background-color 150ms var(--ease), transform 200ms var(--ease);
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: rgba(139, 92, 246, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  background-color: var(--surface-card);
  color: var(--text-primary);
  transition: background-color 150ms var(--ease), transform 150ms var(--ease);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 39;
  background-color: rgba(25, 24, 32, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-strong);
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 10px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.mobile-menu__link:hover {
  background-color: var(--surface-raised);
}

.mobile-menu__actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 76px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 7px;
  margin-bottom: 18px;
  border-radius: 999px;
  background-color: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--hairline-accent);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-ink);
}

.hero-kicker__logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-sub {
  margin-top: 20px;
  max-width: 490px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-secondary);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.preview-window {
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.48),
    0 0 36px rgba(139, 92, 246, 0.08);
}

.preview-topbar {
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: var(--surface-card);
}

.preview-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--surface-hover);
}

.preview-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.preview-body {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
}

.preview-forum {
  background-color: rgba(25, 24, 32, var(--preview-panel-alpha));
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-forum__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}

.preview-forum__name {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.preview-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background-color: rgba(34, 32, 43, var(--preview-panel-alpha));
  border: 1px solid var(--hairline);
  border-left: 2.5px solid transparent;
}

.preview-row.is-highlighted {
  border-left-color: var(--preview-accent);
  background-color: var(--surface-raised);
}

.preview-row__left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.preview-avatar {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: var(--surface-hover);
  border: 1px solid var(--hairline-strong);
  flex-shrink: 0;
}

.preview-hat-img {
  position: absolute;
  top: -10px;
  left: -4px;
  width: 34px;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px) scale(0.92);
  transition: opacity 150ms var(--ease), transform 150ms var(--ease);
}

.preview-forum.has-hats .preview-hat-img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.preview-row__title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-row__count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  flex-shrink: 0;
}

.preview-composer {
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background-color: var(--surface-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.preview-composer__hint {
  font-size: 12px;
  color: var(--text-muted);
}

.preview-heart-state {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.preview-heart-state.is-on {
  color: var(--accent-ink);
}

.preview-controls {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.seg-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline);
}

.seg-control--two {
  grid-template-columns: repeat(2, 1fr);
}

.seg-btn {
  height: 28px;
  border: 0;
  border-radius: 7px;
  background-color: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 180ms var(--ease);
}

.seg-btn:hover {
  color: var(--text-primary);
}

.seg-btn.is-active {
  background-color: var(--surface-raised);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.slider-head label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.slider-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.range-input {
  width: 100%;
  height: 5px;
  border-radius: 6px;
  appearance: none;
  background-color: var(--surface-raised);
}

.range-input::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-ink);
  border: 2px solid var(--surface-deep);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.switch-box {
  position: relative;
  width: 34px;
  height: 19px;
  flex-shrink: 0;
}

.switch-box input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline-strong);
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--text-secondary);
  transition: transform 150ms var(--ease), background-color 150ms var(--ease);
}

.switch-box input:checked + .switch-track {
  background-color: var(--accent);
  border-color: var(--accent);
}

.switch-box input:checked + .switch-track::after {
  transform: translateX(15px);
  background-color: #ffffff;
}

.section {
  position: relative;
  z-index: 1;
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-sub {
  margin-top: 8px;
  max-width: 540px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.filter-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline);
}

.filter-btn {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background-color: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 180ms var(--ease);
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn:active {
  transform: scale(0.95);
}

.filter-btn.is-active {
  background-color: var(--surface-raised);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.flagship-card {
  background: linear-gradient(180deg, rgba(34, 32, 43, 0.85), rgba(25, 24, 32, 0.96));
  border: 1px solid var(--hairline-strong);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 24px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.flagship-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.flagship-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flagship-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.flagship-summary {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 600px;
}

.flagship-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.spec-table {
  border-left: 1px solid var(--hairline);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.spec-row__label {
  color: var(--text-muted);
}

.spec-row__val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.release-list {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
}

.release-head,
.release-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 150px 104px 116px 176px;
  align-items: center;
  gap: 16px;
  padding: 13px 20px;
}

.release-head {
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.release-row {
  min-height: 62px;
  border-bottom: 1px solid var(--hairline);
  transition: background-color 150ms var(--ease);
}

.release-row:last-child {
  border-bottom: 0;
}

.release-row:hover {
  background-color: var(--surface-raised);
}

.release-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.product-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.product-icon-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.release-text {
  min-width: 0;
}

.release-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.release-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.source-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background-color: var(--surface-deep);
  color: var(--text-secondary);
  white-space: nowrap;
}

.source-pill--open {
  border-color: rgba(76, 195, 138, 0.35);
  color: #86efac;
  background-color: rgba(76, 195, 138, 0.08);
}

.source-pill--closed {
  border-color: rgba(139, 92, 246, 0.35);
  color: var(--accent-ink);
  background-color: rgba(139, 92, 246, 0.1);
}

.release-desc {
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-cat {
  font-size: 13px;
  color: var(--text-secondary);
}

.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--live {
  background-color: var(--status-live);
  box-shadow: 0 0 8px rgba(76, 195, 138, 0.55);
}

.status-dot--soon {
  background-color: var(--status-soon);
}

.release-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.row-action {
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid var(--hairline-strong);
  background-color: var(--surface-deep);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 200ms var(--ease);
}

.row-action:hover {
  background-color: var(--surface-hover);
  border-color: var(--hairline-accent);
}

.row-action:active {
  transform: scale(0.95);
}

.row-action--primary {
  background-color: rgba(139, 92, 246, 0.16);
  border-color: var(--hairline-accent);
  color: #ede9fe;
}

.row-action--primary:hover {
  background-color: rgba(139, 92, 246, 0.28);
}

.arch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: start;
}

.arch-list {
  border-top: 1px solid var(--hairline);
}

.arch-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.arch-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--hairline-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  flex-shrink: 0;
}

.arch-item__title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.arch-item__desc {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-secondary);
}

.firebase-panel {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.firebase-panel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.firebase-panel__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
}

.firebase-panel__desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.keycap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--hairline);
  padding: 32px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 0;
  transition: color 150ms var(--ease);
}

.footer-link:hover {
  color: var(--text-primary);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background-color: rgba(8, 7, 12, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms var(--ease), visibility 180ms;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 520px;
  background-color: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(8px);
  transition: transform 180ms var(--ease);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.modal--wide {
  max-width: 600px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal-backdrop.is-open .modal {
  transform: translateY(0);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.modal-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background-color: var(--surface-raised);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 180ms var(--ease);
}

.modal-close:hover {
  background-color: var(--surface-hover);
  color: var(--text-primary);
}

.modal-close:active {
  transform: scale(0.95);
}

.modal-summary {
  font-size: 14px;
  color: var(--text-secondary);
}

.modal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-primary);
}

.modal-features li::before {
  content: "";
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--accent-ink);
  flex-shrink: 0;
}

.modal-note {
  padding: 12px;
  border-radius: 10px;
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--text-secondary);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.field input {
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--hairline-strong);
  background-color: var(--surface-deep);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
}

.field input:focus {
  outline: none;
  border-color: var(--accent-ink);
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

#lok_toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: 12px;
  background-color: var(--surface-raised);
  border: 1px solid var(--hairline-accent);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

#lok_toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.enter-item {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

html.is-ready .enter-item {
  opacity: 1;
  transform: translateY(0);
}

html.is-ready .enter-item--2 {
  transition-delay: 40ms;
}

html.is-ready .enter-item--3 {
  transition-delay: 80ms;
}

html.is-ready .enter-item--4 {
  transition-delay: 120ms;
}

.promo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  align-items: center;
  gap: 44px;
  padding: 40px 44px;
  border-radius: 26px;
  border: 1px solid var(--hairline-strong);
  background:
    radial-gradient(520px 280px at 84% 50%, rgba(139, 92, 246, 0.16), transparent 72%),
    linear-gradient(165deg, rgba(28, 26, 38, 0.9), rgba(14, 13, 20, 0.96));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promo-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.promo-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.promo-desc {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-secondary);
}

.promo-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 2px;
}

.promo-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-primary);
}

.promo-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.85);
}

.promo-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.promo-player-col {
  display: flex;
  justify-content: center;
}

.promo-frame {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background-color: #0b0a10;
  border: 1.5px solid rgba(216, 180, 254, 0.3);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.62),
    0 0 56px rgba(139, 92, 246, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.promo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 254, 0.5);
  background: rgba(20, 18, 30, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 32px rgba(139, 92, 246, 0.42);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), background-color 180ms var(--ease);
}

.promo-center-play:hover {
  background: rgba(139, 92, 246, 0.45);
  transform: translate(-50%, -50%) scale(1.07);
}

.promo-frame.is-playing .promo-center-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
  pointer-events: none;
}

.promo-hud {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  height: 38px;
  padding: 0 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 13, 20, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-hud-btn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 140ms var(--ease), color 140ms var(--ease);
}

.promo-hud-btn:hover {
  background-color: rgba(139, 92, 246, 0.24);
  color: #ffffff;
}

.promo-progress {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transition: height 140ms var(--ease);
}

.promo-progress:hover {
  height: 6px;
}

.promo-progress__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #a78bfa, #e4d4ff);
}

.promo-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .promo-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px 22px;
  }

  .promo-frame {
    width: 268px;
  }
}

.peak-stage {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 52px 32px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 48%, rgba(22, 18, 36, 0.92), rgba(11, 10, 16, 0.98));
  border: 1px solid var(--hairline-strong);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.44);
}

@media (max-width: 960px) {
  .hero-grid,
  .flagship-card,
  .arch-grid {
    grid-template-columns: 1fr;
  }

  .spec-table {
    border-left: 0;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
    padding-top: 16px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .release-head {
    display: none;
  }

  .release-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .release-actions {
    justify-content: flex-start;
  }

  .promo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  align-items: center;
  gap: 44px;
  padding: 40px 44px;
  border-radius: 26px;
  border: 1px solid var(--hairline-strong);
  background:
    radial-gradient(520px 280px at 84% 50%, rgba(139, 92, 246, 0.16), transparent 72%),
    linear-gradient(165deg, rgba(28, 26, 38, 0.9), rgba(14, 13, 20, 0.96));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promo-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.promo-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.promo-desc {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-secondary);
}

.promo-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 2px;
}

.promo-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-primary);
}

.promo-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.85);
}

.promo-actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.promo-player-col {
  display: flex;
  justify-content: center;
}

.promo-frame {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background-color: #0b0a10;
  border: 1.5px solid rgba(216, 180, 254, 0.3);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.62),
    0 0 56px rgba(139, 92, 246, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.promo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 254, 0.5);
  background: rgba(20, 18, 30, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 32px rgba(139, 92, 246, 0.42);
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), background-color 180ms var(--ease);
}

.promo-center-play:hover {
  background: rgba(139, 92, 246, 0.45);
  transform: translate(-50%, -50%) scale(1.07);
}

.promo-frame.is-playing .promo-center-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
  pointer-events: none;
}

.promo-hud {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  height: 38px;
  padding: 0 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 13, 20, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-hud-btn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 140ms var(--ease), color 140ms var(--ease);
}

.promo-hud-btn:hover {
  background-color: rgba(139, 92, 246, 0.24);
  color: #ffffff;
}

.promo-progress {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transition: height 140ms var(--ease);
}

.promo-progress:hover {
  height: 6px;
}

.promo-progress__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #a78bfa, #e4d4ff);
}

.promo-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .promo-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px 22px;
  }

  .promo-frame {
    width: 268px;
  }
}

.peak-stage {
    gap: 36px;
    padding: 36px 16px;
  }
}


.section,
.hero {
  scroll-margin-top: 76px;
}

.arch-list--spaced {
  margin-top: 24px;
}

.hero-chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-card {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid var(--hairline-accent);
  background:
    radial-gradient(420px 160px at 90% 0%, rgba(139, 92, 246, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(34, 32, 43, 0.85), rgba(25, 24, 32, 0.96));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.cta-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.cta-card__desc {
  margin-top: 6px;
  max-width: 460px;
  font-size: 14px;
  color: var(--text-secondary);
}

.cta-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-link--discord {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b8c1ff;
}

.footer-link--discord:hover {
  color: #ffffff;
}

.site-header {
  transition: background-color 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

html.is-scrolled .site-header {
  background-color: rgba(15, 14, 20, 0.92);
  border-bottom-color: var(--hairline-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.brand-badge {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--hairline-accent);
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
}

.nav-pill-group {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background-color: rgba(14, 13, 18, 0.72);
  border: 1px solid var(--hairline);
}

.nav-pill-group .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 10px;
}

.nav-link.is-active {
  color: var(--text-primary);
  background-color: rgba(139, 92, 246, 0.18);
  box-shadow: inset 0 0 0 1px var(--hairline-accent);
}

.nav-link--products {
  color: var(--accent-ink);
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.9);
  animation: nav-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes nav-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.72);
    opacity: 0.6;
  }
}

.nav-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(139, 92, 246, 0.24);
  color: #ede9fe;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1;
}

.side-rail {
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 38;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 22px;
  background-color: rgba(19, 18, 24, 0.5);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0.55;
  transform: translate(-12px, -50%);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), background-color 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}

html.is-scrolled .side-rail,
.side-rail:hover,
.side-rail:focus-within {
  opacity: 1;
  transform: translate(0, -50%);
  background-color: rgba(22, 20, 30, 0.9);
  border-color: var(--hairline-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 30px rgba(139, 92, 246, 0.12);
}

.side-rail__track {
  position: absolute;
  top: 16px;
  bottom: 16px;
  right: -10px;
  width: 3px;
  border-radius: 3px;
  background-color: var(--hairline);
  overflow: hidden;
}

.side-rail__fill {
  display: block;
  width: 100%;
  height: calc(var(--scroll-pct, 0) * 1%);
  border-radius: 3px;
  background: linear-gradient(180deg, #c4b5fd, #8b5cf6);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
  transition: height 120ms linear;
}

.side-rail__btn {
  position: relative;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-muted);
  transition: color 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.side-rail__btn:hover {
  color: var(--text-primary);
  background-color: rgba(139, 92, 246, 0.14);
}

.side-rail__btn--accent {
  color: var(--accent-ink);
}

.side-rail__btn.is-active {
  color: #ffffff;
  background-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.42), inset 0 0 0 1px var(--hairline-accent);
}

.side-rail__tip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  padding: 6px 11px;
  border-radius: 9px;
  background-color: var(--surface-raised);
  border: 1px solid var(--hairline-accent);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-6px, -50%);
  transition: opacity 160ms var(--ease), transform 200ms var(--ease), visibility 160ms;
}

.side-rail__btn:hover .side-rail__tip,
.side-rail__btn:focus-visible .side-rail__tip {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.view-panel {
  display: none;
}

.view-panel.is-active {
  display: block;
}

.view-panel.is-active.view-slide-right {
  animation: view-slide-from-left 420ms var(--ease) both;
}

.view-panel.is-active.view-slide-left {
  animation: view-slide-from-right 420ms var(--ease) both;
}

@keyframes view-slide-from-left {
  from {
    opacity: 0;
    transform: translate3d(-26px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes view-slide-from-right {
  from {
    opacity: 0;
    transform: translate3d(26px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html.is-intro-active {
  overflow: hidden;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: #0e0d12;
  overflow: hidden;
  display: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.intro-overlay.is-exiting {
  transform: translate3d(104%, 0, 0);
  box-shadow: -28px 0 80px rgba(139, 92, 246, 0.45), -2px 0 0 rgba(216, 180, 254, 0.65);
  transition: transform 560ms cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

.intro-stage {
  position: absolute;
  inset: 0;
}

.intro-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding-bottom: 12vh;
  pointer-events: none;
}

.intro-overlay.is-fallback .intro-fallback {
  display: flex;
}

.intro-fallback__tile {
  width: 172px;
  height: 172px;
  border-radius: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.22), rgba(21, 17, 38, 0.94));
  border: 1px solid rgba(216, 180, 254, 0.34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 42px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.intro-fallback__tile img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.55));
}

.intro-brand {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(44% + clamp(118px, 16vh, 148px));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 640ms var(--ease), transform 680ms var(--ease);
}

.intro-overlay.is-wordmark-visible .intro-brand {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.intro-brand__wordmark {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.08;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  letter-spacing: -0.025em;
}

.intro-brand__rule {
  width: 96px;
  height: 2px;
  margin: 12px 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #c4b5fd, #8b5cf6, transparent);
  transform: scaleX(0);
  transition: transform 720ms var(--ease) 120ms;
}

.intro-overlay.is-wordmark-visible .intro-brand__rule {
  transform: scaleX(1);
}

.intro-brand__tag {
  font-size: 13.5px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.intro-skip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background-color: rgba(25, 24, 34, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.intro-skip:hover {
  color: var(--text-primary);
  border-color: var(--hairline-accent);
  background-color: rgba(139, 92, 246, 0.22);
}

.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 160;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}

.page-curtain.is-running {
  visibility: visible;
  pointer-events: auto;
}

.page-curtain__panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(540px 300px at 50% 50%, rgba(139, 92, 246, 0.2), transparent 70%),
    linear-gradient(112deg, #0b0a10 0%, #151126 52%, #1d1536 100%);
  will-change: transform;
  transform: translate3d(-105%, 0, 0);
}

.page-curtain__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, rgba(216, 180, 254, 0.92) 28%, #8b5cf6 50%, rgba(216, 180, 254, 0.92) 72%, transparent);
  box-shadow: 0 0 34px 8px rgba(139, 92, 246, 0.55);
}

.page-curtain[data-dir="right"] .page-curtain__edge {
  left: 0;
}

.page-curtain[data-dir="left"] .page-curtain__edge {
  right: 0;
}

.page-curtain__mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0.88;
}

@keyframes prod-rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.prod-rise {
  animation: prod-rise 720ms var(--ease) backwards;
  animation-delay: calc(var(--stagger, 0) * 90ms + 120ms);
}

.products-view {
  position: relative;
  padding-bottom: 56px;
  background: radial-gradient(760px 360px at 50% 8%, rgba(139, 92, 246, 0.14), transparent 72%);
}

.products-hero {
  position: relative;
  z-index: 1;
  padding: 44px 0 22px;
}

.products-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.products-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff 15%, #d8b4fe 65%, #948eb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.products-sub {
  margin-top: 14px;
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.products-stage-section {
  position: relative;
  z-index: 1;
  padding: 10px 0 8px;
}

.warp-shell {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background-color: #0d0c14;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(139, 92, 246, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.warp-stage-host {
  width: 100%;
  height: clamp(400px, 52vh, 560px);
}

.warp-nav-btn {
  position: absolute;
  top: calc(50% - 22px);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background-color: rgba(19, 18, 24, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

.warp-nav-btn:hover {
  background-color: rgba(139, 92, 246, 0.3);
  border-color: var(--hairline-accent);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.4);
}

.warp-nav-btn--prev {
  left: 16px;
}

.warp-nav-btn--next {
  right: 16px;
}

.warp-active-bar {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid var(--hairline-strong);
  background: linear-gradient(180deg, rgba(34, 32, 43, 0.78), rgba(25, 24, 32, 0.94));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.warp-active__main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.warp-active-bar.is-switching .warp-active__main {
  animation: bar-swap 460ms var(--ease);
}

@keyframes bar-swap {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.product-icon-box--lg {
  width: 54px;
  height: 54px;
  border-radius: 15px;
}

.product-icon-box--lg img {
  width: 32px;
  height: 32px;
}

.warp-active__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.warp-active__category {
  font-size: 12.5px;
  color: var(--text-muted);
}

.warp-active__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.warp-active__summary {
  margin-top: 6px;
  max-width: 620px;
  font-size: 14px;
  color: var(--text-secondary);
}

.warp-active__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.warp-active__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.warp-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.warp-dot {
  position: relative;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: var(--surface-hover);
  transition: width 280ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.warp-dot::before {
  content: "";
  position: absolute;
  inset: -9px -4px;
}

.warp-dot:hover {
  background-color: var(--text-muted);
}

.warp-dot.is-active {
  width: 28px;
  background-color: var(--accent-ink);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.7);
}

.ctx-menu {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  min-width: 232px;
  padding: 6px;
  border-radius: 16px;
  background-color: rgba(20, 18, 28, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--hairline-accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.95);
  transform-origin: top left;
  transition: opacity 140ms var(--ease), transform 180ms var(--ease), visibility 140ms;
}

.ctx-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.ctx-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.ctx-item {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: background-color 120ms var(--ease);
}

.ctx-item svg {
  color: var(--accent-ink);
  flex-shrink: 0;
}

.ctx-item:hover,
.ctx-item:focus-visible {
  background-color: rgba(139, 92, 246, 0.2);
}

.ctx-item--accent {
  color: #ede9fe;
}

.ctx-item--discord svg {
  color: #8b9dff;
}

.ctx-sep {
  height: 1px;
  margin: 5px 6px;
  background-color: var(--hairline);
}

.modal-install {
  padding: 14px 16px;
  border-radius: 14px;
  background-color: var(--surface-deep);
  border: 1px solid var(--hairline-accent);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-install__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-install__title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent-ink);
}

.modal-install__steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-primary);
}

.modal-install__steps li::marker {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 700;
}

.assistant-view {
  position: relative;
  min-height: calc(100vh - 140px);
  overflow: hidden;
}

.assistant-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(125% 110% at 50% 102%, rgba(139, 92, 246, 0.34) 0%, rgba(124, 58, 237, 0.19) 24%, rgba(167, 139, 250, 0.08) 48%, transparent 74%),
    radial-gradient(540px 260px at 50% 18%, rgba(99, 102, 241, 0.12), transparent 72%);
}

.assistant-page {
  position: relative;
  z-index: 1;
  padding: 28px 0 64px;
}

.assistant-shell {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.assistant-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.assistant-topbar__badges {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.assistant-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--status-live);
  box-shadow: 0 0 10px rgba(76, 195, 138, 0.8);
}

.assistant-hero-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 18px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(25, 24, 34, 0.78), rgba(16, 15, 23, 0.9));
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.assistant-canvas {
  display: block;
  width: 158px;
  aspect-ratio: 210 / 275;
  flex-shrink: 0;
}

.assistant-hero-copy {
  max-width: 440px;
}

.assistant-hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  background: linear-gradient(180deg, #ffffff 15%, #d8b4fe 75%, #9c95ba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.assistant-hero-sub {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.assistant-stream {
  min-height: 180px;
  max-height: 360px;
  overflow-y: auto;
  padding: 18px;
  border-radius: 20px;
  background-color: rgba(18, 17, 25, 0.76);
  border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assistant-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 86%;
  animation: msg-in 320ms var(--ease) backwards;
}

.assistant-msg--bot {
  align-self: flex-start;
}

.assistant-msg--user {
  align-self: flex-end;
  align-items: flex-end;
}

.assistant-msg__images {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.assistant-msg__images img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--hairline-accent);
}

.assistant-msg__body {
  padding: 11px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-line;
  cursor: url("../images/cursors/text.png") 16 16, text;
}

.assistant-msg--bot .assistant-msg__body {
  background-color: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-bottom-left-radius: 4px;
  color: var(--text-primary);
}

.assistant-msg--user .assistant-msg__body {
  background: linear-gradient(135deg, #7c5cf0, #8b5cf6);
  border-bottom-right-radius: 4px;
  color: #ffffff;
}

.assistant-msg__action {
  align-self: flex-start;
}

.assistant-msg--typing .assistant-msg__body {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 13px 15px;
}

.assistant-msg--typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-ink);
  animation: typing-bounce 1s ease-in-out infinite;
}

.assistant-msg--typing i:nth-child(2) {
  animation-delay: 140ms;
}

.assistant-msg--typing i:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.assistant-topics-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.assistant-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.assistant-chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--hairline-accent);
  background-color: rgba(139, 92, 246, 0.11);
  color: #ede9fe;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 180ms var(--ease);
}

.assistant-chip:hover {
  background-color: rgba(139, 92, 246, 0.28);
  border-color: var(--accent-ink);
  transform: translateY(-1px);
}

.assistant-prompt-mount {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 12px;
}

.prompt-scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background: transparent;
}

.prompt-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.prompt-scrollbar::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}

.prompt-scrollbar:hover::-webkit-scrollbar-thumb {
  background: rgba(196, 181, 253, 0.3);
}

.ai-prompt-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  transition: max-width 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-prompt-wrap.is-expanded {
  max-width: 540px;
}

.ai-prompt-wrap.is-smooth {
  transition: max-width 150ms ease-out;
}

.ai-att-outer {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: height 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-prompt-wrap.is-expanded.has-attachments .ai-att-outer {
  height: 68px;
}

.ai-prompt-wrap.is-smooth .ai-att-outer {
  transition: height 150ms ease-out;
}

.ai-att-tray {
  position: absolute;
  bottom: -8px;
  left: 20px;
  right: 20px;
  height: 68px;
  padding: 8px 8px 4px;
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--hairline-strong);
  border-bottom: 0;
  background-color: var(--surface-raised);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-x: auto;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 300ms ease-out;
}

.ai-prompt-wrap.is-expanded.has-attachments .ai-att-tray {
  opacity: 1;
  transform: translateY(0);
}

.ai-prompt-wrap.is-smooth .ai-att-tray {
  transition: transform 150ms ease-out, opacity 150ms ease-out;
}

.ai-att-thumb {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--hairline-strong);
  background-color: var(--surface-deep);
  transition: transform 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: att-pop 320ms cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

@keyframes att-pop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ai-att-thumb:hover {
  transform: scale(1.04);
}

.ai-att-thumb:active {
  transform: scale(0.96);
}

.ai-att-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-att-thumb__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 200ms ease;
}

.ai-att-thumb:hover .ai-att-thumb__overlay {
  background-color: rgba(0, 0, 0, 0.28);
}

.ai-att-thumb__remove {
  margin: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(14, 13, 18, 0.92);
  color: var(--text-primary);
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-att-thumb:hover .ai-att-thumb__remove {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.ai-prompt-card {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 48px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background-color: rgba(25, 24, 34, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48), 0 0 32px rgba(139, 92, 246, 0.14);
  transition: max-width 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275), height 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 180ms ease;
}

.ai-prompt-wrap.is-expanded .ai-prompt-card {
  overflow: visible;
  border-color: var(--hairline-accent);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.56), 0 0 38px rgba(139, 92, 246, 0.24);
}

.ai-prompt-wrap.is-smooth .ai-prompt-card {
  transition: max-width 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275), height 150ms ease-out, border-color 180ms ease;
}

.ai-prompt-textarea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  resize: none;
  border: 0;
  background: transparent;
  padding: 14px 50px 14px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
  outline: none;
  opacity: 0;
  transform: translateY(-4px) scale(0.95);
  pointer-events: none;
  transition: opacity 300ms ease-out, transform 300ms ease-out, height 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-prompt-textarea::placeholder {
  color: var(--text-muted);
  font-weight: 600;
}

.ai-prompt-wrap.is-expanded .ai-prompt-textarea {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ai-prompt-wrap.is-recording .ai-prompt-textarea {
  pointer-events: none;
}

.ai-prompt-fade {
  position: absolute;
  left: 16px;
  right: 50px;
  height: 32px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

.ai-prompt-fade--top {
  top: 0;
  background: linear-gradient(180deg, rgba(25, 24, 34, 0.96), transparent);
}

.ai-prompt-fade--bottom {
  background: linear-gradient(0deg, rgba(25, 24, 34, 0.96), transparent);
}

.ai-prompt-placeholder {
  position: absolute;
  inset: 0 48px 0 0;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 15px 12px 15px 18px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  color: var(--text-secondary);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: url("../images/cursors/text.png") 16 16, text;
}

.ai-prompt-wrap.is-expanded .ai-prompt-placeholder {
  opacity: 0;
  transform: translateY(4px) scale(1.05);
  pointer-events: none;
}

.ai-prompt-actions {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 50px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(8px);
  pointer-events: none;
  transition: all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-prompt-wrap.is-expanded:not(.is-recording) .ai-prompt-actions {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  pointer-events: auto;
}

.ai-model-wrap {
  position: relative;
}

.ai-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease;
}

.ai-pill-btn:hover,
.ai-pill-btn.is-active {
  background-color: rgba(139, 92, 246, 0.18);
  color: var(--text-primary);
}

.ai-pill-btn__icon {
  display: inline-flex;
  align-items: center;
  color: var(--accent-ink);
}

.morph-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: width 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.morph-text__ghost {
  visibility: hidden;
  white-space: nowrap;
  padding: 0 3px;
}

.morph-text__live {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.morph-text__live.is-entering {
  animation: morph-in 260ms ease-out;
}

@keyframes morph-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ai-model-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 50;
  width: 186px;
  padding: 5px;
  border-radius: 16px;
  border: 1px solid var(--hairline-accent);
  background-color: rgba(20, 18, 28, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.58);
  transform-origin: bottom left;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: all 320ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-model-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-model-menu__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-model-hover {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 32px;
  border-radius: 11px;
  background-color: rgba(139, 92, 246, 0.22);
  pointer-events: none;
  opacity: 0;
  transform: translateY(0) scale(0.95);
  transition: transform 280ms cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 150ms ease;
}

.ai-model-option {
  position: relative;
  z-index: 1;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.ai-model-option svg {
  color: var(--accent-ink);
  flex-shrink: 0;
}

.ai-plus-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms ease, color 180ms ease;
}

.ai-plus-btn:hover {
  background-color: rgba(139, 92, 246, 0.18);
  color: var(--text-primary);
}

.ai-plus-btn:disabled {
  opacity: 0.38;
  pointer-events: none;
}

.ai-wave-box {
  position: absolute;
  right: 48px;
  bottom: 8px;
  z-index: 10;
  height: 32px;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  opacity: 0;
  transform: translateX(14px);
  pointer-events: none;
  transition: all 360ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-prompt-wrap.is-recording .ai-wave-box {
  width: 64px;
  opacity: 1;
  transform: translateX(0);
}

.ai-wave-bar {
  width: 4px;
  border-radius: 999px;
  background-color: var(--accent-ink);
  transition: height 75ms ease-out;
}

.ai-submit-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  color: #13111c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.36);
  transition: opacity 200ms ease, transform 200ms ease;
}

.ai-submit-btn:hover {
  opacity: 0.92;
}

.ai-submit-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5) rotate(45deg);
  filter: blur(1px);
  pointer-events: none;
  transition: all 280ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-submit-icon.is-shown {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: none;
}

.att-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
}

.att-lightbox__scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(12, 11, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 320ms ease;
}

.att-lightbox.is-open .att-lightbox__scrim {
  opacity: 1;
}

.att-lightbox__frame {
  position: fixed;
  overflow: hidden;
  background-color: var(--surface-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition:
    top 420ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
    left 420ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
    width 420ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
    height 420ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-radius 420ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.att-lightbox.is-closing .att-lightbox__frame {
  transition:
    top 280ms ease-out,
    left 280ms ease-out,
    width 280ms ease-out,
    height 280ms ease-out,
    border-radius 280ms ease-out;
}

.att-lightbox__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.att-lightbox__close {
  position: fixed;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background-color: rgba(25, 24, 32, 0.9);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 280ms ease, transform 280ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.att-lightbox.is-open .att-lightbox__close {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 1319px) {
  .side-rail {
    left: 10px;
    padding: 8px 6px;
  }
}

@media (max-width: 960px) {
  .side-rail {
    display: none;
  }

  .warp-active-bar {
    grid-template-columns: 1fr;
  }

  .warp-active__side {
    align-items: flex-start;
  }

  .warp-active__actions {
    justify-content: flex-start;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-pill-group {
    display: none;
  }

  .products-hero {
    padding-top: 28px;
  }

  .warp-nav-btn {
    width: 38px;
    height: 38px;
    top: calc(50% - 19px);
  }

  .warp-nav-btn--prev {
    left: 8px;
  }

  .warp-nav-btn--next {
    right: 8px;
  }

  .cta-card {
    padding: 22px;
  }

  .assistant-hero-stage {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
  }

  .assistant-canvas {
    width: 136px;
  }
}

@media (max-width: 640px) {
  .warp-stage-host {
    height: 360px;
  }

  .assistant-stream {
    max-height: 290px;
    padding: 14px;
  }

  .assistant-msg {
    max-width: 94%;
  }
}

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

  .enter-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn,
  .filter-btn,
  .row-action,
  .modal,
  .modal-backdrop,
  .mobile-menu,
  #lok_toast,
  .ctx-menu,
  .side-rail,
  .ai-prompt-wrap,
  .ai-prompt-card,
  .ai-att-outer,
  .ai-att-tray,
  .ai-model-menu,
  .page-curtain,
  .page-curtain__panel,
  .intro-overlay,
  .intro-brand,
  .intro-brand__rule {
    transition: none !important;
    animation: none !important;
  }

  .view-panel,
  .prod-rise,
  .nav-dot,
  .assistant-msg,
  .assistant-msg--typing i,
  .warp-active-bar.is-switching .warp-active__main {
    animation: none !important;
  }
}