:root {
  --bg: #020617;
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --text-softest: #6b7280;
  --accent: #38bdf8;
  --accent-2: #a855f7;
  --border-subtle: rgba(148, 163, 184, 0.36);
  --radius-lg: 22px;
  --radius-xl: 26px;
  --radius-pill: 999px;
  --nav-height: 76px;
  --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.9);
}

/* base */

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body { min-height: 100vh; }

.container {
  width: min(1120px, 100% - 2.6rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0 5.5rem;
}

.section-alt {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.22), transparent 60%),
    #020617;
}

/* nav */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.9));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  padding: 2px;
  background: conic-gradient(from 160deg, #22d3ee, #6366f1, #a855f7, #22d3ee);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 1), 0 14px 40px rgba(37, 99, 235, 0.8);
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.3), #020617);
  color: #e0f2fe;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-auth-btn {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 1));
  margin-left: 0.6rem;
}

.nav-auth-btn:hover {
  color: #e5e7eb;
  border-color: rgba(59, 130, 246, 0.95);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.9);
}


.nav-link {
  font-size: 0.86rem;
  color: var(--text-soft);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-link:hover { color: #e5e7eb; }

.nav-cta {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), rgba(15, 23, 42, 0.98));
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 1), 0 12px 40px rgba(8, 47, 73, 0.9);
  color: #e0f2fe;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 0.2rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* hero */

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37, 99, 235, 0.3), transparent 60%),
    #020617;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.hero-header {
  text-align: center;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.32rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cbd5f5;
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #4ade80, #16a34a);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  line-height: 1.18;
  padding-bottom: 6px;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #e5f2ff 0%, #38bdf8 30%, #a855f7 70%, #e0e7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 32px rgba(37, 99, 235, 0.6);
}

.sub {
  margin: 0 0 1.8rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.btn {
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.7rem;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.95), rgba(37, 99, 235, 1));
  color: #020617;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 22px 70px rgba(56, 189, 248, 0.9);
}
.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 1));
  color: #e0f2fe;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 1), 0 16px 48px rgba(15, 23, 42, 0.9);
}

.btn-outline:hover {
  border-color: rgba(59, 130, 246, 0.95);
  color: #eff6ff;
  box-shadow: 0 22px 70px rgba(37, 99, 235, 0.95);
}


.btn-ghost {
  border-color: rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 1));
  color: var(--text);
}

.btn-full { width: 100%; }

/* console card */

.console-shell {
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.22), transparent 60%),
    rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.25rem 1.15rem;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.console-title {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #e5e7eb;
}

.console-pill {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cbd5f5;
}

.console-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: center;
}

.console-chart {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 1));
  height: 170px;
}

.console-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.16) 1px, transparent 1px),
    linear-gradient(to top, rgba(148, 163, 184, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
}

.console-line {
  position: absolute;
  inset-inline: 8%;
  bottom: 8%;
  height: 60%;
  border-radius: 999px 999px 0 0;
  opacity: 0.9;
}

.line-1 {
  background: linear-gradient(to right, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0.9));
  clip-path: polygon(
    0% 80%,
    10% 60%,
    20% 68%,
    32% 46%,
    45% 52%,
    58% 32%,
    70% 40%,
    82% 22%,
    92% 28%,
    100% 20%,
    100% 100%,
    0% 100%
  );
}

.line-2 {
  background: linear-gradient(to right, rgba(129, 140, 248, 0.1), rgba(129, 140, 248, 0.85));
  clip-path: polygon(
    0% 90%,
    12% 70%,
    24% 78%,
    36% 60%,
    48% 64%,
    60% 48%,
    72% 54%,
    84% 40%,
    100% 46%,
    100% 100%,
    0% 100%
  );
}

.line-3 {
  background: linear-gradient(to right, rgba(45, 212, 191, 0.08), rgba(45, 212, 191, 0.9));
  clip-path: polygon(
    0% 85%,
    10% 78%,
    22% 82%,
    34% 72%,
    48% 78%,
    62% 68%,
    76% 72%,
    88% 64%,
    100% 68%,
    100% 100%,
    0% 100%
  );
}

