:root {
  --landing-bg: #0a0a0f;
  --landing-bg-soft: #10111a;
  --landing-panel: #121521;
  --landing-panel-light: #171b2a;
  --landing-line: rgba(255, 255, 255, 0.11);
  --landing-line-soft: rgba(255, 255, 255, 0.07);
  --landing-muted: #8d91a6;
  --landing-soft: #b9bdca;
  --landing-white: #f7f8fc;
  --landing-blue: #3c64ff;
  --landing-blue-soft: #5c7dff;
  --landing-cyan: #54c9d4;
  --landing-violet: #876aff;
  --landing-green: #51d5b0;
  --landing-red: #f086a8;
}

html {
  scroll-behavior: smooth;
  background: var(--landing-bg);
}

body.landing-page-v2 {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--landing-white);
  background:
    radial-gradient(circle at 50% 8%, rgba(41, 62, 134, 0.11), transparent 28rem),
    var(--landing-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  font-kerning: normal;
  font-synthesis: none;
}

.landing-page-v2 *,
.landing-page-v2 *::before,
.landing-page-v2 *::after {
  box-sizing: border-box;
}

.landing-page-v2 button,
.landing-page-v2 input,
.landing-page-v2 select {
  font: inherit;
}

.landing-page-v2 button {
  border: 0;
}

.landing-page-v2 button,
.landing-page-v2 a {
  -webkit-tap-highlight-color: transparent;
}

.landing-page-v2 a {
  color: inherit;
  text-decoration: none;
}

.section-wrap {
  width: min(1160px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.landing-nav {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1150px, calc(100% - 72px));
  min-height: 94px;
  transform: translateX(-50%);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  color: var(--landing-white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.wordmark-mark {
  width: 15px;
  height: 15px;
  background: var(--landing-blue);
  box-shadow: 0 0 25px rgba(60, 100, 255, 0.55);
  transform: rotate(45deg);
}

.wordmark-ai {
  color: var(--landing-cyan);
}

.landing-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 46px);
  color: #989aaa;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.006em;
}

.landing-menu a,
.more-trigger,
.login-link,
.nav-menu-trigger {
  transition: color 180ms ease, opacity 180ms ease;
}

.landing-menu a:hover,
.more-trigger:hover,
.login-link:hover,
.nav-menu-trigger:hover {
  color: var(--landing-white);
}

.more-trigger,
.login-link,
.nav-menu-trigger,
.login-link,
.nav-signup,
.nav-toggle {
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-menu-group {
  position: relative;
}

.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.nav-menu-trigger span,
.more-trigger span {
  font-size: 11px;
}

.more-trigger {
  padding: 0;
}

.nav-dropdown {
  position: absolute;
  top: 32px;
  left: 50%;
  display: grid;
  min-width: 242px;
  padding: 8px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: rgba(20, 22, 32, 0.98);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.nav-dropdown[hidden] {
  display: none;
}

.nav-dropdown button,
.nav-dropdown a {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--landing-white);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.nav-dropdown button:hover,
.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown small {
  color: var(--landing-muted);
  font-size: 11px;
}

.more-menu {
  right: -20px;
  left: auto;
  min-width: 180px;
  transform: none;
}

.landing-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 26px;
  color: #9ca0b0;
  font-size: 16px;
  letter-spacing: 0.006em;
}

.nav-signup {
  min-height: 48px;
  padding: 0 23px;
  border-radius: 7px;
  color: #fff;
  background: var(--landing-blue);
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-signup:hover {
  background: #5477ff;
  box-shadow: 0 10px 28px rgba(60, 100, 255, 0.26);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  letter-spacing: 0.006em;
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
}

.nav-toggle-icon i {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 750px;
  place-items: center;
  padding: 138px 24px 190px;
  isolation: isolate;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10, 10, 15, 0.38), rgba(10, 10, 15, 0.64) 62%, var(--landing-bg) 100%),
    linear-gradient(90deg, rgba(10, 10, 15, 0.82), rgba(10, 10, 15, 0.15) 72%, rgba(10, 10, 15, 0.32)),
    url("/static/market-hero.png") 67% center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgba(39, 78, 196, 0.12), transparent 29rem),
    linear-gradient(180deg, transparent 66%, var(--landing-bg) 100%);
  pointer-events: none;
}

