/* =============================================
   DESIGN SYSTEM — Solanodes
   Fixed-viewport scroll-hijack architecture
   ============================================= */

:root {
  /* Colors */
  --bg-primary: #141414;
  --bg-secondary: #1a1a1a;
  --text-primary: #f0ece4;
  --text-secondary: rgba(240, 236, 228, 0.55);
  --text-muted: rgba(240, 236, 228, 0.3);
  --accent: #c41e3a;
  --accent-dim: rgba(196, 30, 58, 0.25);
  --accent-glow: rgba(196, 30, 58, 0.15);
  --border: rgba(240, 236, 228, 0.08);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-logo: 'Unbounded', system-ui, sans-serif;

  /* Layout — fluid scaling for large screens */
  --edge-inset: clamp(64px, 5vw, 120px);
  --edge-max-width: clamp(440px, 30vw, 640px);
}

/* =============================================
   RESET & BASE
   ============================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  overflow-x: hidden;
  /* Hide native scrollbar — scroll is section-locked via JS */
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* IE/Edge */
}

html::-webkit-scrollbar {
  display: none;                    /* Chrome/Safari/Opera */
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Film grain texture overlay */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(16px, 1.5vw, 24px) clamp(28px, 3vw, 64px);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.nav-logo {
  font-family: var(--font-logo);
  font-size: clamp(1rem, 0.9vw, 1.25rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  cursor: pointer;
}

.nav-logo-icon {
  flex-shrink: 0;
  border-radius: 50%;
  display: block;
  position: relative;
  top: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(20px, 1.6vw, 32px);
}

.nav-link {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.65vw, 0.95rem);
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;

}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 0.75vw, 1.05rem);
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--accent);
  border: none;
  padding: clamp(10px, 0.8vw, 14px) clamp(24px, 1.8vw, 32px);
  border-radius: 40px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-cta:hover {
  background: #e63950;
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

/* =============================================
   CANVAS
   ============================================= */

#scene-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* =============================================
   SCROLL-HIJACK ARCHITECTURE
   The viewport is fixed. A tall spacer provides scroll distance.
   All panels occupy the same viewport and are shown/hidden via JS.
   ============================================= */

/* =============================================
   FALLBACK MODE (default)
   When the scroll-hijack JS hasn't initialized
   (e.g. Telegram browser, Quick Look, file:// preview),
   panels flow vertically as a normal scrollable page.
   JS adds .scroll-hijack to <body> to enable the fancy mode.
   ============================================= */

.viewport-fixed {
  position: relative;
  z-index: 2;
}

.panel {
  position: relative;
  width: 100%;
  min-height: auto;
  opacity: 1;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  padding: 56px 24px 48px;
}

.panel .edge-block {
  position: static;
  max-width: 640px;
  width: 100%;
}

.panel .edge-vcenter {
  transform: none;
}

/* Hide scroll-hijack-only elements in fallback mode */
.scroll-spacer {
  display: none;
}

.scroll-progress-bar {
  display: none;
}

.scroll-indicator {
  display: none;
}

#scene-canvas {
  display: none;
}

/* =============================================
   SCROLL-HIJACK MODE (.scroll-hijack on body)
   Activated by animations.js when GSAP loads successfully.
   Overrides fallback to the fixed-viewport architecture.
   ============================================= */

.scroll-hijack .viewport-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scroll-hijack .panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  min-height: unset;
  display: block;
  gap: unset;
  padding: 0;
}

.scroll-hijack .panel .edge-block {
  position: absolute;
  max-width: var(--edge-max-width);
}

.scroll-hijack .panel .edge-vcenter {
  transform: translateY(-50%);
}

.scroll-hijack .panel.active {
  pointer-events: auto;
}

.scroll-hijack .scroll-spacer {
  display: block;
  height: 800vh;
  position: relative;
  z-index: -1;
}

.scroll-hijack .scroll-progress-bar {
  display: flex;
}

.scroll-hijack .scroll-indicator {
  display: flex;
}

.scroll-hijack #scene-canvas {
  display: block;
}

/* =============================================
   EDGE BLOCKS — text anchored to viewport edges
   ============================================= */

.edge-block {
  position: absolute;
  z-index: 5;
  max-width: var(--edge-max-width);
  /* pointer-events inherited from .panel / .panel.active */
}

.edge-left {
  left: var(--edge-inset);
}

.edge-right {
  right: var(--edge-inset);
}