.console-glow {
  position: absolute;
  inset-inline: 0;
  bottom: -18%;
  height: 60%;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.38), transparent 70%);
}

.console-metrics {
  font-size: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
}

.metric-row span:last-child { font-variant-numeric: tabular-nums; }

.metric-row .up { color: #4ade80; }
.metric-row .down { color: #fb7185; }
.metric-row .neutral { color: #e5e7eb; }

/* sections */

.section-header {
  max-width: 40rem;
  margin-bottom: 2.6rem;
}

.section-header h2 {
  margin: 0 0 0.8rem;
  font-size: 1.85rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.feature-card {
  padding: 1.7rem 1.7rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.08), transparent 55%),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
}

.feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  color: #e5e7eb;
}

.feature-card p {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

.feature-card li + li { margin-top: 0.25rem; }

/* app */

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.app-copy h2 {
  margin: 0 0 0.8rem;
  font-size: 1.85rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.app-copy p {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.app-bullets {
  display: grid;
  gap: 1.2rem;
}

.app-bullet h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: #e5e7eb;
}

.app-bullet p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.app-screen {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.20), transparent 55%),
    radial-gradient(circle at bottom, rgba(15, 23, 42, 0.9), #020617);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.95);
  overflow: hidden;
}

.screen-top-bar {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
  font-size: 0.76rem;
  color: var(--text-soft);
}

.dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
}
.dot.red { background:#f97373; }
.dot.amber { background:#facc15; }
.dot.green { background:#4ade80; }

.screen-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: #e5e7eb;
}

.screen-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  background:
    radial-gradient(circle at top left, rgba(8, 47, 73, 0.45), transparent 60%),
    radial-gradient(circle at bottom right, rgba(30, 64, 175, 0.45), transparent 55%),
    #020617;
}

.screen-column {
  padding: 1.1rem 1.2rem 1.2rem;
}

.screen-column.primary {
  border-right: 1px solid rgba(148, 163, 184, 0.38);
}

.mini-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-softest);
  margin-bottom: 0.6rem;
}

.fake-chart {
  height: 150px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
    linear-gradient(to top, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 34px 34px;
  position: relative;
  overflow: hidden;
}

.fake-chart::after {
  content: "";
  position: absolute;
  inset: 20% 6% 15% 6%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.85));
  clip-path: polygon(
    0% 58%, 12% 44%, 26% 54%, 40% 28%, 55% 34%, 70% 20%, 82% 34%, 94% 24%, 100% 30%,
    100% 100%, 0% 100%
  );
}

.mt { margin-top: 1rem; }

.scenario-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

