@font-face {
  font-family: "Inter Display";
  src: url("../fonts/inter-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: rgb(18, 18, 24);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.5);
  --soft: rgba(255, 255, 255, 0.8);
  --accent: rgb(197, 202, 255);
  --buy: #3dd68c;
  --sell: #f07178;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 87.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist Mono", monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100vh;
  position: relative;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 18, 24, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  line-height: 32px;
}

.brand img {
  width: 16px;
  height: 16px;
}

.nav {
  display: flex;
  align-items: stretch;
  height: 32px;
  border: 1px solid var(--line);
}

.nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.nav a:last-child {
  border-right: 0;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.header-cta {
  justify-self: end;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  font-family: "Geist Mono", monospace;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.32px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-glass {
  background: linear-gradient(0deg, rgba(191, 206, 255, 0.1), rgba(191, 206, 255, 0.04));
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: #d4d8ff;
  border-color: #d4d8ff;
  color: #000;
}

/* HERO — video bg like lighter.xyz (mix-blend lighten + opacity) */
.hero {
  padding: 0 0 48px;
}

.hero-stage {
  position: relative;
  min-height: calc(100vh - 56px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: lighten;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: 50% 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 32px;
}

.hero-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 48px 24px 28px;
  background: rgba(10, 10, 14, 0.35);
  backdrop-filter: blur(2px);
}

.corners span {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.corners .tl {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.corners .tr {
  top: -1px;
  right: -1px;
  border-left: 0;
  border-bottom: 0;
}
.corners .bl {
  bottom: -1px;
  left: -1px;
  border-right: 0;
  border-top: 0;
}
.corners .br {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.hero-kicker,
.hero-line {
  margin: 0;
  font-family: "Inter Display", Inter, sans-serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.84px;
  line-height: 1.4;
  color: var(--muted);
}

.hero-title-frame {
  position: relative;
  border: 1px solid var(--line-2);
  background: rgba(8, 8, 12, 0.85);
  padding: 18px 28px;
  min-width: min(100%, 420px);
}

.hero-title {
  margin: 0;
  font-family: "Geist Mono", monospace;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -2.24px;
  line-height: 1.6;
  color: #fff;
  text-transform: uppercase;
}

.hero-copy-frame {
  position: relative;
  width: min(100%, 620px);
  margin-top: 18px;
  border: 1px solid var(--line);
  padding: 18px 20px;
}

.hero-copy {
  margin: 0;
  font-family: Inter, "Inter Display", sans-serif;
  font-size: 16.8px;
  line-height: 1.6;
  letter-spacing: -0.084px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--soft);
}

.hero-copy + .hero-copy {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-family: "Geist Mono", monospace;
  letter-spacing: -0.07px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.scroll-cue {
  width: 14px;
  height: 14px;
  margin: 28px auto 0;
  opacity: 0.4;
  background: linear-gradient(135deg, transparent 48%, #fff 49%) left,
    linear-gradient(225deg, transparent 48%, #fff 49%) right;
  background-size: 50% 55%;
  background-repeat: no-repeat;
  background-position: left bottom, right bottom;
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  50% {
    transform: translateY(5px);
    opacity: 0.75;
  }
}

/* INTRO */
.intro {
  padding: 8px 0 36px;
}

.intro-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 16px 18px;
  text-align: center;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.07px;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* FEATURES */
.features {
  padding: 0 0 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.feature {
  padding: 16px;
  border-right: 1px solid var(--line);
  min-height: 200px;
}

.feature:last-child {
  border-right: 0;
}

.feature h3 {
  margin: 0 0 12px;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 1.4;
  text-transform: uppercase;
}

.feature p {
  margin: 0;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.4px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.5);
}

/* CIRCUIT */
.circuit {
  padding: 0 0 48px;
}

.circuit-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 0.95fr 1fr;
  gap: 8px;
}

.panel {
  border: 1px solid var(--line);
  background: rgba(10, 10, 14, 0.7);
  padding: 10px;
  min-height: 130px;
}

.panel h4 {
  margin: 0 0 8px;
  font-family: "Geist Mono", monospace;
  font-size: 8.4px;
  font-weight: 400;
  letter-spacing: 0.798px;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.dots {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 2px;
}

.dots i {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.dots i.on {
  background: rgba(197, 202, 255, 0.55);
}

.bars {
  display: grid;
  gap: 4px;
}

.bars i {
  display: block;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.bars i:nth-child(3n) {
  width: 72%;
  background: rgba(120, 150, 255, 0.4);
}

.trades {
  display: grid;
  gap: 6px;
  font-family: "Geist Mono", monospace;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.2;
  text-transform: uppercase;
}

.trades .limit {
  color: rgba(255, 255, 255, 0.35);
  margin-left: 4px;
}

.trades .mark {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
}

.buy {
  color: var(--buy);
}
.sell {
  color: var(--sell);
}

.eth {
  min-height: 280px;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;
}

.eth h4 {
  margin-bottom: 8px;
}

.eth img.viz {
  width: 100%;
  flex: 1;
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
}

.wave {
  height: 46px;
  background: repeating-linear-gradient(
      90deg,
      transparent 0 5px,
      rgba(255, 255, 255, 0.07) 5px 6px
    ),
    linear-gradient(180deg, transparent 46%, rgba(255, 255, 255, 0.2) 50%, transparent 54%);
}

/* INVESTORS */
.investors {
  padding: 20px 0 48px;
  text-align: center;
}

.investors h2 {
  margin: 0 0 20px;
  font-family: "Geist Mono", monospace;
  font-size: 16.8px;
  font-weight: 400;
  letter-spacing: -0.084px;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 28px;
}

.logos img {
  height: 16px;
  width: auto;
  opacity: 0.8;
  filter: grayscale(1) brightness(1.35);
}

.investors .note {
  margin: 18px 0 0;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.06px;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* CTA */
.cta {
  padding: 0 0 40px;
}

.cta-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 28px 20px;
  text-align: center;
}

.cta-frame p {
  margin: 0 0 16px;
  font-family: "Geist Mono", monospace;
  font-size: 16.8px;
  font-weight: 400;
  letter-spacing: -0.084px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--soft);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
}

.footer-brand video {
  width: 110px;
  mix-blend-mode: screen;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.footer-cols h3 {
  margin: 0 0 10px;
  font-family: "Geist Mono", monospace;
  font-size: 12.6px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.footer-cols a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 4px 0;
  font-family: "Geist Mono", monospace;
  font-size: 12.6px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-cols a:hover {
  color: #fff;
}

.logos a {
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature:nth-child(2n) {
    border-right: 0;
  }
  .feature:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .circuit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .eth {
    grid-row: auto;
    min-height: 200px;
  }
  .footer-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-kicker,
  .hero-line {
    font-size: 28px;
  }
  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .feature-grid,
  .circuit-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child {
    border-bottom: 0;
  }
}
