:root {
  color-scheme: dark;
  --bg: #050807;
  --bg-soft: #0b1110;
  --panel: rgba(239, 255, 236, 0.07);
  --panel-strong: rgba(239, 255, 236, 0.12);
  --text: #f3f7ed;
  --muted: #a9b5aa;
  --line: rgba(239, 255, 236, 0.16);
  --green: #9cff72;
  --acid: #f7ff79;
  --blue: #71d6ff;
  --orange: #ff9b54;
  --ink: #071006;
  --max: 1180px;
  --hero-max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 4%, rgba(156, 255, 114, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 6%, rgba(113, 214, 255, 0.12), transparent 26rem),
    linear-gradient(145deg, #050807 0%, #0a1110 52%, #050807 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(239, 255, 236, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 255, 236, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.site-header[data-scrolled="true"] {
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  background: linear-gradient(90deg, #25f0a0 0%, #15d7ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 900;
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  text-shadow: 0 0 24px rgba(31, 228, 190, 0.18);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--text);
}

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

.header-login,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
}

.header-login {
  min-height: 40px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.header-login:hover {
  color: var(--text);
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(156, 255, 114, 0.36);
  background: rgba(156, 255, 114, 0.08);
  color: var(--green);
}

.hero {
  min-height: calc(100svh - 72px);
  padding: clamp(34px, 5vw, 68px) 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
  width: min(100% - 64px, var(--hero-max));
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  width: min(100%, 920px);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-right: auto;
  margin-bottom: 22px;
  margin-left: auto;
  font-size: clamp(3.25rem, 5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-lede,
.section-intro p,
.platform-copy p,
.pricing-copy p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

.hero-lede {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 650px;
  margin: 34px auto;
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--green), var(--acid));
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(156, 255, 114, 0.2);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(239, 255, 236, 0.07);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 650px);
  max-width: 650px;
  margin: 0 auto;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(239, 255, 236, 0.05);
}

.hero-stats dt {
  font-size: 1.62rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-product {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-top: 0;
}

.hero-product::before {
  position: absolute;
  inset: -1px;
  content: "";
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(156, 255, 114, 0.58), rgba(113, 214, 255, 0.15), rgba(255, 155, 84, 0.34));
  filter: blur(18px);
  opacity: 0.72;
}

.app-screenshot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(239, 255, 236, 0.18);
  border-radius: 14px;
  background: rgba(5, 8, 7, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.app-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.terminal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(239, 255, 236, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(239, 255, 236, 0.07), rgba(239, 255, 236, 0.025)),
    rgba(5, 8, 7, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.terminal-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(239, 255, 236, 0.32);
}

.terminal-topbar strong {
  margin-left: auto;
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ticker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
  padding: 18px 18px 0;
}

.ticker-pill {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.ticker-pill.active {
  border-color: rgba(156, 255, 114, 0.56);
  background: rgba(156, 255, 114, 0.12);
  color: var(--green);
}

.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 14px;
}

.chart-header p {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 800;
}

.chart-header strong {
  font-size: 3.25rem;
  line-height: 0.9;
}

.chart-header span {
  padding: 8px 10px;
  border: 1px solid rgba(247, 255, 121, 0.38);
  border-radius: 999px;
  background: rgba(247, 255, 121, 0.1);
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 900;
}

#signal-canvas {
  display: block;
  width: calc(100% - 48px);
  height: 190px;
  margin: 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(239, 255, 236, 0.045), rgba(239, 255, 236, 0.016));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 24px 24px;
}

.dashboard-grid article,
.feature-card,
.industry-grid article,
.platform-list article,
.pricing-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.dashboard-grid article {
  min-height: 132px;
  padding: 15px;
}

.dashboard-grid span,
.pricing-panel span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dashboard-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.dashboard-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.metric-card {
  min-height: 152px;
}

.metric-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.metric-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.metric-list dt {
  color: var(--muted);
  font-size: 0.95rem;
}

.metric-list dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.metric-list .positive {
  color: var(--green);
}

.metric-list .negative {
  color: #ff7373;
}

.ticker-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0 64px;
  color: var(--muted);
}

.ticker-strip span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(239, 255, 236, 0.04);
  font-size: 0.86rem;
  font-weight: 800;
}

.section,
.platform-band,
.pricing,
.metrics-band {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-intro {
  max-width: 860px;
  margin-bottom: 36px;
}

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

.feature-card {
  min-height: 280px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(239, 255, 236, 0.09), rgba(239, 255, 236, 0.04));
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 8px;
  background: rgba(156, 255, 114, 0.14);
  color: var(--green);
  font-weight: 900;
}

.feature-card p,
.platform-list span,
.industry-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.55;
}

.platform-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-list {
  display: grid;
  gap: 12px;
}

.platform-list article {
  min-height: 116px;
  padding: 22px;
}

.platform-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-grid article {
  min-height: 138px;
  padding: 20px;
}

.industry-grid p {
  margin: 0;
  font-weight: 800;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 0;
}