.pill-bull { border-color: rgba(74, 222, 128, 0.9); color:#bbf7d0; }
.pill-neutral { border-color: rgba(148, 163, 184, 0.9); }
.pill-bear { border-color: rgba(248, 113, 113, 0.9); color:#fecaca; }

.signal-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.signal-name { color:#e5e7eb; }
.signal-strength { font-variant-numeric: tabular-nums; }
.signal-strength.up { color:#4ade80; }
.signal-strength.down { color:#fb7185; }

.risk-box {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.8rem 0.9rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
  font-size: 0.8rem;
  display: grid;
  gap: 0.4rem;
}

.risk-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
}

/* waitlist */

.waitlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.6rem;
  align-items: flex-start;
}

.waitlist-copy h2 {
  margin: 0 0 0.8rem;
  font-size: 1.85rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.waitlist-copy p {
  margin: 0 0 1.2rem;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.waitlist-perks {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.waitlist-form-card {
  padding: 1.7rem 1.7rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.98);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.9);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.86rem;
}

.form-row label { color: var(--text-soft); }

input[type="text"],
input[type="email"],
select,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
  color: var(--text);
  outline: none;
}

textarea {
  border-radius: 18px;
  resize: vertical;
}

.form-footnote {
  margin-top: 0.75rem;
  font-size: 0.76rem;
  color: var(--text-softest);
}

/* faq */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  padding: 1rem 1.2rem;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.8);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: #e5e7eb;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* footer */

.footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding: 1.4rem 0 1.8rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-softest);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-tagline { font-size: 0.78rem; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer a:hover { color: #e5e7eb; }

.footer .divider { opacity: 0.5; }

/* responsive */

@media (max-width: 960px) {
  .features-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-layout,
  .waitlist-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset-inline: 1.4rem;
    top: calc(var(--nav-height) - 0.2rem);
    padding: 0.9rem 1rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.96);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease-out, transform 140ms ease-out;
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-cta { width: 100%; justify-content: center; }

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

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .section { padding: 4rem 0 4.5rem; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .container { width: min(100% - 2rem, 480px); }

  .hero {
    padding-inline: 1.25rem;
    padding-top: calc(var(--nav-height) + 2.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn { width: 100%; justify-content: center; }
}

/* pricing */

.pricing-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.26), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}

.pricing-hero {
  padding: 2.8rem 0 0.8rem;
}

.pricing-hero-inner {
  max-width: 40rem;
}

.pricing-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.pricing-hero-inner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.6rem;
}

.price-card {
  padding: 1.7rem 1.6rem 1.6rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148,163,184,0.4);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129,140,248,0.14), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 20px 60px rgba(15,23,42,0.92);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.price-card h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.price-tag {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.price-tag span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-soft);
}

.price-sub {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.price-card ul {
  margin: 0.4rem 0 0.9rem;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.price-card li + li {
  margin-top: 0.2rem;
}

.price-card .btn {
  margin-top: auto;
}

.price-card.featured {
  border-color: rgba(56,189,248,0.9);
  box-shadow:
    0 0 0 1px rgba(8,47,73,1),
    0 30px 90px rgba(37,99,235,0.9);
  position: relative;
}

.pill-featured {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.9);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e0f2fe;
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,1));
}

.pricing-footnote {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  color: var(--text-softest);
}

/* responsive pricing */

@media (max-width: 960px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* docs */

.docs-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.26), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}

.docs-hero {
  padding: 2.6rem 0 0.6rem;
}

.docs-hero-inner {
  max-width: 40rem;
}

.docs-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.docs-hero-inner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.docs-body {
  padding-bottom: 4.5rem;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.docs-nav {
  position: sticky;
  top: calc(var(--nav-height) + 1.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
}

.docs-link {
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  color: var(--text-soft);
  text-decoration: none;
}

.docs-link:hover {
  background: rgba(15,23,42,0.96);
  color: #e5e7eb;
}

.docs-content {
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,0.45);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129,140,248,0.16), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 22px 70px rgba(15,23,42,0.92);
  padding: 1.6rem 1.7rem 1.7rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.docs-section + .docs-section {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(30,64,175,0.7);
}

.docs-section h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.docs-section ul {
  margin: 0.5rem 0 0.6rem;
  padding-left: 1.1rem;
}

.docs-section li + li {
  margin-top: 0.2rem;
}

/* responsive docs */

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .docs-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .docs-content {
    padding: 1.4rem 1.4rem 1.5rem;
  }
}

/* blog */

.blog-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.26), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}

.blog-hero {
  padding: 2.6rem 0 0.6rem;
}

.blog-hero-inner {
  max-width: 40rem;
}

.blog-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.blog-hero-inner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.post-card {
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.4);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129,140,248,0.12), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 18px 60px rgba(15,23,42,0.92);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.post-tag {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-softest);
}

.post-card h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.post-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.post-excerpt {
  margin: 0.2rem 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.post-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.post-link:hover {
  text-decoration: underline;
}

.blog-footnote {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  color: var(--text-softest);
}

/* responsive blog */

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* auth / login */

.auth-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.2), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.3), transparent 60%),
    #020617;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text","Segoe UI",sans-serif;
}

