/* ==========================================================================
   DFlowAutomation — Landing Page Stylesheet
   Dark-Mode Glassmorphism + Purple-to-Cyan Gradient System
   ========================================================================== */

:root {
  /* Core Palette (Verified DFlowAutomation Brand Tokens) */
  --clr-bg: #0a0a12;
  --clr-bg2: #0d0d1a;
  --clr-bg3: #121225;
  --clr-surface: rgba(255, 255, 255, 0.04);
  --clr-surface-hover: rgba(255, 255, 255, 0.075);
  --clr-surface-strong: rgba(20, 20, 38, 0.78);
  --clr-border: rgba(168, 85, 247, 0.22);
  --clr-border-subtle: rgba(255, 255, 255, 0.09);
  --clr-border-hover: rgba(168, 85, 247, 0.48);

  /* Brand Accents */
  --clr-primary: #a855f7;
  --clr-primary2: #7c3aed;
  --clr-accent: #06b6d4;
  --clr-accent2: #0ea5e9;
  --grad-main: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  --grad-main-hover: linear-gradient(135deg, #b86bff 0%, #22d3ee 100%);
  --grad-card: linear-gradient(135deg, rgba(168, 85, 247, 0.11), rgba(6, 182, 212, 0.05));
  --grad-card-strong: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(6, 182, 212, 0.1));

  /* Typography Colors (WCAG AA+ on #0a0a12 / #0d0d1a) */
  --clr-text: #f1f5f9;
  --clr-text-body: #cbd5e1;
  --clr-text-muted: #94a3b8;

  /* Semantic Accents */
  --clr-success: #10b981;
  --clr-success-soft: rgba(16, 185, 129, 0.14);
  --clr-error: #f87171;
  --clr-error-soft: rgba(239, 68, 68, 0.14);
  --clr-warn: #f59e0b;

  /* Typography Families */
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --font-editorial: 'Playfair Display', Georgia, serif;

  /* Layout & Spacing */
  --container-max: 1200px;
  --nav-height: 76px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Elevation */
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 10px 30px rgba(168, 85, 247, 0.28), 0 0 18px rgba(6, 182, 212, 0.16);
  --shadow-glow-sm: 0 6px 20px rgba(168, 85, 247, 0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--clr-text-body);
  background-color: var(--clr-bg);
  background-image:
    radial-gradient(ellipse 65% 45% at 15% 0%, rgba(124, 58, 237, 0.16), transparent 65%),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(6, 182, 212, 0.12), transparent 65%);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

/* Interactive Particle Network Canvas Background (Live Site Parity) */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--clr-bg3);
  border: 1px solid var(--clr-accent);
  color: var(--clr-text);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.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 Utilities & Typography
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

.section {
  position: relative;
  padding: 80px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(13, 13, 26, 0.56) 0%, rgba(10, 10, 18, 0.72) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 1024px) {
  .section {
    padding: 104px 0;
  }
}

.section-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 58px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.32);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8b4fe;
  margin-bottom: 18px;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-accent);
  box-shadow: 0 0 10px var(--clr-accent);
  flex-shrink: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--clr-text);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
}

.editorial-em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 600;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.section-subhead {
  margin: 16px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--clr-text-body);
  max-width: 660px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  text-align: center;
  white-space: normal;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--grad-main);
  color: #ffffff;
  box-shadow: var(--shadow-glow-sm);
}

.btn--primary:hover {
  background: var(--grad-main-hover);
  box-shadow: var(--shadow-glow);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(168, 85, 247, 0.35);
  color: var(--clr-text);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(168, 85, 247, 0.14);
  border-color: rgba(6, 182, 212, 0.55);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--clr-text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(168, 85, 247, 0.45);
}

.btn--whatsapp {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.btn--whatsapp:hover {
  background: rgba(16, 185, 129, 0.26);
  border-color: rgba(16, 185, 129, 0.7);
  color: #ffffff;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   Sticky Navbar & Mobile Drawer
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 18, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 18, 0.92);
  border-bottom-color: rgba(168, 85, 247, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.logo-d {
  font-size: 1.45rem;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-flow {
  color: var(--clr-text);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-body);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-success);
  position: relative;
  flex-shrink: 0;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.45);
  animation: pulseRing 2s infinite ease-out;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--clr-text);
}

