/* ──────────────────────────────────────────────────────────────────────────
   ZeuG · Public Landing — vanilla CSS scoped `.zg-l-*`
   Coexists with cockpit vanilla CSS. No class collision possible.
   SOTA 2026 patterns: CSS variables, color-mix(), :has(), container queries,
   view-transitions, prefers-reduced-motion.
   ────────────────────────────────────────────────────────────────────────── */

/* ── Landing root ──────────────────────────────────────────────────────── */
/* Design tokens (--zg-*) live in tokens.css at :root scope — single source
   of truth shared with cockpit CSS. Here we only declare landing-scoped
   layout + typography, consuming the tokens via var(). */
.zg-l-root {
  --zg-bg: #f7f8fb;
  --zg-bg-soft: #ffffff;
  --zg-surface: #ffffff;
  --zg-surface-hover: #f1f5f9;
  --zg-border: rgba(15, 23, 42, 0.1);
  --zg-border-strong: rgba(15, 23, 42, 0.2);
  --zg-fg: #0f172a;
  --zg-fg-dim: rgba(15, 23, 42, 0.74);
  --zg-fg-mute: rgba(15, 23, 42, 0.58);
  --zg-fg-faint: rgba(15, 23, 42, 0.38);
  --zg-blue: #2563eb;
  --zg-blue-soft: rgba(37, 99, 235, 0.08);
  --zg-blue-glow: rgba(37, 99, 235, 0.18);
  --zg-purple: #7c3aed;
  --zg-emerald: #059669;
  --zg-font: "Aptos Display", "Segoe UI Variable", "Segoe UI", sans-serif;
  --zg-mono: "Cascadia Code", "SF Mono", Consolas, monospace;
  --zg-max-w: 1180px;
  --zg-section-pad-x: clamp(1.25rem, 5vw, 4.5rem);
  --zg-section-pad-y: clamp(3.75rem, 8vw, 7rem);
  --zg-radius-md: 1.25rem;
  --zg-radius-lg: 2rem;
  --zg-radius-xl: 2.6rem;
  --zg-shadow-sm: 0 4px 18px rgba(15, 23, 42, 0.08);
  --zg-shadow-md: 0 14px 36px rgba(15, 23, 42, 0.1);
  --zg-shadow-lg: 0 28px 72px rgba(15, 23, 42, 0.14);
  --zg-shadow-blue: 0 18px 42px rgba(37, 99, 235, 0.2);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 36%, #eef4ff 100%);
  color: var(--zg-fg);
  font-family: var(--zg-font);
  font-feature-settings: "ss01", "cv01";
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(.zg-l-root) {
  margin: 0;
}

/* Reset only what we render inside the landing — does not leak elsewhere */
.zg-l-root *,
.zg-l-root *::before,
.zg-l-root *::after {
  box-sizing: border-box;
  min-width: 0;
}

.zg-l-root a {
  color: inherit;
  text-decoration: none;
}

.zg-l-root button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

.zg-l-root h1,
.zg-l-root h2,
.zg-l-root h3,
.zg-l-root p {
  margin: 0;
}

/* Ambient backdrop (matches cockpit glow without utility-class blur coupling) */
.zg-l-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  overflow: hidden;
}

.zg-l-backdrop::before,
.zg-l-backdrop::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
}

.zg-l-backdrop::before {
  top: -15vw;
  left: -10vw;
  background: rgba(37, 99, 235, 0.12);
}

.zg-l-backdrop::after {
  bottom: -20vw;
  right: -15vw;
  background: rgba(124, 58, 237, 0.08);
}

.zg-l-service-status {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100vw - 32px));
  margin: 14px auto 0;
}

.zg-l-service-status .zg-auth__service-status {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

/* ── Top navigation ────────────────────────────────────────────────────── */
.zg-l-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--zg-border);
}

.zg-l-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 1 auto;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0;
}

.zg-l-nav-brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  display: block;
  filter: none;
}

.zg-l-nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: var(--zg-fg-dim);
}

@media (min-width: 768px) {
  .zg-l-nav-links {
    display: flex;
  }
}

.zg-l-nav-link {
  transition: color 200ms ease;
}

.zg-l-nav-link:hover {
  color: var(--zg-fg);
}

.zg-l-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 1 auto;
}

.zg-l-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.2rem;
  border: 1px solid var(--zg-border);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zg-l-lang-btn {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--zg-fg-mute);
  transition: all 200ms ease;
}

.zg-l-lang-btn[aria-pressed="true"] {
  background: var(--zg-blue);
  color: #ffffff;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.zg-l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
}

.zg-l-btn:hover {
  transform: translateY(-1px);
}

.zg-l-btn:active {
  transform: translateY(0);
}

.zg-l-btn-primary {
  background: var(--zg-blue);
  color: #ffffff;
  box-shadow: var(--zg-shadow-sm);
}

.zg-l-btn-primary:hover {
  background: #1d4ed8;
  box-shadow: var(--zg-shadow-blue);
}

.zg-l-btn-secondary {
  background: #ffffff;
  border: 1px solid var(--zg-border);
  color: var(--zg-fg);
}

.zg-l-btn-secondary:hover {
  background: var(--zg-surface-hover);
  border-color: var(--zg-border-strong);
}

.zg-l-btn-ghost {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--zg-fg-dim);
}

.zg-l-btn-ghost:hover {
  color: var(--zg-fg);
}

.zg-l-btn-large {
  padding: 1rem 2rem;
  font-size: 0.95rem;
}

/* Projected SDUI landing aliases.
   The landing is emitted as UiComponentV2 by the projection DSL/Hands. These
   selectors map the generic renderer classes to the public marketing layout
   without reintroducing native page business logic. */
.zg-l-root > .zeug-v2-component[id="landing-root"] {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 100vh;
  padding: clamp(1.5rem, 4vw, 4rem);
}

.zg-l-root #landing-root > .zg-stack {
  gap: clamp(2rem, 4vw, 4rem) !important;
}

.zg-l-root #landing-hero {
  max-width: min(76rem, 100%);
}

.zg-l-root #landing-hero > .zg-stack {
  gap: 1.15rem !important;
}

.zg-l-root #landing-hero .zg-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--zg-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--zg-fg-mute);
  font-family: var(--zg-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.zg-l-root #landing-hero .zg-text-heading-1 {
  display: block;
  max-width: 58rem;
  font-size: clamp(2.6rem, 7vw, 6.6rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.92;
  color: var(--zg-fg);
}

.zg-l-root #landing-hero .zg-markdown {
  max-width: 48rem;
  color: var(--zg-fg-dim);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.zg-l-root #landing-actions > .zg-stack,
.zg-l-root #landing-secondary-action > .zg-stack,
.zg-l-root #landing-legal > .zg-stack {
  flex-wrap: wrap;
}

.zg-l-root .zg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zg-l-root .zg-button:hover {
  transform: translateY(-1px);
}

.zg-l-root .zg-button-primary {
  background: var(--zg-blue);
  color: #ffffff;
  box-shadow: var(--zg-shadow-blue);
}

.zg-l-root .zg-button-secondary {
  background: #ffffff;
  border-color: var(--zg-border);
  color: var(--zg-fg);
  box-shadow: var(--zg-shadow-sm);
}

.zg-l-root .zg-button-ghost {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(148, 163, 184, 0.34);
  color: var(--zg-fg);
}

.zg-l-root .zg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.zg-l-root .zeug-v2-component {
  width: 100%;
}

.zg-l-root .zg-stack > .zeug-v2-component {
  width: 100%;
}

.zg-l-root .zg-l-nav > .zg-stack > .zeug-v2-component,
.zg-l-root .zg-l-nav-links > .zg-stack > .zeug-v2-component,
.zg-l-root .zg-l-nav-actions > .zg-stack > .zeug-v2-component,
.zg-l-root .zg-l-hero-trust > .zg-stack > .zeug-v2-component,
.zg-l-root .zg-l-hero-actions > .zg-stack > .zeug-v2-component,
.zg-l-root .zg-l-hero-secondary > .zg-stack > .zeug-v2-component,
.zg-l-root .zg-l-footer-actions > .zg-stack > .zeug-v2-component {
  width: auto;
}

.zg-l-root .zg-l-section,
.zg-l-root .zg-l-hero,
.zg-l-root .zg-l-manifest,
.zg-l-root .zg-l-pricing,
.zg-l-root .zg-l-faq {
  max-width: min(var(--zg-max-w), calc(100% - 2 * var(--zg-section-pad-x)));
  margin-inline: auto;
}

.zg-l-root .zg-l-section > .zg-stack,
.zg-l-root .zg-l-manifest > .zg-stack,
.zg-l-root .zg-l-pricing > .zg-stack,
.zg-l-root .zg-l-faq > .zg-stack {
  align-items: stretch;
}