.hero-content {
  width: min(1040px, 100%);
  text-align: center;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 19px;
  color: var(--landing-cyan);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--landing-white);
  font-size: 6.75rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  background: linear-gradient(100deg, #416bff, #398fe2 53%, #55c8ce);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 720px;
  margin: 30px auto 0;
  color: #b8bac7;
  font-size: 1.15rem;
  line-height: 1.62;
  letter-spacing: 0.006em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.008em;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button-primary {
  color: #fff;
  background: var(--landing-blue);
  box-shadow: 0 12px 32px rgba(60, 100, 255, 0.22);
  cursor: pointer;
}

.button-primary:hover {
  background: #5477ff;
  box-shadow: 0 16px 38px rgba(60, 100, 255, 0.34);
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid var(--landing-line);
  color: var(--landing-white);
  background: rgba(10, 10, 15, 0.28);
  cursor: pointer;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.hero-note {
  margin: 20px 0 0;
  color: #707486;
  font-size: 14px;
  letter-spacing: 0.006em;
}

.hero-scroll {
  position: absolute;
  bottom: 46px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #707488;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--landing-cyan), transparent);
}

.hero-showcase {
  position: relative;
  z-index: 2;
  margin-top: -142px;
}

.showcase-window,
.workspace-window {
  overflow: hidden;
  border: 1px solid rgba(104, 134, 255, 0.3);
  border-radius: 12px;
  background: rgba(15, 18, 29, 0.94);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46), 0 0 90px rgba(45, 80, 210, 0.1);
}

.showcase-toolbar,
.workspace-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--landing-line-soft);
  background: rgba(255, 255, 255, 0.025);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6380ff;
}

.window-dots i:nth-child(2) {
  background: #58bad7;
}

.window-dots i:nth-child(3) {
  background: #9083d4;
}

.window-title {
  color: #858ba1;
  font-size: 13px;
  letter-spacing: 0.006em;
}

.window-title span {
  padding: 0 5px;
  color: #555b6c;
}

.window-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: #8791ad;
  font-size: 12px;
}

.window-live i,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--landing-green);
  box-shadow: 0 0 12px rgba(81, 213, 176, 0.75);
}

.showcase-stage {
  position: relative;
  height: 470px;
  overflow: hidden;
}

.showcase-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.83;
}

.showcase-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 19, 0.93), rgba(7, 10, 19, 0.13) 65%),
    linear-gradient(0deg, rgba(7, 10, 19, 0.82), transparent 50%);
}

.showcase-copy {
  position: absolute;
  top: 19%;
  left: 7%;
  max-width: 460px;
}

.showcase-label {
  margin: 0 0 14px;
  color: #69ccd2;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-copy h2 {
  margin: 0;
  color: #f2f4ff;
  font-size: 3.875rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.showcase-copy p:last-child {
  max-width: 390px;
  margin: 22px 0 0;
  color: #a9afc2;
  font-size: 16px;
  line-height: 1.65;
}

.showcase-market-card {
  position: absolute;
  right: 6%;
  bottom: 9%;
  width: min(350px, 38%);
  padding: 17px;
  border: 1px solid rgba(116, 147, 248, 0.35);
  border-radius: 8px;
  background: rgba(11, 16, 31, 0.86);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.showcase-market-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.showcase-market-card span,
.showcase-card-footer {
  color: #8490ae;
  font-size: 11px;
}

.showcase-market-card strong {
  color: #f3f5ff;
  font-size: 19px;
}

.showcase-market-card > b {
  display: block;
  margin-top: 4px;
  text-align: right;
  font-size: 12px;
}

.positive,
.showcase-market-card em,
.screener-row em,
.mover-change.positive {
  color: var(--landing-green) !important;
  font-style: normal;
}

.showcase-sparkline {
  height: 80px;
  margin: 15px 0 10px;
}

.showcase-sparkline svg {
  width: 100%;
  height: 100%;
}

.showcase-chart-area {
  fill: url(#showcase-area);
}

.showcase-chart-line {
  fill: none;
  stroke: url(#showcase-line);
  stroke-linecap: round;
  stroke-width: 3;
}

.showcase-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.showcase-card-footer strong {
  color: #9fe2d4;
  font-size: 11px;
}

.showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 20px;
  color: #858ba0;
  font-size: 12px;
}

.showcase-footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.showcase-footer button,
.text-link {
  padding: 0;
  color: #bdd0ff;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.showcase-footer button:hover,
.text-link:hover {
  color: #fff;
}

.ticker-bar {
  display: flex;
  align-items: stretch;
  min-height: 50px;
  margin-top: 55px;
  overflow: hidden;
  border-top: 1px solid var(--landing-line-soft);
  border-bottom: 1px solid var(--landing-line-soft);
  color: #a0a6b7;
  background: rgba(255, 255, 255, 0.018);
}

.ticker-lead {
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 0 23px;
  border-right: 1px solid var(--landing-line-soft);
  color: #697288;
  background: var(--landing-bg);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.ticker-lead i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--landing-green);
  box-shadow: 0 0 12px rgba(81, 213, 176, 0.75);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  min-width: max-content;
  padding: 0 30px;
  animation: ticker-scroll 34s linear infinite;
  font-size: 12px;
}

.ticker-track span {
  white-space: nowrap;
}

.ticker-track b {
  padding-left: 6px;
  color: #dfe4f5;
  font-weight: 600;
}

.ticker-track em {
  padding-left: 7px;
  color: var(--landing-green);
  font-style: normal;
}

.ticker-track strong {
  padding-left: 7px;
  color: var(--landing-red);
  font-weight: 500;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-32%);
  }
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(46px, 8vw, 120px);
  padding-top: 150px;
  padding-bottom: 30px;
}

.feature-section-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.feature-section-reverse .feature-copy {
  order: 2;
}

.feature-section-reverse .feature-visual {
  order: 1;
}

.feature-copy h2,
.section-heading h2,
.workspace-heading h2,
.final-cta h2 {
  max-width: 620px;
  margin: 0;
  color: #eef1fb;
  font-size: 4.5rem;
  font-weight: 650;
  letter-spacing: -0.028em;
  line-height: 1.04;
}

.feature-copy > p:not(.section-kicker) {
  max-width: 520px;
  margin: 25px 0 0;
  color: #9ea4b5;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.004em;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 29px 0 27px;
  padding: 0;
  color: #c4c8d5;
  list-style: none;
  font-size: 14px;
  line-height: 1.55;
}

.feature-list li::before {
  content: "→";
  padding-right: 10px;
  color: var(--landing-cyan);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.feature-visual {
  min-width: 0;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(111, 139, 232, 0.24);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(20, 26, 45, 0.98), rgba(11, 13, 21, 0.96));
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.27);
}

