:root {
  --ink: #f5f7fb;
  --muted: #aab3c2;
  --text: #202632;
  --soft: #eef2f6;
  --line: rgba(255,255,255,.14);
  --blue: #2b78ff;
  --cyan: #00d4ff;
  --green: #62e2a7;
  --navy: #07101d;
  --panel: #101927;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 54px);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(3,9,18,.84), rgba(3,9,18,0));
  transition: background .25s ease, padding .25s ease, border-color .25s ease;
}

.site-header.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(6, 14, 25, .92);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: .02em;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(245,247,251,.78);
}

.nav-links a:hover { color: #ffffff; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #040b14;
}

.hero-video, .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video video,
.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .74;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(5,12,24,.92) 0%, rgba(5,12,24,.72) 38%, rgba(5,12,24,.18) 100%),
    radial-gradient(circle at 75% 30%, rgba(0,212,255,.24), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.7));
}

.hero-overlay {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(54px, 8.4vw, 112px);
  line-height: .9;
  font-weight: 850;
}

.hero-copy {
  max-width: 650px;
  color: rgba(245,247,251,.8);
  font-size: 19px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.2);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.button.primary {
  margin-top: 20px;
  color: #05101e;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-color: transparent;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  transform: translateX(-50%);
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 44px;
  margin: 10px auto 0;
  background: linear-gradient(var(--cyan), transparent);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.section.dark {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  color: var(--ink);
  background: #08111f;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: clamp(32px, 6vw, 90px);
}

.split h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.copy-block {
  color: #546071;
  font-size: 17px;
}

.metric-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dde4ec;
  border-bottom: 1px solid #dde4ec;
}

.metric-strip article,
.stats-grid article {
  min-height: 132px;
  padding: 28px;
  border-right: 1px solid #dde4ec;
}

.metric-strip article:last-child,
.stats-grid article:last-child { border-right: 0; }

.metric-strip strong,
.stats-grid strong,
.comparison-grid strong {
  display: block;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.metric-strip span,
.stats-grid span,
.comparison-grid span {
  display: block;
  margin-top: 12px;
  color: #657083;
  font-weight: 700;
}

.stats h2 { font-size: clamp(36px, 5vw, 68px); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid article { border-color: var(--line); }
.stats-grid span { color: rgba(245,247,251,.62); }
.stats-grid strong { color: #fff; }

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  color: #697386;
  font-size: 18px;
}

.card-grid,
.benefit-grid,
.team-grid {
  display: grid;
  gap: 18px;
}

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

.product-card,
.benefit-grid article,
.team-grid article,
.architecture-grid article,
.comparison-grid article {
  border: 1px solid #dfe6ee;
  background: #fff;
  padding: 28px;
}

.product-card h3,
.architecture-grid h3,
.benefit-grid h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.1;
}

.product-card p,
.benefit-grid p,
.architecture-grid p,
.team-grid p {
  color: #667184;
}

ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

li {
  position: relative;
  padding-left: 20px;
  margin: 10px 0;
  color: #3f4c5e;
  font-weight: 650;
  font-size: 14px;
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  background: var(--blue);
}

.architecture {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  background: var(--soft);
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.architecture-grid .featured {
  color: var(--ink);
  background: #08111f;
  border-color: #08111f;
}

.architecture-grid .featured strong {
  display: block;
  color: var(--cyan);
  font-size: 42px;
  line-height: 1;
  margin-bottom: 24px;
}

.architecture-grid .featured p { color: rgba(245,247,251,.68); }

.benefit-grid { grid-template-columns: repeat(3, 1fr); }

.markets {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  color: var(--ink);
  background: #050b14;
}

.markets .section-heading p:not(.eyebrow) { color: rgba(245,247,251,.62); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  min-height: 360px;
  overflow: hidden;
}

.market-grid article {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px 18px;
  background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.74)), var(--bg);
  background-size: cover;
  background-position: center;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: flex .25s ease, filter .25s ease;
}

.market-grid article:hover { filter: saturate(1.2) brightness(1.1); }

