.marketing-page {
  --bg-main: #F7FAF9;
  --bg-soft: #EEF4F1;
  --line: rgba(17, 71, 52, 0.18);
  --text-main: #0f172a;
  --text-muted: #334155;
  --brand: #114734;
  --brand-dark: #114734;
  --brand-soft: #E3EBE7;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.1);

  /* Lifespan-story persona accents (used by the Two Neighbors section).
     Long arc = healthy/growth green; short arc = chronic/warm clay. */
  --persona-long: #1f7a57;
  --persona-short: #c0793a;

  min-height: 100vh;
  width: 100%;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% 14%, rgba(163, 179, 172, 0.35), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(205, 173, 113, 0.22), transparent 32%),
    linear-gradient(180deg, var(--bg-main), var(--bg-soft));
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  scroll-behavior: smooth;
}

.marketing-page * {
  box-sizing: border-box;
}

.marketing-navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  /* Self-contained border-box: the .marketing-page * reset doesn't reach pages
     that mount this header without the .marketing-page wrapper (e.g. /plan),
     and width:100% + padding overflows the viewport without it. */
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  min-height: 104px;
  padding: 0 clamp(12px, 2.6vw, 26px);
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
}

.navbar-brand-group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 8px;
  margin-left: clamp(12px, 1.8vw, 28px);
  justify-self: start;
  min-width: 0;
}

.abacus-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.abacus-logo-img {
  display: block;
  width: clamp(138px, 14vw, 200px);
  max-height: 92px;
  height: auto;
  object-fit: contain;
}

.abacus-logo-fallback {
  width: 64px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(29, 78, 216, 0.25);
  background: rgba(219, 234, 254, 0.9);
  color: #114734;
  display: grid;
  place-items: center;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.navbar-center {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-self: stretch;
}

.navbar-brand-text {
  display: grid;
  justify-items: start;
  margin-left: 4px;
  gap: 2px;
}

.navbar-brand {
  width: fit-content;
  text-decoration: none;
  color: var(--brand-dark);
  font-size: 1.66rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.navbar-sub-label {
  font-size: 0.74rem;
  line-height: 1;
  color: #475569;
  font-weight: 600;
}

.navbar-links {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 18px;
  min-width: 0;
  height: 100%;
}

.nav-link-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: #114734;
  font-size: 1rem;
  font-weight: 600;
  min-width: 136px;
  white-space: nowrap;
  cursor: pointer;
  padding: 0 18px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease;
}

a.nav-link-btn,
a.nav-link-btn:visited {
  color: #114734;
}

.nav-link-btn:hover {
  color: #114734;
  background: rgba(227, 235, 231, 0.82);
}

.nav-link-btn:focus {
  outline: none;
  box-shadow: none;
  color: #114734;
  background: rgba(227, 235, 231, 0.82);
}

/* Keyboard focus needs a distinct visible indicator (WCAG 2.4.7) — the hover
   tint alone isn't enough because it matches the mouse-hover state. */
.nav-link-btn:focus-visible {
  outline: 2px solid #114734;
  outline-offset: -2px;
  color: #114734;
  background: rgba(227, 235, 231, 0.82);
}

/* Hidden until keyboard-focused; jumps keyboard users past the nav (WCAG 2.4.1). */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: #114734;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid #CDAD71;
  outline-offset: -4px;
}

.nav-link-btn:active {
  outline: none;
  box-shadow: none;
  background: rgba(191, 219, 254, 0.86);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  height: 100%;
  align-items: stretch;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-toggle.open {
  background: rgba(227, 235, 231, 0.82);
}

.nav-dropdown-toggle.active {
  background: rgba(227, 235, 231, 0.82);
}

.nav-link-btn.active {
  background: rgba(227, 235, 231, 0.82);
}

.nav-dropdown-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  font-size: 0;
  line-height: 0;
  transition: transform 160ms ease;
}

.nav-dropdown-toggle.open .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  min-width: 240px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  z-index: 40;
  margin-top: 4px;
}

.nav-dropdown-item {
  appearance: none;
  border: none;
  background: transparent;
  color: #0f172a;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.nav-dropdown-item:hover {
  background: rgba(227, 235, 231, 0.82);
}

.navbar-login-btn {
  border: none;
  border-radius: 10px;
  padding: 11px 26px;
  font-size: 1.03rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #114734, #114734);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.navbar-login-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 18px rgba(37, 99, 235, 0.28);
}

.navbar-login-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.navbar-right {
  justify-self: end;
  margin-left: clamp(16px, 2vw, 30px);
  display: flex;
  align-items: center;
  height: 100%;
}

@media (max-width: 1260px) {
  .navbar-brand-group {
    gap: 56px;
  }

  .navbar-links {
    gap: 12px;
  }

  .nav-link-btn {
    min-width: 150px;
    padding: 0 16px;
    font-size: 1.02rem;
  }
}

.marketing-main {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 0;
  padding: 0 0 34px;
}

