/* ============ Hero carousel (coverflow: center card + side peeks) ============ */
.hero-carousel {
  position: relative;
  width: 100%;
  padding: clamp(24px, 3.5vw, 64px) 0 clamp(32px, 4.5vw, 72px);
  overflow: hidden;
  background: var(--page-bg);
}

.hc-track {
  position: relative;
  width: 100%;
  height: clamp(320px, 56vh, 560px);
}

.hc-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(86%, 1400px);
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px var(--hc-shadow, rgba(0, 0, 0, 0.715));
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1), opacity .55s ease, filter .55s ease;
  filter: brightness(0.5) blur(1px);
  z-index: 1;
  background: color-mix(in srgb, var(--ink) 12%, var(--page-bg));
}

/* Shimmer skeleton overlay, hidden once img loads */
.hc-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      transparent 20%,
      color-mix(in srgb, var(--ink-2) 22%, transparent) 45%,
      color-mix(in srgb, var(--ink-2) 32%, transparent) 50%,
      color-mix(in srgb, var(--ink-2) 22%, transparent) 55%,
      transparent 80%),
    color-mix(in srgb, var(--ink) 10%, var(--page-bg));
  background-size: 240% 100%, 100% 100%;
  animation: hc-shimmer 1.4s linear infinite;
  transition: opacity .35s ease;
  opacity: 1;
  pointer-events: none;
}

.hc-slide.is-loaded::before {
  opacity: 0;
  animation: none;
}

.hc-slide.is-loaded img {
  opacity: 1;
}

@keyframes hc-shimmer {
  0% {
    background-position: 200% 0, 0 0;
  }

  100% {
    background-position: -100% 0, 0 0;
  }
}

.hc-slide.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  filter: none;
  z-index: 3;
  box-shadow: none;
}

.hc-slide.is-prev {
  transform: translate(calc(-50% - 34vw), -50%) scale(0.82);
  opacity: 0.5;
  z-index: 2;
}

.hc-slide.is-next {
  transform: translate(calc(-50% + 34vw), -50%) scale(0.82);
  opacity: 0.5;
  z-index: 2;
}

.hc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity .35s ease;
}

.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--page-bg);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 23.4%, transparent);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.hc-arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.hc-prev {
  left: clamp(16px, 3vw, 40px);
}

.hc-next {
  right: clamp(16px, 3vw, 40px);
}

.hc-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.hc-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: color-mix(in srgb, var(--ink) 30%, transparent);
  cursor: pointer;
  padding: 0;
  transition: width .25s ease, background .2s ease;
}

.hc-dot.is-active {
  background: var(--brand);
  width: 22px;
}

/* Laptop range: keep the coverflow, just shrink the card so images don't stretch */
@media (min-width: 1000px) and (max-width: 1599px) {
  .hero-carousel {
    padding: 32px 0 40px;
  }

  .hc-track {
    height: clamp(280px, 40vh, 400px);
  }

  .hc-slide {
    width: min(60%, 780px);
  }

  .hc-slide.is-prev {
    transform: translate(calc(-50% - 26vw), -50%) scale(0.82);
  }

  .hc-slide.is-next {
    transform: translate(calc(-50% + 26vw), -50%) scale(0.82);
  }

  .hc-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .brief-intro {
    padding: 52px 0 40px;
  }

  .brief-title {
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  }

  .brief-lede {
    font-size: 1rem;
  }

  .container {
    padding: 0 clamp(24px, 3vw, 48px);
  }

  .hdr-shell .primary-nav ul {
    gap: 30px;
  }
}

@media (max-width: 780px) {
  .hc-slide {
    width: 88%;
  }

  .hc-slide.is-prev {
    transform: translate(calc(-50% - 60vw), -50%) scale(0.82);
  }

  .hc-slide.is-next {
    transform: translate(calc(-50% + 60vw), -50%) scale(0.82);
  }
}

::selection {
  background: rgba(58, 134, 204, 0.25);
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:not(.cta):hover {
  color: var(--brand-2);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  color: inherit;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 em {
  font-style: italic;
  color: inherit;
  font-weight: 500;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
  color: var(--ink-2);
}

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

/* ============ HEADER (solid two-tier, full-width) ============ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  /* Deep navy glass. Soft brand-blue washes bleed across the top edge,
     translucent so scrolled content shows through - one continuous surface. */
  background:
    radial-gradient(120% 180% at 0% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%),
    radial-gradient(90% 140% at 100% 0%, color-mix(in srgb, var(--brand-2) 10%, transparent), transparent 55%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--page-bg) 54%, transparent) 0%,
      color-mix(in srgb, var(--page-bg) 46%, transparent) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

/* Light mode: very subtle white + gold wash, translucent */
[data-theme="light"] .site-header {
  --gold: #c9a24a;
  --gold-2: #e6c67a;
  background:
    radial-gradient(100% 140% at 0% 0%, color-mix(in srgb, var(--gold) 6%, transparent), transparent 55%),
    radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--gold-2) 4%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, var(--line));
}

.hdr-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: clamp(6px, 0.8vw, 12px) clamp(16px, 3vw, 40px);
  min-height: clamp(76px, 9vw, 112px);
  position: relative;
  gap: clamp(8px, 1.5vw, 24px);
}

.brand {
  display: flex;
  align-items: center;
}

/* Truly center the nav in the header, regardless of side widths */
.hdr-shell .primary-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hdr-shell .primary-nav ul {
  justify-content: center;
}

.hdr-shell .header-actions {
  margin-left: auto;
  gap: 10px;
}

/* ── Start Investing header button ── */
.hdr-shell .cta-header {
  /* reset base .cta overrides */
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5aa4e6 0%, #3a86cc 50%, #1d6aad 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 14px rgba(58,134,204,0.45), inset 0 1px 0 rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  /* single clean transition - no !important wars */
  transition: box-shadow .25s ease, filter .25s ease;
  transform: none;
  isolation: isolate;
}

