/* ============================================
   GEN4TRAVEL — DESIGN SYSTEM
   ============================================ */
:root {
  /* Navy scale — project signature, derived from G4T logo */
  --navy-950: #060929;
  --navy-900: #0D1342;
  --navy-850: #141A5A;
  --navy-800: #1B2476;
  --navy-700: #242FA0;
  --navy-600: #2E3BC4;
  --navy-500: #4453D8;

  /* Blues */
  --blue-400: #6B7FE8;
  --blue-300: #9BABF0;
  --blue-200: #C3CEF6;
  --blue-100: #E4E9FA;

  /* Cream / light */
  --cream: #F4EFE7;
  --cream-50: #FAF7F2;
  --cream-100: #F4EFE7;
  --cream-200: #ECE5D6;

  /* Accents */
  --accent-red: #E1000F;
  --accent-gold: #C4A468;
  --accent-green: #6FCF9F;
  --accent-amber: #F4B860;

  /* Neutrals */
  --ink: #050716;
  --ink-70: rgba(5, 7, 22, 0.70);
  --ink-50: rgba(5, 7, 22, 0.50);
  --ink-30: rgba(5, 7, 22, 0.30);
  --ink-10: rgba(5, 7, 22, 0.10);
  --white: #FFFFFF;
  --white-90: rgba(255, 255, 255, 0.90);
  --white-70: rgba(255, 255, 255, 0.70);
  --white-50: rgba(255, 255, 255, 0.50);
  --white-30: rgba(255, 255, 255, 0.30);
  --white-20: rgba(255, 255, 255, 0.20);
  --white-10: rgba(255, 255, 255, 0.10);
  --white-05: rgba(255, 255, 255, 0.05);

  /* Fonts */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui;
  --font-body: "Inter Tight", ui-sans-serif, system-ui;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radii */
  --r-sm: 4px;
  --r: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevations */
  --shadow-sm: 0 1px 2px rgba(6, 9, 41, 0.06), 0 1px 3px rgba(6, 9, 41, 0.04);
  --shadow: 0 4px 12px rgba(6, 9, 41, 0.08), 0 2px 4px rgba(6, 9, 41, 0.05);
  --shadow-lg: 0 20px 50px rgba(6, 9, 41, 0.12), 0 8px 20px rgba(6, 9, 41, 0.08);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font-family: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--navy-700); color: var(--cream); }

/* ============================================
   TYPOGRAPHY UTILS
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ============================================
   LAYOUT
   ============================================ */
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

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

section {
  position: relative;
  padding: 140px 0;
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
}

