/* Benevolate — Framer-style + teal accents + section backgrounds */

:root {
  --bg: #faf8ef;
  --bg-subtle: #f3f0e6;
  --white: #ffffff;
  --text: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border: #e8e4d8;
  --blue: #4fa0ea;
  --teal: #37c6a0;
  --ink: #111827;
  --cream: #faf8ef;
  --blue-soft: rgba(79, 160, 234, 0.1);
  --teal-soft: rgba(55, 198, 160, 0.12);
  --blue-glow: rgba(79, 160, 234, 0.24);
  --teal-glow: rgba(55, 198, 160, 0.22);
  --gradient-brand: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  --shadow-sm: 0 2px 24px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 12px 48px rgba(17, 24, 39, 0.07);
  --shadow-lg: 0 24px 80px rgba(79, 160, 234, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --max: 1200px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-bg: rgba(250, 248, 239, 0.92);
  --nav-bg-scrolled: rgba(250, 248, 239, 0.98);
  --pattern-dot: rgba(17, 24, 39, 0.07);
  --pattern-line: rgba(17, 24, 39, 0.04);
  --surface-muted: rgba(240, 240, 240, 0.8);
  --color-scheme: light;
}

html[data-theme="dark"],
html[data-theme="dark"] body,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1419;
  --bg-subtle: #171d26;
  --white: #1a222d;
  --text: #faf8ef;
  --text-secondary: #c5cbd6;
  --text-muted: #8b93a1;
  --border: #2a3341;
  --blue: #4fa0ea;
  --teal: #37c6a0;
  --ink: #111827;
  --cream: #faf8ef;
  --blue-soft: rgba(79, 160, 234, 0.16);
  --teal-soft: rgba(55, 198, 160, 0.16);
  --blue-glow: rgba(79, 160, 234, 0.28);
  --teal-glow: rgba(55, 198, 160, 0.24);
  --shadow-sm: 0 2px 24px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.45);
  --nav-bg: rgba(15, 20, 25, 0.92);
  --nav-bg-scrolled: rgba(15, 20, 25, 0.98);
  --pattern-dot: rgba(250, 248, 239, 0.08);
  --pattern-line: rgba(250, 248, 239, 0.05);
  --surface-muted: rgba(255, 255, 255, 0.04);
  --color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.smooth-scroll-active { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 80px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; position: relative; z-index: 2; }

/* ── Background patterns & blobs ── */
.section { padding: 96px 0; position: relative; overflow: hidden; }

.section-bg-dots {
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--pattern-dot) 1px, transparent 1px);
  background-size: 22px 22px;
}
.section-bg-grid {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--pattern-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pattern-line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.section-bg-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: blob-drift 14s ease-in-out infinite;
}
.section-bg-blobs--strong .blob { opacity: 0.7; filter: blur(90px); }

.blob-blue { background: var(--blue-glow); }
.blob-pink { background: rgba(219, 39, 119, 0.35); }
.blob-teal { background: var(--teal-glow); }
.blob-1 { width: 420px; height: 420px; top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; bottom: -100px; left: -60px; animation-delay: -4s; }
.blob-3 { width: 300px; height: 300px; top: 40%; left: 50%; transform: translateX(-50%); animation-delay: -7s; }
.blob-hero-1 { width: 500px; height: 500px; top: -150px; left: -100px; opacity: 0.45; }
.blob-hero-2 { width: 450px; height: 450px; bottom: 10%; right: -120px; animation-delay: -5s; opacity: 0.4; }

@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -24px) scale(1.05); }
  66% { transform: translate(-16px, 16px) scale(0.97); }
}

/* ── Scroll reveal (inline boot in site-foot.ejs + critical CSS in head) ── */
.reveal,
.animate-on-scroll,
.feature-card,
.benefit-card,
.ai-card,
.testimonial,
.quote-scroll-illustration,
.section-label,
.section-title,
.section-sub,
.hero-sub,
.hero-trust,
.hero-actions,
.hero-dashboard,
.section-body > p,
.cta-panel .section-title,
.cta-panel .section-sub,
.cta-panel .btn,
.cta-panel .logo,
.cta-support span,
.mod-card,
.mod-bento__large,
.mod-bento__cell,
.mod-timeline__item,
.mod-zigzag,
.mod-pill,
.mod-feature-list__item,
.mod-minimal-row,
.mod-related-card,
.mod-cta,
.mod-showcase,
.mod-split-block {
  will-change: opacity, transform;
}

.reveal.is-visible,
.animate-on-scroll.is-visible,
.feature-card.is-visible,
.benefit-card.is-visible,
.ai-card.is-visible,
.testimonial.is-visible {
  pointer-events: auto;
}

.feature-card:hover,
.benefit-card:hover,
.testimonial:hover {
  transform: translateY(-4px);
}

/* ── Hero float load animation (icons only) ── */
.hero-float {
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-float:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px) scale(0.88);
}
.hero-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ai-response:not(.is-visible) {
  opacity: 0;
  transform: translateY(12px);
}
.ai-response.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.quote-scroll-author:not(.is-visible) {
  opacity: 0;
  transform: translateY(8px);
}
.quote-scroll-author.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .animate-on-scroll,
  .feature-card,
  .benefit-card,
  .ai-card,
  .testimonial,
  .quote-scroll-illustration,
  .section-label,
  .section-title,
  .section-sub,
  .hero-sub,
  .hero-trust,
  .hero-actions,
  .hero-dashboard,
  .section-body > p,
  .hero-float,
  .ai-response,
  .quote-scroll-author {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
  }
  .scroll-quote-word { color: var(--text) !important; }
  .blob, .hero-float { animation: none !important; }
}

/* ── Scroll-driven quote section ── */
.quote-scroll-section {
  padding: 0;
  background: var(--ink);
  color: var(--cream);
}
.quote-scroll-section .blob { display: none; }
.quote-scroll-track {
  height: 240vh;
  position: relative;
}
.quote-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 2;
  background: var(--ink);
}
.quote-scroll-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.quote-scroll-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  background: #1f2937;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.quote-scroll-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.img-placeholder--cartoon {
  width: 100%;
  min-height: 380px;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  background: var(--bg-subtle);
  border: 2px dashed var(--border);
}
.img-placeholder--cartoon::after {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
}
.quote-scroll-block {
  margin: 0;
  padding: 0;
  border: none;
}
.quote-scroll-text {
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--cream);
}
.scroll-quote-word {
  color: rgba(250, 248, 239, 0.28);
  transition: color 0.12s linear;
}
.quote-scroll-author {
  font-size: 17px;
  font-weight: 500;
  color: rgba(250, 248, 239, 0.55);
}
.quote-scroll-author.is-visible {
  color: var(--cream);
}

/* ── Navbar (old site structure, new styling) ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease), background var(--ease);
}
.navbar.scrolled {
  background: var(--nav-bg-scrolled);
  box-shadow: var(--shadow-md);
}
.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar .logo-image {
  height: 28px;
  width: auto;
}
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 100px;
  transition: color var(--ease), background var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navbar-link:hover,
.navbar-link.is-active {
  color: var(--text);
  background: rgba(55, 198, 160, 0.08);
}
.navbar-dropdown { position: relative; }
.dropdown-trigger i { font-size: 11px; transition: transform var(--ease); }
.navbar-dropdown:hover .dropdown-trigger i,
.navbar-dropdown.is-open .dropdown-trigger i { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  z-index: 1100;
}
/* Invisible hover bridge so the cursor can reach the menu without closing it */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.navbar-dropdown:hover .dropdown-menu,
.navbar-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-menu {
  min-width: min(920px, calc(100vw - 48px));
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding: 24px;
}
.navbar-dropdown:hover .mega-menu,
.navbar-dropdown.is-open .mega-menu {
  transform: translateX(-50%) translateY(0);
}
.mega-menu-content { display: flex; flex-direction: column; gap: 24px; }
.mega-menu-section h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-menu-section h4 i { color: var(--blue); }
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}
.mega-menu .dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all var(--ease);
}
.mega-menu .dropdown-link:hover {
  color: var(--text);
  background: var(--teal-soft);
  border-color: rgba(55, 198, 160, 0.15);
  transform: translateY(-1px);
}
.mega-menu .dropdown-link i {
  width: 16px;
  color: var(--blue);
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-nav { padding: 10px 18px; font-size: 14px; }
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.hamburger-line {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
.navbar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.navbar-overlay.active { display: block; opacity: 1; }

/* ── Module pages (per-module gradients & layouts) ── */
.module-page {
  --mod-gradient: linear-gradient(135deg, #4fa0ea 0%, #37c6a0 100%);
  --mod-accent: #4fa0ea;
  --mod-accent-alt: #37c6a0;
  --mod-glow-a: rgba(79, 160, 234, 0.4);
  --mod-glow-b: rgba(55, 198, 160, 0.35);
  --mod-surface: #eef6ff;
}

.mod-section { padding: 88px 0; position: relative; overflow: hidden; }
.mod-section--white { background: var(--white); }
.mod-section--surface { background: var(--mod-surface); }
.mod-section--grid {
  background: var(--bg);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.mod-section--tinted { background: var(--mod-surface); }
.mod-section--gradient-band {
  background: var(--mod-gradient);
  color: white;
  text-align: center;
  padding: 64px 0;
}
.mod-section--related { background: var(--bg); }
.mod-section--cta { background: var(--white); }

.mod-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.mod-blob--a { width: 420px; height: 420px; background: var(--mod-glow-a); top: -80px; left: -60px; }
.mod-blob--b { width: 360px; height: 360px; background: var(--mod-glow-b); bottom: -60px; right: -40px; }
.mod-blob--subtle { opacity: 0.55; }

.mod-hero { position: relative; overflow: hidden; }
.mod-hero--splash,
.mod-hero--stat {
  background: var(--mod-gradient);
  color: white;
  padding: 56px 0 72px;
  text-align: center;
}
.mod-hero--light,
.mod-hero--timeline,
.mod-hero--minimal,
.mod-hero--compact,
.mod-hero--aura {
  padding: 48px 0 56px;
  background: var(--white);
}
.mod-hero--bordered { border-bottom: 1px solid var(--border); text-align: center; padding: 56px 0; }
.mod-hero--aura { background: var(--mod-surface); text-align: center; }
.mod-hero--narrow { text-align: center; }
.mod-hero__inner { position: relative; z-index: 2; }
.mod-hero__inner--left { text-align: left; }

.mod-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 16px;
}
.mod-eyebrow--accent { color: var(--mod-accent); opacity: 1; }
.mod-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mod-accent);
  margin-bottom: 12px;
}

.mod-hero__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.mod-hero--splash .mod-hero__icon,
.mod-hero--stat .mod-hero__icon { background: rgba(255, 255, 255, 0.22); color: white; }
.mod-hero__icon--sm { width: 64px; height: 64px; font-size: 26px; margin-bottom: 16px; }
.mod-hero__icon--outline {
  margin: 0 0 20px;
  background: var(--mod-surface);
  color: var(--mod-accent);
  border: 2px solid color-mix(in srgb, var(--mod-accent) 25%, transparent);
}

.mod-hero__title {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 16px;
}
.mod-hero__title--dark { color: var(--text); }
.mod-hero__title--gradient {
  background: var(--mod-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mod-hero__title--xl { font-size: clamp(42px, 6vw, 72px); }

.mod-hero__sub {
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 28px;
  opacity: 0.92;
}
.mod-hero--splash .mod-hero__sub,
.mod-hero--stat .mod-hero__sub { color: rgba(255, 255, 255, 0.92); }
.mod-hero__sub--dark { color: var(--text-secondary); opacity: 1; margin-left: 0; margin-right: 0; }

.mod-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.mod-hero-split__copy .mod-hero__actions { justify-content: flex-start; }

.mod-btn {
  background: var(--mod-gradient) !important;
  border: none;
  color: white !important;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--mod-accent) 35%, transparent);
}
.mod-hero--splash .mod-btn,
.mod-hero--stat .mod-btn { background: white !important; color: var(--mod-accent) !important; }
.mod-btn-ghost {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.mod-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.mod-gradient-card {
  border-radius: var(--radius-2xl);
  background: var(--mod-gradient);
  padding: 32px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px color-mix(in srgb, var(--mod-accent) 28%, transparent);
}
.mod-gradient-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.mod-gradient-card__img {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 72%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.mod-stats, .mod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.mod-stat, .mod-chip {
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.mod-chips .mod-chip {
  background: var(--white);
  color: var(--mod-accent);
  border: 1px solid color-mix(in srgb, var(--mod-accent) 20%, transparent);
}

.mod-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.mod-aura--1 { width: 280px; height: 280px; background: var(--mod-glow-a); top: 10%; left: 15%; }
.mod-aura--2 { width: 220px; height: 220px; background: var(--mod-glow-b); top: 20%; right: 10%; }
.mod-aura--3 { width: 180px; height: 180px; background: var(--mod-glow-a); bottom: 10%; left: 40%; opacity: 0.7; }

.mod-section-head { margin-bottom: 40px; }
.mod-section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 8px 0 0; }

.mod-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.mod-showcase--center { text-align: center; grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.mod-showcase--reverse { direction: rtl; }
.mod-showcase--reverse > * { direction: ltr; }
.mod-showcase__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--mod-accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--mod-accent) 12%, transparent);
}
.mod-showcase__frame--glow { box-shadow: 0 24px 80px var(--mod-glow-a); }
.mod-showcase__img { width: 100%; display: block; border-radius: var(--radius-xl); }
.mod-showcase__img--wide { max-width: 100%; }
.mod-showcase__copy h2 { font-size: 32px; letter-spacing: -0.03em; margin: 0 0 12px; }
.mod-showcase__copy p { color: var(--text-secondary); font-size: 17px; }

.mod-split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.mod-split-block__text h2 { font-size: 32px; letter-spacing: -0.03em; margin-bottom: 12px; }
.mod-split-block__text p { color: var(--text-secondary); margin-bottom: 20px; }
.mod-split-block__features { display: flex; flex-direction: column; gap: 16px; }

.mod-pill {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mod-pill i { color: var(--mod-accent); font-size: 20px; margin-top: 2px; }
.mod-pill strong { display: block; margin-bottom: 4px; }
.mod-pill span { font-size: 14px; color: var(--text-secondary); }

.mod-lead { font-size: 20px; color: var(--text-secondary); line-height: 1.6; }

.mod-cards { display: grid; gap: 20px; }
.mod-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mod-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mod-cards--stack { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; }
.mod-cards--glass .mod-card--glass { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(8px); }

.mod-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--ease-spring), box-shadow var(--ease);
}
.mod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mod-card--outline { border-color: color-mix(in srgb, var(--mod-accent) 18%, var(--border)); }
.mod-card--horizontal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.mod-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mod-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.mod-card--horizontal .mod-card__icon { margin-bottom: 0; }
.mod-card h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.02em; }
.mod-card p { color: var(--text-secondary); font-size: 15px; margin: 0; }