.zg-l-root .zg-card {
  min-height: 10rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--zg-shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.zg-l-root .zg-title {
  margin: 0 0 0.75rem;
  color: var(--zg-fg);
  font-size: 1.05rem;
  font-weight: 900;
}

.zg-l-root #landing-legal {
  margin-top: -1rem;
}

.zg-l-root .zg-l-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: calc(clamp(1.5rem, 4vw, 4rem) * -1) calc(clamp(1.5rem, 4vw, 4rem) * -1) 0;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--zg-border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.zg-l-root .zg-l-nav > .zg-stack,
.zg-l-root .zg-l-nav-links > .zg-stack,
.zg-l-root .zg-l-nav-actions > .zg-stack {
  display: flex;
  flex-direction: row !important;
  align-items: center;
}

.zg-l-root .zg-l-nav > .zg-stack {
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem) !important;
}

.zg-l-root .zg-l-nav-brand .zg-text-heading-3 {
  display: inline-flex;
  align-items: center;
  color: var(--zg-fg);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.zg-l-root .zg-l-nav-brand .zg-text-heading-3::before {
  content: "";
  width: 1.8rem;
  height: 1.8rem;
  margin-right: 0.65rem;
  border-radius: 0.65rem;
  background:
    radial-gradient(circle at 30% 25%, #ffffff 0 18%, transparent 19%),
    linear-gradient(135deg, #1d4ed8, #14b8a6);
  box-shadow: var(--zg-shadow-blue);
}

.zg-l-root .zg-l-nav-links .zg-button {
  min-height: auto;
  padding: 0.45rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--zg-fg-dim);
  box-shadow: none;
}

.zg-l-root .zg-l-nav-links .zg-button:hover {
  color: var(--zg-fg);
  transform: none;
}

.zg-l-root .zg-l-hero {
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.zg-l-root .zg-l-hero > .zg-stack {
  max-width: min(72rem, 100%);
}

.zg-l-root .zg-l-hero-title .zg-text-heading-1 {
  display: block;
  max-width: 62rem;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 950;
  letter-spacing: -0.085em;
  line-height: 0.88;
}

.zg-l-root .zg-l-hero-lede .zg-markdown {
  max-width: 52rem;
  margin-top: 0.4rem;
}

.zg-l-root .zg-l-hero-actions > .zg-stack,
.zg-l-root .zg-l-hero-secondary > .zg-stack,
.zg-l-root .zg-l-footer-actions > .zg-stack {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
}

.zg-l-root .zg-l-hero-actions .zg-button {
  min-height: 3.25rem;
  padding: 1rem 1.7rem;
  font-size: 0.96rem;
}

.zg-l-root .zg-l-hero-note {
  max-width: 36rem;
  color: var(--zg-fg-mute);
}

.zg-l-root .zg-l-feature-grid {
  padding-top: 0;
}

.zg-l-root .zg-l-feature-grid > .zg-grid {
  max-width: var(--zg-max-w);
  margin: 0 auto;
}

.zg-l-root .zg-l-feature-card .zg-card {
  position: relative;
  overflow: hidden;
}

.zg-l-root .zg-l-feature-card .zg-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  transform: translate(-35%, -35%);
}

.zg-l-root .zg-l-footer-actions {
  padding-top: 0;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

@media (max-width: 767px) {
  .zg-l-root .zg-l-nav-links {
    display: none;
  }

  .zg-l-root .zg-l-nav > .zg-stack {
    align-items: flex-start;
  }

  .zg-l-root .zg-l-nav-actions > .zg-stack {
    justify-content: flex-end;
  }
}

/* ── Sections layout ───────────────────────────────────────────────────── */
.zg-l-section {
  position: relative;
  z-index: 1;
  padding: var(--zg-section-pad-y) var(--zg-section-pad-x);
}

.zg-l-container {
  max-width: var(--zg-max-w);
  margin: 0 auto;
}

.zg-l-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--zg-border);
  border-radius: 999px;
  font-family: var(--zg-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zg-fg-mute);
  background: var(--zg-surface);
}

.zg-l-section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin-top: 1rem;
}

.zg-l-section-lede {
  margin-top: 1.25rem;
  max-width: 48rem;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: var(--zg-fg-dim);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.zg-l-hero {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.zg-l-hero-eyebrow {
  margin-bottom: 1.5rem;
}

.zg-l-hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1.5rem;
  overflow-wrap: anywhere;
}

.zg-l-hero-title-accent {
  background: linear-gradient(120deg, #1d4ed8 0%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zg-l-hero-sub {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--zg-fg-dim);
  overflow-wrap: anywhere;
}

.zg-l-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.zg-l-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--zg-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zg-fg-faint);
}

.zg-l-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.zg-l-hero-trust-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--zg-emerald);
  box-shadow: 0 0 8px var(--zg-emerald);
}

/* ── Outcome strip ─────────────────────────────────────────────────────── */
.zg-l-outcomes {
  position: relative;
  z-index: 1;
  max-width: min(var(--zg-max-w), calc(100% - 2 * var(--zg-section-pad-x)));
  margin: -2rem auto 2rem;
  overflow: hidden;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-lg);
  background: var(--zg-border);
  box-shadow: var(--zg-shadow-md);
}

.zg-l-root .zg-l-outcomes > .zg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px !important;
}

.zg-l-root .zg-l-outcomes > .zg-grid > .zeug-v2-component {
  width: 100%;
}

.zg-l-root .zg-l-outcomes .zg-card {
  min-height: 0;
  height: 100%;
  padding: 1.35rem;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  text-align: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.zg-l-root .zg-l-outcomes .zg-title {
  margin-bottom: 0.35rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.zg-l-root .zg-l-outcomes .zg-text {
  font-size: 0.82rem;
  line-height: 1.35;
}

.zg-l-outcome {
  min-width: 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.zg-l-outcome-value {
  display: block;
  color: var(--zg-fg);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.1;
}

.zg-l-outcome-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--zg-fg-mute);
  font-size: 0.82rem;
  line-height: 1.35;
}

/* ── Manifeste (single quote block) ─────────────────────────────────────── */
.zg-l-manifest {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.06), transparent);
}

.zg-l-manifest-quote {
  max-width: 56rem;
  margin: 0 auto;
  font-size: clamp(1.35rem, 2.6vw, 1.875rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--zg-fg);
  letter-spacing: 0;
}

.zg-l-manifest-quote strong {
  font-weight: 800;
}

/* ── Holons grid (the 10 sovereign experts) ─────────────────────────────── */
.zg-l-holons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.zg-l-holon-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--zg-shadow-sm);
  backdrop-filter: blur(12px);
  transition: border-color 250ms ease, transform 250ms ease, background 250ms ease;
  overflow: hidden;
}

.zg-l-holon-card:hover {
  border-color: var(--zg-border-strong);
  background: #ffffff;
  transform: translateY(-2px);
}

.zg-l-holon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--zg-blue), transparent);
  opacity: 0;
  transition: opacity 250ms ease;
}

.zg-l-holon-card:hover::before {
  opacity: 1;
}

.zg-l-holon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--zg-blue-soft);
  border: 1px solid var(--zg-blue-glow);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.zg-l-holon-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}

.zg-l-holon-tagline {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--zg-fg-mute);
}

/* ── Use cases (modular personas) ───────────────────────────────────────── */
.zg-l-usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.zg-l-usecase-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--zg-shadow-sm);
  backdrop-filter: blur(12px);
  transition: border-color 250ms ease, transform 250ms ease;
}

.zg-l-usecase-card:hover {
  border-color: var(--zg-border-strong);
  transform: translateY(-3px);
}

.zg-l-usecase-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--zg-blue-soft);
  color: var(--zg-blue);
  font-family: var(--zg-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.zg-l-usecase-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

.zg-l-usecase-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--zg-fg-dim);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.zg-l-usecase-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.zg-l-usecase-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--zg-fg-dim);
}

.zg-l-usecase-bullets li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--zg-blue);
  font-weight: 800;
}

/* ── Enterprise fit ────────────────────────────────────────────────────── */
.zg-l-enterprise {
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.025), transparent);
}

.zg-l-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.zg-l-enterprise-card {
  padding: 1.25rem;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--zg-shadow-sm);
}

.zg-l-enterprise-title {
  color: var(--zg-fg);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.zg-l-enterprise-body {
  color: var(--zg-fg-dim);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ── Steps ─────────────────────────────────────────────────────────────── */
.zg-l-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.zg-l-step {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-md);
  background: #ffffff;
  box-shadow: var(--zg-shadow-sm);
}

.zg-l-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--zg-blue);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
}

