/* ============================================================
   TelarisBio — Design System & Styles
   ============================================================ */

/* — Design Tokens — */
:root {
  /* Palette */
  --bg-primary: #06090f;
  --bg-secondary: #0a1019;
  --bg-tertiary: #0e1525;
  --bg-card: rgba(14, 21, 37, 0.6);
  --bg-glass: rgba(14, 21, 37, 0.4);

  --teal-500: #00d4aa;
  --teal-400: #1aedc4;
  --teal-300: #5ef5d8;
  --teal-600: #009e80;
  --teal-glow: rgba(0, 212, 170, 0.15);
  --teal-glow-strong: rgba(0, 212, 170, 0.3);

  --amber-500: #f5a623;
  --amber-400: #ffc04d;
  --amber-glow: rgba(245, 166, 35, 0.15);

  --coral-500: #ff6b6b;
  --coral-glow: rgba(255, 107, 107, 0.15);

  --text-primary: #e8edf5;
  --text-secondary: #8a96a8;
  --text-muted: #5a6575;
  --text-accent: var(--teal-400);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 212, 170, 0.2);

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --content-max: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-display);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--teal-glow-strong);
  color: var(--teal-400);
}

picture {
  display: contents;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-400);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

a:hover {
  color: var(--teal-300);
}

/* — Utilities — */
/* The 80px offset in the click handler only covers in-page clicks; arriving
   from another page uses native fragment scrolling, which needs this. */
section[id],
footer[id] {
  scroll-margin-top: 90px;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

/* — Ambient Background — */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: orbFloat 20s ease-in-out infinite;
}

.ambient-orb--teal {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-glow-strong), transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: -3s;
}

.ambient-orb--amber {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  bottom: 20%;
  left: -100px;
  animation-delay: -8s;
  animation-duration: 25s;
}

.ambient-orb--coral {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--coral-glow), transparent 70%);
  top: 60%;
  right: 10%;
  animation-delay: -14s;
  animation-duration: 30s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.03); }
}

/* — Grid overlay — */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}

/* — Navigation — */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease-smooth);
  background: transparent;
}

.nav.scrolled {
  background: rgba(6, 9, 15, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.7rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav__brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 212, 170, 0.4));
  transition: transform 0.3s var(--ease-smooth), filter 0.3s var(--ease-smooth);
}

.nav__brand:hover img {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 16px rgba(0, 212, 170, 0.7));
}

.nav__brand span {
  background: linear-gradient(135deg, var(--text-primary), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s var(--ease-smooth);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  border-radius: 1px;
  transition: width 0.3s var(--ease-smooth);
}

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

.nav__links a:hover::after {
  width: 100%;
}

/* Dropdown Menu under Company */
.nav__item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* A disclosure control, not a link — it is a <button>, so it needs the
   browser's button styling stripped back to the surrounding nav links. */
.nav__dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: inherit;
  padding: 0.3rem 0;
  background: none;
  border: 0;
  transition: color 0.3s var(--ease-smooth);
}

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

.nav__dropdown-toggle.is-active,
.nav__item--dropdown.is-active .nav__dropdown-toggle {
  color: var(--teal-400);
}

.nav__dropdown-toggle.is-active::after,
.nav__item--dropdown.is-active .nav__dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal-500);
  border-radius: 1px;
}

.nav__dropdown-toggle svg {
  transition: transform 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10, 16, 25, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 212, 170, 0.1);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth), visibility 0.25s;
  z-index: 1001;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__item--dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__item--dropdown.is-open .nav__dropdown-toggle svg {
  transform: rotate(180deg);
  color: var(--teal-400);
}

/* Hover-to-open only on devices that genuinely hover. On a touch screen the
   sticky :hover state used to re-apply translateX(-50%) to the flattened
   mobile submenu and slide it off the left edge. */
@media (hover: hover) and (pointer: fine) {
  .nav__item--dropdown:hover .nav__dropdown-menu,
  .nav__item--dropdown:focus-within .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav__item--dropdown:hover .nav__dropdown-toggle svg,
  .nav__item--dropdown:focus-within .nav__dropdown-toggle svg {
    transform: rotate(180deg);
    color: var(--teal-400);
  }
}