.mod-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.mod-bento__large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: var(--mod-gradient);
  color: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.mod-bento__large h3, .mod-bento__cell h3 { margin: 0 0 8px; font-size: 20px; }
.mod-bento__large p, .mod-bento__cell p { opacity: 0.9; font-size: 15px; margin: 0; }
.mod-bento__cell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.mod-bento__icon { font-size: 22px; margin-bottom: 12px; opacity: 0.95; }
.mod-bento__large .mod-bento__icon { color: white; }
.mod-bento__cell .mod-bento__icon { color: var(--mod-accent); }
.mod-bento__img {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 55%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.mod-band-inner h2, .mod-band-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; letter-spacing: -0.03em; }
.mod-band-sub { opacity: 0.92; max-width: 640px; margin: 0 auto; font-size: 18px; }
.mod-section--gradient-band .mod-btn { background: white !important; color: var(--mod-accent) !important; margin-top: 20px; }

.mod-timeline-wrap { max-width: 760px; margin: 0 auto; }
.mod-timeline-intro { text-align: center; margin-bottom: 48px; }
.mod-timeline-intro h2 { font-size: 32px; margin-bottom: 12px; }
.mod-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 3px solid;
  border-image: var(--mod-gradient) 1;
}
.mod-timeline__item {
  position: relative;
  padding: 0 0 36px 28px;
}
.mod-timeline__dot {
  position: absolute;
  left: -42px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mod-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 16px var(--mod-glow-a);
}
.mod-timeline__body h3 { margin: 0 0 6px; font-size: 20px; }
.mod-timeline__body p { color: var(--text-secondary); margin: 0; }

.mod-zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}
.mod-zigzag--reverse { direction: rtl; }
.mod-zigzag--reverse > * { direction: ltr; }
.mod-zigzag__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--mod-accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.mod-zigzag__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--mod-surface);
  color: var(--mod-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.mod-zigzag__panel {
  min-height: 200px;
  border-radius: var(--radius-xl);
  background: var(--mod-gradient);
  opacity: 0.85;
  box-shadow: 0 16px 48px var(--mod-glow-a);
}

.mod-feature-list { list-style: none; margin: 0; padding: 0; max-width: 800px; margin-inline: auto; }
.mod-feature-list__item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.mod-feature-list__item:last-child { border-bottom: none; }
.mod-feature-list__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--mod-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mod-minimal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.mod-minimal-grid__copy h2 { font-size: 32px; margin-bottom: 12px; }
.mod-minimal-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.mod-minimal-row strong { display: block; font-size: 18px; margin-bottom: 6px; color: var(--mod-accent); }
.mod-minimal-row p { color: var(--text-secondary); margin: 0; font-size: 15px; }

.mod-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mod-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
  position: relative;
  transition: transform var(--ease-spring), box-shadow var(--ease);
}
.mod-related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mod-related-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-gradient, var(--mod-gradient));
}
.mod-related-card h3 { font-size: 17px; margin: 8px 0; }
.mod-related-card h3 i { color: var(--mod-accent); margin-right: 6px; }
.mod-related-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }

.mod-cta {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-2xl);
  background: var(--mod-gradient);
  color: white;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 64px var(--mod-glow-a);
}
.mod-cta h2 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 12px; }
.mod-cta p { opacity: 0.92; max-width: 520px; margin: 0 auto 24px; }
.mod-cta .mod-btn { background: white !important; color: var(--mod-accent) !important; }

@media (max-width: 900px) {
  .mod-hero-split,
  .mod-showcase,
  .mod-split-block,
  .mod-minimal-grid,
  .mod-zigzag,
  .mod-cards--4,
  .mod-cards--2,
  .mod-related-grid { grid-template-columns: 1fr; }
  .mod-bento { grid-template-columns: 1fr; }
  .mod-bento__large { grid-column: auto; grid-row: auto; min-height: 220px; }
  .mod-showcase--reverse { direction: ltr; }
  .mod-zigzag--reverse { direction: ltr; }
}

/* ── Generic page layouts (non-module) ── */
.page-main { min-height: 60vh; }
.page-hero {
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
}
.page-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 16px 0;
  font-weight: 700;
}
.page-hero__sub {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--text-secondary);
}

.feature-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.feature-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pricing-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
}
.pricing-list li { margin-bottom: 8px; }

