/* =========================================================
   UniWarp — UI structure cloned from megaeth.com design system
   Original UniWarp branding · No MegaETH assets
   ========================================================= */

:root {
  --theme-color: #aef54c;
  --white: #dfd9d9;
  --white-60: #ece8e8;
  --white-40: hsla(0, 9%, 86%, 0.4);
  --white-20: hsla(0, 9%, 86%, 0.2);
  --black: #1a1a1b;
  --black-50: rgba(0, 0, 0, 0.7);
  --pink: #f85385;
  --green: #32b288;
  --text1: rgba(0, 0, 0, 0.3);
  --text2: #7e7e7e;
  --text3: #bcb3b0;
  --text4: #1a1a1a;
  --text5: #cbc5c5;
  --muted: #f4f4f5;

  --base-font-size: 16px;
  --font-10xl: 202px;
  --font-9xll: 110px;
  --font-9xl: 90px;
  --font-6xl: 72px;
  --font-5xl: 56px;
  --font-5xll: 48px;
  --font-4xl: 36px;
  --font-3xl: 28px;
  --font-2xl: 24px;
  --font-xl: 20px;
  --font-l: 18px;
  --font-s: 14px;
  --font-xs: 12px;

  --content-width: 1286px;
  --content-banner-width: 1320px;
  --content-margin: max(16px, calc((100vw - var(--content-width)) / 2));

  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1920px) {
  :root {
    --base-font-size: 18px;
    --font-10xl: 281px;
    --font-9xl: 100px;
    --font-9xll: 130px;
    --font-6xl: 96px;
    --font-5xl: 72px;
    --font-5xll: 56px;
    --font-4xl: 48px;
    --font-3xl: 36px;
    --font-2xl: 30px;
    --font-xl: 24px;
    --font-l: 20px;
    --font-s: 16px;
    --font-xs: 14px;
    --content-width: 1736px;
    --content-banner-width: 1816px;
  }
}

@media (min-width: 768px) and (max-width: 1440px) {
  :root {
    --font-10xl: 160px;
  }
}

