/*
Theme Name: NeoMundi
Theme URI: https://neomundi.cloud
Author: NeoMundi
Author URI: https://neomundi.cloud
Description: Theme sur mesure NeoMundi, reproduction fidele de la maquette locale validee (homepage-draft). Sans constructeur de pages.
Version: 1.0
License: Proprietary
Text Domain: neomundi
*/

/* ==========================================================================
   NeoMundi — Homepage Draft V1
   Local draft only. Not connected to production. Built for later
   integration into WordPress (plain HTML/CSS/JS, no framework dependency).
   ========================================================================== */

:root {
  /* Colors */
  --bg: #05070D;
  --bg-alt: #090D18;
  --bg-elevated: #0D1220;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --off-white: #F4F5F1;
  --muted: #97A0B5;
  --muted-dim: #5F6779;

  --electric-blue: #3B5FFF;
  --electric-blue-soft: rgba(59, 95, 255, 0.14);
  --cyan: #3CE8F0;

  --radius: 14px;
  --radius-sm: 8px;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container-w: 1180px;
  --section-pad: 160px;

  /* Hauteur du header, synchronisée avec la taille responsive du logo
     (voir .logo-mark) afin de conserver un espacement interne constant
     de 16px au-dessus et en dessous du logo, à toutes les largeurs. */
  --header-h: clamp(64px, 6vw + 32px, 132px);
}

@media (max-width: 768px) {
  :root { --section-pad: 88px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

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

body {
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ---------- Utility text ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 780px;
  margin-bottom: 24px;
}

.section-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

.text-accent {
  background: linear-gradient(90deg, var(--electric-blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--electric-blue);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Draft badge ---------- */
.draft-badge {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 500;
  background: rgba(13, 18, 32, 0.9);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-lg { padding: 16px 30px; font-size: 15.5px; }

.btn-primary {
  background: linear-gradient(90deg, var(--electric-blue), #4A6BFF);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(59, 95, 255, 0);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px -6px rgba(59, 95, 255, 0.55);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--off-white);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-text {
  color: var(--muted);
  padding-left: 8px;
  padding-right: 8px;
}
.btn-text:hover { color: var(--off-white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.logo span { color: var(--cyan); }

.logo-mark {
  /* Environ 4x la taille d'origine (26px) sur grand écran, réduit
     automatiquement sur mobile pour préserver le menu. Proportions
     natives du fichier conservées (width: auto). */
  height: clamp(32px, 6vw, 100px);
  width: auto;
  display: block;
  /* Fichier officiel : tracé noir sur fond BLANC OPAQUE (non transparent).
     invert(1) donne un tracé blanc sur fond noir ; mix-blend-mode: screen
     fait ensuite disparaître ce fond noir (il devient transparent) en ne
     gardant que le tracé blanc, sans jamais modifier le fichier source. */
  filter: invert(1);
  mix-blend-mode: screen;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}
.footer-logo .logo-mark {
  height: 20px;
}

.main-nav {
  display: flex;
  gap: 36px;
}
.main-nav a {
  font-size: 14.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--off-white); }

/* Le logo agrandi (voir .logo-mark) réduit l'espace disponible pour le
   menu aux largeurs intermédiaires : resserrer le menu pour préserver sa
   lisibilité (aucun retour à la ligne au milieu d'un libellé). */
@media (max-width: 1220px) and (min-width: 761px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13.5px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn-ghost { display: inline-flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--off-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
  .header-actions .btn-ghost { display: none; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(5, 7, 13, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open { max-height: 400px; }
  .main-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
  }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .header-actions .btn-primary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 35%, #000 40%, transparent 90%);
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 900px;
  background: radial-gradient(circle, var(--electric-blue-soft) 0%, transparent 65%);
  filter: blur(10px);
}

.hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  top: 30%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.5;
  animation: scanline 9s ease-in-out infinite;
}

@keyframes scanline {
  0%, 100% { top: 18%; opacity: 0; }
  10% { opacity: 0.5; }
  50% { top: 70%; opacity: 0.35; }
  90% { opacity: 0.5; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-indicator span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrolldrop 2.2s ease-in-out infinite;
}
@keyframes scrolldrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (max-width: 640px) {
  .scroll-indicator { display: none; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
}
.section-alt { background: var(--bg-alt); }

/* ---------- Primitive flow ---------- */
.primitive-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 72px;
}
.flow-step {
  flex: 1;
  min-width: 0;
}
.flow-index {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.flow-step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.flow-step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 280px;
}
.flow-connector {
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line));
  margin-top: 20px;
}

@media (max-width: 860px) {
  .primitive-flow { flex-direction: column; gap: 36px; }
  .flow-connector { display: none; }
  .flow-step p { max-width: 100%; }
}

/* ---------- Statement banner ---------- */
.statement-banner {
  margin-top: 140px;
  padding: 90px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, var(--electric-blue-soft), transparent 70%);
}
.statement-banner p {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.statement-banner span { display: inline; }
.statement-banner em {
  font-style: normal;
  color: var(--cyan);
}

@media (max-width: 640px) {
  .statement-banner { margin-top: 88px; padding: 60px 0; }
}

/* ---------- Products ---------- */
.products-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product-card {
  display: block;
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.product-index {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  line-height: 1;
  pointer-events: none;
}

.product-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 14px;
  position: relative;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  max-width: 90%;
  position: relative;
}

.product-desc {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 92%;
  margin-bottom: 28px;
  position: relative;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  position: relative;
}
.product-tags li {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 6px 14px;
}

.link-arrow {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--cyan);
  transition: transform 0.2s ease;
}
.link-arrow:hover { transform: translateX(4px); }

@media (max-width: 860px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 36px 28px; }
}

/* ---------- Use cases ---------- */
.usecase-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.usecase-card {
  background: var(--bg);
  padding: 40px 32px;
  transition: background 0.25s ease;
}
.usecase-card:hover { background: var(--bg-elevated); }

.usecase-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--electric-blue-soft);
  color: var(--cyan);
  margin-bottom: 22px;
}
.usecase-icon svg { width: 20px; height: 20px; }

.usecase-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.usecase-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .usecase-grid { grid-template-columns: 1fr; }
}

/* ---------- Traction ---------- */
.traction-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.traction-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  background: var(--bg);
}
.traction-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--cyan);
}
.traction-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.traction-note {
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--muted-dim);
}

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

