/* BookLenses — premium palette: indigo trust + blue/violet electric + teal health */
:root {
  /* Foundation */
  --bg: #f4f6f9;
  --bg-deep: #eef1f6;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #94a3b8;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: #e2e8f0;

  /* Primary: deep indigo (trust) */
  --indigo-950: #1e1b4b;
  --indigo-900: #312e81;
  --indigo-800: #3730a3;

  /* Accent: electric blue → violet (intelligent, modern) */
  --blue-500: #3b82f6;
  --violet-500: #7c3aed;
  --violet-400: #8b5cf6;

  /* Highlight: muted teal (healthy / aligned) */
  --teal-600: #0d9488;
  --teal-400: #2dd4bf;
  --teal-soft: rgba(13, 148, 136, 0.12);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
  --grad-cta: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #7c3aed 100%);
  --grad-text: linear-gradient(135deg, #3b82f6, #7c3aed);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.4) 100%);

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-cta: 0 4px 14px rgba(59, 130, 246, 0.4), 0 8px 32px rgba(124, 58, 237, 0.25);
  --shadow-cta-hover: 0 6px 20px rgba(59, 130, 246, 0.45), 0 12px 40px rgba(124, 58, 237, 0.3);
  --glow-cta: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --max: 1120px;
  /* 8px spacing scale */
  --sp-1: 0.5rem;  /* 8 */
  --sp-2: 1rem;    /* 16 */
  --sp-3: 1.5rem;  /* 24 */
  --sp-4: 2rem;    /* 32 */
  --sp-5: 3rem;    /* 48 */
  --sp-6: 4rem;    /* 64 */
  --measure: 40rem; /* ~640px text column; body always left-aligned */
  --header-h: 64px;
  --reveal-dur: 0.7s;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* UI motion system (hovers, modals, buttons) — not scroll reveals */
  --dur-fast: 0.15s;
  --dur-base: 0.2s;
  --dur-slow: 0.32s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Single alignment anchor: page content is left-anchored (no mixed center/left blocks) */
main {
  text-align: left;
}
main .container {
  text-align: left;
}
body.has-cookie-banner {
  padding-bottom: 5.5rem;
}
@media (min-width: 600px) {
  body.has-cookie-banner {
    padding-bottom: 4.5rem;
  }
}

.title-font {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--indigo-950);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 200;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--sp-2);
}
@media (min-width: 768px) {
  .container {
    padding: 0 var(--sp-3);
  }
}
/* Text columns align to the container's left rail; the page container itself stays centered. */
.content-measure {
  max-width: var(--measure);
  width: 100%;
}
.content-measure--hero {
  max-width: min(36rem, 100%);
}
.container.content-measure {
  max-width: var(--max);
}
.container.content-measure > * {
  max-width: var(--measure);
}
.container.content-measure > .trust-grid,
.section-trust .container.content-measure > .trust-grid {
  max-width: 58rem;
}
/* One left column for headings, copy, and CTAs (Stripe-style) */
.stack-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}
.content-measure .section-title {
  margin-bottom: var(--sp-2);
}
.content-measure .section-lead {
  margin-bottom: var(--sp-2);
}
.scroll-anchor {
  height: 0;
  overflow: hidden;
}

/* Tiny reassurance directly after the hero; no extra product explanation here. */
.trust-line {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: var(--sp-2) 0;
}
.trust-line-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-1);
  max-width: var(--measure);
}
@media (min-width: 720px) {
  .trust-line-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 58rem;
  }
}
.trust-line-list li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 600;
}
.trust-line-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--teal-600);
}

/* Post-hero trust strip */
.trust-strip {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  padding: var(--sp-2) 0;
}
/* Block before “Important notice” at end of page */
.trust-strip--prelegal {
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding: var(--sp-4) 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .trust-strip--prelegal {
    padding: var(--sp-5) 0;
  }
}
.trust-strip-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.trust-strip-lead {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 55rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}
.trust-strip-lead a {
  color: #6366f1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.trust-strip-lead a:hover {
  color: var(--violet-500);
}
.trust-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-1) var(--sp-2);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .trust-strip-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .trust-strip-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-strip-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.trust-strip-ic {
  flex-shrink: 0;
  width: 3px;
  min-height: 1.5rem;
  margin-top: 0.2rem;
  background: var(--grad-cta);
  border-radius: 2px;
}
.trust-strip-list a {
  color: #6366f1;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.trust-strip-list a:hover {
  color: var(--violet-500);
}
.trust-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: var(--sp-3);
  max-width: var(--measure);
}
.trust-grid--4 {
  max-width: none;
}
@media (min-width: 800px) {
  .trust-grid--4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1000px) {
  .trust-grid--4 {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 52rem;
    margin-left: 0;
  }
}

