/* ============================================================================
   MASTER STYLESHEET
   ----------------------------------------------------------------------------
   Theme variables are injected from PHP config — see /includes/head.php
   This file contains:
     · Reset & base
     · Typography
     · Buttons
     · Layout primitives
     · Navigation (desktop + mobile)
     · Hero
     · Marquee
     · Section header
     · Features grid
     · Steps
     · Use cases
     · Comparison table
     · Metrics (animated counters)
     · Pricing
     · FAQ
     · Final CTA
     · Footer
     · Floating contact pill (Calendly + email)
     · Scroll-reveal animations
     · Mobile breakpoints
     · Accessibility helpers
     · Reduced-motion preference
   ============================================================================ */

:root {
  /* Theme variables get overridden by inline <style> from PHP — these are fallbacks */
  --bg: #ffffff;
  --bg-alt: #f7f7f6;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --muted-2: #a3a3a3;
  --line: #e8e8e6;
  --line-strong: #d4d4d2;
  --accent: #0a0a0a;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.06);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* Subtle fixed grain — premium feel */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----- ACCESSIBILITY ----- */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Visually hidden (for screen readers only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- LAYOUT ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ----- TYPOGRAPHY ----- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}
h1 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(36px, 5.5vw, 68px); font-weight: 700; letter-spacing: -0.04em; }
h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }

p { color: var(--ink-soft); }
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
  font-weight: 400;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  min-height: 44px; /* tap target */
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================================
   01 NAV
   ============================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.7);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--ink);
  border-radius: 8px;
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before {
  content: '';
  width: 12px; height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-45deg);
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; min-height: 0; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease-out);
}
.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); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--gutter) 24px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}
.nav-mobile a {
  padding: 14px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: none; margin-top: 12px; }
.nav-mobile .btn { justify-content: center; }

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile[hidden=""] { display: none; }
  .nav-mobile { display: flex; }
}

/* ============================================================================
   02 HERO
   ============================================================================ */
/* Tight enough that the eyebrow, headline, lead and both buttons land above the fold on a laptop. */
.hero { padding: 112px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--line-strong) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 100% 80% at center, black 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at center, black 50%, transparent 95%);
  opacity: 0.85;
  pointer-events: none;
}
/* Decorative side markers — fill the wide-screen empty zones with intent */
.hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%);
  background-size: 8px 1px;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 20%, transparent 35%, transparent 65%, black 80%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 20%, transparent 35%, transparent 65%, black 80%, black 95%, transparent);
  opacity: 0.4;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }

/* Side decorations — visible only on wide screens, makes the empty side zones intentional */
.hero-inner::before,
.hero-inner::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 80px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
}
.hero-inner::before {
  left: -120px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at center, var(--ink) 4px, transparent 5px),
    radial-gradient(circle, var(--line-strong) 1px, transparent 1px);
  background-size: 100% 100%, 12px 12px;
}
.hero-inner::after {
  right: -120px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle, var(--line-strong) 1px, transparent 1px);
  background-size: 12px 12px;
}
@media (max-width: 1400px) {
  .hero-inner::before, .hero-inner::after { display: none; }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  margin-bottom: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.badge {
  flex: 1 1 180px;
  padding: 14px 22px;
  text-align: left;
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease-out);
}
.badge:last-child { border-right: none; }
.badge:hover { background: var(--bg-alt); }
.badge strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.badge span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}

.hero h1 { margin: 14px auto 14px; max-width: 20ch; }
.hero .lead { margin: 0 auto 40px; }
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.stat { text-align: center; border-right: 1px solid var(--line); padding: 0 16px; }
.stat:last-child { border-right: none; }
.stat-value { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 8px; }

/* Hero stagger reveal */
.hero-reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s var(--ease-out) forwards;
}
.hero-reveal:nth-child(1) { animation-delay: 0.05s; }
.hero-reveal:nth-child(2) { animation-delay: 0.20s; }
.hero-reveal:nth-child(3) { animation-delay: 0.35s; }
.hero-reveal:nth-child(4) { animation-delay: 0.50s; }
.hero-reveal:nth-child(5) { animation-delay: 0.65s; }
.hero-reveal:nth-child(6) { animation-delay: 0.80s; }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .badge { flex: 1 1 50%; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .badge:nth-child(2n) { border-right: none; }
  .badge:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 460px) {
  .badge { flex: 1 1 100%; border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .badge:last-child { border-bottom: none !important; }
}
@media (max-width: 640px) {
  .hero { padding: 96px 0 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 24px; }
}

/* Compact hero variant for inner pages */
.hero-compact { padding: 104px 0 44px; }
.hero-compact .badge-row { display: none; }
.hero-compact h1 { font-size: clamp(30px, 3.8vw, 50px); max-width: 24ch; }
.hero-compact .hero-ctas { margin-bottom: 0; }
.hero-compact .hero-stats { display: none; }

/* ============================================================================
   03 MARQUEE
   ============================================================================ */
.marquee { padding: 60px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-label { text-align: center; margin-bottom: 28px; }
.marquee-track { display: flex; gap: 64px; animation: scroll 32s linear infinite; width: max-content; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-item { font-size: 24px; font-weight: 700; color: var(--muted-2); white-space: nowrap; letter-spacing: -0.03em; transition: color 0.3s; }
.marquee-item:hover { color: var(--ink); }

/* ============================================================================
   SECTION SHARED
   ============================================================================ */
.section { padding: 120px 0; }
.section-head { text-align: center; margin-bottom: 72px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { max-width: 18ch; margin: 0 auto 16px; }
.section-head .lead { margin: 0 auto; }

@media (max-width: 760px) { .section { padding: 80px 0; } }

/* ============================================================================
   04 FEATURES
   ============================================================================ */
.features { background: var(--bg-alt); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease-out);
  position: relative;
}
.feature:nth-child(3n) { border-right: none; }
.feature:nth-last-child(-n+3) { border-bottom: none; }
.feature:hover { background: var(--bg-alt); }
.feature-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
  font-size: 20px;
  font-weight: 700;
}
.feature:hover .feature-icon { transform: rotate(-6deg) scale(1.05); background: var(--ink); color: #fff; }
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(2n) { border-right: none; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: none !important; border-bottom: 1px solid var(--line) !important; padding: 32px 24px; }
  .feature:last-child { border-bottom: none !important; }
}

/* ============================================================================
   05 STEPS
   ============================================================================ */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 1px;
  background-image: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
  background-size: 12px 1px;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--ink);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.step-number::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}