@media (max-width: 768px) {
  :root {
    --base-font-size: 16px;
    --font-10xl: 60px;
    --font-9xll: 60px;
    --font-9xl: 40px;
    --font-6xl: 42px;
    --font-5xl: 36px;
    --font-5xll: 32px;
    --font-4xl: 28px;
    --font-3xl: 24px;
    --font-2xl: 20px;
    --font-xl: 18px;
    --font-l: 16px;
    --font-s: 14px;
    --font-xs: 12px;
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  font-family: var(--font-mono);
  color: var(--black);
  background-color: var(--white);
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

.blend-difference { mix-blend-mode: difference; }

.content-area {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 16px;
}

/* =========================================================
   FIXED HEADER — mirrors reference corner logos + top nav
   ========================================================= */
.fixed-wordmark {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999;
  color: #fff;
  transform: translateY(-60%);
  transition: transform 0.2s ease;
  cursor: pointer;
}
.wordmark-svg {
  display: none;
  width: 220px;
  height: auto;
}
@media (min-width: 768px) {
  .fixed-wordmark { right: 32px; }
  .wordmark-svg { display: block; }
}
@media (min-width: 1920px) {
  .fixed-wordmark { right: 80px; }
  .wordmark-svg { width: 256px; }
}

.fixed-logo {
  position: fixed;
  top: 5px;
  left: 16px;
  z-index: 1001;
  color: #fff;
  transition: all 0.2s ease;
}
.logo-mark-svg {
  width: 28px;
  height: 28px;
}
@media (min-width: 768px) {
  .fixed-logo { left: 25px; }
  .logo-mark-svg { width: 30px; height: 30px; }
}

/* Top nav bar */
.top-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  z-index: 1000;
  text-transform: uppercase;
  color: #fff;
  padding-left: 68px;
}
@media (min-width: 768px) {
  .top-nav { display: block; }
}
.top-nav-bg {
  position: absolute;
  top: 0;
  left: 80px;
  width: 100%;
  height: 100%;
  background: #000;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}
.top-nav-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 0 8px 0 58px;
}
.top-nav-left {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  height: 100%;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 4px;
}
.nav-trigger {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 100%;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.04em;
  z-index: 2;
}
.nav-bracket { opacity: 0.9; }
.nav-label { padding: 2px 2px 0; }
.nav-skew {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  transform: translate(-50%, -50%) skewX(45deg);
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: -1;
}
.nav-item:hover .nav-skew,
.nav-item:focus-within .nav-skew { opacity: 1; }
.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger { color: #000; }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #000;
  color: #fff;
  padding: 14px 16px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 4px 16px;
  color: #fff;
  font-size: 13px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-dropdown a:hover { background: #fff; color: #000; }
.nav-dropdown .nav-muted { opacity: 0.55; pointer-events: none; }

.top-nav-right {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 8px;
}
.nav-x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 100%;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-x:hover { background: #fff; color: #000; }

/* Mobile toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 1100;
  width: 36px;
  height: 36px;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--black);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (min-width: 768px) {
  .mobile-toggle { display: none; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--black);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  padding: 80px 24px 40px;
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-sans);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mobile-cta {
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,0.4) !important;
  text-align: center;
  padding: 14px !important;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
}
.hero-stage {
  position: relative;
  height: 100vh;
  min-height: 640px;
  text-transform: uppercase;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-stage { min-height: 857px; }
}
.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: soft-light;
}
.hero-bottom {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  padding: 0 16px 0 16px;
}
@media (min-width: 768px) {
  .hero-bottom { padding: 0 64px 0 64px; }
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text4);
  margin-bottom: 8px;
  opacity: 0;
  animation: heroIn 0.8s var(--ease) 0.15s forwards;
}
.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, var(--font-4xl));
  line-height: 100%;
  color: var(--text4);
  margin-bottom: 8px;
  opacity: 0;
  animation: heroIn 0.8s var(--ease) 0.25s forwards;
}
.hero-title-line { display: block; }
.hero-wordmark-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: clamp(56px, 12vw, 200px);
  margin-bottom: 8px;
  opacity: 0;
  animation: heroIn 0.9s var(--ease) 0.35s forwards;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-wordmark-wrap { height: clamp(100px, 14vw, 200px); }
}
@media (min-width: 1920px) {
  .hero-wordmark-wrap { height: 250px; }
}
.hero-wordmark {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}
.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.2vw, 16px);
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--text4);
  margin-bottom: 14px;
  max-width: 520px;
  opacity: 0;
  animation: heroIn 0.8s var(--ease) 0.5s forwards;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  animation: heroIn 0.8s var(--ease) 0.6s forwards;
  padding-bottom: 8px;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(26, 26, 27, 0.35);
  background: rgba(223, 217, 217, 0.55);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SPECS — sticky large type (reference pattern)
   ========================================================= */
.specs {
  height: auto;
  min-height: 70vh;
  position: relative;
}
@media (min-width: 768px) {
  .specs {
    height: 100vh;
    min-height: 100vh;
  }
}
.specs-sticky {
  position: sticky;
  top: 0;
  padding: 90px 16px 40px 16px;
}
@media (min-width: 768px) {
  .specs-sticky { padding: 90px 40px 16px 40px; }
}
.specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 5vw, var(--font-5xl));
  text-transform: uppercase;
  line-height: 100%;
  color: var(--black);
}
.spec-line {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.spec-line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   PERFORMANCE / CTA BAR / METRICS
   ========================================================= */
.performance {
  position: relative;
  z-index: 10;
  text-transform: uppercase;
}
.cta-bar {
  position: relative;
  width: 100%;
  height: 58px;
  background: transparent;
}
.cta-bar-fill {
  position: absolute;
  inset: 0;
  background: var(--text4);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.cta-bar-inner {
  position: relative;
  display: flex;
  height: 58px;
  padding-right: 0 !important;
  z-index: 1;
}
.cta-bar-spacer {
  flex: 1;
  position: relative;
  height: 100%;
  background: var(--white);
}
.cta-bar-spacer .corner-tri-lg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 58px 58px;
  border-color: transparent transparent var(--text4) transparent;
}
.cta-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px 0 22px;
  background: var(--text4);
  height: 100%;
}
.cta-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cta-arrow svg {
  width: 12px;
  height: 22px;
}
@media (min-width: 768px) {
  .cta-arrow svg { width: 15px; height: 28px; }
  .cta-bar-actions { gap: 22px; }
}

/* Paper / corner-accent buttons (reference style) */
.btn-paper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white-40);
  color: #fff;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 20px 6px;
  height: 34px;
}
.btn-paper:hover,
.btn-paper:active {
  background: #fff;
  color: #000;
}
.btn-paper .btn-corner-h {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 100%;
  height: 1px;
  background: #fff;
  z-index: 1;
  pointer-events: none;
}
.btn-paper .btn-corner-v {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 1px;
  height: 100%;
  background: #fff;
  z-index: 1;
  pointer-events: none;
}
.btn-paper:hover .btn-corner-h,
.btn-paper:hover .btn-corner-v { background: #fff; }
.btn-paper-lg { min-width: 160px; }
@media (min-width: 1920px) {
  .btn-paper-lg { min-width: 220px; }
}
.btn-paper-ghost {
  border-color: var(--white-40);
  font-size: 12px;
  padding: 10px 14px 6px;
}
.btn-paper-dark {
  border-color: rgba(26, 26, 27, 0.4);
  color: var(--black);
  background: transparent;
}
.btn-paper-dark .btn-corner-h,
.btn-paper-dark .btn-corner-v { background: var(--black); }
.btn-paper-dark:hover {
  background: var(--black);
  color: var(--white);
}
.btn-paper-outline {
  border-color: rgba(26, 26, 27, 0.4);
  color: var(--black);
}
.btn-paper-outline .btn-corner-h,
.btn-paper-outline .btn-corner-v { background: var(--black); }
.btn-paper-outline:hover {
  background: var(--black);
  color: #fff;
}

/* Metrics panel — black block */
.metrics-panel {
  background: var(--text4);
  color: #fff;
  padding-bottom: 16px;
}
@media (min-width: 768px) {
  .metrics-panel { padding-bottom: 72px; }
}
.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0;
}
@media (min-width: 768px) {
  .metrics-grid {
    flex-direction: row;
    padding-top: 24px;
  }
}
.metrics-visual {
  position: relative;
  flex: 1;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .metrics-visual { min-height: 456px; }
}
.warp-engine-canvas {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
}
@media (min-width: 768px) {
  .warp-engine-canvas { min-height: 456px; }
}
.engine-label {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}
.engine-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-color);
  box-shadow: 0 0 10px var(--theme-color);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.metrics-cards {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .metrics-cards {
    width: 320px;
    padding: 0 16px 0 36px;
  }
}
@media (min-width: 1920px) {
  .metrics-cards { width: 404px; }
}
.metrics-cards .metric-box {
  border: 1px solid var(--white-40);
}
.metric-value {
  position: relative;
  padding: 7px 12px 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(36px, 5vw, var(--font-5xl));
  line-height: 1.1;
  border-bottom: 1px solid var(--white-40);
  letter-spacing: -0.02em;
}
.metric-corner {
  position: absolute;
  bottom: 2px;
  right: 2px;
}
.metric-label {
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .metric-label { font-size: 16px; }
}
.metrics-disclaimer {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,0.45);
  text-transform: none;
  letter-spacing: 0;
  max-width: 36ch;
}