/* ---------- Glass header + nav ---------- */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 246, 249, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.nav-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: var(--header-h);
  padding: 0.6rem 0;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.6rem;
  line-height: 1;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}
.logo-link:hover {
  opacity: 0.88;
}
.logo-mark {
  display: flex;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  line-height: 1.05;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
  gap: 0.35rem;
  min-width: 0;
}
@media (min-width: 400px) {
  .logo-block {
    flex-direction: row;
    flex-wrap: wrap;
    /* baseline made the 2-line tagline sit too low next to the mark + wordmark */
    align-items: center;
    gap: 0.5rem 0.75rem;
  }
}
.logo-tagline {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  line-height: 1.2;
  max-width: 11rem;
  align-self: flex-start;
  display: block;
}
@media (min-width: 400px) {
  .logo-tagline {
    border-left: 1px solid var(--border-strong);
    padding: 0.15rem 0 0.15rem 0.65rem;
    align-self: center;
  }
}
/* One line when there’s room — below this, wrapping is OK; center alignment still holds */
@media (min-width: 480px) {
  .logo-tagline {
    max-width: none;
    white-space: nowrap;
    line-height: 1.25;
  }
}
.logo-tagline-amp {
  opacity: 0.45;
  font-weight: 500;
  padding: 0 0.1rem;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-2);
  margin-left: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-in-out),
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    filter var(--dur-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
  letter-spacing: -0.01em;
}
.header-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.75);
  color: var(--indigo-900);
  font-family: var(--font-sans);
}
.header-cta:hover {
  background: #fff;
  border-color: #cbd5e1;
  color: var(--indigo-950);
  box-shadow: var(--shadow-sm);
}
.header-cta:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

.btn-cta--compact {
  padding: 0.62rem 1.2rem;
  font-size: 0.9375rem;
}

