/* ============================================================
   LiSphere Connector — Brand Marketing Site
   ============================================================ */

:root {
  /* Textured teal-green, blended with blue — the site's dark surface, lightened from the original near-black teal */
  --teal-950: #134a41;
  --teal-900: #1a5d4f;
  --teal-800: #227263;
  --teal-700: #2c9176;
  --teal-600: #38aa86;
  --teal-blue-blend: #2273ac;
  --brand-700: #0b4f8a;
  --brand-600: #14649f;
  --brand-500: #1e88d6;
  --cyan-400: #2fe3ad;
  --cyan-300: #7ff3d0;
  --violet-400: #8f7cf6;
  --amber-400: #f5b350;

  --ink-900: #0f1b2d;
  --ink-700: #2b3d54;
  --ink-500: #5b6e87;
  --ink-400: #8496ad;

  --paper: #f6f9fc;
  --paper-alt: #eef3f9;
  --white: #ffffff;
  --success: #21c087;
  --danger: #ef6a6a;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 50px -20px rgba(11, 36, 71, 0.25);
  --shadow-card: 0 12px 30px -14px rgba(11, 36, 71, 0.18);

  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Textured teal-green dark surface, blended with blue: fine diagonal weave + soft radial depth */
  --surface-dark:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 13px),
    repeating-linear-gradient(45deg, rgba(0,0,0,.07) 0px, rgba(0,0,0,.07) 1px, transparent 1px, transparent 13px),
    linear-gradient(135deg, rgba(41,124,189,.5), transparent 58%),
    radial-gradient(120% 90% at 50% -10%, var(--teal-600), var(--teal-950) 68%);
  --surface-dark-flat:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 13px),
    repeating-linear-gradient(45deg, rgba(0,0,0,.08) 0px, rgba(0,0,0,.08) 1px, transparent 1px, transparent 13px),
    linear-gradient(155deg, rgba(41,124,189,.4), transparent 55%),
    linear-gradient(180deg, var(--teal-800), var(--teal-950));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------------- Noise overlay (subtle grain across whole page) ---------------- */
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  opacity: .025; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  will-change: auto;
}

/* ---------------- Preloader ---------------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: radial-gradient(120% 120% at 50% 30%, var(--teal-800), var(--teal-950));
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__ring {
  position: absolute; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(52, 224, 201, .25);
  border-top-color: var(--cyan-400);
  animation: spin 1.1s linear infinite;
}
.preloader__mark {
  width: 56px; height: 56px; border-radius: 14px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .8; } }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.4rem; border-radius: 999px; font-weight: 600;
  font-size: .92rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff; box-shadow: 0 10px 24px -8px rgba(30, 136, 214, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(30, 136, 214, .65); }
.btn--ghost {
  border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.04);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn--ghost-light {
  color: var(--ink-900); border-color: transparent; background: transparent;
}
.btn--ghost-light:hover { color: var(--brand-600); }
.btn--lg { padding: .95rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.nav__inner {
  width: min(1180px, 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-scrolled { background: rgba(11, 58, 52, .82); backdrop-filter: blur(14px); padding: 12px 0; box-shadow: 0 10px 30px -18px rgba(0,0,0,.5); }

.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.nav__menu { display: flex; align-items: center; gap: 24px; }
.nav__logo { width: 34px; height: 34px; border-radius: 9px; }
.nav__wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; color: #fff; line-height: 1; letter-spacing: -.01em; }
.nav__wordmark-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-300); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.78); position: relative; padding: 4px 0; transition: color .25s; }
.nav__links a:hover { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--cyan-400); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .btn--ghost-light { color: rgba(255,255,255,.85); }
.nav__cta .btn--ghost-light:hover { color: #fff; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* Force dark-friendly readable nav on light scroll state too */
body.is-light-section .nav:not(.is-scrolled) .nav__wordmark { color: var(--ink-900); }
body.is-light-section .nav:not(.is-scrolled) .nav__links a { color: var(--ink-700); }
body.is-light-section .nav:not(.is-scrolled) .nav__links a:hover { color: var(--brand-700); }
body.is-light-section .nav:not(.is-scrolled) .nav__cta .btn--ghost-light { color: var(--ink-900); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center;
  padding: 140px 0 100px;
  background-color: var(--teal-950);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 13px),
    repeating-linear-gradient(45deg, rgba(0,0,0,.07) 0px, rgba(0,0,0,.07) 1px, transparent 1px, transparent 13px),
    linear-gradient(135deg, rgba(41,124,189,.45), transparent 58%),
    linear-gradient(92deg, rgba(9,42,37,.92) 0%, rgba(9,42,37,.8) 30%, rgba(9,42,37,.5) 56%, rgba(9,42,37,.22) 78%, rgba(9,42,37,.12) 100%),
    url('../assets/hero-bg.jpg');
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-size: auto, auto, auto, auto, cover;
  background-position: 0 0, 0 0, 0 0, 0 0, center 35%;
  color: #fff; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--a { width: 480px; height: 480px; background: rgba(30,136,214,.28); top: -120px; left: -100px; }