.zg-l-step-title {
  color: var(--zg-fg);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.zg-l-step-body {
  color: var(--zg-fg-dim);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ── Trust signals strip ───────────────────────────────────────────────── */
.zg-l-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.zg-l-trust-tile {
  padding: 1.5rem;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-md);
  background: #ffffff;
  box-shadow: var(--zg-shadow-sm);
  text-align: left;
}

.zg-l-trust-tile-label {
  font-family: var(--zg-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zg-fg-faint);
  margin-bottom: 0.5rem;
}

.zg-l-trust-tile-value {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.zg-l-trust-tile-note {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--zg-fg-mute);
}

/* ── Pricing teaser ────────────────────────────────────────────────────── */
.zg-l-pricing {
  text-align: center;
}

.zg-l-pricing-card {
  max-width: 36rem;
  margin: 3rem auto 0;
  padding: 2.5rem;
  border: 1px solid var(--zg-border-strong);
  border-radius: var(--zg-radius-xl);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--zg-shadow-md);
  backdrop-filter: blur(16px);
}

.zg-l-pricing-headline {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

.zg-l-pricing-sub {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--zg-fg-dim);
  margin-bottom: 2rem;
}

.zg-l-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.zg-l-pricing-features li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.zg-l-pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--zg-emerald) 25%, transparent);
  color: var(--zg-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.zg-l-faq {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.zg-l-faq-list {
  max-width: 52rem;
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.zg-l-faq-item {
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-md);
  background: #ffffff;
  box-shadow: var(--zg-shadow-sm);
}

.zg-l-faq-question {
  padding: 1rem 1.15rem;
  color: var(--zg-fg);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.zg-l-faq-question::-webkit-details-marker {
  display: none;
}

.zg-l-faq-question::after {
  content: "+";
  float: right;
  color: var(--zg-blue);
  font-weight: 900;
}

.zg-l-faq-item[open] .zg-l-faq-question::after {
  content: "–";
}

.zg-l-faq-answer {
  padding: 0 1.15rem 1.1rem;
  color: var(--zg-fg-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── Client (login) bar ────────────────────────────────────────────────── */
.zg-l-client-bar {
  margin: clamp(2rem, 4vw, 4rem) var(--zg-section-pad-x);
  padding: 2rem clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  box-shadow: var(--zg-shadow-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  max-width: var(--zg-max-w);
  margin-left: auto;
  margin-right: auto;
}

.zg-l-client-bar-text {
  flex: 1 1 22rem;
}

.zg-l-client-bar-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.4rem;
}

.zg-l-client-bar-body {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--zg-fg-dim);
}

.zg-l-client-bar-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── CTA footer ───────────────────────────────────────────────────────── */
.zg-l-cta {
  text-align: center;
  background: radial-gradient(ellipse at center bottom,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 70%);
}

.zg-l-cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.zg-l-cta-sub {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--zg-fg-dim);
}

.zg-l-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.zg-l-footer {
  padding: 3rem var(--zg-section-pad-x) 2rem;
  border-top: 1px solid var(--zg-border);
  background: #ffffff;
}

.zg-l-footer-grid {
  max-width: var(--zg-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 2rem;
}

.zg-l-footer-col-title {
  font-family: var(--zg-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zg-fg-faint);
  margin-bottom: 1rem;
}

.zg-l-footer-link {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--zg-fg-dim);
  transition: color 200ms ease;
}

.zg-l-footer-link:hover {
  color: var(--zg-fg);
}

.zg-l-footer-bottom {
  max-width: var(--zg-max-w);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--zg-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--zg-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--zg-fg-faint);
}

/* ── Accessibility: reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .zg-l-root *,
  .zg-l-root *::before,
  .zg-l-root *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  .zg-l-outcomes,
  .zg-l-enterprise-grid,
  .zg-l-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .zg-l-nav {
    gap: 0.75rem;
    padding: 0.875rem 1rem;
  }

  .zg-l-nav-actions {
    gap: 0.4rem;
  }

  .zg-l-nav-actions .zg-l-btn-primary {
    display: none;
  }

  .zg-l-btn {
    white-space: normal;
  }

  .zg-l-btn-ghost {
    padding-inline: 0.75rem;
  }

  .zg-l-btn-large {
    width: 100%;
  }

  .zg-l-hero {
    padding-top: clamp(3rem, 12vw, 4rem);
  }

  .zg-l-outcomes,
  .zg-l-enterprise-grid,
  .zg-l-steps {
    grid-template-columns: 1fr;
  }

  .zg-l-outcomes {
    margin-top: -1rem;
  }
}

/* ── Print: friendly fallback ──────────────────────────────────────────── */
@media print {
  .zg-l-root {
    background: white;
    color: black;
  }
  .zg-l-backdrop,
  .zg-l-nav {
    display: none;
  }
}

/* ── Light mode visual overrides (landing-only, beyond tokens) ──────────── */
/* The token flip happens in tokens.css at :root scope. Here we only patch
   rule bodies that need MORE than a token change (e.g. logo filter). */
@media (prefers-color-scheme: light) {
  /* Brand mark keeps original colour on light surface (no invert needed) */
  .zg-l-nav-brand-mark {
    filter: none;
  }

  /* Primary button stays blue on the explicit light landing theme. */
  .zg-l-btn-primary {
    background: var(--zg-blue);
    color: #ffffff;
  }
  .zg-l-btn-primary:hover {
    background: #1d4ed8;
  }
}

/* Brain-IA public refresh: SDUI-friendly marketing layer.
   These overrides keep the generic renderer intact and only reshape projected
   landing classes. */
.zg-l-root {
  --zg-bg: #f8fbff;
  --zg-blue: #165dff;
  --zg-cyan: #08b9d6;
  --zg-mint: #12b886;
  --zg-orange: #ff8a3d;
  --zg-fg: #09111f;
  --zg-fg-dim: rgba(9, 17, 31, 0.72);
  --zg-fg-mute: rgba(9, 17, 31, 0.62);
  background:
    radial-gradient(circle at 13% 11%, rgba(22, 93, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(8, 185, 214, 0.16), transparent 30rem),
    radial-gradient(circle at 80% 72%, rgba(255, 138, 61, 0.11), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #f3f7fb 100%);
}

.zg-l-root .zg-l-nav {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 999px;
  margin:
    clamp(0.85rem, 2vw, 1.25rem)
    clamp(0.85rem, 2vw, 1.5rem)
    0;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.zg-l-root .zg-l-nav-brand .zg-text-heading-3::before {
  background:
    radial-gradient(circle at 34% 28%, #ffffff 0 14%, transparent 15%),
    linear-gradient(135deg, var(--zg-blue), var(--zg-cyan) 58%, var(--zg-mint));
}

.zg-l-root .zg-l-nav-actions .zg-button-primary,
.zg-l-root .zg-button-primary {
  background: linear-gradient(135deg, var(--zg-blue), #087f9a);
  box-shadow: 0 20px 44px rgba(22, 93, 255, 0.24);
}

.zg-l-root .zg-l-nav-links .zg-button {
  font-weight: 800;
}

.zg-l-root .zg-l-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(34rem, 63vw, 48rem);
  border-radius: clamp(2rem, 5vw, 4rem);
}

.zg-l-root .zg-l-hero::before,
.zg-l-root .zg-l-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.zg-l-root .zg-l-hero::before {
  inset: 3rem 4rem auto auto;
  width: min(34rem, 40vw);
  height: min(34rem, 40vw);
  border-radius: 999px;
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.2) 32%, transparent 62%),
    conic-gradient(from 220deg, rgba(22, 93, 255, 0.2), rgba(8, 185, 214, 0.24), rgba(255, 138, 61, 0.18), rgba(22, 93, 255, 0.2));
  filter: blur(1px);
  opacity: 0.86;
}

.zg-l-root .zg-l-hero::after {
  right: clamp(1rem, 6vw, 6rem);
  top: clamp(11rem, 17vw, 15rem);
  width: min(31rem, 38vw);
  height: min(22rem, 30vw);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2.1rem;
  background:
    linear-gradient(90deg, rgba(22, 93, 255, 0.92), rgba(8, 185, 214, 0.92)) 1.4rem 1.4rem / 42% 0.65rem no-repeat,
    linear-gradient(90deg, rgba(15, 23, 42, 0.16), transparent) 1.4rem 3rem / 70% 0.45rem no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(90deg, transparent 0 4.8rem, rgba(22, 93, 255, 0.06) 4.8rem 4.86rem);
  box-shadow:
    0 34px 90px rgba(15, 23, 42, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transform: rotate(-2deg);
}

.zg-l-root .zg-l-hero > .zg-stack {
  position: relative;
  z-index: 1;
}

@media (min-width: 980px) {
  .zg-l-root .zg-l-hero > .zg-stack {
    max-width: 48rem;
  }

  .zg-l-root .zg-l-hero-title .zg-text-heading-1 {
    max-width: 47rem;
  }
}

.zg-l-root .zg-l-hero-title .zg-text-heading-1,
.zg-l-root #landing-hero .zg-text-heading-1 {
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.zg-l-root .zg-l-hero-title .zg-text-heading-1::after,
.zg-l-root #landing-hero .zg-text-heading-1::after {
  content: "";
  display: block;
  width: min(17rem, 48vw);
  height: 0.22rem;
  margin-top: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--zg-blue), var(--zg-cyan), var(--zg-orange));
}

.zg-l-root .zg-l-hero-trust .zg-badge {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(22, 93, 255, 0.15);
  color: rgba(9, 17, 31, 0.68);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.zg-l-root .zg-l-outcomes {
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.18), rgba(8, 185, 214, 0.16), rgba(255, 138, 61, 0.12));
}

.zg-l-root .zg-l-outcomes .zg-card {
  background: rgba(255, 255, 255, 0.88);
}

.zg-l-root .zg-l-outcomes .zg-title {
  color: #071122;
}

.zg-l-root #landing-connected-space .zg-grid > .zeug-v2-component:first-child .zg-card {
  background: linear-gradient(180deg, #fff7ed, #ffffff);
  border-color: rgba(255, 138, 61, 0.28);
}

.zg-l-root #landing-connected-space .zg-grid > .zeug-v2-component:nth-child(2) .zg-card {
  background: linear-gradient(180deg, #ecfeff, #ffffff);
  border-color: rgba(8, 185, 214, 0.24);
}

.zg-l-root #landing-connected-space .zg-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.zg-l-root .zg-l-feature-card .zg-card {
  border-color: rgba(226, 232, 240, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.zg-l-root .zg-l-feature-card .zg-card:hover {
  border-color: rgba(22, 93, 255, 0.28);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.zg-l-root .zg-l-feature-card .zg-card::before {
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.12), rgba(8, 185, 214, 0.1));
}

.zg-l-root #landing-pricing .zg-l-pricing-card .zg-card,
.zg-l-root .zg-l-client-cta {
  background:
    radial-gradient(circle at 88% 18%, rgba(8, 185, 214, 0.18), transparent 18rem),
    linear-gradient(135deg, #071122, #10213f 58%, #123c55);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 90px rgba(7, 17, 34, 0.26);
}

.zg-l-root #landing-pricing .zg-l-pricing-card .zg-title,
.zg-l-root .zg-l-client-cta .zg-text-heading-2,
.zg-l-root .zg-l-client-cta .zg-markdown {
  color: #ffffff;
}

.zg-l-root #landing-pricing .zg-l-pricing-card .zg-markdown {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 979px) {
  .zg-l-root .zg-l-hero {
    min-height: auto;
    padding-bottom: clamp(5rem, 18vw, 8rem);
  }

  .zg-l-root .zg-l-hero::before {
    right: -7rem;
    top: 9rem;
    width: 20rem;
    height: 20rem;
  }

  .zg-l-root .zg-l-hero::after {
    display: none;
  }
}

/* Responsive centering pass 2026-07-08: keep the SDUI content data-driven while stabilizing layout across viewports. */
.zg-l-root {
  width: 100%;
  overflow-x: clip;
}

#landing-root {
  width: 100%;
  max-width: var(--zg-page-max, 1180px);
  margin-inline: auto;
  padding-inline: var(--zg-page-padding-x, clamp(18px, 4.8vw, 56px));
  box-sizing: border-box;
}