.btn-cta {
  position: relative;
  background: var(--grad-cta);
  color: #fff;
  padding: 0.8rem 1.65rem;
  font-size: 1rem;
  box-shadow: var(--shadow-cta), var(--glow-cta);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Primary CTA: dominant above the fold and end-of-page */
.btn-cta--hero {
  padding: 0.95rem 1.85rem;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-cta), var(--glow-cta), 0 0 0 1px rgba(255, 255, 255, 0.12);
  min-height: 3.1rem;
}
@media (max-width: 480px) {
  .btn-cta--hero {
    width: 100%;
    max-width: 22rem;
    align-self: flex-start;
  }
}
.btn-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.btn-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-cta-hover), var(--glow-cta);
  filter: brightness(1.03);
}
.btn-cta--hero:hover {
  filter: brightness(1.05);
  box-shadow: var(--shadow-cta-hover), var(--glow-cta);
}
.btn-cta:active,
.btn-cta--hero:active {
  transform: translateY(0) scale(0.99);
}
.btn-cta-on-dark {
  background: #fff;
  color: var(--indigo-950);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  filter: none;
}
.btn-cta-on-dark::after {
  display: none;
}
.btn-cta-on-dark:hover {
  background: #f8fafc;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  filter: none;
}
.btn-block {
  width: 100%;
  padding: 0.85rem 1.25rem;
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  margin-top: 0.25rem;
  font-weight: 500;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.btn-ghost:hover {
  background: #f1f5f9;
  color: var(--text);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--reveal-dur) var(--reveal-ease), transform var(--reveal-dur) var(--reveal-ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.06s;
}
.reveal-delay-2 {
  transition-delay: 0.12s;
}
.reveal-delay-3 {
  transition-delay: 0.18s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .btn-cta:hover,
  .card-lift:hover {
    transform: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 2.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #e8ecf4 0%, var(--bg) 50%, #f1f4f8 100%);
}
@media (min-width: 900px) {
  .hero {
    padding: 3.5rem 0 5.5rem;
  }
}
.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.orb-1 {
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  top: -15%;
  right: -5%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
  animation: float-1 18s ease-in-out infinite;
}
.orb-2 {
  width: min(50vw, 300px);
  height: min(50vw, 300px);
  bottom: 5%;
  left: -8%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 70%);
  animation: float-2 22s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .orb-1, .orb-2 {
    animation: none;
  }
}
@keyframes float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(16px, -12px); }
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}
.hero-grid > * {
  min-width: 0;
}
.hero--minimal {
  padding-bottom: 3rem;
}
@media (min-width: 900px) {
  .hero--minimal {
    padding-bottom: 4rem;
  }
}
/* “Product moment” — email is the handoff; keep under CTA, left column */
.hero-product-moment {
  max-width: 24rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  text-align: left;
}
.hero-product-moment strong {
  color: var(--indigo-900);
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--indigo-950);
  letter-spacing: -0.03em;
  max-width: var(--measure);
  text-align: left;
}
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: var(--measure);
  line-height: 1.65;
  text-align: left;
}
.hero-sub em {
  font-style: normal;
  color: var(--teal-600);
  font-weight: 500;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: none;
}
.microcopy {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
  max-width: 28rem;
  text-align: left;
}
/* Glass + unified card hover (one system) */
.glass-card {
  background: var(--grad-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border);
}
.card-lift {
  transition:
    box-shadow var(--dur-slow) var(--ease-in-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.card-lift:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .card-lift:hover {
    transform: none;
  }
}
/* ---------- Sections generic (8px system: 48–64 between sections) ---------- */
.section {
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .section {
    padding: var(--sp-6) 0;
  }
}
.section-title {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 var(--sp-2);
  line-height: 1.2;
  color: var(--indigo-950);
  text-align: left;
}
.h3-legal {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--sp-2);
  color: var(--indigo-950);
  text-align: left;
}
.section-lead,
.section-text {
  color: var(--text-muted);
  margin: 0 0 var(--sp-2);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}
.section-text:last-child {
  margin-bottom: 0;
}
.trust-card a {
  color: #6366f1;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.trust-card a:hover {
  color: var(--violet-500);
}

/* Steps */
.section-steps {
  background: var(--bg-elevated);
}
.steps {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
  }
}
.step-card {
  position: relative;
  padding: 1.4rem 1.25rem 1.5rem;
}
.step-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
}
.step-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}
.step-icon-teal {
  color: var(--teal-600);
  background: var(--teal-soft);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--indigo-950);
  letter-spacing: -0.02em;
}
.step-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Benefits */
.section-benefits {
  background: linear-gradient(180deg, var(--bg) 0%, #eceff4 100%);
}
.benefits {
  list-style: none;
  margin: var(--sp-3) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
  width: 100%;
  max-width: none;
}
@media (min-width: 768px) {
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-3);
  }
}
.benefit-card {
  position: relative;
  padding: 1.2rem 1.15rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.benefit-nudge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.12em;
}
.benefit-card strong {
  color: var(--indigo-950);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Trust */
.section-mid-cta {
  background: #fff;
}
.section-mid-cta .btn {
  align-self: flex-start;
  margin-top: var(--sp-1);
}
.section-mid-cta .microcopy {
  margin-top: var(--sp-1);
  color: var(--text-muted);
}

.section-trust {
  background: var(--bg-elevated);
}
.trust-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 2.25rem;
}
@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.trust-card {
  padding: 1.3rem 1.15rem 1.35rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo-800);
  margin: 0 0 0.4rem;
}

/* CTA band */
.section-cta {
  border: none;
  padding: var(--sp-5) 0 var(--sp-6);
  background: transparent;
}
/* Full-bleed band; copy inside .cta-content uses .content-measure */
.cta-inner {
  text-align: left;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  background: var(--grad-hero) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
  color: #fff;
  backdrop-filter: none;
  position: relative;
  overflow: hidden;
}
.cta-content {
  padding: var(--sp-4) var(--sp-3) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  /* width cap + left rail: .content-measure on same element */
}
@media (min-width: 768px) {
  .cta-content {
    padding: var(--sp-4) var(--sp-4) var(--sp-4);
  }
}
.glass-card-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: var(--measure);
  text-align: left;
  align-self: flex-start;
}
.cta-sub {
  margin: 0 0 var(--sp-2);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  max-width: var(--measure);
  line-height: 1.6;
  text-align: left;
  align-self: flex-start;
}
.micro-on-dark {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: var(--measure);
  line-height: 1.5;
  text-align: left;
  align-self: flex-start;
}
.microcopy--stack {
  margin-top: var(--sp-1);
}
.cta-inner .btn-cta-on-dark {
  margin-top: 0;
  align-self: flex-start;
}