.hero__glow--b { width: 420px; height: 420px; background: rgba(47,227,173,.2); bottom: -140px; right: -80px; }

.hero__container { position: relative; z-index: 2; }
.hero__content { max-width: 620px; text-align: left; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan-300); margin: 0 0 18px;
  padding: 6px 16px; border: 1px solid rgba(127, 240, 224, .3); border-radius: 999px;
  background: rgba(127, 240, 224, .06);
}
.eyebrow--dark { color: var(--brand-700); border-color: rgba(11,79,138,.22); background: rgba(11,79,138,.06); }

.hero__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1.08; margin: 0 0 22px;
}
.text-gradient {
  background: linear-gradient(100deg, var(--cyan-300), var(--brand-500) 60%, var(--violet-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.65; color: rgba(255,255,255,.82); max-width: 560px; margin: 0 0 36px; }
.hero__actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats { display: flex; align-items: center; justify-content: flex-start; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; }
.stat__label { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 4px; max-width: 140px; }
.stat-divider { width: 1px; height: 42px; background: rgba(255,255,255,.16); }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55);
  z-index: 2;
}
.hero__scroll span {
  width: 1px; height: 26px; background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 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; } }

/* ---------------- Generic section ---------------- */
.section { position: relative; padding: 120px 0; }
.section__head { max-width: 680px; margin-bottom: 60px; }
.section__head--center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.015em;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.18; margin: 0 0 18px; color: var(--ink-900);
}
.section__title--light { color: #fff; }
.section__lead { font-size: 1.05rem; line-height: 1.7; color: var(--ink-500); margin: 0; }
.section__lead--light { color: rgba(255,255,255,.7); }

.section__bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(52,224,201,.10), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(30,136,214,.18), transparent 45%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}
.solution, .trust, .closing { background: var(--surface-dark-flat); color: #fff; }
.solution .container, .trust .container { position: relative; z-index: 1; }

/* ---------------- Challenge ---------------- */
.challenge__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; color: var(--ink-700); line-height: 1.5; }
.ico { width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 2px; position: relative; }
.ico--bad { background: rgba(239,106,106,.12); }
.ico--bad::before, .ico--bad::after { content:""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--danger); border-radius: 2px; }
.ico--bad::before { transform: translate(-50%,-50%) rotate(45deg); }
.ico--bad::after { transform: translate(-50%,-50%) rotate(-45deg); }