/* kill base .cta ::before shimmer and transform on this button */
.hdr-shell .cta.cta-header::before { display: none; }
.hdr-shell .cta.cta-header { transform: none; }
.hdr-shell .cta.cta-header:hover { transform: none; color: #fff; }

/* shimmer sweep every 3s */
.hdr-shell .cta-header::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  animation: hdrShine 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes hdrShine {
  0%   { left: -75%; }
  50%  { left: 125%; }
  100% { left: 125%; }
}

/* children above shimmer */
.hdr-shell .cta-header .chdr-label,
.hdr-shell .cta-header .chdr-arrow { position: relative; z-index: 2; }

/* arrow slides right on hover */
.hdr-shell .cta-header .chdr-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .25s ease;
}
.hdr-shell .cta-header .chdr-arrow svg { width: 14px; height: 14px; }
.hdr-shell .cta-header:hover .chdr-arrow { transform: translateX(4px); }

/* hover: slightly brighter */
.hdr-shell .cta-header:hover {
  box-shadow: 0 6px 20px rgba(58,134,204,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
  filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .hdr-shell .cta-header::after { animation: none; }
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.audience-switch {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--page-bg) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  box-shadow:
    0 4px 12px color-mix(in srgb, var(--ink) 18.2%, transparent),
    0 1px 2px color-mix(in srgb, var(--ink) 13%, transparent);
}

.as-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.234),
    0 1px 2px rgba(0, 0, 0, 0.156),
    inset 0 1px 0 rgba(255, 255, 255, 1.0);
  transition: transform .28s cubic-bezier(.2, .7, .3, 1);
  z-index: 0;
}

.audience-switch[data-active="partner"] .as-thumb {
  transform: translateX(100%);
}

.as-opt {
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
  padding: 6px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  transition: color .22s ease;
  min-width: 88px;
}

.as-opt:hover {
  color: var(--ink);
}

.as-opt.is-active {
  color: var(--brand);
  text-shadow: none;
}

/* ============ BRIEF INTRO (below hero carousel) ============ */
.brief-intro {
  position: relative;
  padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 6vw, 96px);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--cream) 0%, transparent) 0%,
      color-mix(in srgb, var(--cream) 60%, transparent) 30%,
      var(--cream) 100%);
  margin-top: -80px;
  z-index: 2;
}

/* Soft transition zone from hero carousel into the brief intro */
.brief-intro::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--cream) 70%, transparent) 100%);
  pointer-events: none;
  z-index: -1;
}

.brief-inner {
  max-width: 860px;
  text-align: center;
}

.brief-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin: 0 0 14px;
}

.brief-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
}

.brief-title em {
  font-style: italic;
  color: inherit;
}

.brief-lede {
  font-size: 1.1rem;
  color: var(--ink-2);
  margin: 0 auto 28px;
  max-width: 640px;
}

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

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* never let flex layout squish the logo */
  min-width: 0;
}

.brand-logo {
  height: clamp(56px, 7.5vw, 110px);
  /* fluid, capped - no fixed 130px */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* preserve aspect ratio, no stretch */
  flex-shrink: 0;
  /* No `display` here - the earlier .brand-logo-light / .brand-logo-dark
     toggle rules control which of the two logos is visible per theme.
     Overriding to `display: block` here would show both. */
}

/* Dark-mode: lift the tagline contrast on the logo.
   Uses a scoped filter that brightens the blue slightly so the small text
   pops on dark backgrounds. Delete this block to revert. */
[data-theme="dark"] .brand-logo-dark {
  filter: brightness(1.15) contrast(1.08) saturate(1.05);
}

.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 32px;
}

/* liquid-glass nav links */
.primary-nav a {
  position: relative;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition:
    color .2s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    backdrop-filter .25s ease;
}

.primary-nav a:hover {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    0 6px 18px rgba(13, 90, 158, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.975);
}

/* Header nav (flat, centered, with animated underline) */
.site-header .primary-nav ul {
  gap: 38px;
}

.site-header .primary-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 2px;
  border: 0;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: color .2s ease;
}

.site-header .primary-nav a::after {
  content: '';
  box-shadow: 0 2px 6px color-mix(in srgb, var(--brand) 39%, transparent);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1);
}

.site-header .primary-nav a:hover {
  color: var(--brand);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .primary-nav a:hover::after,
.site-header .primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header .primary-nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

/* ============ CTA BUTTONS (liquid glass) ============ */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(58, 134, 204, 0.95), rgba(13, 90, 158, 0.98));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 8px 24px rgba(13, 90, 158, 0.364),
    inset 0 1px 0 rgba(255, 255, 255, 0.585),
    inset 0 -1px 0 rgba(0, 0, 0, 0.104);
  transition:
    transform .18s cubic-bezier(.2, .7, .3, 1),
    box-shadow .22s ease,
    filter .22s ease,
    background .25s ease;
  overflow: hidden;
  isolation: isolate;
}

/* Subtle inner gradient shift on hover, no shine sweep */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 90, 158, 0.98), rgba(58, 134, 204, 0.98));
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
}

.cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px rgba(13, 90, 158, 0.416),
    inset 0 1px 0 rgba(255, 255, 255, 0.585);
}

.cta:hover::before {
  opacity: 1;
}

.cta:active {
  transform: translateY(0);
  box-shadow:
    0 4px 12px rgba(13, 90, 158, 0.364),
    inset 0 1px 0 rgba(255, 255, 255, 0.455);
}

/* ghost = translucent, brand text */
.cta-ghost {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: none;
}

.cta-ghost::before {
  background: linear-gradient(120deg, transparent 30%, color-mix(in srgb, var(--brand) 20%, transparent) 50%, transparent 70%);
}

.cta-ghost:hover {
  background: color-mix(in srgb, var(--brand) 22%, transparent);
  color: var(--brand);
  border-color: var(--brand);
  filter: none;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 28.6%, transparent);
}


