/* ═══════════════════════════════════════════════════════════════
   ReachGrid Networks — Brand Design System v3
   Palette derived from logo maroon (#6B2D3E)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  /* Brand — extracted from logo */
  --maroon:       #6B2D3E;
  --maroon-dark:  #4A1926;
  --maroon-light: #8E4358;
  --maroon-glow:  rgba(107,45,62,0.30);

  /* Accent — rose derived from maroon */
  --rose:         #E06B82;
  --rose-light:   #F0899C;
  --rose-glow:    rgba(224,107,130,0.20);
  --rose-dark:    #C4576A;

  /* Secondary — warm gold */
  --gold:         #D4A76A;
  --gold-glow:    rgba(212,167,106,0.20);

  /* Warm blush */
  --blush:        #D4879E;

  /* Backgrounds — warm near-black */
  --bg-deep:      #080406;
  --bg:           #0C0809;
  --bg-mid:       #140E10;
  --bg-light:     #1C1418;
  --bg-elevated:  #251A1F;

  /* Legacy variable map for inline-style compat */
  --navy:         #0C0809;
  --navy-mid:     #140E10;
  --navy-light:   #1C1418;
  --navy-card:    #160F12;
  --blue:         #6B2D3E;
  --blue-dark:    #4A1926;
  --blue-glow:    rgba(107,45,62,0.25);
  --teal:         #E06B82;
  --teal-glow:    rgba(224,107,130,0.2);
  --teal-dark:    #C4576A;
  --purple:       #D4A76A;

  /* Text */
  --white:        #FFFFFF;
  --off-white:    #F5EDEF;
  --text-primary: #F0E4E7;
  --text-secondary:#9B8A90;

  /* Grays — warm */
  --gray-100:     #F0E4E7;
  --gray-200:     #E0D0D5;
  --gray-400:     #9B8A90;
  --gray-500:     #7B6B72;
  --gray-600:     #5A4D53;

  /* Borders */
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.16);

  /* Cards */
  --card-bg:      rgba(255,255,255,0.025);
  --card-bg-hover:rgba(255,255,255,0.05);

  /* Core tokens */
  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:  10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
  --shadow-glow: 0 0 60px rgba(107,45,62,0.18);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Noise Texture Overlay ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-secondary); font-size: 1rem; line-height: 1.75; }
.lead { font-size: 1.15rem; color: var(--gray-400); line-height: 1.7; }
.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}

/* Gradient text — maroon to rose */
.gradient-text {
  background: linear-gradient(135deg, var(--white) 20%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-blue {
  background: linear-gradient(135deg, var(--white) 20%, var(--blush) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
.section-sm { padding: 56px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(12,8,9,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  height: 68px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(12,8,9,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-bottom-color: rgba(107,45,62,0.15);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img {
  height: 36px;
  width: auto;
  transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}
/* Legacy fallback if mark still exists */
.nav-logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--rose-dark) 100%);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800;
  color: white; letter-spacing: 0.02em;
  box-shadow: 0 2px 12px var(--maroon-glow);
}
.nav-logo-text { font-size: 0.95rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.nav-logo-text span { color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color var(--transition);
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--maroon), var(--rose));
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  font-size: 0.875rem !important; font-weight: 600 !important;
  padding: 9px 22px !important;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  transition: all var(--transition) !important;
  box-shadow: 0 2px 16px var(--maroon-glow) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 28px rgba(107,45,62,0.5) !important;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 170px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 65% at 50% -10%, rgba(107,45,62,0.40) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 80% 35%, rgba(224,107,130,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 15% 65%, rgba(212,167,106,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 30% 25% at 60% 80%, rgba(107,45,62,0.12) 0%, transparent 50%);
  pointer-events: none;
}
/* Animated mesh blob */
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -150px; right: -150px;
  background: radial-gradient(circle, rgba(107,45,62,0.20) 0%, rgba(224,107,130,0.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: heroPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroPulse {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-40px, 30px) scale(1.15); opacity: 0.9; }
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(224,107,130,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,107,130,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 120% 110% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 120% 110% at 50% 0%, black 30%, transparent 80%);
}
/* Glowing dots at grid intersections */
.hero-grid-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle 1.5px at center, rgba(224,107,130,0.25) 0%, transparent 100%);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 90% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 100% 90% at 50% 0%, black 20%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(224,107,130,0.30);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--rose);
  margin-bottom: 32px;
  background: rgba(224,107,130,0.06);
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 8px var(--rose-glow);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--rose-glow); }
  50%      { opacity: 0.5; box-shadow: 0 0 16px var(--rose-glow); }
}
.hero h1 { max-width: 820px; }
.hero-sub { max-width: 620px; font-size: 1.125rem; margin-top: 24px; color: var(--gray-400); }
.hero-actions { display: flex; gap: 16px; margin-top: 48px; flex-wrap: wrap; }