.cost-strip { margin-top: 30px; padding-top: 26px; border-top: 1px dashed #dbe3ee; }
.cost-strip__label { margin: 0 0 12px; font-size: .82rem; font-weight: 600; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }
.cost-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cost-chip {
  display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px;
  background: rgba(239,106,106,.08); border: 1px solid rgba(239,106,106,.22);
  font-size: .78rem; font-weight: 600; color: #b84545;
}

.chaos-card {
  position: relative; background-color: var(--paper-alt);
  background-image:
    linear-gradient(165deg, rgba(255,255,255,.93), rgba(232,247,241,.86) 55%, rgba(255,255,255,.95)),
    url('../assets/chaos-bg.jpg');
  background-size: cover; background-position: center 35%; background-repeat: no-repeat;
  border-radius: var(--radius-lg); border: 1px solid #e4ecf5; box-shadow: var(--shadow-soft);
  padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 18px; overflow: hidden;
}
.chaos-illustration { width: 100%; height: auto; overflow: visible; }

/* instrument islands: distinct, isolated, gently bobbing — nothing reaches its neighbor */
.chaos-island { animation: chaosFloat 6s ease-in-out infinite; animation-delay: calc(var(--fx) * .35s); transform-box: fill-box; transform-origin: center; }
@keyframes chaosFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.chaos-shadow { fill: #0b2b46; opacity: .06; }
.chaos-box { stroke-width: 2; }
.chaos-box--a { fill: #eaf3ff; stroke: var(--brand-500); }
.chaos-box--b { fill: #eafbf4; stroke: var(--cyan-400); }
.chaos-box--c { fill: #f3efff; stroke: var(--violet-400); }
.chaos-box--d { fill: #fff6e8; stroke: var(--amber-400); }
.chaos-slot { fill: rgba(11,27,45,.18); }
.chaos-dot { fill: rgba(11,27,45,.28); }
.chaos-ring { fill: none; stroke: rgba(11,27,45,.18); stroke-width: 2; stroke-dasharray: 3 4; }
.chaos-alert { fill: #fff; stroke: var(--danger); stroke-width: 2; animation: chaosPulse 2.2s ease-in-out infinite; }
.chaos-alert-mark { fill: var(--danger); font-family: var(--font-display); font-weight: 800; font-size: 9px; text-anchor: middle; }
@keyframes chaosPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* the gap between islands: an explicit break, not a tangle — reads instantly as "not talking" */
.chaos-break-line { stroke: #cbd5e1; stroke-width: 2; stroke-dasharray: 3 5; }
.chaos-break-mark { stroke: var(--danger); stroke-width: 2.5; stroke-linecap: round; }
.chaos-break-x { fill: #fff; stroke: var(--danger); stroke-width: 2; }

/* loose result fragments that never line up */
.chaos-frag { opacity: .85; animation: chaosDrift 5s ease-in-out infinite; animation-delay: calc(var(--fd) * .6s); transform-box: fill-box; transform-origin: center; }
@keyframes chaosDrift { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-3deg); } }
.chaos-frag--a { fill: #dbeafe; stroke: #bcd6f7; }
.chaos-frag--b { fill: #d7f6ea; stroke: #b7ecd6; }
.chaos-frag--c { fill: #ece5ff; stroke: #d7c9ff; }

.chaos-legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chaos-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--paper-alt); border: 1px solid #e4ecf5; font-size: .82rem; font-weight: 600; color: var(--ink-700);
}
.chaos-tag__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chaos-tag__dot--red { background: var(--danger); }
.chaos-tag__dot--amber { background: var(--amber-400); }
.chaos-tag__dot--slate { background: var(--ink-400); }

/* ---------------- Pillars ---------------- */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar-card {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md); padding: 32px 26px;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.pillar-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; background: linear-gradient(135deg, rgba(52,224,201,.18), rgba(30,136,214,.18));
}
.pillar-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan-300); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar-card__icon--b svg { stroke: #8be9ff; }
.pillar-card__icon--c svg { stroke: var(--violet-400); }
.pillar-card__icon--d svg { stroke: #6fe3b4; }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.08rem; margin: 0 0 10px; }
.pillar-card p { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.62); margin: 0; }
.pillar-card__list { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; gap: 8px; }
.pillar-card__list li {
  font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,.55); padding-left: 16px; position: relative;
}
.pillar-card__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-400);
}

.workflow-fit { margin-top: 60px; padding-top: 50px; border-top: 1px solid rgba(255,255,255,.1); }
.workflow-fit__label {
  text-align: center; margin: 0 0 28px; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan-300);
}
.workflow-fit__track { display: flex; align-items: stretch; justify-content: center; gap: 18px; flex-wrap: wrap; }
.workflow-fit__stage {
  flex: 1 1 220px; max-width: 260px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md); padding: 24px 22px; text-align: center;
}
.workflow-fit__stage--active {
  background: linear-gradient(160deg, rgba(52,224,201,.14), rgba(30,136,214,.10));
  border-color: rgba(52,224,201,.4); box-shadow: 0 0 0 1px rgba(52,224,201,.15), 0 20px 40px -20px rgba(52,224,201,.35);
}
.workflow-fit__pill {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: rgba(52,224,201,.16); color: var(--cyan-300); font-size: .7rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}
.workflow-fit__stage h4 { font-family: var(--font-display); color: #fff; margin: 0 0 8px; font-size: 1rem; }
.workflow-fit__stage p { margin: 0; font-size: .85rem; line-height: 1.55; color: rgba(255,255,255,.62); }
.workflow-fit__arrow { width: 22px; height: 22px; flex: none; align-self: center; fill: none; stroke: rgba(255,255,255,.3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.workflow-fit__note {
  max-width: 640px; margin: 28px auto 0; text-align: center; font-size: .92rem; line-height: 1.7;
  color: rgba(255,255,255,.65);
}
.workflow-fit__note strong { color: var(--cyan-300); }
@media (max-width: 760px) {
  .workflow-fit__track { flex-direction: column; align-items: center; }
  .workflow-fit__arrow { transform: rotate(90deg); }
  .workflow-fit__stage { max-width: 320px; width: 100%; }
}

/* ---------------- Compatibility / marquee ---------------- */
.compat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 46px 0 10px; }
.compat-card {
  background: #fff; border: 1px solid #e6edf5; border-radius: var(--radius-md); padding: 26px 22px;
  box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.compat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.compat-card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--paper-alt); margin-bottom: 14px;
}
.compat-card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compat-card h4 { font-family: var(--font-display); font-size: .98rem; margin: 0 0 8px; color: var(--ink-900); }
.compat-card p { margin: 0; font-size: .84rem; line-height: 1.55; color: var(--ink-500); }

.talk-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.talk-mode {
  background: var(--paper-alt); border: 1px solid #e4ecf5; border-radius: var(--radius-md); padding: 22px 24px;
}
.talk-mode__tag {
  display: inline-block; margin-bottom: 10px; padding: 5px 13px; border-radius: 999px;
  background: #fff; border: 1px solid #dbe6f2; font-size: .76rem; font-weight: 700; color: var(--brand-700);
}
.talk-mode p { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--ink-500); }

.compatibility__footnote { text-align: center; margin-top: 34px; color: var(--ink-500); font-size: .92rem; }
.compatibility__footnote a { color: var(--brand-600); font-weight: 600; }

.marquee {
  overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 14px; }
.marquee__track span {
  flex: none; padding: 12px 26px; border-radius: 999px; background: #fff; border: 1px solid #e6edf5;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink-700);
  box-shadow: 0 8px 20px -14px rgba(11,36,71,.35);
}
.marquee__track--left { animation: scrollLeft 46s linear infinite; }
.marquee__track--right { animation: scrollRight 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------------- Trust ---------------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card {
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-md); padding: 36px 30px;
  transition: transform .35s var(--ease);
}
.trust-card:hover { transform: translateY(-6px); }
.trust-card__icon { width: 58px; height: 58px; border-radius: 16px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; background: rgba(52,224,201,.12); }
.trust-card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 12px; }
.trust-card p { font-size: .93rem; line-height: 1.65; color: rgba(255,255,255,.62); margin: 0; }
.trust-card__list { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; gap: 9px; }
.trust-card__list li {
  font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.55); padding-left: 18px; position: relative;
}
.trust-card__list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-400);
}

