/* =====================================================================
   LTC Group — Liquid Glass Design System (Light Theme)
   --------------------------------------------------------------------
   Translates Apple's .glassEffect() language to the web:
     - backdrop-filter blur+saturate → glassEffect()
     - tinted variants → .tint(.color)
     - .glass-container → GlassEffectContainer
     - capsule / rect shapes → in: .capsule | .rect(cornerRadius:)
     - interactive states → .interactive()
     - dynamic background mesh → gives the blur something to render against
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
--------------------------------------------------------------------- */
:root {
  /* Brand */
  --primary: #2020CC;
  --primary-light: #4A4AF4;
  --primary-dark: #1818A0;
  --primary-50:  #EEF0FF;
  --primary-100: #E0E4FF;
  --primary-200: #C4CBFF;

  /* Surfaces (white-dominant) */
  --bg-base: #FFFFFF;
  --bg-muted: #F7F8FC;
  --bg-elevated: #FFFFFF;
  --bg-tint: #F5F7FF;

  /* Text */
  --text-primary: #0A0E27;
  --text-secondary: #3B4360;
  --text-muted: #6B7280;
  --text-dim: #9CA3AF;

  /* Borders */
  --border-subtle: rgba(10, 14, 39, 0.06);
  --border-light: rgba(10, 14, 39, 0.10);
  --border-medium: rgba(10, 14, 39, 0.15);

  /* Accents (tints) */
  --accent-blue: #2020CC;
  --accent-blue-rgb: 32, 32, 204;
  --accent-emerald: #10B981;
  --accent-emerald-rgb: 16, 185, 129;
  --accent-purple: #A855F7;
  --accent-purple-rgb: 168, 85, 247;
  --accent-amber: #F59E0B;
  --accent-amber-rgb: 245, 158, 11;
  --accent-rose: #F43F5E;
  --accent-rose-rgb: 244, 63, 94;

  /* Liquid Glass — Apple-tier system */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-bg-thin: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(34px) saturate(180%);
  --glass-blur-strong: blur(44px) saturate(200%);
  --glass-blur-thin: blur(18px) saturate(160%);
  --glass-border: rgba(255, 255, 255, 0.6);

  /* Glass shadows — layered for depth */
  --glass-shadow-low:
    0 1px 2px rgba(10, 14, 39, 0.04),
    0 4px 16px rgba(10, 14, 39, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(10, 14, 39, 0.02);
  --glass-shadow-mid:
    0 2px 4px rgba(10, 14, 39, 0.04),
    0 8px 24px rgba(10, 14, 39, 0.06),
    0 16px 48px rgba(10, 14, 39, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(10, 14, 39, 0.02);
  --glass-shadow-high:
    0 4px 8px rgba(10, 14, 39, 0.04),
    0 16px 40px rgba(10, 14, 39, 0.08),
    0 32px 80px rgba(10, 14, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(10, 14, 39, 0.02);

  /* Easing — spring-like for morphing transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii (consistent shape language) */
  --radius-pill: 9999px;
  --radius-2xl: 1.75rem;
  --radius-xl: 1.25rem;
  --radius-lg: 0.875rem;
  --radius-md: 0.625rem;

  color-scheme: light;
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
--------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light;
}
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.5;
}

/* ---------------------------------------------------------------------
   3. DYNAMIC BACKGROUND — gives blur something to render against
   Three layers: static mesh, animated orbs, fine grain
--------------------------------------------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(at 15% 10%, rgba(32, 32, 204, 0.055) 0px, transparent 45%),
    radial-gradient(at 85% 85%, rgba(74, 74, 244, 0.04) 0px, transparent 55%),
    var(--bg-base);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(10, 14, 39, 0.025) 1px, transparent 0);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  opacity: 0.7;
}

/* Floating animated orbs — quieted, two only, brand-aligned */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  will-change: transform;
}
.bg-orb--blue   { width: 540px; height: 540px; background: radial-gradient(circle, rgba(74, 74, 244, 0.32), transparent 70%); top: -12%; left: -10%;
  animation: orb-float-1 34s ease-in-out infinite alternate; }
.bg-orb--purple { width: 420px; height: 420px; background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 72%); bottom: -10%; right: -6%;
  animation: orb-float-2 38s ease-in-out infinite alternate; }
.bg-orb--emerald,
.bg-orb--amber { display: none; }

@keyframes orb-float-1 {
  0%   { transform: translate(0, 0)        scale(1); }
  100% { transform: translate(60px, 80px)  scale(1.15); }
}
@keyframes orb-float-2 {
  0%   { transform: translate(0, 0)         scale(1); }
  100% { transform: translate(-80px, 60px)  scale(1.1); }
}
@keyframes orb-float-3 {
  0%   { transform: translate(0, 0)         scale(1); }
  100% { transform: translate(70px, -50px)  scale(1.2); }
}
@keyframes orb-float-4 {
  0%   { transform: translate(0, 0)         scale(1); }
  100% { transform: translate(-60px, -70px) scale(1.1); }
}

/* ---------------------------------------------------------------------
   4. LIQUID GLASS — base + variants + shapes
   Maps to SwiftUI .glassEffect() options
--------------------------------------------------------------------- */

/* base: .glassEffect() */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-mid);
  isolation: isolate;
  transition: background 0.4s var(--ease-out-quart),
              border-color 0.4s var(--ease-out-quart),
              box-shadow 0.5s var(--ease-out-quart),
              transform 0.5s var(--ease-out-quart);
}

/* specular highlight (top edge light reflection) */
.glass::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
  pointer-events: none;
  z-index: 1;
}

