/* ============================================================
   Lightbox
   ============================================================ */

img.is-lightbox {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  padding: 0.25rem 0.5rem;
}

.lightbox-close:hover { opacity: 1; }

body.lightbox-open { overflow: hidden; }

/* ============================================================
   Cubewise — Brand tokens
   ============================================================ */
:root {
  --orange-gold:    #F78E20;
  --sand-gold:      #FADEC1;
  --sand-gold-tint: #FFF8F2;
  --charcoal:       #434B53;
  --pearl-white:    #FFFFFB;
  --light-gray:     #F1F2F2;
  --dark-night:     #202E3A;

  --text:         var(--dark-night);
  --text-muted:   var(--charcoal);
  --bg:           var(--pearl-white);
  --bg-alt:       var(--light-gray);
  --border:       #DFE0E0;
  --radius:       8px;

  /* Spacing scale — keep grid gaps and card padding consistent across pages */
  --gap-sm:       1rem;
  --gap-md:       1.5rem;
  --gap-lg:       2rem;
  --card-pad-sm:  1.25rem;
  --card-pad-md:  1.75rem;
  --card-pad-lg:  2rem;

  --card-shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* ============================================================
   Shared card & grid bases (consolidated from per-component
   rules to keep visual treatment consistent across the site).
   Component-specific overrides live in their own sections.
   ============================================================ */
.component-card,
.why-card,
.integration-card,
.platform-spoke-card,
.audience-feature-item,
.benefit-card,
.home-product-card,
.sh-product-card,
.docs-product-card {
  background: var(--pearl-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.component-card:hover,
.integration-card:hover,
.platform-spoke-card:hover {
  border-color: var(--orange-gold);
  box-shadow: var(--card-shadow-hover);
}

.platform-benefits,
.why-cards,
.benefit-card-grid,
.sh-product-grid,
.home-product-cards,
.audience-feature-grid,
.article-card-grid,
.docs-product-grid,
.docs-recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.home-testimonial-grid,
.audience-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}

.testimonial-card,
.home-testimonial,
.audience-testimonial {
  background: var(--pearl-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: var(--card-pad-lg);
}

.testimonial-card blockquote,
.home-testimonial blockquote,
.audience-testimonial blockquote {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-style: italic;
  line-height: 1.75;
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--orange-gold);
  flex: 1;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--orange-gold); }
a:hover { color: var(--charcoal); }

/* ============================================================
   Nav
   ============================================================ */

/* Announcement bar */
.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 210;
  background: var(--pearl-white);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}

.announcement-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-bar__badge {
  color: var(--orange-gold);
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}

.announcement-bar__message a {
  color: var(--orange-gold);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.announcement-bar__links {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  margin-left: 24px;
}

.announcement-bar__links a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.75rem;
}

.announcement-bar__links a:hover { color: var(--dark-night); }

/* Override for dropdown options inside announcement bar (dark background) */
.announcement-bar__links .lang-switcher__option { color: rgba(255,255,255,0.75); }
.announcement-bar__links .lang-switcher__option:hover { color: var(--pearl-white); }

/* ── Language switcher ── */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--charcoal);
  user-select: none;
}

.lang-switcher__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--orange-gold);
  font-weight: 600;
}

.lang-switcher__chevron {
  font-size: 0.625rem;
  color: var(--charcoal);
}

.lang-switcher__dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--dark-night);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  min-width: 140px;
  z-index: 300;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lang-switcher__dropdown--open {
  display: block;
}

.lang-switcher__option {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.75rem;
  white-space: nowrap;
}

.lang-switcher__option:hover {
  background: rgba(255,255,255,0.08);
  color: var(--pearl-white);
}

.lang-switcher__option--active {
  color: var(--pearl-white);
  font-weight: 600;
}

.lang-switcher__divider {
  width: 1px;
  height: 12px;
  background: var(--border);
  margin: 0 4px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--pearl-white);
  position: sticky;
  top: 36px;
  z-index: 200;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 2rem;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 2px;
}

.nav-item-dropdown.is-open > a {
  color: var(--dark-night);
  border-bottom: 2px solid var(--orange-gold);
  padding-bottom: 0;
}

.nav-links a:hover { color: var(--dark-night); }

.nav-cta-item { margin-left: auto; padding-left: 1.5rem; }

.nav-links .nav-cta {
  background: var(--orange-gold);
  color: var(--pearl-white) !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
}

.nav-links .nav-cta:hover { background: var(--charcoal); color: var(--pearl-white) !important; }

/* ============================================================
   Main content wrapper
   ============================================================ */
main { min-height: 60vh; }

/* ============================================================
   Mega menu (Platform dropdown)
   ============================================================ */
.nav-item-dropdown { position: relative; }

.nav-item-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.6;
}

.nav-mega-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 960px;
  max-width: calc(100vw - 2rem);
  background: var(--pearl-white);
  border: 1px solid #E8E9EA;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  z-index: 200;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-item-dropdown.is-open .nav-mega-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-backdrop {
  position: fixed;
  top: 93px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.35);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 1.75rem 2rem;
}

.nav-mega-menu--narrow {
  width: 480px;
}

.nav-mega-menu--narrow .mega-menu-inner {
  grid-template-columns: 1fr 1fr;
}

.nav-mega-menu--single {
  width: 320px;
}

.nav-mega-menu--single .mega-menu-inner {
  grid-template-columns: 1fr;
}

.nav-mega-menu--wide {
  width: 1040px;
}