.nav__dropdown-item {
  display: block;
}

.nav__dropdown-item a {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  transition: all 0.2s var(--ease-smooth);
}

.nav__dropdown-item a::after {
  display: none !important;
}

.nav__dropdown-item a.is-active,
.nav__dropdown-item a[aria-current="page"] {
  color: var(--teal-400) !important;
  background: rgba(0, 212, 170, 0.08);
  font-weight: 600;
}

.nav__dropdown-item a:hover {
  background: var(--teal-glow);
  color: var(--text-primary) !important;
  padding-left: 1.45rem;
}

.nav__dropdown-icon {
  font-size: 1rem;
  line-height: 1;
}

.nav__cta {
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: var(--bg-primary) !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 0 20px var(--teal-glow);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px var(--teal-glow-strong);
}

.nav__cta::after {
  display: none !important;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s var(--ease-smooth);
  border-radius: 1px;
}

/* — Hero — */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 var(--section-pad);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal-400);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.4s both;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-400), var(--amber-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.6s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-smooth);
}

.btn--primary {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: var(--bg-primary);
  box-shadow: 0 0 30px var(--teal-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--teal-glow-strong);
  color: var(--bg-primary);
}

.btn--ghost {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  background: var(--teal-glow);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.hero__image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1.2s var(--ease-smooth) 0.5s both;
}

.hero__image img {
  width: 100%;
  max-width: 580px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 40px var(--teal-glow);
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.hero__image img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 50px var(--teal-glow-strong);
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.8s var(--ease-smooth) 1s both;
}

.hero__stat {
  text-align: left;
}

.hero__stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-top: 0.2rem;
}

/* — Sections — */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-400);
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.section__label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 1px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section__header {
  margin-bottom: 4rem;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin: 0 auto;
}

/* — Demo Section — */
.demo {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.08), transparent), var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: calc(var(--section-pad) * 0.9) 0;
}

.demo__container {
  max-width: 1040px;
  margin: 0 auto;
}

.demo__window {
  background: #0d121c;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 212, 170, 0.25);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 212, 170, 0.12);
  overflow: hidden;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth);
}

.demo__window:hover {
  border-color: rgba(0, 212, 170, 0.45);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 212, 170, 0.2);
}

.demo__window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #111726;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo__window-dots {
  display: flex;
  gap: 6px;
}

.demo__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.demo__dot--red { background: #ff5f56; }
.demo__dot--yellow { background: #ffbd2e; }
.demo__dot--green { background: #27c93f; }

.demo__window-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.demo__window-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-400);
  background: rgba(0, 212, 170, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 170, 0.25);
  letter-spacing: 0.08em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  display: inline-block;
  box-shadow: 0 0 8px var(--teal-400);
  animation: pulse 1.8s infinite;
}

.demo__video-wrap {
  position: relative;
  width: 100%;
  background: #000;
  line-height: 0;
}

.demo__video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 620px;
  object-fit: contain;
  background: #000;
}

.demo__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.demo__feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s var(--ease-smooth);
}

.demo__feature-item:hover {
  border-color: rgba(0, 212, 170, 0.35);
  transform: translateY(-2px);
  background: rgba(19, 26, 42, 0.85);
}

.demo__feature-icon {
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.5rem;
  background: var(--teal-glow);
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.demo__feature-item h4,
.demo__feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.demo__feature-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .demo__features {
    grid-template-columns: 1fr;
  }
}

/* — Problem Section — */
.problem {
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem__visual {
  position: relative;
}

.problem__visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.problem__points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.problem__point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.problem__point-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--teal-glow);
  border: 1px solid rgba(0, 212, 170, 0.1);
}

.problem__point-icon--amber {
  background: var(--amber-glow);
  border-color: rgba(245, 166, 35, 0.1);
}

.problem__point-icon--coral {
  background: var(--coral-glow);
  border-color: rgba(255, 107, 107, 0.1);
}

.problem__point h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.problem__point p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* — Approach / Feature Cards — */
.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-500), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card__step {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-glow);
  color: var(--teal-400);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* — Scale Ladder — */
.scale {
  background: var(--bg-secondary);
  overflow: hidden;
}

.scale__visual {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.scale__visual img {
  width: 100%;
}

.scale__levels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 2rem;
}