/* shapes */
.glass--rect    { border-radius: var(--radius-xl); }
.glass--rect-lg { border-radius: var(--radius-2xl); }
.glass--capsule { border-radius: var(--radius-pill); }
.glass--circle  { border-radius: 50%; }

/* Density */
.glass--thin     { background: var(--glass-bg-thin); backdrop-filter: var(--glass-blur-thin); -webkit-backdrop-filter: var(--glass-blur-thin); }
.glass--prominent{ background: var(--glass-bg-strong); backdrop-filter: var(--glass-blur-strong); -webkit-backdrop-filter: var(--glass-blur-strong); box-shadow: var(--glass-shadow-high); }

/* Tinted variants — .glassEffect(.regular.tint(.blue)) */
.glass--tint-blue    { background: rgba(238, 240, 255, 0.65); border-color: rgba(var(--accent-blue-rgb), 0.20); }
.glass--tint-emerald { background: rgba(220, 252, 235, 0.65); border-color: rgba(var(--accent-emerald-rgb), 0.20); }
.glass--tint-purple  { background: rgba(243, 232, 255, 0.65); border-color: rgba(var(--accent-purple-rgb), 0.20); }
.glass--tint-amber   { background: rgba(254, 243, 199, 0.65); border-color: rgba(var(--accent-amber-rgb), 0.20); }
.glass--tint-rose    { background: rgba(254, 226, 232, 0.65); border-color: rgba(var(--accent-rose-rgb), 0.20); }

/* Interactive — .glassEffect(.regular.interactive()) */
.glass--interactive { cursor: pointer; }
.glass--interactive:hover {
  background: var(--glass-bg-strong);
  box-shadow: var(--glass-shadow-high);
  transform: translateY(-3px);
  border-color: rgba(var(--accent-blue-rgb), 0.25);
}
.glass--interactive.glass--tint-blue:hover    { background: rgba(238, 240, 255, 0.85); border-color: rgba(var(--accent-blue-rgb), 0.40); }
.glass--interactive.glass--tint-emerald:hover { background: rgba(220, 252, 235, 0.88); border-color: rgba(var(--accent-emerald-rgb), 0.40); }
.glass--interactive.glass--tint-purple:hover  { background: rgba(243, 232, 255, 0.88); border-color: rgba(var(--accent-purple-rgb), 0.40); }
.glass--interactive.glass--tint-amber:hover   { background: rgba(254, 243, 199, 0.88); border-color: rgba(var(--accent-amber-rgb), 0.40); }
.glass--interactive:active { transform: translateY(-1px) scale(0.99); transition-duration: 0.15s; }

/* Container — GlassEffectContainer (groups multiple glass elements) */
.glass-container {
  display: grid;
  position: relative;
}
.glass-container--inline { display: inline-flex; align-items: center; }

/* Legacy aliases (keep older HTML working) */
.liquid-glass, .glass-card { composes: glass glass--rect; }
.liquid-glass,
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow-mid);
  transition: all 0.4s var(--ease-out-quart);
}
.liquid-glass::before,
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
  pointer-events: none;
}
.liquid-glass:hover,
.glass-card:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(var(--accent-blue-rgb), 0.25);
  box-shadow: var(--glass-shadow-high);
  transform: translateY(-3px);
}

/* ---------------------------------------------------------------------
   5. HEADER — capsule-style floating glass nav (Apple-style)
--------------------------------------------------------------------- */
header#site-header {
  background: transparent;
  border-bottom: none;
  padding-top: 0.875rem;
}
.header-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 1rem;
}
.header-glass-bar {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-pill);
  box-shadow:
    0 1px 2px rgba(10, 14, 39, 0.04),
    0 8px 32px rgba(10, 14, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all 0.4s var(--ease-out-quart);
  position: relative;
}
.header-glass-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
  pointer-events: none;
  z-index: 1;
}
header#site-header.header-scrolled .header-glass-bar {
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 2px 4px rgba(10, 14, 39, 0.05),
    0 16px 48px rgba(10, 14, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Backwards compat for old class */
.header-glass {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

/* ---------------------------------------------------------------------
   6. BUTTONS
--------------------------------------------------------------------- */
.btn-primary,
.btn-glass-prominent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white !important;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset,
    0 8px 24px rgba(32, 32, 204, 0.30),
    0 2px 4px rgba(32, 32, 204, 0.15);
  transition: transform 0.3s var(--ease-out-quart),
              box-shadow 0.3s var(--ease-out-quart),
              background 0.3s var(--ease-out-quart);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn-primary::after,
.btn-glass-prominent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 50% at 50% 0%, rgba(255, 255, 255, 0.35), transparent 60%);
  pointer-events: none;
}
.btn-primary:hover,
.btn-glass-prominent:hover {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset,
    0 14px 36px rgba(32, 32, 204, 0.40),
    0 4px 8px rgba(32, 32, 204, 0.20);
}
.btn-primary:active,
.btn-glass-prominent:active { transform: translateY(0) scale(0.98); }

.btn-secondary,
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-thin);
  -webkit-backdrop-filter: var(--glass-blur-thin);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(10, 14, 39, 0.04),
    0 4px 16px rgba(10, 14, 39, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all 0.3s var(--ease-out-quart);
}
.btn-secondary:hover,
.btn-glass:hover {
  background: var(--glass-bg-strong);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(10, 14, 39, 0.04),
    0 12px 28px rgba(32, 32, 204, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.btn-secondary:active,
.btn-glass:active { transform: translateY(0) scale(0.98); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.3s var(--ease-out-quart);
}
.btn-text:hover { gap: 0.625rem; }

/* ---------------------------------------------------------------------
   7. NAV LINKS
--------------------------------------------------------------------- */
.nav-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out-quart);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--text-primary); }