.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 120px) 0;
  min-height: clamp(520px, 72vh, 780px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(60% 45% at 90% 5%, rgba(58, 134, 204, 0.08), transparent 60%),
    radial-gradient(50% 40% at 5% 90%, rgba(233, 223, 204, 0.35), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}

.hero>.container {
  width: 100%;
}

/* Small α outline pattern - tiled subtly across the hero */
.hero-watermark {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero-side {
  position: relative;
}

.hero-left {
  justify-self: end;
  width: 100%;
  max-width: 340px;
}

.hero-right {
  justify-self: start;
  width: 100%;
  max-width: 460px;
}

.hero-copy {
  text-align: center;
  padding: 0 8px;
}

.hero-copy .lede,
.hero-copy .eyebrow {
  display: inline-block;
}

.hero-copy .lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy .hero-cta {
  justify-content: center;
}

.hero-copy .hero-trust {
  text-align: center;
}

/* Trust strip - quiet inline row */
.trust-strip {
  padding: 20px 0 28px;
}

.trust-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  flex-wrap: wrap;
  opacity: 0.85;
}

.trust-band .trust {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
}

.trust-band .tk {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.trust-band .tv {
  font-size: 0.86rem;
  color: var(--ink-2);
  font-weight: 500;
}

.trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-2);
}