/* ============================================
   NAV BAR
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: backdrop-filter 0.3s, background 0.3s, padding 0.3s, color 0.3s;
}

.nav.scrolled {
  background: rgba(6, 9, 41, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 14px 0;
  border-bottom: 1px solid var(--white-10);
}

.nav.on-light {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--ink-10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.nav.on-light .nav-logo {
  color: var(--navy-900);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: opacity 0.3s;
}

.nav-logo-text {
  font-feature-settings: "ss01";
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--white-70);
  transition: color 0.2s;
  font-weight: 500;
}

.nav.on-light .nav-links a {
  color: var(--ink-70);
}

.nav-links a:hover {
  color: var(--cream);
}

.nav.on-light .nav-links a:hover {
  color: var(--navy-900);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--cream);
  color: var(--navy-900);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s var(--ease-spring);
}

.nav.on-light .nav-cta {
  background: var(--navy-900);
  color: var(--cream);
}

.nav-cta:hover { transform: scale(1.04); }

/* Right side group: lang switch + CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--white-30);
  border-radius: var(--r-pill);
  padding: 3px;
  background: var(--white-05);
  backdrop-filter: blur(6px);
}

.nav.on-light .lang-switch {
  border-color: var(--ink-30);
  background: rgba(255, 255, 255, 0.6);
}

.lang-btn {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white-70);
  transition: all 0.2s;
  cursor: pointer;
}

.nav.on-light .lang-btn {
  color: var(--ink-70);
}

.lang-btn.active {
  background: var(--cream);
  color: var(--navy-900);
}

.nav.on-light .lang-btn.active {
  background: var(--navy-900);
  color: var(--cream);
}

.lang-btn:not(.active):hover {
  color: var(--cream);
}

.nav.on-light .lang-btn:not(.active):hover {
  color: var(--navy-900);
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(46, 59, 196, 0.35), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(107, 127, 232, 0.18), transparent 55%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.75;
}

/* Hero data streams overlay — animated SVG paths + floating tokens */
.hero-streams {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-stream-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-top {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--white-30);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--white-05);
  backdrop-filter: blur(6px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.france-2030-badge {
  display: flex;
  align-items: center;

  /* Position absolutely on the right, top aligned with title's top edge */
  position: absolute;
  top: 210px;
  right: 40px;
  z-index: 3;
}

.france-2030-logo {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
}

.gov-banner-link {
  display: block;
  line-height: 0;
  transition: transform 0.3s var(--ease);
}

.gov-banner-link:hover {
  transform: scale(1.04);
}

.gov-banner-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Footer banner stays in normal flow, no absolute positioning */
.footer-support .france-2030-badge,
.footer-support {
  position: static;
  inset: auto;
}

.footer-gov-img {
  height: 100px;
}

@media (max-width: 1100px) {
  .france-2030-badge {
    top: 175px;
  }
  .france-2030-logo { height: 124px; }
  .gov-banner-img { height: 100px; }
}

@media (max-width: 900px) {
  /* On smaller screens, return banner to normal flow */
  .france-2030-badge {
    position: static;
    margin-top: 16px;
    margin-bottom: 32px;
  }
  .france-2030-logo { height: 110px; }
  .gov-banner-img { height: 90px; }
  .footer-gov-img { height: 80px; }
}

@media (max-width: 480px) {
  .france-2030-logo { height: 90px; }
  .gov-banner-img { height: 64px; }
}

.hero-title {
  font-size: clamp(64px, 11vw, 180px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 96;
}

.hero-title .four {
  color: var(--blue-300);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  max-width: 620px;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--white-70);
  margin-bottom: 56px;
}

.hero-subtitle em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream);
  font-size: 1.1em;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-primary {
  background: var(--cream);
  color: var(--navy-900);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(244, 239, 231, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--white-30);
}

.btn-ghost:hover {
  background: var(--white-10);
  border-color: var(--white-50);
}

.btn-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero partner logos strip — partners on light background pills.
   Now in normal flow (not absolute) to avoid overlapping the CTAs. */
.hero-partners {
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.hero-partners-label {
  font-size: 11px;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--font-mono);
  margin-bottom: 22px;
}

.hero-partners-band {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  max-width: 1100px;
}

.hero-partner-link {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 10px 14px;
  border-right: 1px solid rgba(9, 70, 114, 0.10);
  transition: background 0.25s var(--ease);
}

.hero-partner-link:last-child {
  border-right: none;
}

.hero-partner-link:hover {
  background: var(--cream-50);
}

.hero-partner-link img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.25s;
}

/* Visually balance logos of very different aspect ratios so they read
   as the same size on the single band. */
.hero-partner-link img.logo-wide   { height: 22px; max-height: 22px; }  /* Amadeus, Capgemini */
.hero-partner-link img.logo-mid    { height: 30px; max-height: 30px; }  /* Docaposte, Digital New Deal */
.hero-partner-link img.logo-square { height: 46px; max-height: 46px; }  /* Accor, ADP, EONA-X */

.hero-partner-link:hover img {
  opacity: 1;
}

@media (max-width: 900px) {
  .hero-partners-band {
    flex-wrap: wrap;
  }
  .hero-partner-link {
    flex: 1 1 30%;
    border-bottom: 1px solid rgba(9, 70, 114, 0.10);
  }
}

/* Animations */
.split-line { display: block; overflow: hidden; }
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: reveal 1s var(--ease) forwards;
}
.split-line:nth-child(1) > span { animation-delay: 0.1s; }

