@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500&family=IBM+Plex+Mono:wght@500&family=Inter:wght@300;400;500;600&display=swap");

:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #0c0d10;
  --surface: #101114;
  --heading: #edeef0;
  --body: #8f939e;
  --muted: #555963;
  --accent: #5b9cf6;
  --line: rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--heading);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.glow {
  position: fixed;
  inset: -220px 0 auto 50%;
  width: min(1000px, 100vw);
  height: 700px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(91, 156, 246, .13), transparent 68%);
}
.site-header, main, footer { position: relative; max-width: 1180px; margin: auto; padding-inline: 32px; }
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 18px; }
.brand img { width: 164px; height: 40px; object-fit: contain; }
.brand > span { width: 1px; height: 25px; background: var(--line); }
.brand small, .kicker, .eyebrow {
  color: var(--muted);
  font: 500 10px/1 IBM Plex Mono, monospace;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
nav { display: flex; gap: 30px; color: var(--body); font-size: 13px; }
nav a:hover, footer a:hover { color: var(--heading); }
.hero { min-height: 600px; display: grid; justify-items: center; align-content: center; text-align: center; padding-block: 90px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent); margin: 0 0 28px; }
.eyebrow span { width: 26px; height: 1px; background: rgba(91,156,246,.55); }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 400; letter-spacing: -.035em; margin: 0; }
h1 { max-width: 900px; font-size: clamp(46px, 7vw, 82px); line-height: 1.02; }
.lede { max-width: 630px; margin: 28px auto 34px; color: var(--body); font-size: 17px; font-weight: 300; line-height: 1.75; }
.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(91,156,246,.35);
  border-radius: 8px;
  background: rgba(91,156,246,.09);
  font-size: 13px;
  transition: .2s ease;
}
.primary-action b { color: var(--accent); }
.primary-action:hover { border-color: rgba(91,156,246,.7); transform: translateY(-2px); }
.demo-section { padding-block: 72px 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.kicker { margin: 0 0 13px; color: var(--accent); }
h2 { font-size: clamp(30px, 4vw, 46px); }
.section-heading > p { justify-self: end; max-width: 460px; margin: 0; color: var(--body); font-size: 14px; line-height: 1.7; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.demo-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 55%), var(--panel);
  transition: transform .22s ease, border-color .22s ease;
}
.demo-card:hover { transform: translateY(-4px); border-color: rgba(91,156,246,.35); }
.card-top { display: flex; justify-content: space-between; color: var(--muted); font: 500 10px IBM Plex Mono, monospace; letter-spacing: 1.5px; text-transform: uppercase; }
.status { display: flex; align-items: center; gap: 7px; color: #67d8af; }
.status i { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.signal { height: 116px; display: flex; gap: 9px; align-items: end; margin: 34px 0 26px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.signal i { flex: 1; min-width: 8px; border-radius: 2px 2px 0 0; opacity: .8; background: var(--accent); }
.risk-signal i:nth-child(1) {height:22%}.risk-signal i:nth-child(2){height:35%}.risk-signal i:nth-child(3){height:31%}.risk-signal i:nth-child(4){height:58%}.risk-signal i:nth-child(5){height:48%}.risk-signal i:nth-child(6){height:82%;background:#f16f72}.risk-signal i:nth-child(7){height:67%;background:#f16f72}
.churn-signal i:nth-child(1){height:85%}.churn-signal i:nth-child(2){height:76%}.churn-signal i:nth-child(3){height:70%}.churn-signal i:nth-child(4){height:60%}.churn-signal i:nth-child(5){height:49%}.churn-signal i:nth-child(6){height:34%}.churn-signal i:nth-child(7){height:22%}
.liquidity-signal i:nth-child(1){height:32%}.liquidity-signal i:nth-child(2){height:48%}.liquidity-signal i:nth-child(3){height:41%}.liquidity-signal i:nth-child(4){height:67%}.liquidity-signal i:nth-child(5){height:55%}.liquidity-signal i:nth-child(6){height:78%}.liquidity-signal i:nth-child(7){height:71%}
.demo-card h3 { margin: 0 0 13px; font-family: Fraunces, Georgia, serif; font-size: 25px; font-weight: 500; }
.demo-card > p { margin: 0; color: var(--body); font-size: 13px; line-height: 1.7; }
.open { display: flex; justify-content: space-between; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 500; }
.open b { color: var(--accent); font-size: 15px; }
footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer div { display: flex; gap: 24px; }
@media (max-width: 820px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-card { min-height: 360px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { justify-self: start; }
}
@media (max-width: 560px) {
  .site-header, main, footer { padding-inline: 20px; }
  .site-header { height: 76px; }
  .brand img { width: 132px; }
  .brand small, .brand > span, nav a:first-child { display: none; }
  .hero { min-height: 560px; }
  h1 { font-size: 43px; }
  .lede { font-size: 15px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
