/**
 * RunMyCampus marketing homepage — world-class SaaS front (Stripe/Shopify tier).
 * Scoped under .marketing-home. Load only on landing; do not use in tenant/superadmin.
 * Hero headline and primary CTA use platform design tokens (design-tokens.css) per
 * CONTROL_PLANE_AND_MARKETING_UX_OVERHAUL §4 and MARKETING_FRONT_PLACEHOLDER § Design tokens.
 */
.marketing-home {
  position: relative; /* anchor for skip-link positioning */
  /* Local spacing/shape; hero/CTA colors from design-tokens.css (--color-primary-500, --focus-ring-color) */
  --mkt-bg-dark: #0F172A;
  --mkt-surface: #1E293B;
  --mkt-text: #F8FAFC;
  --mkt-text-muted: #94a3b8;
  --mkt-border: rgba(148, 163, 184, 0.2);
  --mkt-spacing-xs: 0.5rem;
  --mkt-spacing-sm: 1rem;
  --mkt-spacing-md: 1.5rem;
  --mkt-spacing-lg: 2.5rem;
  --mkt-spacing-xl: 4rem;
  --mkt-spacing-2xl: 5rem;
  --mkt-radius-sm: 8px;
  --mkt-radius-md: 12px;
  --mkt-radius-lg: 16px;
  --mkt-radius-xl: 24px;
  --mkt-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --mkt-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --mkt-shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.12);
  font-family: var(--portal-font, Inter, system-ui, sans-serif);
}