@keyframes reveal {
  to { transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.fade-up.d1 { animation-delay: 0.4s; }
.fade-up.d2 { animation-delay: 0.6s; }
.fade-up.d3 { animation-delay: 0.8s; }
.fade-up.d4 { animation-delay: 1s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-cream {
  background: var(--cream-50);
  color: var(--ink);
}

.section-navy {
  background: var(--navy-950);
  color: var(--cream);
}

.section-header {
  margin-bottom: 80px;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-50);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-navy .section-number,
.metrics .section-number,
.proto .section-number,
.close .section-number {
  color: var(--white-50);
}

.section-number::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 5.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 1100px;
  font-variation-settings: "opsz" 72;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy-600);
  font-weight: 400;
}

.section-navy .section-title em,
.metrics .section-title em,
.proto .section-title em,
.close .section-title em {
  color: var(--blue-300);
}

/* ============================================
   CONTEXT INTRO
   ============================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
}

.intro-main {
  position: sticky;
  top: 120px;
}

.intro-text p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-70);
  margin-bottom: 24px;
  max-width: 520px;
}

.intro-text p strong {
  color: var(--ink);
  font-weight: 600;
}

.intro-aside {
  display: grid;
  gap: 20px;
}

.intro-card {
  padding: 32px;
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.intro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.intro-card .icon {
  width: 44px;
  height: 44px;
  background: var(--navy-900);
  color: var(--cream);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.intro-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.intro-card p {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.55;
}

/* ============================================
   METRICS
   ============================================ */
.metrics {
  background: var(--navy-950);
  color: var(--cream);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.metrics::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2000px;
  height: 2000px;
  transform: translate(-50%, -75%);
  background: radial-gradient(circle, var(--navy-700) 0%, transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

.metric {
  position: relative;
}

.metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  width: 1px;
  height: 100%;
  background: var(--white-10);
}

.metric:first-child::before { display: none; }

.metric-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 96;
}

.metric-value .unit {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-300);
  font-size: 0.6em;
  margin-left: 2px;
}

.metric-label {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.4;
  font-weight: 400;
  max-width: 220px;
}

/* ============================================
   ARCHITECTURE
   ============================================ */
.arch {
  padding: 160px 0;
}

.arch-stack {
  display: grid;
  gap: 16px;
  max-width: 1100px;
  margin: 80px auto 0;
}

.arch-layer {
  padding: 28px 36px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--ink-10);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 32px;
  transition: all 0.4s var(--ease);
}

.arch-layer:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-600);
}

.arch-layer[data-tier="apps"] { background: linear-gradient(135deg, var(--white) 0%, var(--blue-100) 100%); }
.arch-layer[data-tier="middleware"] { background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%); color: var(--cream); border-color: transparent; }
.arch-layer[data-tier="dataspace"] { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); color: var(--cream); border-color: transparent; }

.arch-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 6px;
}

.arch-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.arch-components {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.arch-chip {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.arch-layer[data-tier="apps"] .arch-chip {
  background: var(--white);
  border-color: var(--ink-10);
  color: var(--navy-900);
}

@media (max-width: 768px) {
  .arch-layer { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
}

/* Data flow indicator between architecture layers — discreet animated dots */
.arch-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  margin: -2px 0;
  pointer-events: none;
}

.arch-flow svg {
  width: 100%;
  max-width: 600px;
  height: 32px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .arch-flow { height: 24px; }
  .arch-flow svg { height: 24px; }
}

/* ============================================
   USE CASES
   ============================================ */
.usecases {
  padding: 160px 0;
  background: var(--cream-50);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 80px;
}

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

.usecase {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 520px;
  background: var(--navy-900);
  color: var(--cream);
  transition: transform 0.5s var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.usecase:hover {
  transform: translateY(-8px);
}

.usecase-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease);
}

.usecase:hover .usecase-img {
  transform: scale(1.08);
}

.usecase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 41, 0) 0%, rgba(6, 9, 41, 0.3) 40%, rgba(6, 9, 41, 0.95) 100%);
}

.usecase-content {
  position: relative;
  z-index: 2;
  padding: 36px;
}

.usecase-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.usecase-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.usecase-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--white-90);
  margin-bottom: 22px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s var(--ease);
}

.usecase:hover .usecase-desc {
  max-height: 200px;
  opacity: 1;
}

.usecase-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.usecase-cta svg {
  transition: transform 0.3s var(--ease);
}

.usecase:hover .usecase-cta svg {
  transform: translateX(6px);
}

/* ============================================
   PROTOTYPE — INTERACTIVE AGENT
   ============================================ */
.proto {
  padding: 160px 0;
  background: var(--navy-950);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.proto::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -300px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--navy-700), transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.proto::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 127, 232, 0.3), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.proto-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
  position: relative;
}

@media (max-width: 900px) {
  .proto-head { grid-template-columns: 1fr; gap: 32px; }
}

.proto-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--white-90);
  max-width: 540px;
}

.proto-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  padding: 6px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--r-pill);
  width: fit-content;
  flex-wrap: wrap;
  position: relative;
  backdrop-filter: blur(10px);
}

