:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --panel: #121317;
  --panel-strong: #171a20;
  --text: #f4f6f8;
  --muted: #a1a7b3;
  --border: #242833;
  --accent: #ff3b3b;
  --accent-strong: #e51f1f;
  --status-concept: #8f9dff;
  --status-prototype: #46d4c5;
  --status-beta: #f5c15b;
  --status-stage: #ff8a4c;
  --status-live: #4ade80;
  --status-published: #6ee7ff;
  --status-progress: #f59eaf;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  --radius: 14px;
  --radius-sm: 10px;
  --spacing: clamp(1.2rem, 2vw, 2rem);
  --max-width: 1200px;
  --font: 'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.theme-light {
  color-scheme: light;
  --bg: #f7f8fa;
  --panel: #ffffff;
  --panel-strong: #f1f3f6;
  --text: #111217;
  --muted: #505864;
  --border: #d7dbe2;
  --accent: #d21717;
  --accent-strong: #b51111;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  padding: 0 var(--spacing) 4rem;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(22, 24, 30, 0.96), rgba(11, 12, 14, 0.88));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: visible;
}

.nav-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
  padding: 0 var(--spacing);
}

.top-nav::before,
.top-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.top-nav::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 59, 59, 0.18), transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(91, 143, 255, 0.14), transparent 60%);
  opacity: 0.6;
  animation: navGlow 12s ease-in-out infinite;
}

.top-nav::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0.2;
}

body.theme-light .top-nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 250, 0.86));
}

body.theme-light .mega-menu-panel {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.theme-light .mega-logo {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.nav-logo {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.4rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.nav-logo-link .nav-logo {
  height: 38px;
}

.nav-logo-link:hover,
.nav-logo-link:focus-visible {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.mega-toggle:hover,
.mega-toggle[aria-expanded='true'] {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
  transform: translateY(-1px);
}

.mega-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 0.35rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-logo .nav-logo {
  height: 100%;
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 3.2rem;
  height: 1.7rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.theme-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  font-size: 0.75rem;
  opacity: 0.7;
  z-index: 2;
}

.theme-toggle__thumb {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  transition: transform 0.2s ease;
}

.theme-toggle[aria-pressed='true'] .theme-toggle__thumb {
  transform: translateX(1.4rem);
}

.mega-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
}

.mega-title {
  font-size: 1rem;
  font-weight: 600;
}

.mega-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.mega-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(255, 59, 59, 0.18);
  color: var(--text);
}

.mega-menu {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 60;
}

.mega-menu-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.5rem var(--spacing) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(9, 10, 12, 0.92);
  backdrop-filter: blur(18px);
  transform-origin: top;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.mega-menu.is-open .mega-menu-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mega-section-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.mega-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.mega-link-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 59, 59, 0.12);
  color: var(--text);
}

.mega-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mega-link-title {
  font-weight: 600;
  color: var(--text);
}

.mega-link-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
}

.mega-cta {
  margin-top: auto;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 59, 59, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mega-cta p {
  margin: 0;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.nav-link-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  transition: color 0.2s ease;
}

.nav-link-btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.ghost-btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-icon .icon-inline {
  font-size: 1.1rem;
  width: auto;
  height: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 1;
}

@keyframes navGlow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes progressGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes signalLineDraw {
  from {
    stroke-dashoffset: 160;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes signalAreaGrow {
  from {
    opacity: 0;
    transform: scaleY(0.7);
  }
  to {
    opacity: 0.9;
    transform: scaleY(1);
  }
}

@keyframes signalPointPop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 4rem 0 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 0 0 0.6rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
  font-weight: 500;
}

.hero-lede {
  margin: 0.8rem 0 0;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-lede--strong {
  color: var(--text);
  font-weight: 600;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.primary-btn,
.cta-btn {
  background: var(--accent);
  color: #041016;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.primary-btn:hover,
.cta-btn:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.ghost-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
}

.hero-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.35), rgba(255, 59, 59, 0));
  opacity: 0;
  pointer-events: none;
}

.hero-card--ready {
  animation: heroCardLaunch 0.9s ease both;
}

.hero-card--ready::before {
  animation: heroCardGlow 1.4s ease-out;
}

.hero-card__content {
  display: grid;
  gap: 1rem;
}

.hero-card--ready .hero-card__content {
  animation: heroContentRise 0.75s ease 0.2s both;
}

.hero-insight__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.badge {
  border: 1px solid rgba(255, 59, 59, 0.4);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-readiness {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.hero-readiness div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-readiness strong {
  font-size: 0.95rem;
  color: var(--text);
}

.metric-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-callout {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.stat-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 1.5rem;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.stat-card .icon-inline {
  margin-bottom: 0.4rem;
}

.icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  font-size: 1.1rem;
  color: var(--accent);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 600;
}

.preloader-card {
  min-height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.05) 8%,
    rgba(255, 255, 255, 0.12) 18%,
    rgba(255, 255, 255, 0.05) 33%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}

.preloader-card--wide {
  min-height: 240px;
}

.preloader-card--tall {
  min-height: 320px;
}

.preloader-line {
  width: 100%;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.05) 8%,
    rgba(255, 255, 255, 0.12) 18%,
    rgba(255, 255, 255, 0.05) 33%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}

.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(255, 59, 59, 0.08), rgba(6, 6, 8, 0.94));
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.page-preloader::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.35), rgba(255, 59, 59, 0));
  animation: preloaderPulse 2.2s ease-in-out infinite;
}