/* ── Pricing page ── */
.pricing-hero__body {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.pricing-spend-table {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-spend-table__head,
.pricing-spend-table__row,
.pricing-spend-table__total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-spend-table__head {
  font-weight: 600;
  background: var(--bg-subtle);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.pricing-spend-table__row span:last-child,
.pricing-spend-table__total span:last-child {
  font-weight: 600;
  text-align: right;
}
.pricing-spend-table__total {
  border-bottom: none;
  background: linear-gradient(135deg, var(--blue-soft), var(--teal-soft));
  font-size: 18px;
  font-weight: 700;
}
.pricing-compare-arrow {
  text-align: center;
  font-size: 32px;
  color: var(--teal);
  margin: 28px 0;
  line-height: 1;
}
.pricing-benevolate-pitch {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px;
  background: var(--white);
  border: 2px solid rgba(55, 198, 160, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.pricing-benevolate-pitch h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-benevolate-pitch p {
  margin: 4px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
}
.pricing-calc-grid,
.pricing-builder {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.pricing-calc-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pricing-check,
.pricing-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pricing-check:hover,
.pricing-radio:hover { border-color: var(--teal); }
.pricing-check input,
.pricing-radio input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.pricing-check:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.pricing-radio:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.pricing-check--core { opacity: 0.85; }
.pricing-calc-results,
.pricing-builder__right {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.pricing-stat {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-stat:last-child { border-bottom: none; }
.pricing-stat__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.pricing-stat__value {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.pricing-stat--highlight .pricing-stat__value {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-included {
  max-width: 900px;
  margin: 0 auto 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.pricing-included__header h3 {
  font-size: 28px;
  margin: 0 0 8px;
}
.pricing-included__header p {
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.pricing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing-feature-grid li {
  font-size: 14px;
  font-weight: 500;
  padding-left: 22px;
  position: relative;
}
.pricing-feature-grid li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 12px;
}
.pricing-module-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.pricing-module-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.pricing-module-col h4 {
  font-size: 16px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-module-col h4 i { color: var(--blue); }
.pricing-module-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pricing-module-col li {
  font-size: 14px;
  padding: 6px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.pricing-module-col li:last-child { border-bottom: none; }
.pricing-impl-tagline {
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.pricing-impl-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  max-width: 960px;
  margin-inline: auto;
}
.pricing-impl-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
}
.pricing-impl-list li::before {
  content: "✅ ";
}
.pricing-timeline__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  max-width: 900px;
  margin: 0 auto;
}
.pricing-timeline__step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  text-align: center;
  min-width: 120px;
}
.pricing-timeline__step--final {
  background: var(--gradient-brand);
  color: white;
  border: none;
  font-weight: 700;
}
.pricing-timeline__week {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pricing-timeline__step--final .pricing-timeline__week { color: rgba(255,255,255,0.8); }
.pricing-timeline__label { font-weight: 600; font-size: 15px; }
.pricing-timeline__arrow {
  color: var(--teal);
  font-size: 20px;
  font-weight: 700;
}
.pricing-outcome-table {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.pricing-outcome-table__head,
.pricing-outcome-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-outcome-table__head {
  font-weight: 700;
  background: var(--bg-subtle);
}
.pricing-outcome-table__row span:last-child {
  color: var(--teal);
  font-weight: 600;
}
.pricing-outcome-table__row:last-child { border-bottom: none; }
.pricing-roi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.pricing-roi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
}
.pricing-roi-card__value {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.pricing-roi-card__label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.pricing-builder__left fieldset {
  border: none;
  margin: 0 0 24px;
  padding: 0;
}
.pricing-builder__left legend {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.pricing-builder__org {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pricing-builder__modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pricing-builder__modules .pricing-check[data-org] { display: none; }
.pricing-builder__modules .pricing-check[data-org].is-visible { display: flex; }
.pricing-builder__included {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.pricing-builder__included li {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  color: var(--text-secondary);
}
.pricing-faq {
  max-width: 760px;
  margin: 0 auto;
}
.pricing-faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  overflow: hidden;
}
.pricing-faq__item summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.pricing-faq__item summary::-webkit-details-marker { display: none; }
.pricing-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-size: 20px;
}
.pricing-faq__item[open] summary::after { content: "−"; }
.pricing-faq__item p {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .pricing-calc-grid,
  .pricing-builder { grid-template-columns: 1fr; }
  .pricing-calc-results,
  .pricing-builder__right { position: static; }
  .pricing-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-module-cols { grid-template-columns: 1fr; }
  .pricing-impl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-roi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pricing-calc-checkboxes,
  .pricing-builder__modules { grid-template-columns: 1fr; }
  .pricing-impl-list { grid-template-columns: 1fr; }
  .pricing-timeline__arrow { display: none; }
  .pricing-timeline__track { flex-direction: column; }
}

.demo-form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* ── Get Demo (Google Calendar embed) ── */
.demo-page__hero { padding-bottom: 32px; }
.demo-page__calendar {
  width: 100%;
  padding: 0 0 48px;
  background: var(--bg);
}
.demo-calendar-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.demo-calendar-embed {
  display: block;
  width: 100%;
  height: 980px;
  min-height: 980px;
  border: 0;
  background: var(--white);
  overflow: hidden;
}

.demo-calendar-fallback {
  margin: 16px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.demo-calendar-fallback a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.demo-calendar-fallback a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .demo-calendar-embed {
    height: 920px;
    min-height: 920px;
  }
}

/* ── Forms page ── */
.forms-hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.forms-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.forms-hero-chips span {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: var(--teal-soft);
  color: var(--teal);
}
.forms-hero-visual .img-placeholder--forms-hero {
  min-height: 380px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.forms-demo-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.forms-demo-builder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.forms-demo-builder__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.forms-demo-builder__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}
.forms-demo-builder__chrome em {
  margin-left: auto;
  font-size: 12px;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 600;
}
.forms-demo-builder__canvas {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
}
.forms-demo-block {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font: inherit;
  text-align: left;
  cursor: default;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.forms-demo-block.is-on-form {
  border-style: solid;
  border-color: var(--teal);
  background: var(--teal-soft);
}
.forms-demo-block__grip { color: var(--text-muted); font-size: 12px; }
.forms-demo-block__label { font-weight: 600; font-size: 14px; }
.forms-demo-block__preview {
  width: 72px;
  height: 28px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border);
}
.forms-demo-block__preview--payment { background: linear-gradient(135deg, var(--blue-soft), var(--teal-soft)); }
.forms-demo-submit {
  display: block;
  margin: 0 16px 16px;
  width: calc(100% - 32px);
  text-align: center;
  box-sizing: border-box;
  opacity: 0.55;
}
.forms-demo-submit.is-on { opacity: 1; }

.forms-demo-flow {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.forms-demo-flow__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.forms-demo-flow__header p {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}
.forms-demo-flow__header p.is-live { color: var(--teal); }
.forms-demo-flow__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.forms-demo-flow__pulse.is-live {
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(55, 198, 160, 0.25);
  animation: forms-pulse 1.2s ease infinite;
}
@keyframes forms-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(55, 198, 160, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(55, 198, 160, 0.05); }
}
.img-placeholder--forms-flow {
  min-height: 140px;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}
.forms-demo-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.forms-demo-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-muted);
  opacity: 0.35;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.forms-demo-step i { font-size: 11px; }
.forms-demo-step.is-active {
  opacity: 1;
  transform: scale(1);
  background: var(--teal-soft);
  color: var(--teal);
}

.forms-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.forms-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.forms-tab:hover { border-color: var(--teal); }
.forms-tab.is-active {
  background: var(--gradient-brand);
  color: white;
  border-color: transparent;
}
.forms-org-tagline {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 28px;
}
.forms-org-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 24px;
  align-items: start;
}
.forms-org-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.forms-org-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.forms-org-card i {
  grid-row: span 2;
  align-self: center;
  font-size: 18px;
  color: var(--blue);
}
.forms-org-card strong { font-size: 14px; }
.forms-org-card span { font-size: 12px; color: var(--text-muted); }
.forms-org-card:hover { border-color: var(--teal); transform: translateX(3px); }
.forms-org-card.is-active {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  background: var(--teal-soft);
}
.forms-org-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.img-placeholder--forms-case {
  min-height: 220px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}
.forms-org-detail__body { padding: 24px; }
.forms-org-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.forms-org-detail__title { margin: 0 0 8px; font-size: 22px; }
.forms-org-detail__tag { margin: 0 0 16px; color: var(--text-secondary); }
.forms-org-detail__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.forms-org-detail__chips span {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-subtle);
}

.forms-cap-spotlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.forms-cap-rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}
.forms-cap-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.forms-cap-tile i { color: var(--blue); width: 18px; text-align: center; }
.forms-cap-tile:hover { border-color: var(--teal); }
.forms-cap-tile.is-active {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.forms-cap-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.img-placeholder--forms-cap {
  min-height: 260px;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.forms-cap-feature__text { padding: 24px; }
.forms-cap-feature__icon {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.forms-cap-feature__text h3 { margin: 0 0 8px; font-size: 24px; }
.forms-cap-feature__text p { margin: 0; color: var(--text-secondary); font-size: 16px; }

.forms-compare-flip { max-width: 720px; margin: 0 auto; }
.forms-compare-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}
.forms-compare-nav span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.forms-compare-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.forms-compare-arrow:hover { border-color: var(--teal); background: var(--teal-soft); }
.forms-compare-cards { position: relative; min-height: 140px; }
.forms-compare-card {
  display: none;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  animation: forms-fade-in 0.35s ease;
}
.forms-compare-card.is-active { display: grid; }
@keyframes forms-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.forms-compare-card__col p { margin: 8px 0 0; font-size: 16px; font-weight: 600; }
.forms-compare-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
}
.forms-compare-card__col--new p { color: var(--teal); }
.forms-compare-card__arrow { font-size: 24px; color: var(--teal); font-weight: 700; }
.forms-compare-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.forms-compare-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.forms-compare-dot.is-active { background: var(--teal); transform: scale(1.25); }

.forms-cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.img-placeholder--forms-cta {
  min-height: 240px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.forms-org-detail.is-updating .img-placeholder--forms-case {
  animation: forms-fade-in 0.35s ease;
}

.forms-org-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.forms-org-col {
  padding: 18px 18px 12px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
}
.forms-org-col header {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.forms-org-col header i { color: var(--blue); margin-right: 6px; }
.forms-org-col header b { font-size: 16px; }
.forms-org-col header p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}
.forms-org-col ul { list-style: none; margin: 0; padding: 0; }
.forms-org-col li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.forms-org-col li:first-child { border-top: 0; padding-top: 0; }
.forms-org-col strong { display: block; font-size: 13px; }
.forms-org-col span { display: block; margin-top: 2px; color: var(--text-muted); font-size: 12px; }

.forms-need {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.forms-need article {
  padding: 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
}
.forms-need i { color: var(--blue); font-size: 16px; }
.forms-need h3 { margin: 8px 0 4px; font-size: 15px; }
.forms-need p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.45; }

@media (max-width: 960px) {
  .forms-org-board,
  .forms-need { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .forms-org-board,
  .forms-need { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .forms-hero-split,
  .forms-demo-stage,
  .forms-org-layout,
  .forms-cap-spotlight,
  .forms-cta-split { grid-template-columns: 1fr; }
  .forms-cap-rail {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
  }
  .forms-cap-tile { flex: 1 1 calc(50% - 6px); }
}

/* ── Shared product pages (events, future modules) ── */
.product-hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.product-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.product-hero-chips span {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: var(--teal-soft);
  color: var(--teal);
}
.events-page .product-hero-chips span {
  background: rgba(219, 39, 119, 0.12);
  color: #be185d;
}
.product-hero-visual .img-placeholder--product-hero {
  min-height: 380px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}
.product-demo-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.product-demo-builder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.product-demo-builder__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.product-demo-builder__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}
.product-demo-builder__chrome em {
  margin-left: auto;
  font-size: 12px;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 600;
}
.product-demo-builder__canvas {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 280px;
}
.product-demo-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.product-demo-option i { color: var(--blue); width: 18px; text-align: center; }
.product-demo-option:hover { border-color: var(--teal); transform: translateX(2px); }
.product-demo-option.is-on {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.product-demo-option__toggle {
  width: 36px;
  height: 20px;
  border-radius: 100px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.product-demo-option__toggle::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.product-demo-option.is-on .product-demo-option__toggle {
  background: var(--teal);
}
.product-demo-option.is-on .product-demo-option__toggle::after {
  transform: translateX(16px);
}
.product-demo-publish { margin: 0 16px 16px; width: calc(100% - 32px); }
.product-demo-tagline { margin-top: 28px; font-weight: 600; }
.product-demo-flow {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.product-demo-flow__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.product-demo-flow__header p {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}
.product-demo-flow__header p.is-live { color: var(--teal); }
.product-demo-flow__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.product-demo-flow__pulse.is-live {
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(55, 198, 160, 0.25);
  animation: product-pulse 1.2s ease infinite;
}
@keyframes product-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(55, 198, 160, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(55, 198, 160, 0.05); }
}
.img-placeholder--product-flow {
  min-height: 140px;
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}
.product-demo-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-demo-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-muted);
  opacity: 0.35;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.product-demo-step i { font-size: 11px; }
.product-demo-step.is-active {
  opacity: 1;
  transform: scale(1);
  background: var(--teal-soft);
  color: var(--teal);
}
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.product-tab:hover { border-color: var(--teal); }
.product-tab.is-active {
  background: var(--gradient-brand);
  color: white;
  border-color: transparent;
}
.product-org-tagline {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 0 28px;
}
.product-org-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 24px;
  align-items: start;
}
.product-org-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-org-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.product-org-card i {
  grid-row: span 2;
  align-self: center;
  font-size: 18px;
  color: var(--blue);
}
.product-org-card strong { font-size: 14px; }
.product-org-card span { font-size: 12px; color: var(--text-muted); }
.product-org-card:hover { border-color: var(--teal); transform: translateX(3px); }
.product-org-card.is-active {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  background: var(--teal-soft);
}
.product-org-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.img-placeholder--product-case {
  min-height: 220px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}
.product-org-detail__body { padding: 24px; }
.product-org-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.product-org-detail__title { margin: 0 0 8px; font-size: 22px; }
.product-org-detail__tag { margin: 0 0 16px; color: var(--text-secondary); }
.product-org-detail__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.product-org-detail__chips span {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-subtle);
}
.product-org-detail.is-updating .img-placeholder--product-case {
  animation: product-fade-in 0.35s ease;
}
.product-cap-spotlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.product-cap-rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}
.product-cap-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.product-cap-tile i { color: var(--blue); width: 18px; text-align: center; }
.product-cap-tile:hover { border-color: var(--teal); }
.product-cap-tile.is-active {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.product-cap-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.img-placeholder--product-cap {
  min-height: 260px;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.product-cap-feature__text { padding: 24px; }
.product-cap-feature__icon {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.product-cap-feature__text h3 { margin: 0 0 8px; font-size: 24px; }
.product-cap-feature__text p { margin: 0; color: var(--text-secondary); font-size: 16px; }
.product-compare-flip { max-width: 720px; margin: 0 auto; }
.product-compare-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}
.product-compare-nav span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.product-compare-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.product-compare-arrow:hover { border-color: var(--teal); background: var(--teal-soft); }
.product-compare-cards { position: relative; min-height: 140px; }
.product-compare-card {
  display: none;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  animation: product-fade-in 0.35s ease;
}
.product-compare-card.is-active { display: grid; }
@keyframes product-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-compare-card__col p { margin: 8px 0 0; font-size: 16px; font-weight: 600; }
.product-compare-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
}
.product-compare-card__col--new p { color: var(--teal); }
.product-compare-card__arrow { font-size: 24px; color: var(--teal); font-weight: 700; }
.product-compare-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.product-compare-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.product-compare-dot.is-active { background: var(--teal); transform: scale(1.25); }
.product-cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.img-placeholder--product-cta {
  min-height: 240px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
@media (max-width: 960px) {
  .product-hero-split,
  .product-demo-stage,
  .product-org-layout,
  .product-cap-spotlight,
  .product-cta-split { grid-template-columns: 1fr; }
  .product-cap-rail {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
  }
  .product-cap-tile { flex: 1 1 calc(50% - 6px); }
}

/* ── Events page (unique layout & interactions) ── */
.events-page {
  --events-accent: #D8845C;
  --events-accent-alt: #F0A857;
  --events-accent-dark: #B86A42;
  --events-gradient: linear-gradient(135deg, #D8845C 0%, #F0A857 100%);
  --events-soft: rgba(216, 132, 92, 0.12);
  --events-glow: rgba(216, 132, 92, 0.35);
}
.blob-events { background: var(--events-glow); }
.blob-events-alt { background: rgba(240, 168, 87, 0.3); }
.events-page .forms-tab:hover { border-color: var(--events-accent); }
.events-page .forms-tab.is-active {
  background: var(--events-gradient);
  color: white;
  border-color: transparent;
}
.events-page .btn-primary.events-btn,
.events-page .events-sim-play,
.events-page .events-unify__btn,
.events-page .events-case-play {
  background: var(--events-gradient);
  border-color: transparent;
}
.events-page .btn-primary.events-btn:hover,
.events-page .events-sim-play:hover,
.events-page .events-unify__btn:hover,
.events-page .events-case-play:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 20px var(--events-glow);
}
.events-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.events-hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(216, 132, 92, 0.08);
  border: 1px solid rgba(216, 132, 92, 0.2);
  font-size: 14px;
  font-weight: 600;
  color: var(--events-accent-dark);
}
.events-hero-ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--events-accent);
  animation: events-ticker-pulse 1.4s ease infinite;
}
@keyframes events-ticker-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.events-hero-stage {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}
.events-ticket {
  position: absolute;
  width: 200px;
  padding: 16px 16px 16px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  animation: events-ticket-float 6s ease-in-out infinite;
}
.events-ticket__stub {
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 6px;
  border-radius: 3px;
  background: var(--events-gradient);
}
.events-ticket strong { display: block; font-size: 15px; margin-bottom: 4px; }
.events-ticket em { font-size: 12px; color: var(--text-muted); font-style: normal; }
.events-ticket--1 { top: 8%; left: 5%; animation-delay: 0s; transform: rotate(-6deg); }
.events-ticket--2 { top: 38%; right: 0; animation-delay: -2s; transform: rotate(4deg); z-index: 2; }
.events-ticket--3 { bottom: 6%; left: 18%; animation-delay: -4s; transform: rotate(-2deg); }
@keyframes events-ticket-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, -6deg)); }
  50% { transform: translateY(-12px) rotate(var(--r, -6deg)); }
}
.events-ticket--2 { --r: 4deg; }
.events-ticket--3 { --r: -2deg; }
.events-hero-qr {
  position: absolute;
  bottom: 20%;
  right: 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px;
  background: var(--white);
  border-radius: 14px;
  border: 2px solid var(--events-accent);
  box-shadow: 0 0 0 6px rgba(216, 132, 92, 0.2);
  animation: events-qr-glow 2s ease infinite;
}
.events-hero-qr i { font-size: 32px; color: var(--events-accent); }
.events-hero-qr span { font-size: 11px; font-weight: 700; color: var(--events-accent); text-transform: uppercase; letter-spacing: 0.04em; }
@keyframes events-qr-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(216, 132, 92, 0.25); }
  50% { box-shadow: 0 0 0 12px rgba(216, 132, 92, 0.06); }
}

/* Lifecycle simulator */
.events-sim {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.events-sim__phases {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 20px;
  gap: 4px;
}
.events-sim-phase__track {
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  z-index: 0;
}
.events-sim-phase__track::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: var(--events-gradient);
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.events-sim-phase {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  flex: 1;
  transition: transform 0.2s ease;
}
.events-sim-phase:hover { transform: translateY(-2px); }
.events-sim-phase__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-subtle);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all 0.35s ease;
}
.events-sim-phase.is-active .events-sim-phase__icon,
.events-sim-phase.is-done .events-sim-phase__icon {
  background: var(--events-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 14px rgba(216, 132, 92, 0.35);
}
.events-sim-phase__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.events-sim-phase.is-active .events-sim-phase__label { color: var(--events-accent-dark); }
.events-sim__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 0 4px;
}
.events-sim-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--events-gradient);
  color: white;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.events-sim-play:hover { transform: scale(1.06); box-shadow: 0 4px 16px rgba(216, 132, 92, 0.4); }
.events-sim-play.is-playing i::before { content: "\f04c"; }
.events-sim-scrubber {
  flex: 1;
  accent-color: var(--events-accent);
  height: 6px;
  cursor: pointer;
}
.events-sim-phase-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--events-accent-dark);
  min-width: 72px;
  text-align: right;
}
.events-sim__stage {
  position: relative;
  min-height: 320px;
  margin-bottom: 24px;
}
.events-sim-scene {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
  animation: events-scene-in 0.45s ease;
}
.events-sim-scene.is-active { display: grid; }
@keyframes events-scene-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
.events-sim-scene__copy h3 { margin: 0 0 8px; font-size: 22px; }
.events-sim-scene__copy p { margin: 0; color: var(--text-secondary); font-size: 16px; line-height: 1.5; }
.events-sim-scene__viz {
  background: var(--bg-subtle);
  border-radius: var(--radius-xl);
  padding: 20px;
  min-height: 220px;
  display: grid;
  place-items: center;
}
.events-sim-metrics {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.events-sim-metric { text-align: center; flex: 1; }
.events-sim-metric__val {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--events-accent-dark);
  font-variant-numeric: tabular-nums;
}
.events-sim-metric__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Viz: calendar */
.events-viz-calendar { width: 100%; }
.events-viz-calendar__header { font-weight: 700; margin-bottom: 10px; text-align: center; }
.events-viz-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}
.events-viz-cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-muted);
}
.events-viz-cal-day.is-event {
  background: rgba(216, 132, 92, 0.15);
  color: var(--events-accent-dark);
}
.events-viz-cal-day.is-pulse {
  animation: events-cal-pulse 1.5s ease infinite;
}
@keyframes events-cal-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 132, 92, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(216, 132, 92, 0); }
}
.events-viz-facility {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.events-viz-facility span {
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.events-viz-facility span.is-booked {
  background: var(--events-soft);
  border-color: var(--events-accent);
  color: var(--events-accent-dark);
}

/* Viz: promote */
.events-viz-page { width: 100%; max-width: 260px; margin: 0 auto; }
.events-viz-page__bar {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}
.events-viz-page__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}
.events-viz-page__hero {
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
  margin-bottom: 10px;
}
.events-viz-page__cta {
  padding: 10px;
  border-radius: 8px;
  background: var(--events-gradient);
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.events-viz-page__pulse {
  margin-top: 12px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.events-viz-page__pulse::after {
  content: "";
  display: block;
  height: 100%;
  width: 30%;
  background: var(--events-accent);
  animation: events-page-pulse 1.8s ease infinite;
}
@keyframes events-page-pulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* Viz: register */
.events-viz-register { width: 100%; text-align: center; }
.events-viz-counter {
  font-size: 48px;
  font-weight: 800;
  color: var(--events-accent-dark);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.events-viz-register__stream {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 80px;
  overflow: hidden;
}
.events-viz-reg-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  animation: events-reg-slide 0.4s ease;
}
@keyframes events-reg-slide {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.events-viz-reg-row i { color: var(--events-accent); }

/* Viz: check-in */
.events-viz-checkin {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.events-viz-scanner {
  position: relative;
  width: 100px;
  height: 100px;
  border: 2px solid var(--events-accent);
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.events-viz-scanner i { font-size: 40px; color: var(--events-accent); opacity: 0.7; }
.events-viz-scanner__beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--events-accent);
  box-shadow: 0 0 12px var(--events-accent);
  animation: events-scan-beam 2s ease-in-out infinite;
}
@keyframes events-scan-beam {
  0%, 100% { top: 10%; }
  50% { top: 85%; }
}
.events-viz-checkin__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.events-viz-checkin__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--white);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  animation: events-reg-slide 0.35s ease;
}
.events-viz-checkin__list li i { color: var(--events-accent); }

/* Viz: report */
.events-viz-report { width: 100%; }
.events-viz-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 100px;
  margin-bottom: 12px;
}
.events-viz-bar {
  flex: 1;
  height: var(--h, 50%);
  background: var(--events-gradient);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  transform-origin: bottom;
  animation: events-bar-grow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transform: scaleY(0);
}
.events-sim-scene.is-active .events-viz-bar { animation-delay: calc(var(--i, 0) * 0.1s); }
.events-viz-bar span { font-size: 10px; font-weight: 700; color: white; }
@keyframes events-bar-grow {
  to { transform: scaleY(1); }
}
.events-viz-revenue {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--events-accent-dark);
}

