:root {
  --tx-bg: #0A0A0F;
  --tx-ink: #F4F4F7;
  --tx-muted: #9A9AAB;
  --tx-dim: #6E6E82;
  --tx-faint: #5a5a6b;
  --tx-line: rgba(255, 255, 255, 0.07);
  --tx-line-strong: rgba(255, 255, 255, 0.12);
  --tx-panel: #0e0e15;
  --tx-panel-2: #101017;
  --tx-violet: #8B5CF6;
  --tx-violet-soft: #A78BFA;
  --tx-pink: #EC4899;
  --tx-green: #34D399;
  --tx-grad: linear-gradient(135deg, #8B5CF6, #EC4899);
  --tx-radius: 16px;
  --tx-radius-sm: 11px;
  --tx-font: "Inter", system-ui, sans-serif;
  --tx-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--tx-bg);
  color: var(--tx-ink);
  font-family: var(--tx-font);
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(236, 72, 153, 0.35); color: #fff; }

a { color: var(--tx-violet-soft); text-decoration: none; }
a:hover { color: var(--tx-pink); }

:focus-visible {
  outline: 2px solid var(--tx-violet);
  outline-offset: 2px;
}

input:-webkit-autofill {
  -webkit-text-fill-color: var(--tx-ink);
  -webkit-box-shadow: 0 0 0 1000px var(--tx-panel-2) inset;
}
input::placeholder, textarea::placeholder { color: var(--tx-faint); }

@keyframes txUnderline {
  0% { transform: scaleX(0); opacity: 0.3; }
  22% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}
@keyframes txScan {
  0% { left: -12%; opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { left: 108%; opacity: 0; }
}
@keyframes txBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.tx-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--tx-ink);
}
.tx-mark:hover { color: var(--tx-ink); }
.tx-mark-badge {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--tx-grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tx-mono);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.45);
}

.tx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  white-space: nowrap;
}
.tx-btn:hover { color: inherit; }
.tx-btn-grad {
  padding: 14px 26px;
  border-radius: 11px;
  background: var(--tx-grad);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 40px rgba(139, 92, 246, 0.35);
}
.tx-btn-grad:hover { color: #fff; box-shadow: 0 12px 50px rgba(236, 72, 153, 0.45); }
.tx-btn-solid {
  padding: 9px 16px;
  border-radius: 9px;
  background: var(--tx-ink);
  color: var(--tx-bg);
  font-size: 14px;
}
.tx-btn-solid:hover { background: #fff; color: var(--tx-bg); }
.tx-btn-ghost {
  padding: 14px 26px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx-ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.tx-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--tx-ink); border-color: rgba(255, 255, 255, 0.24); }
.tx-btn-sm { padding: 9px 15px; border-radius: 10px; font-size: 13.5px; }

.tx-eyebrow {
  font-family: var(--tx-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--tx-violet);
  margin-bottom: 14px;
}
.tx-eyebrow-pink { color: var(--tx-pink); }

.tx-grad-text {
  background: linear-gradient(100deg, #A78BFA, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Marketing nav */
.tx-topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid var(--tx-line);
}
.tx-topnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tx-topnav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  color: #A6A6B6;
  font-weight: 500;
}
.tx-topnav-links a { color: #A6A6B6; transition: color 0.15s; }
.tx-topnav-links a:hover { color: #fff; }
.tx-topnav-cta { display: flex; align-items: center; gap: 14px; }
.tx-topnav-cta .tx-login { font-size: 14.5px; color: #C4C4D0; font-weight: 500; }
.tx-topnav-cta .tx-login:hover { color: #fff; }

.tx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.tx-home { position: relative; overflow-x: hidden; background: var(--tx-bg); }
.tx-glow {
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 760px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.06) 42%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.tx-hero { text-align: center; padding: 84px 24px 40px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.tx-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--tx-line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  color: #B9B9C7;
  font-family: var(--tx-mono);
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}
.tx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tx-green);
  box-shadow: 0 0 10px var(--tx-green);
}
.tx-hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 auto;
  max-width: 14ch;
}
.tx-hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--tx-muted);
  max-width: 48ch;
  margin: 26px auto 0;
}
.tx-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.tx-demo { position: relative; max-width: 760px; margin: 56px auto 0; text-align: left; }
.tx-demo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
  font-family: var(--tx-mono);
  font-size: 11.5px;
  color: var(--tx-dim);
  letter-spacing: 0.08em;
}
.tx-demo-live { color: var(--tx-violet-soft); display: flex; align-items: center; gap: 7px; letter-spacing: 0; }
.tx-demo-live .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--tx-violet-soft);
  animation: txBlink 1.1s steps(1) infinite;
}
.tx-demo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #101017, #0c0c12);
  padding: 30px 32px;
  box-shadow: 0 30px 80px -40px rgba(139, 92, 246, 0.4);
}
.tx-demo-scan {
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.18), transparent);
  animation: txScan 4.4s ease-in-out infinite;
  pointer-events: none;
}
.tx-demo-card p {
  position: relative;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.85;
  color: #D6D6E0;
  margin: 0;
}
.tx-phrase {
  position: relative;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.tx-phrase::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--tx-grad);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.8);
  transform-origin: left;
  animation: txUnderline 4.4s ease-in-out infinite;
}
.tx-phrase.is-late::after { animation-delay: 1.5s; }
.tx-demo-foot {
  position: relative;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tx-mono);
  font-size: 11.5px;
  color: var(--tx-dim);
}
.tx-pop {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  transform: translate(-50%, -118%);
  width: 212px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #16161F;
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 18px 50px -10px rgba(139, 92, 246, 0.5);
}
.tx-pop[hidden] { display: none; }
.tx-pop-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.tx-pop-tag {
  font-family: var(--tx-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--tx-violet);
  border: 1px solid rgba(139, 92, 246, 0.4);
  padding: 2px 6px;
  border-radius: 5px;
}