/* Dropdown — Liquid Glass popover
   Note: must override .glass { position: relative } via source order */
.dropdown-menu {
  /* Positioning (overrides both .absolute and .glass) */
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.875rem;
  width: 16rem;
  padding: 0.5rem;
  z-index: 60;

  /* Enhanced liquid glass (richer than base .glass) */
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.25rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 24px 64px rgba(10, 14, 39, 0.14),
    0 8px 24px rgba(10, 14, 39, 0.08);

  /* Hidden by default with morphing transition */
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.96);
  transform-origin: top center;
  transition: opacity 0.35s var(--ease-out-quart),
              transform 0.35s var(--ease-out-quart),
              visibility 0.35s;
}

/* Specular top highlight */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
  z-index: 1;
}

.dropdown-wrapper:hover .dropdown-menu,
.dropdown-wrapper:focus-within .dropdown-menu {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Bridge zone — keeps dropdown open when the cursor traverses the gap
   between trigger and menu, so it doesn't flicker away */
.dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 1rem;
  pointer-events: none;
}
.dropdown-wrapper:hover::after,
.dropdown-wrapper:focus-within::after {
  pointer-events: auto;
}

/* Items — inset rounded pill hover state (Apple-style state layer) */
.dropdown-menu > a {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: 0.75rem;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-menu > a:hover,
.dropdown-menu > a:focus-visible {
  background: rgba(var(--accent-blue-rgb), 0.09);
  color: var(--primary);
  outline: none;
}

@media (prefers-reduced-transparency: reduce) {
  .dropdown-menu {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------------------------------------------------------------------
   8. FORMS — Liquid Glass inputs
--------------------------------------------------------------------- */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur-thin);
  -webkit-backdrop-filter: var(--glass-blur-thin);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 1px 3px rgba(10, 14, 39, 0.03);
  transition: all 0.25s var(--ease-out-quart);
}
.form-input,
.form-select { height: 3.25rem; }
.form-textarea { min-height: 140px; resize: vertical; line-height: 1.5; padding: 1rem; }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-dim); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px rgba(32, 32, 204, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.form-input:invalid:not(:placeholder-shown):not(:focus),
.form-textarea:invalid:not(:placeholder-shown):not(:focus) { border-color: rgba(239, 68, 68, 0.5); }
.form-input:valid:not(:placeholder-shown):not(:focus),
.form-textarea:valid:not(:placeholder-shown):not(:focus) { border-color: rgba(16, 185, 129, 0.4); }

.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}
.form-select option { background: white; color: var(--text-primary); }
input[type="date"].form-input { color-scheme: light; font-family: inherit; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.6; transition: opacity 0.2s; }
input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

.form-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-label .required { color: var(--primary); margin-left: 0.125rem; }

/* ---------------------------------------------------------------------
   9. FAQ Accordion
--------------------------------------------------------------------- */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out-quart), opacity 0.3s ease; opacity: 0; }
.faq-item.open .faq-answer { max-height: 500px; opacity: 1; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.3s var(--ease-out-quart); }

/* ---------------------------------------------------------------------
   10. STICKY MOBILE CTA
--------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  padding: 0.75rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur-thin);
  -webkit-backdrop-filter: var(--glass-blur-thin);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -8px 32px rgba(10, 14, 39, 0.08);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-quart);
}
.sticky-cta.visible { transform: translateY(0); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------------------------------------------------------------------
   11. HERO TYPOGRAPHY
--------------------------------------------------------------------- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(238, 240, 255, 0.6);
  backdrop-filter: var(--glass-blur-thin);
  -webkit-backdrop-filter: var(--glass-blur-thin);
  border: 1px solid rgba(32, 32, 204, 0.18);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 4px 16px rgba(32, 32, 204, 0.08);
}
.hero-eyebrow .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  box-shadow: 0 0 12px rgba(32, 32, 204, 0.4);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title-wrap { position: relative; }
.hero-title {
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 600;
  background: linear-gradient(180deg, #0A0E27 0%, #2D3748 70%, #0A0E27 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: block;
}
.hero-title-muted {
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: rgba(10, 14, 39, 0.32);
  display: block;
}
.hero-subtitle {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 36rem;
  font-weight: 400;
  line-height: 1.55;
}

/* ---------------------------------------------------------------------
   12. PAGE PADDING
--------------------------------------------------------------------- */
.page-top { padding-top: 7rem; }
@media (min-width: 640px) { .page-top { padding-top: 9rem; } }

/* ---------------------------------------------------------------------
   13. METHOD STEPS
--------------------------------------------------------------------- */
.method-step { position: relative; }
.method-step-number {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 0.6875rem;
  color: var(--primary);
  opacity: 0.75;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .method-grid { position: relative; }
  .method-grid::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(32, 32, 204, 0.25), rgba(168, 85, 247, 0.25), rgba(32, 32, 204, 0.25), transparent);
    pointer-events: none;
  }
}

/* ---------------------------------------------------------------------
   14. OFFER CARD ACCENT — light theme tokens
--------------------------------------------------------------------- */
.offer-card { transition: all 0.4s var(--ease-out-quart); }

.offer-card[data-accent="blue"] .offer-icon-bg { background: rgba(32, 32, 204, 0.10); border-color: rgba(32, 32, 204, 0.22); }
.offer-card[data-accent="blue"] .offer-icon { color: var(--primary); }
.offer-card[data-accent="blue"] .offer-badge { background: rgba(32, 32, 204, 0.10); border-color: rgba(32, 32, 204, 0.22); color: var(--primary); }
.offer-card[data-accent="blue"]:hover { border-color: rgba(32, 32, 204, 0.35); }
.offer-card[data-accent="blue"] .offer-cta { color: var(--primary); }