/* =========================================================
   GENERIC SECTION
   ========================================================= */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
  background: var(--white);
}
.section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 820px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, var(--font-5xl));
  line-height: 100%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-family: var(--font-mono);
  font-size: var(--font-s);
  line-height: 1.5;
  color: var(--text2);
  max-width: 56ch;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--text1);
  border-left: 1px solid var(--text1);
}
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .feature-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.feature-card {
  border-right: 1px solid var(--text1);
  border-bottom: 1px solid var(--text1);
  padding: 28px 20px 32px;
  background: transparent;
  transition: background 0.25s ease;
  min-height: 220px;
}
.feature-card:hover { background: rgba(0,0,0,0.03); }
.feature-wide { grid-column: 1 / -1; }
@media (min-width: 1100px) {
  .feature-wide { grid-column: span 3; }
}
.feature-index {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1;
}
.feature-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text2);
  max-width: 40ch;
}

/* Engine detail */
.engine-detail { background: #fff; }
.engine-stage {
  position: relative;
  border: 1px solid var(--text1);
  background: var(--black);
  min-height: 360px;
  overflow: hidden;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .engine-stage { min-height: 480px; }
}
.engine-deep-canvas {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
}
@media (min-width: 768px) {
  .engine-deep-canvas { min-height: 480px; }
}
.engine-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
  .engine-hud { grid-template-columns: repeat(4, 1fr); }
}
.hud-item {
  padding: 14px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
.hud-item:last-child { border-right: none; }
.hud-item span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.hud-item strong {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
}
.engine-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--text1);
  border-left: 1px solid var(--text1);
}
@media (min-width: 768px) {
  .engine-pillars { grid-template-columns: repeat(4, 1fr); }
}
.pillar {
  border-right: 1px solid var(--text1);
  border-bottom: 1px solid var(--text1);
  padding: 24px 18px;
}
.pillar h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 10px;
}
.pillar p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.45;
}

/* Ecosystem */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--text1);
  border-left: 1px solid var(--text1);
}
@media (min-width: 640px) {
  .eco-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
}
.eco-card {
  border-right: 1px solid var(--text1);
  border-bottom: 1px solid var(--text1);
  padding: 28px 22px 32px;
  transition: background 0.25s ease;
  min-height: 240px;
}
.eco-card:hover { background: rgba(0,0,0,0.03); }
.eco-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--black);
}
.eco-icon svg { width: 100%; height: 100%; }
.eco-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 10px;
}
.eco-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.45;
  max-width: 32ch;
}