.market-grid span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.comparison-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comparison-grid small {
  display: block;
  margin-top: 10px;
  color: #7a8493;
}

.comparison-grid .selected {
  color: #fff;
  background: linear-gradient(145deg, #07111f, #0d2742);
  border-color: #0d2742;
}

.comparison-grid .selected span,
.comparison-grid .selected small { color: rgba(255,255,255,.72); }

.supported {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  background: #f7f9fb;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.logo-grid article {
  min-height: 138px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid #dfe6ee;
  background: #fff;
  color: #536073;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.team-band {
  margin: 42px 0 18px;
  padding-top: 18px;
  border-top: 1px solid #dfe6ee;
  color: #6a7280;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-grid.founders { grid-template-columns: repeat(2, 1fr); }

.avatar {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 900;
}

.team-grid h4 {
  margin-bottom: 5px;
  font-size: 20px;
}

.team-grid span {
  display: block;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 16px;
}

.team-note {
  max-width: 860px;
  margin: 34px 0 0;
  color: #687386;
  font-size: 17px;
}

.contact {
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 50% 0, rgba(0,212,255,.25), transparent 32%), #07111f;
  width: 100%;
  max-width: none;
  padding-left: 18px;
  padding-right: 18px;
}

.contact p:not(.eyebrow) {
  color: rgba(255,255,255,.7);
  font-size: 18px;
}

.contact-grid {
  width: min(860px, 100%);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-grid > * {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.9);
  font-weight: 700;
}

.contact-grid span { grid-column: 1 / -1; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: rgba(255,255,255,.68);
  background: #050b14;
  border-top: 1px solid rgba(255,255,255,.08);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 750;
}

.site-footer p { margin: 0; font-size: 13px; }
.footer-brand { color: #fff; }

.token-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 130px max(18px, calc((100% - var(--max)) / 2)) 76px;
  color: #fff;
  overflow: hidden;
  background: #050b14;
}

.token-hero-media {
  position: absolute;
  inset: 0;
}

.token-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
}

.token-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,11,20,.95), rgba(5,11,20,.65), rgba(5,11,20,.22)),
    linear-gradient(180deg, rgba(5,11,20,.35), #050b14);
}

.token-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.token-hero h1 {
  margin-bottom: 18px;
}

.token-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.78);
  font-size: 19px;
}

.token-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.token-aside {
  position: sticky;
  top: 98px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(145deg, #07111f, #0d2742);
}

.token-aside h2 {
  font-size: 26px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.token-link,
.token-contact-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 850;
}

.token-content {
  display: grid;
  gap: 34px;
}

.token-content section {
  padding-bottom: 34px;
  border-bottom: 1px solid #dfe6ee;
}

.token-content h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.token-content p {
  color: #536073;
  font-size: 17px;
}

.token-contact-panel {
  padding: 28px;
  border: 1px solid #dfe6ee;
  background: #f7f9fb;
}

.token-contact-panel a {
  margin: 10px 0 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(6,14,25,.96);
    border: 1px solid rgba(255,255,255,.14);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; }
  .split,
  .card-grid.four,
  .architecture-grid,
  .benefit-grid,
  .team-grid,
  .team-grid.founders,
  .comparison-grid,
  .logo-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid,
  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .market-grid span {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .site-footer { flex-direction: column; text-align: center; }
  .token-layout {
    grid-template-columns: 1fr;
  }
  .token-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 48px; }
  .hero { min-height: 92vh; }
  .split,
  .card-grid.four,
  .architecture-grid,
  .benefit-grid,
  .team-grid,
  .team-grid.founders,
  .comparison-grid,
  .logo-grid,
  .contact-grid,
  .stats-grid,
  .metric-strip {
    grid-template-columns: 1fr;
  }
  .metric-strip article,
  .stats-grid article {
    border-right: 0;
    border-bottom: 1px solid #dfe6ee;
  }
  .stats-grid article { border-bottom-color: var(--line); }
  .contact-grid span { grid-column: auto; }
}