.edge-top {
  top: clamp(120px, 10vw, 180px);
  /* below nav */
}

.edge-bottom {
  bottom: clamp(80px, 6vw, 140px);
}

.edge-vcenter {
  top: 50%;
  transform: translateY(-50%);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

.section-label {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.65vw, 1rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 2vw, 36px);
}

.headline {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1.headline {
  font-size: clamp(2.8rem, 5vw, 6rem);
}

h2.headline {
  font-size: clamp(2.2rem, 4.5vw, 5rem);
}

.headline-line {
  display: block;
}

.accent {
  color: var(--accent);
}

.body-text {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.4rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: var(--edge-max-width);
}

.headline + .body-text {
  margin-top: clamp(20px, 1.6vw, 32px);
}

/* =============================================
   STATS
   ============================================= */

.stats-row {
  display: flex;
  gap: clamp(36px, 3vw, 56px);
  margin-top: clamp(36px, 3vw, 56px);
}

.stat {
  display: flex;
  flex-wrap: wrap;
}

.stat-value,
.stat-suffix {
  white-space: nowrap;
}

.stat-label {
  width: 100%;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.8vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
  display: inline-block;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.8vw, 3rem);
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.6vw, 0.95rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* =============================================
   STATUS INDICATOR
   ============================================= */

.status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  height: 40px;
  /* fixed height to prevent layout shift */
}

.status-prefix {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.4vw, 2.2rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.status-word {
  display: inline-flex;
  gap: 0px;
}

.status-letter {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.4vw, 2.2rem);
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.08em;
  display: inline-block;
  perspective: 200px;
}

.status-letter .letter-inner {
  display: inline-block;
  opacity: 0;
  transform: rotateX(-90deg);
}

.status-letter.revealed .letter-inner {
  animation: splitFlap 0.4s ease-out forwards;
}

@keyframes splitFlap {
  0% {
    opacity: 1;
    transform: rotateX(-90deg);
  }

  60% {
    transform: rotateX(10deg);
  }

  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbbf24;
  opacity: 0;
  box-shadow: 0 0 0px #fbbf24;
}

.status-dot.active {
  opacity: 1;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 4px #fbbf24, 0 0 8px rgba(251, 191, 36, 0.4);
  }

  50% {
    box-shadow: 0 0 8px #fbbf24, 0 0 20px rgba(251, 191, 36, 0.6);
  }
}


/* =============================================
   FEATURES
   ============================================= */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 2.2vw, 44px);
  margin-top: clamp(32px, 2.5vw, 48px);
}

.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-number {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.7vw, 1.05rem);
  font-weight: 600;
  color: var(--accent);
  min-width: 28px;
  padding-top: 2px;
}

.feature h4 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9vw, 1.35rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature p {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.8vw, 1.1rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   PERFORMANCE GRID
   ============================================= */

.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 1.2vw, 24px);
  margin-top: 12px;
}

.perf-card {
  padding: clamp(24px, 2vw, 40px);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.3s ease;
}

.perf-card:hover {
  border-color: var(--accent-dim);
}

.perf-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.4vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.perf-label {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.6vw, 0.95rem);
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.perf-disclaimer {
  margin-top: clamp(16px, 1.2vw, 24px);
  opacity: 0.6;
  font-size: clamp(0.75rem, 0.65vw, 0.95rem);
}

/* =============================================
   TRUST POINTS
   ============================================= */

.trust-points {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2vw, 40px);
}

.trust-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-icon {
  font-size: clamp(1.4rem, 1.2vw, 1.8rem);
  min-width: 32px;
  padding-top: 2px;
}

.trust-point h4 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9vw, 1.35rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.trust-point p {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.8vw, 1.1rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: clamp(20px, 1.6vw, 32px) 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.85vw, 1.25rem);
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;

}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  font-size: clamp(1.2rem, 1vw, 1.6rem);
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 20px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 0.8vw, 1.1rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   CTA FORM
   ============================================= */

.cta-form {
  display: flex;
  gap: 0;
  margin-top: clamp(32px, 2.5vw, 48px);
  max-width: clamp(420px, 28vw, 560px);
  width: 100%;
}

.cta-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 0.8vw, 1.1rem);
  font-weight: 300;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-right: none;
  padding: clamp(14px, 1.2vw, 20px) clamp(20px, 1.5vw, 28px);
  outline: none;
  transition: all 0.3s ease;

}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  border-color: var(--accent-dim);
  background: rgba(255, 255, 255, 0.08);
}