/* Token */
.token-panel {
  border: 1px solid var(--text1);
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .token-panel { grid-template-columns: 1fr 1.2fr; }
}
.token-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 28px;
  border-bottom: 1px solid var(--text1);
  background: var(--white);
}
@media (min-width: 900px) {
  .token-brand {
    border-bottom: none;
    border-right: 1px solid var(--text1);
  }
}
.token-mark {
  width: 72px;
  height: 72px;
  color: var(--black);
  flex-shrink: 0;
}
.token-mark svg { width: 100%; height: 100%; }
.token-brand h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.02em;
}
.token-brand p {
  font-size: 13px;
  color: var(--text2);
  margin-top: 4px;
}
.token-rows {
  display: flex;
  flex-direction: column;
}
.token-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--text1);
  font-size: 14px;
}
.token-row:last-child { border-bottom: none; }
.token-key {
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}
.token-val {
  font-family: var(--font-sans);
  font-weight: 600;
  text-align: right;
}
.status-pill {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid var(--text1);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--white);
}

/* =========================================================
   UPDATES — horizontal scroll cards (reference community)
   ========================================================= */
.updates {
  background: #fff;
  padding-top: 102px;
  padding-bottom: 0;
}
.updates-head {
  display: flex;
  justify-content: center;
  padding-bottom: 32px;
}
.updates-tabs {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 16px;
}
.updates-tab {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
}
.updates-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
}
.updates-link span {
  transition: background 0.15s ease, color 0.15s ease;
  position: relative;
  top: 2px;
}
.updates-link:hover span:last-child {
  background: #000;
  color: #fff;
}
.updates-link-pad {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.updates-scroll {
  width: 100vw;
  height: calc(100vh - 247px);
  min-height: 420px;
  max-height: 720px;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.updates-scroll::-webkit-scrollbar { display: none; }

.update-card {
  flex: 0 0 66.6%;
  border-right: 1px solid var(--text1);
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}
@media (min-width: 1280px) {
  .update-card { flex: 0 0 50%; }
}
.update-card:nth-child(n+2) {
  flex: 0 0 33.3%;
}
@media (min-width: 1280px) {
  .update-card:nth-child(n+2) { flex: 0 0 25%; }
}
.update-thumb {
  width: 100%;
  flex: 0 0 25vw;
  min-height: 160px;
  max-height: 320px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1b 0%, #4a4545 40%, #dfd9d9 100%);
}
.update-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(174, 245, 76, 0.25), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(248, 83, 133, 0.2), transparent 40%);
  mix-blend-mode: screen;
}
.update-thumb-1 { background: linear-gradient(145deg, #1a1a1b, #3d3838 50%, #cfc8c8); }
.update-thumb-2 { background: linear-gradient(160deg, #0f0f10, #2a4a3a 45%, #d8d2d2); }
.update-thumb-3 { background: linear-gradient(130deg, #1a1a1b, #3a2a40 50%, #dfd9d9); }
.update-thumb-4 { background: linear-gradient(150deg, #111, #2a3540 40%, #d5cfcf); }
.update-thumb-5 { background: linear-gradient(140deg, #161616, #3a3520 50%, #e0dad9); }
.update-thumb-6 { background: linear-gradient(155deg, #101010, #403030 45%, #ddd7d7); }

.update-body {
  padding: 24px 16px;
  width: 100%;
  flex: 1;
}
.update-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 12px;
}
.update-date {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 100%;
  font-size: 14px;
}
.update-title {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: 14px;
  margin-top: 4px;
}
.update-num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  top: -2px;
  flex-shrink: 0;
}
.update-excerpt {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--font-s);
  line-height: 120%;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1280px) {
  .update-excerpt { -webkit-line-clamp: 5; }
}

.update-viewall {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 48px;
  cursor: pointer;
  border-right: 1px solid var(--text1);
  min-width: 200px;
}
.update-viewall span {
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}
.viewall-bar {
  height: 4px;
  width: 10vw;
  min-width: 60px;
  background: #000;
  transition: width 0.3s var(--ease);
}
.update-viewall:hover .viewall-bar { width: 14vw; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  background: var(--white);
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid var(--text1);
}
.final-inner {
  text-align: left;
  max-width: 900px;
}
.final-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 16px;
}
.final-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(36px, 6vw, var(--font-6xl));
  line-height: 100%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.final-sub {
  font-size: var(--font-s);
  color: var(--text2);
  max-width: 48ch;
  margin-bottom: 32px;
  line-height: 1.5;
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.final-note {
  font-size: 12px;
  color: var(--text2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #fff;
  border-top: 1px solid var(--text1);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
  }
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.footer-tag {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 8px;
}
.footer-meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text2);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--black); }
.footer-muted {
  font-size: 12px;
  color: var(--text3);
}
.footer-x {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--text1);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--text2);
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* =========================================================
   REVEAL + TOAST
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  color: #fff;
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2000;
  border: 1px solid rgba(255,255,255,0.15);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .spec-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-eyebrow, .hero-title, .hero-wordmark-wrap, .hero-sub, .hero-meta-row {
    opacity: 1 !important;
    animation: none !important;
  }
}
