/* ============================================================================
   Digital Leverage Daily — styles.css
   ----------------------------------------------------------------------------
   Structure:
     1.  Design tokens (CSS variables)
     2.  Reset & base
     3.  Layout helpers (container, sections)
     4.  Typography helpers (eyebrow, titles, gradient text)
     5.  Buttons
     6.  Header + navigation
     7.  Hero
     8.  Struggle section
     9.  Why section
     10. Discover grid
     11. Timeline (how it works)
     12. Who-it's-for
     13. FAQ accordion
     14. Stories section
     15. Final CTA
     16. Footer
     17. Floating UI (progress bar, sticky CTA, back-to-top)
     18. Animations & reveal
     19. Responsive breakpoints
     20. Accessibility (focus, reduced motion)
   ========================================================================== */


/* ============================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand palette (from brief) */
  --blue: #2563EB;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-50: #EFF4FF;
  --green: #22C55E;
  --green-50: #ECFDF3;

  /* Surfaces & text */
  --bg: #F8FAFC;
  --ink: #0F172A;     /* dark text */
  --ink-700: #334155; /* body text  */
  --ink-500: #64748B; /* muted text  */
  --line: #E2E8F0;    /* borders     */
  --white: #FFFFFF;

  /* Gradients */
  --grad-blue: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  --grad-brand: linear-gradient(120deg, #2563EB 0%, #22C55E 130%);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.7);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadows (soft, layered) */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, .12);
  --shadow-blue: 0 12px 30px rgba(37, 99, 235, .28);

  /* Spacing rhythm */
  --section-y: clamp(64px, 9vw, 120px);

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
}


/* ============================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px; /* keeps anchored sections clear of sticky header */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

strong { color: var(--ink); font-weight: 700; }

/* Skip link (visible on focus) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }


/* ============================================================================
   3. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 22px;
}
.container-narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }

/* Alternating tinted band */
.section-tint {
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(37, 99, 235, .05), transparent 60%),
    #F1F5F9;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}


/* ============================================================================
   4. TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-50);
  border: 1px solid rgba(37, 99, 235, .14);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow-center { margin-inline: auto; }
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

.section-title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
}

.section-lead {
  margin-top: 16px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-500);
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.micro-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-500);
}


/* ============================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  --pad-y: 13px;
  --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: var(--pad-y) var(--pad-x);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }

/* Sizes */
.btn-sm  { --pad-y: 10px; --pad-x: 18px; font-size: 14px; }
.btn-lg  { --pad-y: 15px; --pad-x: 28px; font-size: 16px; }
.btn-xl  { --pad-y: 18px; --pad-x: 34px; font-size: 17px; }

/* Primary (solid blue) */
.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(37, 99, 235, .40); transform: translateY(-2px); }

/* Secondary (outline glass) */
.btn-secondary {
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: #CBD5E1; box-shadow: var(--shadow-md); }

/* Light (used on dark final CTA) */
.btn-light {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 14px 36px rgba(2, 6, 23, .28);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(2, 6, 23, .36); }

/* Subtle shine sweep on primary buttons */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }


/* ============================================================================
   6. HEADER + NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, .72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
/* "scrolled" state toggled by JS */
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(15, 23, 42, .05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 70px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { border-radius: 9px; }
.brand-name { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.brand-accent { color: var(--blue); }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--blue);
  transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-cta { margin-left: 8px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 22px 22px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open { display: flex; animation: slideDown .3s var(--ease); }
.mobile-nav a {
  padding: 12px 4px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.mobile-nav a:last-child { border: none; margin-top: 10px; }
.mobile-nav .btn { justify-content: center; }


/* ============================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
}

/* Aurora gradient blobs */
.hero-aurora {
  position: absolute; inset: -10% -10% auto -10%; height: 80%;
  background:
    radial-gradient(40% 50% at 18% 20%, rgba(37, 99, 235, .22), transparent 60%),
    radial-gradient(36% 46% at 82% 12%, rgba(34, 197, 94, .18), transparent 60%),
    radial-gradient(40% 40% at 60% 60%, rgba(59, 130, 246, .12), transparent 60%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
/* faint dot grid overlay */
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-title {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 900;
  letter-spacing: -.03em;
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--ink-700);
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
}
.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}
.trust-badges svg { width: 18px; height: 18px; color: var(--green); }

/* Inline disclosure under hero */
.disclosure-inline {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

/* ---- Hero visual ---- */
.hero-visual { position: relative; }

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
}

.hero-illustration {
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

/* Floating cards over the illustration */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.float-card-1 { top: 8%; left: -6%; animation: float 6s ease-in-out infinite; }
.float-card-2 { bottom: 10%; right: -4%; animation: float 6s ease-in-out infinite .8s; }

.fc-icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
}
.fc-icon svg { width: 20px; height: 20px; }
.fc-icon-blue { background: var(--grad-blue); }
.fc-icon-green { background: linear-gradient(135deg, #4ADE80, #22C55E); }
.fc-title { font-weight: 700; color: var(--ink); font-size: 14px; line-height: 1.2; }
.fc-sub { font-size: 12px; color: var(--ink-500); }


/* ============================================================================
   8. STRUGGLE SECTION
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.struggle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.struggle-card { padding: 28px 24px; }
.struggle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #DBE3EC; }
.struggle-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
  margin-bottom: 18px;
}
.struggle-icon svg { width: 26px; height: 26px; }
.struggle-card h3 { font-size: 18px; margin-bottom: 8px; }
.struggle-card p { font-size: 15px; color: var(--ink-500); }


/* ============================================================================
   9. WHY SECTION
   ========================================================================== */
.why-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.why-list { margin: 28px 0 32px; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-check {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--green-50); color: var(--green);
}
.why-check svg { width: 17px; height: 17px; }
.why-list div { font-size: 16px; color: var(--ink-700); }

/* before/after compare card */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; padding: 26px; gap: 8px; align-items: center; }
.compare-col { text-align: center; padding: 8px; }
.compare-label { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-500); margin-bottom: 12px; }
.compare-before .compare-label { color: #EF4444; }
.compare-after .compare-label { color: var(--green); }
.scribble { padding: 8px 0; }
.compare-cap { font-size: 13px; color: var(--ink-500); margin-top: 8px; }
.compare-divider { width: 1px; align-self: stretch; background: var(--line); }


/* ============================================================================
   10. DISCOVER GRID
   ========================================================================== */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.discover-card { padding: 30px 26px; }
.discover-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #DBE3EC; }
.discover-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.discover-icon svg { width: 28px; height: 28px; }
.ic-blue { background: var(--blue-50); color: var(--blue); }
.ic-green { background: var(--green-50); color: var(--green); }
.discover-card h3 { font-size: 19px; margin-bottom: 10px; }
.discover-card p { font-size: 15px; color: var(--ink-500); }

.grid-note {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--ink-500);
}


/* ============================================================================
   11. TIMELINE (HOW IT WORKS)
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
/* connecting line behind the numbers (desktop) */
.timeline::before {
  content: "";
  position: absolute;
  top: 28px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  opacity: .35;
  z-index: 0;
}
.timeline-step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-blue);
  color: #fff; font-weight: 800; font-size: 21px;
  box-shadow: var(--shadow-blue);
  border: 4px solid var(--bg);
}
.section-tint .step-num { border-color: #F1F5F9; }
.step-body { padding: 24px 20px; text-align: center; }
.step-body h3 { font-size: 17px; margin-bottom: 8px; }
.step-body p { font-size: 14px; color: var(--ink-500); }

.center-cta { text-align: center; margin-top: 48px; }


/* ============================================================================
   12. WHO IT'S FOR
   ========================================================================== */
.who-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.checklist { margin-top: 28px; display: grid; gap: 14px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; color: var(--ink-700);
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.checklist li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.check-mark {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--grad-blue); color: #fff;
}
.check-mark svg { width: 15px; height: 15px; }

.who-card { border-radius: var(--r-xl); padding: 40px 34px; text-align: center; box-shadow: var(--shadow-lg); }
.who-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 20px;
  background: var(--blue-50); color: var(--blue);
}
.who-avatar svg { width: 32px; height: 32px; }
.who-quote { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.who-attr { margin-top: 14px; font-size: 14px; color: var(--ink-500); }


/* ============================================================================
   13. FAQ ACCORDION
   ========================================================================== */
.accordion { display: grid; gap: 14px; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.acc-item:hover { box-shadow: var(--shadow-sm); }
.acc-item.open { border-color: rgba(37, 99, 235, .35); box-shadow: var(--shadow-md); }

.acc-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  padding: 20px 22px;
}
.acc-chevron {
  width: 22px; height: 22px; color: var(--blue); flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.acc-item.open .acc-chevron { transform: rotate(180deg); }

/* Panel uses max-height transition for smooth open/close */
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.acc-panel p { padding: 0 22px 22px; font-size: 15px; color: var(--ink-500); }


/* ============================================================================
   14. STORIES SECTION
   ========================================================================== */
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-placeholder {
  min-height: 160px;
  display: grid; place-items: center;
  border-style: dashed;
  border-color: #CBD5E1;
  background: rgba(255, 255, 255, .5);
  color: var(--ink-500);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}


/* ============================================================================
   15. FINAL CTA
   ========================================================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  margin: 0 16px clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 55%, #1E40AF 100%);
  padding-block: clamp(56px, 8vw, 96px);
}
.final-aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 10%, rgba(34, 197, 94, .35), transparent 55%),
    radial-gradient(40% 60% at 10% 90%, rgba(96, 165, 250, .4), transparent 55%);
  pointer-events: none;
}
.final-inner { position: relative; text-align: center; max-width: 720px; }
.final-title { color: #fff; font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; }
.final-sub { color: rgba(255, 255, 255, .85); font-size: clamp(16px, 2vw, 19px); margin-top: 18px; }
.final-cta .btn-light { margin-top: 34px; }
.final-note { margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .7); }


/* ============================================================================
   16. FOOTER
   ========================================================================== */
.site-footer { background: #0B1220; color: #94A3B8; padding-top: clamp(48px, 6vw, 72px); }
.site-footer .brand-name { color: #fff; }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-brand { max-width: 340px; }
.footer-tagline { margin-top: 14px; font-size: 14px; color: #94A3B8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-content: flex-start; }
.footer-links a { color: #CBD5E1; font-size: 14px; }
.footer-links a:hover { color: #fff; }

.footer-disclosure { padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-disclosure h3 { color: #E2E8F0; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.footer-disclosure p { font-size: 13px; line-height: 1.7; color: #94A3B8; max-width: 880px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-block: 24px 32px; font-size: 13px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #94A3B8; }
.footer-legal a:hover { color: #fff; }


/* ============================================================================
   17. FLOATING UI
   ========================================================================== */
/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand);
  z-index: 200;
  transition: width .1s linear;
}

/* Sticky mobile CTA (hidden on desktop) */
.sticky-mobile-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 120;
  display: none;
  align-items: center; justify-content: center; gap: 8px;
  padding: 16px;
  background: var(--grad-blue);
  color: #fff !important;
  font-weight: 700;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-blue);
  text-decoration: none !important;
  transform: translateY(120%);
  transition: transform .35s var(--ease);
}
.sticky-mobile-cta.show { transform: translateY(0); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 110;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, color .2s;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); color: #fff; }


/* ============================================================================
   18. ANIMATIONS & REVEAL
   ========================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal: starts hidden, JS adds .is-visible */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }


/* ============================================================================
   19. RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta-row, .trust-badges { justify-content: center; }
  .hero-visual { max-width: 460px; margin: 8px auto 0; }

  .struggle-grid { grid-template-columns: repeat(2, 1fr); }
  .discover-grid { grid-template-columns: repeat(2, 1fr); }

  .why-inner, .who-inner { grid-template-columns: 1fr; }
  .why-visual, .who-visual { max-width: 440px; margin-inline: auto; }

  .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .timeline::before { display: none; }

  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile */
@media (max-width: 560px) {
  body { font-size: 16px; }

  .struggle-grid,
  .discover-grid,
  .timeline,
  .stories-grid { grid-template-columns: 1fr; }

  .compare { grid-template-columns: 1fr; }
  .compare-divider { width: 100%; height: 1px; }

  .float-card-1 { left: 0; top: 0; }
  .float-card-2 { right: 0; bottom: 4%; }
  .float-card { padding: 10px 13px; }
  .fc-icon { width: 32px; height: 32px; }

  .footer-bottom { flex-direction: column; }

  /* Show sticky mobile CTA, hide back-to-top so they don't overlap */
  .sticky-mobile-cta { display: flex; }
  .back-to-top { bottom: 84px; }
}


/* ============================================================================
   20. ENHANCEMENTS (v2) — trust strip, story, CTA bands, visual hierarchy
   These build on the base styles above without overriding existing layout.
   ========================================================================== */

/* ---- Sharper headline hierarchy ---- */
.hero-title {
  font-size: clamp(36px, 5.6vw, 66px);
  letter-spacing: -0.035em;
  line-height: 1.07;
}
.hero-sub { line-height: 1.7; }

/* ---- Trust strip (honest badges under the hero) ---- */
.trust-strip {
  padding-block: 20px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 32px;
}
.trust-strip-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}
.trust-strip-list svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
/* a touch of green on the "promise" and "secure" badges */
.trust-strip-list li:nth-child(4) svg,
.trust-strip-list li:nth-child(5) svg { color: var(--green); }

/* ---- Storytelling section ---- */
.story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-md);
}
.story-card .eyebrow { margin-bottom: 14px; }
.story-text {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.75;
  color: var(--ink-700);
  margin-top: 18px;
}

/* ---- Inline kicker above a CTA ---- */
.cta-kicker {
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

/* ---- Mid-page CTA band (before FAQ) ---- */
.cta-band { padding-block: clamp(40px, 6vw, 68px); }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(120deg, #EFF4FF 0%, #ECFDF3 100%);
  border: 1px solid #E3EBF6;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px) clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow-sm);
}
.cta-band-title { font-size: clamp(22px, 3vw, 31px); font-weight: 800; }
.cta-band-sub { margin-top: 8px; font-size: 16px; color: var(--ink-500); }
.cta-band-inner .btn { flex-shrink: 0; }

/* ---- Stronger card emphasis on the benefit cards ---- */
.discover-card { position: relative; overflow: hidden; }
.discover-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.discover-card:hover::before { transform: scaleX(1); }

/* ---- A little more contrast between adjacent light sections ---- */
.story { background: var(--bg); }

/* ---- Responsive tweaks for new components ---- */
@media (max-width: 760px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-band-inner .btn { width: 100%; }
}
@media (max-width: 560px) {
  .trust-strip-list { gap: 12px 22px; }
  .trust-strip-list li { font-size: 13px; }
  .hero-title { letter-spacing: -0.02em; }
  .story-card { border-left-width: 4px; }
  /* roomier tap targets on the most important buttons */
  .hero-cta-row .btn { width: 100%; }
}


/* ============================================================================
   21. ACCESSIBILITY
   ========================================================================== */
/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .55);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float-card { animation: none; }
}


/* ============================================================================
   22. WORDPRESS TEMPLATES (blog / page / search / archive / comments)
   These classes are used ONLY by the secondary templates, never by the
   landing page, so they cannot alter the front page's pixel-perfect design.
   ========================================================================== */

/* Layout: content + sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.blog-main { min-width: 0; }

/* Post summary cards */
.post-card { overflow: hidden; margin-bottom: 24px; }
.post-card .post-thumb { display: block; }
.post-card .post-thumb img { width: 100%; height: auto; object-fit: cover; }
.post-card-body { padding: 26px 26px 28px; }
.post-title { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 10px; line-height: 1.2; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a:hover { color: var(--blue); }
.post-meta { font-size: 13px; color: var(--ink-500); margin-bottom: 14px; }
.post-excerpt { color: var(--ink-700); margin-bottom: 18px; }
.post-excerpt p { margin: 0 0 12px; }

/* Single entry */
.entry { }
.entry-header { margin-bottom: 24px; }
.entry-thumb { margin: 0 0 28px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.entry-thumb img { width: 100%; height: auto; display: block; }
.entry-content { color: var(--ink-700); font-size: 17px; line-height: 1.75; }
.entry-content > * { margin: 0 0 1.1em; }
.entry-content h2 { font-size: clamp(22px, 3vw, 30px); margin: 1.4em 0 .5em; }
.entry-content h3 { font-size: clamp(19px, 2.4vw, 24px); margin: 1.3em 0 .5em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.entry-content blockquote {
  margin: 1.4em 0; padding: 8px 20px;
  border-left: 4px solid var(--blue);
  background: var(--blue-50); border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink);
}
.entry-content pre {
  background: #0B1220; color: #E2E8F0; padding: 18px 20px;
  border-radius: var(--r-md); overflow: auto; font-size: 14px;
}
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.entry-content :not(pre) > code {
  background: #EEF2F7; padding: 2px 6px; border-radius: 6px; font-size: .9em;
}
.entry-footer { margin-top: 28px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags li {
  font-size: 13px; font-weight: 600; color: var(--ink-700);
  background: #fff; border: 1px solid var(--line);
  padding: 5px 12px; border-radius: var(--r-pill);
}
.entry-tags li a { color: inherit; text-decoration: none; }

/* Sidebar + widgets */
.blog-sidebar { position: sticky; top: 90px; display: grid; gap: 20px; }
.widget { padding: 22px 24px; }
.widget-title { font-size: 16px; margin-bottom: 14px; color: var(--ink); }
.widget ul { display: grid; gap: 10px; }
.widget ul a { color: var(--ink-700); text-decoration: none; }
.widget ul a:hover { color: var(--blue); }

/* Pagination */
.pagination, .comments-pagination {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-top: 36px;
}
.pagination .page-numbers, .comments-pagination .page-numbers {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink-700); font-weight: 600; text-decoration: none;
}
.pagination .page-numbers.current { background: var(--grad-blue); color: #fff; border-color: transparent; }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }

/* Post navigation (prev/next) */
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.post-nav a { color: var(--blue); font-weight: 600; text-decoration: none; }

/* Page links (multi-page posts) */
.page-links { display: flex; gap: 8px; margin-top: 20px; font-weight: 600; }

/* Search form */
.search-form { display: flex; gap: 10px; }
.search-form .search-field {
  flex: 1; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: var(--r-pill); font: inherit; background: #fff; color: var(--ink);
}
.search-form .search-field:focus-visible { outline: 3px solid rgba(37,99,235,.4); outline-offset: 1px; }
.search-form .search-submit {
  padding: 12px 22px; border: none; cursor: pointer;
  background: var(--grad-blue); color: #fff; font-weight: 700;
  border-radius: var(--r-pill);
}

/* Comments */
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments-title { font-size: 22px; margin-bottom: 22px; }
.comment-list { display: grid; gap: 22px; }
.comment-list ol { list-style: none; margin: 18px 0 0; padding-left: clamp(16px, 4vw, 40px); }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 13px; color: var(--ink-500); margin: 4px 0 10px; }
.comment-metadata a { color: inherit; text-decoration: none; }
.comment-respond { margin-top: 28px; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; display: grid; gap: 6px; }
.comment-form label { font-weight: 600; font-size: 14px; color: var(--ink); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font: inherit; background: #fff; color: var(--ink);
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .form-submit { margin-top: 4px; }

/* Responsive: stack sidebar under content */
@media (max-width: 880px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