@media (max-width: 720px) {
  .trust-sep {
    display: none;
  }

  .trust-band .trust {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
}

.eyebrow,
.section-eyebrow {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.section-eyebrow.light {
  color: #b6d4f0;
}

.lede {
  font-size: 1.18rem;
  color: var(--ink-2);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.65;
}

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

/* Subtle trust footnote right under CTAs */
.hero-trust {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.hero-trust span {
  margin: 0 6px;
  color: var(--line-2);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.trust {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust .tk {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.trust .tv {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

/* ============ HERO FLIP CARDS ============ */
.flip-card {
  perspective: 1600px;
  width: 100%;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .7, .3, 1);
}

.flip-card:hover .flip-inner,
.flip-card:focus-within .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-front {
  position: relative;
  z-index: 2;
}

.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  z-index: 1;
}

.flip-hint {
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  font-weight: 500;
  transition: color .2s ease;
}

.flip-card:hover .flip-hint {
  color: var(--brand);
}

/* ============ HERO LEFT - Fund at a glance ============ */
.glance-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 30px 80px rgba(13, 90, 158, 0.156),
    0 6px 20px rgba(13, 90, 158, 0.078),
    inset 0 1px 0 rgba(255, 255, 255, 1.0);
  transition: box-shadow .3s ease;
}

.flip-card:hover .glance-card {
  box-shadow:
    0 40px 100px rgba(13, 90, 158, 0.234),
    0 8px 24px rgba(13, 90, 158, 0.104),
    inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

.glance-back {
  background: linear-gradient(180deg, rgba(230, 240, 249, 0.92), rgba(255, 255, 255, 0.75));
}

.gc-badge {
  font-size: 0.68rem;
  color: #fff;
  background: var(--brand);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.gc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.gc-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

.gc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a8c5e;
  box-shadow: 0 0 8px rgba(26, 140, 94, 0.78);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.gc-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.gc-row:last-child {
  border-bottom: 0;
}

.gc-k {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.gc-v {
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 500;
}

.gc-v.gc-risk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gc-v.gc-risk i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0a020;
}

.gc-meter {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.gc-meter-k {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.gc-meter-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      #4fd39b 0%, #f0a020 55%, #e15b5b 100%);
  overflow: hidden;
}

.gc-meter-fill {
  display: none;
}

.gc-meter-marker {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.26);
}

.gc-meter-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}


/* Hero visual - rich glass card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 540px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 28px;
  transition: box-shadow .3s ease;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 40px 100px rgba(13, 90, 158, 0.182),
    0 8px 24px rgba(13, 90, 158, 0.078),
    inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

.flip-card:hover .visual-card {
  box-shadow:
    0 50px 120px rgba(13, 90, 158, 0.26),
    0 10px 30px rgba(13, 90, 158, 0.104),
    inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

.visual-back {
  background: linear-gradient(180deg, rgba(230, 240, 249, 0.92), rgba(255, 255, 255, 0.75));
}

/* Performance grid on flip-back */
.visual-back {
  padding: 20px 24px;
}

.perf-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.pcell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.pcell:last-child {
  border-bottom: 0;
}

.p-k {
  color: var(--ink-2);
  font-size: 0.82rem;
}

.p-v {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
}

.p-v.up {
  color: #1a8c5e;
}

.p-bar {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: rgba(13, 90, 158, 0.08);
  overflow: hidden;
}

.p-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3a86cc, #0d5a9e);
  border-radius: 999px;
}

.perf-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.pf-k {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.pf-v {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
}

.pf-v.up {
  color: #1a8c5e;
}

.vc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.vc-title {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.vc-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.vc-badge {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
}

.vc-value {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.vc-value .from {
  color: var(--muted);
}

.vc-value .arr {
  color: var(--brand-2);
  font-size: 1.3rem;
}

.vc-value .to {
  color: var(--brand);
}

.vc-value .delta {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a8c5e;
  background: rgba(26, 140, 94, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.vc-chart {
  width: 100%;
  height: 170px;
}

.vc-chart path {
  transition: d .5s ease;
}

.vc-chart circle {
  transition: cy .5s ease;
}

.vc-legend {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--ink-2);
}

.vc-legend .lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vc-legend .lg::before {
  content: '';
  width: 14px;
  height: 2px;
  border-radius: 1px;
}

.vc-legend .lg-primary::before {
  background: linear-gradient(90deg, #3a86cc, #0d5a9e);
}

.vc-legend .lg-bench::before {
  background: repeating-linear-gradient(90deg, #b6c5d8 0 4px, transparent 4px 8px);
}

.vc-timeframe {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  padding: 4px;
  background: rgba(247, 250, 253, 0.7);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

/* Outer variant - placed under the flip card so it stays clickable */
.vc-timeframe-outer {
  margin: 20px auto 0;
  max-width: 340px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow:
    0 6px 18px rgba(13, 90, 158, 0.104),
    inset 0 1px 0 rgba(255, 255, 255, 1.0);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

/* Hide the outer timeframe when the sibling flip card is flipped */
.hero-right .flip-card:hover~.vc-timeframe-outer,
.hero-right .flip-card:focus-within~.vc-timeframe-outer {
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
}

.vc-timeframe .tf {
  flex: 1;
  padding: 7px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.vc-timeframe .tf:hover {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

.vc-timeframe .tf.is-active {
  background: linear-gradient(180deg, #ffffff, #f2f7fc);
  color: var(--brand);
  border-color: rgba(13, 90, 158, 0.14);
  box-shadow:
    0 4px 12px rgba(13, 90, 158, 0.182),
    inset 0 1px 0 rgba(255, 255, 255, 1.0);
}

.vc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.vc-stats>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vc-stats .k {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.vc-stats .v {
  font-size: 0.94rem;
  color: var(--ink);
  font-weight: 500;
}

.vc-stats .v.risk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vc-stats .v.risk .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0a020;
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

/* Reusable α outline tile - same asset as the hero */
.section-white,
.section-cream {
  position: relative;
  overflow: hidden;
}

.section-white::before,
.section-cream::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 85% 80% at center, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at center, #000 40%, transparent 100%);
}

.section-white {
  background: var(--white);
}

.section-white::before {
  display: none;
}

.section-cream {
  background:
    radial-gradient(70% 55% at 90% 100%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 60%),
    radial-gradient(60% 50% at 10% 0%, color-mix(in srgb, var(--brand-2) 8%, transparent), transparent 60%),
    var(--cream);
}

/* Light mode: golden/warm backdrop for cream sections */
[data-theme="light"] .section-cream {
  background:
    radial-gradient(70% 55% at 90% 100%, color-mix(in srgb, var(--sand) 55%, transparent), transparent 60%),
    radial-gradient(60% 50% at 10% 0%, color-mix(in srgb, var(--cream-2) 80%, transparent), transparent 60%),
    var(--cream);
}

/* Light mode: brief-intro joins the alternation as a warm-tinted band */
[data-theme="light"] .brief-intro {
  background:
    radial-gradient(60% 50% at 90% 100%, color-mix(in srgb, var(--sand) 45%, transparent), transparent 60%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--cream) 0%, transparent) 0%,
      color-mix(in srgb, var(--cream) 65%, transparent) 30%,
      var(--cream) 100%);
}

/* Alternating sections blend seamlessly - no visible hairline separator */
.section-white+.section-cream,
.section-cream+.section-white {
  border-top: 0;
}

/* Cream sections get a soft dotted pattern instead of the α tile */
.section-cream::before {
  background-image:
    radial-gradient(rgba(13, 90, 158, 0.28) 1px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: 0 0;
  opacity: 0.55;
}

/* Keep section content above the pattern */
.section>.container {
  position: relative;
  z-index: 1;
}

.section-blue {
  background:
    radial-gradient(70% 60% at 20% 10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%),
    radial-gradient(60% 55% at 90% 100%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 60%),
    var(--page-bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Light mode: contact section uses a warm sand backdrop (no blue) */
[data-theme="light"] .section-blue {
  background:
    radial-gradient(70% 55% at 90% 100%, color-mix(in srgb, var(--sand) 55%, transparent), transparent 60%),
    radial-gradient(60% 50% at 10% 0%, color-mix(in srgb, var(--cream-2) 80%, transparent), transparent 60%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .section-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(13, 90, 158, 0.20) 1px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: 0 0;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 85% 80% at center, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at center, #000 40%, transparent 100%);
}

[data-theme="light"] .section-blue>.container {
  position: relative;
  z-index: 1;
}

.section-blue h2,
.section-blue h3 {
  color: var(--ink);
}

.section-blue p {
  color: var(--ink-2);
}

.section-blue .section-sub.light {
  color: var(--ink-2);
}

.section-blue .section-eyebrow.light {
  color: var(--brand);
}

.section-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 60px;
}

.section-sub {
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.65;
  margin: 0;
  padding-bottom: 0.35em;
}

/* ============ COMPARE MATRIX ============ */
.compare-matrix {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(8px, 1.2vw, 20px) clamp(8px, 1.5vw, 24px) clamp(20px, 2.5vw, 36px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--ink) 15.6%, transparent);
  overflow: hidden;
}

.cmatrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cmatrix thead th {
  padding: clamp(14px, 1.6vw, 24px) clamp(12px, 1.5vw, 24px);
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: clamp(0.88rem, 1.05vw, 1.02rem);
}

.cmatrix thead th.cm-attr {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cmatrix thead .cm-highlight {
  color: var(--brand);
  background: linear-gradient(180deg,
      color-mix(in srgb, var(--brand) 12%, transparent),
      color-mix(in srgb, var(--brand) 3%, transparent));
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  position: relative;
}

.cmatrix thead .cm-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #3a86cc, #0d5a9e);
  border-radius: 3px 3px 0 0;
}

.cm-pill {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
}

.cmatrix tbody td {
  padding: clamp(12px, 1.4vw, 20px) clamp(12px, 1.5vw, 24px);
  border-bottom: 1px dashed var(--line);
  color: var(--ink-2);
  vertical-align: middle;
  font-size: clamp(0.86rem, 0.98vw, 0.98rem);
}

.cmatrix tbody tr:last-child td {
  border-bottom: 0;
}

.cmatrix tbody td.cm-attr {
  color: var(--ink);
  font-weight: 500;
  width: 26%;
}

.cmatrix tbody td.cm-highlight {
  color: var(--ink);
  font-weight: 600;
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.cmatrix tbody tr:hover td {
  background: color-mix(in srgb, var(--brand) 5%, transparent);
}

.cmatrix tbody tr:hover td.cm-highlight {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}

.dots {
  display: inline-flex;
  gap: 3px;
  margin-right: 8px;
  vertical-align: middle;
}

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  display: inline-block;
}

.dots.on i {
  background: var(--brand-2);
}

.compare-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 3.5vw, 48px);
  border-top: 1px solid var(--line);
}

.mini-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px clamp(16px, 2vw, 28px);
  color: var(--ink);
  text-align: center;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}

/* Vertical hairline dividers between pillars (skip last) */
.mini-pillar:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line);
}

.mini-pillar:hover {
  transform: translateY(-3px);
}

.mp-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--brand) 70%, var(--ink));
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: color .3s ease, transform .4s cubic-bezier(.2, .7, .3, 1);
}

.mini-pillar:hover .mp-icon {
  color: var(--brand);
  transform: scale(1.05);
}

.mp-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}

/* Label typography - serif, editorial feel */
.mini-pillar>span {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
}

/* Warm gold accent bar that draws under the label on hover */
.mini-pillar>span::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .3, 1);
}

.mini-pillar:hover>span::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Light mode: give the accent bar a warm sand tone */
[data-theme="light"] .mini-pillar>span::after {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sand) 90%, var(--brand)), transparent);
}

/* ============ HORIZONTAL TIMELINE ============ */
.timeline {
  position: relative;
  padding: 60px 24px 24px;
}

.tl-track {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 96px;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(58, 134, 204, 0) 0%,
      rgba(58, 134, 204, 0.5) 8%,
      rgba(58, 134, 204, 0.7) 50%,
      rgba(58, 134, 204, 0.5) 92%,
      rgba(58, 134, 204, 0) 100%);
  border-radius: 2px;
}