.nav-toggle:hover {
  background: rgba(168, 85, 247, 0.16);
  border-color: rgba(168, 85, 247, 0.45);
}

@media (min-width: 1080px) {
  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(5, 5, 10, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  width: min(340px, 88vw);
  background: #0e0e1c;
  border-left: 1px solid rgba(168, 85, 247, 0.28);
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--clr-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer__links a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: background 0.2s ease;
}

.mobile-drawer__links a:hover {
  background: rgba(168, 85, 247, 0.14);
}

.mobile-drawer__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding: 78px 0 64px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 48px;
  }
}

.hero-content {
  text-align: left;
}

.hero-subhead {
  margin: 22px 0 30px;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  color: var(--clr-text-body);
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-micro {
  margin-top: 16px;
  font-size: 0.87rem;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-micro svg {
  color: var(--clr-success);
  flex-shrink: 0;
}

/* Custom Hero Workflow Visual Card */
.hero-visual {
  position: relative;
}

.workflow-stage {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(20, 20, 40, 0.92), rgba(10, 10, 18, 0.95));
  border: 1px solid var(--clr-border);
  padding: 20px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(124, 58, 237, 0.16);
  overflow: hidden;
}

.workflow-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(168, 85, 247, 0.16) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.45;
  pointer-events: none;
}

.workflow-stage__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--clr-text-muted);
}

.workflow-dots {
  display: inline-flex;
  gap: 6px;
}

.workflow-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.workflow-dots span:nth-child(1) { background: #ef4444; }
.workflow-dots span:nth-child(2) { background: #f59e0b; }
.workflow-dots span:nth-child(3) { background: #10b981; }

.workflow-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6ee7b7;
}

.workflow-svg {
  position: relative;
  width: 100%;
  height: auto;
}

.svg-flow-line {
  stroke-dasharray: 6 6;
  animation: dashFlow 2.6s linear infinite;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -24;
  }
}

.workflow-stage__footer {
  position: relative;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

.workflow-stage__footer strong {
  color: #e2e8f0;
}

/* Proof / Metrics Strip */
.metrics-strip {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .metrics-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .metrics-strip {
    grid-template-columns: repeat(5, 1fr);
  }
}

.metric-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.metric-card:hover {
  border-color: var(--clr-border-hover);
  transform: translateY(-2px);
}

.metric-card__value {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.metric-card__label {
  margin-top: 6px;
  font-size: 0.83rem;
  color: var(--clr-text-body);
}

/* Platform & AI Stack Marquee */
.stack-ticker {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.stack-ticker__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--clr-text-muted);
  margin: 0 0 18px;
}

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--clr-text);
  white-space: nowrap;
}

.stack-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-main);
}

/* ==========================================================================
   Glass Cards & Reusable Surface Styles
   ========================================================================== */

.glass-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out), background 0.25s ease;
}

.glass-card:hover {
  border-color: var(--clr-border-hover);
  background: var(--clr-surface-hover);
}

/* ==========================================================================
   Section 3: Pain vs. Outcome & Founder Spotlight
   ========================================================================== */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--clr-border-subtle);
  display: flex;
  flex-direction: column;
}

.compare-card--pain {
  background: linear-gradient(155deg, rgba(239, 68, 68, 0.07), rgba(13, 13, 26, 0.85));
  border-color: rgba(239, 68, 68, 0.25);
}

.compare-card--gain {
  background: linear-gradient(155deg, rgba(168, 85, 247, 0.14), rgba(6, 182, 212, 0.08));
  border-color: rgba(168, 85, 247, 0.42);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.14);
}

.compare-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.badge--pain {
  background: var(--clr-error-soft);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.badge--gain {
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(6, 182, 212, 0.42);
  color: #67e8f9;
}

.badge--purple {
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
}

.badge--success {
  background: var(--clr-success-soft);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
}

.compare-list strong {
  color: var(--clr-text);
}

.compare-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-icon--pain {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
}

.compare-icon--gain {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

/* Founder Spotlight Strip */
.founder-strip {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  background: var(--grad-card);
  border: 1px solid var(--clr-border);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .founder-strip {
    flex-direction: row;
    align-items: center;
    padding: 30px 34px;
    gap: 28px;
  }
}

.founder-avatar-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  background: var(--grad-main);
  flex-shrink: 0;
  position: relative;
}

.founder-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--clr-bg3);
}