.chart-visual {
  position: relative;
  padding-top: 51px;
}

.visual-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 51px;
  padding: 0 19px;
  border-bottom: 1px solid var(--landing-line-soft);
  color: #8c97b2;
  font-size: 11px;
}

.visual-toolbar span:first-child {
  color: #e3e7f5;
}

.chart-visual svg {
  display: block;
  width: 100%;
  height: 320px;
}

.visual-grid path {
  fill: none;
  stroke: rgba(106, 132, 196, 0.16);
  stroke-dasharray: 4 7;
}

.visual-area {
  fill: rgba(61, 105, 255, 0.18);
}

.visual-line {
  fill: none;
  stroke: url(#line-fill-v2);
  stroke-linecap: round;
  stroke-width: 4;
}

.visual-point {
  fill: #59d0d8;
  stroke: #1a2e6f;
  stroke-width: 5;
}

.chart-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 16px;
  color: #8790a8;
  font-size: 12px;
}

.chart-caption b {
  color: #9be2d4;
  font-weight: 600;
}

.ai-visual {
  padding: 26px;
}

.ai-visual-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-orb {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #d7e0ff;
  background: linear-gradient(145deg, #466cff, #54c9d4);
  box-shadow: 0 0 30px rgba(76, 127, 255, 0.3);
}

.ai-visual-head div {
  display: grid;
  gap: 5px;
}

.ai-visual-head small,
.ai-evidence > span {
  color: #76829d;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ai-visual-head strong {
  color: #edf1ff;
  font-size: 16px;
}

.ai-visual-head > b {
  margin-left: auto;
  color: #a1e0d3;
  font-size: 14px;
}

.ai-signal-block {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  padding: 20px;
  border-left: 2px solid var(--landing-cyan);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(100deg, rgba(60, 100, 255, 0.18), rgba(84, 201, 212, 0.05));
}

.ai-signal-block span,
.ai-evidence > span {
  color: #7c88a3;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ai-signal-block strong {
  color: #6bdfbf;
  font-size: 25px;
}

.ai-signal-block p {
  margin: 0;
  color: #a9b1c6;
  font-size: 13px;
  line-height: 1.55;
}

.ai-evidence {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.ai-evidence > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--landing-line-soft);
  color: #d2d7e6;
  font-size: 12px;
}

.ai-evidence small {
  color: #737e98;
}

.code-visual {
  position: relative;
  display: grid;
  min-height: 416px;
  grid-template-rows: auto 1fr auto;
  padding: 0;
  background: #0e111a;
}

.code-window-bar {
  display: flex;
  justify-content: space-between;
  padding: 16px 19px;
  border-bottom: 1px solid var(--landing-line-soft);
  color: #7b86a1;
  font-size: 11px;
}

.code-window-bar span:first-child {
  color: #d1d8ec;
}

.code-visual pre {
  margin: 0;
  padding: 26px 24px 20px;
  overflow: auto;
  color: #aeb7cf;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.code-purple {
  color: #a78aff;
}

.code-blue {
  color: #70c6ff;
}

.code-green {
  color: #5fd8b3;
}

.code-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 19px;
  border-top: 1px solid var(--landing-line-soft);
  color: #8290ad;
  font-size: 11px;
}

.code-result strong {
  color: #65dcb8;
  font-size: 17px;
}

.code-result small {
  margin-left: auto;
  color: #6e7992;
}

.community-visual {
  position: relative;
  min-height: 420px;
}

.community-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.72;
}

.community-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.05), rgba(10, 12, 20, 0.86));
}

.community-visual-overlay {
  position: absolute;
  right: 24px;
  bottom: 23px;
  left: 24px;
  z-index: 1;
}

.community-visual-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9ca8c0;
  font-size: 11px;
}

.community-visual-top b {
  color: #6bdfbf;
  font-weight: 600;
}

.community-visual h3 {
  margin: 16px 0 8px;
  color: #f0f3fd;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.community-visual p {
  margin: 0;
  color: #99a2b7;
  font-size: 12px;
}

.community-visual-line {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 42px;
  margin-top: 18px;
}

.community-visual-line i {
  width: 13px;
  height: 20px;
  border-radius: 2px 2px 0 0;
  background: rgba(84, 201, 212, 0.55);
}