.tl-nodes {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tl-node {
  position: relative;
  text-align: center;
  padding-top: 76px;
}

.tl-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px #fff,
    0 12px 24px rgba(13, 90, 158, 0.195);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tl-node:hover .tl-dot {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 0 0 6px #fff, 0 18px 32px rgba(13, 90, 158, 0.312);
}

.tl-dot svg {
  width: 24px;
  height: 24px;
}

.tl-step {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 8px;
}

.tl-node h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.tl-node p {
  font-size: 0.95rem;
  max-width: 240px;
  margin: 0 auto;
}

/* Hover detail card */
.tl-detail {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translate(-50%, -14px);
  width: 300px;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 30px 70px rgba(13, 90, 158, 0.234),
    0 6px 18px rgba(13, 90, 158, 0.104),
    inset 0 1px 0 rgba(255, 255, 255, 1.0);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .22s ease,
    transform .28s cubic-bezier(.2, .7, .3, 1),
    visibility .28s;
  z-index: 10;
}

.tl-node:hover .tl-detail,
.tl-node:focus-within .tl-detail {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -100%);
  transition-delay: .05s;
}

.tl-detail::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.tl-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tl-detail-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.tl-detail-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.tl-detail h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.tl-detail ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tl-detail li {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.tl-detail li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
}

.tl-detail-foot {
  display: block;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem;
  color: var(--brand);
  font-style: italic;
}

/* Timeline caption below (moved from section-head sub) */
.timeline-caption {
  text-align: center;
  margin-top: 32px;
  color: var(--ink-2);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .timeline {
    padding: 40px 0 24px;
  }

  .tl-nodes {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tl-track {
    left: 50%;
    top: 24px;
    bottom: 24px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,
        rgba(58, 134, 204, 0) 0%,
        rgba(58, 134, 204, 0.5) 8%,
        rgba(58, 134, 204, 0.7) 50%,
        rgba(58, 134, 204, 0.5) 92%,
        rgba(58, 134, 204, 0) 100%);
  }
}

/* ============ MANIFESTO SECTION ============ */
.section-manifesto {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(60% 55% at 15% 20%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%),
    radial-gradient(55% 50% at 90% 90%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 60%),
    var(--page-bg);
}

.section-manifesto::before {
  display: none;
}

/* Light mode: manifesto gets a warm neutral wash, no blue */
[data-theme="light"] .section-manifesto {
  background:
    radial-gradient(70% 55% at 15% 20%, rgba(201, 162, 74, 0.08), transparent 60%),
    radial-gradient(60% 50% at 90% 90%, rgba(233, 223, 204, 0.5), transparent 60%),
    #ffffff;
}

[data-theme="light"] .section-manifesto::before {
  display: none;
}

.section-manifesto>.container {
  position: relative;
  z-index: 1;
}

/* ============ QUOTE ============ */
.quote-block {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.quote-block::before,
.quote-block::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-2), transparent);
  left: 50%;
  transform: translateX(-50%);
}

.quote-block::before {
  top: -1px;
}

.quote-block::after {
  bottom: -1px;
}

.quote-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 24px;
  padding: 4px 14px;
  background: var(--brand-soft);
  border-radius: 999px;
}

.quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.quote em {
  color: var(--brand);
  font-style: italic;
}

.quote-attrib {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ============ DISCLOSURES ============ */
.disclosure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.disclosure-col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 0;
}

.disclosure-col h3 {
  font-size: 0.85rem;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 22px 28px 14px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 6px;
}

.disclosure-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.disclosure-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  color: var(--ink-2);
  font-size: 0.95rem;
  border-left: 2px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.disclosure-list a::after {
  content: '→';
  color: var(--muted);
  font-size: 1rem;
  transition: transform .18s ease, color .15s ease;
}

.disclosure-list a:hover {
  background: var(--brand-soft);
  border-left-color: var(--brand);
  color: var(--brand);
}

.disclosure-list a:hover::after {
  color: var(--brand);
  transform: translateX(4px);
}

/* ============ CONTACT (blue band) ============ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.contact-card {
  display: block;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: 12px;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}

a.contact-card:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.cc-label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.cc-value {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}

a.contact-card .cc-value {
  color: var(--ink);
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #08243d 0%, #061a2c 100%);
  color: #b4c4d7;
  padding: 72px 0 0;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--brand) 22%, transparent) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.site-footer>.container {
  position: relative;
  z-index: 1;
}

/* Layout tweak: brand+social on the left (wider), then two link columns.
   Was 4 columns (brand / Company / Support / Connect); the Connect column's
   social icons now live inside the brand column, freeing space and letting
   the brand block breathe. */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 56px;
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand {
  display: inline-block;
  width: fit-content;
}