.offer-card[data-accent="emerald"] .offer-icon-bg { background: rgba(16, 185, 129, 0.10); border-color: rgba(16, 185, 129, 0.22); }
.offer-card[data-accent="emerald"] .offer-icon { color: #059669; }
.offer-card[data-accent="emerald"] .offer-badge { background: rgba(16, 185, 129, 0.10); border-color: rgba(16, 185, 129, 0.22); color: #059669; }
.offer-card[data-accent="emerald"]:hover { border-color: rgba(16, 185, 129, 0.35); }
.offer-card[data-accent="emerald"] .offer-cta { color: #059669; }

.offer-card[data-accent="purple"] .offer-icon-bg { background: rgba(168, 85, 247, 0.10); border-color: rgba(168, 85, 247, 0.22); }
.offer-card[data-accent="purple"] .offer-icon { color: #9333EA; }
.offer-card[data-accent="purple"] .offer-badge { background: rgba(168, 85, 247, 0.10); border-color: rgba(168, 85, 247, 0.22); color: #9333EA; }
.offer-card[data-accent="purple"]:hover { border-color: rgba(168, 85, 247, 0.35); }
.offer-card[data-accent="purple"] .offer-cta { color: #9333EA; }

.offer-card[data-accent="amber"] .offer-icon-bg { background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.22); }
.offer-card[data-accent="amber"] .offer-icon { color: #D97706; }
.offer-card[data-accent="amber"] .offer-badge { background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.22); color: #D97706; }
.offer-card[data-accent="amber"]:hover { border-color: rgba(245, 158, 11, 0.35); }
.offer-card[data-accent="amber"] .offer-cta { color: #D97706; }

/* ---------------------------------------------------------------------
   15. SECTION SURFACES (transparent so background mesh shows through)
--------------------------------------------------------------------- */
.section { position: relative; }
.section-surface { background: transparent; }
.section-card { background: rgba(247, 248, 252, 0.5); }
.section-soft { background: rgba(245, 247, 255, 0.4); }

/* ---------------------------------------------------------------------
   16. LOGO
--------------------------------------------------------------------- */
.brand-logo {
  height: 1.75rem;
  width: auto;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-quart);
}
@media (min-width: 640px) { .brand-logo { height: 2rem; } }
.brand-logo:hover { opacity: 0.85; transform: scale(1.03); }

/* ---------------------------------------------------------------------
   17. UTILITIES
--------------------------------------------------------------------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 768px) { .metric-strip { grid-template-columns: repeat(4, 1fr); } }

.metric-strip > * + * {
  border-left: 1px solid var(--border-subtle);
}
@media (max-width: 767px) {
  .metric-strip > *:nth-child(odd) { border-left: none; }
  .metric-strip > *:nth-child(n+3) { border-top: 1px solid var(--border-subtle); }
}

.metric { padding: 1.5rem 1rem; text-align: center; }
.metric-value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------
   18. ANIMATED GRADIENT BAR (top of page)
--------------------------------------------------------------------- */
@keyframes gradient-slide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.gradient-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-purple) 25%, var(--primary-light) 50%, var(--accent-emerald) 75%, var(--primary) 100%);
  background-size: 200% 100%;
  animation: gradient-slide 8s linear infinite;
}

/* ---------------------------------------------------------------------
   19. TAILWIND DARK CLASS OVERRIDES (legacy pages)
   These keep the other 15 pages working with the new light theme
--------------------------------------------------------------------- */

/* Background mappings */
.bg-black                  { background-color: transparent !important; }
.bg-\[\#0A0A0A\]           { background-color: transparent !important; }
.bg-\[\#0F0F0F\]           { background-color: transparent !important; }
.bg-\[\#0D0F14\]           { background-color: rgba(255, 255, 255, 0.85) !important; }
.bg-\[\#1E222B\]           { background-color: rgba(247, 248, 252, 0.6) !important; }
.bg-\[\#111\]              { background-color: transparent !important; }
.bg-\[\#0D0F14\]\/95       { background-color: rgba(255, 255, 255, 0.92) !important; }
body.bg-black              { background-color: var(--bg-base) !important; }

/* Text white → dark (only when not on a colored button) */
main .text-white,
section .text-white,
footer .text-white,
header .text-white,
nav .text-white {
  color: var(--text-primary);
}

/* Element-level text-white — the legacy <main class="text-white">
   and <section class="text-white"> wrappers cascade white to all children. */
main.text-white,
section.text-white,
body.text-white,
.text-white > h1,
.text-white > h2,
.text-white > h3,
.text-white h1:not(.text-\[\#2020CC\]),
.text-white h2:not(.text-\[\#2020CC\]),
.text-white h3:not(.text-\[\#2020CC\]) {
  color: var(--text-primary) !important;
}

/* Cascade fix: paragraphs/lists inside text-white inherit secondary */
main.text-white p,
main.text-white li,
section.text-white p,
section.text-white li {
  color: var(--text-secondary) !important;
}
/* But buttons with bg-[#2020CC] or btn-primary keep white text */
button.bg-\[\#2020CC\],
button.bg-\[\#2020CC\] *,
a button.bg-\[\#2020CC\],
a button.bg-\[\#2020CC\] *,
.btn-primary,
.btn-primary *,
.btn-glass-prominent,
.btn-glass-prominent * {
  color: white !important;
}
button.bg-\[\#2020CC\] svg,
.btn-primary svg,
.btn-glass-prominent svg { color: white !important; stroke: white !important; }

.text-white\/90 { color: rgba(10, 14, 39, 0.92) !important; }
.text-white\/80 { color: rgba(10, 14, 39, 0.85) !important; }
.text-white\/70 { color: rgba(10, 14, 39, 0.78) !important; }
.text-white\/60 { color: rgba(10, 14, 39, 0.72) !important; }
.text-white\/55 { color: rgba(10, 14, 39, 0.68) !important; }
.text-white\/50 { color: rgba(10, 14, 39, 0.62) !important; }
.text-white\/45 { color: rgba(10, 14, 39, 0.58) !important; }
.text-white\/40 { color: rgba(10, 14, 39, 0.55) !important; }
.text-white\/30 { color: rgba(10, 14, 39, 0.5) !important; }
.text-white\/25 { color: rgba(10, 14, 39, 0.45) !important; }
.text-white\/20 { color: rgba(10, 14, 39, 0.42) !important; }

/* Inside hero headlines, opacity must stay strong enough to read */
h1 .text-white\/30,
h1 .text-white\/25,
h1 .text-white\/20,
h1 .text-white\/40,
h2 .text-white\/30,
h2 .text-white\/25,
h2 .text-white\/20 {
  color: rgba(10, 14, 39, 0.32) !important;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.42), rgba(10, 14, 39, 0.18));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Border mappings */
.border-white\/5,
.border-white\/\[0\.04\],
.border-white\/\[0\.05\],
.border-white\/\[0\.06\],
.border-white\/\[0\.08\] { border-color: rgba(10, 14, 39, 0.06) !important; }
.border-white\/10,
.border-white\/\[0\.10\] { border-color: rgba(10, 14, 39, 0.10) !important; }
.border-white\/15 { border-color: rgba(10, 14, 39, 0.12) !important; }
.border-white\/20 { border-color: rgba(10, 14, 39, 0.15) !important; }
.border-white\/25 { border-color: rgba(10, 14, 39, 0.18) !important; }
.border-white\/30 { border-color: rgba(10, 14, 39, 0.2) !important; }

.border-\[\#1E222B\] { border-color: rgba(10, 14, 39, 0.06) !important; }

/* Background utility mappings → liquid glass */
.bg-white\/5,
.bg-white\/\[0\.02\],
.bg-white\/\[0\.015\],
.bg-white\/\[0\.03\],
.bg-white\/\[0\.04\] {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.bg-white\/10,
.bg-white\/15,
.bg-white\/20 {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

/* Hover state overrides */
.hover\:bg-white\/\[0\.02\]:hover,
.hover\:bg-white\/\[0\.03\]:hover,
.hover\:bg-white\/\[0\.04\]:hover,
.hover\:bg-white\/5:hover,
.hover\:bg-white\/10:hover {
  background: rgba(255, 255, 255, 0.85) !important;
}
.hover\:border-white\/10:hover,
.hover\:border-white\/15:hover,
.hover\:border-white\/25:hover,
.hover\:border-white\/30:hover {
  border-color: rgba(32, 32, 204, 0.30) !important;
}
.hover\:text-white:hover { color: var(--primary) !important; }

/* Gradient overlays (final CTA legacy) */
.from-transparent.via-\[\#2020CC\]\/5.to-transparent {
  background: linear-gradient(180deg, transparent 0%, rgba(32, 32, 204, 0.06) 50%, transparent 100%);
}

/* Text gray mappings — dark theme used these as readable text on black,
   on white we have to remap them to readable navy / gray. */
.text-gray-100 { color: var(--text-primary) !important; }
.text-gray-200 { color: var(--text-primary) !important; }
.text-gray-300 { color: var(--text-secondary) !important; }
.text-gray-400 { color: var(--text-secondary) !important; }
.text-gray-500 { color: var(--text-muted) !important; }
.text-gray-600 { color: var(--text-muted) !important; }

/* Links */
a { color: inherit; text-decoration: none; }
a.text-\[\#2020CC\] { color: var(--primary); }
a.text-\[\#2020CC\]:hover { color: var(--primary-dark); }

/* SVG inside text contexts */
.text-white svg { stroke: currentColor; }

/* WhatsApp emerald (footer icon) */
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.14) !important; }
.bg-emerald-500\/30 { background-color: rgba(16, 185, 129, 0.22) !important; }
.text-emerald-400   { color: #059669 !important; }
.hover\:bg-emerald-500\/30:hover { background-color: rgba(16, 185, 129, 0.22) !important; }

/* Mobile menu — when expanded must look like the new light header */
#mobile-menu {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid var(--border-subtle) !important;
}
#mobile-menu a { color: var(--text-secondary); }
#mobile-menu a.text-\[\#2020CC\] { color: var(--primary); }
#mobile-menu a:hover { color: var(--primary); }

/* Footer dark overrides */
footer.bg-black {
  background: linear-gradient(180deg, transparent 0%, rgba(247, 248, 252, 0.7) 100%) !important;
  border-top: 1px solid var(--border-subtle) !important;
}

/* Glow / blur orbs left over from dark theme — disable them */
.glow-pulse, .glow-pulse-delayed { display: none !important; }

/* Specific hero-section overrides for legacy bg-black */
section.bg-black { background: transparent !important; }

/* Hide the old absolute-positioned dark grid overlay */
section.bg-black > div[style*="background-image: linear-gradient(rgba(255,255,255"] {
  opacity: 0 !important;
}

/* ---------------------------------------------------------------------
   Dark-theme gradient text → light theme rebrand
   The legacy hero h1's use bg-clip-text + transparent fill with
   white→gray gradients. On a white background that's invisible.
   Re-tint to brand colors so the second line still reads as a gradient.
--------------------------------------------------------------------- */
.bg-clip-text.text-transparent,
.text-transparent.bg-clip-text {
  background-image: linear-gradient(135deg, var(--primary) 0%, #6366F1 50%, #A855F7 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Some templates have specific dark gradient pairs */
.from-white.to-gray-400,
.from-white.to-gray-300,
.from-white.to-gray-500,
.from-gray-100.to-gray-400,
.from-gray-200.to-gray-500 {
  --tw-gradient-from: var(--primary) !important;
  --tw-gradient-to: #A855F7 !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
  background-image: linear-gradient(to right, var(--primary), #A855F7) !important;
}

/* Standalone text-white inside h1/h2/h3 (not the gradient case) */
h1.text-white, h2.text-white, h3.text-white,
h1 > .text-white, h2 > .text-white, h3 > .text-white {
  color: var(--text-primary) !important;
}

/* ---------------------------------------------------------------------
   20. REDUCED MOTION
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .bg-orb,
  .gradient-bar,
  .hero-eyebrow .dot {
    animation: none !important;
  }
}

/* ---------------------------------------------------------------------
   21. REDUCED TRANSPARENCY (accessibility)
--------------------------------------------------------------------- */
@media (prefers-reduced-transparency: reduce) {
  .glass,
  .glass-card,
  .liquid-glass,
  .header-glass-bar,
  .hero-eyebrow,
  .form-input,
  .form-textarea,
  .form-select {
    background: var(--bg-elevated) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .bg-orb { display: none; }
}

/* =====================================================================
   22. EDITORIAL COMPONENTS (landing page refond)
   --------------------------------------------------------------------
   Craft details that break the "glass-card-everywhere" template feel:
   - edito-index         → small mono-style section numbering
   - marker-underline    → hand-drawn highlight on a keyword
   - hero-clipboard      → concrete "morning schedule" visual object
   - hero-byline         → editorial signature line
   - edito-metrics       → typographic rhythm metric strip
   - pain-list           → numbered pain points, no cards
   - service-bento       → asymmetric featured + 3 supporting
   - method-flow         → horizontal editorial timeline
   - pullquote           → editorial testimonial
   - final-cta           → split CTA without glass box
   ===================================================================== */

/* ---- small helpers -------------------------------------------- */
.edito-index {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.edito-index strong { color: var(--primary); font-weight: 600; }

.edito-rule {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-medium) 50%, transparent 100%);
}

.marker-underline {
  position: relative;
  display: inline-block;
  isolation: isolate;
  white-space: nowrap;
  /* Break out of any parent background-clip: text gradient so the
     highlighted word stays readable. Force primary brand color. */
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.marker-underline::after {
  content: '';
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.04em;
  height: 0.38em;
  background: linear-gradient(180deg, rgba(74, 74, 244, 0.0) 0%, rgba(74, 74, 244, 0.28) 8%, rgba(74, 74, 244, 0.32) 60%, rgba(74, 74, 244, 0.18) 100%);
  border-radius: 0.35em 0.25em 0.5em 0.2em;
  transform: rotate(-0.6deg) skewX(-4deg);
  z-index: -1;
  pointer-events: none;
}

/* Ghost button (quieter than glass) */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 1px solid var(--border-medium);
  border-radius: 0;
  transition: color 0.3s var(--ease-out-quart), border-color 0.3s var(--ease-out-quart), gap 0.3s var(--ease-out-quart);
}
.btn-ghost:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  gap: 0.875rem;
}

/* ---- Hero — editorial clipboard ---------------------------- */
.hero-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.75rem;
  max-width: 28rem;
}
.hero-byline__dash {
  flex: 0 0 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--border-medium), transparent);
}
.hero-byline__text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.hero-byline__text .by {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-byline__text .name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.hero-byline__text .loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* The "clipboard" visual — replaces the 3 floating demo cards */
.hero-clipboard {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem 1.5rem;
  box-shadow:
    0 2px 4px rgba(10, 14, 39, 0.04),
    0 20px 48px rgba(10, 14, 39, 0.08),
    0 40px 100px rgba(10, 14, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: rotate(0.8deg);
  transition: transform 0.6s var(--ease-out-quart);
}
.hero-clipboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
  pointer-events: none;
}
.hero-clipboard:hover { transform: rotate(0deg) translateY(-4px); }

.hero-clipboard__stamp {
  position: absolute;
  top: -0.75rem;
  right: -0.5rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
  transform: rotate(-12deg);
  box-shadow: 0 8px 24px rgba(32, 32, 204, 0.35), 0 2px 4px rgba(32, 32, 204, 0.2);
  border: 2px dashed rgba(255, 255, 255, 0.35);
}

.hero-clipboard__header {
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}
.hero-clipboard__date {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}
.hero-clipboard__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.hero-clipboard__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.hero-clipboard__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.hero-clipboard__list .check {
  flex: 0 0 1.125rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.125rem;
  position: relative;
  box-shadow: 0 2px 4px rgba(32, 32, 204, 0.25);
}
.hero-clipboard__list .check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.25rem;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: translate(-50%, -70%) rotate(-45deg);
}
.hero-clipboard__list .check.pending {
  background: transparent;
  border: 1.5px dashed var(--border-medium);
  box-shadow: none;
}
.hero-clipboard__list .check.pending::after { display: none; }
.hero-clipboard__list li.pending .task { color: var(--text-muted); }
.hero-clipboard__list li.pending .task::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-amber);
  margin-left: 0.5rem;
  vertical-align: middle;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-clipboard__list .task {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  text-decoration: line-through;
  text-decoration-color: rgba(32, 32, 204, 0.35);
  text-decoration-thickness: 1.5px;
}
.hero-clipboard__list li.pending .task { text-decoration: none; }
.hero-clipboard__list .meta {
  display: block;
  margin-top: 0.125rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-clipboard__total {
  margin-top: 1.5rem;
  padding-top: 1.125rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.hero-clipboard__total .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-clipboard__total .value {
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

/* ---- Editorial metric strip (no box) ------------------------ */
.edito-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.edito-metrics::before,
.edito-metrics::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: radial-gradient(ellipse at center, var(--primary) 0%, transparent 65%);
  opacity: 0.35;
}
.edito-metrics::before { top: -1px; }
.edito-metrics::after  { bottom: -1px; }

@media (min-width: 768px) {
  .edito-metrics { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .edito-metrics > * + * { border-left: 1px solid var(--border-light); padding-left: 2rem; }
}
.edito-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}
.edito-metric__value {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.edito-metric__value .unit {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.1em;
  letter-spacing: -0.02em;
}
.edito-metric__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---- Pain list — editorial numbered ------------------------- */
.pain-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}
.pain-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.4s var(--ease-out-quart);
}
@media (min-width: 768px) {
  .pain-item {
    grid-template-columns: 5rem 1fr auto;
    gap: 2.5rem;
    padding: 2.25rem 0.5rem;
  }
}
.pain-item:hover {
  background: linear-gradient(90deg, rgba(32, 32, 204, 0.02), transparent 60%);
}
.pain-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.04em;
  padding-top: 0.25rem;
  opacity: 0.8;
}
.pain-item h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .pain-item h3 { font-size: 1.625rem; }
}
.pain-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 38rem;
}
.pain-item__meta {
  display: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-top: 0.5rem;
  white-space: nowrap;
}
@media (min-width: 768px) { .pain-item__meta { display: block; } }

/* ---- Service bento grid ------------------------------------- */
.service-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .service-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .service-card--featured { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .service-bento {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.25rem;
  }
  .service-card--featured {
    grid-column: 1;
    grid-row: span 2;
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.25rem;
  box-shadow:
    0 1px 2px rgba(10, 14, 39, 0.03),
    0 4px 16px rgba(10, 14, 39, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.5s var(--ease-out-quart),
              box-shadow 0.5s var(--ease-out-quart),
              border-color 0.4s var(--ease-out-quart);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(10, 14, 39, 0.06),
    0 24px 60px rgba(10, 14, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(32, 32, 204, 0.2);
}

.service-card--featured {
  padding: 2.5rem;
  background:
    radial-gradient(at 10% 0%, rgba(74, 74, 244, 0.10), transparent 55%),
    radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(32, 32, 204, 0.18);
}
.service-card--featured:hover {
  border-color: rgba(32, 32, 204, 0.35);
}

.service-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.service-card__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.service-card--featured .service-card__num {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
}
.service-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--primary);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(32, 32, 204, 0.25);
}
.service-card__tag::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: white;
  animation: pulse-dot 2s ease-in-out infinite;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.625rem;
}
.service-card--featured .service-card__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.service-card--featured .service-card__desc {
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

.service-card__features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.04em;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
  transition: gap 0.3s var(--ease-out-quart), color 0.3s var(--ease-out-quart);
}
.service-card:hover .service-card__cta { gap: 0.75rem; color: var(--primary); }
.service-card--featured .service-card__cta {
  color: var(--primary);
  font-size: 0.875rem;
}
.service-card--featured .service-card__cta svg { width: 1rem; height: 1rem; }

/* ---- Method flow — horizontal editorial timeline ------------ */
.method-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .method-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
  }
}
@media (min-width: 1024px) {
  .method-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}
.method-flow__step {
  position: relative;
  padding-top: 4.25rem;
}
.method-flow__step::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(32, 32, 204, 0.12);
}
.method-flow__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.81rem;
  left: 0.875rem;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(32, 32, 204, 0.35) 0%, rgba(32, 32, 204, 0.08) 100%);
}
@media (max-width: 767px) {
  .method-flow__step:not(:last-child)::after { display: none; }
}
.method-flow__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  left: 0;
}
.method-flow__body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.method-flow__body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 22rem;
}
.method-flow__step--done .method-flow__num,
.method-flow__step--done::before { color: var(--accent-emerald); }
.method-flow__step--done::before { background: var(--accent-emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }

/* ---- Pull quote — editorial testimonial --------------------- */
.pullquote {
  position: relative;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
@media (min-width: 768px) {
  .pullquote { padding: 4rem 0 3rem; }
}
.pullquote__mark {
  position: absolute;
  top: 0.5rem;
  left: -0.25rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(8rem, 16vw, 14rem);
  line-height: 0.7;
  color: var(--primary);
  opacity: 0.08;
  pointer-events: none;
  font-weight: 700;
  user-select: none;
}
.pullquote__text {
  position: relative;
  font-size: clamp(1.375rem, 2.8vw, 2.125rem);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 48rem;
  margin-bottom: 2.5rem;
  padding-left: 0;
}
@media (min-width: 768px) {
  .pullquote__text { padding-left: 3.5rem; }
}
.pullquote__highlight {
  color: var(--primary);
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}
.pullquote__highlight::before {
  content: '';
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.08em;
  height: 0.35em;
  background: rgba(74, 74, 244, 0.16);
  border-radius: 0.3em;
  transform: rotate(-0.5deg);
  z-index: -1;
}
.pullquote__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .pullquote__footer { padding-left: 3.5rem; }
}
.pullquote__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(32, 32, 204, 0.25);
}
.pullquote__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.pullquote__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}
.pullquote__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), transparent);
  min-width: 1.5rem;
}
.pullquote__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease-out-quart);
  white-space: nowrap;
}
.pullquote__link:hover { color: var(--primary-dark); }

/* ---- Final CTA — editorial split ---------------------------- */
.final-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  position: relative;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}
@media (min-width: 1024px) {
  .final-cta {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    padding: 4.5rem 0 3rem;
    align-items: start;
  }
}
.final-cta__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.final-cta__sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 34rem;
}
.final-cta__right {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.25rem;
  box-shadow:
    0 4px 16px rgba(10, 14, 39, 0.04),
    0 24px 60px rgba(10, 14, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.final-cta__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border-light);
}
.final-cta__bullet {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
}
.final-cta__bullet .check {
  flex: 0 0 1.125rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--primary);
  position: relative;
  box-shadow: 0 2px 4px rgba(32, 32, 204, 0.25);
}
.final-cta__bullet .check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.25rem;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: translate(-50%, -70%) rotate(-45deg);
}
.final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.final-cta__actions .btn-glass-prominent {
  justify-content: center;
  width: 100%;
}
.final-cta__actions .btn-ghost {
  justify-content: center;
  text-align: center;
}