.nav-mega-menu--wide .mega-menu-inner {
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.nav-mega-menu--personas {
  width: 720px;
}

.nav-mega-menu--personas .mega-menu-inner {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mega-heading {
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #9AA0A6;
  font-weight: 600;
  margin-bottom: 4px;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  padding: 7px 8px;
  border-radius: var(--radius);
  color: inherit;
  transition: background 0.15s ease;
}

.mega-link__icon {
  color: #9AA0A6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 1.52rem;
  transition: color 0.15s ease;
}

.mega-link__body {
  flex: 1;
  min-width: 0;
}

.mega-link strong {
  display: block;
  color: var(--dark-night);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  transition: color 0.15s ease;
}

.mega-link__body > span {
  display: block;
  color: #6B7280;
  font-size: 0.85rem;
  line-height: 1.4;
}

.mega-link:hover { background: var(--sand-gold-tint); }
.mega-link:hover .mega-link__icon { color: var(--orange-gold); }
.mega-link:hover strong { color: var(--orange-gold); }

/* ============================================================
   Component sub-navigation
   ============================================================ */
.component-subnav {
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 93px; /* height of .announcement-bar + .site-header */
  z-index: 90;
}

.component-subnav-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.component-subnav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-night);
  margin-right: auto;
  padding: 0.75rem 0;
}

.component-subnav a {
  display: block;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.component-subnav a:hover { color: var(--dark-night); border-bottom-color: var(--border); }
.component-subnav a.active { color: var(--orange-gold); border-bottom-color: var(--orange-gold); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.25rem;
  transition: background 0.15s, color 0.15s;
}

.btn-primary  { background: var(--orange-gold); color: var(--pearl-white); }
.btn-primary:hover  { background: var(--charcoal); color: var(--pearl-white); }
.btn-secondary { background: var(--light-gray); color: var(--dark-night); }
.btn-secondary:hover { background: var(--border); color: var(--dark-night); }
.btn-outline { background: transparent; color: var(--orange-gold); border: 2px solid var(--orange-gold); }
.btn-outline:hover { background: var(--orange-gold); color: var(--pearl-white); }

/* ============================================================
   Hero
   ============================================================ */
.hero, .platform-hero, .component-hero {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--pearl-white);
  color: var(--dark-night);
}

.hero h1, .platform-hero h1, .component-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-night);
}

.hero p, .platform-hero p {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Component label (above h1 on component pages)
   ============================================================ */
.component-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.component-hero p {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Component grid
   ============================================================ */
.components-overview, .platform-components {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.components-overview h2, .platform-components h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--dark-night);
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap-md);
}

.component-card {
  display: block;
  padding: var(--card-pad-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.component-card:hover {
  color: inherit;
}

.component-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark-night);
}

.component-card p { font-size: 0.9rem; color: var(--charcoal); }

/* ============================================================
   Platform benefits
   ============================================================ */

.platform-hero {
  background: var(--dark-night);
  color: var(--pearl-white);
}

.platform-hero h1 {
  color: var(--pearl-white);
}

.platform-hero > p {
  color: rgba(255, 255, 255, 0.75);
}

.platform-benefits {
  max-width: 900px;
  margin: 2.5rem auto 0;
  text-align: left;
}

@media (max-width: 700px) {
  .platform-benefits {
    grid-template-columns: 1fr;
  }
}

.platform-benefit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.platform-benefit-icon {
  color: var(--sand-gold);
  margin-bottom: 0.75rem;
}

.platform-benefit h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--pearl-white);
}

.platform-benefit p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   Platform ecosystem
   ============================================================ */

.platform-ecosystem {
  background: var(--bg-alt);
  padding: 3rem 2rem;
  text-align: center;
}

.platform-ecosystem-inner {
  max-width: 680px;
  margin: 0 auto;
}

.platform-ecosystem h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.platform-ecosystem p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Hub card (Arc) */
.platform-hub {
  padding: 2.5rem 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.platform-hub-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.platform-hub-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 2px solid var(--orange-gold);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  background: var(--pearl-white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.platform-hub-card:hover {
  border-color: var(--orange-gold);
  filter: brightness(0.85);
  box-shadow: 0 4px 16px rgba(247, 142, 32, 0.15);
}

.platform-hub-card img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}


.platform-hub-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.platform-hub-card-body .platform-hub-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-decoration: none;
}

.platform-hub-card-body .platform-hub-link:hover {
  text-decoration: underline;
}

/* Spoke grid */
.platform-spokes {
  padding: 1.5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.platform-spokes-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.platform-spoke-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .platform-spoke-grid {
    grid-template-columns: 1fr;
  }

  .platform-hub-card {
    flex-direction: column;
    text-align: center;
  }
}

.platform-spoke-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--card-pad-sm) 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.platform-spoke-card img {
  height: 40px;
  width: auto;
}


.platform-spoke-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.platform-spoke-card .platform-spoke-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  opacity: 0.7;
  margin-top: auto;
}

.platform-spoke-card .platform-spoke-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.component-detail {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-intro, .blog-post { max-width: 720px; margin: 0 auto; padding: 3rem 2rem; }

.post-header { margin-bottom: 2rem; }
.post-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.post-header time { color: var(--charcoal); font-size: 0.9rem; }

.post-body { line-height: 1.8; }
.post-body h2, .post-body h3 { margin: 2rem 0 1rem; }
.post-body p { margin-bottom: 1rem; }
.post-body img { border-radius: var(--radius); margin: 1.5rem 0; }

.blog-listing { max-width: 720px; margin: 0 auto; padding: 2rem 2rem 4rem; }
.blog-listing h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }

.post-card { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.post-card h2 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.post-card h2 a { text-decoration: none; color: var(--dark-night); }
.post-card h2 a:hover { color: var(--orange-gold); }
.post-card time { color: var(--charcoal); font-size: 0.85rem; }
.post-card .post-excerpt { color: var(--charcoal); font-size: 0.9rem; margin-top: 0.5rem; line-height: 1.5; }
.post-labels { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.post-label { font-size: 0.72rem; font-weight: 500; padding: 0.2rem 0.55rem; border-radius: 999px; border: 1px solid var(--border); color: var(--charcoal); }

#blog-filter-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 2rem; }

/* ============================================================
   Docs
   ============================================================ */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.docs-sidebar { padding-top: 0.25rem; }

.sidebar-group { margin-bottom: 2rem; }
.sidebar-group h4 {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.sidebar-group ul { list-style: none; }
.sidebar-group li { margin-bottom: 0.2rem; }
.sidebar-group a { text-decoration: none; color: var(--charcoal); font-size: 0.9rem; }
.sidebar-group a:hover { color: var(--orange-gold); }

.docs-content h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.docs-content h2, .docs-content h3 { margin: 2rem 0 1rem; }
.docs-content p { margin-bottom: 1rem; }
.docs-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.docs-content code {
  background: var(--light-gray);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.docs-content pre {
  background: var(--dark-night);
  color: var(--sand-gold);
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.docs-content pre code { background: none; padding: 0; color: inherit; }

/* ============================================================
   Generic page
   ============================================================ */
.page-content { max-width: 720px; margin: 0 auto; padding: 3rem 2rem; }
.page-content h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.page-content h2, .page-content h3 { margin: 2rem 0 1rem; }
.page-content p { margin-bottom: 1rem; }

/* ============================================================
   Scroll reveal animation
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Self-Hosted page
   ============================================================ */

.sh-hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
  max-width: 700px;
  margin: 0 auto;
}

.sh-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0.5rem 0 1rem;
}

.sh-hero p {
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.sh-products {
  padding: 4rem 2rem;
  background: var(--light-gray);
}

.sh-products-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sh-product-grid {
  margin-top: 2.5rem;
}

.sh-product-card {
  padding: var(--card-pad-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.sh-product-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  border-color: var(--orange-gold);
  transform: translateY(-3px);
}

.sh-product-logo {
  height: 36px;
  display: flex;
  align-items: center;
}

.sh-product-logo img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.sh-product-card p {
  font-size: 0.88rem;
  color: var(--charcoal);
  flex: 1;
  margin: 0;
}

.sh-product-learn {
  font-size: 0.85rem;
  color: var(--orange-gold);
  text-decoration: none;
  font-weight: 500;
}

.sh-product-learn:hover { text-decoration: underline; }

.sh-product-card .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* stagger reveal delay for grid cards */
.sh-product-grid .reveal:nth-child(1) { transition-delay: 0s; }
.sh-product-grid .reveal:nth-child(2) { transition-delay: 0.07s; }
.sh-product-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.sh-product-grid .reveal:nth-child(4) { transition-delay: 0.21s; }
.sh-product-grid .reveal:nth-child(5) { transition-delay: 0.28s; }
.sh-product-grid .reveal:nth-child(6) { transition-delay: 0.35s; }

.why-cards .reveal:nth-child(1) { transition-delay: 0s; }
.why-cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.why-cards .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--dark-night);
  color: var(--sand-gold);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--sand-gold); }
.footer-brand img { filter: brightness(0) invert(1); opacity: 0.8; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-left: auto; }
.footer-nav a { text-decoration: none; color: var(--sand-gold); font-size: 0.9rem; opacity: 0.8; }
.footer-nav a:hover { opacity: 1; color: var(--orange-gold); }

.footer-copy { font-size: 0.8rem; color: var(--charcoal); width: 100%; }

/* ============================================================
   Feature rows (product overview pages)
   ============================================================ */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 4rem;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-row--full { display: block; }
.feature-row--full .feature-row-text { max-width: 780px; }

.feature-row-media {
  flex: 1.5;
}

.feature-row-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  display: block;
}

.feature-row-text {
  flex: 1;
}

.feature-row-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-night);
}

.feature-row-text ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-row-text ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.4;
}

.feature-row-text ul li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-gold);
}

@media (max-width: 700px) {
  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
  }
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-section {
  padding: 3rem 0 1rem;
}

.testimonial-section h2 {
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
  font-weight: 600;
}

.testimonial-row {
  display: flex;
  gap: var(--gap-lg);
  flex-wrap: wrap;
}

.testimonial-row .testimonial-card {
  flex: 1;
  min-width: 220px;
}

.testimonial-card img {
  max-height: 32px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
  align-self: flex-start;
}

.testimonial-card cite {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--dark-night);
  font-weight: 600;
}

.testimonial-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s ease, transform 0.2s ease;
}

.testimonial-card-link:hover {
  color: var(--dark-night);
  transform: translateX(2px);
}

/* ============================================================
   Dark hero modifier (used on pages that need the original
   dark-background hero, e.g. contact)
   ============================================================ */
.component-hero--dark {
  background: var(--dark-night);
  color: var(--pearl-white);
}

.component-hero--dark h1 {
  color: var(--pearl-white);
}

.component-hero--dark p {
  color: var(--sand-gold);
}

/* ============================================================
   Contact form
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-night);
  margin-bottom: 0.35rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--light-gray);
  font-size: 0.95rem;
  color: var(--dark-night);
  font-family: inherit;
  transition: outline 0.1s, background 0.1s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--orange-gold);
  outline-offset: 0;
  background: white;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================================
   Product interest pills
   ============================================================ */
.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-pills label {
  display: inline-flex;
  align-items: center;
  font-weight: 400;
  margin-bottom: 0;
}

.product-pills input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.product-pills .pill-label {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
}

.product-pills input:checked + .pill-label {
  background: var(--sand-gold);
  border-color: var(--orange-gold);
  color: var(--dark-night);
}

.product-pills .pill-label:hover {
  border-color: var(--orange-gold);
}

/* ============================================================
   Consent block
   ============================================================ */
.consent-block {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--light-gray);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.consent-block input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--orange-gold);
  cursor: pointer;
}

/* ============================================================
   Contact support note
   ============================================================ */
.contact-support-note {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--charcoal);
}

.contact-support-note a {
  color: var(--orange-gold);
  text-decoration: none;
}

