/* ==========================================================================
   HECTAR INVESTOR LANDING PAGE
   Design System: Dark institutional, cinematic scrollytelling
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #0A0B0F;
  --surface: #12131A;
  --elevated: #1A1B24;
  --border: #2A2B35;

  /* Text */
  --text-primary: #E8E9ED;
  --text-muted: #8B8D97;
  --text-dim: #5A5C66;

  /* Accent */
  --accent: #6B4EFF;
  --accent-light: #8B7AFF;
  --teal: #00D4AA;
  --teal-dim: #00A888;

  /* Semantic */
  --red-subtle: rgba(239, 68, 68, 0.15);
  --red-border: rgba(239, 68, 68, 0.35);

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Misc */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  --content-wide: 1200px;
  --navbar-height: 4rem;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background-color: var(--bg);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
button { cursor: pointer; background: none; border: none; }

a, button, [role="button"] {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive),
              opacity var(--transition-interactive);
}

::selection {
  background: rgba(107, 78, 255, 0.3);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* ---------- Noise Overlay ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 11, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.navbar__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
  text-decoration: none;
}

.navbar__logo svg { flex-shrink: 0; }

.navbar__wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.02em;
}

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

.navbar__link--cta {
  color: var(--teal);
  font-weight: 500;
}

.navbar__link--cta:hover {
  color: #33E0BE;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.navbar__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10, 11, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--text-xl);
  font-family: var(--font-display);
  transition: color var(--transition-interactive);
}

.mobile-menu__link:hover { color: var(--text-primary); }

.mobile-menu__link--cta { color: var(--teal); }

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
}

/* ---------- HERO + PROBLEM SCROLLYTELLING ---------- */
.hero-problem {
  position: relative;
  padding-top: calc(var(--navbar-height) + var(--space-16));
}

.hero-problem__orbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.orb--purple {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  left: -100px;
}

.orb--teal {
  width: 400px;
  height: 400px;
  background: var(--teal);
  top: 200px;
  right: -100px;
  opacity: 0.08;
}

.hero-problem__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .hero-problem__inner {
    grid-template-columns: 38% 1fr;
    gap: var(--space-16);
  }
}

/* Left rail - CSS sticky on desktop */
@media (min-width: 1024px) {
  .hero-problem__left {
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-6));
    align-self: start;
    height: auto;
    max-height: calc(100vh - var(--navbar-height) - var(--space-12));
    display: flex;
    flex-direction: column;
  }
}

.hero-problem__left-content {
  padding-bottom: var(--space-6);
}

.hero-problem__headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.hero-problem__subtext {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: var(--space-8);
}

/* Category indicator */
.category-indicator {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.category-indicator__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  opacity: 0.3;
  transition: opacity 0.4s var(--ease-out);
}

.category-indicator__item.active {
  opacity: 1;
}

.category-indicator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.category-indicator__item.active .category-indicator__dot {
  background: var(--teal);
  transform: scale(1.3);
}

.category-indicator__label {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.4s var(--ease-out);
}

.category-indicator__item.active .category-indicator__label {
  color: var(--text-primary);
}

.category-indicator__progress {
  width: 100%;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.category-indicator__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 1px;
  transition: width 0.1s linear;
}

/* Right scrolling content */
.hero-problem__right {
  padding-bottom: var(--space-16);
}

/* Problem group */
.problem-group__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: var(--space-4) 0;
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

/* On mobile, sticky category headers and hide category indicator */
@media (max-width: 1023px) {
  .hero-problem__category-indicator {
    display: none;
  }

  .problem-group__label {
    position: sticky;
    top: var(--navbar-height);
    z-index: 10;
    background: var(--bg);
    padding: var(--space-4) 0;
  }

  .hero-problem__left-content {
    padding-bottom: var(--space-6);
  }
}

/* Problem card - editorial style */
.problem-card {
  position: relative;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
  opacity: 1; /* visible by default */
}

.problem-card:last-child {
  border-bottom: none;
}

.problem-card__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.problem-card__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-border);
  flex-shrink: 0;
}

.problem-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  padding-left: calc(4px + var(--space-3));
}

/* JS-enhanced: cards fade in */
.js-enabled .problem-card {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .problem-card.visible,
.problem-card[style*="opacity: 1"],
.problem-card[style*="opacity:1"] {
  opacity: 1;
}

/* ---------- BRIDGE ---------- */
.bridge {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-6);
}

.bridge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--teal), transparent);
}

.bridge__inner {
  max-width: 800px;
  text-align: center;
}

.bridge__headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-8);
  opacity: 1;
}

.bridge__body {
  font-size: var(--text-lg);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  opacity: 1;
}

/* ---------- SOLUTION ---------- */
.solution {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
}

.solution__header {
  max-width: var(--content-wide);
  margin: 0 auto var(--space-16);
}

.solution__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text-primary);
}

.solution__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .solution__inner {
    grid-template-columns: 280px 1fr;
    gap: var(--space-12);
  }
}

/* Solution nav */
.solution__nav {
  display: flex;
  flex-direction: row;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-4);
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
  .solution__nav {
    flex-direction: column;
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-8));
    align-self: start;
    overflow-x: visible;
    padding-bottom: 0;
    gap: var(--space-1);
  }
}

