/* Shared marketing page shell — match landing-gallery look */
:root {
  --ink: #2A2421;
  --ink-soft: #4A423C;
  --muted: #7A716A;
  --line: #E8E0D8;
  --cream: #FFF9F5;
  --accent: var(--primary,#2F6F68);
  --accent-hover: #245852;
  --accent-soft: #E7F2F0;
  --header-h: 72px;
  --max: 1120px;
}

body.site-page {
  margin: 0;
  padding: 0;
  font-family: Manrope, system-ui, sans-serif !important;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(47, 111, 104, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(196, 139, 122, 0.08) 0%, transparent 42%),
    var(--cream) !important;
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body.site-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(42, 36, 33, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
/* Content above dotted bg — never override sticky/fixed chrome */
body.site-page > *:not(.demo-float-btn):not(.scroll-top-float):not(.site-header):not(.legal-nav) {
  position: relative;
  z-index: 1;
}
body.site-page .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
}
body.site-page .legal-nav {
  position: sticky !important;
  top: var(--header-h, 72px) !important;
  z-index: 110 !important;
}
body.site-page .demo-float-btn,
body.site-page .scroll-top-float {
  position: fixed !important;
  z-index: 9998 !important;
}
body.site-page .site-header {
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid rgba(224,224,224,.85);
  backdrop-filter: blur(14px);
}

/* Hide legacy dark cover if leftover */
body.site-page .page-hero { display: none !important; }

/* Gallery-like page title block */
body.site-page .gallery-header-compact,
.gallery-header-compact.page-title-compact {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
}
body.site-page .gallery-header-compact .header-row,
.page-title-compact .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 120px;
  padding: 1.25rem 0 1.35rem;
  flex-wrap: wrap;
}
body.site-page .gallery-header-compact .header-left,
.page-title-compact .header-left {
  flex: 1 1 280px;
  min-width: 0;
}
body.site-page .gallery-header-compact .page-kicker,
.page-title-compact .page-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .45rem;
}
body.site-page .gallery-header-compact .header-left h1,
.page-title-compact .header-left h1 {
  font-family: Space Grotesk, system-ui, sans-serif;
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 .35rem;
  color: var(--ink);
  line-height: 1.2;
}
body.site-page .gallery-header-compact .header-left h1 em,
.page-title-compact .header-left h1 em {
  font-style: normal;
  color: var(--accent);
}
body.site-page .gallery-header-compact .header-left > p,
.page-title-compact .header-left > p {
  color: var(--muted);
  font-size: .92rem;
  max-width: 640px;
  margin: 0;
  line-height: 1.5;
}
body.site-page .gallery-header-compact .header-left > p strong,
.page-title-compact .header-left > p strong {
  color: var(--ink-soft);
  font-weight: 700;
}
body.site-page .page-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .9rem;
}
body.site-page .page-title-actions .btn-outline {
  background:var(--bg-card,#fff) !important;
  border-color: var(--line) !important;
  color: var(--ink-soft) !important;
}
body.site-page .page-title-actions .btn-outline:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
body.site-page .gallery-header-compact .header-right,
.page-title-compact .header-right {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  align-items: center;
}
body.site-page .stat-inline {
  text-align: center;
  min-width: 64px;
}
body.site-page .stat-inline .stat-value {
  display: block;
  font-family: Space Grotesk, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
body.site-page .stat-inline .stat-label {
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 720px) {
  body.site-page .gallery-header-compact .header-row {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
  }
}