.community-visual-line i:nth-child(2) {
  height: 29px;
}

.community-visual-line i:nth-child(3) {
  height: 17px;
}

.community-visual-line i:nth-child(4) {
  height: 36px;
}

.community-visual-line i:nth-child(5) {
  height: 27px;
}

.community-visual-line i:nth-child(6) {
  height: 42px;
  background: #5875ff;
}

.community-inline {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: -5px;
}

.community-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--landing-line-soft);
}

.community-tab {
  padding: 0 0 10px;
  border-bottom: 2px solid transparent;
  color: #717b93;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.community-tab.is-active,
.community-tab:hover {
  border-color: var(--landing-cyan);
  color: #eef2ff;
}

.community-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.community-item {
  padding: 17px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

.community-item.blue {
  background: linear-gradient(135deg, rgba(60, 100, 255, 0.15), rgba(255, 255, 255, 0.02));
}

.community-item.violet {
  background: linear-gradient(135deg, rgba(135, 106, 255, 0.14), rgba(255, 255, 255, 0.02));
}

.community-item.cyan {
  background: linear-gradient(135deg, rgba(84, 201, 212, 0.12), rgba(255, 255, 255, 0.02));
}

.community-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #79849e;
  font-size: 11px;
}

.community-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--landing-cyan);
}

.community-item h3 {
  margin: 19px 0 8px;
  color: #e3e8f8;
  font-size: 16px;
  line-height: 1.38;
}

.community-item p {
  margin: 0;
  color: #7e89a2;
  font-size: 13px;
}

.community-item button {
  margin-top: 18px;
  padding: 0;
  color: #b8caff;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.community-item button span {
  padding-left: 5px;
}

.screener-visual {
  padding: 20px;
}

.screener-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--landing-line-soft);
  color: #e4e8f5;
  font-size: 16px;
}

.screener-heading small {
  color: #77839d;
  font-size: 11px;
}

.screener-table {
  display: grid;
}

.screener-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr 0.65fr;
  gap: 10px;
  align-items: center;
  min-height: 47px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #aeb7c9;
  font-size: 13px;
}

.screener-row b {
  color: #e4e8f5;
  font-weight: 600;
}

.screener-row em,
.screener-row i {
  font-style: normal;
}

.screener-row i,
.mover-change.negative {
  color: var(--landing-red);
}

.screener-row strong {
  color: #5cdbb9;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.screener-row strong.hold {
  color: #e2c66e;
}

.screener-row strong.sell {
  color: #ec86aa;
}

.screener-head {
  min-height: 39px;
  border-bottom-color: var(--landing-line);
  color: #6d7893;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.workspace-section {
  padding-top: 152px;
}

.workspace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}

.workspace-heading h2 {
  max-width: 580px;
}

.workspace-heading > p {
  max-width: 340px;
  margin: 0;
  color: #8f96a9;
  font-size: 14px;
  line-height: 1.55;
}

.workspace-body {
  display: grid;
  grid-template-columns: 177px minmax(0, 1fr);
  min-height: 555px;
}

.workspace-sidebar {
  padding: 24px 13px;
  border-right: 1px solid var(--landing-line-soft);
  background: rgba(7, 9, 15, 0.55);
}

.workspace-brand {
  padding: 0 10px 28px;
  color: #e9edff;
  font-size: 18px;
  font-weight: 700;
}

.workspace-brand span {
  color: var(--landing-cyan);
}

.workspace-side-label {
  padding: 0 10px 10px;
  color: #596581;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.workspace-side-item {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  margin-bottom: 3px;
  padding: 0 10px;
  border-radius: 5px;
  color: #7f89a1;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  text-align: left;
}

.workspace-side-item:hover,
.workspace-side-item.active {
  color: #e2e9ff;
  background: rgba(60, 100, 255, 0.18);
}

.workspace-side-item span {
  color: #6d83ff;
}

.workspace-main {
  min-width: 0;
  padding: 30px 34px 25px;
}

.workspace-panels {
  min-height: 500px;
}

.workspace-panel {
  display: none;
}

.workspace-panel.is-active {
  display: block;
  animation: workspace-in 220ms ease both;
}