.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.auth-shell {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.auth-logo-text .brand-name {
  font-size: 1rem;
}

.auth-card {
  border-radius: 26px;
  border: 1px solid rgba(148,163,184,0.5);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129,140,248,0.18), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 24px 80px rgba(15,23,42,0.95);
  padding: 1.8rem 1.7rem 1.7rem;
}

.auth-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.auth-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.auth-form {
  margin-top: 1.4rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.1rem 0;
  font-size: 0.8rem;
  color: var(--text-softest);
}

.auth-divider span:nth-child(1),
.auth-divider span:nth-child(3) {
  flex: 1;
  height: 1px;
  background: rgba(51,65,85,1);
}

.auth-oauth {
  width: 100%;
  justify-content: center;
  border-color: rgba(148,163,184,0.6);
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,1));
  font-size: 0.86rem;
}

.auth-footnote {
  margin: 0.9rem 0 0.3rem;
  font-size: 0.76rem;
  color: var(--text-softest);
}

.auth-alt-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.auth-alt-link:hover {
  text-decoration: underline;
}

/* strategy builder */

.builder-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.3), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}

.builder-hero {
  padding: 2.6rem 0 0.6rem;
}

.builder-hero-inner {
  max-width: 40rem;
}

.builder-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.builder-hero-inner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.builder-body {
  padding-bottom: 4.5rem;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.builder-card {
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,0.45);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129,140,248,0.22), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 22px 70px rgba(15,23,42,0.92);
  padding: 1.4rem 1.5rem 1.4rem;
  margin-bottom: 1.4rem;
}

.builder-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #e5e7eb;
}

.builder-hint {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  color: var(--text-softest);
}

.builder-left .form-row:last-of-type {
  margin-bottom: 0.9rem;
}

.builder-code {
  margin: 0.4rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: radial-gradient(circle at top, rgba(15,23,42,0.97), rgba(15,23,42,1));
  border: 1px solid rgba(30,64,175,0.9);
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  color: #e5e7eb;
  white-space: pre-wrap;
}

.backtest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.backtest-item {
  padding: 0.5rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(30,64,175,0.9);
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,1));
  font-size: 0.8rem;
}

.backtest-item .label {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--text-softest);
}

.backtest-item .value {
  font-variant-numeric: tabular-nums;
}

.builder-footnote {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-softest);
}

.promotion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

/* responsive builder */

@media (max-width: 960px) {
  .builder-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* === Quantora global animations === */
@keyframes float-soft-up {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes glow-pulse {
  0%,100% { opacity: 0.55; transform: scale(1); }
  50%     { opacity: 1;    transform: scale(1.04); }
}
@keyframes grid-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-18px); }
}

/* hero entrance */
.hero-inner {
  opacity: 0;
  animation: float-soft-up 720ms ease-out forwards;
  animation-delay: 80ms;
}
.console-shell {
  opacity: 0;
  animation: float-soft-up 760ms ease-out forwards;
  animation-delay: 220ms;
}

/* sections soft appearance */
.section-header,
.feature-card,
.app-layout,
.app-screen,
.waitlist-layout,
.waitlist-form-card,
.faq-item,
.docs-content,
.price-card,
.post-card,
.builder-card {
  animation: float-soft-up 640ms ease-out;
}

/* console subtle motion */
.console-grid {
  animation: grid-drift 16s linear infinite alternate;
}
.console-glow {
  animation: glow-pulse 7s ease-in-out infinite;
}

/* buttons + cards hover */
.btn {
  transition: transform 160ms ease-out, box-shadow 160ms ease-out,
              background 160ms ease-out, border-color 160ms ease-out,
              color 160ms ease-out;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary:hover {
  box-shadow: 0 26px 80px rgba(56,189,248,1);
}
.btn-ghost:hover {
  box-shadow: 0 18px 70px rgba(15,23,42,0.95);
}
.feature-card:hover,
.price-card:hover,
.post-card:hover,
.builder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 80px rgba(15,23,42,0.96);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}


/* about page */