.contact-support-note a:hover {
  color: var(--charcoal);
}

/* ============================================================
   Split hero (two-column with image)
   ============================================================ */
.component-hero--split {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
  padding: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--pearl-white);
}

.component-hero--split .component-hero-text {
  flex: 1;
}

.component-hero--split .component-hero-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.component-hero--split .component-hero-media img {
  max-width: 100%;
  height: auto;
}

.component-hero--split h1 {
  text-align: left;
}

.component-hero--split p {
  text-align: left;
  max-width: none;
}

.component-hero--split ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.component-hero--split ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.component-hero--split ul li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-gold);
  margin-top: 0.45em;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .component-hero--split {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }
  .component-hero--split h1,
  .component-hero--split p {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* ============================================================
   Why section (icon cards)
   ============================================================ */
.why-section {
  background: var(--light-gray);
  padding: 4rem 2rem;
}

.why-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.why-section-heading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 2.5rem;
}

.why-card {
  padding: var(--card-pad-md);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .why-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Trust banner
   ============================================================ */
.trust-banner {
  background: var(--dark-night);
  color: var(--pearl-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
}

.trust-banner-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.trust-banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-banner-text strong {
  font-size: 1rem;
  color: var(--pearl-white);
}

.trust-banner-text span {
  font-size: 0.85rem;
  color: var(--sand-gold);
}

/* ============================================================
   Without / With comparison
   ============================================================ */
.comparison-section {
  background: var(--light-gray);
  padding: 4rem 2rem;
}

.comparison-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparison-col {
  background: var(--pearl-white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}

.comparison-col--with {
  border-color: var(--orange-gold);
  border-width: 2px;
}

.comparison-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--dark-night);
}

.comparison-col--without .comparison-heading {
  color: var(--charcoal);
}

.comparison-col--with .comparison-heading {
  color: var(--orange-gold);
}

.comparison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.comparison-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
}

.comparison-col--without ul li::before {
  content: '✕';
  color: #c0392b;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 0.15em;
}

.comparison-col--with ul li::before {
  content: '✓';
  color: var(--orange-gold);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
  margin-top: 0.1em;
}

@media (max-width: 768px) {
  .comparison-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Source tabs
   ============================================================ */
.source-tabs-section {
  padding: 4rem 2rem;
  background: var(--pearl-white);
}

.source-tabs-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.source-tabs-heading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 2rem;
}

.source-tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.source-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}

.source-tab-btn:hover {
  color: var(--dark-night);
}

.source-tab-btn.active {
  color: var(--orange-gold);
  border-bottom-color: var(--orange-gold);
}

.source-tab-panel {
  display: none;
  gap: 3rem;
  align-items: flex-start;
}

.source-tab-panel.active {
  display: flex;
}

.source-tab-text {
  flex: 1;
}

.source-tab-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.75rem;
}

.source-tab-text p {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.source-tab-media {
  flex: 1;
}

.source-tab-media img {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.source-tab-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.source-tab-link:hover {
  color: var(--dark-night);
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .source-tab-panel.active {
    flex-direction: column;
  }
  .source-tabs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

/* ============================================================
   Page CTA
   ============================================================ */
.page-cta {
  background: var(--dark-night);
  color: var(--pearl-white);
  text-align: center;
  padding: 4rem 2rem;
}

.page-cta h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--pearl-white);
  margin-bottom: 0.75rem;
}

.page-cta p {
  font-size: 1rem;
  color: var(--sand-gold);
  margin-bottom: 2rem;
}

/* ============================================================
   Small button variant
   ============================================================ */
.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

/* ============================================================
   Integrations page
   ============================================================ */
.integrations-section {
  padding: 3rem 2rem 4rem;
}

.integrations-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.integrations-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.integrations-filter {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}

.integrations-filter:hover {
  border-color: var(--orange-gold);
  color: var(--dark-night);
}

.integrations-filter.active {
  background: var(--orange-gold);
  border-color: var(--orange-gold);
  color: var(--pearl-white);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--gap-sm);
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: var(--card-pad-sm) 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-align: center;
}

.integration-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.integration-card span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
}

/* ============================================================
   Features group (Monitor / Understand / Manage sections)
   ============================================================ */
.features-group {
  padding: 4rem 2rem;
  background: var(--pearl-white);
}

.features-group--alt {
  background: var(--light-gray);
}

.features-group-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-group-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-group-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.5rem;
}

.features-group-desc {
  font-size: 1rem;
  color: var(--charcoal);
  max-width: 560px;
  margin: 0 auto;
}

.features-group .feature-row-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.5rem;
}