.hero-section {
  min-height: clamp(540px, 78vh, 900px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(34px, 7vw, 90px) clamp(16px, 6vw, 90px);
}

.hero-media-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.hero-media-layer::before,
.hero-media-layer::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-media-layer::before {
  z-index: 1;
  background: #114734;
  mix-blend-mode: color;
  opacity: 0.82;
}

.hero-media-layer::after {
  z-index: 2;
  background:
    linear-gradient(155deg, rgba(242, 246, 246, 0.06) 0%, rgba(227, 235, 231, 0.12) 48%, rgba(163, 179, 172, 0.1) 100%),
    rgba(242, 246, 246, 0.06);
  mix-blend-mode: screen;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.2) contrast(1.08) brightness(1.08);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.hero-title {
  opacity: 0;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9.6vw, 6.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 12px 26px rgba(2, 6, 23, 0.42), 0 0 30px rgba(205, 173, 113, 0.18);
  animation: hero-fade-up 940ms cubic-bezier(0.22, 1, 0.36, 1) 220ms forwards;
}

.hero-market-badge {
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(205, 173, 113, 0.7);
  /* Dark backing keeps the gold text at AA contrast regardless of the video
     frame behind it (gold on the old light-gold tint was ~1.9:1). */
  background: rgba(8, 30, 22, 0.55);
  color: #CDAD71;
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: hero-fade-up 940ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}

.hero-subtitle {
  opacity: 0;
  margin: 2px 0 0;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.9);
  text-shadow: 0 8px 20px rgba(2, 6, 23, 0.32);
  animation: hero-fade-up 940ms cubic-bezier(0.22, 1, 0.36, 1) 300ms forwards;
}

.hero-tagline {
  opacity: 0;
  margin: 12px auto 0;
  max-width: 72ch;
  font-size: clamp(1.02rem, 1.9vw, 1.28rem);
  font-weight: 500;
  line-height: 1.5;
  color: #f1f5f9;
  text-shadow: 0 8px 22px rgba(2, 6, 23, 0.4);
  animation: hero-fade-up 940ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards;
}

.hero-actions {
  opacity: 0;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: hero-fade-up 940ms cubic-bezier(0.22, 1, 0.36, 1) 480ms forwards;
}