.proto-tab {
  padding: 12px 24px;
  border-radius: var(--r-pill);
  color: var(--white-70);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.proto-tab .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.6;
}

.proto-tab:hover { color: var(--cream); }

.proto-tab.active {
  background: var(--cream);
  color: var(--navy-900);
}

.proto-tab.active .idx {
  opacity: 1;
  color: var(--navy-600);
}

/* Year badge on tabs */
.tab-year {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--white-10);
  color: var(--white-70);
}

.tab-year-live {
  background: var(--yellow, #FFD047);
  color: var(--navy-900);
}

.proto-tab.active .tab-year-live {
  background: var(--navy-900);
  color: var(--yellow, #FFD047);
}

.proto-tab-locked {
  opacity: 0.62;
}

.proto-tab-locked:hover {
  opacity: 0.78;
}

.proto-tab.active .tab-year {
  background: rgba(9, 70, 114, 0.14);
  color: var(--navy-700);
}

/* Chat frame */
.chat-frame {
  border: 1px solid var(--white-10);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(20, 26, 90, 0.85) 0%, rgba(13, 19, 66, 0.85) 100%);
  backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--white-10);
  background: var(--white-05);
  gap: 14px;
}

.chat-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(11%) sepia(86%) saturate(2654%) hue-rotate(231deg) brightness(86%) contrast(99%);
}

.chat-topbar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}

.chat-topbar-sub {
  font-size: 11px;
  color: var(--white-50);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.chat-topbar-sub .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2s infinite;
}

.chat-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice-controls {
  display: flex;
  gap: 8px;
}

.voice-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.voice-toggle:hover {
  background: var(--white-10);
  border-color: var(--white-20);
}

.voice-toggle.muted {
  opacity: 0.5;
}

.voice-toggle.muted #voiceIcon {
  text-decoration: line-through;
}

.chat-reset-btn {
  padding: 8px 14px;
  background: transparent;
  color: var(--white-70);
  border: 1px solid var(--white-20);
  border-radius: var(--r-pill);
  font-size: 12px;
  transition: all 0.2s;
}

.chat-reset-btn:hover {
  background: var(--white-10);
  color: var(--cream);
}

/* Chat body */
.chat-body {
  padding: 28px;
  min-height: 480px;
  max-height: 680px;
  overflow-y: auto;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: var(--white-10); border-radius: 3px; }
.chat-body::-webkit-scrollbar-thumb:hover { background: var(--white-20); }

/* Messages */
.msg {
  animation: msgFadeIn 0.45s var(--ease) forwards;
  opacity: 0;
  transform: translateY(8px);
  max-width: 82%;
}

.msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-600));
  color: var(--cream);
  padding: 13px 18px;
  border-radius: 18px 18px 4px 18px;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(46, 59, 196, 0.3);
}

.msg.agent {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--white-10);
  color: var(--cream);
  padding: 14px 18px;
  border-radius: 18px 18px 18px 4px;
  font-size: 15px;
  line-height: 1.55;
  backdrop-filter: blur(10px);
}

.msg.agent strong { color: var(--blue-300); font-weight: 600; }
.msg.agent em { font-family: var(--font-serif); font-style: italic; color: var(--cream); }

@keyframes msgFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Typing indicator */
.typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--white-10);
  border-radius: 18px 18px 18px 4px;
  backdrop-filter: blur(10px);
  align-self: flex-start;
  animation: msgFadeIn 0.3s var(--ease) forwards;
  opacity: 0;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-300);
  animation: typingDot 1.4s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Action cards */
.action-card {
  align-self: flex-start;
  max-width: 92%;
  width: 100%;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--white-10);
  border-left: 3px solid var(--blue-300);
  border-radius: var(--r-lg);
  animation: cardFadeIn 0.5s var(--ease) forwards;
  opacity: 0;
  transform: translateY(8px);
  backdrop-filter: blur(10px);
}

@keyframes cardFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.action-card.success { border-left-color: var(--accent-green); }
.action-card.warn { border-left-color: var(--accent-amber); }
.action-card.info { border-left-color: var(--blue-400); }
.action-card.highlight {
  border-left-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(196, 164, 104, 0.12), rgba(196, 164, 104, 0.04));
}

.action-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white-50);
}

.action-card-head .status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--white-10);
  border-radius: var(--r-pill);
  color: var(--cream);
  font-size: 10px;
}