/* ─── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(107,45,62,0.15);
  border: 1px solid rgba(107,45,62,0.20);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 80px;
}
.stat-item {
  background: rgba(12,8,9,0.7);
  backdrop-filter: blur(12px);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}
.stat-item:hover {
  background: rgba(107,45,62,0.08);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-number span { color: var(--rose); }
.stat-label { font-size: 0.78rem; color: var(--gray-600); margin-top: 6px; font-weight: 500; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
}
/* Shimmer hover effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
  color: var(--white);
  box-shadow: 0 2px 20px var(--maroon-glow), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(107,45,62,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(107,45,62,0.30);
}
.btn-outline:hover {
  border-color: var(--rose-dark);
  color: var(--white);
  background: rgba(107,45,62,0.10);
  box-shadow: 0 0 24px rgba(107,45,62,0.12);
}

.btn-teal {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose) 100%);
  color: var(--white); font-weight: 700;
  box-shadow: 0 2px 20px var(--rose-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(224,107,130,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-teal:active { transform: translateY(0); }

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ─── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-slow);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(107,45,62,0), rgba(224,107,130,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background var(--transition-slow);
  pointer-events: none;
}
.card:hover {
  background: var(--card-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.card:hover::before {
  background: linear-gradient(135deg, rgba(107,45,62,0.4), rgba(224,107,130,0.15));
}

.card-premium {
  background: linear-gradient(145deg, rgba(107,45,62,0.10) 0%, rgba(224,107,130,0.04) 100%);
  border-color: rgba(107,45,62,0.20);
}
.card-premium:hover { border-color: rgba(107,45,62,0.40); }

.card-teal {
  background: linear-gradient(145deg, rgba(224,107,130,0.08) 0%, rgba(107,45,62,0.04) 100%);
  border-color: rgba(224,107,130,0.20);
}
.card-teal:hover { border-color: rgba(224,107,130,0.40); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 22px;
  transition: transform var(--transition);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-2deg); }

.icon-blue   { background: rgba(107,45,62,0.18); }
.icon-teal   { background: rgba(224,107,130,0.12); }
.icon-purple { background: rgba(212,167,106,0.15); }

/* ─── Section Headers ────────────────────────────────────────── */
.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-top: 14px; }
.section-header p { max-width: 560px; margin-top: 18px; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ─── Feature List ───────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(224,107,130,0.10);
  border: 1px solid rgba(224,107,130,0.30);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  font-size: 0.65rem; color: var(--rose);
  transition: all var(--transition);
}
.feature-item:hover .feature-check {
  background: rgba(224,107,130,0.18);
  box-shadow: 0 0 12px var(--rose-glow);
  transform: scale(1.1);
}
.feature-item p { font-size: 0.925rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ─── Steps ──────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; }
.step {
  display: flex; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--border);
  transition: padding-left var(--transition);
}
.step:hover { padding-left: 8px; }
.step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(107,45,62,0.15);
  border: 1px solid rgba(107,45,62,0.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700; color: var(--rose); flex-shrink: 0;
  transition: all var(--transition);
}
.step:hover .step-num {
  background: rgba(107,45,62,0.25);
  box-shadow: 0 0 16px var(--maroon-glow);
  transform: scale(1.08);
}
.step-content h3 { color: var(--white); font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
.step-content p { font-size: 0.9rem; }

/* ─── Divider ────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); }

/* ─── Band / Dark Section ────────────────────────────────────── */
.band {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
/* Subtle gradient edge on band sections */
.band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(107,45,62,0.25) 50%, transparent 90%);
}