.hero-primary-btn,
.hero-secondary-btn {
  border-radius: 10px;
  border: 0;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 12px 18px;
  min-width: 232px;
  max-width: 100%;
  cursor: pointer;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hero-primary-btn {
  color: #ffffff;
  padding: 12px 32px;
  background: linear-gradient(135deg, #114734, #114734);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.28);
}

.hero-primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.hero-primary-btn:disabled {
  opacity: 0.65;
  box-shadow: none;
  cursor: not-allowed;
}

.hero-secondary-btn {
  color: #e2e8f0;
  background: rgba(205, 173, 113, 0.14);
  border: 1px solid rgba(191, 219, 254, 0.42);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-secondary-btn:hover {
  background: rgba(30, 64, 175, 0.45);
  transform: translateY(-1px);
}

.hero-secondary-btn svg {
  width: 18px;
  height: 18px;
}

.helper-text {
  opacity: 0;
  margin: 10px auto 0;
  text-align: center;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.88rem;
  animation: hero-fade-up 940ms cubic-bezier(0.22, 1, 0.36, 1) 640ms forwards;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ============================================================
   Two-column hero: marketing copy (left) + lead-gen calculator (right)
   ============================================================ */

.hero-section--split {
  place-items: center;
  min-height: clamp(510px, 71vh, 770px);
  /* Asymmetric horizontal padding (more left, less right) shifts the whole
     hero block toward the right of the page. */
  padding: clamp(22px, 3.6vw, 54px) clamp(6px, 0.8vw, 14px) clamp(22px, 3.6vw, 54px) clamp(36px, 6vw, 108px);
}

.hero-split {
  position: relative;
  z-index: 2;
  width: min(1400px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 620px);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.hero-content--left {
  width: 100%;
  /* Sit a bit below the top of the form (between top and center). */
  margin: clamp(30px, 9vh, 96px) 0 0;
  align-self: start;
  justify-items: start;
  text-align: left;
  gap: clamp(18px, 2.6vh, 30px);
}

.hero-content--left .hero-tagline,
.hero-content--left .helper-text {
  margin-left: 0;
  margin-right: 0;
  max-width: min(46rem, 100%);
  text-wrap: balance;
}

.hero-content--left .hero-actions {
  justify-content: flex-start;
}

/* Tighter title in the split layout so both columns fit above the fold. */
.hero-section--split .hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
}

.hero-calc-slot {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Breathing room above and below the calculator card within the hero. */
  padding-block: clamp(10px, 2vh, 26px);
  display: flex;
  justify-content: center;
  /* Transform-only entrance so the card is never permanently hidden if the
     animation does not run (progressive enhancement). */
  animation: hero-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

@keyframes hero-rise {
  from {
    transform: translate3d(0, 18px, 0);
  }
  to {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Stacked layout: restore SYMMETRIC horizontal padding. The split layout
     intentionally shifts the hero block right (big left / tiny right padding)
     for the two-column desktop view; once it collapses to one centered column
     that asymmetry just makes the text + calculator look off-center. */
  .hero-section--split {
    padding-left: clamp(16px, 6vw, 90px);
    padding-right: clamp(16px, 6vw, 90px);
  }

  .hero-content--left {
    justify-items: center;
    text-align: center;
  }

  .hero-content--left .hero-tagline,
  .hero-content--left .helper-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content--left .hero-actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-calc-slot {
    animation: none !important;
    transform: none !important;
  }
}

.showcase-section {
  scroll-margin-top: 120px;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.showcase-stage {
  position: relative;
  min-height: clamp(340px, 52vh, 560px);
}

.showcase-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 600ms ease, transform 600ms ease;
}

.showcase-bg.active {
  opacity: 1;
  transform: scale(1);
}

.showcase-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  min-height: inherit;
  padding: clamp(24px, 6vw, 56px) clamp(16px, 6vw, 90px);
  display: grid;
  align-content: end;
  gap: 10px;
  color: #f8fafc;
}

.showcase-kicker {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E3EBE7;
  font-weight: 700;
}

.showcase-content h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.showcase-content p {
  margin: 0;
  color: rgba(241, 245, 249, 0.94);
  font-size: 0.97rem;
  line-height: 1.62;
  max-width: 66ch;
}

.showcase-controls {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.showcase-dot {
  width: 30px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(191, 219, 254, 0.45);
  cursor: pointer;
  padding: 0;
}

.showcase-dot.active {
  background: #E3EBE7;
}

/* Pause/play toggle for the auto-advancing spotlight (WCAG 2.2.2). */
.showcase-pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 6px;
  padding: 0;
  border: 1px solid rgba(227, 235, 231, 0.6);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.35);
  color: #E3EBE7;
  cursor: pointer;
}

.showcase-pause svg {
  font-size: 16px;
}

.showcase-pause:hover {
  background: rgba(2, 6, 23, 0.55);
}

.showcase-dot:focus-visible,
.showcase-pause:focus-visible {
  outline: 2px solid #E3EBE7;
  outline-offset: 2px;
}

.content-section,
.legal-section,
.security-section {
  scroll-margin-top: 90px;
  padding: clamp(28px, 5vw, 60px) clamp(16px, 6vw, 90px);
}

.content-section {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: transparent;
}

.how-it-works-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(560px, 68vh, 820px);
  background: linear-gradient(180deg, rgba(166, 197, 240, 0.96) 0%, rgba(212, 229, 252, 0.8) 46%, rgba(248, 252, 255, 0.52) 100%);
}

.how-it-works-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 14%, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 84% 88%, rgba(191, 219, 254, 0.36) 0%, rgba(191, 219, 254, 0) 40%);
}

.how-it-works-section > * {
  position: relative;
  z-index: 1;
}

.content-section.split-layout {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.24));
}

.legal-section {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.4);
}

.content-section h2,
.legal-section h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
}

.content-section > p,
.legal-section p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.how-it-works-section > h2 {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  position: relative;
  padding-bottom: 16px;
  background: linear-gradient(92deg, #114734 0%, #114734 58%, #114734 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  filter: blur(2px);
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1) 70ms,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 70ms,
    filter 620ms ease 70ms;
}

.how-it-works-section > h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(120px, 18vw, 190px);
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%) scaleX(0.35);
  transform-origin: center;
  opacity: 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.92), rgba(14, 165, 233, 0.3));
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) 180ms,
    opacity 620ms ease 180ms;
}

.how-it-works-section.is-visible > h2 {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.how-it-works-section.is-visible > h2::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.how-it-works-section > p {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #475569;
}

.process-list {
  list-style: none;
  margin: 24px auto 0;
  width: min(1020px, 100%);
  padding: 0;
  display: grid;
  gap: 16px;
}

.process-list .process-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 74px 1fr;
  width: 100%;
  margin: 0 auto;
  gap: 18px;
  align-items: start;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5));
  -webkit-backdrop-filter: blur(10px) saturate(1.18);
  backdrop-filter: blur(10px) saturate(1.18);
  box-shadow:
    0 14px 26px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  opacity: 0;
  filter: blur(2.5px);
  transform: translate3d(0, 26px, 0) scale(0.98);
  transition:
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1) var(--step-delay, 0ms),
    opacity 920ms cubic-bezier(0.22, 1, 0.36, 1) var(--step-delay, 0ms),
    filter 920ms ease var(--step-delay, 0ms);
}

.process-list .process-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(132deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0) 56%);
}

.process-list .process-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.7), rgba(56, 189, 248, 0.45));
  opacity: 0.6;
}

.process-list .process-item:nth-child(odd) {
  transform: translate3d(-22px, 26px, 0) scale(0.98) rotate(-0.9deg);
}