/* Disclaimer */
.section-disclaimer {
  background: #e8ebf0;
  border: none;
  padding: 2.25rem 0 2.5rem;
}
.disclaimer-legal {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.site-footer {
  background: #0b1220;
  color: #94a3b8;
  padding: var(--sp-4) 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0));
}
.footer-grid {
  display: grid;
  gap: var(--sp-3);
  text-align: left;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .footer-span {
    grid-column: 1 / -1;
  }
}
.footer-col {
  min-width: 0;
}
.footer-brand {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 var(--sp-1);
  letter-spacing: -0.02em;
}
.footer-line {
  margin: 0;
  line-height: 1.6;
  color: #cbd5e1;
  font-size: 0.84rem;
  max-width: 32rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  align-items: flex-start;
  text-align: left;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #e2e8f0;
}
.footer-note {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  padding-top: var(--sp-1);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-domain {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
}
.footer-domain:hover {
  color: #e2e8f0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Cookie banner (GDPR-style notice + accept) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--sp-2) 0;
  padding-bottom: calc(var(--sp-2) + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: flex-start;
}
@media (min-width: 600px) {
  .cookie-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}
.cookie-text {
  margin: 0;
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 40rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
}
@media (min-width: 600px) {
  .cookie-actions {
    width: auto;
  }
}
.cookie-link {
  color: #a5b4fc;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-link:hover {
  color: #c7d2fe;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 500px) {
  .modal {
    align-items: center;
    padding: 1.5rem;
  }
}
.modal[hidden] {
  display: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.glass-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1.75rem 1.4rem 1.5rem;
  z-index: 1;
  animation: panel-in 0.32s var(--reveal-ease);
}
@media (min-width: 500px) {
  .modal-panel {
    border-radius: var(--radius);
  }
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .modal-panel { animation: none; }
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--text);
}
.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  padding-right: 2.25rem;
  color: var(--indigo-950);
  line-height: 1.25;
}
.modal-desc,
.form-foot {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0 0 1.35rem;
  line-height: 1.55;
  text-align: left;
}
.modal-email-promise {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 1.15rem;
  padding: 0.7rem 0.85rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  text-align: left;
}
.form-inline-note {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
  text-align: left;
}
.form-inline-note strong {
  color: var(--indigo-800);
  font-weight: 600;
}
#lead-form-pane .what-next {
  margin-top: 1.25rem;
  margin-bottom: 0;
}
.form-foot a {
  color: #6366f1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-foot a:hover {
  color: var(--violet-500);
}
.h2-in-modal {
  font-size: 1.2rem;
}
.what-next {
  margin: 0 0 var(--sp-3);
  padding: var(--sp-2);
  background: #f1f5f9;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  text-align: left;
}
.what-next-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--indigo-800);
  margin: 0 0 var(--sp-1);
}
.what-next-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.what-next-list li {
  margin-bottom: 0.4rem;
}
.what-next a {
  color: #6366f1;
  font-weight: 500;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--indigo-950);
  letter-spacing: 0.02em;
}
.field input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder {
  color: #94a3b8;
}
.field input:hover {
  border-color: #cbd5e1;
  background: #fff;
}
.field input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: #fff;
}
.field input[aria-invalid="true"] {
  border-color: #be123c;
}
.field-error {
  color: #be123c;
  font-size: 0.75rem;
  margin: 0.3rem 0 0;
}
.form-success {
  text-align: left;
  padding: 0.25rem 0 0;
}
.success-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 0 var(--sp-2) 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--teal-600);
  border-radius: 50%;
  border: 1px solid rgba(13, 148, 136, 0.25);
}
.success-message {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 var(--sp-2);
  line-height: 1.5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