/* ---------- Ecosystem ---------- */
.ecosystem-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ecosystem-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  background: var(--bg-elevated);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ecosystem-card:hover {
  border-color: var(--electric-blue);
  transform: translateY(-3px);
}
.ecosystem-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  margin-bottom: 24px;
}
.ecosystem-icon svg { width: 22px; height: 22px; }

.ecosystem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.ecosystem-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.ecosystem-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--electric-blue);
}
.ecosystem-card:hover .ecosystem-link { color: var(--cyan); }

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

/* ---------- Final CTA ---------- */
.cta-section {
  text-align: center;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-inner .section-title,
.cta-inner .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer-tagline {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 400px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 14px;
  color: var(--muted);
}
.footer-nav a:hover { color: var(--off-white); }
.footer-copy {
  font-size: 13px;
  color: var(--muted-dim);
  margin-top: 12px;
}

/* ---------- V1.1 targeted additions ---------- */
.is-hidden { display: none !important; }

/* ---------- V1.3: hero — full width, no schema ---------- */
.hero-context {
  max-width: 720px;
  margin-top: 8px;
}
.hero-context p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.hero-context p:last-child { margin-bottom: 0; }
.hero-capabilities {
  color: var(--off-white) !important;
  font-weight: 500;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 18px 0 !important;
}

.hero-signature {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 23px);
  background: linear-gradient(90deg, var(--electric-blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 640px;
}

.hero-actions { margin-top: 40px; }

/* ---------- V1.3: minimal horizontal architecture schema (standalone section) ---------- */
.schema-overview { padding: 64px 0 84px; }

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-hub {
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px 30px;
  text-align: center;
}
.arch-hub-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--off-white);
  margin-bottom: 4px;
}
.arch-hub-sub {
  font-size: 12.5px;
  color: var(--muted);
}

.arch-trunk {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.65);
}

.arch-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 980px;
  padding-top: 32px;
}
.arch-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
}

.arch-node {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
}
.arch-node::before {
  content: '';
  position: absolute;
  top: -32px;
  left: 50%;
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.65);
  transform: translateX(-50%);
}
.arch-node-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.arch-node-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--off-white);
  line-height: 1.3;
}

@media (max-width: 760px) {
  .arch-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 0;
    max-width: 360px;
  }
  .arch-row::before { display: none; }
  .arch-node::before { display: none; }
  .arch-trunk { height: 24px; }
}

/* ---------- V1.2: product actions ---------- */
.product-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

/* ---------- V1.2: public surface cards ---------- */
.public-surface-card .link-arrow {
  display: inline-block;
  margin-top: 14px;
}

/* ---------- V1.2: ecosystem network ---------- */
.ecosystem-web {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.ecosystem-chip {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.ecosystem-signal {
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-alt));
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  padding: 18px 12px;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ecosystem-signal-sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.ecosystem-signal-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--off-white);
}
.ecosystem-cta {
  margin-top: 44px;
}

@media (max-width: 700px) {
  .ecosystem-web { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-signal { grid-column: 1 / -1; order: -1; }
}

/* ---------- V1.2: footer github link ---------- */
.footer-github {
  font-size: 13px;
}
.footer-github a {
  color: var(--muted-dim);
}
.footer-github a:hover {
  color: var(--muted);
}

.flow-note {
  margin-top: 40px;
}

.products-tagline {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--off-white);
  max-width: 640px;
}

.audience-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ---------- V1.6: adoption program panel ---------- */
.adoption-panel {
  margin-top: 48px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 40px 44px;
}
.adoption-panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
  color: var(--off-white);
  max-width: 620px;
  margin-bottom: 14px;
}
.adoption-panel-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 18px;
}
.adoption-panel-highlight {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--off-white);
  margin-bottom: 26px;
}
.adoption-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 640px) {
  .adoption-panel { padding: 32px 28px; }
}

/* ---------- V1.5: wide single product card ---------- */
.product-card--wide {
  padding: 52px 48px;
}
.product-card--wide h3 {
  max-width: 640px;
  font-size: 26px;
}
.product-card--wide .product-desc {
  max-width: 640px;
}
.product-card--wide .product-desc + .product-desc {
  margin-top: -14px;
}
@media (max-width: 640px) {
  .product-card--wide { padding: 36px 28px; }
}

/* ---------- V1.4: partners marquee ---------- */
.partners-band {
  padding: 52px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partners-band-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 32px;
}
.marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 56px;
  animation: marquee-scroll 36s linear infinite;
}
.marquee-item {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