@keyframes workspace-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.workspace-main-head,
.panel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.workspace-overline {
  margin: 0 0 7px;
  color: #687592;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.workspace-main h3,
.panel-title-row h3 {
  max-width: 650px;
  margin: 0;
  color: #eef2ff;
  font-size: 2rem;
  letter-spacing: -0.018em;
  line-height: 1.08;
}

.workspace-price {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.workspace-price strong {
  color: #f3f5ff;
  font-size: 25px;
}

.workspace-price span {
  color: var(--landing-green);
  font-size: 13px;
}

.market-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.symbol-search {
  flex: 1 1 145px;
}

.symbol-search input,
.backtest-form select,
.watchlist-add input,
.account-dialog input {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(116, 145, 224, 0.24);
  border-radius: 5px;
  outline: none;
  color: #dfe6fb;
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}

.symbol-search input:focus,
.backtest-form select:focus,
.watchlist-add input:focus,
.account-dialog input:focus {
  border-color: rgba(91, 130, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(58, 97, 255, 0.14);
}

.symbol-chip,
.symbol-load,
.chart-meta button {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(116, 145, 224, 0.2);
  border-radius: 5px;
  color: #7f8ba7;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 11px;
}

.symbol-chip.active,
.symbol-chip:hover,
.symbol-load:hover {
  border-color: rgba(84, 198, 216, 0.44);
  color: #e1ecff;
  background: rgba(58, 97, 255, 0.14);
}

.chart-meta {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.chart-meta button {
  min-height: 0;
  padding: 0;
  border: 0;
  color: #667493;
  background: transparent;
}

.chart-meta button.selected,
.chart-meta button:hover {
  color: #e3eaff;
}

.market-chart {
  position: relative;
  height: 300px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.market-chart svg {
  width: 100%;
  height: 100%;
}

.chart-grid path {
  fill: none;
  stroke: rgba(102, 134, 199, 0.15);
  stroke-dasharray: 4 8;
}

.chart-area {
  fill: url(#area-fill-v2);
}

.chart-line {
  fill: none;
  stroke: url(#line-fill-v2);
  stroke-linecap: round;
  stroke-width: 4;
}

.chart-point {
  fill: #55d0da;
  stroke: #132c70;
  stroke-width: 4;
}

.chart-tooltip {
  position: absolute;
  top: 10%;
  right: 7%;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 11px 12px;
  border: 1px solid rgba(98, 130, 232, 0.28);
  border-radius: 7px;
  background: rgba(15, 23, 45, 0.86);
}

.chart-tooltip span {
  color: #7d8eba;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-tooltip strong {
  color: #f0f4ff;
  font-size: 12px;
}

.chart-tooltip small {
  color: #55d0da;
  font-size: 11px;
}

.workspace-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding-top: 19px;
}

.workspace-stats div {
  display: grid;
  gap: 6px;
}

.workspace-stats span {
  color: #66738f;
  font-size: 11px;
}

.workspace-stats strong {
  color: #dde4f7;
  font-size: 15px;
}

.mini-cta {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(89, 122, 255, 0.32);
  border-radius: 5px;
  color: #c8d4ff;
  background: rgba(58, 97, 255, 0.12);
  cursor: pointer;
  font-size: 12px;
}

.mini-cta.subtle {
  color: #9ed8e5;
  background: rgba(84, 198, 216, 0.08);
}

.brief-badge {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(84, 198, 216, 0.24);
  border-radius: 999px;
  color: #7fd4db;
  background: rgba(84, 198, 216, 0.08);
  font-size: 11px;
}

.brief-hero {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  padding: 20px;
  border-left: 2px solid var(--landing-cyan);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(100deg, rgba(58, 97, 255, 0.14), rgba(84, 198, 216, 0.04));
}

.brief-label {
  color: #7385ae;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brief-hero strong {
  color: #6cdebf;
  font-size: 27px;
}

.brief-hero p {
  max-width: 620px;
  margin: 0;
  color: #a9b3cb;
  font-size: 14px;
  line-height: 1.55;
}

.brief-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  margin-top: 24px;
}

.brief-columns ul {
  display: grid;
  gap: 10px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.brief-columns li {
  color: #9ea9c0;
  font-size: 13px;
}

.brief-columns li::before {
  content: "✓";
  padding-right: 8px;
  color: #52d1b2;
}

.source-trail {
  display: grid;
  align-content: start;
  gap: 10px;
}

.source-trail > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--landing-line-soft);
  color: #cbd4eb;
  font-size: 12px;
}

.source-trail small {
  color: #667493;
}

.panel-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.backtest-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin-top: 28px;
}

.backtest-form label {
  display: grid;
  gap: 7px;
  color: #7385ae;
  font-size: 10px;
  text-transform: uppercase;
}

.backtest-form select {
  color-scheme: dark;
}

.backtest-result {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

.result-placeholder {
  display: grid;
  gap: 7px;
}

.result-placeholder strong {
  color: #e7ebf7;
  font-size: 16px;
}

.result-placeholder span,
.panel-disclaimer {
  color: #76819b;
  font-size: 12px;
}

.panel-disclaimer {
  margin: 14px 0 0;
  line-height: 1.45;
}

.result-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.result-header > div {
  display: grid;
  gap: 6px;
}

.result-header strong {
  color: #e8edf9;
  font-size: 14px;
}

.result-positive {
  color: #69dcb7;
  font-size: 22px;
  font-weight: 700;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.result-metrics div {
  display: grid;
  gap: 5px;
}

.result-metrics span {
  color: #707c97;
  font-size: 11px;
}

.result-metrics strong {
  color: #d9e1f2;
  font-size: 14px;
}

.result-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 75px;
  margin-top: 20px;
}

.result-bars i {
  flex: 1;
  min-width: 5px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #5d79ff, #4fbbb9);
}

.result-note {
  display: block;
  margin-top: 12px;
  color: #69748d;
  font-size: 11px;
}

.watchlist-add {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.watchlist-add input {
  flex: 1;
}

.watchlist-list {
  display: grid;
  gap: 0;
  margin-top: 21px;
}

.watchlist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--landing-line-soft);
}

.watchlist-row > div:first-child {
  display: grid;
  gap: 5px;
}

.watchlist-row strong {
  color: #e1e7f7;
  font-size: 13px;
}

.watchlist-row small {
  color: #6f7b96;
  font-size: 11px;
}

.watchlist-row > div:last-child {
  display: flex;
  gap: 10px;
}

.watchlist-open,
.watchlist-remove {
  padding: 0;
  color: #aec0f2;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.watchlist-remove {
  color: #e38ba8;
  font-size: 18px;
  line-height: 1;
}

.movers-section,
.stats-section,
.pricing-section {
  padding-top: 155px;
}

.section-heading {
  max-width: 730px;
}

.centered-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin-right: auto;
  margin-left: auto;
}

.section-heading h2 span {
  background: linear-gradient(100deg, #4970ff, #55c9d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading > p:not(.section-kicker) {
  max-width: 610px;
  margin: 22px auto 0;
  color: #959dae;
  font-size: 15px;
  line-height: 1.55;
}

.movers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.mover-card {
  padding: 24px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(18, 22, 34, 0.95), rgba(11, 13, 20, 0.94));
}

.mover-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--landing-line-soft);
}