.metrics-band div {
  padding: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-band strong {
  display: block;
  margin-bottom: 6px;
  color: var(--acid);
  font-size: 2.2rem;
  line-height: 1;
}

.metrics-band span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.product-showcase {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0;
}

.showcase-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.58fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  margin-top: 34px;
}

.showcase-feature + .showcase-feature {
  margin-top: 42px;
}

.showcase-feature.reverse {
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.12fr);
}

.showcase-feature.reverse .app-screenshot {
  order: 2;
}

.showcase-copy {
  max-width: 430px;
}

.showcase-copy span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  background: rgba(156, 255, 114, 0.14);
  color: var(--green);
  font-weight: 900;
}

.showcase-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  line-height: 1.05;
}

.showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.pricing-panel {
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(156, 255, 114, 0.18), rgba(239, 255, 236, 0.07)),
    rgba(239, 255, 236, 0.05);
}

.pricing-panel strong {
  display: block;
  margin-bottom: 14px;
  font-size: 3rem;
  line-height: 1;
}

.pricing-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.pricing-panel .button {
  width: 100%;
  margin-top: 10px;
}

.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 54px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 0.55fr) minmax(190px, 0.55fr);
  gap: clamp(36px, 8vw, 110px);
  padding-bottom: 52px;
}

.footer-brand p {
  margin: 28px 0 0;
  font-size: 1rem;
}

.footer-brand a:not(.brand) {
  color: var(--green);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.footer-column h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-column a:hover,
.footer-brand a:not(.brand):hover {
  color: var(--text);
}

.footer-legal {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.footer-legal p {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.footer-legal p + p {
  margin-top: 24px;
}

.method-hero {
  padding: clamp(46px, 7vw, 96px) 0 52px;
}

.method-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.method-visual {
  overflow: hidden;
  border: 1px solid rgba(239, 255, 236, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(239, 255, 236, 0.08), rgba(239, 255, 236, 0.025)),
    rgba(5, 8, 7, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.pipeline-stack {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.pipeline-step,
.signal-readout,
.method-card,
.source-grid article,
.anomaly-lab {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.pipeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: start;
  padding: 18px;
}

.pipeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(156, 255, 114, 0.12);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pipeline-step strong,
.source-grid strong {
  display: block;
  margin: 2px 0 0;
  font-size: 1.08rem;
}

.pipeline-step p,
.source-grid span,
.method-card p,
.method-card li,
.anomaly-section p {
  color: var(--muted);
  line-height: 1.55;
}

.pipeline-step p {
  grid-column: 2;
  margin: 0;
}

.signal-readout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  align-items: end;
  margin: 0 22px 22px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(156, 255, 114, 0.14), rgba(113, 214, 255, 0.07));
}

.signal-readout span {
  color: var(--green);
  font-weight: 900;
}

.signal-readout strong {
  font-size: 3.4rem;
  line-height: 0.9;
}

.signal-readout p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.method-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 0 0 46px;
}

.method-strip span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(239, 255, 236, 0.04);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.method-card {
  min-height: 360px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(239, 255, 236, 0.09), rgba(239, 255, 236, 0.04));
}

.method-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 18px;
}

.source-grid {
  display: grid;
  gap: 12px;
}

.source-grid article {
  min-height: 116px;
  padding: 22px;
}

.anomaly-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.anomaly-lab {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.baseline-track {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(239, 255, 236, 0.045);
}

.baseline-track.active {
  border-color: rgba(156, 255, 114, 0.46);
  background: rgba(156, 255, 114, 0.11);
}

.baseline-track span {
  color: var(--muted);
  font-weight: 800;
}

.baseline-track strong {
  color: var(--acid);
  font-size: 1.8rem;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .method-hero-grid,
  .platform-band,
  .anomaly-section,
  .faq-section,
  .pricing,
  .showcase-feature,
  .showcase-feature.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-product {
    padding-top: 0;
  }

  .feature-grid,
  .method-grid,
  .industry-grid,
  .metrics-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .showcase-feature.reverse .app-screenshot {
    order: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .header-actions {
    display: none;
  }

  .hero-grid,
  .method-hero-grid,
  .section,
  .platform-band,
  .product-showcase,
  .pricing,
  .ticker-strip,
  .method-strip,
  .metrics-band,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: clamp(2.7rem, 13.5vw, 3.7rem);
    line-height: 1;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats,
  .dashboard-grid,
  .feature-grid,
  .method-grid,
  .industry-grid,
  .metrics-band {
    grid-template-columns: 1fr;
  }

  .chart-header {
    gap: 16px;
    flex-direction: column;
  }

  #signal-canvas {
    width: calc(100% - 36px);
    height: 210px;
    margin: 0 18px;
  }

  .dashboard-grid {
    padding: 18px;
  }

  .ticker-row {
    flex-wrap: wrap;
    overflow: visible;
    padding-left: 18px;
  }

  .hero-shot img {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