.scale__level {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}

.scale__level:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.scale__level:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.scale__level:hover {
  background: var(--teal-glow);
  border-color: var(--border-hover);
}

.scale__level-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.scale__level-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.scale__level-example {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* — Organs Showcase — */
.organs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Let the last card (odd one) span full width centered */
.organs__grid > .organ-card:nth-child(5):last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.75rem);
  justify-self: center;
}

.organ-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
}

/* Roadmap cards get a subtle amber/muted treatment */
.organ-card--roadmap {
  position: relative;
}

.organ-card--roadmap .organ-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 9, 15, 0.4) 100%);
  pointer-events: none;
}

.organ-card--roadmap .organ-card__image {
  position: relative;
}

.organ-card__badge {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  background: var(--amber-glow);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--amber-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.organ-card--roadmap:hover {
  border-color: rgba(245, 166, 35, 0.25);
}

.organ-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.organ-card__image {
  height: 240px;
  overflow: hidden;
}

.organ-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.organ-card:hover .organ-card__image img {
  transform: scale(1.05);
}

.organ-card__content {
  padding: 1.75rem;
}

.organ-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.organ-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.organ-card__stats {
  display: flex;
  gap: 1.5rem;
}

.organ-card__stat {
  display: flex;
  flex-direction: column;
}

.organ-card__stat-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-400);
}