.founder-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--clr-bg3);
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.25rem;
  color: #e9d5ff;
}

.founder-strip__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #67e8f9;
  margin-bottom: 8px;
}

.founder-strip__text {
  margin: 0 0 12px;
  font-size: 0.97rem;
  color: var(--clr-text-body);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: #c084fc;
  transition: color 0.2s ease, gap 0.2s ease;
}

.text-link:hover {
  color: #67e8f9;
  gap: 10px;
}

/* ==========================================================================
   Section 4: Core Services (6-Card Grid)
   ========================================================================== */

.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 720px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad-card-strong);
  border: 1px solid rgba(168, 85, 247, 0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e9d5ff;
  flex-shrink: 0;
}

.service-card p {
  margin: 12px 0 20px;
  font-size: 0.95rem;
  color: var(--clr-text-body);
  flex-grow: 1;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chip {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clr-text-body);
}

.section-bottom-cta {
  margin-top: 38px;
  text-align: center;
  font-size: 1rem;
  color: var(--clr-text-body);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Section 5: Case Studies
   ========================================================================== */

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-card__platform {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.platform--n8n {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
}

.platform--make {
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(6, 182, 212, 0.45);
  color: #67e8f9;
}

.platform--ghl {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
}

.case-card h3 {
  margin-bottom: 12px;
}

.case-card__desc {
  margin: 14px 0 18px;
  font-size: 0.93rem;
  flex-grow: 1;
}

.impact-list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--clr-text);
}

.impact-list li::before {
  content: '✦';
  color: var(--clr-accent);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.impact-highlight {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #67e8f9;
}

.archive-cta-wrap {
  margin-top: 40px;
  text-align: center;
}

/* ==========================================================================
   Section 7: Interactive ROI Calculator
   ========================================================================== */

.roi-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(20, 20, 40, 0.86), rgba(10, 10, 18, 0.95));
  border: 1px solid var(--clr-border);
  padding: 26px 20px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .roi-shell {
    padding: 36px;
  }
}

@media (min-width: 980px) {
  .roi-shell {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: stretch;
  }
}

.roi-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roi-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.roi-presets__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.preset-btn {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-text-body);
  transition: all 0.2s ease;
}

.preset-btn:hover,
.preset-btn.is-active {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.55);
  color: #ffffff;
}

.slider-group__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.slider-group__head label,
.slider-group__label {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--clr-text);
}

.slider-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #67e8f9;
  white-space: nowrap;
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-main);
  border: 2px solid #ffffff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.65);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.roi-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-main);
  border: 2px solid #ffffff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.65);
  cursor: pointer;
}

.slider-helper {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.coverage-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

@media (min-width: 560px) {
  .coverage-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.coverage-btn {
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--clr-text-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
}

.coverage-btn span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  margin-top: 3px;
}

.coverage-btn.is-active {
  background: var(--grad-card-strong);
  border-color: var(--clr-primary);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.22);
}

.coverage-btn.is-active span {
  color: #67e8f9;
}

/* ROI Output Card */
.roi-output {
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(168, 85, 247, 0.14), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.38);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.roi-hero-metric {
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-hero-metric__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #d8b4fe;
}