.about-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.26), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}
.about-hero {
  padding: 2.6rem 0 0.6rem;
}
.about-hero-inner {
  max-width: 40rem;
}
.about-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}
.about-hero-inner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.about-column p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.about-timeline .timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.timeline-item {
  padding: 1.3rem 1.3rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.98);
  box-shadow: 0 20px 60px rgba(15,23,42,0.9);
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.timeline-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #e5e7eb;
}

.waitlist-early-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-softest);
}
.waitlist-early-note a {
  color: var(--accent);
  text-decoration: none;
}
.waitlist-early-note a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-timeline .timeline-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* early page */

.early-main {
  min-height: 100vh;
  background: #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}
.early-hero {
  position: relative;
  padding: 3.2rem 0 2.4rem;
  overflow: hidden;
}
.early-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.25), transparent 55%),
    radial-gradient(circle at bottom center, rgba(79,70,229,0.32), transparent 60%);
  opacity: 0.9;
}
.early-inner {
  position: relative;
  max-width: 44rem;
}
.early-tag {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e0f2fe;
}
.early-inner h1 {
  margin: 0 0 0.8rem;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  color: #f9fafb;
}
.early-sub {
  margin: 0 0 1.4rem;
  font-size: 0.96rem;
  color: var(--text-soft);
  line-height: 1.8;
}
.early-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.early-card {
  padding: 1.4rem 1.4rem 1.3rem;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.98);
  box-shadow: 0 22px 70px rgba(15,23,42,0.92);
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.early-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #e5e7eb;
}

@media (max-width: 960px) {
  .early-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* resources */

.resources-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.26), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}
.resources-hero {
  padding: 2.6rem 0 0.6rem;
}
.resources-hero-inner {
  max-width: 40rem;
}
.resources-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}
.resources-hero-inner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}
.resource-card {
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.45);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129,140,248,0.12), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 18px 60px rgba(15,23,42,0.92);
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.resource-tag {
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-softest);
}
.resource-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #e5e7eb;
}
.resource-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}
.resource-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .resources-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* dynamic emphasis */
.pill-active {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.9), 0 0 26px rgba(56, 189, 248, 0.75);
}

/* dashboard regime pill */
.dash-regime-pill {
  margin-left: auto;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5e7eb;
}
.dash-regime-pill.regime-bull {
  border-color: rgba(74, 222, 128, 0.9);
  color: #bbf7d0;
}
.dash-regime-pill.regime-chop {
  border-color: rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
}
.dash-regime-pill.regime-risk {
  border-color: rgba(248, 113, 113, 0.9);
  color: #fecaca;
}


/* simulation widgets */

.sim-pnl-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sim-pnl-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.sim-pnl-item {
  padding: 0.5rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(30,64,175,0.9);
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,1));
  font-size: 0.8rem;
}

.sim-pnl-item .label {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--text-softest);
}

.sim-pnl-item .value {
  font-variant-numeric: tabular-nums;
}

.sim-trade-log {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 180px;
  overflow: hidden;
  font-size: 0.8rem;
}

.sim-trade-log li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.26rem 0;
  border-bottom: 1px solid rgba(30,64,175,0.6);
}

.sim-trade-log li span {
  font-variant-numeric: tabular-nums;
}

.sim-trade-log .side-buy {
  color: #4ade80;
}

.sim-trade-log .side-sell {
  color: #f97373;
}

.sim-trade-log .pnl-pos {
  color: #4ade80;
}

.sim-trade-log .pnl-neg {
  color: #f97373;
}

@media (max-width: 720px) {
  .sim-pnl-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* simulated equity curve chart */

.sim-chart {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(56,189,248,0.16), transparent 60%),
    rgba(15,23,42,0.98);
  border: 1px solid rgba(30,64,175,0.9);
  margin-bottom: 0.7rem;
}

.sim-chart-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(30,64,175,0.5) 1px, transparent 1px),
                    linear-gradient(to top, rgba(30,64,175,0.5) 1px, transparent 1px);
  background-size: 22px 18px;
  opacity: 0.35;
}