.organ-card__stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* — The Gate — */
.gate {
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.gate__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.gate__visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.gate__examples {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gate__example {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: var(--font-mono);
}

.gate__example--pass {
  border-color: rgba(0, 212, 170, 0.15);
}

.gate__example--fail {
  border-color: rgba(255, 107, 107, 0.15);
  color: var(--text-secondary);
}

.gate__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gate__dot--green {
  background: var(--teal-500);
  box-shadow: 0 0 8px var(--teal-glow-strong);
}

.gate__dot--red {
  background: var(--coral-500);
  box-shadow: 0 0 8px var(--coral-glow);
}

/* — Radar Chart Section — */

/* — Focus — */
/* Keyboard focus was effectively invisible on this ground: one focus rule in
   the whole stylesheet. :focus-visible keeps it off mouse clicks. */
:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible,
.nav__cta:focus-visible {
  outline-offset: 4px;
}

/* — Reduced motion — */
/* The page runs parallax, count-ups, staggered reveals and hover transforms.
   Honour the OS setting and stop all of it. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .ambient-orb,
  .live-dot {
    animation: none !important;
  }

  .hero__image img {
    transform: none !important;
  }
}

/* — Investor relations — */

/* Every data block on investors.html ends with one of these. If a figure has
   no source line under it, it should not be on the page. */
.source-note {
  margin: 0.9rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.source-note strong {
  color: var(--text-secondary);
  font-weight: 500;
}

/* On-page contents */
.ir-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.ir-toc a {
  display: block;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: border-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}

.ir-toc a:hover {
  border-color: var(--border-hover);
  color: var(--teal-400);
}

/* Stat row */
.ir-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.ir-stat {
  padding: 1.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.ir-stat__val {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal-400);
  line-height: 1.1;
}

.ir-stat__lbl {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Grouped forecast columns */
.forecast {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0 0;
}

/* Explicit height: the bars are percentages of this, and a percentage height
   against an auto-sized grid cell collapses to nothing. */
.forecast__group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  height: 230px;
}

.forecast__bar {
  flex: 1;
  max-width: 54px;
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 4px;
}

.forecast__bar--low  { background: rgba(138, 150, 168, 0.45); }
.forecast__bar--high { background: var(--teal-600); }

.forecast__bar span {
  position: absolute;
  top: -1.4rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.forecast__bar--high span { color: var(--teal-400); }

.forecast__year {
  text-align: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.legend span::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.5rem;
}

.legend .low::before  { background: rgba(138, 150, 168, 0.45); }
.legend .high::before { background: var(--teal-600); }

/* TAM / SAM / SOM */
.tsm__row { margin-bottom: 1.75rem; }

.tsm__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.tsm__name { font-weight: 700; font-size: 0.95rem; }

.tsm__val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--teal-400);
  font-weight: 500;
}

.tsm__val--todo { color: var(--amber-400); }

.tsm__track { height: 26px; border-radius: 5px; background: rgba(255,255,255,0.03); }

.tsm__fill { height: 100%; border-radius: 5px; background: var(--teal-600); }

.tsm__fill--todo {
  background: var(--amber-glow);
  border: 1px dashed rgba(245, 166, 35, 0.45);
}

.tsm__note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CAGR bars */
.cagr__row {
  display: grid;
  grid-template-columns: 230px 1fr 62px;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.cagr__lbl { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }

.cagr__track { height: 22px; border-radius: 4px; background: rgba(255,255,255,0.03); }

.cagr__fill { height: 100%; border-radius: 4px; background: rgba(138, 150, 168, 0.4); }

.cagr__fill--ours { background: var(--teal-600); }

.cagr__pct { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; text-align: right; }

.cagr__row--ours .cagr__lbl,
.cagr__row--ours .cagr__pct { color: var(--teal-400); }

/* Positioning quadrant */
.quad {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  /* the x-axis captions hang below the box, so keep clearance for them */
  margin: 1.5rem 0 3.2rem;
}

.quad::before,
.quad::after {
  content: '';
  position: absolute;
  background: var(--border-subtle);
}

.quad::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.quad::after  { top: 50%; left: 0; right: 0; height: 1px; }

.quad__pt {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.quad__pt::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(138, 150, 168, 0.75);
  flex: none;
}

.quad__pt--ours { color: var(--teal-400); }
.quad__pt--ours::before { background: var(--teal-500); box-shadow: 0 0 0 5px var(--teal-glow); }

.quad__axis {
  position: absolute;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quad__axis--y1 { top: 0.9rem; left: 0.9rem; }
.quad__axis--y0 { bottom: 0.9rem; left: 0.9rem; }
.quad__axis--x0 { bottom: -1.7rem; left: 0; }
.quad__axis--x1 { bottom: -1.7rem; right: 0; }

/* Use of funds */
.funds__bar {
  display: flex;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.funds__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.funds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.funds__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.87rem;
}

.funds__swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-top: 0.3rem;
  flex: none;
}

.funds__amt { display: block; color: var(--text-muted); font-size: 0.8rem; margin-top: 0.15rem; }

/* Two-column lists (IP, ask) */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .ir-stats { grid-template-columns: repeat(2, 1fr); }
  .funds__grid { grid-template-columns: repeat(2, 1fr); }
  .cagr__row { grid-template-columns: 150px 1fr 54px; gap: 0.7rem; }
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .funds__grid { grid-template-columns: 1fr; }
  .forecast { gap: 0.7rem; }
  .forecast__group { height: 150px; }
  .cagr__row { grid-template-columns: 1fr; gap: 0.3rem; margin-bottom: 1.1rem; }
  .cagr__pct { text-align: left; }
  .quad { aspect-ratio: 4 / 5; }
  .quad__pt { font-size: 0.7rem; }
  .funds__seg { font-size: 0.65rem; }
}

/* — Page header (sub-pages) — */
/* Sub-pages have no hero, so this both introduces the page and provides the
   clearance the fixed nav needs. */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 10rem 0 3rem;
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1rem;
  max-width: 20ch;
}

.page-hero__sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 7.5rem 0 2rem;
  }

  .page-hero__sub {
    font-size: 0.95rem;
  }
}

/* — Market scaffold — */
.market__notice {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  padding: 1rem 1.25rem;
  border: 1px dashed rgba(245, 166, 35, 0.4);
  border-radius: var(--radius-md);
  background: var(--amber-glow);
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
}

.market__notice strong {
  color: var(--amber-400);
}

.market__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.market__list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.market__list li {
  padding-left: 0.9rem;
  position: relative;
}

.market__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