.process-list .process-item:nth-child(even) {
  transform: translate3d(22px, 26px, 0) scale(0.98) rotate(0.9deg);
}

.how-it-works-section.is-visible .process-item {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

.how-it-works-section.is-visible .process-item:hover {
  transform: translate3d(0, -2px, 0) scale(1.01);
  box-shadow:
    0 18px 30px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.process-list .process-item:first-child {
  padding-top: clamp(18px, 2.4vw, 24px);
}

.step-index {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.92), rgba(30, 64, 175, 0.82));
  border: 1px solid rgba(147, 197, 253, 0.7);
  color: #eff6ff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.12rem;
  box-shadow:
    0 10px 16px rgba(37, 99, 235, 0.22),
    inset 0 1px 0 rgba(191, 219, 254, 0.48);
  opacity: 0.45;
  transform: scale(0.72);
  transition:
    transform 680ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--step-delay, 0ms) + 160ms),
    opacity 560ms ease calc(var(--step-delay, 0ms) + 160ms);
}

.step-index::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.42);
  opacity: 0;
  transform: scale(0.7);
}

.process-list .process-item > div:last-child {
  display: grid;
  gap: 6px;
}

.how-it-works-section.is-visible .process-item .step-index {
  opacity: 1;
  transform: scale(1);
}

.how-it-works-section.is-visible .process-item .step-index::after {
  animation: process-step-ring 820ms ease-out calc(var(--step-delay, 0ms) + 240ms) both;
}

.process-list h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.35;
  color: #0f172a;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 680ms ease calc(var(--step-delay, 0ms) + 220ms),
    transform 680ms ease calc(var(--step-delay, 0ms) + 220ms);
}

.process-list p {
  margin: 0;
  color: #334155;
  line-height: 1.64;
  font-size: 0.97rem;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 720ms ease calc(var(--step-delay, 0ms) + 320ms),
    transform 720ms ease calc(var(--step-delay, 0ms) + 320ms);
}

.how-it-works-section.is-visible .process-item h3,
.how-it-works-section.is-visible .process-item p {
  opacity: 1;
  transform: translateY(0);
}

@keyframes process-step-ring {
  0% {
    opacity: 0.75;
    transform: scale(0.7);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.platform-section {
  position: relative;
  min-height: clamp(500px, 62vh, 740px);
  align-content: center;
  isolation: isolate;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 245, 255, 0.94) 54%, rgba(228, 240, 255, 0.9) 100%);
}

.platform-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(147, 197, 253, 0.46) 0%, rgba(147, 197, 253, 0) 44%),
    radial-gradient(circle at 86% 78%, rgba(125, 211, 252, 0.4) 0%, rgba(125, 211, 252, 0) 42%);
}

.platform-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.44) 46%, rgba(255, 255, 255, 0) 78%);
  mix-blend-mode: screen;
}

.platform-section > * {
  position: relative;
  z-index: 1;
}

.platform-section .platform-column {
  position: relative;
  overflow: hidden;
  min-height: clamp(290px, 40vh, 430px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.26));
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow:
    0 22px 34px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -12px 24px rgba(148, 163, 184, 0.16);
}

.platform-section .platform-column::before,
.platform-section .platform-column::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.platform-section .platform-column::before {
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
}

.platform-section .platform-column::after {
  inset: -30% 18% auto -10%;
  height: 62%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.36) 0%, rgba(191, 219, 254, 0) 68%);
}

.platform-section .platform-column {
  --column-delay: 0ms;
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 26px, 0) scale(0.98);
  transition:
    transform 920ms cubic-bezier(0.22, 1, 0.36, 1) var(--column-delay),
    opacity 840ms cubic-bezier(0.22, 1, 0.36, 1) var(--column-delay),
    filter 840ms ease var(--column-delay);
}

.platform-section .platform-column > * {
  position: relative;
  z-index: 1;
}

.platform-section .platform-column:nth-child(1) {
  --column-delay: 80ms;
  transform: translate3d(-28px, 26px, 0) scale(0.98);
}

.platform-section .platform-column:nth-child(2) {
  --column-delay: 280ms;
  transform: translate3d(28px, 26px, 0) scale(0.98);
}

.platform-section.is-visible .platform-column {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.platform-section .platform-column h2,
.platform-section .platform-column p,
.platform-section .platform-column ul li {
  opacity: 0;
  transform: translateY(9px);
}

.platform-section .platform-column h2 {
  transition:
    opacity 620ms ease calc(var(--column-delay) + 200ms),
    transform 620ms ease calc(var(--column-delay) + 200ms);
}

.platform-section .platform-column p {
  transition:
    opacity 620ms ease calc(var(--column-delay) + 290ms),
    transform 620ms ease calc(var(--column-delay) + 290ms);
}

.platform-section .platform-column ul li {
  transition:
    opacity 620ms ease calc(var(--column-delay) + 360ms),
    transform 620ms ease calc(var(--column-delay) + 360ms);
}

.platform-section .platform-column ul li:nth-child(2) {
  transition-delay: calc(var(--column-delay) + 420ms);
}

.platform-section .platform-column ul li:nth-child(3) {
  transition-delay: calc(var(--column-delay) + 480ms);
}

.platform-section .platform-column ul li:nth-child(4) {
  transition-delay: calc(var(--column-delay) + 540ms);
}

.platform-section.is-visible .platform-column h2,
.platform-section.is-visible .platform-column p,
.platform-section.is-visible .platform-column ul li {
  opacity: 1;
  transform: translateY(0);
}

.split-layout ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
  line-height: 1.58;
}