/* All primary CTAs on landing use platform design tokens (design-tokens.css) */
.marketing-home .btn-primary {
  background: var(--color-primary-500, var(--school-primary, #2563eb));
  border-color: var(--color-primary-500, var(--school-primary, #2563eb));
}
.marketing-home .btn-primary:hover {
  background: var(--color-primary-700, #1d4ed8);
  border-color: var(--color-primary-700, #1d4ed8);
}

/* Skip link (a11y) */
.marketing-home .mkt-skip-link {
  position: absolute;
  top: -3rem;
  left: var(--mkt-spacing-sm);
  z-index: 1060;
  padding: 0.5rem 1rem;
  background: #0f172a;
  color: #f8fafc;
  font-weight: 600;
  border-radius: var(--mkt-radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}
.marketing-home .mkt-skip-link:focus {
  top: var(--mkt-spacing-sm);
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* CTA focus visibility */
.marketing-home .mkt-cta-focus:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* ----- Hero ----- */
.marketing-home .mkt-hero {
  padding: var(--mkt-spacing-2xl) var(--mkt-spacing-md);
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 45%, #334155 100%);
  color: #f8fafc;
  border-radius: 0 0 var(--mkt-radius-xl) var(--mkt-radius-xl);
  position: relative;
  overflow: hidden;
}
.marketing-home .mkt-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(59, 130, 246, 0.15), transparent 50%),
              radial-gradient(ellipse 60% 40% at 20% 80%, rgba(99, 102, 241, 0.1), transparent 45%);
  pointer-events: none;
}
.marketing-home .mkt-hero-inner {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  gap: var(--mkt-spacing-lg);
  align-items: center;
}
@media (min-width: 992px) {
  .marketing-home .mkt-hero-inner {
    grid-template-columns: 1fr 1fr;
  }
}
/* Hero headline: platform typography token (design-tokens.css — THEME_CANONICAL_TOKENS; CONTROL_PLANE §4 Ultra high-end) */
.marketing-home .mkt-hero-headline {
  font-size: var(--studio-font-display, var(--mkt-type-hero, clamp(2rem, 4vw, 3.25rem)));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--mkt-spacing-sm);
  color: var(--mkt-text-inverse, #f8fafc);
}
.marketing-home .mkt-hero-subheadline {
  font-size: var(--type-body, 1.125rem);
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.92);
  margin-bottom: var(--mkt-spacing-lg);
  max-width: 42ch;
}
.marketing-home .mkt-hero-trusted {
  font-size: var(--type-micro, 0.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.75);
}
.marketing-home .mkt-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mkt-spacing-sm);
}
.marketing-home .mkt-hero-ctas .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--mkt-radius-md);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
/* Primary CTA: platform color tokens (design-tokens.css — CONTROL_PLANE §4) */
.marketing-home .mkt-hero-ctas .btn-primary {
  background: var(--color-primary-500, var(--school-primary, #2563eb));
  color: #fff;
  border: none;
}
.marketing-home .mkt-hero-ctas .btn-primary:hover {
  background: var(--color-primary-700, #1d4ed8);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--mkt-shadow-md);
}
.marketing-home .mkt-hero-ctas .btn-outline-light {
  background: transparent;
  color: #f8fafc;
  border: 2px solid rgba(248, 250, 252, 0.5);
}
.marketing-home .mkt-hero-ctas .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

/* Subtle motion: card hover (per blueprint) */
.marketing-home .mkt-module-card,
.marketing-home .mkt-pillar-card,
.marketing-home .mkt-platform-card,
.marketing-home .mkt-ecosystem-card,
.marketing-home .mkt-testimonial-card,
.marketing-home .mkt-product-viz-slide {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.marketing-home .mkt-module-card:hover,
.marketing-home .mkt-pillar-card:hover,
.marketing-home .mkt-platform-card:hover,
.marketing-home .mkt-ecosystem-card:hover,
.marketing-home .mkt-testimonial-card:hover,
.marketing-home .mkt-product-viz-slide:hover {
  transform: translateY(-2px);
}
.marketing-home .mkt-platform-card:hover,
.marketing-home .mkt-ecosystem-card:hover {
  box-shadow: var(--mkt-shadow-md);
}

/* Sticky CTA bar (appears after scroll past hero) */
.marketing-home .mkt-sticky-cta-bar {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 1018;
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.2s;
}
.marketing-home .mkt-sticky-cta-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.marketing-home .mkt-hero-visual {
  border-radius: var(--mkt-radius-lg);
  overflow: hidden;
  box-shadow: var(--mkt-shadow-lg);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.marketing-home .mkt-hero-visual img,
.marketing-home .mkt-hero-visual .mkt-hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.marketing-home .mkt-hero-visual .mkt-hero-video {
  max-height: 450px;
}

/* ----- Platform pillars (premium: depth, not flat square boxes) ----- */
.marketing-home .mkt-section-pillars {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(241, 245, 249, 0.4) 100%);
  border-radius: var(--mkt-radius-lg);
  margin-bottom: var(--mkt-spacing-md);
}
.marketing-home .mkt-pillar-card {
  background: var(--admin-content-bg, #fff);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
  border-radius: var(--mkt-radius-md);
  padding: var(--mkt-spacing-md) var(--mkt-spacing-lg);
  box-shadow: var(--mkt-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.marketing-home .mkt-pillar-card:hover {
  box-shadow: var(--mkt-shadow-md);
  transform: translateY(-2px);
}
.marketing-home .mkt-pillar-label {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--admin-content-text, #0f172a);
  letter-spacing: -0.01em;
}
.marketing-home .mkt-pillar-sub {
  font-size: 0.875rem;
  color: var(--admin-content-text-muted, #64748b);
  line-height: 1.4;
}

/* ----- Outcome metrics (premium cards, not flat boxes) ----- */
.marketing-home .mkt-section-outcomes .container {
  max-width: 100%;
}
.marketing-home .mkt-card-premium,
.marketing-home .mkt-outcome-card {
  background: var(--admin-content-bg, #fff);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
  border-radius: var(--mkt-radius-md);
  padding: var(--mkt-spacing-md) var(--mkt-spacing-lg);
  box-shadow: var(--mkt-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.marketing-home .mkt-outcome-card:hover,
.marketing-home .mkt-card-premium:hover {
  box-shadow: var(--mkt-shadow-md);
  transform: translateY(-2px);
}
.marketing-home .mkt-outcome-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--school-primary, #0B3D91);
}
.marketing-home .mkt-outcome-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.marketing-home .mkt-outcome-detail {
  font-size: 0.875rem;
  color: var(--admin-content-text-muted, #64748b);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.marketing-home .mkt-outcome-bar {
  height: 6px;
  background: var(--portal-border, rgba(15, 23, 42, 0.1));
  border-radius: 999px;
  overflow: hidden;
}
.marketing-home .mkt-outcome-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--mkt-primary), var(--mkt-secondary));
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* ----- Product visualization strip ----- */
.marketing-home .mkt-product-viz-scroll {
  display: flex;
  gap: var(--mkt-spacing-lg);
  overflow-x: auto;
  padding-bottom: var(--mkt-spacing-sm);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.marketing-home .mkt-product-viz-slide {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
}
.marketing-home .mkt-product-viz-frame {
  border-radius: var(--mkt-radius-md);
  overflow: hidden;
  background: var(--admin-content-bg, #f8fafc);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
  aspect-ratio: 16/10;
}
.marketing-home .mkt-product-viz-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Global infrastructure ----- */
.marketing-home .mkt-global-map-wrap {
  max-width: 100%;
  margin: 0 auto;
}
.marketing-home .mkt-global-map-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--mkt-radius-md);
}
.marketing-home .mkt-global-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mkt-primary, var(--school-primary, #0B3D91));
}
.marketing-home .mkt-global-stat-label {
  font-size: 0.875rem;
  color: var(--admin-content-text-muted, #64748b);
}

/* ----- Workflow diagram ----- */
.marketing-home .mkt-workflow-diagram {
  max-width: 640px;
  margin: 0 auto var(--mkt-spacing-lg);
}
.marketing-home .mkt-workflow-svg {
  width: 100%;
  height: auto;
  color: var(--admin-content-text, #334155);
}
.marketing-home .mkt-workflow-node {
  fill: var(--admin-content-bg, #f8fafc);
  stroke: var(--portal-border, rgba(15, 23, 42, 0.12));
  stroke-width: 1.5;
}
.marketing-home .mkt-workflow-label {
  font-size: 12px;
  fill: currentColor;
  font-weight: 600;
}

/* ----- Social proof / trust band ----- */
.marketing-home .mkt-trust-band {
  padding: var(--mkt-spacing-lg) var(--mkt-spacing-md);
  text-align: center;
  background: var(--admin-content-bg, #fff);
}
.marketing-home .mkt-trust-band-heading {
  font-size: var(--type-micro, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--admin-content-text-muted, #64748b);
  margin-bottom: var(--mkt-spacing-md);
  font-weight: 600;
}
.marketing-home .mkt-trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--mkt-spacing-lg);
  max-width: 100%;
  margin: 0 auto;
}
.marketing-home .mkt-trust-logo {
  height: 32px;
  opacity: 0.7;
  filter: grayscale(1);
}
.marketing-home .mkt-trust-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* ----- Section common ----- */
.marketing-home .mkt-section {
  padding: var(--mkt-spacing-section, var(--mkt-spacing-2xl)) var(--mkt-spacing-md);
  max-width: 100%;
  margin: 0 auto;
}
.marketing-home .mkt-section-heading {
  font-size: var(--type-section, clamp(1.75rem, 3vw, 2.25rem));
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--mkt-spacing-sm);
  color: var(--admin-content-text, #0f172a);
  letter-spacing: -0.01em;
}
.marketing-home .mkt-section-lead {
  font-size: var(--type-body, 1.125rem);
  color: var(--admin-content-text-muted, #64748b);
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--mkt-spacing-xl);
  line-height: 1.6;
}

/* ----- Platform overview (core modules grid) ----- */
.marketing-home .mkt-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--mkt-spacing-md);
}
.marketing-home .mkt-module-card {
  background: var(--admin-content-bg, #fff);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
  border-radius: var(--mkt-radius-lg);
  padding: var(--mkt-spacing-md);
  box-shadow: var(--mkt-shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.marketing-home .mkt-module-card:hover {
  box-shadow: var(--mkt-shadow-md);
  transform: translateY(-2px);
}
.marketing-home .mkt-module-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.marketing-home .mkt-module-card p {
  font-size: 0.9375rem;
  color: var(--admin-content-text-muted, #64748b);
  margin-bottom: var(--mkt-spacing-sm);
  line-height: 1.5;
}
.marketing-home .mkt-module-card .mkt-module-screenshot {
  border-radius: var(--mkt-radius-sm);
  overflow: hidden;
  background: #f1f5f9;
  aspect-ratio: 16/10;
}
.marketing-home .mkt-module-card .mkt-module-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Product demo ----- */
.marketing-home .mkt-product-demo {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--mkt-radius-xl);
  padding: var(--mkt-spacing-xl);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
}
.marketing-home .mkt-product-demo-visual {
  border-radius: var(--mkt-radius-lg);
  overflow: hidden;
  box-shadow: var(--mkt-shadow-lg);
  max-width: 100%;
}
.marketing-home .mkt-product-demo-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- Platform architecture (3 cards) ----- */
.marketing-home .mkt-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--mkt-spacing-md);
}
.marketing-home .mkt-platform-card {
  background: var(--admin-content-bg, #fff);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
  border-radius: var(--mkt-radius-lg);
  padding: var(--mkt-spacing-lg);
  box-shadow: var(--mkt-shadow-sm);
}
.marketing-home .mkt-platform-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.marketing-home .mkt-platform-card p {
  font-size: 0.9375rem;
  color: var(--admin-content-text-muted, #64748b);
  line-height: 1.6;
}

/* ----- Migration section ----- */
.marketing-home .mkt-migration {
  display: grid;
  gap: var(--mkt-spacing-lg);
  align-items: center;
}
@media (min-width: 768px) {
  .marketing-home .mkt-migration {
    grid-template-columns: 1fr 1fr;
  }
}
.marketing-home .mkt-migration-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.marketing-home .mkt-migration-list li {
  display: flex;
  align-items: center;
  gap: var(--mkt-spacing-sm);
  margin-bottom: var(--mkt-spacing-sm);
  font-size: 1rem;
}
.marketing-home .mkt-migration-list li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 700;
}
.marketing-home .mkt-migration-visual {
  border-radius: var(--mkt-radius-lg);
  overflow: hidden;
  box-shadow: var(--mkt-shadow-md);
}
.marketing-home .mkt-migration-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- Ecosystem / marketplace ----- */
.marketing-home .mkt-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--mkt-spacing-md);
}
.marketing-home .mkt-ecosystem-card {
  background: var(--admin-content-bg, #fff);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
  border-radius: var(--mkt-radius-md);
  padding: var(--mkt-spacing-md);
  text-align: center;
}
.marketing-home .mkt-ecosystem-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.marketing-home .mkt-ecosystem-card p {
  font-size: 0.875rem;
  color: var(--admin-content-text-muted, #64748b);
  margin: 0;
  line-height: 1.4;
}
.marketing-home .mkt-ecosystem-card-icon {
  margin-bottom: var(--mkt-spacing-sm);
}
.marketing-home .mkt-ecosystem-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* ----- AI Intelligence section ----- */
.marketing-home .mkt-ai-features {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.marketing-home .mkt-ai-features li {
  padding-left: 1.5rem;
  position: relative;
}
.marketing-home .mkt-ai-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--admin-primary, #0ea5e9);
  font-weight: 700;
}

/* ----- Testimonials ----- */
.marketing-home .mkt-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--mkt-spacing-md);
}
.marketing-home .mkt-testimonial-card {
  background: var(--admin-content-bg, #fff);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
  border-radius: var(--mkt-radius-lg);
  padding: var(--mkt-spacing-lg);
  box-shadow: var(--mkt-shadow-sm);
}
.marketing-home .mkt-testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--admin-content-text, #0f172a);
  margin-bottom: var(--mkt-spacing-sm);
}
.marketing-home .mkt-testimonial-card .mkt-testimonial-author {
  font-weight: 600;
  font-size: 0.9375rem;
}
.marketing-home .mkt-testimonial-card .mkt-testimonial-role {
  font-size: 0.875rem;
  color: var(--admin-content-text-muted, #64748b);
}
.marketing-home .mkt-video-testimonial .mkt-video-testimonial-link {
  display: block;
  position: relative;
  border-radius: var(--mkt-radius-md);
  overflow: hidden;
}
.marketing-home .mkt-video-testimonial-thumb {
  width: 100%;
  height: auto;
  display: block;
}
.marketing-home .mkt-video-testimonial-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.2);
}
.marketing-home .mkt-video-testimonial-title {
  margin-top: 0.5rem;
}
.marketing-home .mkt-testimonial-stars {
  color: #eab308;
  margin-bottom: 0.5rem;
}

/* ----- Security / compliance ----- */
.marketing-home .mkt-security-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--mkt-spacing-md);
  margin-bottom: var(--mkt-spacing-md);
}
.marketing-home .mkt-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--admin-content-bg, #fff);
  border: 1px solid var(--portal-border, rgba(15, 23, 42, 0.08));
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}
.marketing-home .mkt-security-copy {
  font-size: 0.9375rem;
  color: var(--admin-content-text-muted, #64748b);
  text-align: center;
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----- Final CTA ----- */
.marketing-home .mkt-final-cta {
  padding: var(--mkt-spacing-2xl) var(--mkt-spacing-md);
  text-align: center;
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-radius: var(--mkt-radius-xl);
}
.marketing-home .mkt-final-cta h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: var(--mkt-spacing-md);
}
.marketing-home .mkt-final-cta .mkt-hero-ctas {
  justify-content: center;
}

/* ----- Scrollytelling: day-in-the-life + data-flow linkage ----- */
.marketing-home .mkt-hero-journey .mkt-journey-steps {
  list-style: none;
  padding: 0;
  margin: var(--mkt-spacing-lg) 0 0;
  max-width: 100%;
}
.marketing-home .mkt-journey-steps li {
  padding: var(--mkt-spacing-md);
  margin-bottom: var(--mkt-spacing-sm);
  border-radius: var(--mkt-radius-lg);
  background: linear-gradient(120deg, rgba(11, 61, 145, 0.08), rgba(0, 168, 120, 0.06));
  border: 1px solid var(--mkt-border);
}
.marketing-home .mkt-journey-steps strong {
  display: block;
  color: var(--mkt-text, #0f172a);
  margin-bottom: 0.35rem;
}
.marketing-home .mkt-data-flow-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: var(--mkt-spacing-lg);
}
.marketing-home .mkt-flow-node {
  flex: 1 1 140px;
  max-width: 200px;
  padding: var(--mkt-spacing-md);
  text-align: center;
  border-radius: var(--mkt-radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--mkt-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.marketing-home .mkt-flow-node small {
  display: block;
  margin-top: 0.35rem;
  opacity: 0.85;
  font-size: 0.8rem;
}
.marketing-home .mkt-reveal.in-view .mkt-flow-node:nth-child(1) {
  transition-delay: 0s;
}
.marketing-home .mkt-reveal.in-view .mkt-flow-node:nth-child(3) {
  transition-delay: 0.12s;
}
.marketing-home .mkt-reveal.in-view .mkt-flow-node:nth-child(5) {
  transition-delay: 0.24s;
}
.marketing-home .mkt-reveal.in-view .mkt-flow-node {
  transform: translateY(0);
  box-shadow: var(--mkt-shadow-md);
}
.marketing-home .mkt-flow-arrow {
  align-self: center;
  font-size: 1.5rem;
  color: var(--mkt-secondary, #00a878);
  opacity: 0.9;
}
.marketing-home .mkt-apac-panel {
  border-radius: var(--mkt-radius-xl);
  padding: var(--mkt-spacing-lg);
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.08));
  border: 1px solid var(--mkt-border);
  max-width: 100%;
  margin: 0 auto;
}
.marketing-home .mkt-apac-panel .mkt-citation-note {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: var(--mkt-spacing-md);
}

/* Light sections: same glass recipe tokens as product light shell (hero uses dark-tint via .marketing-surface) */
.marketing-home .mkt-section:not(#hero) .rmc-glass-surface {
  --rmc-glass-bg: rgba(255, 255, 255, 0.78);
  --rmc-glass-bg-strong: rgba(255, 255, 255, 0.92);
  --rmc-glass-border: rgba(148, 163, 184, 0.22);
  --rmc-glass-border-subtle: rgba(148, 163, 184, 0.18);
  --rmc-glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
.marketing-home .mkt-section .mkt-pillar-card.rmc-glass-surface,
.marketing-home .mkt-section .mkt-platform-card.rmc-glass-surface {
  background: var(--rmc-glass-bg);
  border-color: var(--rmc-glass-border);
  box-shadow: var(--rmc-glass-shadow);
  backdrop-filter: blur(var(--rmc-glass-blur));
  -webkit-backdrop-filter: blur(var(--rmc-glass-blur));
}

/*
 * Full-bleed vs readable width
 * - Sections / grids / media strips: use full width (containers already fluid via platform-fluid-everywhere.css).
 * - Long-form copy: keep comfortable measure with .mkt-read or existing per-component ch limits:
 *   .mkt-hero-subheadline (42ch), .mkt-section-lead (60ch), .mkt-security-copy (55ch).
 */
.marketing-home .mkt-read {
  max-width: min(65ch, 100%);
  margin-left: auto;
  margin-right: auto;
}