.todo {
  display: inline-block;
  padding: 0.05rem 0.45rem;
  border-radius: 4px;
  border: 1px dashed rgba(245, 166, 35, 0.45);
  color: var(--amber-400);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* — Comparison table — */
.compare__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.compare__table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare__table thead th {
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.compare__table thead th.compare__us {
  color: var(--teal-400);
}

.compare__table tbody tr + tr {
  border-top: 1px solid var(--border-subtle);
}

.compare__table tbody th {
  text-align: left;
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  max-width: 300px;
}

.compare__cap {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.compare__desc {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.compare__cell {
  padding: 1.1rem 1.25rem;
  vertical-align: middle;
  white-space: nowrap;
}

.compare__cell span {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

.compare__cell--yes span {
  background: var(--teal-glow);
  color: var(--teal-400);
  border: 1px solid var(--border-hover);
}

.compare__cell--build span {
  background: var(--amber-glow);
  color: var(--amber-400);
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.compare__cell--part span {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.compare__cell--no span {
  color: var(--text-muted);
  padding-left: 0.2rem;
}

.compare__note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 68ch;
}

/* — Founder — */
.founder {
  background: var(--bg-secondary);
}

.founder__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.founder__profile {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.founder__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--teal-glow-strong), var(--amber-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal-400);
  border: 2px solid var(--border-subtle);
}

.founder__name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.founder__role {
  font-size: 0.9rem;
  color: var(--teal-400);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.founder__links-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.founder__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-smooth);
}

.founder__social-link:hover {
  color: var(--text-primary);
  border-color: rgba(0, 212, 170, 0.4);
  background: var(--teal-glow);
  transform: translateY(-1px);
}

.founder__credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.founder__credential {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.founder__credential-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-400);
  line-height: 1.2;
}

.founder__credential-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.founder__info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.founder__info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.founder__orgs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.founder__org {
  padding: 0.35rem 0.9rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hiring seats */
.founder__seats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.seat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-smooth);
}

.seat-card--intern {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(14, 21, 37, 0.7), rgba(0, 212, 170, 0.05));
  border-color: rgba(0, 212, 170, 0.2);
}

.seat-card:hover {
  border-color: var(--amber-500);
  box-shadow: 0 0 30px var(--amber-glow);
}

.seat-card--intern:hover {
  border-color: var(--teal-400);
  box-shadow: 0 0 30px var(--teal-glow);
}

.seat-card__badge {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  background: var(--amber-glow);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--amber-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.seat-card__badge--teal {
  background: var(--teal-glow);
  border-color: rgba(0, 212, 170, 0.25);
  color: var(--teal-400);
}

.seat-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.seat-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* — Timeline — */
.timeline__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.timeline__track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--amber-500), var(--teal-500));
  border-radius: 1px;
}

.timeline__phase {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal-500);
  border: 3px solid var(--bg-primary);
  margin: 20px auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px var(--teal-glow-strong);
}

.timeline__phase:nth-child(2) .timeline__dot {
  background: var(--amber-500);
  box-shadow: 0 0 15px var(--amber-glow);
}

.timeline__phase-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline__phase-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline__phase-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* — Company & Incubation — */
.company {
  background: radial-gradient(ellipse 70% 50% at 50% 10%, rgba(0, 212, 170, 0.06), transparent), var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.company__card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.company__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-500), var(--amber-500), transparent);
}

.company__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.company__logo-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.company__logo-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px var(--teal-glow);
}

.company__logo-box--telaris {
  min-width: 290px;
  min-height: 140px;
}

.company__logo-box--iitm {
  min-width: 220px;
  min-height: 140px;
}

.company__logo-img--telaris {
  max-width: 250px;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.company__logo-img--iitm {
  max-width: 130px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.company__divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.company__divider-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal-400);
  background: var(--teal-glow);
  border: 1px solid rgba(0, 212, 170, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.company__narrative {
  max-width: 850px;
  margin: 0 auto;
}

.company__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal-400);
  margin-bottom: 1rem;
}

.company__narrative-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.company__narrative-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.company__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.company__highlight {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.1rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  transition: all 0.3s var(--ease-smooth);
}

.company__highlight:hover {
  border-color: var(--border-hover);
  background: rgba(19, 26, 42, 0.85);
  transform: translateY(-2px);
}

.company__highlight-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  padding: 0.5rem;
  background: var(--teal-glow);
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 170, 0.15);
}

.company__highlight strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.company__highlight p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .company__highlights {
    grid-template-columns: 1fr;
  }

  .company__logos {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* — CTA Section — */
.cta-section {
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal-glow-strong), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.cta__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  position: relative;
}