.action-card.success .action-card-head .status {
  background: rgba(111, 207, 159, 0.18);
  color: var(--accent-green);
}

.action-card.warn .action-card-head .status {
  background: rgba(244, 184, 96, 0.18);
  color: var(--accent-amber);
}

.action-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.2;
  color: var(--cream);
}

.action-card-content {
  font-size: 14px;
  color: var(--white-70);
  line-height: 1.55;
}

.action-card-content strong { color: var(--cream); font-weight: 600; }

.action-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--white-10);
}

.action-card-meta .chip {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--white-05);
  border: 1px solid var(--white-10);
  font-size: 12px;
  color: var(--white-90);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}

.action-card-meta .chip.green {
  background: rgba(111, 207, 159, 0.1);
  border-color: rgba(111, 207, 159, 0.25);
  color: var(--accent-green);
}

.action-card-meta .chip.gold {
  background: rgba(196, 164, 104, 0.12);
  border-color: rgba(196, 164, 104, 0.3);
  color: var(--accent-gold);
}

.action-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; padding-left: 0; list-style: none; }
.action-list li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--white-90);
  line-height: 1.5;
}
.action-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FCF9F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.chat-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(155, 171, 240, 0.15);
  border: 1px solid rgba(155, 171, 240, 0.3);
  color: var(--blue-200);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 500;
  margin: 1px 2px;
  white-space: nowrap;
}

/* Chat suggestions */
.chat-suggestions {
  padding: 14px 22px;
  border-top: 1px solid var(--white-10);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  min-height: 0;
  transition: padding 0.3s, max-height 0.3s;
}

.chat-suggestions:empty {
  padding: 0;
  border-top: 0;
}

.suggestion {
  padding: 8px 14px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--r-pill);
  color: var(--white-90);
  font-size: 13px;
  font-style: italic;
  font-family: var(--font-serif);
  transition: all 0.2s;
  cursor: pointer;
  animation: cardFadeIn 0.4s var(--ease) forwards;
  opacity: 0;
}

.suggestion:hover {
  background: var(--blue-400);
  border-color: var(--blue-400);
  color: var(--navy-900);
}

/* Chat input bar */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--white-10);
  background: var(--white-05);
}

.chat-mic-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.chat-mic-btn:hover {
  background: var(--white-10);
  transform: scale(1.04);
}

.chat-mic-btn.listening {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(225, 0, 15, 0.6);
  animation: pulse-mic 1.4s infinite;
}

@keyframes pulse-mic {
  0% { box-shadow: 0 0 0 0 rgba(225, 0, 15, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(225, 0, 15, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 0, 15, 0); }
}

.chat-mic-btn.unsupported {
  opacity: 0.4;
  cursor: not-allowed;
}

.chat-input-field {
  flex: 1;
  padding: 12px 16px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--r-pill);
  color: var(--cream);
  font-size: 14px;
  outline: none;
  transition: border 0.2s, background 0.2s;
}

.chat-input-field:focus {
  border-color: var(--blue-400);
  background: var(--white-10);
}

.chat-input-field::placeholder {
  color: var(--white-50);
  font-style: italic;
  font-family: var(--font-serif);
}

/* Listening state — visible cue while user dictates */
.chat-input-field.listening-mode {
  border-color: var(--accent-red);
  background: rgba(225, 0, 15, 0.08);
  animation: listenPulse 1.4s infinite;
}

@keyframes listenPulse {
  0%, 100% { background: rgba(225, 0, 15, 0.08); }
  50% { background: rgba(225, 0, 15, 0.18); }
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(244, 239, 231, 0.25);
}

.chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Voice transcribed indicator */
.voice-indicator {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--navy-900);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.voice-indicator.show { display: inline-flex; }

.voice-indicator .dot-rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
  animation: pulse-dot 1s infinite;
}

/* Disclaimer */
.proto-disclaimer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 18px;
  background: rgba(244, 184, 96, 0.08);
  border: 1px solid rgba(244, 184, 96, 0.18);
  border-radius: var(--r);
  color: var(--white-70);
  font-size: 13px;
  line-height: 1.5;
}

.proto-disclaimer strong { color: var(--accent-amber); font-weight: 600; }
.proto-disclaimer .dot-amber {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  flex-shrink: 0;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  padding: 140px 0;
  background: var(--cream-50);
}