.roi-hero-metric__value {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.roi-submetrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.roi-mini {
  background: rgba(10, 10, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.roi-mini--wide {
  grid-column: 1 / -1;
}

.roi-mini--fee {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(6, 182, 212, 0.1));
  border-color: rgba(6, 182, 212, 0.36);
}

.roi-mini__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.roi-mini__sub {
  margin-top: 3px;
  font-size: 0.74rem;
  color: var(--clr-text-muted);
  line-height: 1.35;
}

.roi-mini__value--accent {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #67e8f9;
  white-space: nowrap;
}

.roi-mini__label {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

.roi-mini__value {
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.roi-recommendation {
  background: rgba(10, 10, 18, 0.62);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.roi-recommendation__tier {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #67e8f9;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roi-recommendation p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--clr-text-body);
}

.roi-disclaimer {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  text-align: center;
}

/* ==========================================================================
   Section 8: Process & Pricing Tiers
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 52px;
}

@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-subtle);
  padding: 24px;
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--grad-main);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  margin: 0;
  font-size: 0.93rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 920px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-subtle);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-border-hover);
}

.pricing-card--featured {
  background: linear-gradient(160deg, rgba(168, 85, 247, 0.17), rgba(6, 182, 212, 0.09));
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 14px 44px rgba(124, 58, 237, 0.2);
}

.pricing-card__badge-slot {
  min-height: 28px;
  margin-bottom: 10px;
}

.pricing-card__price {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.pricing-card__turnaround {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #67e8f9;
}

.pricing-card__best {
  margin: 14px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: var(--clr-text-body);
}

.pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--clr-text-body);
}

.pricing-features svg {
  color: var(--clr-success);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Section 9: Client Testimonials
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 820px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: var(--grad-card);
  border: 1px solid var(--clr-border);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: #fbbf24;
}

.testimonial-quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text);
}

.testimonial-author {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-author__name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #ffffff;
}

.testimonial-author__role {
  font-size: 0.86rem;
  color: var(--clr-text-muted);
}

/* ==========================================================================
   Section 9: FAQ Accordion
   ========================================================================== */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-subtle);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item.is-open {
  border-color: var(--clr-border-hover);
  background: rgba(168, 85, 247, 0.07);
}

.faq-question {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.4;
}

.faq-trigger:hover {
  color: #ffffff;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c084fc;
  transition: transform 0.28s var(--ease-out), background 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(168, 85, 247, 0.22);
  color: #67e8f9;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel__inner {
  overflow: hidden;
}

.faq-panel__body {
  padding: 0 22px 22px;
  font-size: 0.95rem;
  color: var(--clr-text-body);
  line-height: 1.7;
}

.faq-panel__body strong {
  color: #ffffff;
}

/* ==========================================================================
   Section 12: Final CTA Banner & Footer
   ========================================================================== */

.final-cta-card {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.26), rgba(6, 182, 212, 0.16));
  border: 1px solid rgba(168, 85, 247, 0.45);
  padding: 48px 24px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(124, 58, 237, 0.2);
}

@media (min-width: 768px) {
  .final-cta-card {
    padding: 64px 48px;
  }
}

.final-cta-card p {
  margin: 16px auto 28px;
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--clr-text-body);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.final-cta-micro {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
  color: var(--clr-text-muted) !important;
}

/* Footer */
.site-footer {
  background: #07070e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr;
  }
}

.footer-brand p {
  margin: 14px 0 16px;
  font-size: 0.92rem;
  color: var(--clr-text-body);
  max-width: 310px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--clr-text-body);
}

.footer-col h3 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #67e8f9;
}

.footer-legal {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
}

.founder-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  background: var(--clr-bg3);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #c084fc;
  transition: color 0.2s ease, gap 0.2s ease;
}

.service-card__link:hover {
  color: #67e8f9;
  gap: 9px;
}

.anchor-target {
  position: relative;
  display: block;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Subpages (Projects Archive, Privacy Policy, Terms of Service) */
.page-hero {
  padding: 56px 0 36px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 16px;
}

.page-hero .section-subhead {
  margin-bottom: 0;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .project-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-detail-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.project-detail-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.project-detail-meta strong {
  color: #ffffff;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--clr-surface-strong);
  border: 1px solid var(--clr-border);
  padding: 32px 22px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .legal-content {
    padding: 48px 52px;
  }
}

.legal-toc {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 32px;
}

.legal-toc__title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #67e8f9;
  margin: 0 0 12px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 24px;
}

@media (min-width: 640px) {
  .legal-toc ol {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-toc a {
  font-size: 0.88rem;
  color: var(--clr-text-body);
  text-decoration: none;
}

.legal-toc a:hover {
  color: #67e8f9;
  text-decoration: underline;
}

.legal-content h2 {
  font-size: 1.32rem;
  margin: 34px 0 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content h2:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.legal-content p,
.legal-content li {
  font-size: 0.96rem;
  color: var(--clr-text-body);
  line-height: 1.72;
}

.legal-content strong {
  color: #ffffff;
}

.legal-content ul {
  padding-left: 20px;
  margin: 10px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content a {
  color: #67e8f9;
  text-decoration: underline;
}

.legal-callout {
  margin: 16px 0 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.32);
  font-size: 0.92rem;
  color: var(--clr-text);
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin: 0 0 22px;
}

/* ==========================================================================
   Progressive Scroll Reveal & Reduced Motion
   ========================================================================== */

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.js-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__track,
  .pulse-dot::after,
  .svg-flow-line {
    animation: none !important;
  }

  .marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .js-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