/* ─── Problem Block ──────────────────────────────────────────── */
.problem-block {
  padding: 28px 28px 28px 28px;
  border-left: 3px solid;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(0,0,0,0.2);
  transition: all var(--transition);
}
.problem-block:hover {
  transform: translateX(4px);
}
.problem-block.red-border  { border-color: #C75050; }
.problem-block.amber-border{ border-color: var(--gold); }
.problem-block.blue-border { border-color: var(--maroon-light); }
.problem-block h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.problem-block p { font-size: 0.875rem; }

/* ─── Comparison ─────────────────────────────────────────────── */
.comparison-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row.header-row { background: rgba(255,255,255,0.02); }
.comparison-cell { padding: 16px 20px; font-size: 0.875rem; }
.comparison-cell.label-cell { color: var(--white); font-weight: 500; }
.comparison-cell.rg-cell { color: var(--white); }
.comparison-cell.other-cell { color: var(--gray-600); }
.check-green { color: var(--rose); font-weight: 700; }
.check-red   { color: #C75050; }

/* ─── CTA Strip ──────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, rgba(107,45,62,0.22) 0%, rgba(224,107,130,0.10) 50%, rgba(212,167,106,0.06) 100%);
  border: 1px solid rgba(107,45,62,0.25);
  border-radius: var(--radius-xl);
  padding: 76px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(224,107,130,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(107,45,62,0.12) 0%, transparent 60%);
  pointer-events: none;
}
/* Animated border shimmer */
.cta-strip::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(107,45,62,0.4), rgba(224,107,130,0.1), rgba(212,167,106,0.2), rgba(107,45,62,0.4));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ctaBorderShimmer 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaBorderShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-strip h2 { position: relative; }
.cta-strip p  { max-width: 480px; margin: 18px auto 0; position: relative; }

/* ─── Tag ────────────────────────────────────────────────────── */
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(107,45,62,0.18); color: var(--blush);
  border: 1px solid rgba(107,45,62,0.25); letter-spacing: 0.02em;
  transition: all var(--transition);
}
.tag:hover { background: rgba(107,45,62,0.28); }
.tag-teal {
  background: rgba(224,107,130,0.10); color: var(--rose);
  border-color: rgba(224,107,130,0.25);
}
.tag-purple {
  background: rgba(212,167,106,0.12); color: var(--gold);
  border-color: rgba(212,167,106,0.25);
}

/* ─── Publication Grid ───────────────────────────────────────── */
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pub-item {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; text-align: center;
  font-size: 0.8rem; font-weight: 600; color: var(--gray-400);
  transition: all var(--transition); min-height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.pub-item:hover {
  border-color: rgba(107,45,62,0.3);
  color: var(--white);
  background: rgba(107,45,62,0.06);
  transform: translateY(-2px);
}
.pub-more {
  background: rgba(107,45,62,0.07);
  border-color: rgba(107,45,62,0.18);
  color: var(--blush);
}

/* ─── Trust Bar ──────────────────────────────────────────────── */
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  padding: 24px 0;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--gray-600); font-weight: 500;
  transition: color var(--transition);
}
.trust-item:hover { color: var(--gray-400); }
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose); flex-shrink: 0;
  box-shadow: 0 0 6px var(--rose-glow);
}

/* ─── Form ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-400); margin-bottom: 8px; display: block; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bg-light);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 16px; font-size: 0.9rem;
  color: var(--white); font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(107,45,62,0.50);
  box-shadow: 0 0 0 3px rgba(107,45,62,0.12), 0 0 20px rgba(107,45,62,0.08);
}
.form-input::placeholder { color: var(--gray-600); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A4D53' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Page Header ────────────────────────────────────────────── */
.page-header {
  padding: 148px 0 72px; position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(107,45,62,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(224,107,130,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 { max-width: 700px; }
.page-header .lead { margin-top: 18px; max-width: 580px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(107,45,62,0.3) 50%, transparent 95%);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand p { font-size: 0.875rem; margin-top: 16px; max-width: 280px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 0.875rem; color: var(--gray-600);
  margin-bottom: 12px; transition: color var(--transition), padding-left var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--gray-600);
}
.footer-bottom a { color: var(--gray-600); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--rose); }
.footer-link-teal {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--rose);
  border: 1px solid rgba(224,107,130,0.22);
  padding: 5px 14px; border-radius: 100px;
  transition: all var(--transition);
}
.footer-link-teal:hover {
  background: rgba(224,107,130,0.08);
  border-color: rgba(224,107,130,0.4);
  transform: translateX(2px);
}

/* ─── Number Highlight ───────────────────────────────────────── */
.highlight-num {
  font-size: 3rem; font-weight: 800; letter-spacing: -0.05em;
  line-height: 1; color: var(--white);
}
.highlight-num span { color: var(--rose); }