.features-group .feature-row-text p {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   Benefit cards (3-up icon + heading + body, inside hero)
   ============================================================ */
.component-hero--large {
  padding-bottom: 5rem;
}

.benefit-card-grid {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  text-align: left;
}

.benefit-card {
  padding: var(--card-pad-lg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-card-icon {
  color: var(--orange-gold);
  margin-bottom: 0.25rem;
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-night);
  margin: 0;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .benefit-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .benefit-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Features index (3-column TOC at top of features pages)
   ============================================================ */
.features-index {
  background: var(--dark-night);
  padding: 3rem 2rem;
}

.features-index-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.features-index-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sand-gold);
  margin-bottom: 0.75rem;
}

.features-index-col-subtitle {
  font-size: 0.95rem;
  color: var(--pearl-white);
  opacity: 0.75;
  line-height: 1.55;
  margin: -0.4rem 0 0.85rem;
}

.features-index--editions .features-index-inner {
  grid-template-columns: 1fr 1fr;
}

.features-index-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.features-index--editions .features-index-heading {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin-bottom: 0;
}

.features-index-subtitle {
  font-size: 1.1rem;
  color: var(--pearl-white);
  opacity: 0.85;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 480px;
}

.edition-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.edition-badge--free {
  background: rgba(247,142,32,0.15);
  border-color: rgba(247,142,32,0.4);
  color: var(--sand-gold);
}

.edition-badge--license {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: var(--pearl-white);
}

.edition-badge--pulse {
  background: rgba(10,73,104,0.35);
  border-color: rgba(10,73,104,0.7);
  color: #9bd1ee;
}

.features-index--editions ul li {
  font-size: 0.9rem;
  color: var(--pearl-white);
  opacity: 0.85;
  line-height: 1.7;
}

.features-group-title .edition-badge {
  display: inline-block;
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
}

.features-group-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.features-group-title .edition-badge--free {
  background: rgba(247,142,32,0.12);
  border-color: rgba(247,142,32,0.35);
  color: var(--orange-gold);
}

.features-group-title .edition-badge--license {
  background: var(--light-gray);
  border-color: var(--border);
  color: var(--charcoal);
}

.features-index ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.features-index ul li a {
  font-size: 0.85rem;
  color: var(--pearl-white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s, color 0.15s;
}

.features-index ul li a:hover {
  opacity: 1;
  color: var(--sand-gold);
}

@media (max-width: 768px) {
  .features-index-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================================
   Homepage
   ============================================================ */

/* Hero */
.home-hero {
  background: var(--dark-night);
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.home-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.home-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-gold);
  margin-bottom: 1.25rem;
}

.home-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--pearl-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.home-hero > .home-hero-inner > p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--pearl-white);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--pearl-white);
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline-light:hover {
  border-color: var(--pearl-white);
  background: rgba(255,255,255,0.08);
  color: var(--pearl-white);
}

/* Section header */
.home-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.home-section-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.6rem;
}

.home-section-header p {
  font-size: 1rem;
  color: var(--charcoal);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.home-section-header--light h2 {
  color: var(--pearl-white);
}

.home-section-header--light p {
  color: var(--pearl-white);
  opacity: 0.75;
}

/* Products */
.home-products {
  padding: 5rem 2rem;
  background: var(--pearl-white);
}

.home-products-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-product-card {
  padding: var(--card-pad-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.home-product-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  border-color: var(--orange-gold);
}

.home-product-logo {
  height: 32px;
  display: flex;
  align-items: center;
}

.home-product-logo img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.home-product-logo--text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-night);
  font-style: italic;
}

.home-product-tagline {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin: 0;
}

.home-product-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.home-product-bullets li {
  font-size: 0.82rem;
  color: var(--charcoal);
  opacity: 0.85;
  padding-left: 1rem;
  position: relative;
}

.home-product-bullets li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--orange-gold);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  top: 1px;
}

.home-product-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-gold);
  margin-top: 0.5rem;
}

/* Roles */
.home-roles {
  background: var(--dark-night);
  padding: 5rem 2rem;
}

.home-roles-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-role-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.home-role-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-role-icon {
  color: var(--sand-gold);
  margin-bottom: 0.25rem;
}

.home-role-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pearl-white);
  margin: 0;
}

.home-role-card p {
  font-size: 0.9rem;
  color: var(--pearl-white);
  opacity: 0.75;
  line-height: 1.7;
  flex: 1;
  margin: 0;
}

.home-role-products {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.home-role-products a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sand-gold);
  text-decoration: none;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  transition: background 0.15s;
}

.home-role-products a:hover {
  background: rgba(255,255,255,0.14);
}

/* Testimonials */
.home-testimonials {
  background: var(--light-gray);
  padding: 5rem 2rem;
}

.home-testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-testimonial blockquote {
  font-size: 0.92rem;
  padding-left: 0.9rem;
}

.home-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.home-testimonial-author strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-night);
}

.home-testimonial-author span {
  font-size: 0.78rem;
  color: var(--charcoal);
  opacity: 0.7;
}

.home-testimonial-product {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-decoration: none;
  margin-top: 0.25rem;
}

.home-testimonial-product:hover {
  text-decoration: underline;
}

/* Bottom CTA */
.home-bottom-cta {
  background: var(--orange-gold);
  padding: 5rem 2rem;
  text-align: center;
}

.home-bottom-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.home-bottom-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.home-bottom-cta p {
  font-size: 1.05rem;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.home-bottom-cta .btn-primary {
  background: #fff;
  color: var(--orange-gold);
  border-color: #fff;
}

.home-bottom-cta .btn-primary:hover {
  background: var(--dark-night);
  border-color: var(--dark-night);
  color: #fff;
}

.home-bottom-cta .btn-outline-light {
  border-color: rgba(255,255,255,0.6);
}

.home-bottom-cta .btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .home-product-cards,
  .home-role-cards,
  .home-testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-product-cards,
  .home-role-cards,
  .home-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   Pulse Customers index page
   ============================================================ */
.customer-cards-section {
  padding: 4rem 2rem;
  background: var(--pearl-white);
}

.customer-cards-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.customer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s;
}

.customer-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.customer-card-logo {
  height: 36px;
  display: flex;
  align-items: center;
}

.customer-card-logo img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.customer-card-industry {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.customer-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.customer-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-night);
  line-height: 1.4;
  margin: 0;
}

.customer-card-body blockquote {
  font-size: 0.9rem;
  color: var(--charcoal);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  padding-left: 0.75rem;
  border-left: 3px solid var(--sand-gold);
}

.customer-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-decoration: none;
  margin-top: auto;
}

.customer-card-cta:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .customer-cards-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .customer-cards-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Case study pages (individual customer stories)
   ============================================================ */
.case-study-hero {
  background: var(--dark-night);
  padding: 4rem 2rem 3rem;
}