.video-container {
  margin-top: 60px;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(6, 9, 41, 0.18), 0 20px 40px rgba(6, 9, 41, 0.08);
  background: var(--navy-900);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-900);
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 32px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--cream);
  border-top: 1px solid var(--white-10);
}

.video-caption-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-300);
  margin-bottom: 6px;
}

.video-caption-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.video-caption-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--cream);
  color: var(--navy-900);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.video-caption-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 9, 41, 0.25);
}

.video-caption-cta svg {
  transition: transform 0.3s var(--ease);
}

.video-caption-cta:hover svg {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .video-caption { flex-direction: column; align-items: flex-start; padding: 20px 22px; }
  .video-caption-cta { width: 100%; justify-content: center; }
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  padding: 160px 0;
  background: var(--cream-50);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 80px;
}

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

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

.partner-card {
  padding: 32px;
  border: 1px solid var(--ink-10);
  background: var(--white);
  border-radius: var(--r-lg);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.partner-card-wide {
  grid-column: span 1;
}

@media (min-width: 901px) {
  .partner-card-wide {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    min-height: auto;
  }
  .partner-card-wide > div:first-child {
    flex: 1;
  }
}

.partner-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-600);
}

.partner-card:hover::after {
  transform: scaleX(1);
}

.partner-logo-mark {
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.partner-logo-mark img {
  max-height: 100%;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.partner-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.partner-type {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--navy-600);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.partner-role {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.55;
}

.partner-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--navy-900);
  color: var(--cream);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin-top: 16px;
  font-weight: 500;
  width: fit-content;
}

.partner-link-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
  transition: all 0.3s var(--ease);
  opacity: 0.6;
}

.partner-card:hover .partner-link-arrow {
  background: var(--navy-700);
  color: var(--cream);
  opacity: 1;
  transform: rotate(-45deg) scale(1.05);
}

/* ============================================
   CLOSING
   ============================================ */
.close {
  padding: 180px 0 120px;
  background: var(--navy-950);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.close::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--white-05) 1px, transparent 1px),
    linear-gradient(to bottom, var(--white-05) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}

.close-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  max-width: 1200px;
  margin-bottom: 50px;
  font-variation-settings: "opsz" 96;
  position: relative;
}

.close-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--blue-300);
  font-weight: 400;
}

.close-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 100px;
  position: relative;
  flex-wrap: wrap;
}

.close-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  position: relative;
}

@media (max-width: 768px) {
  .close-meta { grid-template-columns: 1fr; gap: 32px; }
}

.close-meta-item .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--white-50);
  margin-bottom: 10px;
}

.close-meta-item .value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  line-height: 1.3;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  background: var(--navy-950);
  color: var(--white-70);
  border-top: 1px solid var(--white-10);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 60px;
  align-items: start;
}

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

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-desc {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--white-70);
  margin-bottom: 24px;
}

.footer-support {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--r-lg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--white-10);
  font-size: 12px;
  color: var(--white-50);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

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

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ============================================
   IN THE PRESS
   ============================================ */
.press {
  padding: 140px 0;
  background: var(--cream-50);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 80px;
}

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

.press-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.press-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-600);
}

.press-card:hover::after {
  transform: scaleX(1);
}

.press-logo-wrap {
  flex: 0 0 130px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--white);
  border-radius: var(--r);
}

.press-logo-wrap img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.press-card-body {
  flex: 1;
  min-width: 0;
}

.press-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--navy-600);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.press-headline {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
}

.press-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-700);
}

.press-card:hover .press-cta svg {
  transform: translateX(4px);
}

.press-cta svg {
  transition: transform 0.3s var(--ease);
}

@media (max-width: 480px) {
  .press-card { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
  .press-logo-wrap { width: 130px; }
}

/* ============================================
   GET IN TOUCH
   ============================================ */
.contact {
  padding: 160px 0;
  background: var(--navy-950);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 59, 196, 0.25), transparent 65%);
  pointer-events: none;
}

.contact::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 127, 232, 0.2), transparent 65%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-intro .section-number {
  color: var(--white-50);
}

.contact-intro .section-title {
  margin-top: 12px;
  margin-bottom: 32px;
}

.contact-intro .section-title em {
  color: var(--blue-300);
}

.contact-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--white-70);
  max-width: 480px;
  margin-bottom: 48px;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 380px;
  padding-top: 32px;
  border-top: 1px solid var(--white-10);
}