.events-sim__config { border-top: 1px solid var(--border); padding-top: 20px; }
.events-sim__config-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.events-config-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.events-config-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.events-config-chip:hover { border-color: var(--events-accent); }
.events-config-chip.is-on {
  background: rgba(216, 132, 92, 0.1);
  border-color: var(--events-accent);
  color: var(--events-accent-dark);
  transform: scale(1.03);
}
.events-config-chip.is-boosted {
  animation: events-chip-boost 0.5s ease;
}
@keyframes events-chip-boost {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 132, 92, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(216, 132, 92, 0); }
}

/* Org calendar wall */
.events-cal-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 24px;
  align-items: start;
}
.events-calendar-wall__month {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.events-calendar-wall__month header {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}
.events-calendar-wall__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}
.events-calendar-wall__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.events-cal-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  border: none;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.events-cal-cell.is-empty { pointer-events: none; }
.events-cal-cell:hover:not(.is-empty) { background: var(--bg-subtle); }
.events-cal-cell.has-event { color: var(--events-accent-dark); }
.events-cal-cell.has-event:hover { background: rgba(216, 132, 92, 0.1); }
.events-cal-cell.is-selected {
  background: var(--events-gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(216, 132, 92, 0.35);
}
.events-cal-cell__dot {
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--events-accent);
}
.events-cal-cell.is-selected .events-cal-cell__dot { background: white; }