.solution__nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
  border: 1px solid transparent;
  background: transparent;
}

@media (min-width: 1024px) {
  .solution__nav-item {
    white-space: normal;
    line-height: 1.3;
  }
}

.solution__nav-item:hover {
  color: var(--text-primary);
  background: var(--surface);
}

.solution__nav-item.active {
  color: var(--text-primary);
  background: var(--surface);
  border-color: var(--accent);
}

.solution__nav-number {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-light);
  opacity: 0.5;
}

.solution__nav-item.active .solution__nav-number {
  opacity: 1;
}

.solution__nav-name {
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Solution panels */
.solution__content {
  position: relative;
}

.solution__panel {
  display: none;
  opacity: 1;
}

.solution__panel.active {
  display: block;
}

.solution__panel-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.solution__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.solution__panel-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.solution__panel-subtitle {
  font-size: var(--text-sm);
  color: var(--teal);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.solution__panel-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: var(--space-8);
}

/* Sub-sections */
.solution__subsections {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.solution__subsection h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
}

.solution__subsection p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Callout */
.solution__callout {
  position: relative;
  padding: var(--space-6);
  background: rgba(107, 78, 255, 0.05);
  border: 1px solid rgba(107, 78, 255, 0.2);
  border-radius: var(--radius-lg);
}

.solution__callout-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-3);
}

.solution__callout p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ---------- FLYWHEEL ---------- */
.flywheel {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
}

.flywheel__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.flywheel__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--space-12);
}

/* Side-by-side layout */
.flywheel__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .flywheel__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.flywheel__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.flywheel__svg {
  width: 100%;
  height: auto;
}

/* SVG labels are inside the SVG now */
.flywheel__svg-label {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.flywheel__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.flywheel__line {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

.flywheel__line--accent {
  color: var(--text-primary);
  font-weight: 500;
  margin-top: var(--space-4);
}

/* ---------- DETAILED ROADMAP ---------- */
.roadmap {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-6);
}

.roadmap__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.roadmap__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--space-8);
}

/* Legend */
.roadmap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.roadmap__legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-dim);
}

/* Status tags */
.roadmap__status-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.6;
  white-space: nowrap;
  flex-shrink: 0;
}

.roadmap__status-tag--built {
  background: rgba(0, 212, 170, 0.12);
  color: var(--teal);
  border: 1px solid rgba(0, 212, 170, 0.25);
}

.roadmap__status-tag--progress {
  background: rgba(107, 78, 255, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(107, 78, 255, 0.25);
}

.roadmap__status-tag--planned {
  background: rgba(90, 92, 102, 0.12);
  color: var(--text-muted);
  border: 1px solid rgba(90, 92, 102, 0.25);
}

/* Systems */
.roadmap__systems {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.roadmap__system:last-child {
  border-bottom: none;
}

.roadmap__system-header {
  padding: var(--space-6) 0 var(--space-4);
}

.roadmap__system-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-1);
}

.roadmap__system-desc {
  font-size: var(--text-xs);
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Feature rows */
.roadmap__features {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-4);
}

.roadmap__feature {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 var(--space-4);
  padding: var(--space-3) 0;
  padding-left: var(--space-4);
  border-left: 2px solid var(--border);
  margin-left: var(--space-1);
}

.roadmap__feature:hover {
  border-left-color: var(--accent);
}

.roadmap__feature-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  grid-column: 1;
  grid-row: 1;
}

.roadmap__feature-desc {
  font-size: var(--text-xs);
  color: var(--text-dim);
  line-height: 1.5;
  font-weight: 300;
  grid-column: 1;
  grid-row: 2;
  margin-top: 2px;
}

.roadmap__feature .roadmap__status-tag {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

@media (max-width: 767px) {
  .roadmap__feature {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-1);
  }

  .roadmap__feature .roadmap__status-tag {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: var(--space-1);
  }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: var(--space-6) var(--space-6);
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.footer__sep {
  color: var(--border);
  font-size: 11px;
}

.footer__text {
  font-size: 11px;
  color: var(--text-dim);
}

/* ---------- Scroll Reveal (CSS-only, progressive enhancement) ---------- */
@supports (animation-timeline: scroll()) {
  .bridge__headline,
  .bridge__body,
  .flywheel__title,
  .flywheel__body,
  .roadmap__title {
    opacity: 0;
    animation: revealFade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }

  @keyframes revealFade {
    to { opacity: 1; }
  }
}

/* ---------- Mobile Adjustments ---------- */
@media (max-width: 767px) {
  .hero-problem__headline {
    font-size: clamp(1.75rem, 1rem + 3vw, 2.25rem);
  }

  .hero-problem__subtext {
    font-size: var(--text-sm);
  }

  .flywheel__visual {
    max-width: 320px;
  }

  .flywheel__svg-label {
    font-size: 10px !important;
  }

  .solution__panel-header {
    flex-direction: column;
    gap: var(--space-3);
  }

  .roadmap__phase {
    padding: var(--space-6);
  }
}

/* ---------- Utility: flywheel particle glow ---------- */
.flywheel__particle-glow {
  filter: blur(8px);
}