.case-study-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-study-back {
  font-size: 0.85rem;
  color: var(--pearl-white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.case-study-back:hover {
  opacity: 1;
}

.case-study-logo {
  height: 40px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.case-study-industry {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sand-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-study-hero h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--pearl-white);
  line-height: 1.3;
  max-width: 700px;
}

.case-study-quote {
  background: var(--orange-gold);
  padding: 2.5rem 2rem;
}

.case-study-quote-inner {
  max-width: 800px;
  margin: 0 auto;
}

.case-study-quote blockquote {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: #fff;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.case-study-body {
  padding: 4rem 2rem;
  background: var(--pearl-white);
}

.case-study-body-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.case-study-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.75rem;
}

.case-study-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.case-study-section p {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin: 0 0 0.75rem;
}

.case-study-section ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-study-section ul li {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.case-study-img {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  border: 1px solid var(--border);
}

.case-study-nav {
  background: var(--light-gray);
  padding: 2rem;
}

.case-study-nav-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .case-study-nav-inner {
    flex-direction: column;
  }
}

/* ============================================================
   Testimonials (Arc / Slice customers pages)
   ============================================================ */
.testimonials-section {
  padding: 4rem 2rem;
  background: var(--pearl-white);
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-author strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-night);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--charcoal);
  opacity: 0.75;
}

@media (max-width: 768px) {
  .testimonials-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Audience pages (Developers / Administrators / Analysts / Managers)
   ============================================================ */
.audience-hero {
  background: var(--dark-night);
  padding: 5rem 2rem;
  text-align: center;
}

.audience-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.audience-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-gold);
  margin-bottom: 1.25rem;
}

.audience-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--pearl-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.audience-hero > .audience-hero-inner > p {
  font-size: 1.05rem;
  color: var(--pearl-white);
  opacity: 0.8;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.audience-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Product pair / trio */
.audience-products {
  padding: 4rem 2rem;
  background: var(--pearl-white);
}

.audience-products-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.audience-products-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 2rem;
  text-align: center;
}

.audience-product-pair,
.audience-product-trio {
  display: grid;
  gap: 2rem;
}

.audience-product-pair { grid-template-columns: repeat(2, 1fr); }
.audience-product-trio { grid-template-columns: repeat(3, 1fr); }

.audience-product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.audience-product-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  border-color: var(--orange-gold);
}

.audience-product-logo {
  height: 32px;
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.audience-product-logo img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.audience-product-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--orange-gold);
  margin: 0;
}

.audience-product-desc {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.audience-product-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-gold);
  margin-top: 0.25rem;
}

/* Feature sections */
.audience-features {
  padding: 4.5rem 2rem;
  background: var(--light-gray);
}

.audience-features--dark {
  background: var(--dark-night);
}

.audience-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.audience-features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.audience-feature-logo {
  max-height: 28px;
  width: auto;
  margin-bottom: 1.25rem;
}

.audience-features--dark .audience-feature-logo {
  filter: brightness(0) invert(1);
}

.audience-features-header h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.6rem;
}

.audience-features--dark .audience-features-header h2 {
  color: var(--pearl-white);
}

.audience-features-header p {
  font-size: 1rem;
  color: var(--charcoal);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.audience-features--dark .audience-features-header p {
  color: var(--pearl-white);
  opacity: 0.75;
}

.audience-feature-grid {
  margin-bottom: 2.5rem;
}

.audience-feature-item {
  padding: var(--gap-md);
}

.audience-features--dark .audience-feature-item {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.audience-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--sand-gold-tint);
  color: var(--orange-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.audience-features--dark .audience-feature-icon {
  background: rgba(247, 142, 32, 0.12);
  color: var(--sand-gold);
}

.audience-feature-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-night);
  margin: 0 0 0.5rem;
}

.audience-features--dark .audience-feature-item h3 {
  color: var(--pearl-white);
}

.audience-feature-item p {
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin: 0;
}

.audience-features--dark .audience-feature-item p {
  color: var(--pearl-white);
  opacity: 0.7;
}

.audience-features-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Testimonials */
.audience-testimonials {
  padding: 4rem 2rem;
  background: var(--pearl-white);
  text-align: center;
}

.audience-testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.audience-testimonials-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 2rem;
}

.audience-testimonial-grid {
  margin-bottom: 1.5rem;
}

.audience-testimonial {
  padding: var(--card-pad-md);
  text-align: left;
  gap: 1rem;
}

.audience-testimonial blockquote {
  font-size: 0.92rem;
  padding-left: 0.9rem;
}

.audience-testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark-night);
}

.audience-testimonial-author span {
  font-size: 0.78rem;
  color: var(--charcoal);
  opacity: 0.7;
}

.audience-testimonials-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-decoration: none;
}

.audience-testimonials-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .audience-product-trio {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-feature-grid,
  .audience-testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .audience-product-pair,
  .audience-product-trio,
  .audience-feature-grid,
  .audience-testimonial-grid {
    grid-template-columns: 1fr;
  }
  .audience-hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   Arc Download page
   ============================================================ */
.download-hero {
  background: var(--dark-night);
  padding: 4rem 2rem;
}

.download-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.download-hero-text .component-label {
  margin-bottom: 1rem;
}

.download-hero-text h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--pearl-white);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.download-hero-text > p {
  font-size: 1.05rem;
  color: var(--pearl-white);
  opacity: 0.85;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.download-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.download-checks li {
  font-size: 0.9rem;
  color: var(--pearl-white);
  opacity: 0.9;
  padding-left: 1.4rem;
  position: relative;
}

.download-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sand-gold);
  font-weight: 700;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
}

.download-terms {
  font-size: 0.78rem;
  color: var(--pearl-white);
  opacity: 0.5;
  margin-top: 0.75rem;
}

.download-terms a {
  color: var(--pearl-white);
  opacity: 0.8;
}

/* Steps aside */
.download-steps {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
}

.download-steps h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sand-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.download-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.download-step-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--orange-gold);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-step-list li > div strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pearl-white);
  display: block;
  margin-bottom: 0.25rem;
}