.sim-chart-line {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sim-chart-line::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 40%;
  width: 200%;
  height: 120%;
  background: radial-gradient(circle at top, rgba(56,189,248,1), transparent 60%);
  opacity: 0.16;
}

.sim-chart-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 40%;
  width: 200%;
  height: 2px;
  background: linear-gradient(to right, rgba(56,189,248,0), rgba(56,189,248,1), rgba(56,189,248,0));
  box-shadow: 0 0 18px rgba(56,189,248,0.9);
  transform-origin: left center;
}

/* profile & api & automations basic layout */

.profile-main,
.api-main,
.auto-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.26), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}

.profile-hero,
.api-hero,
.auto-hero {
  padding: 2.6rem 0 0.6rem;
}

.profile-hero-inner,
.api-hero-inner,
.auto-hero-inner {
  max-width: 40rem;
}

.profile-hero-inner h1,
.api-hero-inner h1,
.auto-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.profile-hero-inner p,
.api-hero-inner p,
.auto-hero-inner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.profile-layout,
.api-layout,
.auto-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.profile-card,
.api-card,
.auto-card {
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,0.45);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129,140,248,0.12), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 18px 60px rgba(15,23,42,0.92);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.profile-card h2,
.api-card h2,
.auto-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #e5e7eb;
}

.api-endpoint {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(30,64,175,0.9);
  display: inline-block;
  margin: 0.15rem 0;
}

.auto-rule {
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
  border: 1px dashed rgba(148,163,184,0.7);
  margin-top: 0.4rem;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .profile-layout,
  .api-layout,
  .auto-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* alpha terminal */

.alpha-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.32), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 1.6rem);
}

.alpha-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 1.4rem 2.2rem;
  border-radius: 28px;
  border: 1px solid rgba(148,163,184,0.6);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(129,140,248,0.2), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 28px 110px rgba(15,23,42,0.98);
}

.alpha-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.alpha-title-block h1 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.alpha-title-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.alpha-session-tag {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93c5fd;
}

.alpha-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 1.4rem;
}

.alpha-left,
.alpha-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alpha-card {
  border-radius: 20px;
  border: 1px solid rgba(30,64,175,0.9);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(15,23,42,0.96), rgba(15,23,42,1));
  padding: 0.9rem 1rem 0.9rem;
}

.alpha-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.alpha-card-header h2 {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.alpha-badge {
  font-size: 0.7rem;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.8);
  color: var(--text-softest);
}

.alpha-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.alpha-stat {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.alpha-stat-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-softest);
}

.alpha-stat-value {
  font-variant-numeric: tabular-nums;
}

.alpha-tape {
  font-size: 0.78rem;
  max-height: 140px;
  overflow: hidden;
}

.alpha-tape-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.18rem 0;
  border-bottom: 1px solid rgba(30,64,175,0.6);
  font-variant-numeric: tabular-nums;
}

.alpha-tape-row .side-buy {
  color: #4ade80;
}

.alpha-tape-row .side-sell {
  color: #f97373;
}

.alpha-terminal-chart {
  position: relative;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(30,64,175,0.9);
  background:
    radial-gradient(circle at top, rgba(37,99,235,0.32), transparent 65%),
    rgba(15,23,42,0.98);
}

.alpha-terminal-chart canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.alpha-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.alpha-pill {
  font-size: 0.74rem;
  padding: 0.14rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.8);
  color: var(--text-softest);
}

.alpha-pill.active {
  border-color: rgba(56,189,248,0.95);
  box-shadow: 0 0 18px rgba(56,189,248,0.9);
  color: #e0f2fe;
}

.alpha-regime-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
}

.alpha-regime-item {
  padding: 0.5rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(30,64,175,0.9);
  background: rgba(15,23,42,0.98);
}

.alpha-regime-item strong {
  display: block;
  margin-bottom: 0.12rem;
}

.alpha-session-heatmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  font-size: 0.72rem;
  margin-top: 0.4rem;
}