/* ---------------- Delivery guarantee schema (Trust section) ---------------- */
.delivery-card {
  margin-top: 60px; padding: 40px clamp(16px, 3vw, 44px) 34px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
}
.delivery-card__head { max-width: 620px; margin: 0 auto 28px; text-align: center; }
.delivery-card__head h3 { font-family: var(--font-display); color: #fff; font-size: clamp(1.1rem, 2vw, 1.35rem); margin: 0 0 10px; }
.delivery-card__head p { margin: 0; font-size: .92rem; line-height: 1.65; color: rgba(255,255,255,.6); }

.delivery-schema { width: 100%; height: auto; display: block; overflow: visible; }

.delivery-line { stroke: rgba(255,255,255,.18); stroke-width: 2; fill: none; stroke-dasharray: 1 8; stroke-linecap: round; }
.delivery-line--trunk { stroke: rgba(255,255,255,.22); }
.delivery-line--dash { stroke: rgba(255,255,255,.28); stroke-dasharray: 2 4; }

.delivery-plate { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.16); stroke-width: 1.6; }
.delivery-plate--outbox { fill: rgba(47,227,173,.08); stroke: rgba(47,227,173,.4); }
.delivery-plate--dest { fill: rgba(143,124,246,.08); stroke: rgba(143,124,246,.4); }