.contact-meta-item .label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.contact-meta-item .value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* Form */
.contact-form {
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--r-xl);
  padding: 36px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white-70);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  background: var(--white-05);
  border: 1px solid var(--white-10);
  border-radius: var(--r);
  padding: 12px 16px;
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  resize: vertical;
}

.form-field textarea {
  min-height: 120px;
  font-family: inherit;
  line-height: 1.5;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-400);
  background: var(--white-10);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--white-30);
}

.form-field input.error,
.form-field textarea.error {
  border-color: var(--accent-red);
  background: rgba(225, 0, 15, 0.08);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--cream);
  color: var(--navy-900);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  margin-top: 8px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 239, 231, 0.25);
}

.contact-submit svg {
  transition: transform 0.3s var(--ease);
}

.contact-submit:hover svg {
  transform: translateX(4px);
}

.contact-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.contact-success {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(111, 207, 159, 0.12);
  border: 1px solid rgba(111, 207, 159, 0.3);
  border-radius: var(--r);
  color: var(--accent-green);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 4px;
}

.contact-success.show {
  display: flex;
  animation: msgFadeIn 0.5s var(--ease) forwards;
  opacity: 0;
}

.contact-success strong {
  display: block;
  color: var(--cream);
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-success span {
  color: var(--white-70);
}

.contact-success svg {
  flex-shrink: 0;
}

/* ============================================
   FOOTER LINKS
   ============================================ */
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white-70);
  transition: color 0.2s;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-sep {
  color: var(--white-30);
  font-family: var(--font-mono);
  font-size: 12px;
}


/* ============================================
   PROTOTYPE CTA SECTION (replaces inline prototype on index.html)
   ============================================ */
.proto-cta-section {
  padding: 120px 0 100px;
  background: var(--cream-50);
}

.proto-cta-card {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(46, 59, 196, 0.35), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(107, 127, 232, 0.18), transparent 55%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: 80px 64px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 19, 66, 0.15);
}

.proto-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
}

.proto-cta-bg svg {
  width: 100%;
  height: 100%;
}

.proto-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.proto-cta-section .section-number {
  color: var(--blue-300);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.proto-cta-section .section-number::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.proto-cta-section .section-title {
  color: var(--cream);
  margin-bottom: 24px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}

.proto-cta-section .section-title em {
  color: var(--blue-300);
}

.proto-cta-lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--white-70);
  margin-bottom: 36px;
  max-width: 600px;
}

.proto-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--cream);
  color: var(--navy-900);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: all 0.3s var(--ease);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.proto-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  background: white;
}

.proto-cta-btn svg {
  transition: transform 0.3s var(--ease);
}

.proto-cta-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .proto-cta-card { padding: 56px 28px; }
  .proto-cta-section { padding: 80px 0; }
}

/* ============================================
   NAV — CONTACT EMAIL BUTTON (between lang & try-the-agent)
   ============================================ */
.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
  flex-shrink: 0;
}

.nav-contact:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.nav.on-light .nav-contact {
  border-color: rgba(13, 19, 66, 0.3);
  color: var(--navy-900);
  background: rgba(13, 19, 66, 0.05);
}

.nav.on-light .nav-contact:hover {
  background: rgba(13, 19, 66, 0.10);
}

@media (max-width: 480px) {
  .nav-contact { width: 34px; height: 34px; }
  .nav-contact svg { width: 16px; height: 16px; }
}

/* ============================================
   BACK-TO-TOP BUTTON (chevron up)
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink-10);
  background: var(--white);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  z-index: 800;
  box-shadow: 0 8px 20px rgba(13, 19, 66, 0.10);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 19, 66, 0.15);
  background: var(--navy-900);
  color: var(--cream);
}

@media (max-width: 540px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}


/* ============================================
   AGENT — PENDING CARD VARIANT (pre-confirmation step)
   ============================================ */
.action-card.pending {
  border: 1.5px dashed #C4A468;
  background: rgba(196, 164, 104, 0.05);
}

.action-card.pending .action-card-status,
.action-card.pending .card-status {
  color: #C4A468;
  background: rgba(196, 164, 104, 0.12);
  border-color: rgba(196, 164, 104, 0.30);
}

.action-card.pending .action-card-head-left,
.action-card.pending .card-head-left {
  color: #C4A468;
}

/* ============================================
   PROTOTYPE — DEMONSTRATOR WARNING BANNER (top)
   ============================================ */