.cta__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* — Footer — */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer__brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.3));
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s var(--ease-smooth);
}

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

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* — Animations — */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll-driven reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

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

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* — Responsive — */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__image {
    width: 100%;
    margin-top: 1.5rem;
    animation-name: fadeInUp;
  }

  .hero__image img {
    max-width: 520px;
  }

  .hero {
    padding-top: 7rem;
  }

  .problem__grid,
  .gate__grid,
  .founder__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .approach__grid {
    grid-template-columns: 1fr 1fr;
  }

  .organs__grid {
    grid-template-columns: 1fr;
  }

  .organs__grid > .organ-card:nth-child(5):last-child {
    max-width: 100%;
  }

}

@media (max-width: 900px) {
  .hero__title {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .company__logos {
    gap: 1.5rem;
  }

  .company__logo-box {
    min-width: 170px;
    padding: 1rem 1.5rem;
  }

  .company__logo-box--telaris {
    min-width: 230px;
  }

  .company__logo-img--telaris {
    max-width: 190px;
  }

  .company__divider {
    width: 100%;
  }

  .approach__grid,
  .market__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__inner {
    padding: 0 1.25rem;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 9, 15, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 1.5rem 1.25rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1.15rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__links a {
    font-size: 1rem;
    width: 100%;
    display: block;
    padding: 0.35rem 0;
  }

  /* The toggle is a <button>, so the rule above does not reach it. Full width
     with the chevron pushed to the right edge reads as an accordion row. */
  .nav__dropdown-toggle {
    font-size: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
  }

  .nav__item--dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
    margin: 0.25rem 0;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    padding: 0.35rem 0;
  }

  .nav__dropdown-menu {
    position: static;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(14, 21, 37, 0.5);
    border: 1px solid rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: none;
    padding: 0.5rem 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
  }

  .nav__dropdown-item a {
    padding: 0.6rem 0.75rem;
    font-size: 0.92rem;
  }

  .nav__cta {
    text-align: center;
    width: 100%;
    display: block;
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
  }

  /* Mobile submenus collapse; `transform` stays neutral in BOTH states so the
     panel can never be pushed off-screen (bug A1). */
  .nav__item--dropdown.is-open .nav__dropdown-menu {
    display: block;
    transform: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .approach__grid {
    grid-template-columns: 1fr;
  }

  .scale__levels {
    grid-template-columns: repeat(5, 1fr);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .scale__level {
    min-width: 110px;
  }

  .hero__stats {
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline__track {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline__track::before {
    display: none;
  }

  .founder__seats {
    grid-template-columns: 1fr;
  }

  .founder__credentials {
    grid-template-columns: 1fr 1fr;
  }

  .company__card {
    padding: 2rem 1.25rem;
  }

  .company__logos {
    flex-direction: column;
    gap: 1rem;
  }

  .company__logo-box {
    width: 100%;
    max-width: 260px;
    min-height: 110px;
  }

  .company__highlights {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 480px) {
  .hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .scale__levels {
    grid-template-columns: 1fr;
  }

  .scale__level {
    border-radius: var(--radius-sm) !important;
  }

  .founder__credentials {
    grid-template-columns: 1fr;
  }


  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* — Document & Policy Pages — */
.doc-page {
  padding: 8rem 0 var(--section-pad);
  position: relative;
  min-height: 80vh;
}

.doc-page__container {
  max-width: 860px;
  margin: 0 auto;
}

.doc-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--teal-400);
  margin-bottom: 2.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  transition: all 0.3s var(--ease-smooth);
}

.doc-page__back:hover {
  border-color: var(--border-hover);
  background: var(--teal-glow);
  transform: translateX(-3px);
  color: var(--text-primary);
}

.doc-page__header {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.doc-page__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.doc-page__meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.doc-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.02rem;
}

.doc-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.doc-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.8rem 0 0.75rem;
}

.doc-content p {
  margin-bottom: 1.25rem;
}

.doc-content ul, .doc-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.doc-content li {
  margin-bottom: 0.5rem;
}

.doc-callout {
  background: var(--bg-card);
  border-left: 4px solid var(--teal-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}


.doc-callout h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.doc-callout p {
  font-size: 0.9rem;
  margin-bottom: 0;
}
