:root {
  --bg: #07090e;
  --bg-elev: #0c1019;
  --surface: #101624;
  --surface-2: #151d2f;
  --surface-3: #1c263d;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --text-muted: #9aa8c2;
  --text-dim: #697792;

  --cyan: #00f0ff;
  --cyan-soft: rgba(0, 240, 255, 0.14);
  --rose: #ff2e63;
  --yellow: #ffe600;
  --emerald: #34d399;
  --amber: #fbbf24;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 440px at 72% 8%, rgba(0, 240, 255, 0.075), transparent 65%),
    radial-gradient(760px 420px at 26% 14%, rgba(255, 46, 99, 0.06), transparent 65%),
    var(--bg);
  overflow-x: hidden;
}

code,
kbd {
  font-family: var(--mono);
}

code {
  font-size: 0.88em;
  color: #d7e4fc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.06em 0.28em;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  background: var(--cyan);
  color: #041016;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 150ms var(--ease-out);
}

.skip:focus {
  transform: translateY(60px);
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.wrap.narrow {
  max-width: 620px;
}

.page-msg {
  padding: 120px 22px;
}

.kb-instant,
.kb-instant * {
  transition-duration: 0ms !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  height: 54px;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  border-radius: 7px;
  display: block;
}

.brand-name {
  font-size: 1.04rem;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 150ms var(--ease-out);
}

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition:
    transform 150ms var(--ease-out),
    background-color 160ms var(--ease-out),
    border-color 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out),
    color 160ms var(--ease-out);
}

.btn-primary {
  background: var(--cyan);
  color: #03131a;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 9px 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 24px -8px rgba(0, 240, 255, 0.52);
}

.btn-primary.btn-sm {
  padding: 6px 13px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 9px 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 11px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-ghost[aria-pressed="true"] {
  background: rgba(0, 240, 255, 0.13);
  color: #b8f9ff;
  border-color: rgba(0, 240, 255, 0.45);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.btn-ghost[aria-pressed="true"] .status-dot {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.btn-primary:active,
.btn-secondary:active,
.btn-ghost:active,
.tool-btn:active,
.chip-btn:active,
.ink-dot:active,
.skin-pill:active,
.hotkey-card:active,
.arsenal-card:active,
.copy-btn:active {
  transform: scale(0.97);
}

.kbd-inline,
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 1px 6px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  color: #e2ebf8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom-width: 2px;
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
}

/* Hero + Above-the-Fold Playground */
.hero {
  padding: 20px 0 36px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.85fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #8eeeff;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.accent-cyan {
  color: var(--cyan);
}

.lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.48;
  max-width: 64ch;
}

.lede-sm {
  color: var(--text-muted);
  margin: 0 0 22px;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hero-micro {
  margin: 0;
  font-size: 0.74rem;
  color: var(--text-dim);
  text-align: right;
}

/* Interactive Stage Shell */
.stage-shell {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 28px 70px -20px rgba(0, 0, 0, 0.78);
  overflow: hidden;
}

.stage-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 9px 14px;
  background: #111726;
  border-bottom: 1px solid var(--border);
}

.chrome-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.traffic-lights {
  display: inline-flex;
  gap: 7px;
}

.tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.tl-red { background: #ff5f57; }
.tl-amber { background: #febc2e; }
.tl-green { background: #28c840; }

.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.13);
  border: 1px solid rgba(52, 211, 153, 0.34);
}

.share-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.chrome-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-group {
  display: inline-flex;
  padding: 2px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
}

.tool-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition:
    transform 140ms var(--ease-out),
    background-color 150ms var(--ease-out),
    color 150ms var(--ease-out);
}

.tool-btn.is-active {
  background: rgba(0, 240, 255, 0.16);
  color: #d8fbff;
}

.color-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.ink-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  padding: 0;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}