.events-type-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 6px;
}
.events-type-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.events-type-card__icon {
  grid-row: span 2;
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--events-soft);
  color: var(--events-accent);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.events-type-card__body strong { display: block; font-size: 15px; margin-bottom: 2px; }
.events-type-card__body span { font-size: 13px; color: var(--text-muted); }
.events-type-card__stat {
  grid-row: span 2;
  align-self: center;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--events-soft);
  color: var(--events-accent-dark);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.events-type-card__chips {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.events-type-card__chips em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}
.events-type-card:hover { border-color: var(--events-accent); transform: translateX(4px); }
.events-type-card.is-active {
  border-color: var(--events-accent);
  background: var(--events-soft);
  box-shadow: var(--shadow-sm);
}
.events-type-card.is-pulse { animation: events-card-pulse 0.45s ease; }
@keyframes events-card-pulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 132, 92, 0.45); }
  100% { box-shadow: 0 0 0 10px rgba(216, 132, 92, 0); }
}

/* Connected modules */
.events-module-flow {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.events-module-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
}
.events-module-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  min-width: 88px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.events-module-step__num {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 10px;
  display: grid;
  place-items: center;
}
.events-module-step i { font-size: 18px; color: var(--events-accent); }
.events-module-step:hover { border-color: var(--events-accent); transform: translateY(-2px); }
.events-module-step.is-active {
  border-color: var(--events-accent);
  background: var(--events-soft);
  box-shadow: 0 4px 16px var(--events-glow);
}
.events-module-step.is-active .events-module-step__num {
  background: var(--events-gradient);
  color: white;
}
.events-module-connector {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--events-accent), var(--events-accent-alt));
  flex-shrink: 0;
}
.events-module-detail {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-subtle);
}
.events-module-detail.is-updating { animation: events-module-pop 0.4s ease; }
@keyframes events-module-pop {
  0% { opacity: 0.6; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
.events-module-detail__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--events-soft);
  color: var(--events-accent-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.events-module-detail i {
  font-size: 36px;
  color: var(--events-accent);
  margin-bottom: 12px;
  display: block;
}
.events-module-detail h3 { margin: 0 0 10px; font-size: 22px; }
.events-module-detail p { margin: 0 0 16px; color: var(--text-secondary); line-height: 1.5; }
.events-module-detail__link {
  font-weight: 700;
  color: var(--events-accent-dark);
  text-decoration: none;
}
.events-module-detail__link:hover { text-decoration: underline; }

/* Big Z case study */
.events-case-study {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.events-case-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.events-case-col--after {
  border-color: var(--events-accent);
  box-shadow: 0 8px 32px var(--events-glow);
}
.events-case-col__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.events-case-col p { margin: 0; color: var(--text-secondary); line-height: 1.5; }
.events-case-col__story {
  margin: 0;
  color: var(--text-primary, var(--bv-ink));
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.4;
}
.events-case-amount {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.events-case-amount--muted { color: var(--text-muted); }
.events-case-amount--live { color: var(--events-accent-dark); font-size: 48px; }
.events-case-tools {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.events-case-tools li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 600;
  color: var(--text-secondary);
}
.events-case-tools li i { color: #dc2626; }
.events-case-tools--good li i { color: var(--events-accent); }
.events-case-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--events-accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.events-case-arrow i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--events-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.events-case-highlight {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}
.events-case-live__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--events-accent-dark);
}
.events-case-live__time {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}
.events-case-total {
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--events-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.events-case-total strong { font-size: 22px; color: var(--events-accent-dark); }
.events-case-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.events-case-study.is-animated .events-case-amount--live span {
  animation: events-live-flash 0.3s ease 2;
}
@keyframes events-live-flash {
  50% { color: var(--events-accent-alt); }
}

/* Platform unify */
.events-unify {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.events-unify__stack {
  position: relative;
  height: 280px;
  margin-bottom: 24px;
}
.events-unify-card {
  position: absolute;
  left: 50%;
  top: calc(var(--stack-i) * 36px);
  transform: translateX(-50%);
  width: min(100%, 340px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.events-unify-card i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-subtle);
  display: grid;
  place-items: center;
  color: var(--text-muted);
}
.events-unify.is-merged .events-unify-card {
  top: 50%;
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) scale(0.6);
  pointer-events: none;
}
.events-unify__btn { margin-bottom: 24px; }
.events-unify__btn i { margin-right: 8px; }
.events-unify.is-merged .events-unify__btn { display: none; }
.events-unify__result { animation: events-unify-in 0.6s ease; }
@keyframes events-unify-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.events-unify-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--events-gradient);
  color: white;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 8px 32px rgba(216, 132, 92, 0.35);
}
.events-unify__result p {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}
.events-unify-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.events-unify-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0;
  animation: events-check-in 0.4s ease forwards;
}
.events-unify-checklist li:nth-child(1) { animation-delay: 0.1s; }
.events-unify-checklist li:nth-child(2) { animation-delay: 0.2s; }
.events-unify-checklist li:nth-child(3) { animation-delay: 0.3s; }
.events-unify-checklist li:nth-child(4) { animation-delay: 0.4s; }
.events-unify-checklist li:nth-child(5) { animation-delay: 0.5s; }
.events-unify-checklist li i { color: var(--events-accent); }
@keyframes events-check-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Outcomes */
.events-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.events-outcome {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}
.events-outcome__stat {
  flex-shrink: 0;
  text-align: center;
  min-width: 72px;
}
.events-outcome__num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--events-accent-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.events-outcome__stat em {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  font-style: normal;
}
.events-outcome__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(216, 132, 92, 0.1);
  color: var(--events-accent);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.events-outcome h4 { margin: 0 0 6px; font-size: 16px; }
.events-outcome p { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.45; }

/* CTA */
.events-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.events-cta-countdown {
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  text-align: center;
}
.events-cta-countdown__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
  margin-bottom: 12px;
}
.events-cta-countdown__digits {
  display: flex;
  gap: 20px;
}
.events-cta-countdown__digits span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.events-cta-countdown__digits strong {
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.events-cta-countdown__digits em {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.7;
  font-style: normal;
}

@media (max-width: 960px) {
  .events-hero-grid,
  .events-sim-scene,
  .events-cal-layout,
  .events-case-study,
  .events-cta { grid-template-columns: 1fr; }
  .events-hero-stage { min-height: 280px; margin-top: 24px; }
  .events-sim__phases { flex-wrap: wrap; justify-content: center; }
  .events-sim-phase__track { display: none; }
  .events-sim-metrics { flex-wrap: wrap; }
  .events-module-rail { gap: 8px; }
  .events-module-connector { display: none; }
  .events-case-arrow { flex-direction: row; padding: 12px 0; }
}

/* ── Religious School page ── */
.rschool-page {
  --school-accent: #D8A14A;
  --school-accent-alt: #E7A24A;
  --school-accent-dark: #B8862E;
  --school-gradient: linear-gradient(135deg, #D8A14A 0%, #E7A24A 100%);
  --school-soft: rgba(216, 161, 74, 0.14);
  --school-glow: rgba(216, 161, 74, 0.35);
}
.rschool-page--preschool {
  --school-accent: #D8A14A;
  --school-accent-alt: #E7A24A;
  --school-accent-dark: #B8862E;
  --school-gradient: linear-gradient(135deg, #D8A14A 0%, #E7A24A 100%);
  --school-soft: rgba(216, 161, 74, 0.14);
  --school-glow: rgba(231, 162, 74, 0.35);
}
.blob-school { background: var(--school-glow); }
.blob-school-alt { background: rgba(79, 160, 234, 0.22); }
.rschool-page .forms-tab:hover { border-color: var(--school-accent); }
.rschool-page .forms-tab.is-active {
  background: var(--school-gradient);
  color: white;
  border-color: transparent;
}
.rschool-page .btn-primary.rschool-btn {
  background: var(--school-gradient);
  border-color: transparent;
}
.rschool-page .btn-primary.rschool-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 20px var(--school-glow);
}
.rschool-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.rschool-hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--school-soft);
  border: 1px solid rgba(13, 148, 136, 0.2);
  font-size: 14px;
  font-weight: 600;
  color: var(--school-accent-dark);
}
.rschool-hero-ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--school-accent);
  animation: rschool-ticker-pulse 1.4s ease infinite;
}
@keyframes rschool-ticker-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.rschool-hero-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}
.rschool-file {
  position: absolute;
  width: 170px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: rschool-file-float 5.5s ease-in-out infinite;
}
.rschool-file i {
  font-size: 24px;
  color: var(--school-accent);
  margin-bottom: 8px;
  display: block;
}
.rschool-file strong { display: block; font-size: 14px; }
.rschool-file em { font-size: 12px; color: var(--text-muted); font-style: normal; }
.rschool-file--1 { top: 10%; left: 8%; --r: -5deg; }
.rschool-file--2 { top: 40%; right: 4%; --r: 4deg; animation-delay: -1.8s; z-index: 2; }
.rschool-file--3 { bottom: 8%; left: 20%; --r: -2deg; animation-delay: -3.6s; }
@keyframes rschool-file-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
.rschool-hero-badge {
  position: absolute;
  bottom: 22%;
  right: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px;
  background: var(--white);
  border-radius: 14px;
  border: 2px solid var(--school-accent);
  box-shadow: 0 0 0 6px rgba(13, 148, 136, 0.15);
}
.rschool-hero-badge i { font-size: 28px; color: var(--school-accent); }
.rschool-hero-badge span {
  font-size: 10px;
  font-weight: 700;
  color: var(--school-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Journey */
.rschool-journey {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 18px;
  align-items: stretch;
  max-width: 780px;
  margin-inline: auto;
}
.rschool-reg-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.rschool-reg-panel__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.rschool-reg-panel__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}
.rschool-reg-panel__chrome em {
  margin-left: auto;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
}
.rschool-reg-fields {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rschool-reg-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.rschool-reg-field i {
  color: var(--school-accent);
  margin-top: 2px;
  width: 18px;
  text-align: center;
}
.rschool-reg-field__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.rschool-reg-field__value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.25em;
}
.rschool-reg-field.is-filled {
  border-color: var(--school-accent);
  background: var(--school-soft);
}
.rschool-reg-actions { display: none; }
.rschool-reg-fields { padding-bottom: 8px; }
.rschool-reg-status {
  margin: 0;
  padding: 12px 16px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.rschool-reg-status.is-live { color: var(--school-accent-dark); }

.rschool-path-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.rschool-path-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.rschool-path-header p {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}
.rschool-path-traveler {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--school-gradient);
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.rschool-path-traveler.is-moving {
  animation: rschool-traveler-bounce 0.5s ease infinite;
}
@keyframes rschool-traveler-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.rschool-path {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}
.rschool-path-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
  position: relative;
}
.rschool-path-node:nth-child(4n+1) { grid-column: 1; }
.rschool-path-node:nth-child(4n+3) { grid-column: 2; }
.rschool-path-connector {
  display: none;
}
.rschool-path-node__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.rschool-path-node i {
  font-size: 12px;
  width: 16px;
  text-align: center;
  color: var(--school-accent);
}
.rschool-path-node.is-active {
  opacity: 1;
  background: var(--school-soft);
  color: var(--school-accent-dark);
}
.rschool-path-node.is-active .rschool-path-node__dot {
  background: var(--school-accent);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.25);
}
.rschool-path-node.is-done {
  opacity: 0.85;
  color: var(--text-secondary);
}
.rschool-path-node.is-done .rschool-path-node__dot {
  background: var(--school-accent);
}
/* Program features */
.rschool-program-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: 24px;
  align-items: start;
}
.rschool-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
}
.rschool-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.rschool-feature-card i {
  grid-row: span 2;
  align-self: center;
  font-size: 18px;
  color: var(--school-accent);
}
.rschool-feature-card strong { font-size: 14px; }
.rschool-feature-card span { font-size: 12px; color: var(--text-muted); }
.rschool-feature-card:hover { border-color: var(--school-accent); transform: translateX(3px); }
.rschool-feature-card.is-active {
  border-color: var(--school-accent);
  background: var(--school-soft);
  box-shadow: var(--shadow-sm);
}
.rschool-feature-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.rschool-feature-detail.is-updating { animation: rschool-detail-pop 0.35s ease; }
@keyframes rschool-detail-pop {
  0% { transform: scale(0.98); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}
.rschool-feature-detail__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--school-soft);
  color: var(--school-accent);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.rschool-feature-detail__title { margin: 0 0 8px; font-size: 24px; }