.zg-l-nav,
.zg-l-section,
.zg-l-hero {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  box-sizing: border-box;
}

.zg-l-nav {
  margin-top: clamp(12px, 2vw, 24px);
}

.zg-l-nav > .zg-stack,
.zg-l-nav-links > .zg-stack,
.zg-l-nav-actions > .zg-stack,
.zg-l-hero-trust > .zg-stack,
.zg-l-hero-actions > .zg-stack,
.zg-l-hero-secondary > .zg-stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.zg-l-nav > .zg-stack {
  justify-content: space-between;
  gap: 12px 18px;
}

.zg-l-nav-links > .zg-stack,
.zg-l-nav-actions > .zg-stack,
.zg-l-hero-trust > .zg-stack,
.zg-l-hero-actions > .zg-stack,
.zg-l-hero-secondary > .zg-stack {
  justify-content: center;
  gap: 10px;
}

.zg-l-hero {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(42px, 7vw, 92px) clamp(36px, 6vw, 78px);
}

.zg-l-hero > .zg-stack {
  align-items: center;
}

.zg-l-hero-title,
.zg-l-hero-lede,
.zg-l-section-head,
.zg-l-section-title,
.zg-l-section-lede {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.zg-l-hero-title {
  position: relative;
  z-index: 2;
}

.zg-l-hero-title .zg-text {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.zg-l-hero-lede,
.zg-l-section-lede {
  color: var(--zg-fg-dim, rgba(9, 17, 31, 0.72));
}

.zg-l-section {
  margin-block: var(--zg-section-gap, clamp(72px, 10vw, 142px));
}

.zg-l-section > .zg-stack,
.zg-l-section-head > .zg-stack {
  align-items: center;
}

.zg-l-section .zg-grid,
.zg-l-outcomes .zg-grid {
  width: 100%;
  display: grid !important;
  gap: clamp(14px, 2vw, 24px) !important;
}

.zg-l-outcomes .zg-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.zg-l-section .zg-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
}

.zg-l-usecase-card .zg-card,
.zg-l-feature-card .zg-card,
.zg-l-kpi-card .zg-card,
.zg-l-offer-card .zg-card,
.zg-l-faq-card .zg-card {
  height: 100%;
  box-sizing: border-box;
}

.zg-l-hero-actions .zg-button,
.zg-l-hero-secondary .zg-button,
.zg-l-nav-actions .zg-button {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  #landing-root {
    max-width: 860px;
    padding-inline: clamp(18px, 5vw, 40px);
  }

  .zg-l-nav > .zg-stack {
    justify-content: center;
  }

  .zg-l-nav-brand,
  .zg-l-nav-links,
  .zg-l-nav-actions {
    flex: 0 1 auto;
  }

  .zg-l-hero {
    padding-block-start: clamp(36px, 7vw, 72px);
  }

  .zg-l-hero-title .zg-text {
    font-size: var(--zg-hero-title-size-tablet, clamp(3rem, 10vw, 5.8rem));
  }

  .zg-l-outcomes .zg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #landing-root {
    padding-inline: var(--zg-page-padding-x-mobile, 16px);
  }

  .zg-l-nav {
    width: calc(100% - 12px);
    margin-top: 10px;
    border-radius: 22px;
  }

  .zg-l-nav > .zg-stack {
    gap: 8px;
  }

  .zg-l-nav-brand {
    flex: 1 1 100%;
    text-align: center;
  }

  .zg-l-nav-links,
  .zg-l-nav-actions {
    width: 100%;
  }

  .zg-l-nav-links > .zg-stack,
  .zg-l-nav-actions > .zg-stack {
    gap: 6px;
  }

  .zg-l-nav .zg-button {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .zg-l-hero {
    padding-block: var(--zg-hero-padding-mobile, 38px 32px);
  }

  .zg-l-hero::before,
  .zg-l-hero::after {
    display: none !important;
  }

  .zg-l-hero-title .zg-text {
    font-size: var(--zg-hero-title-size-mobile, clamp(2.65rem, 15vw, 3.9rem));
    line-height: 0.9;
    letter-spacing: -0.065em;
  }

  .zg-l-hero-lede,
  .zg-l-section-lede {
    max-width: 34rem;
    font-size: 0.98rem;
  }

  .zg-l-hero-trust > .zg-stack,
  .zg-l-hero-actions > .zg-stack,
  .zg-l-hero-secondary > .zg-stack {
    width: 100%;
    align-items: stretch;
  }

  .zg-l-hero-actions .zeug-v2-component,
  .zg-l-hero-secondary .zeug-v2-component,
  .zg-l-hero-actions .zg-button,
  .zg-l-hero-secondary .zg-button {
    width: 100%;
    justify-content: center;
  }

  .zg-l-section {
    margin-block: var(--zg-section-gap-mobile, 58px);
  }

  .zg-l-section-title .zg-text {
    font-size: clamp(1.65rem, 9vw, 2.45rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .zg-l-section .zg-grid,
  .zg-l-outcomes .zg-grid {
    grid-template-columns: 1fr !important;
  }

  .zg-l-kpi-card .zg-card,
  .zg-l-feature-card .zg-card,
  .zg-l-usecase-card .zg-card,
  .zg-l-offer-card .zg-card,
  .zg-l-faq-card .zg-card {
    padding: 18px;
    border-radius: 20px;
  }
}

@media (max-width: 420px) {
  .zg-l-hero-title .zg-text {
    font-size: clamp(2.25rem, 14vw, 3.25rem);
  }

  .zg-l-nav-links .zg-button,
  .zg-l-nav-actions .zg-button {
    font-size: 0.72rem;
  }
}

/* Brain-IA SDUI responsive hardening - generic thin-host primitives. */
@media (max-width: 720px) {
  html,
  body,
  #main,
  .zg-l-root,
  #landing-root {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .zg-l-root {
    padding-inline: 0;
  }

  #landing-root,
  .zg-l-root > .zg-render-boundary,
  .zg-l-section,
  .zg-l-hero,
  .zg-l-client-cta {
    width: min(100%, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    margin-inline: auto;
    box-sizing: border-box;
  }

  .zg-l-nav {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin: 40px auto 72px;
    padding: 14px 16px;
    border-radius: 34px;
    overflow: hidden;
  }

  .zg-l-nav > .zg-stack,
  .zg-l-nav-links > .zg-stack,
  .zg-l-hero-actions > .zg-stack,
  .zg-l-footer-actions > .zg-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .zg-l-nav-brand {
    flex: 1 1 132px;
    min-width: 0;
  }

  .zg-l-nav-links {
    flex: 0 1 auto;
    min-width: 0;
  }

  .zg-l-nav-links .zg-button,
  .zg-l-nav-links a {
    max-width: 100%;
    white-space: normal;
  }

  .zg-l-nav-links [id*="demo"],
  #landing-nav-demo {
    display: none;
  }

  .zg-l-hero {
    text-align: center;
    padding-inline: 0;
  }

  .zg-l-hero .zg-text-heading-1,
  .zg-l-hero h1,
  #landing-root h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: var(--zg-hero-title-size-mobile, clamp(2.45rem, 12.5vw, 3.45rem));
    line-height: 0.94;
    letter-spacing: -0.075em;
    text-wrap: balance;
  }

  .zg-l-hero-copy,
  .zg-l-hero .zg-markdown,
  .zg-l-hero .zg-markdown-paragraph {
    max-width: min(100%, 35rem);
    margin-inline: auto;
    text-align: center;
  }

  .zg-l-hero-tags > .zg-stack,
  .zg-l-hero-proof > .zg-stack,
  .zg-l-feature-grid > .zg-stack,
  .zg-l-grid > .zg-stack {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .zg-l-hero-tags,
  .zg-l-hero-tags .zg-render-boundary,
  .zg-l-hero-tags .zg-button,
  .zg-l-hero-tags a,
  .zg-l-hero-tags span,
  .zg-l-hero-actions .zg-button,
  .zg-l-footer-actions .zg-button {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .zg-l-hero-actions .zg-button,
  .zg-l-footer-actions .zg-button {
    width: min(100%, 20rem);
    justify-content: center;
  }

  .zg-l-hero-visual,
  .zg-l-hero-orb,
  .zg-l-hero-card,
  .zg-l-hero::before,
  .zg-l-hero::after {
    max-width: 100%;
    pointer-events: none;
    opacity: 0.38;
    transform: none;
  }
}

@media (max-width: 430px) {
  .zg-l-nav {
    margin-top: 38px;
    margin-bottom: 86px;
  }

  .zg-l-nav > .zg-stack {
    gap: 10px !important;
  }

  .zg-l-nav-brand .zg-text,
  .zg-l-nav-brand span {
    font-size: 0.95rem;
    line-height: 1.05;
  }

  .zg-l-nav-links .zg-button,
  .zg-l-nav-links a {
    padding-inline: 18px;
    min-height: 44px;
  }

  .zg-l-hero .zg-text-heading-1,
  .zg-l-hero h1,
  #landing-root h1 {
    font-size: var(--zg-hero-title-size-mobile, clamp(2.35rem, 11.8vw, 3.2rem));
    letter-spacing: -0.08em;
  }
}

/* Brain-IA SDUI mobile overflow hard stop. */
@media (max-width: 720px) {
  #landing-root *,
  #landing-root *::before,
  #landing-root *::after {
    box-sizing: border-box;
  }

  #landing-root .zg-stack,
  #landing-root .zg-render-boundary,
  #landing-root .zg-markdown,
  #landing-root .zg-markdown-paragraph,
  #landing-root .zg-text {
    max-width: 100%;
    min-width: 0;
  }

  .zg-l-hero,
  .zg-l-hero > .zg-stack,
  .zg-l-hero .zg-stack,
  .zg-l-hero .zg-render-boundary {
    width: 100%;
    max-width: calc(100vw - 32px);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .zg-l-hero .zg-text-heading-1,
  .zg-l-hero h1,
  #landing-root h1 {
    display: block;
    width: 100%;
    max-width: calc(100vw - 36px);
    min-width: 0;
    margin-inline: auto;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    font-size: var(--zg-hero-title-size-mobile, clamp(1.95rem, 9.8vw, 2.75rem)) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
  }

  .zg-l-hero-copy,
  .zg-l-hero .zg-markdown,
  .zg-l-hero .zg-markdown-paragraph {
    width: 100%;
    max-width: calc(100vw - 44px);
    padding-inline: 0;
    overflow-wrap: break-word;
  }

  .zg-l-hero-tags,
  .zg-l-hero-actions,
  .zg-l-footer-actions,
  .zg-l-hero-tags > .zg-stack,
  .zg-l-hero-actions > .zg-stack,
  .zg-l-footer-actions > .zg-stack {
    width: 100%;
    max-width: calc(100vw - 44px);
    min-width: 0;
    margin-inline: auto;
  }

  .zg-l-hero-tags > .zg-stack {
    grid-template-columns: 1fr;
  }

  .zg-l-hero-tags .zg-render-boundary,
  .zg-l-hero-tags .zg-button,
  .zg-l-hero-tags a,
  .zg-l-hero-tags span,
  .zg-l-hero-actions .zg-button,
  .zg-l-hero-actions a,
  .zg-l-footer-actions .zg-button,
  .zg-l-footer-actions a {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .zg-l-hero .zg-text-heading-1,
  .zg-l-hero h1,
  #landing-root h1 {
    font-size: var(--zg-hero-title-size-mobile, clamp(1.85rem, 9.2vw, 2.45rem)) !important;
  }
}