.mover-heading h3 {
  margin: 0;
  color: #edf1fc;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.mover-heading h3 span {
  padding-left: 4px;
  color: var(--landing-cyan);
}

.mover-toggle {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 5px;
}

.mover-toggle button {
  padding: 5px 8px;
  border-radius: 4px;
  color: #71809a;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.mover-toggle button.is-active,
.mover-toggle button:hover {
  color: #f0f3ff;
  background: rgba(60, 100, 255, 0.25);
}

.movers-list {
  display: grid;
}

.mover-row {
  display: grid;
  grid-template-columns: 30px 1.35fr 0.8fr 0.6fr;
  gap: 10px;
  align-items: center;
  min-height: 53px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.mover-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #dbe4ff;
  background: linear-gradient(145deg, #3f62ff, #56beca);
  font-size: 10px;
  font-weight: 700;
}

.mover-row:nth-child(2n) .mover-icon {
  background: linear-gradient(145deg, #7054d9, #54b6d1);
}

.mover-name {
  display: grid;
  gap: 2px;
}

.mover-name strong {
  color: #e2e7f5;
  font-size: 13px;
}

.mover-name small {
  color: #6e7992;
  font-size: 11px;
}

.mover-price {
  color: #bfc7d8;
  font-size: 13px;
}

.mover-change {
  justify-self: end;
  font-size: 13px;
}

.mover-card > .text-link {
  margin-top: 20px;
  color: #9eb7ff;
  font-size: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 52px;
  padding: 28px 0;
  border-top: 1px solid var(--landing-line-soft);
  border-bottom: 1px solid var(--landing-line-soft);
}

.stats-grid div {
  display: grid;
  gap: 9px;
  min-height: 80px;
  padding: 0 20px;
  border-right: 1px solid var(--landing-line-soft);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  color: #f0f3fd;
  font-size: 38px;
  letter-spacing: -0.02em;
}

.stats-grid span {
  color: #858da2;
  font-size: 13px;
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 25px;
  padding: 4px;
  border: 1px solid var(--landing-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
}

.billing-toggle button {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 5px;
  color: #71809e;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.billing-toggle button.is-active,
.billing-toggle button:hover {
  color: #f0f3ff;
  background: rgba(58, 97, 255, 0.26);
}

.billing-toggle span {
  padding-left: 4px;
  color: #5ad6bf;
}

.pricing-grid {
  display: grid;
  gap: 12px;
  margin-top: 47px;
}

.pricing-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 455px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--landing-line-soft);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(18, 22, 32, 0.98), rgba(11, 14, 21, 0.94));
}

.plan-card.featured {
  border-color: rgba(78, 119, 255, 0.62);
  background:
    radial-gradient(circle at 90% 0%, rgba(58, 97, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(24, 34, 68, 0.96), rgba(11, 14, 21, 0.98));
  box-shadow: 0 22px 70px rgba(46, 79, 198, 0.15);
}

.plan-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 7px;
  border-radius: 999px;
  color: #96baff;
  background: rgba(58, 97, 255, 0.18);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-name {
  margin: 0;
  color: #f0f3ff;
  font-size: 19px;
  font-weight: 720;
}

.plan-copy {
  min-height: 58px;
  margin: 13px 0 23px;
  color: #7d88a1;
  font-size: 14px;
  line-height: 1.58;
}

.plan-price {
  display: block;
  color: #f3f5ff;
  font-size: 39px;
  letter-spacing: -0.03em;
}

.plan-price small {
  color: #71809e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-card ul {
  display: grid;
  flex: 1;
  gap: 11px;
  margin: 24px 0 0;
  padding: 19px 0 0;
  border-top: 1px solid var(--landing-line-soft);
  color: #a4aec3;
  list-style: none;
  font-size: 13px;
  line-height: 1.45;
}

.plan-card li::before {
  content: "✓";
  padding-right: 8px;
  color: #55d1b4;
}

.plan-card .button {
  width: 100%;
  min-height: 47px;
  margin-top: 24px;
  padding: 0 14px;
  font-size: 14px;
}

.pricing-note {
  margin: 21px 0 0;
  color: #68738c;
  font-size: 13px;
  text-align: center;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 150px;
  padding: 62px clamp(28px, 6vw, 76px);
  border: 1px solid rgba(82, 124, 255, 0.31);
  border-radius: 11px;
  background:
    radial-gradient(circle at 84% 18%, rgba(58, 97, 255, 0.22), transparent 30%),
    linear-gradient(120deg, #121a31, #0d121e);
}

.final-cta h2 {
  font-size: 3.875rem;
}

.final-cta h2 span {
  color: #6ed1d1;
}

.final-cta > div > p:last-child {
  margin: 19px 0 0;
  color: #a3abc0;
  font-size: 14px;
}

.final-cta .button {
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 35px;
  margin-top: 92px;
  padding-top: 48px;
  padding-bottom: 34px;
  border-top: 1px solid var(--landing-line-soft);
}

.footer-brand p {
  max-width: 220px;
  margin: 20px 0 0;
  color: #777f96;
  font-size: 12px;
  line-height: 1.55;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 5px;
  color: #e0e5f2;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  color: #7a8398;
  font-size: 13px;
}

.footer-column a:hover {
  color: #e6ebfb;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.6fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--landing-line-soft);
  color: #626b80;
  font-size: 10px;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 13px;
}

.footer-socials a {
  color: #8d98b3;
  font-size: 14px;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 4, 8, 0.72);
  backdrop-filter: blur(10px);
}

.account-modal[hidden],
.demo-toast[hidden] {
  display: none;
}

.account-dialog {
  position: relative;
  width: min(480px, 100%);
  padding: 34px;
  border: 1px solid rgba(91, 130, 255, 0.35);
  border-radius: 12px;
  background: linear-gradient(145deg, #151d32, #0e121c);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.5);
}

.account-dialog h2 {
  max-width: 340px;
  margin: 0;
  color: #f0f3ff;
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: #c4d0fb;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-size: 21px;
}

.dialog-copy {
  margin: 17px 0 22px;
  color: #8591ad;
  font-size: 14px;
  line-height: 1.5;
}

.account-switcher {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--landing-line);
}

.account-switcher button {
  padding: 0 0 11px;
  border-bottom: 2px solid transparent;
  color: #74819d;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.account-switcher button.is-active {
  border-color: var(--landing-cyan);
  color: #f0f3ff;
}

.account-dialog form {
  display: grid;
  gap: 13px;
}

.account-dialog label {
  display: grid;
  gap: 7px;
  color: #9ca8c1;
  font-size: 12px;
}

.account-dialog label[hidden] {
  display: none;
}

.account-dialog input {
  min-height: 46px;
}

.account-dialog .button {
  width: 100%;
  margin-top: 4px;
}

.dialog-footnote {
  margin: 17px 0 0;
  color: #65718c;
  font-size: 11px;
  line-height: 1.45;
}

.demo-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: min(400px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid rgba(81, 130, 255, 0.42);
  border-radius: 9px;
  background: rgba(17, 23, 38, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.demo-toast strong {
  display: block;
  color: #f3f5ff;
  font-size: 14px;
}

.demo-toast p {
  margin: 6px 0 0;
  color: #9ca7c5;
  font-size: 13px;
  line-height: 1.45;
}

.demo-toast button {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 6px;
  color: #b8c3e3;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  font-size: 20px;
}

.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;
}

@media (max-width: 980px) {
  .landing-nav {
    width: min(100% - 40px, 1150px);
  }

  .landing-menu {
    gap: 22px;
    font-size: 13px;
  }

  .landing-actions {
    gap: 15px;
    font-size: 13px;
  }

  .feature-section,
  .feature-section-reverse {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .feature-section-reverse .feature-copy,
  .feature-section-reverse .feature-visual {
    order: initial;
  }

  .community-inline {
    margin-top: 0;
  }

  .pricing-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .section-wrap {
    width: min(100% - 28px, 1160px);
  }

  .landing-nav {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: calc(100% - 28px);
    min-height: 72px;
    padding-top: 17px;
  }

  .wordmark {
    gap: 11px;
    font-size: 20px;
  }

  .wordmark-mark {
    width: 14px;
    height: 14px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .landing-menu {
    order: 3;
    display: none;
    width: 100%;
    margin-top: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--landing-line);
    border-bottom: 1px solid var(--landing-line);
    background: rgba(9, 11, 16, 0.97);
  }

  .landing-menu.is-open {
    display: grid;
    justify-items: start;
    gap: 0;
  }

  .landing-menu a,
  .more-trigger,
  .nav-menu-group,
  .nav-menu-trigger {
    width: 100%;
    padding: 11px 4px;
    text-align: left;
  }

  .nav-menu-trigger {
    justify-content: flex-start;
  }

  .landing-menu .nav-dropdown {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .landing-menu .nav-dropdown button,
  .landing-menu .nav-dropdown a {
    width: 100%;
    padding: 9px 4px;
  }

  .landing-actions {
    display: none;
    order: 4;
    width: 100%;
    justify-content: space-between;
    padding: 13px 0 2px;
  }

  .landing-nav.menu-open .landing-actions {
    display: flex;
  }

  .hero {
    min-height: 680px;
    padding: 130px 18px 140px;
    background-position: 63% center;
  }

  .hero h1 {
    font-size: 3.25rem;
    letter-spacing: -0.04em;
    line-height: 0.99;
  }

  .hero-copy {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    min-height: 56px;
  }

  .hero-scroll {
    bottom: 31px;
  }

  .hero-showcase {
    margin-top: -74px;
  }

  .showcase-stage {
    height: 395px;
  }

  .showcase-copy {
    top: 12%;
    left: 6%;
    max-width: 220px;
  }

  .showcase-copy h2 {
    font-size: 2.2rem;
    line-height: 1.05;
  }

  .showcase-copy p:last-child {
    font-size: 13px;
    line-height: 1.55;
  }

  .showcase-market-card {
    right: 5%;
    bottom: 5%;
    width: 55%;
    padding: 12px;
  }

  .showcase-market-card strong {
    font-size: 13px;
  }

  .showcase-sparkline {
    height: 52px;
    margin: 9px 0 6px;
  }

  .showcase-footer {
    min-height: 48px;
    padding: 0 13px;
    font-size: 10px;
  }

  .showcase-footer button {
    font-size: 11px;
  }

  .window-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .window-live {
    display: none;
  }

  .ticker-bar {
    margin-top: 38px;
  }

  .ticker-lead {
    padding: 0 14px;
  }

  .ticker-track {
    gap: 24px;
    padding: 0 20px;
  }

  .feature-section,
  .workspace-section,
  .movers-section,
  .stats-section,
  .pricing-section {
    padding-top: 95px;
  }

  .feature-copy h2,
  .section-heading h2,
  .workspace-heading h2,
  .final-cta h2 {
    font-size: 3.55rem;
  }

  .feature-copy > p:not(.section-kicker) {
    font-size: 15px;
  }

  .feature-visual {
    min-height: 320px;
  }

  .chart-visual svg {
    height: 270px;
  }

  .ai-visual {
    padding: 19px;
  }

  .code-visual {
    min-height: 365px;
  }

  .code-visual pre {
    padding: 21px 17px;
    font-size: 10px;
  }

  .code-result {
    flex-wrap: wrap;
  }

  .code-result small {
    width: 100%;
    margin-left: 0;
  }

  .community-list,
  .movers-grid,
  .pricing-grid-four {
    grid-template-columns: 1fr;
  }

  .community-visual {
    min-height: 315px;
  }

  .screener-visual {
    padding: 14px;
  }

  .screener-row {
    grid-template-columns: 1.2fr 0.9fr 0.75fr 0.6fr;
    gap: 6px;
    min-height: 44px;
    font-size: 10px;
  }

  .screener-head {
    font-size: 8px;
  }

  .workspace-heading {
    display: grid;
    gap: 20px;
  }

  .workspace-heading > p {
    font-size: 13px;
  }

  .workspace-body {
    display: block;
    min-height: auto;
  }

  .workspace-sidebar {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    padding: 9px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--landing-line-soft);
  }

  .workspace-brand,
  .workspace-side-label {
    display: none;
  }

  .workspace-side-item {
    flex: 0 0 auto;
    width: auto;
    min-height: 34px;
    margin: 0;
    padding: 0 9px;
    white-space: nowrap;
    font-size: 10px;
  }

  .workspace-main {
    padding: 20px 14px 17px;
  }

  .workspace-panels {
    min-height: auto;
  }

  .workspace-main-head,
  .panel-title-row {
    display: grid;
    gap: 12px;
  }

  .workspace-price {
    justify-items: start;
  }

  .market-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .symbol-search {
    grid-column: 1 / -1;
  }

  .symbol-chip,
  .symbol-load {
    width: 100%;
  }

  .market-chart {
    height: 220px;
  }

  .chart-tooltip {
    right: 1%;
    top: 9%;
    min-width: 130px;
    padding: 9px;
  }

  .workspace-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
  }

  .workspace-stats .mini-cta {
    width: 100%;
    grid-column: 1 / -1;
  }

  .brief-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .source-trail > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .panel-actions,
  .backtest-form,
  .watchlist-add {
    display: grid;
  }

  .panel-actions .mini-cta,
  .backtest-form .mini-cta,
  .watchlist-add .mini-cta {
    width: 100%;
  }

  .backtest-form {
    grid-template-columns: 1fr;
  }

  .result-metrics {
    gap: 8px;
  }

  .result-metrics strong {
    font-size: 12px;
  }

  .mover-card {
    padding: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid strong {
    font-size: 30px;
  }

  .final-cta {
    display: grid;
    gap: 27px;
    margin-top: 95px;
    padding: 34px 22px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
    margin-top: 65px;
    padding-top: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .account-dialog {
    padding: 28px 20px;
  }

  .demo-toast {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}