.download-step-list li > div p {
  font-size: 0.85rem;
  color: var(--pearl-white);
  opacity: 0.7;
  line-height: 1.5;
  margin: 0;
}

/* Resources */
.download-resources {
  padding: 4rem 2rem;
  background: var(--light-gray);
}

.download-resources-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.download-resources-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 2rem;
  text-align: center;
}

.download-resource-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.download-resource-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-resource-icon {
  color: var(--orange-gold);
  margin-bottom: 0.25rem;
}

.download-resource-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-night);
  margin: 0;
}

.download-resource-card p {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.download-resource-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-decoration: none;
  margin-top: auto;
}

.download-resource-link:hover {
  text-decoration: underline;
}

/* ============================================================
   Download picker (license-gated version downloads)
   ============================================================ */
.download-picker {
  padding: 4rem 2rem;
  background: var(--pearl-white);
  border-bottom: 1px solid var(--border);
}

.download-picker-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.download-picker-heading {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--dark-night);
  margin: 0 0 0.5rem;
  text-align: center;
}

.download-picker-intro {
  font-size: 0.95rem;
  color: var(--charcoal);
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 640px;
}

.download-picker-license {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.download-picker-license-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin: 0 0 0.6rem;
}

.download-picker-accept {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 auto 2.5rem;
  max-width: 800px;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.download-picker-accept input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange-gold);
  cursor: pointer;
  flex-shrink: 0;
}

.download-picker-accept label {
  cursor: pointer;
}

.download-picker-accept a {
  color: var(--orange-gold);
}

.download-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.download-groups--single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}

.download-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-group-version {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange-gold);
}

.download-group h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-night);
  margin: 0;
}

.download-group-subtitle {
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.download-group-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--orange-gold);
  color: var(--pearl-white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s ease;
}

.download-btn:hover {
  background: var(--charcoal);
  color: var(--pearl-white);
}

.download-btn[aria-disabled="true"] {
  background: var(--border);
  color: var(--charcoal);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

.download-btn svg {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .download-groups {
    grid-template-columns: 1fr;
  }
}

/* EULA */
.eula-section {
  padding: 4rem 2rem;
  background: var(--pearl-white);
}

.eula-inner {
  max-width: 800px;
  margin: 0 auto;
}

.eula-inner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.5rem;
}

.eula-intro {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.eula-body {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  max-height: 360px;
  overflow-y: auto;
}

.eula-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-night);
  margin: 1.25rem 0 0.4rem;
}

.eula-body h3:first-child {
  margin-top: 0;
}

.eula-body p {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0;
}

.eula-body a {
  color: var(--orange-gold);
}

@media (max-width: 900px) {
  .download-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .download-resource-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Docs filter pills
   ============================================================ */
.docs-filter-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease;
  font-family: inherit;
}

.filter-pill:hover { border-color: var(--orange-gold); color: var(--orange-gold); }
.filter-pill.active { border-color: var(--orange-gold); color: var(--orange-gold); font-weight: 600; }

/* ============================================================
   Docs breadcrumb
   ============================================================ */
.docs-breadcrumb {
  font-size: 0.82rem;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.docs-breadcrumb a { color: inherit; text-decoration: none; }
.docs-breadcrumb a:hover { color: var(--orange-gold); opacity: 1; }

/* ============================================================
   Docs TOC ("on this page")
   ============================================================ */
.docs-toc {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

.docs-toc::before {
  content: 'On this page';
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.docs-toc ul { list-style: none; }
.docs-toc li { margin-bottom: 0.25rem; }
.docs-toc a { text-decoration: none; color: var(--charcoal); }
.docs-toc a:hover { color: var(--orange-gold); }
.docs-toc li.toc-h3 { padding-left: 0.75rem; font-size: 0.82rem; }

/* ============================================================
   Docs landing page
   ============================================================ */
.docs-hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: 680px;
  margin: 0 auto;
}

.docs-hero h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.docs-hero p  { color: var(--charcoal); margin-bottom: 2rem; }

.docs-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.docs-search-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--pearl-white);
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.docs-search-input:focus {
  border-color: var(--orange-gold);
  box-shadow: 0 0 0 3px rgba(184,124,38,0.12);
}

.docs-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--pearl-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 50;
  overflow: hidden;
}

.docs-search-results.is-open { display: block; }

.docs-search-result {
  display: block;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: var(--dark-night);
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}

.docs-search-result:last-child { border-bottom: none; }
.docs-search-result:hover,
.docs-search-result.is-active { background: var(--light-gray); }

.docs-search-result-title { font-weight: 600; font-size: 0.9rem; display: block; }

.docs-search-result-meta {
  font-size: 0.78rem;
  color: var(--charcoal);
  display: flex;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.docs-search-badge {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
}

/* ============================================================
   Docs product grid (landing page)
   ============================================================ */
.docs-product-grid {
  max-width: 960px;
  margin: 3rem auto;
  padding: 0 2rem 4rem;
}

@media (max-width: 700px) {
  .docs-product-grid { grid-template-columns: 1fr; }
}

@media (min-width: 701px) and (max-width: 960px) {
  .docs-product-grid { grid-template-columns: 1fr 1fr; }
}

.docs-product-card {
  padding: var(--gap-md);
  transition: box-shadow 0.15s ease;
}

.docs-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.docs-product-card img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
  display: block;
}


.docs-product-card a {
  display: block;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--charcoal);
  padding: 0.3rem 0;
  transition: color 0.12s;
}

.docs-product-card a:hover { color: var(--orange-gold); }

.docs-recent {
  max-width: 1100px;
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
}

.docs-recent-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dark-night);
}

.docs-recent-grid {
  margin-bottom: 0.5rem;
}

.docs-recent-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.docs-recent-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.docs-recent-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--border);
}

.docs-recent-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.docs-recent-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.docs-recent-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-night);
  line-height: 1.4;
}