.zg-public-lang {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

.zg-public-lang__label {
  padding-left: 0.55rem;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.zg-public-lang__options {
  display: inline-flex;
  gap: 0.25rem;
}

.zg-public-lang__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  min-height: 2rem;
  border-radius: 999px;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.zg-public-lang__option:hover {
  color: #064e3b;
  background: rgba(16, 185, 129, 0.1);
}

.zg-l-root .zg-public-lang__option--active {
  color: #ffffff;
  background: linear-gradient(135deg, #047857, #065f46);
  box-shadow: 0 0.75rem 1.5rem rgba(16, 185, 129, 0.22);
}

@media (max-width: 38rem) {
  .zg-public-lang {
    top: max(0.65rem, env(safe-area-inset-top));
    right: max(0.65rem, env(safe-area-inset-right));
    transform: scale(0.92);
    transform-origin: top right;
  }

  .zg-public-lang__label {
    display: none;
  }
}

.zg-public-lang {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.zg-public-lang__menu {
  position: relative;
}

.zg-public-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.35rem 0.45rem 0.35rem 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0.8rem 2rem rgba(15, 23, 42, 0.1);
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  backdrop-filter: blur(18px);
}

.zg-public-lang__trigger::-webkit-details-marker {
  display: none;
}

.zg-public-lang__active,
.zg-public-lang__option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.zg-public-lang__flag {
  font-size: 1rem;
  line-height: 1;
}

.zg-public-lang__code {
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zg-public-lang__chevron {
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1;
}

.zg-public-lang__options {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: grid;
  gap: 0.25rem;
  min-width: 13.5rem;
  max-height: min(22rem, calc(100vh - 7rem));
  overflow: auto;
  padding: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem) scale(0.98);
  transform-origin: top right;
  transition: opacity 160ms ease, transform 160ms ease;
}

.zg-public-lang__menu[open] .zg-public-lang__options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.zg-public-lang__option {
  justify-content: flex-start;
  min-width: 0;
  min-height: 2.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.85rem;
}

.zg-public-lang__name {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.zg-l-root .zg-public-lang__option--active .zg-public-lang__name {
  color: rgba(255, 255, 255, 0.86);
}

.zg-public-lang__label {
  display: none;
}

.zg-public-lang__trigger {
  min-height: 2.45rem;
  padding: 0.35rem 0.55rem;
}

.zg-l-language-slot {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 120;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.zg-l-language-slot .zg-public-lang {
  position: static;
  pointer-events: auto;
}

.zg-public-lang__flag {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.08rem;
  overflow: hidden;
  border-radius: 0.2rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.16), 0 0.22rem 0.58rem rgba(15, 23, 42, 0.1);
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 0;
  line-height: 0;
}

.zg-public-lang__flag--fr {
  background: linear-gradient(90deg, #0055a4 0 33.333%, #ffffff 33.333% 66.666%, #ef4135 66.666% 100%);
}

.zg-public-lang__flag--en,
.zg-public-lang__flag--gb {
  background: #012169 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='s'%3E%3Cpath d='M0,0 v30 h60 v-30 z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Cpath d='M0,0 v30 h60 v-30 z' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23c8102e' stroke-width='4'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23c8102e' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}

.zg-public-lang__flag--es {
  background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.zg-public-lang__option {
  gap: 0.55rem;
}

.zg-public-lang__option .zg-public-lang__name {
  color: #0f172a;
  white-space: nowrap;
}

.zg-l-root .zg-public-lang__option--active .zg-public-lang__name {
  color: #ffffff;
}

@media (max-width: 38rem) {
  .zg-l-language-slot {
    top: max(0.65rem, env(safe-area-inset-top));
    right: max(0.65rem, env(safe-area-inset-right));
    transform: scale(0.92);
    transform-origin: top right;
  }
}

/* Browser language lead: first available browser language, then separator before alphabetical alternatives. */
.zg-public-lang__option--system {
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.16);
}

.zg-public-lang__option--after-system {
  margin-top: 0.45rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
}

/*
 * Public benefit landing V4.
 * THESIS: make scattered work visibly become a calm, actionable day.
 * OWN-WORLD: bright business surfaces, deep ink, blue action and emerald readiness.
 * STORY: understand the promise, see an illustrative workspace, then explore outcomes.
 * FIRST VIEWPORT: centered promise above one substantial product illustration.
 * FORM: the approved landing mockup, transposed through generic SDUI primitives.
 */
.zg-l-root:has(.zg-l-v2-hero) {
  --zg-display: var(--zg-font);
  background:
    radial-gradient(circle at 16% 9%, var(--zg-blue-glow), transparent 28rem),
    radial-gradient(circle at 86% 24%, rgba(5, 150, 105, 0.12), transparent 26rem),
    linear-gradient(180deg, var(--zg-bg-soft) 0%, var(--zg-bg) 58%, rgba(5, 150, 105, 0.06) 100%);
  -webkit-font-smoothing: antialiased;
}

.zg-l-root:has(.zg-l-v2-hero) #landing-root > .zg-stack {
  gap: 0 !important;
}

.zg-l-root .zg-l-v2-nav {
  top: 0.85rem;
  width: min(72rem, calc(100% - 2rem));
  margin: 0.85rem auto 0;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 16px;
  background: color-mix(in srgb, var(--zg-bg-soft) 90%, transparent);
  box-shadow: 0 0 0 1px var(--zg-border), 0 6px 8px rgba(10, 27, 46, 0.06);
  backdrop-filter: blur(18px);
}

.zg-l-root .zg-l-v2-hero {
  display: grid;
  place-items: center;
  min-height: min(43rem, calc(100vh - 5rem));
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.zg-l-root .zg-l-v2-hero > .zg-stack {
  width: 100%;
  max-width: min(72rem, 100%);
  align-items: center;
}

.zg-l-root .zg-l-v2-hero .zg-l-hero-title .zg-text-heading-1 {
  max-width: 68rem;
  font-family: var(--zg-display);
  font-size: clamp(3.25rem, 7.2vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.zg-l-root .zg-l-v2-hero .zg-l-hero-lede .zg-markdown {
  max-width: 47rem;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.zg-l-root .zg-l-v3-workspace-stage {
  position: relative;
  width: min(61rem, calc(100vw - 2rem));
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  text-align: left;
}

.zg-l-root .zg-l-v3-workspace-stage > .zg-stack {
  position: relative;
  align-items: stretch;
}

.zg-l-root .zg-l-v3-preview-label {
  width: fit-content;
  margin-inline: auto;
  color: var(--zg-muted);
}

.zg-l-root .zg-l-v3-preview-window {
  overflow: hidden;
  border-radius: 16px;
  background: var(--zg-bg-soft);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--zg-fg) 9%, transparent),
    0 18px 48px rgba(10, 44, 80, 0.14);
}

.zg-l-root .zg-l-v3-preview-window > .zg-stack {
  gap: 0 !important;
}

.zg-l-root .zg-l-v3-preview-bar {
  position: relative;
  min-height: 3.65rem;
  padding: 0.7rem 1rem 0.7rem 4.35rem;
  box-shadow: inset 0 -1px 0 var(--zg-border);
}

.zg-l-root .zg-l-v3-preview-bar::before {
  position: absolute;
  left: 1.15rem;
  color: var(--zg-border-strong);
  content: "●  ●  ●";
  font-size: 0.55rem;
  letter-spacing: 0.12rem;
}

.zg-l-root .zg-l-v3-preview-bar > .zg-stack,
.zg-l-root .zg-l-v3-preview-heading > .zg-stack,
.zg-l-root .zg-l-v3-preview-activity > .zg-stack {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
}

.zg-l-root .zg-l-v3-preview-bar > .zg-stack > .zeug-v2-component,
.zg-l-root .zg-l-v3-preview-heading > .zg-stack > .zeug-v2-component,
.zg-l-root .zg-l-v3-preview-activity > .zg-stack > .zeug-v2-component {
  width: auto;
}

.zg-l-root .zg-l-v3-preview-heading > .zg-stack > .zeug-v2-component:first-child,
.zg-l-root .zg-l-v3-preview-activity > .zg-stack > .zeug-v2-component:first-child {
  flex: 1;
}

.zg-l-root .zg-l-v3-preview-brand .zg-text-heading-3 {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.zg-l-root .zg-l-v3-preview-status .zg-badge {
  color: var(--zg-emerald);
  background: color-mix(in srgb, var(--zg-emerald) 10%, var(--zg-bg-soft));
  box-shadow: none;
}

.zg-l-root .zg-l-v3-preview-status .zg-badge::before {
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--zg-emerald);
  content: "";
}

.zg-l-root .zg-l-v3-preview-body {
  min-height: 25rem;
}

.zg-l-root .zg-l-v3-preview-body > .zg-stack {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 0 !important;
  align-items: stretch;
}

.zg-l-root .zg-l-v3-preview-navigation {
  padding: 1.15rem 0.85rem;
  background: color-mix(in srgb, var(--zg-bg) 56%, var(--zg-bg-soft));
  box-shadow: inset -1px 0 0 var(--zg-border);
}

.zg-l-root .zg-l-v3-preview-navigation > .zg-stack {
  gap: 0.35rem !important;
}

.zg-l-root .zg-l-v3-preview-nav-item {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--zg-muted);
}

.zg-l-root .zg-l-v3-preview-nav-item .zg-text-body {
  font-size: 0.86rem;
  font-weight: 700;
}

.zg-l-root .zg-l-v3-preview-navigation > .zg-stack > .zeug-v2-component:first-child {
  color: var(--zg-blue);
  background: var(--zg-blue-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--zg-blue) 12%, transparent);
}

.zg-l-root .zg-l-v3-preview-main {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2.35rem);
}

.zg-l-root .zg-l-v3-preview-title .zg-text-heading-2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.zg-l-root .zg-l-v3-preview-copy .zg-text-body,
.zg-l-root .zg-l-v3-preview-activity-body .zg-text-body {
  color: var(--zg-muted);
  text-wrap: pretty;
}

.zg-l-root .zg-l-v3-preview-action .zg-badge {
  min-height: 2.5rem;
  padding-inline: 0.9rem;
  border-radius: 10px;
  color: var(--zg-blue);
  background: var(--zg-blue-soft);
  box-shadow: none;
}

.zg-l-root .zg-l-v3-preview-activities {
  overflow: hidden;
  border-radius: 14px;
  background: var(--zg-bg);
  box-shadow: 0 0 0 1px var(--zg-border);
}

.zg-l-root .zg-l-v3-preview-activities > .zg-stack {
  gap: 0 !important;
}

.zg-l-root .zg-l-v3-preview-activity {
  position: relative;
  padding: 1rem 1rem 1rem 3.75rem;
  box-shadow: inset 0 -1px 0 var(--zg-border);
}

.zg-l-root .zg-l-v3-preview-activity:last-child {
  box-shadow: none;
}

.zg-l-root .zg-l-v3-preview-activity::before {
  position: absolute;
  top: 50%;
  left: 1rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 10px;
  color: var(--zg-blue);
  background: var(--zg-blue-soft);
  content: "✓";
  font-weight: 800;
  transform: translateY(-50%);
}

.zg-l-root .zg-l-v3-preview-activity--field::before {
  color: var(--zg-emerald);
  background: color-mix(in srgb, var(--zg-emerald) 10%, var(--zg-bg-soft));
  content: "↗";
}

.zg-l-root .zg-l-v3-preview-activity--request::before {
  color: var(--zg-cyan);
  background: color-mix(in srgb, var(--zg-cyan) 10%, var(--zg-bg-soft));
  content: "✦";
}

.zg-l-root .zg-l-v3-preview-activity-copy {
  min-width: 0;
}

.zg-l-root .zg-l-v3-preview-activity-title .zg-text-heading-3 {
  font-size: 0.95rem;
  line-height: 1.2;
}

.zg-l-root .zg-l-v3-preview-activity-body .zg-text-body {
  font-size: 0.8rem;
  line-height: 1.4;
}

.zg-l-root .zg-l-v3-preview-activity-status .zg-badge {
  color: var(--zg-fg);
  background: color-mix(in srgb, var(--zg-fg) 5%, var(--zg-bg-soft));
  box-shadow: none;
  white-space: nowrap;
}

.zg-l-root .zg-l-v3-preview-signals {
  position: absolute;
  inset: 3.8rem -3.5rem 0;
  pointer-events: none;
}

.zg-l-root .zg-l-v3-preview-signals .zg-grid {
  position: relative;
  display: block;
  height: 100%;
}

.zg-l-root .zg-l-v3-preview-signal {
  position: absolute;
  width: 12.5rem;
}

.zg-l-root .zg-l-v3-preview-signal .zg-card {
  position: relative;
  min-height: 0;
  padding: 0.85rem 0.9rem 0.85rem 3.45rem;
  border: 0;
  border-radius: 14px;
  background: var(--zg-bg-soft);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--zg-fg) 8%, transparent),
    0 9px 24px rgba(10, 44, 80, 0.12);
}

.zg-l-root .zg-l-v3-preview-signal .zg-card::before {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 10px;
  color: var(--zg-emerald);
  background: color-mix(in srgb, var(--zg-emerald) 11%, var(--zg-bg-soft));
  content: "✓";
  font-weight: 800;
  transform: translateY(-50%);
}

.zg-l-root .zg-l-v3-preview-signal .zg-title {
  font-size: 0.82rem;
  line-height: 1.2;
}

.zg-l-root .zg-l-v3-preview-signal .zg-text-body {
  color: var(--zg-muted);
  font-size: 0.74rem;
}

.zg-l-root .zg-l-v3-preview-signal--document {
  top: 28%;
  left: 0;
}

.zg-l-root .zg-l-v3-preview-signal--team {
  top: 10%;
  right: -5rem;
}

.zg-l-root .zg-l-v3-preview-signal--team .zg-card::before {
  content: "↗";
}

.zg-l-root .zg-l-v3-preview-signal--followup {
  right: -1.5rem;
  bottom: 7%;
}

.zg-l-root .zg-l-v3-preview-signal--followup .zg-card::before {
  color: var(--zg-blue);
  background: var(--zg-blue-soft);
  content: "✦";
}

.zg-l-root:has(.zg-l-v2-hero) .zg-markdown,
.zg-l-root:has(.zg-l-v2-hero) .zg-text-body {
  text-wrap: pretty;
}

.zg-l-root:has(.zg-l-v2-hero) .zg-button {
  min-height: 44px;
  border-radius: 12px;
  transition-property: transform, background-color, color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.zg-l-root:has(.zg-l-v2-hero) .zg-button:active {
  transform: scale(0.96);
}

.zg-l-root .zg-l-v2-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.zg-l-root .zg-l-v2-section .zg-l-section-head {
  max-width: 52rem;
}

.zg-l-root .zg-l-v2-section .zg-l-section-title .zg-text-heading-2,
.zg-l-root .zg-l-v2-footer .zg-l-section-title .zg-text-heading-2 {
  font-family: var(--zg-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.zg-l-root .zg-l-v2-network {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 0;
  border-radius: 16px;
  background: var(--zg-bg-soft);
  box-shadow: 0 0 0 1px var(--zg-border), 0 7px 8px rgba(10, 27, 46, 0.06);
  overflow: hidden;
}

.zg-l-root .zg-l-v2-network::before {
  content: "";
  position: absolute;
  inset: 50% 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 99, 255, 0.42), rgba(0, 168, 198, 0.42), transparent);
}

.zg-l-root .zg-l-v2-network-core .zg-card {
  position: relative;
  z-index: 1;
  max-width: 24rem;
  min-height: 0;
  margin-inline: auto;
  border: 0;
  border-radius: 16px;
  background: var(--zg-fg);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 7px 8px rgba(10, 27, 46, 0.18);
}

.zg-l-root .zg-l-v2-network-core .zg-title,
.zg-l-root .zg-l-v2-network-core .zg-markdown {
  color: #ffffff;
}

.zg-l-root .zg-l-v2-network-card .zg-card,
.zg-l-root .zg-l-v2-benefit-card .zg-card,
.zg-l-root .zg-l-v2-usecase-card .zg-card,
.zg-l-root .zg-l-v2-step-card .zg-card,
.zg-l-root .zg-l-v2-trust-card .zg-card,
.zg-l-root .zg-l-v2-faq-card .zg-card {
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 16px;
  background: var(--zg-bg-soft);
  box-shadow: 0 0 0 1px var(--zg-border), 0 2px 4px rgba(10, 27, 46, 0.04);
}

.zg-l-root .zg-l-v2-benefit-card .zg-card {
  min-height: 13rem;
  background: var(--zg-bg-soft);
}

.zg-l-root .zg-l-v2-step-card .zg-title {
  color: var(--zg-blue);
}

.zg-l-root .zg-l-v2-offer {
  max-width: min(74rem, calc(100% - 2 * var(--zg-section-pad-x)));
}

.zg-l-root .zg-l-v2-offer-card .zg-card {
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 168, 198, 0.32), transparent 20rem),
    #0a1b2e;
  color: #ffffff;
  box-shadow: 0 7px 8px rgba(10, 27, 46, 0.18);
}

.zg-l-root .zg-l-v2-offer-card .zg-title,
.zg-l-root .zg-l-v2-offer-card .zg-markdown {
  color: #ffffff;
}

.zg-l-root .zg-l-v2-footer {
  margin-top: clamp(3rem, 8vw, 7rem);
  padding: clamp(3rem, 7vw, 6rem);
  border-radius: 16px 16px 0 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(8, 185, 214, 0.18), transparent 18rem),
    linear-gradient(135deg, #071122, #10213f 58%, #123c55);
  color: #ffffff;
  text-align: center;
}

.zg-l-root .zg-l-v2-footer > .zg-stack {
  align-items: center;
}

.zg-l-root .zg-l-v3-before-after {
  gap: 0 !important;
  padding: 0;
}

.zg-l-root .zg-l-v3-before,
.zg-l-root .zg-l-v3-after {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.zg-l-root .zg-l-v3-before {
  border-radius: 16px 16px 0 0;
  background: var(--zg-fg);
}

.zg-l-root .zg-l-v3-before .zg-card {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.zg-l-root #landing-connected-space .zg-l-v3-before .zg-grid > .zg-l-v3-before-card .zg-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.zg-l-root .zg-l-v3-before .zg-title,
.zg-l-root .zg-l-v3-before .zg-markdown {
  color: #ffffff;
}

.zg-l-root .zg-l-v3-after {
  border-radius: 0 0 16px 16px;
  background: var(--zg-bg-soft);
}

.zg-l-root .zg-l-v3-transition {
  position: relative;
  z-index: 2;
  width: min(24rem, calc(100% - 2rem));
  margin: -0.85rem auto;
}

.zg-l-root .zg-l-v3-transition .zg-card {
  padding-block: 1rem;
}

.zg-l-root .zg-l-v2-benefits .zg-grid {
  gap: 0 !important;
  border-top: 1px solid var(--zg-border-strong);
}

.zg-l-root .zg-l-v2-benefits .zg-card {
  min-height: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 -1px 0 var(--zg-border);
}

.zg-l-root .zg-l-v2-use_cases {
  max-width: none;
  padding-inline: max(var(--zg-section-pad-x), calc((100% - var(--zg-max-w)) / 2));
  background: var(--zg-blue-soft);
}

.zg-l-root .zg-l-v2-use_cases .zg-grid {
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(12rem, auto));
}

.zg-l-root .zg-l-v2-use_cases .zg-grid > .zeug-v2-component:first-child {
  grid-row: 1 / span 2;
}

.zg-l-root .zg-l-v2-use_cases .zg-grid > .zeug-v2-component:first-child .zg-card {
  min-height: 100%;
  background: var(--zg-fg);
}

.zg-l-root .zg-l-v2-use_cases .zg-grid > .zeug-v2-component:first-child .zg-title,
.zg-l-root .zg-l-v2-use_cases .zg-grid > .zeug-v2-component:first-child .zg-markdown {
  color: #ffffff;
}

.zg-l-root .zg-l-v2-steps .zg-grid {
  gap: 0 !important;
  border-top: 2px solid var(--zg-border);
}

.zg-l-root .zg-l-v2-steps .zg-card {
  position: relative;
  min-height: 0;
  padding: 2rem 2rem 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.zg-l-root .zg-l-v2-steps .zg-card::before {
  content: "";
  position: absolute;
  top: -0.42rem;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--zg-blue);
  box-shadow: 0 0 0 0.35rem var(--zg-blue-soft);
}

.zg-l-root .zg-l-v2-trust {
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: 16px;
  background: var(--zg-fg);
}

.zg-l-root .zg-l-v2-trust .zg-l-section-title .zg-text-heading-2,
.zg-l-root .zg-l-v2-trust .zg-l-section-lede .zg-markdown,
.zg-l-root .zg-l-v2-trust .zg-title,
.zg-l-root .zg-l-v2-trust .zg-markdown {
  color: #ffffff;
}

.zg-l-root .zg-l-v2-trust .zg-l-eyebrow {
  color: var(--zg-emerald);
}

.zg-l-root .zg-l-v2-trust .zg-card {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.zg-l-root .zg-l-v2-faq .zg-card {
  min-height: 0;
}

.zg-l-root .zg-l-v2-hero .zg-l-eyebrow,
.zg-l-root .zg-l-v2-section .zg-l-eyebrow {
  letter-spacing: 0;
  text-transform: none;
}

.zg-l-service-status {
  width: min(72rem, calc(100vw - 2rem));
}

.zg-l-service-status .zg-auth__service-status {
  padding: 0.8rem 1rem;
  border-radius: 1.25rem;
}

.zg-l-service-status .zg-auth__service-status-grid {
  display: none;
}

@media (max-width: 70rem) {
  .zg-l-root .zg-l-v3-preview-signals {
    position: static;
    pointer-events: auto;
  }

  .zg-l-root .zg-l-v3-preview-signals .zg-grid {
    display: grid;
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zg-l-root .zg-l-v3-preview-signal {
    position: static;
    width: 100%;
  }
}

@media (max-width: 48rem) {
  .zg-l-root .zg-l-v2-nav {
    top: 0.55rem;
    width: calc(100% - 1rem);
    margin-top: 0.55rem;
    border-radius: 1.4rem;
  }

  .zg-l-root .zg-l-v2-nav > .zg-stack {
    align-items: center;
  }

  .zg-l-root .zg-l-v2-hero {
    min-height: auto;
    padding: 6.5rem 1rem 4rem;
  }

  .zg-l-root .zg-l-v2-hero .zg-l-hero-title .zg-text-heading-1 {
    font-size: var(--zg-hero-title-size-mobile, clamp(2.75rem, 12vw, 4.1rem));
    line-height: 0.94;
  }

  .zg-l-root .zg-l-v3-workspace-stage {
    width: calc(100vw - 1.5rem);
    margin-top: 2rem;
  }

  .zg-l-root .zg-l-v3-preview-bar {
    padding-left: 1rem;
  }

  .zg-l-root .zg-l-v3-preview-bar::before,
  .zg-l-root .zg-l-v3-preview-navigation {
    display: none;
  }

  .zg-l-root .zg-l-v3-preview-status .zg-badge {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .zg-l-root .zg-l-v3-preview-brand {
    display: none;
  }

  .zg-l-root .zg-l-v3-preview-bar > .zg-stack {
    justify-content: center;
  }

  .zg-l-root .zg-l-v3-preview-body {
    min-height: 0;
  }

  .zg-l-root .zg-l-v3-preview-body > .zg-stack {
    display: block;
  }

  .zg-l-root .zg-l-v3-preview-main {
    padding: 1rem;
  }

  .zg-l-root .zg-l-v3-preview-heading > .zg-stack {
    align-items: flex-start;
  }

  .zg-l-root .zg-l-v3-preview-action {
    display: none;
  }

  .zg-l-root .zg-l-v3-preview-activity {
    padding: 0.9rem 0.8rem 0.9rem 3.35rem;
  }

  .zg-l-root .zg-l-v3-preview-activity > .zg-stack {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 0.5rem !important;
  }

  .zg-l-root .zg-l-v3-preview-activity > .zg-stack > .zeug-v2-component {
    width: 100%;
  }

  .zg-l-root .zg-l-v3-preview-activity::before {
    left: 0.75rem;
  }

  .zg-l-root .zg-l-v3-preview-activity-status .zg-badge {
    width: fit-content;
    white-space: normal;
  }

  .zg-l-root .zg-l-v3-preview-signals .zg-grid {
    grid-template-columns: 1fr;
  }

  .zg-l-root .zg-l-v2-network::before {
    inset: 8% 50%;
    width: 1px;
    height: 84%;
    background: linear-gradient(180deg, transparent, rgba(20, 99, 255, 0.42), rgba(0, 168, 198, 0.42), transparent);
  }

  .zg-l-root .zg-l-v2-use_cases .zg-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .zg-l-root .zg-l-v2-use_cases .zg-grid > .zeug-v2-component:first-child {
    grid-row: auto;
  }

  .zg-l-root .zg-l-v2-steps .zg-grid {
    border-top: 0;
    border-left: 2px solid var(--zg-border);
  }

  .zg-l-root .zg-l-v2-steps .zg-card {
    padding: 0 0 2rem 1.5rem;
  }

  .zg-l-root .zg-l-v2-steps .zg-card::before {
    top: 0.35rem;
    left: -0.42rem;
  }

  .zg-l-root .zg-l-v2-footer {
    border-radius: 16px 16px 0 0;
  }

  .zg-l-service-status .zg-auth__service-status-detail {
    max-width: 17rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zg-l-root:has(.zg-l-v2-hero) *,
  .zg-l-root:has(.zg-l-v2-hero) *::before,
  .zg-l-root:has(.zg-l-v2-hero) *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*
 * Public access visual alignment.
 * The login remains the strongest expression of the split brand world; the
 * landing reuses its official mark, calm canvas, night surface and action
 * treatment without changing the SDUI information architecture.
 */
.zg-l-root:has(.zg-l-v2-hero) {
  --zg-bg: #f7f8fb;
  --zg-bg-soft: #ffffff;
  --zg-blue: #2563eb;
  --zg-blue-soft: rgba(37, 99, 235, 0.08);
  --zg-blue-glow: rgba(37, 99, 235, 0.16);
  --zg-cyan: #2563eb;
  --zg-mint: #059669;
  --zg-orange: #526177;
  --zg-fg: #0f172a;
  --zg-fg-dim: #526177;
  --zg-fg-mute: #748196;
  --zg-muted: #526177;
  --zg-border: rgba(15, 23, 42, 0.1);
  --zg-border-strong: rgba(15, 23, 42, 0.18);
  --zg-public-night: #06172f;
  --zg-public-night-deep: #031124;
  background:
    radial-gradient(circle at 16% 8%, rgba(37, 99, 235, 0.14), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--zg-bg) 54%, #eef3f9 100%);
}

.zg-l-root .zg-l-v2-nav {
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.07),
    0 1px 2px -1px rgba(15, 23, 42, 0.08),
    0 6px 18px rgba(15, 23, 42, 0.06);
}

.zg-l-root .zg-l-nav-brand .zg-text-heading-3::before {
  width: 2rem;
  height: 2rem;
  border-radius: 19%;
  background: url("/assets/logo.svg") center / contain no-repeat;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.zg-l-root .zg-l-nav-actions .zg-button-primary,
.zg-l-root .zg-button-primary {
  background: var(--zg-blue);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.12),
    0 8px 22px rgba(37, 99, 235, 0.2);
}

.zg-l-root .zg-l-nav-actions .zg-button-primary:hover,
.zg-l-root .zg-button-primary:hover {
  background: #1d4ed8;
}

.zg-l-root .zg-l-v2-hero::before {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.92),
    rgba(37, 99, 235, 0.13) 38%,
    transparent 68%
  );
  opacity: 0.72;
}

.zg-l-root .zg-l-v2-hero::after {
  display: none;
}

.zg-l-root .zg-l-v3-workspace-stage {
  isolation: isolate;
}

.zg-l-root .zg-l-v3-workspace-stage::before {
  position: absolute;
  inset: -1.75rem -2.5rem;
  z-index: -1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 12%, rgba(37, 99, 235, 0.24), transparent 25rem),
    linear-gradient(145deg, var(--zg-public-night) 0%, var(--zg-public-night-deep) 100%);
  content: "";
}

.zg-l-root .zg-l-v3-preview-label {
  color: #b9cef8;
}

.zg-l-root .zg-l-v3-preview-window {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 56px rgba(2, 12, 27, 0.3);
}

.zg-l-root .zg-l-v2-offer-card .zg-card,
.zg-l-root .zg-l-v2-footer,
.zg-l-root .zg-l-v2-trust {
  background:
    radial-gradient(circle at 82% 10%, rgba(37, 99, 235, 0.22), transparent 24rem),
    linear-gradient(145deg, var(--zg-public-night) 0%, var(--zg-public-night-deep) 100%);
}

@media (max-width: 70rem) {
  .zg-l-root .zg-l-v3-workspace-stage::before {
    inset: -1.25rem;
  }
}

@media (max-width: 48rem) {
  .zg-l-root .zg-l-v3-workspace-stage::before {
    inset: -0.75rem;
    border-radius: 20px;
  }
}