.proto-warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, rgba(244, 184, 96, 0.16), rgba(196, 164, 104, 0.08));
  border: 1.5px solid rgba(244, 184, 96, 0.45);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 48px;
  color: #FFE7B5;
  font-size: 14px;
  line-height: 1.55;
}

.proto-warning-banner svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #F4B860;
}

.proto-warning-banner strong {
  color: #FFE7B5;
  font-weight: 700;
}

@media (max-width: 640px) {
  .proto-warning-banner {
    padding: 14px 16px;
    font-size: 13px;
    gap: 10px;
  }
}

/* ============================================
   PROTOTYPE — FOOTER GRID (synthetic disclaimer + feedback)
   ============================================ */
.proto-foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.proto-foot-grid .proto-disclaimer,
.proto-foot-grid .proto-feedback {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.proto-foot-grid .proto-disclaimer {
  background: rgba(196, 164, 104, 0.08);
  border: 1px solid rgba(196, 164, 104, 0.30);
  color: rgba(255, 231, 181, 0.92);
}

.proto-foot-grid .proto-disclaimer .dot-amber {
  flex-shrink: 0;
  margin-top: 6px;
}

.proto-foot-grid .proto-disclaimer strong {
  color: #FFE7B5;
}

.proto-foot-grid .proto-feedback {
  background: rgba(155, 171, 240, 0.08);
  border: 1px solid rgba(155, 171, 240, 0.30);
  color: rgba(195, 206, 246, 0.95);
}

.proto-foot-grid .proto-feedback svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #9BABF0;
}

.proto-foot-grid .proto-feedback strong {
  color: #C3CEF6;
  display: block;
  margin-bottom: 4px;
}

.proto-foot-grid .proto-feedback a {
  color: #C3CEF6;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}

.proto-foot-grid .proto-feedback a:hover {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .proto-foot-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* ============================================
   ASSOCIATE PARTNERS
   ============================================ */
.associate-partners {
  margin-top: 64px;
}

.associate-partners-header {
  margin-bottom: 28px;
}

.associate-partners-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.associate-partners-sub {
  font-size: 16px;
  color: var(--ink-60);
  max-width: 640px;
  margin: 0;
}

/* Two associate cards: keep them from stretching full width on large screens */
.associate-partners .partners-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

/* Video caption year */
.video-caption-year {
  color: var(--yellow, #FFD047);
  font-weight: 700;
  font-size: 0.85em;
}

/* ============================================
   MEDIA — text logo for press cards without image
   ============================================ */
.press-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--blue);
  letter-spacing: -0.01em;
}

/* ============================================
   MEDIA — featured video (Adopt AI announcement)
   ============================================ */
.media-feature {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--cream-50);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  padding: 32px;
}

.media-feature-video {
  width: 100%;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-feature-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: var(--r);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  display: block;
}

.media-feature-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 12px;
}

.media-feature-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-70);
  margin: 0;
}

@media (max-width: 860px) {
  .media-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }
}

/* ============================================
   CONTACT — RGPD consent checkbox
   ============================================ */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}

.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.form-consent input[type="checkbox"]:hover {
  border-color: var(--yellow, #FFD047);
}

.form-consent input[type="checkbox"]:checked {
  background: var(--yellow, #FFD047);
  border-color: var(--yellow, #FFD047);
}

.form-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #094672;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.form-consent input[type="checkbox"].error {
  border-color: #ff8a8a;
}

.form-consent label {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.form-consent label a {
  color: var(--yellow, #FFD047);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   USE CASES — year badges + roadmap note
   ============================================ */
.usecase-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.usecase-year {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.usecase-year-live {
  background: var(--yellow, #FFD047);
  color: #094672;
}

.usecases-note {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.6;
}

.usecases-note strong {
  color: var(--blue);
  font-weight: 700;
}

/* ============================================
   ACCESSIBILITY / DISPLAY SAFEGUARD
   Messages and cards start at opacity:0 and fade in via CSS animation.
   If the user has reduced-motion enabled (or animations are interrupted),
   force them visible so chat content never stays blank.
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .msg,
  .action-card,
  .reveal,
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Extra guarantee: once animation ends the element stays visible (forwards),
   but also ensure any chat node that somehow loses its animation is visible. */
.chat-body .msg,
.chat-body .action-card {
  animation-fill-mode: forwards;
}