.step:hover .step-number { background: var(--ink); color: #fff; }
.step:hover .step-number::before { opacity: 1; inset: -10px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 40px; } .steps::before { display: none; } }

/* ============================================================================
   06 USE CASES
   ============================================================================ */
.use-cases { background: var(--bg-alt); }
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usecase {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}
.usecase::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--ink);
  transition: width 0.5s var(--ease-out);
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usecase:hover::before { width: 100%; }
.usecase-tag {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  border-radius: 999px;
}
.usecase h3 { font-size: 22px; margin: 64px 0 12px; }
.usecase p { font-size: 14px; color: var(--muted); }
.usecase.featured { grid-column: span 2; background: var(--ink); color: #fff; border-color: var(--ink); }
.usecase.featured h3, .usecase.featured p { color: #fff; }
.usecase.featured p { color: var(--muted-2); }
.usecase.featured .usecase-tag { color: #fff; border-color: rgba(255,255,255,0.3); }
.usecase.featured::before { background: #fff; }
@media (max-width: 900px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } .usecase.featured { grid-column: span 2; } }
@media (max-width: 560px) { .usecase-grid { grid-template-columns: 1fr; } .usecase.featured { grid-column: span 1; } }

/* ============================================================================
   07 COMPARE
   ============================================================================ */
.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg-alt); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .col-self { background: var(--ink); color: #fff; font-weight: 600; }
.compare-table .col-self-head { background: var(--ink) !important; color: #fff; }
.check { font-weight: 600; }
.cross { color: var(--muted-2); }
@media (max-width: 600px) {
  .compare-table th, .compare-table td { padding: 14px 16px; font-size: 13px; }
}

/* ============================================================================
   08 METRICS
   ============================================================================ */
.metrics { background: var(--ink); color: #fff; }
.metrics .section-head h2 { color: #fff; }
.metrics .section-head .lead { color: var(--muted-2); }
.metrics .eyebrow { color: var(--muted-2); }
.metrics .eyebrow .dot { background: #fff; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.metric { background: var(--ink); padding: 48px 32px; text-align: center; transition: background 0.3s; }
.metric:hover { background: #161616; }
.metric-value { font-size: clamp(46px, 6vw, 76px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.metric-suffix { font-size: 0.55em; color: var(--muted-2); margin-left: 4px; font-weight: 600; }
.metric-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-top: 16px; }
@media (max-width: 800px) { .metric-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================================
   09 PRICING
   ============================================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tier {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.02);
}
.tier.featured:hover { transform: scale(1.02) translateY(-4px); }
.tier.featured h3, .tier.featured .tier-price { color: #fff; }
.tier.featured .tier-features li { color: var(--muted-2); }
.tier.featured .tier-features li::before { background: #fff; }
.tier-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #fff;
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
}
.tier h3 { font-size: 22px; margin-bottom: 8px; }
.tier-desc { color: var(--muted); font-size: 13px; margin-bottom: 24px; min-height: 36px; }
.tier.featured .tier-desc { color: var(--muted-2); }
.tier-price { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.tier-price-sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.tier.featured .tier-price-sub { color: var(--muted-2); }
.tier-features { margin-bottom: 28px; flex: 1; }
.tier-features li { font-size: 13.5px; padding: 10px 0 10px 22px; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.tier.featured .tier-features li { border-color: rgba(255,255,255,0.1); }
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before { content: ''; position: absolute; left: 0; top: 17px; width: 12px; height: 1px; background: var(--ink); }
.tier .btn { width: 100%; justify-content: center; }
.tier.featured .btn-primary { background: #fff; color: var(--ink); }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } .tier.featured { transform: none; } .tier.featured:hover { transform: translateY(-4px); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   10 FAQ
   ============================================================================ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  transition: transform 0.3s var(--ease-out);
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--muted); }
.faq-body { padding: 0 48px 24px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ============================================================================
   11 FINAL CTA
   ============================================================================ */
.final-cta {
  text-align: center;
  padding: 140px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: attr(data-watermark);
  position: absolute;
  bottom: -50px; left: 50%;
  transform: translateX(-50%);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 800;
  color: var(--bg-alt);
  letter-spacing: -0.05em;
  z-index: 0;
  pointer-events: none;
  line-height: 0.85;
  white-space: nowrap;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 { max-width: 18ch; margin: 0 auto 24px; }
.final-cta .lead { margin: 0 auto 40px; }
.final-cta .hero-ctas { margin-bottom: 0; }

/* ============================================================================
   12 FOOTER
   ============================================================================ */
.footer { padding: 80px 0 40px; background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand p { color: var(--muted-2); font-size: 14px; max-width: 320px; margin-top: 16px; line-height: 1.6; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-mark { background: #fff; }
.footer-brand .logo-mark::before { border-color: var(--ink); border-right-color: transparent; border-bottom-color: transparent; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a { font-size: 13px; color: #fff; opacity: 0.7; transition: opacity 0.2s; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; }
.footer-social a:hover { opacity: 1; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: #fff; opacity: 0.7; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================================
   FLOATING CONTACT PILL — bottom right, always visible
   ============================================================================ */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: calc(24px + var(--safe-bottom));
  z-index: 90;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.floating-cta.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.fc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s var(--ease-out);
  min-height: 48px;
}
.fc-toggle:hover { transform: translateY(-2px); box-shadow: 0 32px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06); }
.fc-toggle .fc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out);
}
.floating-cta.is-open .fc-toggle .fc-icon { transform: rotate(45deg); }
.floating-cta.is-open .fc-toggle .fc-icon svg path { d: path("M12 5v14M5 12h14"); }
.fc-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.floating-cta.is-open .fc-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fc-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 8px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: var(--ink);
}
.fc-option:hover { background: var(--bg-alt); }
.fc-option-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.fc-option-sub { font-size: 12px; color: var(--muted); }

@media (max-width: 600px) {
  .floating-cta { right: 16px; bottom: calc(16px + var(--safe-bottom)); }
  .fc-toggle .fc-label { display: none; }
  .fc-toggle { padding: 14px; width: 52px; height: 52px; justify-content: center; }
  .fc-panel { min-width: calc(100vw - 32px); right: 0; }
}

/* ============================================================================
   SCROLL REVEAL
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.30s; }

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info h3 { font-size: 28px; margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }
.contact-method {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-method:last-child { border-bottom: none; }
.contact-method-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-method strong { font-size: 17px; font-weight: 600; }
.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--ink);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 8px; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 24px; }
}

/* ============================================================================
   404
   ============================================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.error-page h1 { font-size: clamp(80px, 14vw, 200px); }
.error-page h2 { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 24px; }

/* ============================================================================
   REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-reveal { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ============================================================================
   PRINT
   ============================================================================ */
@media print {
  .nav, .footer, .floating-cta, .marquee { display: none !important; }
  .hero { padding: 20px 0; }
  body { color: #000; background: #fff; }
}

/* ---- Regulens: primary actions use the brand accent, not the ink colour ---- */
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #4A32B4; }
.tier.featured { border-color: var(--accent); }
.tier-tag { background: var(--accent); color: #fff; }
.eyebrow .dot { background: var(--accent); }
a { color: var(--accent); }
.nav-links a:hover, .footer a:hover { color: var(--accent); }

/* Currency switch on the pricing grid */
.cur-switch { display: flex; justify-content: center; gap: 4px; margin: 0 0 22px; }
.cur-switch a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.cur-switch a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.cur-switch a:hover { border-color: var(--accent); color: var(--accent); }
.cur-switch a.on:hover { color: #fff; }

/* ---- Pricing as one comparison table: every plan a column, all prices on one row ---- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 900px; }
.cmp-table th, .cmp-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp-table thead th { border-bottom: 2px solid var(--line); vertical-align: bottom; }
.cmp-label { text-align: left !important; color: var(--muted); font-weight: 500; white-space: nowrap; width: 210px; }
.cmp-name { display: block; font-size: 17px; font-weight: 700; color: var(--ink); }
.cmp-desc { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; max-width: 170px; }
.cmp-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.cmp-price { display: block; font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.cmp-sub { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.cmp-price-row td { padding-top: 16px; padding-bottom: 16px; }
.cmp-table .yes { color: var(--accent); font-weight: 700; font-size: 16px; }
.cmp-table .no { color: #c9c4d8; }
.cmp-table .is-popular { background: rgba(91, 63, 214, .04); }
.cmp-table thead th.is-popular { background: rgba(91, 63, 214, .07); border-top-left-radius: 10px; border-top-right-radius: 10px; }
.cmp-cta-row td { border-bottom: 0; padding-top: 16px; padding-bottom: 18px; }
.cmp-foot { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 14px; }
.tiny-muted { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- catalogue pages (portals, compliance library) ---------- */
.cat-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 8px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cat-stats .stat:last-child { border-right: 0; }
.cat-table th.cmp-label { text-align: left; width: 26%; }
.cat-table td, .cat-table th { vertical-align: top; }
.cat-name { display: block; font-weight: 700; }
.cat-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.cat-desc { color: var(--muted); }
.cat-table .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .cat-stats { grid-template-columns: repeat(2, 1fr); row-gap: 16px; } }

/* ============================================================================
   Oct 2026 — wider page, a two-column hero, the launch offer
   ============================================================================ */
:root { --container: 1440px; }

/* Hero: the pitch on the left, the dashboard it describes on the right, so a wide screen is not two empty margins. */
.hero-split { padding: 104px 0 56px; }
.hero-split::after { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.hero-copy { text-align: left; }
.hero-split h1 { margin: 14px 0 16px; max-width: 16ch; font-size: clamp(34px, 4.2vw, 64px); }
.hero-split .lead { margin: 0 0 32px; max-width: 58ch; }
.hero-split .hero-ctas { justify-content: flex-start; margin-bottom: 14px; }
.hero-note { font-size: 13px; color: var(--muted); }

.offer-pill { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(91,63,214,.12), rgba(236,72,153,.10)); border: 1px solid rgba(91,63,214,.35); color: var(--ink); font-size: 13.5px; text-decoration: none; }
.offer-pill:hover { border-color: var(--accent); }
.offer-pill-tag { background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.offer-pill b { color: #C2185B; }


.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.75); text-align: left; }
.benefit-icon { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(91,63,214,.10); color: var(--accent); font-weight: 800; font-size: 18px; }
.benefit strong { display: block; font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; }
.benefit span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-split h1, .hero-split .lead { margin-left: auto; margin-right: auto; }
  .hero-split .hero-ctas { justify-content: center; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero-split { padding: 92px 0 40px; }
  .benefits { grid-template-columns: 1fr; margin-top: 40px; }
}

/* What a missed date costs: a sentence under each figure, not a shouted label. */
.metric-label { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.5; max-width: 26ch; margin-left: auto; margin-right: auto; }
.metric-value .metric-suffix:first-child { margin-left: 0; margin-right: 2px; }
.metric-foot { text-align: center; color: var(--muted-2); font-size: 12.5px; margin-top: 18px; }

/* The launch offer on the pricing table. */
.offer-banner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 0 auto 28px; padding: 26px 32px; border-radius: 20px;
  background: linear-gradient(120deg, #4A2FC9 0%, #6C47E8 55%, #B83C9A 100%); color: #fff; box-shadow: 0 20px 50px rgba(91,63,214,.30); }
.offer-badge { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.offer-big { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-top: 10px; }
.offer-text { font-size: 16px; opacity: .92; margin-top: 4px; }
.offer-left { font-size: 18px; }
.offer-left b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: #FFE27A; }
.offer-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.22); margin: 10px 0 8px; overflow: hidden; }
.offer-bar span { display: block; height: 100%; border-radius: 999px; background: #FFE27A; }
.offer-small { font-size: 13px; opacity: .85; }
@media (max-width: 760px) { .offer-banner { grid-template-columns: 1fr; gap: 18px; padding: 22px; } }

.cmp-was { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.cmp-was s { text-decoration-thickness: 1.5px; }
.cmp-off { display: inline-block; background: #FCE7F3; color: #B0246F; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.cmp-save { display: inline-block; margin-top: 6px; font-size: 11.5px; font-weight: 600; color: #276749; background: #E6F6EC; padding: 2px 8px; border-radius: 999px; }
.metrics .metric-value { white-space: nowrap; font-size: clamp(40px, 4.4vw, 68px); }
.metrics .metric-suffix { font-size: 0.45em; }
.benefit-icon { font-size: 20px; }
@media (max-width: 600px) {
  .offer-pill { border-radius: 16px; font-size: 12.5px; gap: 6px 8px; justify-content: center; padding: 8px 12px; }
  .offer-pill .arrow { display: none; }
}

/* ============================================================================
   Colour — the application's palette on the public site
   ============================================================================ */
:root {
  --c-purple: #5B3FD6; --c-purple-soft: #EEEAFD;
  --c-blue:   #2F6FED; --c-blue-soft:   #E6EEFE;
  --c-teal:   #0E9384; --c-teal-soft:   #DFF5F1;
  --c-pink:   #D6409F; --c-pink-soft:   #FCE7F3;
  --c-amber:  #D68A0C; --c-amber-soft:  #FDF1DC;
  --c-green:  #2F9E5B; --c-green-soft:  #E3F5EA;
  --c-red:    #E5484D;
  --grad-brand: linear-gradient(120deg, #4A2FC9 0%, #6C47E8 50%, #C2409A 100%);
}
.eyebrow { color: var(--c-purple); font-weight: 600; }
.eyebrow .dot { background: var(--c-pink); }
.grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero: soft colour behind the dotted grid */
.hero-split { background:
  radial-gradient(600px 380px at 8% 18%, rgba(91,63,214,.13), transparent 70%),
  radial-gradient(520px 360px at 92% 30%, rgba(214,64,159,.11), transparent 70%),
  radial-gradient(700px 400px at 60% 100%, rgba(47,111,237,.09), transparent 70%); }
.hero-visual { position: relative; }
.shot-frame { display: block; background: #fff; border: 1px solid #DCD6F3; border-radius: 14px; overflow: hidden; text-decoration: none;
  box-shadow: 0 30px 70px rgba(54,34,140,.18), 0 2px 6px rgba(36,31,58,.06); transition: transform .4s var(--ease-out), box-shadow .4s; }
.shot-frame:hover { transform: translateY(-3px); box-shadow: 0 36px 80px rgba(54,34,140,.24), 0 2px 6px rgba(36,31,58,.06); }
.shot-chrome { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #F4F2FA; border-bottom: 1px solid #E4E0F2; }
.shot-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #E5484D; }
.shot-chrome i:nth-child(2) { background: #F5B740; }
.shot-chrome i:nth-child(3) { background: #3DBE6E; }
.shot-chrome em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.shot-frame img { display: block; width: 100%; height: auto; }
.hero-frame { transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); }
.hero-frame:hover { transform: perspective(1600px) rotateY(0) rotateX(0) translateY(-3px); }
.float-card { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 18px 40px rgba(36,31,58,.16); border: 1px solid var(--line); }
.float-card small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.float-card b { display: block; font-size: 15px; color: var(--ink); }
.float-card i { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.fc-1 { left: -28px; bottom: 34px; border-left: 4px solid var(--c-red); }
.fc-1 b { font-size: 24px; color: var(--c-red); font-weight: 800; }
.fc-2 { right: -18px; top: 64px; display: flex; gap: 10px; align-items: center; border-left: 4px solid var(--c-green); }
.fc-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--c-green-soft); position: relative; flex: 0 0 26px; }
.fc-dot::after { content: '\2713'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-green); font-weight: 800; font-size: 14px; }
@media (max-width: 1100px) { .hero-visual { max-width: 720px; margin: 0 auto; width: 100%; } .hero-frame { transform: none; } }
@media (max-width: 600px) { .float-card { display: none; } }

/* Benefits: a colour each */
.benefit:nth-child(1) .benefit-icon { background: var(--c-purple-soft); color: var(--c-purple); }
.benefit:nth-child(2) .benefit-icon { background: var(--c-teal-soft); color: var(--c-teal); }
.benefit:nth-child(3) .benefit-icon { background: var(--c-pink-soft); color: var(--c-pink); }
.benefit:nth-child(4) .benefit-icon { background: var(--c-blue-soft); color: var(--c-blue); }
.benefit { background: #fff; box-shadow: 0 6px 20px rgba(36,31,58,.05); }

/* Marquee: the departments in colour */
.marquee { background: #fff; }
.marquee-item:nth-child(5n+1) { color: #8B78E6; } .marquee-item:nth-child(5n+2) { color: #6C9BF2; }
.marquee-item:nth-child(5n+3) { color: #3FB5A6; } .marquee-item:nth-child(5n+4) { color: #E07BBE; }
.marquee-item:nth-child(5n+5) { color: #E3A94A; }

/* Tour */
.tour { background: linear-gradient(180deg, #F6F3FF 0%, #FBFAFF 60%, #fff 100%); }
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px auto 36px; }
.tour-tab { border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: 14.5px; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: all .25s; }
.tour-tab:hover { border-color: var(--c-purple); }
.tour-tab.on { color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(36,31,58,.15); }
.tour-tab.on.tone-purple { background: var(--c-purple); } .tour-tab.on.tone-blue { background: var(--c-blue); }
.tour-tab.on.tone-teal { background: var(--c-teal); } .tour-tab.on.tone-pink { background: var(--c-pink); }
.tour-tab.on.tone-amber { background: var(--c-amber); }
.tour-panel { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 48px; align-items: center; }
.tour-panel[hidden] { display: none; }
.tour-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tone-purple.tour-kicker { background: var(--c-purple-soft); color: var(--c-purple); } .tone-blue.tour-kicker { background: var(--c-blue-soft); color: var(--c-blue); }
.tone-teal.tour-kicker { background: var(--c-teal-soft); color: var(--c-teal); } .tone-pink.tour-kicker { background: var(--c-pink-soft); color: var(--c-pink); }
.tone-amber.tour-kicker { background: var(--c-amber-soft); color: #A86B05; }
.tour-copy h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 16px 0 12px; line-height: 1.15; }
.tour-copy p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.tour-copy ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.tour-copy li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink); }
.tour-copy li::before { content: '\2713'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-green-soft); color: var(--c-green); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 1000px) { .tour-panel { grid-template-columns: 1fr; gap: 28px; } }

/* Features: coloured tiles */
.features { background: #fff; }
.feature-grid { border-color: #E7E3F5; box-shadow: 0 10px 30px rgba(36,31,58,.05); }
.feature-icon { border: 0; border-radius: 12px; width: 48px; height: 48px; }
.feature:nth-child(6n+1) .feature-icon { background: var(--c-purple-soft); color: var(--c-purple); }
.feature:nth-child(6n+2) .feature-icon { background: var(--c-blue-soft); color: var(--c-blue); }
.feature:nth-child(6n+3) .feature-icon { background: var(--c-teal-soft); color: var(--c-teal); }
.feature:nth-child(6n+4) .feature-icon { background: var(--c-pink-soft); color: var(--c-pink); }
.feature:nth-child(6n+5) .feature-icon { background: var(--c-amber-soft); color: #A86B05; }
.feature:nth-child(6n+6) .feature-icon { background: var(--c-green-soft); color: var(--c-green); }
.feature:hover { background: #FBFAFF; }
.feature:hover .feature-icon { background: var(--c-purple); color: #fff; }

/* Reports */
.reports-sec { background: linear-gradient(180deg, #fff 0%, #F5F8FF 100%); }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.report-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 10px 30px rgba(36,31,58,.06); transition: transform .3s var(--ease-out), box-shadow .3s; border-top: 4px solid var(--c-purple); }
.report-card.tone-pink { border-top-color: var(--c-pink); } .report-card.tone-teal { border-top-color: var(--c-teal); }
.report-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(36,31,58,.12); }
.report-img { display: block; height: 220px; overflow: hidden; background: #F4F2FA; border-bottom: 1px solid var(--line); }
.report-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.report-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.report-who { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-purple); }
.tone-pink .report-who { color: var(--c-pink); } .tone-teal .report-who { color: var(--c-teal); }
.report-body strong { font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.report-body span:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.report-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; align-items: center; }
.report-list-label { font-weight: 700; font-size: 14px; color: var(--ink); margin-right: 6px; }
.report-chip { font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.report-chip.c0 { background: var(--c-purple-soft); color: var(--c-purple); } .report-chip.c1 { background: var(--c-blue-soft); color: var(--c-blue); }
.report-chip.c2 { background: var(--c-teal-soft); color: var(--c-teal); } .report-chip.c3 { background: var(--c-pink-soft); color: var(--c-pink); }
.report-chip.c4 { background: var(--c-amber-soft); color: #A86B05; } .report-chip.c5 { background: var(--c-green-soft); color: var(--c-green); }
@media (max-width: 1000px) { .report-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

/* Steps: numbered in colour */
.steps::before { background-image: linear-gradient(90deg, var(--c-purple) 50%, transparent 50%); opacity: .4; }
.step-number { border: 0; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 24px rgba(91,63,214,.25); }
.step:nth-child(2) .step-number { background: linear-gradient(135deg, #2F6FED, #6C47E8); }
.step:nth-child(3) .step-number { background: linear-gradient(135deg, #0E9384, #2F6FED); }
.step:nth-child(4) .step-number { background: linear-gradient(135deg, #D6409F, #F08A4B); }
.step-number::before { border-color: var(--c-purple); }

/* Use cases and comparison */
.use-cases { background: #FBFAFF; }
.usecase.featured { background: var(--grad-brand); border-color: transparent; }
.usecase-tag { color: var(--c-purple); }
.usecase.featured .usecase-tag { color: #fff; }
.compare-table .col-self, .compare-table .col-self-head { background: var(--c-purple) !important; }
.compare-table tbody tr:nth-child(odd) .col-self { background: #6247DC !important; }

/* Metrics: the brand gradient, not black */
.metrics { background: linear-gradient(135deg, #2A1B78 0%, #4A2FC9 55%, #8E2F86 100%); }
.metric-grid { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.18); }
.metric { background: rgba(20,10,60,.35); }
.metric:hover { background: rgba(20,10,60,.5); }
.metrics .metric-suffix { color: #FFD67A; }
.metrics .metric-label, .metrics .section-head .lead, .metric-foot { color: rgba(255,255,255,.8); }
.metrics .eyebrow { color: #FFD67A; }

/* Final call to action on colour */
.final-cta { background: var(--grad-brand); border-top: 0; }
.final-cta::before { color: rgba(255,255,255,.07); }
.final-cta h2, .final-cta .lead { color: #fff; }
.final-cta .lead { opacity: .9; }
.final-cta .btn-primary { background: #fff; color: var(--c-purple); }
.final-cta .btn-primary:hover { background: #F1EDFF; }
.final-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,.12); }

@media (min-width: 1101px) { .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 64px); } }

.benefit-icon { font-size: 22px; line-height: 1; }

h2 { font-size: clamp(32px, 4.2vw, 54px); }
.section { padding: 104px 0; }
.section-head { margin-bottom: 56px; }
.section-head h2 { max-width: 22ch; }
@media (min-width: 901px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .feature { padding: 32px 28px; }
  .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .feature:nth-child(4n) { border-right: none; }
  .feature:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .feature:nth-last-child(-n+4) { border-bottom: none; }
  .feature h3 { font-size: 21px; }
}

/* ============================================================================
   Inner pages (Features, Use cases, Portals, Library, Pricing, Contact)
   ============================================================================ */
/* The page header: a band of colour, no half-cut circles at the edges, no dead space under it. */
.hero-compact { padding: 112px 0 64px; background:
  radial-gradient(520px 300px at 12% 10%, rgba(91,63,214,.16), transparent 70%),
  radial-gradient(520px 320px at 88% 20%, rgba(214,64,159,.12), transparent 70%),
  linear-gradient(180deg, #F7F4FF 0%, #fff 100%); border-bottom: 1px solid #EEEAF8; }
.hero-compact::after, .hero-compact .hero-inner::before, .hero-compact .hero-inner::after { display: none; }
.hero-compact h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero-compact .lead { margin-bottom: 0; }
.hero-compact + .section { padding-top: 56px; }

/* Figures above a catalogue: four coloured cards, the number over its label. */
.cat-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; border: 0; margin: 0 0 40px; }
.cat-stats .stat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(36,31,58,.05); border-top: 4px solid var(--c-purple); }
.cat-stats .stat:nth-child(2) { border-top-color: var(--c-teal); }
.cat-stats .stat:nth-child(3) { border-top-color: var(--c-pink); }
.cat-stats .stat:nth-child(4) { border-top-color: var(--c-amber); }
.cat-stats .stat:last-child { border-right: 1px solid var(--line); }
.cat-stats .stat-value { display: block; font-size: 36px; }
.cat-stats .stat-label { display: block; margin-top: 0; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 14px; }
@media (max-width: 820px) { .cat-stats { grid-template-columns: repeat(2, 1fr); } }

/* One heading per country: a line with its count, not a poster-sized word. */
.cat-country { display: flex; align-items: baseline; gap: 12px; margin: 44px 0 14px; }
.cat-country h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; letter-spacing: -.02em; }
.cat-country span { font-size: 13px; font-weight: 600; color: var(--c-purple); background: var(--c-purple-soft); padding: 4px 12px; border-radius: 999px; }
.cat-table thead th { background: #F7F5FD; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.cat-table td { text-align: left; }
.cat-table tbody tr:hover td, .cat-table tbody tr:hover th { background: #FBFAFF; }
.pill-live { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--c-green-soft); color: var(--c-green); }
.pill-soon { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #F1EFF7; color: var(--muted); }

/* Contact */
.contact-sec { background: linear-gradient(180deg, #fff 0%, #F8F6FF 100%); }
.contact-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; max-width: 1180px; margin: 0 auto; }
.contact-side { color: #fff; border-radius: 20px; padding: 32px; background: radial-gradient(500px 300px at 0% 0%, rgba(255,255,255,.12), transparent 60%), linear-gradient(150deg, #3B24B0 0%, #5B3FD6 50%, #9B3A9E 100%); box-shadow: 0 24px 50px rgba(74,47,201,.28); }
.contact-side h2 { color: #fff; font-size: 24px; margin: 0 0 18px; }
.contact-steps { list-style: none; counter-reset: step; display: grid; gap: 16px; margin: 0 0 26px; padding: 0; }
.contact-steps li { counter-increment: step; position: relative; padding-left: 44px; }
.contact-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.contact-steps b { display: block; font-size: 15.5px; }
.contact-steps span { display: block; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.5; }
.contact-direct { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-direct small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.contact-direct a { color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }
.contact-try { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.contact-try span { color: rgba(255,255,255,.82); font-size: 14px; }
.contact-try-btn { align-self: flex-start; margin-top: 10px; background: #fff; color: var(--c-purple); }
.contact-try-btn:hover { background: #F1EDFF; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 14px 40px rgba(36,31,58,.07); }
.contact-form h2 { font-size: 24px; margin: 0 0 16px; }
.contact-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.topic-pill { position: relative; cursor: pointer; }
.topic-pill input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pill span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; transition: all .2s; }
.topic-pill:hover span { border-color: var(--c-purple); }
.topic-pill input:checked + span { background: var(--c-purple); border-color: var(--c-purple); color: #fff; }
.topic-pill input:focus-visible + span { outline: 2px solid var(--c-purple); outline-offset: 2px; }
.contact-plan { background: var(--c-purple-soft); color: var(--c-purple); border-radius: 10px; padding: 9px 14px; font-size: 14px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-form .req { color: var(--c-red); }
.contact-form .opt { color: var(--muted); font-weight: 400; font-size: 12px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--c-purple); box-shadow: 0 0 0 3px rgba(91,63,214,.15); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; height: 50px; }
.contact-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.contact-error { background: #FDECEC; color: #B42323; border: 1px solid #F5C2C2; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { text-align: center; padding: 48px 32px; }
.contact-done-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-green-soft); color: var(--c-green); font-size: 30px; font-weight: 800; margin-bottom: 16px; }
.contact-done p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }
.contact-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form { order: -1; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-side { padding: 22px; }
}
.cat-table { table-layout: fixed; min-width: 760px; }
.cat-table thead th { text-align: left; }
.cat-table th:first-child { width: 26%; }
.cat-table thead th:nth-child(3) { width: 20%; }
.cat-table thead th:nth-child(4) { width: 13%; }
/* An inner page already carries the heading in its header band: the section under it does not repeat it. */
.hero-compact + .section > .container > .section-head { display: none; }
/* Use cases: three across, so six cards make two full rows. */
.usecase-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase.featured { grid-column: span 1; }
.usecase h3 { margin: 28px 0 10px; }
.usecase { border-top: 4px solid var(--c-purple); }
.usecase:nth-child(2) { border-top-color: var(--c-blue); } .usecase:nth-child(3) { border-top-color: var(--c-teal); }
.usecase:nth-child(4) { border-top-color: var(--c-pink); } .usecase:nth-child(5) { border-top-color: var(--c-amber); } .usecase:nth-child(6) { border-top-color: var(--c-green); }
.usecase-tag { background: var(--c-purple-soft); border-color: transparent; }
.usecase.featured .usecase-tag { background: rgba(255,255,255,.2); }
@media (max-width: 900px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usecase-grid { grid-template-columns: 1fr; } }
.usecase.featured p { color: rgba(255,255,255,.92) !important; }

/* ---------- The Regulens mark and wordmark ---------- */
.logo { gap: 10px; }
.logo .rg-mark { flex: none; display: block; filter: drop-shadow(0 4px 10px rgba(91,63,214,.28)); transition: transform .3s var(--ease-out); }
.logo:hover .rg-mark { transform: rotate(-6deg) scale(1.04); }
.rg-word { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.rg-word span { color: var(--c-purple); }
.footer-brand .rg-word { color: #fff; }
.footer-brand .rg-word span { color: #B9A8FF; }
.footer-brand .logo .rg-mark { filter: none; }

/* ---------- Drawn icons in the benefit and feature tiles ---------- */
.benefit-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; }
.benefit-icon svg, .feature-icon svg { display: block; }
.benefit:nth-child(1) .benefit-icon { background: linear-gradient(135deg, #EEEAFD, #DCD3FB); }
.benefit:nth-child(2) .benefit-icon { background: linear-gradient(135deg, #DFF5F1, #C7EDE6); }
.benefit:nth-child(3) .benefit-icon { background: linear-gradient(135deg, #FCE7F3, #F8D3E9); }
.benefit:nth-child(4) .benefit-icon { background: linear-gradient(135deg, #E6EEFE, #D1E0FD); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; }

/* ---------- Departments: one row of chips ---------- */
.dept-strip { padding: 44px 0 52px; background: #fff; }
.dept-strip .marquee-label { margin-bottom: 18px; }
.dept-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.dept-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; border: 1px solid transparent; }
.dept-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .75; }
.dept-chip.d0 { background: var(--c-purple-soft); color: var(--c-purple); }
.dept-chip.d1 { background: var(--c-blue-soft); color: var(--c-blue); }
.dept-chip.d2 { background: var(--c-teal-soft); color: var(--c-teal); }
.dept-chip.d3 { background: var(--c-pink-soft); color: var(--c-pink); }
.dept-chip.d4 { background: var(--c-amber-soft); color: #A86B05; }
@media (max-width: 600px) { .dept-chip { font-size: 13px; padding: 7px 13px; } }
/* Tighter rhythm between sections: the page read as islands of content in a sea of white. */
.section { padding: 72px 0; }
.section-head { margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
.section-head h2 { margin-bottom: 12px; }
.hero-split { padding: 96px 0 40px; }
.benefits { margin-top: 44px; }
.dept-strip { padding: 32px 0 36px; }
.tour-tabs { margin: -12px auto 28px; }
.metrics .metric { padding: 36px 24px; }
.final-cta { padding: 88px 0; }
.final-cta h2 { margin-bottom: 16px; }
.final-cta .lead { margin-bottom: 28px; }
.hero-compact { padding: 104px 0 48px; }
.hero-compact + .section { padding-top: 40px; }
.report-list { margin-top: 26px; }
.cmp-foot, .metric-foot { margin-top: 12px; }
@media (max-width: 760px) { .section { padding: 52px 0; } .final-cta { padding: 64px 0; } }
.section { padding: 60px 0; }
.section-head { margin-bottom: 34px; }

/* Benefit tiles: the icon centred in its tile. ".benefit span" (the card's text) was overriding the tile. */
.benefit .benefit-icon { display: grid; place-items: center; margin-top: 0; }

/* Departments, scrolling again (the list grows as portals are added), as chips that fade out at the edges. */
.dept-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.dept-track { list-style: none; margin: 0; padding: 4px 0; display: flex; width: max-content; animation: scroll 38s linear infinite; }
.dept-track .dept-chip { margin-right: 12px; white-space: nowrap; }
.dept-viewport:hover .dept-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .dept-track { animation: none; } }

/* Footer: light, in the brand's lavender, instead of the near-black band. */
.footer { background: linear-gradient(180deg, #F6F3FF 0%, #EFEAFD 100%); color: var(--ink); border-top: 1px solid #E4DEF7; padding: 64px 0 32px; }
.footer-brand .rg-word { color: var(--ink); }
.footer-brand .rg-word span { color: var(--c-purple); }
.footer-brand .logo .rg-mark { filter: drop-shadow(0 4px 10px rgba(91,63,214,.25)); }
.footer-brand p { color: var(--muted); }
.footer-col h4 { color: var(--c-purple); font-weight: 600; }
.footer-col a { color: var(--ink); opacity: .78; }
.footer-col a:hover { color: var(--c-purple); opacity: 1; }
.footer-bottom { border-top-color: #DCD3F5 !important; color: var(--muted) !important; }
.footer-bottom span { color: var(--muted); }
.fc-toggle { background: linear-gradient(120deg, #4A2FC9, #6C47E8 60%, #B83C9A) !important; color: #fff !important; box-shadow: 0 12px 30px rgba(91,63,214,.35) !important; }

/* The policies row, above the copyright line. */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; padding: 22px 0; border-top: 1px solid #DCD3F5; }
.footer-legal a { font-size: 13.5px; color: var(--ink); opacity: .75; transition: color .2s, opacity .2s; }
.footer-legal a:hover { color: var(--c-purple); opacity: 1; }
.footer-legal + .footer-bottom { padding-top: 18px; }
@media (max-width: 600px) { .footer-legal { gap: 6px 16px; justify-content: flex-start; } }

/* ---------- Comparison: Regulens against four ways of keeping track, grouped by need ---------- */
.compare-sec { background: linear-gradient(180deg, #fff 0%, #F8F6FF 100%); }
.cmp2-wrap { overflow-x: auto; border: 1px solid #E4DEF7; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px rgba(36,31,58,.07); }
.cmp2 { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.cmp2 th, .cmp2 td { padding: 13px 16px; border-bottom: 1px solid #EFEBF8; text-align: center; vertical-align: middle; }
.cmp2 thead th { position: sticky; top: 0; background: #FBFAFF; border-bottom: 1px solid #E4DEF7; padding: 18px 16px; z-index: 1; }
.cmp2 th.cmp2-cap { text-align: left; font-weight: 600; color: var(--ink); width: 26%; }
.cmp2 thead th.cmp2-cap { font-weight: 500; }
.cmp2-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 12px; color: var(--muted); }
.cmp2-other b { display: block; font-size: 14px; color: var(--ink); }
.cmp2-other small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
/* The Regulens column: one band of the brand colour, top to bottom. */
.cmp2 .cmp2-self { background: #F1EDFF; text-align: left; width: 24%; border-left: 2px solid var(--c-purple); border-right: 2px solid var(--c-purple); }
.cmp2 thead .cmp2-self { background: var(--grad-brand); border-top-left-radius: 0; color: #fff; }
.cmp2-self-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.cmp2-self-badge .rg-mark { filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }
.cmp2 td.cmp2-self { display: table-cell; font-weight: 600; color: #3B24B0; }
.cmp2 td.cmp2-self > span:last-child { margin-left: 8px; }
.cmp2 tbody tr:hover td, .cmp2 tbody tr:hover th { background: #FBFAFF; }
.cmp2 tbody tr:hover td.cmp2-self { background: #E9E3FF; }
.cmp2-group th { text-align: left !important; background: #FBFAFF; color: var(--c-purple); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 12px 16px; border-bottom: 1px solid #EFEBF8; }
.cmp2 tbody:last-of-type tr:last-child td, .cmp2 tbody:last-of-type tr:last-child th { border-bottom: 0; }
.cmp2 tbody:last-of-type tr:last-child td.cmp2-self { border-bottom: 2px solid var(--c-purple); }
.mk { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; vertical-align: middle; }
.mk svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mk.y { background: var(--c-green-soft); color: var(--c-green); }
.cmp2-self .mk.y { background: var(--c-purple); color: #fff; }
.mk.p { background: var(--c-amber-soft); color: #B7791F; }
.mk.n { background: #F1EFF5; color: #A8A2BD; }
.mk .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cmp2-legend .mk { width: 18px; height: 18px; } .cmp2-legend .mk svg { width: 11px; height: 11px; }
.mk-text { font-size: 13px; color: var(--muted); }
.cmp-more { text-align: center; margin-top: 22px; }
.mk.s { background: #fff; color: #B8B2CC; box-shadow: inset 0 0 0 1.5px #DDD8EA; }
.mk.s svg { fill: currentColor; stroke: none; }
.cmp2 { min-width: 1100px; }
.cmp2 .cmp2-self { width: 21%; }
.cmp2 th.cmp2-cap { width: 22%; }
.cmp-foot { max-width: 900px; margin-left: auto; margin-right: auto; line-height: 1.5; }