.footer-brand .brand-logo {
  height: 40px;
  width: auto;
  opacity: 0.98;
}

.footer-tagline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social li {
  margin: 0;
}

.footer-social a {
  display: inline-flex;
  opacity: 0.85;
  transition: opacity .2s ease;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social img {
  display: block;
  filter: brightness(0) invert(1);
  width: 28px;
  height: 28px;
}

.footer-col a {
  position: relative;
  display: inline-block;
  transition: color .2s ease, transform .2s ease;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--brand-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.footer-col a:hover::after {
  transform: scaleX(1);
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-col h4 {
  color: #7cb0e0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 22px 0 12px;
}

.footer-col h4:first-child {
  margin-top: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.footer-col li {
  margin: 6px 0;
}

.footer-col a {
  color: #b4c4d7;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #8ea3bc;
}

.disclaimer {
  max-width: 720px;
  text-align: right;
  margin: 0;
  line-height: 1.55;
}

.disclaimer strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 4px;
}

.disclaimer-line-2 {
  display: block;
  text-align: center;
  margin-top: 4px;
}

/* ============ FOOTER - disclaimer-first arrangement ============
   Only overrides layout while keeping the existing .site-footer background,
   glow, and color tokens. To revert, remove the .site-footer-df class from
   the <footer> element on any given page. */

.site-footer-df {
  padding-top: 56px;
}

/* Row 1 - SEBI disclaimer. Slightly larger and higher-contrast than the old
   bottom-bar disclaimer so it reads as an intentional first statement. */
.fdf-disclaimer {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fdf-disclaimer p {
  margin: 0;
  max-width: 960px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #cfd9e6;
  letter-spacing: 0.005em;
}

.fdf-disclaimer strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 6px;
}

/* Row 2 - single horizontal row of every link. */
.fdf-links {
  position: relative;
  z-index: 1;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fdf-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
}

.fdf-links a {
  color: #b4c4d7;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 4px 0;
  transition: color .2s ease;
}

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

/* Row 3 - identity signoff. Brand + tagline (left), social (center), © (right).
   Reads as the quiet closing signature under the loud legal + link rows above. */
.fdf-signoff {
  position: relative;
  z-index: 1;
  padding: 28px 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.fdf-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.fdf-identity .footer-brand {
  display: inline-block;
  flex-shrink: 0;
}

.fdf-identity .footer-brand .brand-logo {
  height: 36px;
  width: auto;
  opacity: 0.98;
}

.fdf-identity .footer-tagline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.005em;
}

.site-footer-df .footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: center;
}

.site-footer-df .footer-social a {
  display: inline-flex;
  opacity: 0.75;
  transition: opacity .2s ease;
}

.site-footer-df .footer-social a:hover {
  opacity: 1;
}

.fdf-copyright {
  margin: 0;
  font-size: 0.82rem;
  color: #8ea3bc;
  text-align: right;
  justify-self: end;
}

/* Responsive - stack the signoff row on tablet/phone. */
@media (max-width: 900px) {
  .fdf-signoff {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 20px;
  }

  .site-footer-df .footer-social {
    justify-self: start;
  }

  .fdf-copyright {
    text-align: left;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .site-footer-df {
    padding-top: 40px;
  }

  .fdf-disclaimer p {
    font-size: 0.92rem;
  }

  .fdf-links nav {
    gap: 6px 20px;
  }

  .fdf-links a {
    font-size: 0.85rem;
  }
}

/* ============ FOOTER - reverse-pyramid arrangement ============
   Widest legal weight at the top, narrowest identity at the bottom.
   Row 1: SEBI disclaimer (full width, largest presence).
   Row 2: three grouped link columns (Company / Support / Legal).
   Row 3: centered identity signoff (brand + tagline + social + ©).
   All new styles scoped under .site-footer-rp so swapping back to the
   original or the disclaimer-first version is a class-name change. */

.site-footer-rp {
  padding-top: 56px;
}

/* Row 1 - SEBI disclaimer with a subtle top emphasis. */
.frp-disclaimer {
  position: relative;
  z-index: 1;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.frp-disclaimer p {
  margin: 0 auto;
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.55;
  color: #cfd9e6;
  letter-spacing: 0.005em;
}

.frp-disclaimer strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 6px;
}

/* Row 2 - three link columns, medium visual weight. */
.frp-columns {
  position: relative;
  z-index: 1;
  padding: 40px 0 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  justify-items: center;
}

.frp-col {
  text-align: center;
}

.frp-col h4 {
  color: #7cb0e0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 14px;
}

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

.frp-col li {
  margin: 8px 0;
}

.frp-col a {
  color: #b4c4d7;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}

.frp-col a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* Row 3 - centered signoff: identity block at the narrow tip of the pyramid.
   Tight vertical rhythm keeps this from feeling like a school-project centered
   footer - small gaps, small type, tagline sitting close under the mark. */
.frp-signoff {
  position: relative;
  z-index: 1;
  padding: 36px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.frp-signoff .footer-brand {
  display: inline-block;
}

.frp-signoff .footer-brand .brand-logo {
  height: 40px;
  width: auto;
  opacity: 0.98;
}

.frp-signoff .footer-tagline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.005em;
}

.site-footer-rp .footer-social {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer-rp .footer-social a {
  display: inline-flex;
  opacity: 0.75;
  transition: opacity .2s ease;
}

.site-footer-rp .footer-social a:hover {
  opacity: 1;
}

.frp-copyright {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: #8ea3bc;
}

/* Responsive - collapse columns and tighten padding on smaller viewports. */
@media (max-width: 720px) {
  .frp-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .site-footer-rp {
    padding-top: 40px;
  }

  .frp-disclaimer p {
    font-size: 0.92rem;
    text-align: left;
  }

  .frp-disclaimer {
    text-align: left;
  }

  .frp-columns {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 28px;
  }

  .frp-signoff {
    padding: 28px 0 20px;
  }
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .8s cubic-bezier(.2, .7, .3, 1),
    transform .8s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}

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

/* Reveal variants (add data-reveal="fade-left" etc.) */
[data-reveal="fade-left"] {
  transform: translateX(-40px);
}

[data-reveal="fade-right"] {
  transform: translateX(40px);
}

[data-reveal="scale-in"] {
  transform: scale(0.94);
}

[data-reveal="clip-up"] {
  transform: none;
  clip-path: inset(100% 0 0 0);
  opacity: 1;
  transition: clip-path 1s cubic-bezier(.2, .7, .3, 1);
}

[data-reveal="fade-left"].is-visible,
[data-reveal="fade-right"].is-visible {
  transform: translateX(0);
}

[data-reveal="scale-in"].is-visible {
  transform: scale(1);
}

[data-reveal="clip-up"].is-visible {
  clip-path: inset(0 0 0 0);
}

/* Stagger children: apply data-reveal="stagger" to a wrapper; children fade up in sequence */
[data-reveal="stagger"]>* {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .7s cubic-bezier(.2, .7, .3, 1),
    transform .7s cubic-bezier(.2, .7, .3, 1);
}

[data-reveal="stagger"].is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="stagger"].is-visible>*:nth-child(1) {
  transition-delay: 0s;
}

[data-reveal="stagger"].is-visible>*:nth-child(2) {
  transition-delay: .08s;
}

[data-reveal="stagger"].is-visible>*:nth-child(3) {
  transition-delay: .16s;
}

[data-reveal="stagger"].is-visible>*:nth-child(4) {
  transition-delay: .24s;
}

[data-reveal="stagger"].is-visible>*:nth-child(5) {
  transition-delay: .32s;
}

[data-reveal="stagger"].is-visible>*:nth-child(6) {
  transition-delay: .40s;
}

[data-reveal="stagger"].is-visible>*:nth-child(7) {
  transition-delay: .48s;
}

[data-reveal="stagger"].is-visible>*:nth-child(8) {
  transition-delay: .56s;
}

[data-reveal="stagger"].is-visible>*:nth-child(9) {
  transition-delay: .64s;
}

/* Word-split animation for headings (JS wraps each word in a span.rw) */
.rw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition:
    opacity .7s cubic-bezier(.2, .7, .3, 1),
    transform .7s cubic-bezier(.2, .7, .3, 1);
}

.is-visible .rw {
  opacity: 1;
  transform: translateY(0);
}

.is-visible .rw:nth-child(1) {
  transition-delay: 0s;
}

.is-visible .rw:nth-child(2) {
  transition-delay: .06s;
}

.is-visible .rw:nth-child(3) {
  transition-delay: .12s;
}

.is-visible .rw:nth-child(4) {
  transition-delay: .18s;
}

.is-visible .rw:nth-child(5) {
  transition-delay: .24s;
}

.is-visible .rw:nth-child(6) {
  transition-delay: .30s;
}

.is-visible .rw:nth-child(7) {
  transition-delay: .36s;
}

.is-visible .rw:nth-child(8) {
  transition-delay: .42s;
}

.is-visible .rw:nth-child(9) {
  transition-delay: .48s;
}

/* Eyebrow underline draw on reveal */
.section-eyebrow {
  position: relative;
  display: inline-block;
}

.section-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: currentColor;
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.2, .7, .3, 1) .1s;
}

.is-visible .section-eyebrow::after,
[data-reveal].is-visible .section-eyebrow::after {
  transform: scaleX(1);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  z-index: 100;
  transition: width .05s linear;
  pointer-events: none;
  box-shadow: 0 0 10px color-mix(in srgb, var(--brand) 78%, transparent);
}

/* Card cursor-tilt (JS applies --mx/--my custom props) */
.tilt {
  transform-style: preserve-3d;
  transition: transform .18s cubic-bezier(.2, .7, .3, 1);
}

.tilt.is-tilted {
  transform:
    perspective(900px) rotateX(calc(var(--my, 0) * -6deg)) rotateY(calc(var(--mx, 0) * 6deg)) translateY(-3px);
}

/* Parallax layer (JS updates --py custom prop from -1 to 1) */
[data-parallax] {
  will-change: transform;
  transform: translate3d(0, calc(var(--py, 0) * 1px), 0);
}

/* ============ EXTENDED REVEAL VARIANTS ============ */
[data-reveal="blur-in"] {
  filter: blur(14px);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1s cubic-bezier(.2, .7, .3, 1),
    transform 1s cubic-bezier(.2, .7, .3, 1),
    filter 1s cubic-bezier(.2, .7, .3, 1);
}

[data-reveal="blur-in"].is-visible {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="rotate-in"] {
  opacity: 0;
  transform: translateY(30px) rotate(-4deg);
  transform-origin: 30% 100%;
}

[data-reveal="rotate-in"].is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

[data-reveal="slide-mask"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(.7, 0, .3, 1);
}

[data-reveal="slide-mask"].is-visible {
  clip-path: inset(0 0 0 0);
}

[data-reveal="flip-up"] {
  opacity: 0;
  transform: perspective(900px) rotateX(-40deg) translateY(20px);
  transform-origin: 50% 100%;
  transition:
    opacity .9s cubic-bezier(.2, .7, .3, 1),
    transform .9s cubic-bezier(.2, .7, .3, 1);
}

[data-reveal="flip-up"].is-visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0) translateY(0);
}