.security-section {
  position: relative;
  min-height: clamp(560px, 68vh, 860px);
  align-content: center;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(155deg, #0a1b3f 0%, #102a5c 52%, #15366d 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.security-section-header {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: clamp(2px, 0.6vw, 8px);
}

.security-section-header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.9vw, 2.15rem);
  letter-spacing: -0.02em;
  color: #CDAD71;
  text-shadow: none;
}

.security-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0) 46%),
    radial-gradient(circle at 88% 82%, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 50%);
}

.security-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.06));
}

.security-item {
  --security-delay: 0ms;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: clamp(290px, 37vh, 420px);
  padding: clamp(24px, 3.2vw, 34px);
  display: grid;
  align-content: start;
  gap: 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.48);
  background: linear-gradient(170deg, rgba(30, 58, 112, 0.72), rgba(22, 45, 90, 0.72));
  box-shadow:
    0 16px 28px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(191, 219, 254, 0.18);
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 24px, 0) scale(0.98);
  transition:
    transform 880ms cubic-bezier(0.22, 1, 0.36, 1) var(--security-delay),
    opacity 780ms cubic-bezier(0.22, 1, 0.36, 1) var(--security-delay),
    filter 780ms ease var(--security-delay);
}

.security-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.1), rgba(255, 255, 255, 0));
}

.security-item:nth-child(1) {
  --security-delay: 70ms;
  transform: translate3d(-22px, 24px, 0) scale(0.98);
}

.security-item:nth-child(2) {
  --security-delay: 250ms;
}

.security-item:nth-child(3) {
  --security-delay: 430ms;
  transform: translate3d(22px, 24px, 0) scale(0.98);
}

.security-section.is-visible .security-item {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.security-item + .security-item {
  border-left: none;
}

.security-item svg {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.34), rgba(30, 64, 175, 0.24));
  border: 1px solid rgba(191, 219, 254, 0.52);
  color: #E3EBE7;
  opacity: 0.4;
  transform: scale(0.72);
  transition:
    transform 620ms cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--security-delay) + 170ms),
    opacity 520ms ease calc(var(--security-delay) + 170ms);
}

.security-section.is-visible .security-item svg {
  opacity: 1;
  transform: scale(1);
}

.security-item h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.4rem;
  color: #f8fafc;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 560ms ease calc(var(--security-delay) + 200ms),
    transform 560ms ease calc(var(--security-delay) + 200ms);
}

.security-item p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(226, 232, 240, 0.94);
  line-height: 1.62;
  font-size: 0.98rem;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 600ms ease calc(var(--security-delay) + 290ms),
    transform 600ms ease calc(var(--security-delay) + 290ms);
}

.security-section.is-visible .security-item h3,
.security-section.is-visible .security-item p {
  opacity: 1;
  transform: translateY(0);
}