/* ---- Section header flex helper ----------------------------- */
.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.section-head-split h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-head-split p {
  max-width: 22rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Reduced transparency / motion fallbacks ---------------- */
@media (prefers-reduced-transparency: reduce) {
  .hero-clipboard,
  .service-card,
  .final-cta__right {
    background: var(--bg-elevated) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-clipboard { transform: none !important; }
  .service-card__tag::before { animation: none; }
}

/* ============================================================
   23. EDITORIAL GLUE — classes referenced by the redesigned
   landing-page HTML but not yet defined above. Keeps the HTML
   semantically clean while reusing the design tokens.
   ============================================================ */

/* ---- Shared headline used in every redesigned section ------- */
.edito-headline {
  font-size: clamp(1.875rem, 4.2vw, 3.125rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* Headline + side note pattern for section intros */
.edito-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .edito-section-head {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: end;
    gap: 2.5rem;
  }
}
.edito-section-head__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 22rem;
}
@media (min-width: 1024px) {
  .edito-section-head__note {
    text-align: right;
    padding-bottom: 0.5rem;
    margin-left: auto;
  }
}

/* ---- Services: class aliases + new variants ----------------- */
.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.service-card--featured .service-card__top {
  margin-bottom: 2rem;
}

/* Make the BASE tag muted (grey, quiet) for supporting cards */
.service-card__tag {
  background: rgba(10, 14, 39, 0.04);
  color: var(--text-muted);
  box-shadow: none;
  border: 1px solid var(--border-light);
}
.service-card__tag::before { display: none; }

/* Re-enable the prominent primary tag just for featured card */
.service-card__tag--primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(32, 32, 204, 0.25);
}
.service-card__tag--primary::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: white;
  animation: pulse-dot 2s ease-in-out infinite;
}