.ink-rose { background: #ff2e63; }
.ink-yellow { background: #ffe600; }
.ink-cyan { background: #00f0ff; }
.ink-lime { background: #38ff62; }

.ink-dot.is-active {
  border-color: #ffffff;
  transform: scale(1.14);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.chip-btn {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 9px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition:
    transform 140ms var(--ease-out),
    background-color 150ms var(--ease-out),
    border-color 150ms var(--ease-out),
    color 150ms var(--ease-out);
}

.chip-btn.is-on {
  background: rgba(255, 46, 99, 0.15);
  border-color: rgba(255, 46, 99, 0.48);
  color: #ffc2d1;
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 999px;
}

.telemetry-pill.is-live .telemetry-mode {
  color: var(--cyan);
}

/* Stage Viewport & Mock Dashboard */
.stage-viewport {
  position: relative;
  height: 406px;
  background:
    radial-gradient(520px 260px at 78% 36%, rgba(0, 240, 255, 0.07), transparent 70%),
    radial-gradient(460px 240px at 24% 48%, rgba(255, 46, 99, 0.055), transparent 70%),
    #0a0e17;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.stage-viewport.cursor-hidden {
  cursor: none;
}

.stage-viewport.cursor-crosshair {
  cursor: crosshair;
}

.mock-dashboard {
  position: absolute;
  inset: 0;
  padding: 16px 18px 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.dash-grid-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dash-card,
.dash-chart-card,
.dash-raycast-card {
  background: rgba(18, 25, 40, 0.88);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 13px 15px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition:
    transform 170ms var(--ease-out),
    border-color 170ms var(--ease-out),
    background-color 170ms var(--ease-out);
}

.dash-card.is-booped,
.dash-chart-card.is-booped,
.dash-raycast-card.is-booped {
  border-color: rgba(0, 240, 255, 0.55);
  background: rgba(24, 34, 56, 0.95);
  transform: scale(0.988);
}

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

.dash-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.dash-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.badge-up {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.14);
}

.badge-cyan {
  color: #a5f3fc;
  background: rgba(0, 240, 255, 0.13);
}

.badge-emerald {
  color: #a7f3d0;
  background: rgba(52, 211, 153, 0.14);
}

.dash-metric {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 5px;
  font-variant-numeric: tabular-nums;
}

.metric-yellow { color: var(--yellow); }
.metric-cyan { color: var(--cyan); }
.metric-white { color: var(--text); }

.dash-foot {
  font-size: 0.73rem;
  color: var(--text-dim);
}

.dash-grid-bottom {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.95fr);
  gap: 12px;
}

.dash-chart-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.dash-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.chart-stat {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 10px;
  height: 122px;
  padding-top: 10px;
}

.bar-col {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.bar-fill {
  width: 100%;
  max-width: 42px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(84, 132, 214, 0.75), rgba(44, 72, 128, 0.48));
  border: 1px solid rgba(148, 189, 255, 0.2);
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.b-1 { height: 34%; }
.b-2 { height: 48%; }
.b-3 { height: 42%; }
.b-4 { height: 61%; }
.b-5 { height: 73%; }
.b-6 { height: 67%; }
.b-7 { height: 84%; }
.b-8 { height: 96%; }

.bar-col.is-peak .bar-fill {
  background: linear-gradient(180deg, #00f0ff, #00a3cc);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.32);
}

.bar-lbl {
  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* Mock Raycast Palette Card */
.dash-raycast-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.rc-search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
}

.rc-prompt {
  font-family: var(--mono);
  color: var(--rose);
  font-weight: 700;
}

.rc-query {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.rc-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 5px;
}

.rc-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.rc-item.is-selected {
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
}

.rc-item-title {
  font-weight: 600;
}

.rc-item-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

#stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 5;
}

.stage-toast {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 10;
  pointer-events: none;
  background: rgba(10, 14, 24, 0.92);
  border: 1px solid rgba(0, 240, 255, 0.38);
  color: #eafaff;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, -6px) scale(0.96);
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.stage-toast[data-visible="true"] {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.stage-hint-pill {
  position: absolute;
  bottom: 10px;
  left: 18px;
  z-index: 8;
  pointer-events: none;
  font-size: 0.73rem;
  color: var(--text-muted);
  background: rgba(9, 13, 22, 0.84);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 999px;
}

.stage-hint-pill strong {
  color: #ffffff;
}

/* 9-Skin Switcher Dock */
.skin-dock {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 10px;
  background: #0d121f;
  border-top: 1px solid var(--border);
}

.skin-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px 7px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
  transition:
    transform 150ms var(--ease-out),
    background-color 150ms var(--ease-out),
    border-color 150ms var(--ease-out),
    color 150ms var(--ease-out);
}

.skin-pill.is-active {
  background: rgba(0, 240, 255, 0.11);
  border-color: rgba(0, 240, 255, 0.58);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset;
}

.skin-idx {
  position: absolute;
  top: 4px;
  left: 6px;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.skin-pill.is-active .skin-idx {
  color: var(--cyan);
}

.skin-pill img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
}

.skin-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  width: 100%;
}

.skin-name {
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skin-fx {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skin-pill.is-active .skin-fx {
  color: #9ceeff;
}

/* Sections Below the Fold */
.section {
  padding: 68px 0;
  border-top: 1px solid var(--border);
}

.section-alt {
  background: rgba(255, 255, 255, 0.014);
}

.section-head {
  margin-bottom: 32px;
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  max-width: 64ch;
  font-size: 0.98rem;
}

.section-note {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Bento Cards */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.bento-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.56;
}

/* Hotkey Grid */
.hotkey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hotkey-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 15px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  transition:
    transform 150ms var(--ease-out),
    border-color 150ms var(--ease-out),
    background-color 150ms var(--ease-out);
}

.keycaps {
  display: inline-flex;
  gap: 4px;
  flex-shrink: 0;
}

.keycaps kbd {
  min-width: 26px;
  height: 28px;
  font-size: 0.78rem;
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.2);
}

.hotkey-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hotkey-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.hotkey-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
}

/* 9-Skin Arsenal Grid */
.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.arsenal-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  color: var(--text);
  cursor: pointer;
  transition:
    transform 150ms var(--ease-out),
    border-color 150ms var(--ease-out),
    background-color 150ms var(--ease-out);
}

.arsenal-card.is-equipped {
  border-color: rgba(0, 240, 255, 0.55);
  background: rgba(19, 29, 48, 0.95);
}

.arsenal-preview {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0f1a;
  border: 1px solid var(--border);
}

.arsenal-preview img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.glow-cyan { background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.18), #0b0f1a 72%); }
.glow-slate { background: radial-gradient(circle at 50% 50%, rgba(120, 148, 215, 0.22), #0b0f1a 72%); }
.glow-gold { background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.2), #0b0f1a 72%); }
.glow-lime { background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.2), #0b0f1a 72%); }
.glow-magenta { background: radial-gradient(circle at 50% 50%, rgba(232, 121, 249, 0.22), #0b0f1a 72%); }
.glow-coral { background: radial-gradient(circle at 50% 50%, rgba(251, 146, 60, 0.18), #0b0f1a 72%); }
.glow-rose { background: radial-gradient(circle at 50% 50%, rgba(255, 46, 99, 0.2), #0b0f1a 72%); }

.arsenal-body {
  min-width: 0;
  flex: 1;
}

.arsenal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.arsenal-row h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.fx-pill {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(0, 240, 255, 0.12);
  white-space: nowrap;
}

.fx-amber { color: #fde68a; background: rgba(251, 191, 36, 0.15); }
.fx-gold { color: #fef08a; background: rgba(234, 179, 8, 0.16); }
.fx-lime { color: #bef264; background: rgba(132, 204, 22, 0.16); }
.fx-pink { color: #fbcfe8; background: rgba(236, 72, 153, 0.16); }

.arsenal-body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.42;
}

/* Waitlist & CLI Section */
.waitlist-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(180deg, #111829, #0c111d);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

.waitlist-left h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  letter-spacing: -0.03em;
}

.waitlist-copy {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-row {
  display: flex;
  gap: 10px;
}

.signup-row input[type="email"] {
  flex: 1;
  min-width: 0;
  background: #080b13;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}

.signup-row input[type="email"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.16);
}

.signup-status {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.signup-status.ok {
  color: var(--emerald);
}

.signup-status.err {
  color: #fda4af;
}

.btn-morph,
.copy-label {
  display: inline-block;
  transition: filter 170ms var(--ease-out), opacity 170ms var(--ease-out);
}

.is-morphing {
  filter: blur(2px);
  opacity: 0.68;
}

.terminal-card {
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.terminal-head {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.terminal-title {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

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

.cmd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 10px;
}

.cmd-row code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  color: #b8f9ff;
}

.copy-btn {
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 140ms var(--ease-out),
    background-color 150ms var(--ease-out),
    color 150ms var(--ease-out);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 36px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Full-Page Roaming Canvas */
.roam-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 95;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.roam-canvas.is-active {
  opacity: 1;
}

/* Hover States Gated for Fine Pointers Only (Emil Principle) */
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover {
    color: var(--text);
  }

  .btn-primary:hover {
    background: #33f3ff;
  }

  .btn-secondary:hover {
    background: var(--surface-3);
    border-color: rgba(255, 255, 255, 0.26);
  }

  .btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-strong);
  }

  .tool-btn:hover:not(.is-active) {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
  }

  .chip-btn:hover {
    color: var(--text);
    border-color: var(--border-strong);
  }

  .skin-pill:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-strong);
    color: var(--text);
  }

  .hotkey-card:hover,
  .arsenal-card:hover {
    border-color: rgba(0, 240, 255, 0.36);
    background: var(--surface-2);
  }

  .copy-btn:hover {
    color: var(--text);
    background: var(--surface-3);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-cta-box {
    align-items: flex-start;
  }

  .hero-micro {
    text-align: left;
  }

  .skin-dock {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hotkey-grid,
  .arsenal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .waitlist-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .site-nav,
  #roam-toggle {
    display: none;
  }

  .stage-viewport {
    height: 430px;
  }

  .dash-grid-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-grid-top .dash-card:last-child,
  .dash-raycast-card {
    display: none;
  }

  .dash-grid-bottom {
    grid-template-columns: 1fr;
  }

  .skin-dock {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .skin-pill {
    min-width: 96px;
    flex-shrink: 0;
  }

  .bento-grid,
  .hotkey-grid,
  .arsenal-grid {
    grid-template-columns: 1fr;
  }

  .signup-row {
    flex-direction: column;
  }

  .waitlist-card {
    padding: 24px 20px;
  }
}

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

  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .tool-btn,
  .chip-btn,
  .skin-pill,
  .hotkey-card,
  .arsenal-card,
  .stage-toast {
    transition-duration: 0ms;
  }
}