.docs-recent-card:hover .docs-recent-title {
  color: var(--orange-gold);
}

.docs-recent-excerpt {
  font-size: 0.82rem;
  color: var(--charcoal);
  line-height: 1.55;
  margin: 0;
}

.docs-recent-empty {
  color: var(--charcoal);
  font-size: 0.9rem;
  padding: 1rem 0.25rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .docs-recent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .docs-recent-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Recent Articles
   ============================================================ */
.recent-articles {
  padding: 4rem 2rem;
  background: #f7f7f5;
}

.recent-articles-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.recent-articles-inner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 2rem;
  text-align: center;
}

.article-card-grid {
  margin-bottom: 2rem;
}

.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.article-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--border);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card-body {
  padding: 1.25rem;
  flex: 1;
}

.article-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-night);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.article-card-excerpt {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin: 0;
}

.recent-articles-link {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-gold);
  text-decoration: none;
}

.recent-articles-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .article-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .article-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Mobile / Responsive — global overrides
   ============================================================ */

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
  color: var(--charcoal);
  line-height: 0;
  flex-shrink: 0;
}

.nav-toggle-close { display: none; }

.nav.is-open .nav-toggle-open  { display: none; }
.nav.is-open .nav-toggle-close { display: block; }

@media (max-width: 768px) {
  /* ── Nav ── */
  .nav {
    gap: 0;
    padding: 0.75rem 1.25rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-logo { flex: 1; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    border-top: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    flex: none;
  }

  .nav.is-open .nav-links { display: flex; }

  .nav-links > li > a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta-item {
    margin-left: 0;
    padding-left: 0;
    padding-top: 1rem;
  }

  /* Disable mega menu on mobile — Platform links to /platform/ */
  .nav-item-dropdown > a::after { display: none; }
  .nav-mega-menu { display: none !important; }
  .nav-backdrop { display: none !important; }
  .announcement-bar { display: none; }
  .site-header { top: 0; }
  .component-subnav { top: 57px; }

  /* ── Component subnav — horizontal scroll ── */
  .component-subnav-inner {
    overflow-x: auto;
    padding: 0 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .component-subnav-inner::-webkit-scrollbar { display: none; }
  .component-subnav-title { display: none; }

  /* ── Docs layout — hide sidebar on mobile ── */
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .docs-sidebar { display: none; }

  .docs-content {
    padding: 1.5rem 1.25rem;
    min-width: 0;
  }

  /* ── Docs hero ── */
  .docs-hero { padding: 2.5rem 1.25rem 2rem; }

  /* ── Home hero ── */
  .home-hero-inner { padding: 3rem 1.25rem; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero-actions .btn { text-align: center; }

  /* ── Home role cards ── */
  .home-role-cards { grid-template-columns: 1fr; }

  /* ── Component hero ── */
  .component-hero { padding: 2.5rem 1.25rem; }

  /* ── Footer ── */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 1.25rem;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }

  /* ── General section padding ── */
  .home-products-inner,
  .home-roles-inner,
  .home-testimonials-inner,
  .home-bottom-cta-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ============================================================
   Testimonial carousel (progressive enhancement)
   ============================================================ */
[data-carousel="testimonial"][data-carousel-active] {
  display: block;
  position: relative;
  min-height: 220px;
}

[data-carousel="testimonial"][data-carousel-active] > [data-carousel-slide] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  visibility: hidden;
}

[data-carousel="testimonial"][data-carousel-active] > [data-carousel-slide][data-active] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  position: relative;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  background: var(--orange-gold);
  color: #fff;
  border-color: var(--orange-gold);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--orange-gold);
  outline-offset: 2px;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot[aria-selected="true"] {
  background: var(--orange-gold);
  transform: scale(1.3);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--orange-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  [data-carousel="testimonial"][data-carousel-active] > [data-carousel-slide] {
    transition: none;
  }
}

/* ============================================================
   Scroll-reveal animations (IntersectionObserver, see reveal.js)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

[data-reveal="fade-up"] { transform: translateY(24px); }
[data-reveal="fade-in"] { transform: none; }
[data-reveal="slide-left"] { transform: translateX(-24px); }
[data-reveal="slide-right"] { transform: translateX(24px); }
[data-reveal="zoom"] { transform: scale(0.96); }

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal-stagger][data-revealed] > * {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger][data-revealed] > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger][data-revealed] > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger][data-revealed] > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger][data-revealed] > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger][data-revealed] > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger][data-revealed] > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger][data-revealed] > *:nth-child(7) { transition-delay: 480ms; }
[data-reveal-stagger][data-revealed] > *:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Home hero rotator + stats strip
   ============================================================ */
.home-hero-rotator {
  position: relative;
  display: inline-block;
  min-height: 1.4em;
}

.home-hero-rotator > [data-rotator-item] {
  display: inline-block;
  transition: opacity 0.6s ease;
}

.home-hero-rotator[data-rotator-active] > [data-rotator-item] {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.home-hero-rotator[data-rotator-active] > [data-rotator-item]:first-child {
  position: relative;
  left: auto;
  transform: none;
}

.home-stats {
  background: var(--pearl-white);
  padding: 2.75rem 2rem;
  border-bottom: 1px solid var(--border);
}

.home-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}

.home-stat {
  flex: 1;
  text-align: center;
}

.home-stat-number {
  display: block;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--orange-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.home-stat-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.home-stat-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  flex: 0 0 1px;
}

@media (max-width: 768px) {
  .home-hero-rotator[data-rotator-active] > [data-rotator-item] {
    white-space: normal;
  }
  .home-stats { padding: 2rem 1.25rem; }
  .home-stats-inner {
    flex-wrap: wrap;
    gap: 1.5rem 1rem;
  }
  .home-stat { flex: 0 0 calc(50% - 0.5rem); }
  .home-stat-divider { display: none; }
}