.page-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
  box-shadow: 0 0 24px rgba(255, 59, 59, 0.4);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes heroCardLaunch {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    box-shadow: 0 0 0 rgba(255, 59, 59, 0);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 18px 40px rgba(255, 59, 59, 0.18);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow);
  }
}

@keyframes heroCardGlow {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  40% {
    opacity: 0.55;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes heroContentRise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes productCardLaunch {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes preloaderPulse {
  0% {
    opacity: 0.2;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.55;
    transform: scale(1);
  }
  100% {
    opacity: 0.2;
    transform: scale(1.15);
  }
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 0;
}

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

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

.section-header {
  margin-bottom: 2rem;
}

.section-header--tight {
  margin-bottom: 1.4rem;
}

.highlight-strip {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 2rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.highlight-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.highlight-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.highlight-card p {
  color: var(--muted);
  margin: 0;
}

.highlight-mark {
  display: flex;
  justify-content: flex-end;
}

.section-header h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
}

.lede {
  color: var(--muted);
  max-width: 720px;
}

.tone-panel {
  background: linear-gradient(120deg, rgba(120, 115, 245, 0.12), rgba(12, 20, 32, 0));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
}

.tone-list li {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.tone-list li:nth-child(odd) {
  background: rgba(255, 255, 255, 0.04);
}

.tone-list li:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

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

.overview-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.overview-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.overview-card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.overview-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.how-to ul {
  color: var(--muted);
}

.filters {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: var(--bg);
  padding: 1rem 0 1.5rem;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filter-header h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.filter-panel label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.filter-panel select,
.filter-panel input {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border 0.2s ease;
}

.product-card.reveal.is-visible {
  animation: productCardLaunch 0.8s ease both;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 59, 59, 0.4);
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.1rem;
}

.product-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.product-icon span {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
}

.product-icon:not(.is-fallback) span {
  display: none;
}

.product-icon.is-fallback img {
  display: none;
}

.product-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
}

.tag {
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.status-badge {
  --status-color: var(--accent);
  --status-bg: rgba(255, 59, 59, 0.12);
  --status-border: rgba(255, 59, 59, 0.4);
  background: var(--status-bg);
  border-color: var(--status-border);
  color: var(--status-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.status-badge[data-status='Concept'] {
  --status-color: var(--status-concept);
  --status-bg: rgba(143, 157, 255, 0.16);
  --status-border: rgba(143, 157, 255, 0.45);
}

.status-badge[data-status='Prototype'] {
  --status-color: var(--status-prototype);
  --status-bg: rgba(70, 212, 197, 0.16);
  --status-border: rgba(70, 212, 197, 0.45);
}

.status-badge[data-status='Beta'] {
  --status-color: var(--status-beta);
  --status-bg: rgba(245, 193, 91, 0.18);
  --status-border: rgba(245, 193, 91, 0.45);
}

.status-badge[data-status='Stage 1 Beta'] {
  --status-color: var(--status-stage);
  --status-bg: rgba(255, 138, 76, 0.18);
  --status-border: rgba(255, 138, 76, 0.45);
}

.status-badge[data-status='Live'] {
  --status-color: var(--status-live);
  --status-bg: rgba(74, 222, 128, 0.18);
  --status-border: rgba(74, 222, 128, 0.45);
}

.status-badge[data-status='Published'] {
  --status-color: var(--status-published);
  --status-bg: rgba(110, 231, 255, 0.18);
  --status-border: rgba(110, 231, 255, 0.45);
}

.status-badge[data-status='In progress'] {
  --status-color: var(--status-progress);
  --status-bg: rgba(245, 158, 175, 0.18);
  --status-border: rgba(245, 158, 175, 0.45);
}

.status-badge--table {
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
}

.product-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.product-card .one-liner {
  font-weight: 500;
}

.signal-panel {
  display: grid;
  gap: 0.6rem;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  min-height: 120px;
}

.signal-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.signal-meta strong {
  font-size: 1.4rem;
}

.signal-meta small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.signal-chart {
  display: grid;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 18px
    );
}

.signal-chart__svg {
  width: 100%;
  height: 56px;
}

.signal-chart__svg circle {
  fill: var(--accent);
  opacity: 0;
  transform: scale(0.2);
  transform-origin: center;
}

.signal-chart__svg .signal-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  opacity: 0.9;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}

.signal-chart__svg .signal-area {
  opacity: 0;
  transform-origin: bottom;
  transform: scaleY(0.7);
}

.signal-chart__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.signal-chart__stats strong {
  color: var(--text);
}

.signal-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.signal-trend--up {
  color: rgba(74, 222, 128, 0.9);
}

.signal-trend--down {
  color: rgba(248, 113, 113, 0.9);
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.metric {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.metric .metric-value {
  font-weight: 600;
}

.metric .metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.readiness {
  display: grid;
  gap: 0.4rem;
}

.readiness-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--muted);
}

.readiness-bar {
  height: 8px;
  background: var(--panel-strong);
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.readiness-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: none;
}

.reveal.is-visible .signal-chart__svg .signal-line {
  animation: signalLineDraw 1.1s ease forwards;
}

.reveal.is-visible .signal-chart__svg .signal-area {
  animation: signalAreaGrow 1.1s ease forwards;
}

.reveal.is-visible .signal-chart__svg circle {
  animation: signalPointPop 0.6s ease forwards;
  animation-delay: calc(var(--point-index, 0) * 0.08s + 0.2s);
}

.reveal.is-visible .readiness-bar span {
  animation: progressGrow 0.9s ease forwards;
}

.product-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--muted);
}

.product-details {
  display: none;
  gap: 1rem;
}

.product-card.is-expanded .product-details {
  display: grid;
}

.product-card .one-liner {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card.is-expanded .one-liner {
  -webkit-line-clamp: unset;
}

.card-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  min-height: 140px;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-media .media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.card-media.is-fallback img {
  display: none;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.product-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.ghost-btn--small {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.primary-btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-box {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.frameworks {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.framework-card,
.book-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.6rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.book-card {
  grid-template-columns: 96px 1fr;
  align-items: start;
  gap: 1rem;
}

.book-cover {
  width: 96px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  position: relative;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover .cover-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.4rem;
  gap: 0.3rem;
}

.book-cover .cover-placeholder strong {
  font-size: 1rem;
  color: var(--text);
}

.book-cover .cover-placeholder small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.book-cover.has-cover .cover-placeholder {
  display: none;
}

.book-cover.is-fallback img {
  display: none;
}

.book-cover.is-fallback .cover-placeholder {
  display: grid;
}

.book-card .book-meta {
  display: grid;
  gap: 0.4rem;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
}

.status-table th,
.status-table td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.status-table thead th {
  background: rgba(255, 255, 255, 0.03);
}

.table-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.table-wrapper--scroll {
  overflow-x: auto;
}

.table-wrapper--scroll table {
  min-width: 520px;
}

.table-wrapper--projections {
  padding: 0.4rem;
}

.table-wrapper--projections .status-table th,
.table-wrapper--projections .status-table td {
  padding: 0.8rem 0.9rem;
}

.financials .overview-grid {
  margin-bottom: 2.5rem;
}

.assumptions-grid {
  align-items: stretch;
}

.assumptions-grid .overview-card {
  display: flex;
  flex-direction: column;
}

.financials-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.placeholder-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.placeholder-legend span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 0.3rem;
}

.ethics-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ethics-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.7);
}

.modal__content {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.8rem;
  width: min(620px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
  box-shadow: var(--shadow);
}

.modal--product .modal__content {
  width: min(960px, 94vw);
}

.modal.is-fullscreen .modal__content {
  width: min(1200px, 96vw);
  height: 94vh;
  max-height: 94vh;
}

.modal__header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}

.modal-subtitle {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
}

.tab-btn.is-active {
  border-color: rgba(255, 59, 59, 0.4);
  color: var(--text);
  background: rgba(255, 59, 59, 0.08);
}

.tab-panels {
  margin-top: 1.2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tab-panel ul {
  padding-left: 1rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.tab-disclaimer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.modal__form {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.modal__form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.modal__form input,
.modal__form select,
.modal__form textarea {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  color: var(--text);
}

.modal__form .full {
  grid-column: 1 / -1;
}

.chip-field {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-field legend {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0 0.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  cursor: pointer;
}

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

.consent {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-note {
  color: var(--muted);
}

.modal__success {
  text-align: center;
  padding: 2rem 0 1rem;
}

.modal__body {
  margin-top: 1rem;
}

.product-modal__grid {
  display: grid;
  gap: 1.2rem;
}

.product-modal__summary {
  display: grid;
  gap: 0.6rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem var(--spacing) 2rem;
  background: rgba(11, 12, 14, 0.92);
}

body.theme-light .site-footer {
  background: rgba(247, 248, 250, 0.92);
}

.footer-logos {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logos img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-grid h4,
.footer-grid h3 {
  margin-top: 0;
}

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

.footer-contact h4 {
  color: var(--accent);
}

.footer-contact ul {
  color: inherit;
}

.footer-contact a {
  color: inherit;
}

.footer-contact .footer-email {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-social {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
  color: #ffffff;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .preloader-spinner {
    animation: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .top-nav {
    overflow: visible;
  }

  .mega-menu-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem var(--spacing) 1.6rem;
  }

  .mega-brand {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .nav-actions {
    display: none;
  }

  .book-card {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .filter-panel {
    display: none;
  }

  .filter-panel.is-open {
    display: grid;
  }
}

@media (max-width: 900px) {
  .financials-duo {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