[data-reveal="drift-in"] {
  opacity: 0;
  transform: translate(-30px, 30px) scale(0.9);
}

[data-reveal="drift-in"].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Row-by-row reveal for table rows (data-reveal="rows" on the table) */
[data-reveal="rows"] tbody tr {
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity .6s cubic-bezier(.2, .7, .3, 1),
    transform .6s cubic-bezier(.2, .7, .3, 1);
}

[data-reveal="rows"].is-visible tbody tr {
  opacity: 1;
  transform: translateX(0);
}

[data-reveal="rows"].is-visible tbody tr:nth-child(1) {
  transition-delay: .05s;
}

[data-reveal="rows"].is-visible tbody tr:nth-child(2) {
  transition-delay: .11s;
}

[data-reveal="rows"].is-visible tbody tr:nth-child(3) {
  transition-delay: .17s;
}

[data-reveal="rows"].is-visible tbody tr:nth-child(4) {
  transition-delay: .23s;
}

[data-reveal="rows"].is-visible tbody tr:nth-child(5) {
  transition-delay: .29s;
}

[data-reveal="rows"].is-visible tbody tr:nth-child(6) {
  transition-delay: .35s;
}

[data-reveal="rows"].is-visible tbody tr:nth-child(7) {
  transition-delay: .41s;
}