.rschool-feature-detail__tag { margin: 0 0 16px; color: var(--text-secondary); }
.rschool-feature-detail__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.rschool-feature-detail__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-weight: 600;
  color: var(--text-secondary);
}
.rschool-feature-detail__list li i { color: var(--school-accent); font-size: 12px; }
.img-placeholder--rschool-detail {
  min-height: 160px;
  border-radius: var(--radius-lg);
}

/* Compare */
.rschool-compare {
  max-width: 720px;
  margin: 0 auto;
}
.rschool-compare__meter {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.rschool-compare__meter-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.rschool-compare__meter-label strong { color: var(--school-accent-dark); }
.rschool-compare__meter-track {
  position: relative;
  height: 12px;
  background: var(--bg-subtle);
  border-radius: 100px;
  margin-bottom: 16px;
  overflow: hidden;
}
.rschool-compare__meter-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.rschool-compare__meter-fill--old {
  background: #94a3b8;
  z-index: 1;
}
.rschool-compare__meter-fill--new {
  background: var(--school-gradient);
  z-index: 2;
  opacity: 0;
}
.rschool-compare.is-benevolate .rschool-compare__meter-fill--old { opacity: 0.25; }
.rschool-compare.is-benevolate .rschool-compare__meter-fill--new { opacity: 1; }
.rschool-compare__list { display: flex; flex-direction: column; gap: 8px; }
.rschool-compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.rschool-compare-row.is-flipped {
  background: var(--school-soft);
  border-color: var(--school-accent);
}
.rschool-compare-row__old { color: var(--text-muted); }
.rschool-compare-row__old i { color: #dc2626; margin-right: 8px; }
.rschool-compare-row__new { color: var(--school-accent-dark); opacity: 0.35; }
.rschool-compare-row__new i { color: var(--school-accent); margin-right: 8px; }
.rschool-compare-row.is-flipped .rschool-compare-row__old { opacity: 0.35; }
.rschool-compare-row.is-flipped .rschool-compare-row__new { opacity: 1; }
.rschool-compare-row__arrow { color: var(--school-accent); font-weight: 700; }

/* Outcomes */
.rschool-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.rschool-outcome {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.rschool-outcome__stat {
  flex-shrink: 0;
  text-align: center;
  min-width: 72px;
}
.rschool-outcome__num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--school-accent-dark);
  line-height: 1;
}
.rschool-outcome__stat em {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: normal;
}
.rschool-outcome__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--school-soft);
  color: var(--school-accent);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.rschool-outcome h4 { margin: 0 0 6px; font-size: 16px; }
.rschool-outcome p { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.45; }

/* CTA */
.rschool-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.rschool-cta-year {
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  text-align: center;
}
.rschool-cta-year__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 16px;
}
.rschool-cta-year__stats {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.rschool-cta-year__stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rschool-cta-year__stats strong {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.rschool-cta-year__stats em {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.75;
  font-style: normal;
}

@media (max-width: 960px) {
  .rschool-hero-grid,
  .rschool-journey,
  .rschool-program-layout,
  .rschool-cta { grid-template-columns: 1fr; }
  .rschool-hero-stage { min-height: 280px; margin-top: 24px; }
  .rschool-path { grid-template-columns: 1fr; }
  .rschool-path-node { grid-column: 1 !important; }
  .rschool-reg-actions { flex-direction: column; }
}

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}
.form-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.form-error {
  color: #dc2626;
  font-size: 14px;
  margin: 8px 0 0;
}
.demo-success { text-align: center; padding: 24px 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.logo-img--lg { height: 36px; }
.logo--center { display: inline-flex; }

@media (max-width: 900px) {
  .mega-menu {
    min-width: calc(100vw - 32px);
    left: 0;
    transform: translateY(6px);
  }
  .navbar-dropdown:hover .mega-menu,
  .navbar-dropdown.is-open .mega-menu { transform: translateY(0); }
  .pricing-cards { grid-template-columns: 1fr; }
}

@media (max-width: 810px) {
  .mobile-menu-toggle { display: flex; }
  .navbar-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    z-index: 999;
  }
  .navbar-menu.active { transform: translateX(0); }
  .navbar-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 8px 0 0 12px;
    display: none;
  }
  .navbar-dropdown.mobile-open .dropdown-menu { display: block; }
  .mega-menu { min-width: 0; padding: 0; }
  .navbar-link,
  .btn-nav { width: 100%; justify-content: flex-start; }
  .theme-toggle { align-self: flex-start; }
}

/* ── Legacy header (unused) ── */

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 100px;
  font-family: var(--font); font-size: 15px; font-weight: 500;
  border: none; cursor: pointer;
  transition: transform var(--ease-spring), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient-brand);
  color: white;
  box-shadow: 0 4px 20px rgba(79, 160, 234, 0.28);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(55, 198, 160, 0.35); }
.btn-secondary {
  background: var(--white); color: var(--text);
  border: 1px solid var(--border); border-radius: 100px;
}
.btn-ghost { background: transparent; color: var(--text-secondary); padding: 12px 16px; border-radius: 100px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ── Hero ── */
.hero {
  padding: 68px 0 0;
  text-align: center;
  position: relative;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-badge,
.hero h1,
.hero-sub,
.hero-actions,
.hero-trust,
.hero-dashboard {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--blue-soft), var(--teal-soft));
  border: 1px solid rgba(55, 198, 160, 0.22);
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: var(--teal);
  margin-bottom: 28px;
}
.hero-badge-avatars { display: flex; }
.hero-badge-avatars img {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--white); margin-left: -8px;
}
.hero-badge-avatars img:first-child { margin-left: 0; }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.1;
  margin: 0 auto 24px; max-width: 820px;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--text-secondary);
  max-width: 640px; margin: 0 auto 32px; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 20px; }