.cta-button {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 0.75vw, 1.1rem);
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: clamp(14px, 1.2vw, 20px) clamp(28px, 2.2vw, 40px);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;

}

.cta-button:hover {
  background: #e63950;
  box-shadow: 0 0 40px var(--accent-glow);
}

.cta-disclaimer {
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.6vw, 0.9rem);
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 14px;
}

/* =============================================
   ROADMAP
   ============================================= */

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(28px, 2vw, 40px);
  position: relative;
}

.roadmap::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border);
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.2vw, 24px);
  padding: clamp(14px, 1vw, 20px) 0;
  position: relative;
}

.roadmap-marker {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.roadmap-item.active .roadmap-marker {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.roadmap-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.roadmap-phase {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 0.55vw, 0.8rem);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.roadmap-item.active .roadmap-phase {
  color: var(--accent);
}

.roadmap-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9vw, 1.3rem);
  font-weight: 600;
  color: var(--text-primary);
}

.roadmap-desc {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 0.7vw, 0.95rem);
  font-weight: 300;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* =============================================
   COMMUNITY BUTTONS
   ============================================= */

.community-links {
  display: flex;
  gap: clamp(12px, 1vw, 20px);
  margin-top: clamp(28px, 2vw, 40px);
}

.community-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 0.8vw, 1.1rem);
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: clamp(12px, 1vw, 18px) clamp(28px, 2.2vw, 40px);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.community-btn:hover {
  border-color: var(--accent-dim);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 30px var(--accent-glow);
}

.community-btn-icon {
  font-size: clamp(1.1rem, 1vw, 1.4rem);
}

/* =============================================
   SCROLL INDICATOR
   ============================================= */

.scroll-indicator {
  position: absolute;
  bottom: clamp(40px, 3.5vw, 64px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 0.6vw, 0.9rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 5;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(24px, 2vw, 36px) clamp(48px, 4vw, 80px) clamp(56px, 4.5vw, 72px);
  border-top: 1px solid var(--border);
  z-index: 5;
}

.scroll-hijack .footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer-right {
  display: flex;
  gap: clamp(24px, 2vw, 36px);
}

.footer-link {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 0.7vw, 1rem);
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;

}

.footer-link:hover {
  color: var(--accent);
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */

.scroll-progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 28px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  pointer-events: none;
  transition: transform 0.3s ease;
}

.scroll-progress-label {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 0.55vw, 0.8rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 140px;
}

.scroll-progress-track {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
  overflow: hidden;
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #a01828);
  border-radius: 1px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --edge-inset: 32px;
    --edge-max-width: 360px;
  }

  .nav {
    padding: 12px 20px;
  }

  .nav-right {
    gap: 14px;
  }
}