.delivery-icon { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.delivery-icon--inst { stroke: rgba(255,255,255,.75); }
.delivery-icon--outbox { stroke: var(--cyan-300); }
.delivery-icon--dest { stroke: #cabdfc; }
.delivery-icon--clock { stroke: rgba(255,255,255,.55); }

.delivery-loop-ring { fill: none; stroke: rgba(47,227,173,.35); stroke-width: 1.6; stroke-dasharray: 3 4; }
.delivery-loop-label { font-size: 12px; fill: rgba(255,255,255,.45); font-weight: 600; }

.delivery-caption { font-size: 13px; fill: rgba(255,255,255,.55); text-anchor: middle; font-weight: 600; }

.delivery-badge { fill: var(--success); stroke: none; }
.delivery-badge__check { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }

.delivery-flow-dot { filter: drop-shadow(0 0 4px currentColor); }
.delivery-flow-dot--a { fill: var(--brand-500); color: var(--brand-500); }
.delivery-flow-dot--b { fill: var(--violet-400); color: var(--violet-400); }
.delivery-flow-dot--loop { fill: var(--cyan-400); color: var(--cyan-400); }

@media (max-width: 640px) {
  .delivery-card { padding: 30px 14px 26px; }
  .delivery-caption { font-size: 21px; }
  .delivery-loop-label { font-size: 19px; }
}

/* ---------------- Scale: animated schema diagram ---------------- */
.scale-schema-card {
  background: linear-gradient(170deg, #fff, var(--paper-alt));
  border: 1px solid #e4ecf5; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  padding: 30px clamp(16px, 3vw, 40px) 10px; overflow: hidden;
}
.scale-schema-legend {
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-bottom: 18px;
}
.scale-legend-item {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-600);
}
.scale-legend-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.scale-legend-dot--inst { background: var(--brand-500); }
.scale-legend-dot--hub { background: var(--cyan-400); }
.scale-legend-dot--org { background: var(--violet-400); }
.scale-legend-dot--sys { background: #6b4226; }

.scale-schema { width: 100%; height: auto; display: block; overflow: visible; }

.schema-header {
  font-family: var(--font-display); font-size: 15px; font-weight: 700; fill: var(--ink-700);
  text-anchor: middle; text-transform: uppercase; letter-spacing: .04em;
}
.schema-caption { font-size: 13px; fill: var(--ink-400); text-anchor: middle; font-weight: 600; }

.schema-line { stroke: #cfdae8; stroke-width: 2; fill: none; stroke-dasharray: 1 8; stroke-linecap: round; }
.schema-line--trunk { stroke: #b9c9de; stroke-width: 2.5; }

.schema-plate { fill: #fff; stroke: #dfe8f2; stroke-width: 1.6; }
.schema-plate--inst { stroke: #cfe0f5; }
.schema-plate--hub { stroke: #a6ecdf; fill: #f2fdfb; }
.schema-plate--org { stroke: #d6c9fb; fill: #f8f6ff; }
.schema-plate--sys { stroke: #e0d3c2; fill: #fdfaf6; }
.schema-plate-ring { fill: none; stroke: var(--violet-400); stroke-width: 1.4; opacity: .3; }

.schema-icon { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.schema-icon--inst { stroke: var(--brand-600); }
.schema-icon--hub { stroke: #0f9c78; }
.schema-icon--org { stroke: var(--violet-400); }
.schema-icon--sys { stroke: #8a5a34; }

.flow-dot { filter: drop-shadow(0 0 3px currentColor); }
.flow-dot--inst { fill: var(--brand-500); color: var(--brand-500); }
.flow-dot--hub { fill: var(--cyan-400); color: var(--cyan-400); }
.flow-dot--sys { fill: var(--violet-400); color: var(--violet-400); }

.scale-note { max-width: 720px; margin: 40px auto 0; text-align: center; }
.scale-note p { font-size: .98rem; line-height: 1.7; color: var(--ink-500); margin: 0 0 20px; }
.scale-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.scale-chip {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #e6edf5;
  font-size: .82rem; font-weight: 600; color: var(--brand-700); box-shadow: var(--shadow-card);
}
@media (max-width: 640px) {
  .scale-schema-card { padding: 24px 10px 6px; }
  .schema-header { font-size: 19px; }
  .schema-caption { font-size: 17px; }
}

/* ---------------- Journey ---------------- */
.journey {
  background-color: #f4f2fd;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(93,77,190,.14) 1px, transparent 0),
    linear-gradient(155deg, #f6f3ff 0%, #eef1fd 55%, #eaf1fb 100%);
  background-size: 26px 26px, auto;
}

.journey-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.journey-step {
  position: relative; z-index: 1; text-align: center;
  background: #fff; border: 1px solid #e9e5fb; border-radius: var(--radius-md);
  padding: 30px 18px 26px; box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.journey-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.journey-step__icon {
  position: relative; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.journey-step__icon svg { width: 26px; height: 26px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.journey-step__icon--a { background: rgba(30,136,214,.12); } .journey-step__icon--a svg { stroke: var(--brand-600); }
.journey-step__icon--b { background: rgba(47,227,173,.14); } .journey-step__icon--b svg { stroke: #0f9c78; }
.journey-step__icon--c { background: rgba(143,124,246,.14); } .journey-step__icon--c svg { stroke: var(--violet-400); }
.journey-step__icon--d { background: rgba(107,66,38,.12); } .journey-step__icon--d svg { stroke: #8a5a34; }
.journey-step__icon--e { background: rgba(33,192,135,.16); } .journey-step__icon--e svg { stroke: var(--success); }

.journey-step__n {
  position: absolute; top: -8px; right: -8px; display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--ink-900); color: #fff;
  font-size: .72rem; font-weight: 800; font-family: var(--font-display); box-shadow: 0 4px 10px -3px rgba(0,0,0,.35);
}

.journey-step h4 { font-family: var(--font-display); margin: 0 0 8px; font-size: 1rem; color: var(--ink-900); }
.journey-step p { margin: 0; font-size: .85rem; color: var(--ink-500); line-height: 1.5; }

.journey-step--last {
  background: linear-gradient(170deg, #fff, #f2fbf7);
  border-color: rgba(33,192,135,.35); box-shadow: 0 0 0 1px rgba(33,192,135,.12), var(--shadow-card);
}
.journey-step--last .journey-step__n { background: var(--success); }

/* Progress strip: sits below the cards so the traveling light is never hidden */
.journey-progress { position: relative; max-width: 100%; margin: 34px auto 0; height: 20px; }
.journey-progress__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey-progress__svg path {
  fill: none; stroke: #d9d3f7; stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.6s var(--ease);
}
.journey-progress.is-visible .journey-progress__svg path { stroke-dashoffset: 0; }
.journey-flow-dot { fill: var(--violet-400); filter: drop-shadow(0 0 4px rgba(143,124,246,.85)); }

.journey-progress__marks {
  position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}
.journey-progress__marks span {
  justify-self: center; align-self: center; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--violet-400);
}
.journey-progress__marks span.is-final { border-color: var(--success); }

/* ---------------- Audience ---------------- */
.audience {
  background-color: #eaf5ee;
  background-image:
    repeating-linear-gradient(135deg, rgba(111,74,44,.05) 0px, rgba(111,74,44,.05) 1px, transparent 1px, transparent 13px),
    repeating-linear-gradient(45deg, rgba(111,74,44,.035) 0px, rgba(111,74,44,.035) 1px, transparent 1px, transparent 13px),
    linear-gradient(180deg, #eef8f2, #e3f2e8);
}

.partnership-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  margin-bottom: 50px; padding: 46px 44px; box-shadow: var(--shadow-soft);
  background-color: #cdb8a3;
  background-image:
    linear-gradient(120deg, rgba(19,90,71,.82), rgba(107,66,38,.55) 65%),
    url('../assets/partnership-bg.jpg');
  background-size: cover; background-position: center 30%; background-repeat: no-repeat;
}
.partnership-banner__text { max-width: 620px; }
.partnership-banner__kicker {
  margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #ffe8d1;
}
.partnership-banner h3 {
  font-family: var(--font-display); font-weight: 800; color: #fff; margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -.01em;
}
.partnership-banner p:not(.partnership-banner__kicker) { margin: 0; color: rgba(255,255,255,.88); font-size: .96rem; line-height: 1.7; }

.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.audience-card {
  background: #fff; border: 1px solid #e6edf5; border-radius: var(--radius-md); padding: 30px 24px;
  box-shadow: var(--shadow-card); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.audience-card__icon {
  width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.audience-card__icon svg { width: 24px; height: 24px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.audience-card__icon--a { background: rgba(30,136,214,.10); }
.audience-card__icon--a svg { stroke: var(--brand-600); }
.audience-card__icon--b { background: rgba(47,227,173,.12); }
.audience-card__icon--b svg { stroke: #0f9c78; }
.audience-card__icon--c { background: rgba(143,124,246,.12); }
.audience-card__icon--c svg { stroke: var(--violet-400); }
.audience-card__icon--d { background: rgba(107,66,38,.10); }
.audience-card__icon--d svg { stroke: #8a5a34; }
.audience-card h3 { font-family: var(--font-display); font-size: 1.02rem; margin: 0 0 10px; }
.audience-card p { margin: 0; font-size: .88rem; color: var(--ink-500); line-height: 1.6; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid #e6edf5; border-radius: var(--radius-md);
  padding: 6px 24px; box-shadow: var(--shadow-card); transition: box-shadow .3s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; color: var(--ink-900); display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-alt);
  color: var(--brand-700); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  font-weight: 600; transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--brand-500); color: #fff; }
.faq-item p { margin: 0 0 20px; font-size: .92rem; line-height: 1.7; color: var(--ink-500); }

/* ---------------- Closing / contact ---------------- */
.closing { padding-top: 130px; padding-bottom: 130px; overflow: hidden; }
.closing__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }

.value-promise {
  position: relative; z-index: 1; max-width: 1040px; margin: 0 auto 90px; text-align: center;
  padding: 40px clamp(16px, 3vw, 48px) 44px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e3f6ee 0%, #e8f2fb 55%, #ecf5fc 100%);
  box-shadow: 0 30px 70px -28px rgba(6, 30, 26, .35);
}
.value-promise__label {
  margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700);
}
.value-promise__frame-wrap { position: relative; }
.value-promise__frame {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(11,36,71,.08);
  box-shadow: 0 30px 70px -24px rgba(11,36,71,.3); background: #fff;
}
.value-promise__img { width: 100%; height: auto; display: block; }
.value-promise__caption { margin: 18px 0 0; font-size: .92rem; color: var(--ink-500); }

/* Rotating light that travels the frame's border, like a beam chasing the edge */
.value-promise__border {
  position: absolute; inset: -3px; z-index: 0; border-radius: calc(var(--radius-lg) + 3px);
  padding: 2.5px;
  background: conic-gradient(from 0deg,
    transparent 0%, transparent 62%,
    var(--teal-600) 70%, var(--brand-500) 75%, var(--violet-400) 80%,
    transparent 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: valuePromiseSpin 6s linear infinite;
  pointer-events: none;
}
@keyframes valuePromiseSpin { to { transform: rotate(360deg); } }

/* Sparkles drifting around the frame */
.sparkle {
  position: absolute; z-index: 2; width: 14px; height: 14px; pointer-events: none;
  opacity: 0; animation: sparkleTwinkle 3.2s ease-in-out infinite;
}
.sparkle path { fill: currentColor; }
.sparkle--a { top: -8px;    left: 8%;    width: 16px; height: 16px; color: var(--teal-600);   animation-delay: 0s; }
.sparkle--b { top: 14%;     right: -10px; width: 11px; height: 11px; color: var(--brand-500); animation-delay: .5s; }
.sparkle--c { top: -10px;   right: 16%;  width: 13px; height: 13px; color: var(--violet-400); animation-delay: 1.1s; }
.sparkle--d { bottom: -9px; left: 22%;   width: 12px; height: 12px; color: var(--violet-400); animation-delay: 1.7s; }
.sparkle--e { bottom: 10%;  left: -10px; width: 15px; height: 15px; color: var(--teal-600);   animation-delay: .85s; }
.sparkle--f { bottom: -8px; right: 10%;  width: 10px; height: 10px; color: var(--brand-500);  animation-delay: 2.2s; }
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(25deg); }
}

.closing__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.closing__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.18; margin: 0 0 22px; }
.promise-list { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.promise-list li { font-size: .96rem; color: rgba(255,255,255,.75); border-left: 2px solid var(--cyan-400); padding-left: 16px; line-height: 1.6; }
.promise-list strong { color: #fff; }

.contact-card {
  position: relative; background: #fff; color: var(--ink-900); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: 0 30px 70px -24px rgba(0,0,0,.5);
}
.contact-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 6px; }
.contact-card > p { margin: 0 0 24px; color: var(--ink-500); font-size: .92rem; }
.field { margin-bottom: 16px; text-align: left; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: .7rem .85rem; border-radius: 10px; border: 1px solid #dde5ee; background: var(--paper);
  font-family: inherit; font-size: .92rem; color: var(--ink-900); resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(30,136,214,.15); }

.contact-card__fallback { margin: 12px 0 0; text-align: center; font-size: .8rem; color: var(--ink-500); }
.contact-card__fallback a { color: var(--brand-600); font-weight: 600; }

.contact-card__success {
  position: absolute; inset: 0; border-radius: var(--radius-lg); background: #fff;
  display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px;
}
.contact-card.is-sent .contact-card__success { display: flex; }
.contact-card.is-sent > *:not(.contact-card__success) { visibility: hidden; }
.contact-card__success-icon {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(33,192,135,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.contact-card__success-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__success h4 { font-family: var(--font-display); margin: 0 0 8px; }
.contact-card__success p { margin: 0; color: var(--ink-500); font-size: .92rem; }

/* ---------------- Footer ---------------- */
.footer { background: var(--surface-dark-flat); color: rgba(255,255,255,.6); padding: 48px 0 32px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.65); }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: .78rem; color: rgba(255,255,255,.4); margin: 0; }

/* ================= Responsive ================= */
@media (max-width: 1020px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .compat-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .journey-progress { display: none; }
  .closing__grid { grid-template-columns: 1fr; }
  .challenge__grid { grid-template-columns: 1fr; }
  .challenge__art { order: -1; }
}

@media (max-width: 1200px) {
  .nav__inner { display: grid; grid-template-columns: 1fr auto; }
  .nav__menu { display: none; grid-column: 1 / -1; order: 3; }
  .nav__burger { display: flex; }
  .nav.is-open { background: rgba(11,58,52,.98); }
  .nav.is-open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 24px;
    max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px);
    overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 16px;
  }
  .nav__links, .nav__cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .nav__links a { padding: 8px 0; }
  .nav.is-open .nav__links a, .nav.is-open .nav__wordmark,
  .nav.is-open .nav__cta .btn--ghost-light { color: #fff !important; }
}

@media (max-width: 760px) {
  .section { padding: 84px 0; }
  .pillar-grid, .audience-grid, .compat-grid, .talk-modes { grid-template-columns: 1fr; }
  .journey-track { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .stat-divider { display: none; }
  .faq-item summary { font-size: .92rem; }
  .partnership-banner { padding: 32px 26px; }
  .hero__content { max-width: none; }
  .hero {
    background-image:
      repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 13px),
      repeating-linear-gradient(45deg, rgba(0,0,0,.07) 0px, rgba(0,0,0,.07) 1px, transparent 1px, transparent 13px),
      linear-gradient(135deg, rgba(41,124,189,.45), transparent 58%),
      linear-gradient(195deg, rgba(9,42,37,.9) 0%, rgba(9,42,37,.88) 45%, rgba(9,42,37,.8) 100%),
      url('../assets/hero-bg.jpg');
    background-position: 0 0, 0 0, 0 0, 0 0, center 30%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