.service-card__title--xl {
  font-size: clamp(1.875rem, 3.2vw, 2.375rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 1.25rem;
}

.service-card__body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}
.service-card__body-sm {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px dashed var(--border-light);
  padding-top: 1.25rem;
}
.service-card__list li {
  position: relative;
  padding-left: 1.625rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.875rem;
  height: 1px;
  background: var(--primary);
}

/* ---- Method flow: head + title + body structure ------------- */
.method-flow__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-right: 1rem;
}
.method-flow__duration {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Our new HTML puts .method-flow__num inside the __head wrapper,
   not absolutely-positioned. Reset the existing abs-positioning. */
.method-flow__head .method-flow__num {
  position: static;
}
/* Now that num is no longer absolute, the pt-17 offset is too big */
.method-flow__step {
  padding-top: 1.75rem;
}
.method-flow__step::before {
  top: 0;
}
.method-flow__step:not(:last-child)::after {
  top: 0.3125rem;
}

.method-flow__title {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
/* Our HTML uses __body as the <p> itself, not a wrapper. Style it directly. */
p.method-flow__body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 22rem;
  margin: 0;
}

/* ---- Pullquote: meta + author cluster ----------------------- */
.pullquote__meta {
  margin-bottom: 1.75rem;
  position: relative;
}
@media (min-width: 768px) {
  .pullquote__meta { padding-left: 3.5rem; }
}

.pullquote__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .pullquote__author { padding-left: 3.5rem; }
}
.pullquote__author-initials {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(32, 32, 204, 0.2);
}
.pullquote__author-sep {
  width: 2.5rem;
  height: 1px;
  background: var(--border-medium);
  flex-shrink: 0;
}
.pullquote__author-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.pullquote__author-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.pullquote__author-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- Final CTA: left column + card right -------------------- */
.final-cta__left {
  display: flex;
  flex-direction: column;
}
.final-cta__headline {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
}
.final-cta__body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: 2rem;
}
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

/* Right-side checklist card */
.final-cta__card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.25rem;
  box-shadow:
    0 4px 16px rgba(10, 14, 39, 0.04),
    0 24px 60px rgba(10, 14, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  position: relative;
}
.final-cta__card::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  width: 3rem;
  height: 1.5rem;
  background: var(--primary);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.9;
}
.final-cta__card-head {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}
.final-cta__card-label {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.final-cta__checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.final-cta__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.final-cta__check {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(32, 32, 204, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.0625rem;
}

.final-cta__card-foot {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-light);
}
.final-cta__price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.015em;
}
.final-cta__price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Reduced transparency fallback for new glass card */
@media (prefers-reduced-transparency: reduce) {
  .final-cta__card {
    background: var(--bg-elevated) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