.tx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--tx-line);
  border: 1px solid var(--tx-line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
.tx-stat { background: #0c0c12; padding: 28px 26px; }
.tx-stat-n {
  font-family: var(--tx-mono);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tx-stat-l { font-size: 13.5px; color: #8A8A99; margin-top: 6px; }

.tx-section { padding: 110px 24px 0; }
.tx-center { text-align: center; margin: 0 auto; }
.tx-h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0;
  line-height: 1.08;
}
.tx-sub { color: var(--tx-muted); font-size: 1.05rem; line-height: 1.6; margin: 18px auto 0; max-width: 46ch; }

.tx-switch {
  display: inline-flex;
  padding: 5px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 4px;
}
.tx-switch button, .tx-switch a {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 9px;
  background: transparent;
  color: var(--tx-muted);
  text-decoration: none;
}
.tx-switch .is-on {
  background: var(--tx-grad);
  color: #fff;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

.tx-steps { display: none; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.tx-steps.is-on { display: grid; }
.tx-step {
  padding: 30px 26px;
  border-radius: 16px;
  background: var(--tx-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tx-step.is-hot {
  background: linear-gradient(180deg, #13101d, #0e0e15);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 40px -16px rgba(139, 92, 246, 0.5);
}
.tx-step.is-hot-pink {
  background: linear-gradient(180deg, #13101d, #0e0e15);
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 40px -16px rgba(236, 72, 153, 0.5);
}
.tx-step-n { font-family: var(--tx-mono); font-size: 13px; color: var(--tx-violet); margin-bottom: 18px; }
.tx-step.is-hot .tx-step-n, .tx-step.is-hot-pink .tx-step-n { color: var(--tx-pink); }
.tx-step h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.tx-step p { font-size: 14.5px; color: var(--tx-muted); line-height: 1.55; margin: 0; }

.tx-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(236, 72, 153, 0.22);
  background: linear-gradient(135deg, #15101b, #0c0c12 60%);
  padding: clamp(34px, 5vw, 60px);
}
.tx-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.tx-pill {
  padding: 11px 18px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--tx-line-strong);
  font-weight: 600;
  font-size: 15px;
}
.tx-pill.is-hot {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25));
  border-color: rgba(236, 72, 153, 0.4);
}

.tx-feat-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tx-feat-row:last-child { border-bottom: 0; }
.tx-feat-ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-violet-soft);
}

.tx-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #101017, #0c0c12);
  padding: 30px 28px;
}
.tx-niche {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tx-niche button {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #D6D6E0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 6px;
  border-radius: 9px;
}
.tx-niche button.is-on {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.85);
  color: #fff;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.35);
}
.tx-rev-box {
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.tx-rev-n {
  font-family: var(--tx-mono);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
input[type="range"] { width: 100%; accent-color: var(--tx-violet); cursor: pointer; height: 4px; }

.tx-adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tx-adv-card {
  padding: 26px 24px;
  border-radius: 16px;
  background: var(--tx-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tx-adv-card:hover { border-color: rgba(236, 72, 153, 0.35); }
.tx-adv-ico {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.tx-code {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0c12;
}
.tx-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--tx-line);
}
.tx-code pre {
  margin: 0;
  padding: 24px 22px;
  font-family: var(--tx-mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: #D6D6E0;
  overflow-x: auto;
}
.tx-tok-tag { color: #EC4899; }
.tx-tok-attr { color: #A78BFA; }
.tx-tok-str { color: #34D399; }
.tx-tok-p { color: #6E6E82; }

.tx-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.tx-quote {
  padding: 28px 26px;
  border-radius: 16px;
  background: var(--tx-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tx-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--tx-grad);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tx-mono); font-weight: 700; font-size: 15px; color: #fff;
}

.tx-cta {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  text-align: center;
  padding: clamp(48px, 8vw, 90px) 24px;
  background: linear-gradient(135deg, #15101f, #0c0c12);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.tx-footer { padding: 90px 24px 50px; }
.tx-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--tx-line);
}
.tx-footer a { color: var(--tx-muted); font-size: 14px; }
.tx-footer a:hover { color: #fff; }
.tx-footer-col { display: flex; flex-direction: column; gap: 11px; }
.tx-footer-h {
  font-family: var(--tx-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tx-faint);
  margin-bottom: 5px;
}
.tx-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--tx-faint);
  font-family: var(--tx-mono);
}

/* Auth */
.tx-auth {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: var(--tx-bg);
}
.tx-auth-side {
  position: relative;
  flex: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  padding: 32px clamp(24px, 5vw, 64px) 48px;
  overflow: hidden;
}
.tx-auth-form { position: relative; width: 100%; max-width: 420px; margin: 48px auto; }
.tx-field { display: block; font-size: 13px; color: var(--tx-muted); margin-bottom: 9px; }
.tx-input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  background: var(--tx-panel-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--tx-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}
.tx-input:focus {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}
.tx-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tx-role {
  cursor: pointer;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: inherit;
  font: inherit;
}
.tx-role.is-on {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.85);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.28);
}
.tx-role input { position: absolute; opacity: 0; pointer-events: none; }
.tx-pw-wrap { position: relative; }
.tx-pw-wrap .tx-input { padding-right: 74px; }
.tx-pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx-muted);
  font-family: var(--tx-mono);
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 7px;
}
.tx-meter { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.tx-meter-bar { flex: 1; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.tx-meter-fill { height: 100%; border-radius: 3px; width: 0; transition: all 0.25s; }
.tx-check { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--tx-muted); line-height: 1.55; }
.tx-check input { margin: 2px 0 0; accent-color: var(--tx-violet); }
.tx-errors { color: #F87171; font-size: 13.5px; margin: 0 0 12px; }

/* App chrome */
.tx-app { min-height: 100vh; background: var(--tx-bg); display: flex; }
.tx-sidebar {
  flex: none;
  width: 232px;
  border-right: 1px solid var(--tx-line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.tx-side-nav { display: flex; flex-direction: column; gap: 3px; }
.tx-side-label {
  font-family: var(--tx-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--tx-faint);
  padding: 0 10px 8px;
}
.tx-side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--tx-muted);
  border: 1px solid transparent;
}
.tx-side-link:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.tx-side-link .sq { width: 8px; height: 8px; border-radius: 2px; background: #3a3a48; }
.tx-side-link.is-on {
  font-weight: 600;
  color: #fff;
}
.tx-side-link.is-on.is-pink {
  background: rgba(236, 72, 153, 0.14);
  border-color: rgba(236, 72, 153, 0.35);
}
.tx-side-link.is-on.is-pink .sq { background: var(--tx-pink); }
.tx-side-link.is-on.is-violet {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.35);
}
.tx-side-link.is-on.is-violet .sq { background: var(--tx-violet-soft); }
.tx-side-card {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, #13101d, #0e0e15);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.tx-side-card.is-pink {
  background: linear-gradient(160deg, #1b1017, #0e0e15);
  border-color: rgba(236, 72, 153, 0.25);
}
.tx-side-card .k {
  font-family: var(--tx-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--tx-violet);
  margin-bottom: 8px;
}
.tx-side-card.is-pink .k { color: var(--tx-pink); }
.tx-side-card .n {
  font-family: var(--tx-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tx-who { display: flex; align-items: center; gap: 10px; padding: 8px; }
.tx-who .tx-avatar { width: 34px; height: 34px; font-size: 14px; }
.tx-signout {
  background: none;
  border: 0;
  color: var(--tx-faint);
  font-family: var(--tx-mono);
  font-size: 10.5px;
  cursor: pointer;
  padding: 0;
}
.tx-signout:hover { color: #fff; }

.tx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tx-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 15, 0.78);
  border-bottom: 1px solid var(--tx-line);
  padding: 0 clamp(20px, 3vw, 34px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tx-topbar h1 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
}
.tx-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.08);
  font-family: var(--tx-mono);
  font-size: 11px;
  color: var(--tx-green);
  white-space: nowrap;
}
.tx-live-pill .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tx-green);
  animation: txBlink 1.4s steps(1) infinite;
}
.tx-content { padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 20px; }
.tx-content > h1:first-child,
.tx-content > .toolbar h1 { display: none; }

.tx-topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tx-topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tx-live-pill.is-off {
  color: var(--tx-muted);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.tx-live-pill.is-off .pulse { background: var(--tx-muted); animation: none; }

.tx-seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 3px;
}
.tx-seg-btn {
  border: none;
  cursor: pointer;
  font-family: var(--tx-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 8px;
  background: transparent;
  color: var(--tx-muted);
  text-decoration: none;
}
.tx-seg-btn.is-on {
  background: var(--tx-grad);
  color: #fff;
}
.tx-seg-btn:hover { color: #fff; }

.tx-copy {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx-muted);
  font-family: var(--tx-mono);
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 7px;
}
.tx-copy:hover { color: #fff; }

.tx-panel-inline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tx-panel-title { font-weight: 700; font-size: 16px; }
.tx-legend {
  display: flex;
  gap: 16px;
  font-family: var(--tx-mono);
  font-size: 11.5px;
  color: #8A8A99;
}
.tx-legend span { display: flex; align-items: center; gap: 6px; }
.tx-swatch {
  width: 9px; height: 9px; border-radius: 3px;
  background: rgba(139, 92, 246, 0.55);
  display: inline-block;
}
.tx-swatch.is-pink { background: linear-gradient(180deg, #F472B6, #DB2777); }
.tx-swatch.is-violet { background: linear-gradient(180deg, #A78BFA, #8B5CF6); }

.tx-bar-pair {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.tx-bar-pair .tx-bar { flex: 1; width: auto; }
.tx-bar.is-soft {
  background: rgba(139, 92, 246, 0.5);
  box-shadow: none;
}
.tx-bar.is-zero { opacity: 0.22; min-height: 4px; }
.tx-empty {
  padding: 36px 24px;
  color: var(--tx-muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.tx-stat-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--tx-muted);
}
.tx-stat-line strong { font-family: var(--tx-mono); font-size: 15px; color: #fff; font-weight: 600; }
.tx-table-scroll { overflow-x: auto; }
.tx-camp-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; }
.tx-row-title { font-size: 14.5px; font-weight: 600; color: var(--tx-ink); }
.tx-row-title:hover { color: var(--tx-pink); }
.tx-density-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
a.tx-density {
  display: block;
  text-align: left;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: inherit;
}
a.tx-density:hover {
  color: inherit;
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.85);
}
.tx-dot-sm {
  width: 7px; height: 7px; border-radius: 50%;
  background: #F59E0B;
  flex: none;
}
.tx-dot-sm.is-live { background: var(--tx-green); }
.tx-dot-sm.is-wait { background: #F59E0B; }

@media (min-width: 1100px) {
  .tx-split > .tx-span-2 { grid-column: span 2; }
}

.tx-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 14px; }
.tx-kpi {
  padding: 22px;
  border-radius: 16px;
  background: var(--tx-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tx-kpi.is-pink {
  background: linear-gradient(160deg, #1b1017, #0e0e15);
  border-color: rgba(236, 72, 153, 0.28);
}
.tx-kpi.is-violet {
  background: linear-gradient(160deg, #13101d, #0e0e15);
  border-color: rgba(139, 92, 246, 0.28);
}
.tx-kpi .l { font-size: 13px; color: var(--tx-muted); }
.tx-kpi .n {
  font-family: var(--tx-mono);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.tx-kpi .s { font-family: var(--tx-mono); font-size: 11.5px; color: #8A8A99; margin-top: 8px; }
.tx-kpi .s.up { color: var(--tx-green); }
.tx-kpi .s.down { color: var(--tx-pink); }

.tx-panel {
  border-radius: 16px;
  background: var(--tx-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.tx-panel-h {
  padding: 20px 24px;
  border-bottom: 1px solid var(--tx-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
}
.tx-panel-h a { font-family: var(--tx-mono); font-size: 11.5px; }
.tx-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.tx-split-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; }

.tx-bars { height: 190px; display: flex; align-items: flex-end; gap: 8px; }
.tx-bar-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.tx-bar {
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #A78BFA, #7C3AED);
  box-shadow: 0 0 14px -4px rgba(139, 92, 246, 0.8);
  min-height: 4px;
}
.tx-bar.is-pink {
  background: linear-gradient(180deg, #F472B6, #BE185D);
  box-shadow: 0 0 14px -4px rgba(236, 72, 153, 0.8);
}
.tx-bar-l { font-family: var(--tx-mono); font-size: 9.5px; color: var(--tx-faint); }

.tx-badge {
  font-family: var(--tx-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 7px;
  white-space: nowrap;
}
.tx-badge-live { color: #34D399; border: 1px solid rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.08); }
.tx-badge-wait { color: #F59E0B; border: 1px solid rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.08); }
.tx-badge-off { color: #9A9AAB; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); }
.tx-badge-bad { color: #F87171; border: 1px solid rgba(248, 113, 113, 0.3); background: rgba(248, 113, 113, 0.08); }

.flash {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--tx-line);
  background: var(--tx-panel);
}
.flash-ok { border-color: rgba(52, 211, 153, 0.3); color: var(--tx-green); }
.flash-bad { border-color: rgba(248, 113, 113, 0.3); color: #F87171; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.table th {
  text-align: left;
  font-family: var(--tx-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--tx-faint);
  font-weight: 500;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  color: #D6D6E0;
}
.table a { color: var(--tx-ink); font-weight: 600; }
.table a:hover { color: var(--tx-pink); }
.num { text-align: right; font-family: var(--tx-mono); }

.form { max-width: 40rem; display: grid; gap: 0.85rem; }
.form label { display: grid; gap: 0.25rem; font-size: 13px; color: var(--tx-muted); }
.form input[type="text"], .form input[type="email"], .form input[type="password"],
.form input[type="number"], .form input[type="url"], .form input[type="datetime-local"],
.form textarea, .form select {
  font: inherit;
  padding: 13px 15px;
  border-radius: 11px;
  background: var(--tx-panel-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--tx-ink);
}
.btn, button:not(.tx-btn):not(.tx-switch button):not(.tx-niche button):not(.tx-role):not(.tx-pw-toggle):not(.tx-signout):not(.tx-side-link):not(.tx-seg-btn):not(.tx-copy):not(.tx-density),
input[type="submit"] {
  font: inherit;
  font-weight: 600;
  background: var(--tx-grad);
  color: #fff;
  border: 0;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 10px;
}
.btn.ghost, button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx-ink);
  border: 1px solid var(--tx-line-strong);
}
.toolbar { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.toolbar h1 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.muted { color: var(--tx-muted); }
.sold { color: var(--tx-green); }
.house { color: #F59E0B; }
.mono { font-family: var(--tx-mono); font-size: 0.88em; }
.snippet {
  background: #0c0c12;
  color: #e8eef6;
  padding: 1rem;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid var(--tx-line);
  font-family: var(--tx-mono);
}
.stack { display: grid; gap: 1rem; }
.row { display: flex; gap: 1rem; flex-wrap: wrap; }

.tx-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tx-grid-row {
  display: grid;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tx-grid-head {
  display: grid;
  font-family: var(--tx-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--tx-faint);
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  .tx-topnav-links { display: none; }
  .tx-app { flex-direction: column; }
  .tx-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: 0;
    border-bottom: 1px solid var(--tx-line);
  }
  .tx-side-nav { flex-direction: row; flex-wrap: wrap; }
  .tx-side-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Beta waitlist */
.tx-waitlist { max-width: 640px; margin: 34px auto 0; scroll-margin-top: 90px; }
.tx-waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tx-waitlist-form .tx-input { flex: 1 1 220px; width: auto; }
.tx-waitlist-form .tx-waitlist-select { flex: 0 1 170px; }
.tx-waitlist-form .tx-btn { flex: 0 0 auto; }
.tx-waitlist-note { margin: 14px 0 0; font-size: 13px; color: var(--tx-dim); text-align: center; }
.tx-waitlist-ok { margin: 0; padding: 16px 18px; border-radius: 12px; text-align: center; color: var(--tx-green); border: 1px solid rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.06); }
.tx-waitlist .tx-errors { text-align: center; }
.tx-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