/* Mobile — stacked layout */
@media (max-width: 768px) {
  /* Boost text contrast for dark background */
  :root {
    --text-secondary: rgba(240, 236, 228, 0.78);
    --text-muted: rgba(240, 236, 228, 0.55);
  }

  /* Dim 3D object slightly on mobile — visible but not competing with text */
  #scene-canvas {
    opacity: 0.55;
  }

  /* Nav: logo + CTA only */
  .nav-link {
    display: none;
  }

  .nav {
    padding: 14px 24px;
    width: 100%;
  }

  /* Panels: vertical flex, content starts near top (scroll-hijack mode) */
  .scroll-hijack .panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding: 72px 24px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Edge blocks: flow vertically (scroll-hijack mode) — must match specificity of .scroll-hijack .panel .edge-block */
  .scroll-hijack .panel .edge-block {
    position: static;
    max-width: 100%;
    width: 100%;
  }

  .scroll-hijack .panel .edge-vcenter {
    transform: none;
  }

  /* Content ordering: headline blocks first */
  .edge-left { order: 1; }
  .edge-right { order: 2; }

  /* Performance panel: title is in .edge-right, cards in .edge-left — flip order */
  #performance-right { order: 1; }
  #performance-left  { order: 2; }

  /* Typography: slightly heavier weight for dark-bg readability */
  h1.headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  h2.headline {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .body-text {
    max-width: 100%;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
  }

  .section-label {
    margin-bottom: 12px;
    font-size: 0.7rem;
  }

  .headline + .body-text {
    margin-top: 12px;
  }

  /* Stats */
  .stats-row {
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .stat-value,
  .stat-suffix {
    font-size: 1.5rem;
  }

  .status-line {
    margin-top: 12px;
  }

  .status-prefix,
  .status-letter {
    font-size: 1.2rem;
  }

  /* Performance grid */
  .perf-grid {
    gap: 10px;
    margin-top: 12px;
  }

  .perf-card {
    padding: 16px;
  }

  .perf-value {
    font-size: 1.3rem;
  }

  .perf-disclaimer {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.7;
  }

  /* Feature lists — tighter for mobile */
  .feature-list {
    gap: 18px;
    margin-top: 12px;
  }

  .feature p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* Trust points — tighter for mobile */
  .trust-points {
    gap: 16px;
    margin-top: 8px;
  }

  .trust-point p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 0;
    font-size: 0.9rem;
  }

  .faq-list {
    margin-top: 4px;
  }

  .faq-answer p {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  /* Roadmap + Community */
  .roadmap {
    margin-top: 20px;
  }

  .roadmap-item {
    padding: 10px 0;
  }

  .community-links {
    margin-top: 20px;
  }

  .community-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  #cta-right {
    margin-top: 32px;
  }

  /* CTA panel: center content, pin footer to bottom */
  #panel-cta {
    justify-content: center;
  }

  #panel-cta .edge-block {
    flex-shrink: 0;
  }

  /* Footer: pinned to bottom of CTA panel, above progress bar (scroll-hijack only) */
  .scroll-hijack .footer {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 24px 8px;
    border-top: 1px solid var(--border);
  }

  /* Fallback footer: simple stacked */
  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 24px 8px;
  }

  /* Progress bar (only visible in scroll-hijack mode via .scroll-hijack rules) */
  .scroll-hijack .scroll-progress-bar {
    padding: 8px 20px;
  }

  .scroll-progress-label {
    min-width: 100px;
    font-size: 0.6rem;
  }
}

/* Small mobile (iPhone SE, etc.) */
@media (max-width: 480px) {
  .scroll-hijack .panel {
    padding: 68px 16px 48px;
    gap: 24px;
    justify-content: center;
  }

  .panel {
    padding: 60px 16px 40px;
  }

  h1.headline {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  h2.headline {
    font-size: clamp(1.4rem, 8vw, 1.9rem);
  }

  .section-label {
    margin-bottom: 8px;
    font-size: 0.65rem;
  }

  .headline + .body-text {
    margin-top: 8px;
  }

  .body-text {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* Stats: horizontal row, compact */
  .stats-row {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    margin-top: 16px;
  }

  .stat-value,
  .stat-suffix {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .status-line {
    margin-top: 8px;
    height: 32px;
  }

  .status-prefix,
  .status-letter {
    font-size: 1rem;
  }

  /* Performance grid: keep 2-col but tighter */
  .perf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .perf-card {
    padding: 12px;
    gap: 4px;
  }

  .perf-value {
    font-size: 1.1rem;
  }

  .perf-label {
    font-size: 0.6rem;
  }

  .perf-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem;
  }

  /* Feature / trust lists */
  .feature-list {
    gap: 14px;
    margin-top: 8px;
  }

  .feature-number {
    font-size: 0.7rem;
    min-width: 24px;
  }

  .feature h4,
  .trust-point h4 {
    font-size: 0.9rem;
  }

  .feature p,
  .trust-point p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .trust-points {
    gap: 12px;
    margin-top: 4px;
  }

  /* FAQ */
  .faq-question {
    padding: 12px 0;
    font-size: 0.85rem;
  }

  .faq-answer p {
    font-size: 0.78rem;
  }

  /* Roadmap + Community (small) */
  .roadmap-title {
    font-size: 0.9rem;
  }

  .roadmap-desc {
    font-size: 0.75rem;
  }

  .community-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  /* Nav */
  .nav {
    padding: 12px 20px;
  }

  .nav-logo {
    font-size: 0.95rem;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* Progress bar */
  .scroll-progress-bar {
    padding: 6px 16px;
    gap: 10px;
  }

  .scroll-progress-label {
    min-width: 80px;
    font-size: 0.55rem;
  }

  /* Footer */
  .scroll-hijack .footer {
    gap: 10px;
    bottom: 22px;
    padding: 12px 16px 6px;
  }

  .footer-right {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-link {
    font-size: 0.75rem;
  }
}