.hero-trust { font-size: 14px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }
.hero-stage {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: min(108%, 1120px);
  height: 320px;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-float {
  position: absolute; width: 64px; height: 64px;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center; padding: 10px;
  color: var(--teal);
  font-size: 24px;
}
html[data-theme="dark"] .hero-float {
  background: color-mix(in srgb, var(--bg-subtle) 92%, transparent);
  border-color: var(--border);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.hero-float i { line-height: 1; }
html.js-animate .hero-float.is-visible {
  animation: hero-float 5s ease-in-out infinite;
}
.hero-float img { width: 100%; height: 100%; object-fit: contain; }
.hero-float--tl { top: 8px; left: -1%; animation-delay: 0s; color: var(--teal); }
.hero-float--bl { top: 168px; left: 6%; animation-delay: -1.5s; color: var(--blue); }
.hero-float--tr { top: 32px; right: -1%; animation-delay: -3s; color: var(--blue); }
.hero-float--br { top: 152px; right: 6%; animation-delay: -2s; color: var(--teal); }
@keyframes hero-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}
.hero-dashboard {
  position: relative;
  margin-top: 32px;
  margin-inline: auto;
  width: min(100%, 960px);
  overflow: hidden;
  /* Show roughly the top 60% of the dashboard screenshot */
  aspect-ratio: 2880 / 941;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  background: transparent;
  box-shadow: none;
}
.hero-dashboard::before {
  content: "";
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 85%; height: 140px;
  background: radial-gradient(ellipse, var(--teal-glow), var(--blue-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-dashboard img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.hero-dashboard .img-placeholder--hero { position: relative; z-index: 1; }

/* ── Typography ── */
.section-label {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: var(--teal-soft);
  border-radius: 100px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.15;
  margin: 0 0 16px;
}
.section-sub {
  font-size: 18px; color: var(--text-secondary);
  max-width: 640px; margin: 0 0 32px; line-height: 1.55;
}
.section-sub--center { margin-inline: auto; text-align: center; }
.section-header--center { text-align: center; margin-bottom: 48px; }
.section-header--center .section-sub { margin-bottom: 0; }
.section-body { color: var(--text-secondary); line-height: 1.7; }
.section-body p { margin: 0 0 16px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease-spring), box-shadow var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); }
.card h3, .card h4 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.card p { margin: 0; font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.pain-grid .card { padding: 18px 22px; font-size: 14px; font-weight: 500; border-radius: var(--radius); }

.problem-visual {
  position: relative; height: 400px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.messy-card {
  position: absolute; padding: 12px 18px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; font-weight: 500;
  color: var(--text-secondary); box-shadow: var(--shadow-sm);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.unified-hub {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; transform: scale(0.88);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-spring);
}
.unified-hub.visible { opacity: 1; transform: scale(1); }
.unified-hub span {
  padding: 22px 36px;
  background: var(--gradient-brand);
  color: white; border-radius: var(--radius-xl);
  font-size: 18px; font-weight: 600;
  box-shadow: 0 16px 48px rgba(55, 198, 160, 0.3);
}

.system-pin {
  position: relative; height: 420px; margin: 48px 0;
  display: grid; place-items: center;
}
.system-center {
  width: 104px; height: 104px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(55, 198, 160, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center; z-index: 2;
}
.system-center .logo-icon { width: 36px; height: 36px; border-radius: 10px; }
.system-center { padding: 16px; }
.system-card {
  position: absolute; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; font-weight: 500;
  white-space: nowrap; box-shadow: var(--shadow-sm);
  transition: all 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.system-card.module {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: #008f82;
}
.system-card.external { color: var(--text-muted); background: var(--bg-subtle); }

.quote-block {
  padding: 36px;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
}
.quote-text {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500; line-height: 1.5; letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.quote-author { font-size: 14px; color: var(--text-secondary); }
.quote-word { display: inline; }

/* ── Image placeholders ── */
.img-placeholder {
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-muted);
}
.img-placeholder--hero {
  width: min(100%, 960px);
  margin: 0 auto;
  min-height: 320px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  box-shadow: var(--shadow-lg);
  border-bottom: none;
}
.img-placeholder--float {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}
.img-placeholder--float::after { width: 20px; height: 20px; border-radius: 6px; }
.img-placeholder--chat {
  min-height: 220px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-bottom: none;
  background: var(--bg-subtle);
}

/* ── Framer-style feature cards (2×2) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.feature-card {
  background: var(--bg-subtle);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--ease-spring), box-shadow var(--ease), opacity var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card__visual {
  min-height: 220px;
  border-radius: 0;
  border: none;
  border-bottom: 1px dashed var(--border);
  background: var(--surface-muted);
  overflow: hidden;
  position: relative;
}
.feature-card__visual::after { width: 56px; height: 56px; border-radius: 14px; }
.feature-card__visual img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}
.feature-card__visual.img-placeholder::after { content: ''; }
.product-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}
.events-hero-shot,
.rschool-hero-shot {
  max-width: 100%;
  border-radius: 20px;
}
.ai-chat__shot {
  margin-bottom: 16px;
  border-radius: 14px;
}
.feature-card__body {
  padding: 28px 28px 32px;
}
.feature-card__body h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text);
}
.feature-card__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ── Framer-style benefit cards (3×2) ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.benefits-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease-spring), box-shadow var(--ease), opacity var(--ease);
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.benefit-card__icon svg { width: 22px; height: 22px; }
.benefit-card h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.benefit-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.benefit-card.testimonial p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.benefit-card.testimonial strong { font-size: 14px; }

.system-logo { display: block; opacity: 0.9; }

.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.ai-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  transition: opacity var(--ease), transform var(--ease), border-color var(--ease);
}
.ai-card.is-visible:hover { border-color: rgba(79, 160, 234, 0.3); }
.ai-card h4 { font-size: 14px; font-weight: 600; margin: 0 0 6px; line-height: 1.4; }
.ai-card p { font-size: 13px; color: var(--text-secondary); margin: 0; }
.ai-chat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ai-chat__body { padding: 24px 28px 28px; }
.ai-chat__prompt {
  padding: 14px 18px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  font-size: 14px;
  margin: 0 0 12px;
  min-height: 48px;
}
.ai-chat__prompt .cursor,
.ai-prompt .cursor {
  display: inline-block; width: 2px; height: 16px;
  background: var(--teal); animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
.ai-prompt {
  padding: 16px 20px; background: var(--bg);
  border-radius: var(--radius-lg); font-size: 14px;
  margin-bottom: 12px; min-height: 52px;
}
@keyframes blink { 50% { opacity: 0; } }
.ai-response {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--blue-soft), var(--teal-soft));
  border: 1px solid rgba(55, 198, 160, 0.15);
  border-radius: var(--radius-lg);
  font-size: 14px; line-height: 1.6;
}
.ai-response strong { color: var(--teal); font-weight: 600; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.compare-col { padding: 32px; border-radius: var(--radius-xl); border: 1px solid var(--border); }
.compare-col.other { background: var(--surface-muted); border-radius: var(--radius-xl); }
.compare-col.benevolate {
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 12px 48px rgba(55, 198, 160, 0.12);
}
.compare-col h3 { font-size: 16px; font-weight: 600; margin: 0 0 20px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li {
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-secondary);
}
.compare-col li:last-child { border-bottom: none; }

.cta-panel {
  padding: 60px 48px;
  background: var(--white);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(55, 198, 160, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  text-align: center; position: relative; overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, var(--teal-glow), transparent 50%),
              radial-gradient(ellipse at 70% 80%, var(--blue-glow), transparent 50%);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-support { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 24px; }
.cta-support span { font-size: 13px; color: var(--text-secondary); }

.site-footer {
  padding: 72px 0 32px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-grid h4 { font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { font-size: 14px; color: var(--text-secondary); transition: color var(--ease); }
.footer-grid a:hover { color: var(--teal); }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; max-width: 300px; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  text-align: center; font-size: 14px; color: var(--text-muted);
}

@media (max-width: 1024px) {
  .grid-2, .ai-grid, .compare { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .benefits-grid, .benefits-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 809px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .grid-3, .benefits-grid, .benefits-grid--compact { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .blob-1, .blob-2 { width: 280px; height: 280px; }
  .hero-stage {
    top: 48px;
    width: 100%;
    height: 260px;
  }
  .hero-float { width: 52px; height: 52px; }
  .hero-float--tl { top: 0; left: 0; }
  .hero-float--tr { top: 16px; right: 0; }
  .hero-float--bl { top: 120px; left: 4%; }
  .hero-float--br { top: 108px; right: 4%; }
  .quote-scroll-layout { grid-template-columns: 1fr; }
  .quote-scroll-track { height: 200vh; }
  .img-placeholder--cartoon { min-height: 280px; max-width: 240px; margin: 0 auto; }
}

/* ── Partners directory ── */
.partners-directory { padding-top: 48px; }
.partners-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.partners-search {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
}
.partners-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.partners-search input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  font: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.partners-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.partners-filters { margin-bottom: 0; }
.partners-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.partners-meta__hint { color: var(--text-secondary); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.partner-card {
  text-align: left;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: transform var(--ease), border-color 0.2s ease, box-shadow var(--ease);
}
.partner-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--partner-accent, var(--blue)) 35%, var(--border));
  box-shadow: var(--shadow-md);
}
.partner-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.partner-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(145deg, var(--partner-accent, var(--blue)), color-mix(in srgb, var(--partner-accent, var(--blue)) 55%, #0a0a0a));
}
.partner-card__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  line-height: 1.25;
}
.partner-card__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--partner-accent, var(--blue));
}
.partner-card__summary {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.partner-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
.partner-card__cta {
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.partners-empty {
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  background: var(--white);
}
.partners-empty[hidden] { display: none !important; }
.partners-empty i {
  font-size: 28px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.partners-empty h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.partners-empty p { margin: 0; color: var(--text-muted); }

.partner-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 80;
}
.partner-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.partner-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  background: var(--white);
  border-left: 1px solid var(--border);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.partner-drawer.is-open { transform: translateX(0); }
.partner-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.partner-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.partner-drawer__close:hover { border-color: var(--teal); }
.partner-drawer__body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.partner-drawer__avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  background: linear-gradient(145deg, var(--partner-accent, var(--blue)), color-mix(in srgb, var(--partner-accent, var(--blue)) 55%, #0a0a0a));
}
.partner-drawer__name {
  font-size: 26px;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  line-height: 1.15;
}
.partner-drawer__tagline {
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.partner-drawer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.partner-chip {
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}
.partner-drawer__section { margin-bottom: 22px; }
.partner-drawer__section h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.partner-drawer__section p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}
.partner-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.partner-drawer__list li {
  display: flex;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}
.partner-drawer__list i {
  color: var(--teal);
  margin-top: 3px;
}
.partner-drawer__meta { display: grid; gap: 10px; }
.partner-drawer__meta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
}
.partner-drawer__meta-row i {
  width: 16px;
  color: var(--blue);
}
.partner-drawer__meta-row a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.partner-drawer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .partners-meta__hint { display: none; }
  .partner-drawer { width: 100%; }
}

/* ── Dark mode component polish ── */
html[data-theme="dark"] .navbar .logo-image,
html[data-theme="dark"] .logo-img,
html[data-theme="dark"] .system-logo {
  filter: brightness(0) invert(1);
}
html[data-theme="dark"] .btn-ghost {
  color: var(--text-secondary);
}
html[data-theme="dark"] .btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .navbar-menu {
  background: var(--bg);
}
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .mega-menu {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}
html[data-theme="dark"] .theme-toggle {
  background: var(--white);
  border-color: var(--border);
  color: var(--text-secondary);
}
html[data-theme="dark"] .img-placeholder {
  background: var(--bg-subtle);
  border-color: var(--border);
}
html[data-theme="dark"] .mod-hero--stat .mod-btn,
html[data-theme="dark"] .mod-section--gradient-band .mod-btn,
html[data-theme="dark"] .mod-cta .mod-btn {
  background: var(--bg) !important;
  color: var(--mod-accent) !important;
}
html[data-theme="dark"] .partner-drawer-backdrop {
  background: rgba(0, 0, 0, 0.65);
}
html[data-theme="dark"] .quote-scroll-section,
html[data-theme="dark"] .quote-scroll-sticky {
  background: #0a0c10;
}
html[data-theme="dark"] .forms-tab,
html[data-theme="dark"] .product-tab,
html[data-theme="dark"] .partners-search input {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
html[data-theme="dark"] .benefit-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .ai-card,
html[data-theme="dark"] .partner-card,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .mod-card {
  background: var(--white);
  border-color: var(--border);
}
html[data-theme="dark"] .system-card.module {
  color: var(--teal);
}
html[data-theme="dark"] .feature-card {
  border-color: var(--border);
}
html[data-theme="dark"] .cta-panel,
html[data-theme="dark"] .section-cta {
  border-color: var(--border);
}
html[data-theme="dark"] .dashboard-frame,
html[data-theme="dark"] .mock-window {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}
html[data-theme="dark"] .hero-dashboard {
  background: transparent;
  box-shadow: none;
}
html[data-theme="dark"] .forms-panel,
html[data-theme="dark"] .events-panel,
html[data-theme="dark"] .pricing-table,
html[data-theme="dark"] .about-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .industry-card {
  background: var(--white);
  border-color: var(--border);
}
html[data-theme="dark"] .scroll-quote-word.is-active {
  color: var(--cream);
}
html[data-theme="dark"] .color-scheme-meta {
  color-scheme: dark;
}

/* ── Homepage v2: split hero, demo, trust, bentos, quotes, modal ── */
.home-hero {
  padding: 36px 0 28px;
  position: relative;
}
.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}
.home-hero__copy { text-align: left; max-width: 560px; }
.home-hero__copy .hero-badge,
.home-hero__copy h1,
.home-hero__copy .hero-sub,
.home-hero__copy .hero-actions,
.home-hero__copy .hero-trust {
  margin-left: 0;
  margin-right: 0;
}
.home-hero__copy h1 { max-width: none; }
.home-hero__copy .hero-actions { justify-content: flex-start; }
.home-hero__copy .hero-trust { max-width: 460px; }

.hero-demo {
  position: relative;
  min-height: 520px;
}
.hero-demo__glow {
  position: absolute;
  inset: 12% -8% -10%;
  background: radial-gradient(ellipse at 50% 50%, var(--teal-glow), var(--blue-glow), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-demo__chrome {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  background: #121821;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.28);
  color: #e8edf5;
}
.hero-demo__nav {
  background: #0d1218;
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.hero-demo__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}
.hero-demo__mark {
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--gradient-brand);
  font-size: 11px;
}
.hero-demo__nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px;
  border-radius: 8px;
  font-size: 11px;
  color: #9aa6b8;
  margin-bottom: 4px;
}
.hero-demo__nav-item i { width: 12px; font-size: 10px; }
.hero-demo__nav-item.is-active {
  background: rgba(79, 160, 234, 0.16);
  color: #fff;
}
.hero-demo__main { padding: 16px 16px 18px; }
.hero-demo__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.hero-demo__eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b93a1;
}
.hero-demo__top strong { font-size: 15px; }
.hero-demo__top-meta { display: flex; align-items: center; gap: 10px; }
.hero-demo__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; color: #37c6a0; font-weight: 600;
}
.hero-demo__live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #37c6a0;
  box-shadow: 0 0 0 0 rgba(55, 198, 160, 0.7);
  animation: demo-pulse 1.8s ease-out infinite;
}
.hero-demo__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: #243041; font-size: 11px; font-weight: 700;
}
.hero-demo__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.hero-demo__kpi,
.hero-demo__panel {
  background: #1a222d;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px;
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s ease, border-color 0.4s ease;
  transform-origin: center;
}
.hero-demo__kpi span,
.hero-demo__panel-head span {
  font-size: 10px;
  color: #8b93a1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-demo__kpi strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 4px 0 2px;
}
.hero-demo__kpi strong span { font-size: 13px; color: #8b93a1; letter-spacing: 0; text-transform: none; }
.hero-demo__kpi em {
  font-style: normal;
  font-size: 11px;
  color: #37c6a0;
}
.hero-demo__panels {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 10px;
}
.hero-demo__panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.hero-demo__panel-head h3 { margin: 0; font-size: 12px; }
.hero-demo__feed { list-style: none; padding: 0; margin: 0; }
.hero-demo__feed li {
  display: flex; flex-direction: column;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
}
.hero-demo__feed li:last-child { border-bottom: none; }
.hero-demo__feed b { color: #fff; }
.hero-demo__feed span { color: #8b93a1; }
.hero-demo__member {
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px;
}
.hero-demo__member-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #4fa0ea, #37c6a0);
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.hero-demo__member strong { display: block; font-size: 12px; }
.hero-demo__member p { margin: 2px 0 0; font-size: 10px; color: #8b93a1; line-height: 1.4; }
.hero-demo__bars { display: grid; gap: 6px; }
.hero-demo__bars span {
  height: 6px; border-radius: 99px;
  background: rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
}
.hero-demo__bars span::after {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, #4fa0ea, #37c6a0);
  border-radius: inherit;
}
.hero-demo__event strong { display: block; font-size: 13px; }
.hero-demo__event p { margin: 4px 0 10px; font-size: 11px; color: #8b93a1; }
.hero-demo__meter {
  height: 8px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.hero-demo__meter i {
  display: block; width: 86%; height: 100%;
  background: linear-gradient(90deg, #4fa0ea, #37c6a0);
  transform-origin: left;
}
.hero-demo__toast {
  position: absolute;
  right: 18px; bottom: 18px;
  z-index: 3;
  display: flex; gap: 10px; align-items: flex-start;
  width: min(280px, calc(100% - 36px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(26, 34, 45, 0.96);
  border: 1px solid rgba(55, 198, 160, 0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  color: #fff;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s var(--ease-spring);
}
.hero-demo__toast.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero-demo__toast i { color: #37c6a0; margin-top: 2px; }
.hero-demo__toast strong { display: block; font-size: 12px; }
.hero-demo__toast p { margin: 2px 0 0; font-size: 11px; color: #c5cbd6; }

.hero-demo__chrome[data-scene="0"] [data-card="giving"],
.hero-demo__chrome[data-scene="1"] [data-card="member"],
.hero-demo__chrome[data-scene="2"] [data-card="event"] {
  transform: scale(1.07);
  border-color: rgba(55, 198, 160, 0.45);
  box-shadow: 0 12px 32px rgba(55, 198, 160, 0.18);
  z-index: 2;
}
.hero-demo__chrome[data-scene="0"] [data-card="events"],
.hero-demo__chrome[data-scene="1"] [data-card="giving"],
.hero-demo__chrome[data-scene="2"] [data-card="members"] {
  transform: scale(0.94);
  opacity: 0.72;
}
.hero-demo__chrome[data-scene="1"] [data-card="activity"] li:first-child {
  animation: demo-row-pop 0.6s var(--ease-spring);
}

@keyframes demo-pulse {
  0% { box-shadow: 0 0 0 0 rgba(55, 198, 160, 0.55); }
  100% { box-shadow: 0 0 0 8px rgba(55, 198, 160, 0); }
}
@keyframes demo-row-pop {
  0% { transform: translateX(-8px); opacity: 0.3; }
  100% { transform: none; opacity: 1; }
}

.trust-bar {
  padding: 28px 0 12px;
  border-bottom: 1px solid var(--border);
}
.trust-bar__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
  font-weight: 600;
}
.trust-bar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 40px;
}
.trust-logo img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
}
.trust-wordmark {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--text-muted);
  font-family: Georgia, "Times New Roman", serif;
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feature-bento__cell {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.feature-bento__cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(55, 198, 160, 0.35);
}
.feature-bento__cell--wide { grid-column: span 2; min-height: 210px; }
.feature-bento__cell--accent {
  background: linear-gradient(160deg, rgba(79,160,234,0.12), rgba(55,198,160,0.16));
  border-color: rgba(55, 198, 160, 0.28);
}
.feature-bento__cell i {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 14px;
}
.feature-bento__cell h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.feature-bento__cell p { margin: 0 0 auto; color: var(--text-secondary); font-size: 14px; }
.feature-bento__cell span {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}

.industry-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-2xl);
  background: var(--white);
  border: 1px solid var(--border);
  min-height: 360px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.industry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.industry-card--featured {
  background: linear-gradient(180deg, var(--white), rgba(79,160,234,0.08));
  border-color: rgba(79, 160, 234, 0.28);
}
.industry-card__kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.industry-card h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -0.03em; }
.industry-card p { margin: 0 0 18px; color: var(--text-secondary); }
.industry-card ul { margin: 0 0 auto; padding-left: 18px; color: var(--text-secondary); font-size: 14px; }
.industry-card li { margin-bottom: 8px; }
.industry-card__cta {
  margin-top: 22px;
  font-weight: 650;
  color: var(--blue);
}

.quote-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.quote-card {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-2xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.quote-card--featured {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(17,24,39,0.08), rgba(17,24,39,0.55)),
    url("/website/images/chris-testimonial.jpg") center/cover;
  color: #fff;
  min-height: 520px;
  justify-content: flex-end;
  border: 0;
  box-shadow: var(--shadow-lg);
}
.quote-card--featured .quote-card__photo { display: none; }
.quote-card--featured blockquote p,
.quote-card--featured figcaption span { color: rgba(255,255,255,0.86); }
.quote-card blockquote { margin: 0 0 20px; }
.quote-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.quote-card--featured p { font-size: 26px; line-height: 1.35; }
.quote-card__mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient-brand);
  color: #fff; font-weight: 700; margin-bottom: 18px;
}
.quote-card figcaption { margin-top: auto; }
.quote-card strong { display: block; font-size: 15px; }
.quote-card span { font-size: 13px; color: var(--text-muted); }

.demo-modal[hidden] { display: none !important; }
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(8px);
}
.demo-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.demo-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px 12px;
}
.demo-modal__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}
.demo-modal__head h2 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.demo-modal__close {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--bg-subtle); color: var(--text); cursor: pointer;
}
.demo-modal__frame {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
  background: var(--bg);
}
.demo-modal__fallback {
  margin: 0;
  padding: 12px 24px 20px;
  font-size: 13px;
  color: var(--text-muted);
}
body.demo-modal-open { overflow: hidden; }

@media (max-width: 980px) {
  .home-hero__grid,
  .feature-bento,
  .industry-bento,
  .quote-gallery,
  .hero-demo__panels,
  .hero-demo__kpis {
    grid-template-columns: 1fr;
  }
  .feature-bento__cell--wide,
  .quote-card--featured { grid-column: auto; grid-row: auto; }
  .quote-card--featured { min-height: 420px; }
  .hero-demo__chrome { grid-template-columns: 1fr; }
  .hero-demo__nav { display: none; }
  .home-hero__copy { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo__kpi,
  .hero-demo__panel,
  .hero-demo__live i,
  .hero-demo__toast {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