/* ─── Inline Info Row ────────────────────────────────────────── */
.info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition);
}
.info-row:hover {
  background: rgba(107,45,62,0.05);
  border-color: rgba(107,45,62,0.18);
  transform: translateX(4px);
}
.info-row-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0;
}
.info-row h5 { font-size: 0.875rem; color: var(--white); margin-bottom: 4px; font-weight: 600; }
.info-row p  { font-size: 0.82rem; }

/* ─── Scroll Reveal Animations ──────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal="left"] {
  transform: translateX(-40px);
}
[data-reveal="right"] {
  transform: translateX(40px);
}
[data-reveal="scale"] {
  transform: scale(0.92);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-stagger].revealed > * { opacity: 1; transform: translateY(0); }
[data-stagger].revealed > *:nth-child(1)  { transition-delay: 0.04s; }
[data-stagger].revealed > *:nth-child(2)  { transition-delay: 0.08s; }
[data-stagger].revealed > *:nth-child(3)  { transition-delay: 0.12s; }
[data-stagger].revealed > *:nth-child(4)  { transition-delay: 0.16s; }
[data-stagger].revealed > *:nth-child(5)  { transition-delay: 0.20s; }
[data-stagger].revealed > *:nth-child(6)  { transition-delay: 0.24s; }
[data-stagger].revealed > *:nth-child(7)  { transition-delay: 0.28s; }
[data-stagger].revealed > *:nth-child(8)  { transition-delay: 0.32s; }
[data-stagger].revealed > *:nth-child(9)  { transition-delay: 0.36s; }
[data-stagger].revealed > *:nth-child(10) { transition-delay: 0.40s; }
[data-stagger].revealed > *:nth-child(11) { transition-delay: 0.44s; }
[data-stagger].revealed > *:nth-child(12) { transition-delay: 0.48s; }
[data-stagger].revealed > *:nth-child(13) { transition-delay: 0.52s; }
[data-stagger].revealed > *:nth-child(14) { transition-delay: 0.56s; }
[data-stagger].revealed > *:nth-child(15) { transition-delay: 0.60s; }
[data-stagger].revealed > *:nth-child(16) { transition-delay: 0.64s; }

/* ─── Cursor Glow ────────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,45,62,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero::after { width: 350px; height: 350px; top: -80px; right: -80px; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .cta-strip { padding: 48px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero { padding: 130px 0 72px; }
  .hero::after { display: none; }
  .cursor-glow { display: none; }
  .section { padding: 72px 0; }
  .section-sm { padding: 40px 0; }
  .container { padding: 0 20px; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }

  /* Disable scroll animations on mobile for performance */
  [data-reveal],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal],
  [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Accessibility utilities ────────────────────────────────── */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--maroon);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 10001;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* Visible focus ring for all interactive elements */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* ─── Mobile Nav Toggle ──────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color var(--transition);
}
.nav-toggle:hover { border-color: var(--border-hover); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(12,8,9,0.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    transform: translateY(-110%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    visibility: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
  }
  .nav-links a {
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-links a::after { display: none; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
    padding: 12px 22px !important;
  }
  body.nav-open { overflow: hidden; }
}

/* ─── Form A11y & UX polish ──────────────────────────────────── */
.form-label .req,
.required-mark {
  color: var(--rose);
  font-weight: 700;
  margin-left: 2px;
}
.form-help {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 6px;
  line-height: 1.5;
}
.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #C75050;
  box-shadow: 0 0 0 3px rgba(199,80,80,0.12);
}
.form-error-msg {
  display: block;
  color: #E06B82;
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 500;
}
.form-section {
  border: none;
  padding: 0;
  margin: 0 0 28px;
}
.form-section + .form-section { border-top: 1px solid var(--border); padding-top: 24px; }
.form-section legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
  padding: 0;
}
.form-select option { background: var(--bg-light); color: var(--white); }
.form-required-note {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.form-required-note .req { color: var(--rose); }

/* Larger tap targets on touch devices for buttons */
@media (max-width: 760px) {
  .btn { min-height: 44px; }
  .form-input, .form-select, .form-textarea { font-size: 1rem; padding: 14px 16px; }
  .form-textarea { min-height: 140px; }
}

/* Reduce expensive transforms on touch (no hover state available) */
@media (hover: none) {
  .card:hover { transform: none; }
  .step:hover { padding-left: 0; }
  .problem-block:hover { transform: none; }
}