.alpha-session-cell {
  padding: 0.35rem 0.4rem;
  border-radius: 10px;
  border: 1px solid rgba(30,64,175,0.8);
  text-align: center;
}

.alpha-session-cell.hot {
  border-color: rgba(56,189,248,0.9);
  box-shadow: 0 0 18px rgba(56,189,248,0.8);
}

.alpha-session-cell.cold {
  opacity: 0.7;
}

@media (max-width: 960px) {
  .alpha-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .alpha-shell {
    margin: 0 1rem 2.2rem;
  }
}


/* strategy vault */

.vault-main {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at bottom center, rgba(37,99,235,0.26), transparent 60%),
    #020617;
  padding-top: calc(var(--nav-height) + 2.4rem);
}

.vault-hero {
  padding: 2.6rem 0 0.6rem;
}

.vault-hero-inner {
  max-width: 40rem;
}

.vault-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.vault-hero-inner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.vault-card {
  padding: 1.2rem 1.2rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,0.6);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(79,70,229,0.18), transparent 60%),
    rgba(15,23,42,0.98);
  box-shadow: 0 22px 72px rgba(15,23,42,0.94);
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.vault-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: #e5e7eb;
}

.vault-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.3rem 0 0.4rem;
  font-size: 0.76rem;
  color: var(--text-softest);
}

.vault-pill {
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
}

.vault-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
}

.vault-stat-label {
  display: block;
  color: var(--text-softest);
}

.vault-stat-value {
  font-variant-numeric: tabular-nums;
}

.vault-links {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.vault-link {
  text-decoration: none;
  padding: 0.16rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(30,64,175,0.9);
  color: #bfdbfe;
}

.vault-link:hover {
  background: rgba(30,64,175,0.8);
}

@media (max-width: 1024px) {
  .vault-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .vault-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
\n
/* === Alpha Terminal / Console layout === */

.section-console {
  padding-top: calc(var(--nav-height) + 2.5rem);
  padding-bottom: 4rem;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.console-left,
.console-right {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.console-card {
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  background:
    radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,1));
  border: 1px solid rgba(30,64,175,0.9);
}

.console-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.console-table-wrapper {
  margin-top: 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(30,64,175,0.9);
  overflow: hidden;
}

.console-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.console-table th,
.console-table td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid rgba(30,64,175,0.25);
  text-align: left;
}

.console-table th {
  font-weight: 500;
  color: var(--text-softest);
  background: rgba(15,23,42,0.9);
}

.console-table tr:last-child td {
  border-bottom: none;
}

.console-output,
.risk-output {
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(15,23,42,0.97), rgba(15,23,42,1));
  border: 1px solid rgba(30,64,175,0.9);
  font-size: 0.86rem;
  color: #e5e7eb;
}

/* === Backtesting Lab === */

.backtest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
}

.backtest-card {
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  background:
    radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,1));
  border: 1px solid rgba(30,64,175,0.9);
}

.backtest-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.backtest-metrics-grid .metric {
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(30,64,175,0.65);
  background: rgba(15,23,42,0.95);
  font-size: 0.78rem;
}

.backtest-metrics-grid .metric-label {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--text-softest);
}

.backtest-metrics-grid .metric-value {
  font-variant-numeric: tabular-nums;
}

.backtest-trades-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-top: 0.7rem;
}

.backtest-trades-table th,
.backtest-trades-table td {
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid rgba(30,64,175,0.25);
}

.backtest-trades-table th {
  text-align: left;
  font-weight: 500;
  color: var(--text-softest);
}

.backtest-trades-table tr:last-child td {
  border-bottom: none;
}

/* responsive console + backtest */

@media (max-width: 960px) {
  .console-layout,
  .backtest-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Workspace / feature hub */

.hub-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hub-card h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.45rem;
}

.hub-card p {
  margin-bottom: 0;
}


.profile-risk-card {
  max-width: 760px;
  margin: 2.2rem auto 3rem;
}