.marketing-footer {
  /* Same self-contained border-box rationale as .marketing-navbar. */
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(205, 173, 113, 0.34);
  background:
    radial-gradient(circle at 8% 14%, rgba(205, 173, 113, 0.16), transparent 34%),
    linear-gradient(145deg, #08291f 0%, #114734 58%, #153f31 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: clamp(28px, 4vw, 44px) clamp(16px, 6vw, 90px) 18px;
  display: grid;
  gap: 24px;
  color: #F2F6F6;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.footer-kicker {
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(205, 173, 113, 0.52);
  color: #CDAD71;
  background: rgba(205, 173, 113, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #CDAD71;
  letter-spacing: -0.035em;
}

.footer-brand-block p,
.footer-address-block address,
.footer-meta {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: rgba(242, 246, 246, 0.78);
  line-height: 1.6;
}

.footer-address-block address {
  font-style: normal;
}

.footer-section-title {
  margin-bottom: 10px;
  color: #CDAD71;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 9px 18px;
  align-items: start;
}

.footer-links .footer-section-title {
  grid-column: 1 / -1;
}

.footer-links a,
.footer-link-btn {
  text-decoration: none;
  color: rgba(242, 246, 246, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: #CDAD71;
  transform: translateX(2px);
}

.footer-link-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.footer-links a:focus,
.footer-link-btn:focus {
  outline: none;
  box-shadow: none;
  color: #CDAD71;
}

.footer-links a:focus-visible,
.footer-link-btn:focus-visible {
  outline: 2px solid #CDAD71;
  outline-offset: 3px;
  border-radius: 2px;
  color: #CDAD71;
}

.footer-disclaimer {
  margin: 18px 0 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(242, 246, 246, 0.62);
}

.footer-meta {
  padding-top: 16px;
  border-top: 1px solid rgba(227, 235, 231, 0.14);
  color: rgba(242, 246, 246, 0.62);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(4, max-content);
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .platform-section,
  .how-it-works-section,
  .security-section {
    min-height: auto;
  }

  .platform-section .platform-column {
    min-height: auto;
    padding: clamp(18px, 3vw, 24px);
  }

  .security-section {
    grid-template-columns: 1fr;
  }

  .security-item {
    /* Let stacked cards hug their content instead of floating it at the top
       of a forced-tall box. */
    min-height: auto;
    padding: clamp(18px, 3vw, 24px);
  }

  /* Scale the icon chip down so it isn't oversized on the narrow cards and
     center it. */
  .security-item svg {
    width: 52px;
    height: 52px;
    padding: 11px;
    border-radius: 14px;
    justify-self: center;
  }

  /* The +/-22px lateral entrance offsets are a 3-column fan-in; once the
     cards stack they just read as horizontally misaligned, so slide straight
     up instead. */
  .security-item:nth-child(1),
  .security-item:nth-child(3) {
    transform: translate3d(0, 24px, 0) scale(0.98);
  }

  /* Stacked cards are independent (each has its own border/radius), so they
     must keep their full top padding. The old padding-top: 0 was for the
     joined 3-column row and crowded the icon against the top on all cards
     after the first. */
  .security-item + .security-item {
    border-left: none;
  }
}

@media (max-width: 560px) {
  .footer-links {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (max-width: 900px) {
  .marketing-navbar {
    /* Row 1: centered logo spanning full width.
       Row 2: nav links (left, scrollable) with login pinned right. */
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand brand"
      "nav   login";
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 8px;
    row-gap: 8px;
  }

  .navbar-brand-group {
    grid-area: brand;
    justify-self: center;
    gap: 28px;
    padding-right: 0;
    margin-left: 0;
  }

  .navbar-brand-text {
    margin-left: 0;
  }

  .abacus-logo-img {
    width: clamp(126px, 32vw, 170px);
    max-height: 78px;
  }

  .navbar-center {
    grid-area: nav;
    justify-content: flex-start;
    width: 100%;
    align-self: auto;
  }

  .navbar-brand-text {
    justify-items: start;
  }

  .navbar-brand {
    font-size: 1.42rem;
  }

  .navbar-links {
    width: 100%;
    justify-content: flex-start;
    margin: 0;
    padding-top: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 10px;
    height: auto;
  }

  .nav-link-btn {
    font-size: 0.96rem;
    min-width: 132px;
    padding: 6px 14px;
    border-radius: 10px;
    height: auto;
  }

  .navbar-login-btn {
    padding: 7px 20px;
    font-size: 0.98rem;
  }

  .navbar-links::-webkit-scrollbar {
    display: none;
  }

  /* Trim lower-priority tabs on narrow viewports to reduce navbar crowding. */
  .nav-link-hide-mobile {
    display: none;
  }

  .navbar-right {
    grid-area: login;
    justify-self: end;
    margin-left: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    width: 100%;
    padding: 0;
    border-radius: 0;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .process-list .process-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-bg,
  .navbar-login-btn,
  .hero-title,
  .hero-subtitle,
  .hero-tagline,
  .hero-actions,
  .hero-watch-link,
  .helper-text,
  .hero-primary-btn,
  .hero-secondary-btn {
    animation: none !important;
    transition: none !important;
  }

  .hero-title,
  .hero-subtitle,
  .hero-tagline,
  .hero-actions,
  .hero-watch-link,
  .helper-text {
    opacity: 1 !important;
    transform: none !important;
  }

  .how-it-works-section .process-item,
  .how-it-works-section .process-item h3,
  .how-it-works-section .process-item p,
  .how-it-works-section .process-item .step-index {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .how-it-works-section .process-item .step-index::after {
    animation: none !important;
    display: none !important;
  }

  .how-it-works-section > h2 {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .how-it-works-section > h2::after {
    opacity: 1 !important;
    transform: translateX(-50%) scaleX(1) !important;
    transition: none !important;
  }

  .platform-section .platform-column,
  .platform-section .platform-column h2,
  .platform-section .platform-column p,
  .platform-section .platform-column ul li,
  .security-section .security-item,
  .security-section .security-item svg,
  .security-section .security-item h3,
  .security-section .security-item p {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Company theme overrides for the previous brand color scheme. */
.abacus-logo-fallback,
.nav-link-btn {
  color: #114734;
}

.abacus-logo-fallback {
  border-color: rgba(17, 71, 52, 0.25);
  background: rgba(227, 235, 231, 0.9);
}

.nav-link-btn:hover,
.nav-link-btn:focus,
.nav-link-btn:focus-visible {
  color: #114734;
  background: rgba(227, 235, 231, 0.82);
}

.nav-link-btn:active {
  background: rgba(163, 179, 172, 0.32);
}

.navbar-login-btn,
.hero-primary-btn {
  background: linear-gradient(135deg, #114734, #114734);
}

.navbar-login-btn,
.hero-primary-btn {
  border: 1px solid rgba(205, 173, 113, 0.8);
}

.navbar-login-btn:hover:not(:disabled) {
  box-shadow: 0 12px 18px rgba(17, 71, 52, 0.28);
}

.hero-primary-btn {
  box-shadow: 0 12px 22px rgba(17, 71, 52, 0.28), 0 0 0 1px rgba(205, 173, 113, 0.18);
}

.hero-secondary-btn {
  color: #CDAD71;
  border-color: rgba(205, 173, 113, 0.72);
  background: rgba(205, 173, 113, 0.18);
}

.hero-secondary-btn:hover {
  color: #CDAD71;
  background: rgba(205, 173, 113, 0.28);
}

.showcase-kicker,
.security-item svg {
  color: #CDAD71;
}

.showcase-dot {
  background: rgba(227, 235, 231, 0.45);
}

.showcase-dot.active {
  background: #CDAD71;
}

.how-it-works-section {
  background: linear-gradient(180deg, rgba(227, 235, 231, 0.96) 0%, rgba(242, 246, 246, 0.82) 46%, rgba(248, 252, 255, 0.52) 100%);
}

.how-it-works-section::before {
  background:
    radial-gradient(circle at 15% 14%, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 84% 88%, rgba(163, 179, 172, 0.36) 0%, rgba(163, 179, 172, 0) 40%);
}

.how-it-works-section > h2 {
  background: linear-gradient(92deg, #114734 0%, #114734 58%, #114734 100%);
  -webkit-background-clip: text;
}

.how-it-works-section > h2::after,
.process-list .process-item::after {
  background: #CDAD71;
  box-shadow: 0 6px 16px rgba(205, 173, 113, 0.28);
}

.step-index {
  background: #CDAD71;
  border-color: rgba(205, 173, 113, 0.7);
  color: #ffffff;
  box-shadow:
    0 10px 16px rgba(17, 71, 52, 0.22),
    inset 0 1px 0 rgba(227, 235, 231, 0.48);
}

.step-index::after {
  border-color: rgba(17, 71, 52, 0.42);
}

.platform-section {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.92) 0%, rgba(242, 246, 246, 0.94) 54%, rgba(227, 235, 231, 0.9) 100%);
}

.platform-section::before {
  background:
    radial-gradient(circle at 14% 20%, rgba(163, 179, 172, 0.46) 0%, rgba(163, 179, 172, 0) 44%),
    radial-gradient(circle at 86% 78%, rgba(227, 235, 231, 0.4) 0%, rgba(227, 235, 231, 0) 42%);
}

.platform-section .platform-column::after {
  background: radial-gradient(circle, rgba(163, 179, 172, 0.36) 0%, rgba(163, 179, 172, 0) 68%);
}

.security-section {
  background: linear-gradient(155deg, #114734 0%, #1f5d45 52%, #2f6f55 100%);
}

.security-section::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(227, 235, 231, 0.16) 0%, rgba(227, 235, 231, 0) 46%),
    radial-gradient(circle at 88% 82%, rgba(163, 179, 172, 0.18) 0%, rgba(163, 179, 172, 0) 50%);
}

.security-item {
  background: linear-gradient(170deg, rgba(17, 71, 52, 0.72), rgba(10, 48, 35, 0.72));
  box-shadow:
    0 16px 28px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(227, 235, 231, 0.18);
}

.security-item::before {
  background: linear-gradient(180deg, rgba(227, 235, 231, 0.1), rgba(255, 255, 255, 0));
}

.security-item svg {
  background: linear-gradient(145deg, rgba(205, 173, 113, 0.28), rgba(17, 71, 52, 0.24));
  border-color: rgba(205, 173, 113, 0.52);
}

.platform-section .platform-column {
  border-color: rgba(205, 173, 113, 0.36);
}

.security-section-header h2 {
  color: #CDAD71;
}

/* ============================================================
   Feature strip (between hero and How It Works)
   ============================================================ */

.feature-strip {
  position: relative;
  padding: 24px clamp(20px, 6vw, 90px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(248, 250, 252, 0.92) 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.feature-strip-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 36px);
  align-items: center;
}

.feature-strip-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(0.85rem, 1.05vw, 0.98rem);
  font-weight: 500;
  color: #1e293b;
  text-align: center;
  line-height: 1.3;
}

.feature-strip-icon {
  flex-shrink: 0;
  color: #CDAD71;
  font-size: 1.5rem !important;
}

@media (max-width: 720px) {
  .feature-strip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
}

/* ============================================================
   Security section: forest green + gold theme
   ============================================================ */

.security-section {
  background: linear-gradient(155deg, #155039 0%, #1d6049 52%, #236a4d 100%);
  border-top-color: rgba(205, 173, 113, 0.28);
  border-bottom-color: rgba(205, 173, 113, 0.28);
}

.security-section::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(205, 173, 113, 0.18) 0%, rgba(205, 173, 113, 0) 48%),
    radial-gradient(circle at 88% 82%, rgba(205, 173, 113, 0.14) 0%, rgba(205, 173, 113, 0) 50%);
}

.security-section::after {
  background: linear-gradient(180deg, rgba(8, 30, 22, 0.18), rgba(8, 30, 22, 0.04));
}

.security-item {
  border: 2px solid #CDAD71;
  background: #f1f3eb;
  box-shadow:
    0 22px 44px rgba(2, 18, 12, 0.28),
    0 0 0 1px rgba(205, 173, 113, 0.42),
    inset 0 1px 0 rgba(255, 255, 252, 0.9);
}

.security-item::before {
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.30), rgba(255, 255, 255, 0) 45%);
}

.security-item svg {
  color: #B8924D;
  background: linear-gradient(145deg, rgba(205, 173, 113, 0.35), rgba(205, 173, 113, 0.16));
  border-color: rgba(205, 173, 113, 0.65);
}

.security-item h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", "Hoefler Text", Garamond, serif;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.22;
  font-size: clamp(1.5rem, 1.9vw, 1.75rem);
  color: #B8924D;
}

.security-item p {
  color: #1a2e25;
}

/* Security section title */
.security-section-header {
  position: relative;
  padding-bottom: 24px;
}

.security-section-header h2 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", "Hoefler Text", Garamond, serif;
  font-weight: 700;
  letter-spacing: -0.008em;
  font-size: clamp(1.95rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  background: linear-gradient(92deg, #B8924D 0%, #E5C988 50%, #B8924D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.security-section-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: clamp(96px, 14vw, 150px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(205, 173, 113, 0.0), rgba(205, 173, 113, 0.92), rgba(205, 173, 113, 0.0));
  box-shadow: 0 6px 18px rgba(205, 173, 113, 0.28);
}

/* ============================================================
   How It Works heading: editorial serif elegance
   ============================================================ */

.how-it-works-section > h2 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", "Hoefler Text", Garamond, serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.012em;
  font-size: clamp(2.05rem, 3.7vw, 3rem);
  line-height: 1.18;
  background: linear-gradient(135deg, #0c3a2a 0%, #1d5d44 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.5px currentColor;
}

/* ============================================================
   Platform / split-layout cards: professional polish
   ============================================================ */

.platform-section .platform-column {
  background: linear-gradient(170deg, #ffffff 0%, #fdfaef 100%);
  border: 1px solid rgba(205, 173, 113, 0.32);
  border-radius: 20px;
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(205, 173, 113, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: hidden;
}

.platform-section .platform-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(205, 173, 113, 0.95) 28%, rgba(205, 173, 113, 0.95) 72%, transparent 100%);
  z-index: 2;
}

.platform-section .platform-column::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(205, 173, 113, 0.10) 0%, transparent 60%);
  z-index: 0;
  border-radius: 50%;
  inset: auto;
}

.platform-section .platform-column h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #114734;
  line-height: 1.22;
}

.platform-section .platform-column p {
  margin: 14px 0 0;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
}

.platform-section .platform-column ul,
.split-layout ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platform-section .platform-column ul li,
.split-layout ul li {
  position: relative;
  padding: 12px 16px 12px 34px;
  background: rgba(205, 173, 113, 0.07);
  border: 1px solid rgba(205, 173, 113, 0.22);
  border-radius: 10px;
  color: #1e293b;
  font-size: 0.93rem;
  line-height: 1.5;
}

.platform-section .platform-column ul li::before,
.split-layout ul li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #CDAD71;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 1px 3px rgba(205, 173, 113, 0.45);
}

.hero-watch-link {
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -4px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-shadow: 0 6px 18px rgba(2, 6, 23, 0.4);
  animation: hero-fade-up 940ms cubic-bezier(0.22, 1, 0.36, 1) 560ms forwards;
}

.hero-watch-link span {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(205, 173, 113, 0.7);
  transition: text-decoration-color 160ms ease;
}

.hero-watch-link svg {
  width: 20px;
  height: 20px;
  color: #CDAD71;
}

.hero-watch-link:hover {
  color: #ffffff;
}

.hero-watch-link:hover span {
  text-decoration-color: #CDAD71;
}

.hero-watch-link:focus-visible {
  outline: 3px solid #CDAD71;
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 1180px) and (min-width: 761px) {
  .navbar-brand-group {
    gap: 0;
  }

  .navbar-links {
    gap: 4px;
  }

  .nav-link-btn {
    min-width: 0;
    padding: 0 12px;
    font-size: 0.98rem;
  }
}