[data-reveal="rows"].is-visible tbody tr:nth-child(8) {
  transition-delay: .47s;
}

/* Character-split for editorial quote (JS wraps letters in .rc) */
.rc {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(6deg);
  transition:
    opacity .5s cubic-bezier(.2, .7, .3, 1),
    transform .5s cubic-bezier(.2, .7, .3, 1);
}

.is-visible .rc {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* Reduced motion respects */
@media (prefers-reduced-motion: reduce) {

  [data-reveal="blur-in"],
  [data-reveal="rotate-in"],
  [data-reveal="slide-mask"],
  [data-reveal="flip-up"],
  [data-reveal="drift-in"],
  [data-reveal="rows"] tbody tr,
  .rc {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

[data-reveal][data-delay="1"].is-visible {
  transition-delay: .08s;
}

[data-reveal][data-delay="2"].is-visible {
  transition-delay: .16s;
}

[data-reveal][data-delay="3"].is-visible {
  transition-delay: .24s;
}

[data-reveal][data-delay="4"].is-visible {
  transition-delay: .32s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ CHART CROSSHAIR / TOOLTIP ============ */
.vc-chart-wrap {
  position: relative;
  width: 100%;
  height: 170px;
}

.vc-chart-wrap .vc-chart {
  position: absolute;
  inset: 0;
}

.vc-tip {
  position: absolute;
  top: 6px;
  left: 8px;
  pointer-events: none;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(13, 90, 158, 0.95);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, left .15s ease;
  box-shadow: 0 6px 20px rgba(13, 90, 158, 0.455);
  white-space: nowrap;
}

.vc-tip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vc-tip .tip-date {
  color: rgba(255, 255, 255, 0.7);
}

.vc-tip .tip-val {
  color: #fff;
  font-weight: 600;
}

#vcCross,
#vcHover {
  transition: opacity .15s ease;
}

/* Draw-in animation for composite line on load */
#vcLine {
  transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .3, 1), d .5s ease;
}

/* ============ CALCULATOR ============ */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(13, 90, 158, 0.104);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.calc-label .val {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--brand);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* Custom slider */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      var(--brand) var(--fill, 50%),
      var(--line) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 4px 12px rgba(13, 90, 158, 0.364);
  cursor: grab;
  transition: transform .12s ease;
}

.calc-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 4px 12px rgba(13, 90, 158, 0.364);
  cursor: grab;
}

.calc-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.calc-rate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--brand-soft);
  border-radius: 12px;
  color: var(--brand);
  font-size: 0.88rem;
}

.calc-rate strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Output panel */
.calc-out {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0d5a9e 0%, #0a4c86 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.calc-out::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 90% 10%, rgba(255, 255, 255, 0.14), transparent 60%);
  pointer-events: none;
}

.calc-out-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}

.calc-value {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
  position: relative;
}

.calc-value .cur {
  font-size: 0.6em;
  margin-right: 6px;
  opacity: 0.75;
}

.calc-sub {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
}

.calc-sub b {
  color: #7fd9ad;
  font-weight: 600;
}

.calc-chart {
  margin-top: 24px;
  position: relative;
  height: 140px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

.calc-chart svg {
  width: 100%;
  height: 100%;
}

.calc-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
}

.calc-legend .lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calc-legend .lg::before {
  content: '';
  width: 12px;
  height: 2px;
  border-radius: 1px;
}

.calc-legend .lg-inv::before {
  background: rgba(255, 255, 255, 0.4);
}

.calc-legend .lg-proj::before {
  background: #7fd9ad;
}

.calc-disc {
  margin-top: 20px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  position: relative;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-left {
    display: none;
  }

  .hero-copy {
    text-align: left;
    padding: 0;
  }

  .hero-copy .lede,
  .hero-copy .eyebrow {
    display: inline-block;
  }

  .hero-copy .hero-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .hero {
    padding: 60px 0 80px;
  }

  .calc-wrap {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-left,
  .hero-right {
    justify-self: center;
    max-width: 480px;
  }

  /* disable flip on touch/small screens */
  .flip-card {
    perspective: none;
  }

  .flip-inner {
    transition: none;
  }

  .flip-card:hover .flip-inner {
    transform: none;
  }

  .flip-back {
    display: none;
  }

  .flip-hint {
    display: none;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .compare-matrix {
    padding: 8px 8px 24px;
    overflow-x: auto;
  }

  .cmatrix {
    min-width: 640px;
  }

  .compare-pillars {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 8px 0;
  }

  .mini-pillar:nth-child(2)::after {
    display: none;
  }

  .mini-pillar {
    padding: 16px 12px;
  }

  .vc-stats {
    grid-template-columns: 1fr;
  }

  .disclosure-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .disclaimer {
    text-align: left;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter);
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .cta-header {
    display: none;
  }

  /* Below tablet, hide the audience switch too - it's a secondary control
     and the hamburger + brand + theme toggle already carry the essentials. */
  .audience-switch {
    display: none;
  }
}

@media (max-width: 520px) {

  /* Below phone, drop all non-essential header widgets so the brand fits.
     Theme toggle can move into the mobile nav overlay if we ever add it. */
  .header-actions .theme-toggle,
  .header-actions .cta-header,
  .header-actions .audience-switch {
    display: none;
  }

  /* Tighten the header a bit more for small phones */
  .hdr-shell {
    padding: 4px clamp(12px, 3vw, 20px);
    min-height: clamp(60px, 14vw, 76px);
    gap: 8px;
  }

  .compare-pillars {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

