:root {
  --navy-950: #07172d;
  --navy-900: #0b2140;
  --navy-800: #12345f;
  --navy-700: #1f4b7d;
  --lime: #d7f53f;
  --ink: #10231f;
  --muted: #667570;
  --surface: #ffffff;
  --page: #f7f7f3;
  --line: rgba(22, 53, 48, 0.12);
  --hero-headline-progress: 0;
  --hero-headline-opacity: 1;
  --hero-support-opacity: 1;
  --hero-cta-opacity: 1;
  --hero-copy-rise: 0px;
  --hero-landscape-progress: 0;
  --hero-scene-fade-progress: 0;
  --pain-background-progress: 0;
  --pain-exit-progress: 0;
  --expense-transition-progress: 0;
  --dashboard-progress: 0;
  --dashboard-heading-opacity: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.hero-scroll {
  position: relative;
  height: 500vh;
  min-height: 3000px;
  background: #eff7fb;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #eff7fb;
}
.hero-landscape,
.hero-landscape img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-landscape {
  z-index: -3;
  transform: scale(calc(1 + var(--hero-landscape-progress) * 0.85));
  transform-origin: 50% 45%;
  opacity: calc(1 - var(--hero-scene-fade-progress) * 0.96);
  will-change: transform, opacity;
}
.hero-landscape img {
  object-fit: cover;
  object-position: 50% 54%;
}
.hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(244, 250, 253, 0.14) 0%, rgba(238, 246, 249, 0.02) 50%, rgba(7, 23, 45, 0.11) 100%),
    linear-gradient(90deg, rgba(246, 250, 251, 0.13) 0%, rgba(246, 250, 251, 0.03) 58%, transparent 100%);
}
.hero-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 24%, rgba(174, 214, 235, 0.54), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(216, 245, 63, 0.22), transparent 28%),
    radial-gradient(circle at 72% 68%, rgba(69, 119, 167, 0.20), transparent 34%),
    linear-gradient(145deg, #eff7fb 0%, #dce9f1 48%, #eaf0e9 100%);
  opacity: calc(var(--hero-scene-fade-progress) * 0.98);
}
.marketing-nav {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(1380px, calc(100% - 64px));
  min-height: 68px;
  padding: 0 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 20px;
  background: rgba(246, 250, 251, 0.38);
  box-shadow: 0 12px 40px rgba(7, 23, 45, 0.07);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-950);
  font: 800 20px "Manrope", sans-serif;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.marketing-brand-wordmark {
  position: relative;
  width: 140px;
  height: 38px;
  flex: 0 0 140px;
  overflow: hidden;
}
.marketing-brand-wordmark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 52px;
  display: block;
  transform: translate(-50%, -50%);
}
.marketing-brand-mark,
.product-brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #182f6f, #050f32);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 9px 24px rgba(5, 20, 54, 0.22);
  font: italic 800 20px "Manrope", sans-serif;
}
.marketing-brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: transparent;
}
.marketing-brand-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  height: 59%;
  background: url("/assets/branding/marketing_f_glyph.png") center / contain no-repeat;
  transform: translate(-50%, -50%);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 31px;
}
.desktop-nav a {
  position: relative;
  color: rgba(7, 23, 45, 0.74);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}
.desktop-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-800);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.desktop-nav > a:not(.nav-cta):hover { color: var(--navy-950); transform: translateY(-1px); }
.desktop-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.desktop-nav .nav-login { margin-left: 6px; color: var(--navy-950); }
.desktop-nav .nav-cta {
  min-height: 44px;
  padding: 0 19px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 10px 26px rgba(7, 23, 45, 0.18);
}
.mobile-nav { display: none; }
.hero-copy {
  position: absolute;
  z-index: 4;
  top: calc(39% - 50px);
  left: 50%;
  width: min(920px, calc(100% - 48px));
  transform: translate3d(-50%, calc(-50% - var(--hero-copy-rise)), 0);
  transform-origin: center center;
  text-align: center;
  will-change: transform;
}
.hero-copy h1 {
  margin: 0;
  color: var(--navy-950);
  font: 800 clamp(46px, 5.35vw, 82px)/0.93 "Manrope", sans-serif;
  letter-spacing: -0.07em;
  text-wrap: balance;
  transform: scale(calc(1 + var(--hero-headline-progress) * 0.58));
  transform-origin: center bottom;
  opacity: var(--hero-headline-opacity);
  will-change: transform, opacity;
}
.hero-copy h1 span { color: var(--navy-700); }
.hero-copy > p {
  max-width: 900px;
  margin: 28px auto 0;
  color: rgba(11, 33, 64, 0.89);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.55;
}
.hero-copy > p {
  opacity: var(--hero-support-opacity);
  will-change: opacity;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  opacity: var(--hero-cta-opacity);
  will-change: opacity;
}
.button {
  position: relative;
  isolation: isolate;
  min-height: 56px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(7, 23, 45, 0.10);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.button--primary { color: #fff; background: var(--navy-900); }
.button--primary > span { color: var(--lime); font-size: 18px; }
.button--secondary {
  color: var(--navy-900);
  border-color: rgba(11, 33, 64, 0.15);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(7, 23, 45, 0.19);
}
.button:active,
.nav-cta:active { transform: translateY(0) scale(0.985); }
.interactive-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 110px at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(215,245,63,0.32), transparent 72%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.interactive-glow:hover::before { opacity: 1; }
.scroll-cue {
  position: absolute;
  z-index: 8;
  right: clamp(42px, 4.25vw, 68px);
  bottom: clamp(40px, 4.5vw, 58px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: calc(1 - var(--hero-headline-progress) * 2);
}
.scroll-cue i {
  width: 32px;
  height: 47px;
  border: 1.25px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}
.scroll-cue i::after {
  content: "";
  display: block;
  width: 5px;
  height: 12px;
  margin: 9px auto;
  border-radius: 999px;
  background: #087cff;
  box-shadow: 0 0 0 1px rgba(0, 56, 148, 0.96), 0 0 11px rgba(8, 124, 255, 0.88);
  filter: saturate(1.34) contrast(1.16);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
.hero-scroll .scroll-cue i::after {
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(92, 112, 0, 0.90), 0 0 11px rgba(215, 245, 63, 0.88);
}
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.72; }
  50% { transform: translateY(15px); opacity: 1; }
}

/* Pain story: intentionally reuses the original FeedFunds hero atmosphere values. */
.pain-story {
  position: relative;
  margin-top: -1px;
  height: 330vh;
  min-height: 2200px;
  background:
    radial-gradient(circle at 20% 24%, rgba(174, 214, 235, 0.54), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(216, 245, 63, 0.22), transparent 28%),
    radial-gradient(circle at 72% 68%, rgba(69, 119, 167, 0.20), transparent 34%),
    linear-gradient(145deg, #eff7fb 0%, #dce9f1 48%, #eaf0e9 100%);
}
.pain-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  background: transparent;
}
.pain-sticky.is-bridging {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
}
.pain-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 24%, rgba(174, 214, 235, 0.54), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(216, 245, 63, 0.22), transparent 28%),
    radial-gradient(circle at 72% 68%, rgba(69, 119, 167, 0.20), transparent 34%),
    linear-gradient(145deg, #eff7fb 0%, #dce9f1 48%, #eaf0e9 100%);
}
.pain-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: var(--pain-exit-progress);
  pointer-events: none;
}
.atmosphere-orb {
  position: absolute;
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(22px);
  opacity: calc(0.42 * var(--pain-background-progress));
}
.atmosphere-orb--one {
  top: -18%;
  left: -10%;
  background: rgba(255, 255, 255, 0.82);
}
.atmosphere-orb--two {
  right: -14%;
  bottom: -26%;
  background: rgba(18, 52, 95, 0.20);
}
.atmosphere-grid {
  position: absolute;
  inset: 0;
  opacity: calc(0.25 * var(--pain-background-progress));
  background-image:
    linear-gradient(rgba(13, 42, 74, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 42, 74, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 74%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 74%);
}
.pain-statements {
  position: relative;
  width: min(1360px, calc(100% - 48px));
  min-height: 58vh;
  display: grid;
  place-items: center;
}
.pain-statement {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  margin: 0;
  color: var(--navy-950);
  font: 800 clamp(40px, 5.2vw, 80px)/1.06 "Manrope", sans-serif;
  letter-spacing: -0.065em;
  text-align: center;
  text-wrap: balance;
  opacity: 0;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: opacity, transform;
}

/* Product stories */
.product-story {
  min-height: 100svh;
  padding: clamp(110px, 14vw, 210px) max(28px, 5vw);
  display: grid;
  place-items: center;
  background: var(--page);
}
.product-story--income { background: #f0f3ef; }
.story-layout {
  width: min(1260px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(70px, 9vw, 150px);
}
.story-layout--reverse {
  grid-template-columns: minmax(420px, 0.78fr) minmax(0, 0.92fr);
}
.story-copy { max-width: 600px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.story-copy h2,
.dashboard-intro h2,
.final-cta h2 {
  margin: 0;
  color: var(--navy-950);
  font: 800 clamp(48px, 6vw, 88px)/0.98 "Manrope", sans-serif;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.story-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 25px 0 0;
  color: #51615c;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}
.story-copy strong {
  margin-top: 20px;
  display: inline-block;
  color: var(--navy-800);
  font-size: clamp(16px, 1.25vw, 19px);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 940ms cubic-bezier(.2,.72,.22,1),
    transform 940ms cubic-bezier(.2,.72,.22,1);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }
.reveal-on-scroll.reveal-from-left { transform: translateX(-32px); }
.reveal-on-scroll.reveal-from-right { transform: translateX(32px); }
.reveal-on-scroll.reveal-from-left.is-visible,
.reveal-on-scroll.reveal-from-right.is-visible { transform: none; }

@media (min-width: 901px) {
  .marketing-nav {
    box-shadow:
      0 22px 72px 10px rgba(7, 23, 45, 0.11),
      0 6px 24px rgba(7, 23, 45, 0.065);
  }
  .product-story--expense {
    position: relative;
    z-index: 2;
    margin-top: -100svh;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 38%, #fff 100%);
  }
  .product-story--expense .story-layout.reveal-on-scroll,
  .product-story--expense .story-layout.reveal-on-scroll.is-visible {
    opacity: var(--expense-transition-progress);
    transform: translateY(calc((1 - var(--expense-transition-progress)) * 72px));
    transition: none;
  }
}
.form-preview {
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  border: 1px solid rgba(15, 42, 37, 0.10);
  border-radius: 30px;
  background: rgba(255,255,255,0.94);
}
.form-preview--expense,
.form-preview--income {
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 42px 100px rgba(19, 45, 39, 0.14),
    0 4px 14px rgba(19, 45, 39, 0.06);
}
.form-preview--expense { justify-self: end; transform: rotate(1.2deg); }
.form-preview--income { justify-self: start; transform: rotate(-1.2deg); }
@media (min-width: 901px) {
  .form-preview--expense {
    box-shadow:
      0 -14px 52px -14px rgba(19, 45, 39, 0.13),
      0 42px 100px 8px rgba(19, 45, 39, 0.26),
      0 6px 20px rgba(19, 45, 39, 0.11);
  }
}
.form-preview-header {
  min-height: 90px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-bottom: 1px solid #e5eae7;
}
.form-preview-header h3 {
  margin: 0;
  color: #14251f;
  font: 800 28px "Manrope", sans-serif;
  letter-spacing: -0.04em;
  text-align: center;
}
.preview-close {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #32423d;
  background: #eff2f0;
  font-size: 25px;
  line-height: 1;
}
.form-preview-body { padding: 32px 46px 40px; }
.form-preview label {
  position: relative;
  margin-bottom: 23px;
  display: block;
}
.form-preview label > span {
  margin: 0 0 9px;
  display: block;
  color: #364641;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.form-preview label > b {
  position: relative;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid #d8dfdc;
  border-radius: 15px;
  display: flex;
  align-items: center;
  color: #162822;
  background: #e7ebe9;
  font-size: 19px;
  font-weight: 600;
}
.form-preview label > b.money-field { font-size: 21px; }
.money-field em {
  margin-right: 8px;
  color: #19815e;
  font-style: normal;
  font-weight: 800;
}
.calendar-icon {
  position: absolute;
  right: 20px;
  bottom: 19px;
  width: 20px;
  height: 19px;
  border: 2px solid #263832;
  border-radius: 4px;
}
.calendar-icon::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 4px;
  border-top: 2px solid #263832;
}
.select-chevron {
  position: absolute;
  right: 22px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy-800);
  border-bottom: 2px solid var(--navy-800);
  transform: rotate(45deg) translateY(-3px);
}
.optional-divider {
  margin: 37px 0 27px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #788680;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.optional-divider::before,
.optional-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #d5ddda;
}
.preview-save {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: var(--navy-800);
  font: 800 18px "DM Sans", sans-serif;
  box-shadow: 0 15px 34px rgba(18, 52, 95, 0.20);
}

/* Dashboard reward */
.dashboard-story {
  position: relative;
  height: 190vh;
  min-height: 1200px;
  background: var(--page);
}
.dashboard-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
  padding: clamp(64px, 8vh, 92px) 24px 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dashboard-intro {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  text-align: center;
  opacity: var(--dashboard-heading-opacity);
  transform: translateY(calc((1 - var(--dashboard-heading-opacity)) * -24px));
}
.dashboard-intro h2 { font-size: clamp(44px, 5.5vw, 80px); }
.dashboard-intro > p:not(.eyebrow) {
  max-width: 710px;
  margin: 20px auto 0;
  color: #596963;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
}
.dashboard-stage {
  position: absolute;
  top: clamp(300px, 29vh, 320px);
  left: 50%;
  bottom: auto;
  width: min(1250px, 92vw);
  transform:
    translateX(-50%)
    translateY(calc((1 - var(--dashboard-progress)) * 19vh))
    scale(calc(0.72 + var(--dashboard-progress) * 0.28));
  transform-origin: center bottom;
  will-change: transform;
  filter: drop-shadow(0 42px 55px rgba(10, 29, 54, 0.17));
}
.product-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3840 / 2338;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 25px;
  background: #f5f7f6;
  box-shadow:
    0 36px 95px rgba(9, 26, 52, 0.20),
    0 4px 12px rgba(9, 26, 52, 0.08),
    inset 0 0 0 1px rgba(14, 44, 72, 0.06);
}
.product-window > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.product-window > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
.product-topbar {
  height: 61px;
  padding: 0 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e1e8e5;
  background: rgba(255, 255, 255, 0.94);
}
.product-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-900);
  font: 800 14px "Manrope", sans-serif;
}
.product-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 15px;
}
.product-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-800);
  font-size: 9px;
  font-weight: 800;
}
.product-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45bd8b;
  box-shadow: 0 0 0 4px rgba(69, 189, 139, 0.12);
}
.product-shell {
  height: calc(100% - 61px);
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
}
.product-sidebar {
  padding: 26px 15px 17px;
  display: flex;
  flex-direction: column;
  color: #dae5f3;
  background: linear-gradient(180deg, #213650, #12253d);
}
.product-sidebar nav { display: flex; flex-direction: column; gap: 7px; }
.product-sidebar nav > span {
  min-height: 38px;
  padding: 0 11px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b7c5d7;
  font-size: 11px;
  font-weight: 700;
}
.product-sidebar nav > span.is-active {
  color: #fff;
  background: rgba(255,255,255,0.11);
  box-shadow: inset 3px 0 var(--lime);
}
.ui-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  opacity: 0.9;
}
.ui-icon--home { transform: rotate(45deg); border-radius: 2px; }
.ui-icon--income { border-radius: 50%; }
.ui-icon--settings { border-radius: 50%; box-shadow: inset 0 0 0 3px #1b3049; }
.product-account {
  margin-top: auto;
  padding: 15px 7px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 9px;
}
.account-avatar {
  width: 29px;
  height: 29px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.product-account > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.product-account strong { color: #fff; font-size: 9px; }
.product-account small { color: #94a8bf; font-size: 8px; }
.product-dashboard { padding: 28px 34px 32px; overflow: hidden; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.dashboard-heading h3 {
  margin: 0;
  color: #14231f;
  font: 800 26px "Manrope", sans-serif;
  letter-spacing: -0.04em;
}
.dashboard-heading p { margin: 4px 0 0; color: #7b8783; font-size: 10px; }
.dashboard-period { margin-top: 5px; color: #52605c; font-size: 9px; font-weight: 700; }
.dashboard-filters { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.period-control,
.source-control {
  min-height: 34px;
  border: 1px solid #e1e7e5;
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
}
.period-control { padding: 3px; gap: 2px; }
.period-control span,
.period-control b {
  padding: 6px 9px;
  border-radius: 7px;
  color: #85908c;
  font-size: 8px;
}
.period-control b { color: #fff; background: var(--navy-800); }
.source-control { min-width: 186px; padding: 0 11px; gap: 11px; }
.source-control small { color: #7c8884; font-size: 8px; }
.source-control b { margin-left: auto; color: var(--navy-800); font-size: 9px; }
.source-control > span { color: var(--navy-800); font-size: 9px; }
.dashboard-kpis {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.22fr 1fr 1fr;
  gap: 11px;
}
.mock-kpi {
  position: relative;
  min-height: 102px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid #e0e7e4;
  border-radius: 13px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.mock-kpi > span { color: #61706b; font-size: 10px; font-weight: 700; }
.mock-kpi > strong {
  margin-top: 11px;
  font: 800 19px "Manrope", sans-serif;
  letter-spacing: -0.04em;
}
.mock-kpi > small { margin-top: auto; color: #8b9692; font-size: 8px; }
.mock-kpi > i {
  position: absolute;
  right: -27px;
  bottom: -39px;
  width: 89px;
  height: 89px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.07;
}
.mock-kpi--profit {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #294d76, #19385d);
}
.mock-kpi--profit > span,
.mock-kpi--profit > small { color: #d6e0ee; }
.mock-kpi--income { color: #337d9c; }
.mock-kpi--expense { color: #c84d4d; }
.dashboard-detail-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detail-card {
  min-height: 162px;
  padding: 15px 17px;
  border: 1px solid #e1e8e5;
  border-radius: 13px;
  background: #fff;
}
.detail-card > small {
  color: #18805f;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.detail-card h4 { margin: 5px 0 11px; font: 800 13px "Manrope", sans-serif; }
.category-row {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  color: #52605c;
  font-size: 8px;
}
.category-row > span { display: flex; align-items: center; gap: 5px; }
.category-row b { color: #263833; }
.dot { width: 5px; height: 5px; border-radius: 50%; }
.dot--blue { background: #397ba4; }
.dot--lime { background: #b4d833; }
.dot--gold { background: #db9c32; }
.category-bar {
  height: 3px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1ef;
}
.category-bar i { display: block; height: 100%; border-radius: inherit; background: #587a9d; }
.transaction-date {
  margin: 10px 0 4px;
  color: #8a9591;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}
.transaction-row {
  min-height: 21px;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  font-size: 8px;
}
.transaction-row b { font-family: "Manrope", sans-serif; }
.transaction-row .positive { color: #2a819f; }
.transaction-row .negative { color: #c84d4d; }
.transaction-row span { color: #3d4c47; }
.mock-fab {
  position: absolute;
  right: 22px;
  bottom: 21px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #18312b;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(16, 43, 36, 0.20);
}

/* Final CTA and footer */
.final-cta {
  min-height: 84svh;
  padding: 120px 28px;
  display: grid;
  place-items: center;
  background: #f0f3ef;
  text-align: center;
}
.final-cta-inner { width: min(1080px, 100%); }
.final-cta h2 { font-size: clamp(48px, 6.4vw, 94px); }
.final-cta p {
  margin: 28px auto 32px;
  color: #596963;
  font-size: clamp(17px, 1.4vw, 21px);
}
.final-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.marketing-footer {
  min-height: 190px;
  padding: 48px max(28px, 5vw);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-top: 1px solid rgba(7, 23, 45, 0.08);
  background: var(--page);
}
.marketing-footer nav { display: flex; justify-content: center; gap: 43px; }
.marketing-footer nav a {
  position: relative;
  color: #53625d;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.marketing-footer nav a:hover { color: var(--navy-800); }
.marketing-footer nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
}
.marketing-footer nav a:hover::after { transform: scaleX(1); }
.footer-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-meta > p {
  margin: 0;
  color: #7b8883;
  font-size: 12px;
  white-space: nowrap;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #53625d;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.footer-social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  opacity: 0.84;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  opacity: 1;
  background: rgba(7, 23, 45, 0.05);
}
.footer-social img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

/* Shared shell for public route placeholders. */
.route-placeholder {
  min-height: calc(100svh - 190px);
  padding: 150px 24px 100px;
  display: grid;
  place-items: center;
  background: var(--page);
  text-align: center;
}
.route-placeholder-inner h1 {
  margin: 0;
  color: var(--navy-950);
  font: 800 clamp(48px, 7vw, 88px)/1 "Manrope", sans-serif;
  letter-spacing: -0.06em;
}
.route-placeholder-inner p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
}

/* Shared content pages. */
.marketing-route {
  min-height: 100svh;
  padding: 160px 24px 96px;
  background: var(--page);
}
.marketing-page {
  width: min(1100px, 100%);
  margin: 0 auto;
}
.page-intro {
  max-width: 860px;
  margin: 0 auto 58px;
  text-align: center;
}
.page-intro h1 {
  margin: 0;
  color: var(--navy-950);
  font: 800 clamp(40px, 4.6vw, 62px)/1 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}
.page-subtitle {
  margin: 22px 0 0;
  color: #33433e;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
}
.page-lead,
.page-intro-copy {
  max-width: 760px;
  margin: 24px auto 0;
  color: #53635e;
  font-size: 18px;
  line-height: 1.72;
}
.page-intro-copy p { margin: 0; }
.page-intro-copy p + p { margin-top: 12px; }
.content-card,
.pricing-card {
  border: 1px solid rgba(7, 23, 45, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 68px rgba(7, 23, 45, 0.065);
}

/* Pricing */
.pricing-route .marketing-page { width: min(1220px, 100%); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 22px;
}
.pricing-card {
  position: relative;
  height: 100%;
  min-height: 326px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 -14px 48px rgba(7, 23, 45, 0.06),
    0 44px 112px rgba(7, 23, 45, 0.14),
    0 9px 28px rgba(7, 23, 45, 0.065);
  transition:
    transform 230ms cubic-bezier(.2,.72,.22,1),
    box-shadow 230ms cubic-bezier(.2,.72,.22,1),
    border-color 230ms ease;
}
.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--navy-800);
  background: #edf1ef;
  font-size: 12px;
  font-weight: 700;
}
.pricing-card h2,
.data-assurance h2,
.contact-card h2 {
  margin: 0;
  color: var(--navy-950);
  font: 800 25px/1.25 "Manrope", sans-serif;
  letter-spacing: -0.025em;
}
.pricing-card--recommended h2 { padding-right: 88px; }
.pricing-price {
  margin: 28px 0 0;
  color: var(--navy-950);
  font: 800 clamp(36px, 3vw, 45px)/1 "Manrope", sans-serif;
  letter-spacing: -0.045em;
}
.pricing-price span {
  color: #61706c;
  font: 600 17px/1.3 "DM Sans", sans-serif;
  letter-spacing: 0;
}
.pricing-card ul {
  margin: auto 0 0;
  padding: 32px 0 0;
  display: grid;
  gap: 14px;
  list-style: none;
}
.pricing-card li {
  position: relative;
  padding-left: 28px;
  color: #33433e;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #18805f;
  font-weight: 800;
}
.pricing-savings {
  color: #18805f;
  font-weight: 600;
}
.data-assurance {
  margin-top: 48px;
  padding: 0 4px;
}
.data-assurance,
.contact-card {
  background-color: #fff;
  box-shadow:
    0 -14px 48px rgba(7, 23, 45, 0.06),
    0 44px 112px rgba(7, 23, 45, 0.14),
    0 9px 28px rgba(7, 23, 45, 0.065);
}
.data-assurance {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.data-assurance p,
.contact-card > p {
  margin: 18px 0 0;
  color: #3f504b;
  font-size: 17px;
  line-height: 1.7;
}
.data-assurance p + p { margin-top: 12px; }
.pricing-route .page-intro { margin-bottom: 46px; }
.pricing-route .page-intro-copy { margin-top: 16px; }
.pricing-route .page-intro-copy p + p { margin-top: 6px; }

@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(31, 75, 125, 0.20);
    box-shadow:
      0 -14px 46px rgba(7, 23, 45, 0.07),
      0 50px 118px rgba(7, 23, 45, 0.16),
      0 11px 30px rgba(7, 23, 45, 0.075);
  }
}

/* Contact */
.contact-route .page-intro { margin-bottom: 36px; }
.contact-stack {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.contact-card { padding: 42px 46px; background-color: #fff; }
.contact-card--primary h2 { margin-bottom: 20px; }
.contact-detail {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
}
.contact-detail + .contact-detail {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}
.contact-detail > span {
  transform: translateY(-3px);
  color: #687772;
  font-size: 15px;
  font-weight: 600;
}
.contact-detail a,
.contact-detail p {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}
.contact-detail a {
  width: fit-content;
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.contact-detail a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(31, 75, 125, 0.55);
}
.contact-detail p {
  color: #53635e;
  font-size: 17px;
  font-weight: 400;
}
.contact-social-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-social-links a {
  position: relative;
  isolation: isolate;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(7, 23, 45, 0.10);
  border-radius: 14px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  background: #f3f5f2;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.contact-social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 75, 125, 0.22);
  box-shadow: 0 10px 24px rgba(7, 23, 45, 0.07);
}
.contact-social-links .interactive-glow::before { z-index: 0; }
.contact-social-links a > * { position: relative; z-index: 1; }
.contact-social-links img { width: 21px; height: 21px; object-fit: contain; }
.contact-closing {
  max-width: 780px;
  margin: 24px auto 0;
  color: #53635e;
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
}

/* Features */
.features-route { padding-bottom: 72px; }
.features-route .marketing-page { width: min(1100px, 100%); }
.features-intro {
  max-width: 930px;
  margin-bottom: clamp(72px, 8vw, 104px);
}
.features-scroll-cue { display: none; }
@media (min-width: 901px) {
  .features-scroll-cue {
    position: fixed;
    top: auto;
    left: auto;
    display: flex;
    color: var(--navy-950);
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 240ms ease, transform 240ms ease, visibility 0s;
  }
  .features-scroll-cue i {
    border-color: rgba(7, 23, 45, 0.70);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 8px 24px rgba(7, 23, 45, 0.14);
  }
  .features-scroll-cue.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 240ms;
  }
}
.features-intro-copy {
  max-width: 780px;
  margin: clamp(38px, 4vw, 48px) auto 0;
  color: #43534e;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.64;
  text-align: center;
}
.features-intro-copy p { margin: 0; }
.features-intro-copy strong {
  color: var(--navy-700);
  font-weight: 700;
}
.features-story > span,
.features-story > strong { display: block; }
.features-story > span + span { margin-top: 15px; }
.features-story-examples { margin-block: 20px !important; }
.features-story-examples span { display: block; }
.features-story-examples span + span { margin-top: 6px; }
.features-story-close {
  margin-top: 20px;
  color: var(--navy-950);
  font-size: inherit;
  font-weight: 700;
}
.features-list {
  display: grid;
  gap: clamp(120px, 13vw, 168px);
}
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(58px, 8vw, 108px);
}
.feature-row--reverse {
  grid-template-columns: minmax(520px, 1.28fr) minmax(0, 0.72fr);
}
.feature-row--reverse .feature-copy { order: 2; }
.feature-row--reverse .feature-visual { order: 1; }
.feature-copy h2,
.features-finale h2 {
  margin: 0;
  color: var(--navy-950);
  font: 800 clamp(38px, 4.2vw, 58px)/1.05 "Manrope", sans-serif;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.feature-copy p {
  margin: 22px 0 0;
  color: #4d5e59;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.68;
}
.feature-copy p + p { margin-top: 12px; }
.feature-visual {
  position: relative;
  width: 112%;
  margin-inline: -6%;
  aspect-ratio: 4 / 3;
  border-radius: 30px;
  overflow: hidden;
}
.feature-row:last-child .feature-visual {
  width: 104%;
  margin-inline: -2%;
}
.feature-visual picture,
.feature-visual img {
  width: 100%;
  height: 100%;
  display: block;
}
.feature-visual img {
  object-fit: contain;
}
.feature-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--page) 0%, transparent 6%, transparent 94%, var(--page) 100%),
    linear-gradient(180deg, var(--page) 0%, transparent 6%, transparent 94%, var(--page) 100%);
}
.features-route .feature-row.reveal-on-scroll,
.features-route .features-finale.reveal-on-scroll {
  opacity: 0;
  transform: translateY(68px);
  transition:
    opacity 1380ms cubic-bezier(.16,.8,.2,1),
    transform 1380ms cubic-bezier(.16,.8,.2,1);
}
.features-route .feature-row.reveal-on-scroll.is-visible,
.features-route .features-finale.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}
.features-finale {
  max-width: 900px;
  min-height: min(68svh, 760px);
  margin: clamp(180px, 18vw, 240px) auto 0;
  padding: clamp(64px, 8vw, 92px) 0;
  border-top: 1px solid rgba(7, 23, 45, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.features-finale > div {
  max-width: 720px;
  margin: 30px auto 0;
}
.features-finale p {
  margin: 0;
  color: #4d5e59;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.65;
}
.features-finale p + p { margin-top: 12px; }
.features-finale-actions {
  margin-top: 24px !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  color: var(--navy-900);
  font-weight: 700;
}

/* Shared legal-document layout. */
.legal-route {
  min-height: 100svh;
  padding: 160px 24px 96px;
  background: var(--page);
}
.legal-document {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px);
  padding-top: calc(clamp(36px, 5vw, 64px) + 14px);
  border: 1px solid rgba(7, 23, 45, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 23, 45, 0.07);
}
.legal-document h1 {
  margin: 0;
  color: var(--navy-950);
  font: 800 clamp(40px, 4.6vw, 62px)/1 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}
.legal-document > .legal-updated {
  margin: 20px 0 46px;
  color: #53635e;
  font-size: 16px;
  font-weight: 600;
}
.legal-document section + section { margin-top: 44px; }
.legal-document h2 {
  margin: 0 0 14px;
  color: var(--navy-950);
  font: 800 clamp(21px, 2vw, 27px)/1.25 "Manrope", sans-serif;
  letter-spacing: -0.025em;
}
.legal-document p,
.legal-document li {
  color: #33433e;
  font-size: 18px;
  line-height: 1.76;
}
.legal-document p { margin: 0 0 16px; }
.legal-document section p { font-weight: 500; }
.legal-document ul { margin: 8px 0 18px; padding-left: 24px; }
.legal-document a { color: var(--navy-700); font-weight: 700; }

@media (max-width: 1100px) {
  .story-layout,
  .story-layout--reverse { gap: 60px; }
  .dashboard-stage { width: min(1080px, 94vw); }
}

@media (max-width: 900px) {
  .marketing-route { padding: 124px 18px 72px; }
  .page-intro { margin-bottom: 44px; }
  .pricing-route .page-intro { margin-bottom: 38px; }
  .contact-route .page-intro { margin-bottom: 32px; }
  .pricing-grid {
    max-width: 680px;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }
  .pricing-card { min-height: 0; }
  .pricing-card ul { margin-top: 28px; padding-top: 0; }
  .data-assurance {
    max-width: 680px;
    margin: 42px auto 0;
  }
  .features-intro { margin-bottom: 72px; }
  .features-list { gap: 100px; }
  .feature-row,
  .feature-row--reverse {
    max-width: 680px;
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .feature-row--reverse .feature-copy,
  .feature-row--reverse .feature-visual { order: initial; }
  .features-route .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .feature-copy {
    max-width: 600px;
    margin-inline: auto;
    text-align: center;
  }
  .feature-visual {
    width: 106%;
    margin-inline: -3%;
    border-radius: 24px;
  }
  .feature-row:last-child .feature-visual {
    width: 102%;
    margin-inline: -1%;
  }
  .features-finale { margin-top: 128px; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .hero-copy { top: calc(41% - 40px); }
  .hero-copy h1 { font-size: clamp(46px, 4.85vw, 67px); }
}

@media (max-width: 900px) {
  .hero-scroll { height: auto; min-height: 0; }
  .hero-sticky { position: relative; height: 100svh; min-height: 720px; }
  .hero-landscape { transform: none; opacity: 1; }
  .hero-landscape img { object-position: 52% 56%; }
  .hero-wash {
    background:
      linear-gradient(180deg, rgba(244, 250, 253, 0.18) 0%, rgba(238, 246, 249, 0.03) 48%, rgba(7, 23, 45, 0.18) 100%);
  }
  .hero-wash::after {
    display: block;
    background: linear-gradient(180deg, transparent 64%, #eff7fb 100%);
    opacity: 1;
  }
  .marketing-nav {
    top: 12px;
    width: calc(100% - 28px);
    min-height: 62px;
    padding: 0 13px;
    border-radius: 17px;
  }
  .desktop-nav { display: none; }
  .mobile-nav { display: flex; align-items: center; gap: 12px; }
  .mobile-login {
    color: var(--navy-900);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-menu-button {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(11, 33, 64, 0.12);
    border-radius: 13px;
    background: rgba(255,255,255,0.70);
  }
  .mobile-menu-button span {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--navy-900);
    transition: transform 180ms ease, top 180ms ease;
  }
  .mobile-menu-button span:first-child { top: 16px; }
  .mobile-menu-button span:last-child { top: 23px; }
  .mobile-menu-button[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
  .mobile-menu-button[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
  .mobile-menu {
    position: absolute;
    top: 68px;
    right: 0;
    width: min(260px, calc(100vw - 28px));
    padding: 10px;
    border: 1px solid rgba(11, 33, 64, 0.11);
    border-radius: 16px;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 22px 52px rgba(7,23,45,0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .mobile-menu a {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    color: var(--navy-900);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-menu a:hover { background: #f1f5f4; }
  .mobile-menu .mobile-menu-cta { color: #fff; background: var(--navy-900); }
  .hero-copy {
    top: calc(40% - 40px);
    left: 50%;
    width: calc(100% - 48px);
    transform: translate(-50%, -50%);
    opacity: 1;
    text-align: center;
  }
  .hero-copy h1 { font-size: clamp(40px, 8.35vw, 60px); }
  .hero-copy > p { max-width: 560px; font-size: 18px; }
  .scroll-cue { display: none; }

  .pain-story { height: auto; min-height: 0; }
  .pain-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 130px 24px;
  }
  .pain-statements {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 150px;
  }
  .pain-statement {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    font-size: clamp(42px, 9vw, 68px);
    opacity: 1;
    transform: none;
  }
  .pain-statement:last-child { font-size: clamp(46px, 9.6vw, 72px); }
  .product-story { min-height: auto; padding: 120px 28px; }
  .story-layout,
  .story-layout--reverse {
    grid-template-columns: 1fr;
    gap: 65px;
  }
  .product-story--income .story-layout.reveal-from-right,
  .product-story--income .story-layout.reveal-from-right.is-visible {
    transform: none;
    transition: opacity 940ms cubic-bezier(.2,.72,.22,1);
  }
  .story-layout--reverse .form-preview { order: 2; }
  .story-layout--reverse .story-copy { order: 1; }
  .story-copy { max-width: 680px; }
  .form-preview,
  .form-preview--expense,
  .form-preview--income {
    width: min(540px, 100%);
    justify-self: center;
  }
  .dashboard-story { height: auto; min-height: 0; padding: 120px 24px; }
  .dashboard-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }
  .dashboard-intro { opacity: 1; transform: none; }
  .dashboard-stage {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: min(820px, 105vw);
    margin-top: 65px;
    transform: none;
  }
  .product-shell { grid-template-columns: 132px minmax(0, 1fr); }
  .product-sidebar { padding: 20px 10px 13px; }
  .product-dashboard { padding: 21px 22px 24px; }
  .dashboard-detail-grid { display: none; }
  .marketing-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-meta {
    justify-self: center;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .marketing-brand { font-size: 18px; }
  .marketing-brand-wordmark { width: 129px; height: 35px; flex-basis: 129px; }
  .marketing-brand-wordmark img { height: 48px; }
  .marketing-brand-mark { width: 35px; height: 35px; font-size: 18px; }
  .hero-sticky { min-height: 680px; }
  .hero-landscape img { object-position: 58% 54%; }
  .hero-copy { top: calc(40% - 40px); left: 50%; width: calc(100% - 40px); }
  .hero-copy h1 { font-size: clamp(35px, 9.45vw, 46px); }
  .hero-copy > p { max-width: 360px; margin-top: 20px; font-size: 16px; line-height: 1.5; }
  .hero-actions { margin-top: 24px; gap: 9px; }
  .button { min-height: 51px; padding: 0 17px; border-radius: 14px; font-size: 13px; }
  .pain-sticky { padding: 105px 20px; }
  .pain-statements { gap: 120px; }
  .pain-statement { font-size: clamp(36px, 10.5vw, 48px); }
  .pain-statement br { display: none; }
  .product-story { padding: 96px 20px; }
  .story-layout,
  .story-layout--reverse { gap: 50px; }
  .story-copy h2,
  .dashboard-intro h2,
  .final-cta h2 { font-size: clamp(42px, 11vw, 56px); }
  .story-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 17px; }
  .form-preview { border-radius: 23px; }
  .form-preview--expense,
  .form-preview--income { scale: 0.85; }
  .form-preview--expense.is-visible,
  .form-preview--income.is-visible { transform: none; }
  .form-preview-header { min-height: 74px; padding: 0 18px; grid-template-columns: 38px 1fr 38px; }
  .form-preview-header h3 { font-size: 23px; }
  .preview-close { width: 36px; height: 36px; border-radius: 11px; font-size: 22px; }
  .form-preview-body { padding: 25px 24px 30px; }
  .form-preview label > b { min-height: 57px; font-size: 17px; }
  .optional-divider { margin: 31px 0 23px; font-size: 9px; }
  .preview-save { min-height: 58px; font-size: 16px; }
  .dashboard-story { padding: 100px 18px; overflow: hidden; }
  .dashboard-intro > p:not(.eyebrow) { font-size: 16px; }
  .dashboard-stage {
    width: min(300px, 72vw);
    margin-top: 14px;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
    filter: none;
  }
  .product-window {
    aspect-ratio: 1320 / 2727;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 46px -22px rgba(9, 26, 52, 0.24);
  }
  .product-window::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    border: 1px solid rgba(20, 30, 50, 0.08);
    border-radius: inherit;
    pointer-events: none;
  }
  .product-topbar { height: 47px; padding: 0 15px; }
  .product-shell { height: calc(100% - 47px); grid-template-columns: 95px minmax(0,1fr); }
  .product-sidebar { padding: 14px 7px 10px; }
  .product-sidebar nav > span { min-height: 30px; padding: 0 7px; gap: 6px; font-size: 7px; }
  .ui-icon { width: 10px; height: 10px; }
  .product-account { padding-top: 9px; gap: 5px; }
  .account-avatar { width: 20px; height: 20px; font-size: 8px; }
  .product-account strong { font-size: 6px; }
  .product-account small { font-size: 5px; }
  .product-dashboard { padding: 16px 17px 18px; }
  .dashboard-heading h3 { font-size: 18px; }
  .dashboard-heading p { font-size: 7px; }
  .dashboard-period { font-size: 6px; }
  .dashboard-filters { margin-top: 11px; gap: 7px; }
  .period-control, .source-control { min-height: 25px; }
  .period-control span, .period-control b { padding: 4px 6px; font-size: 5px; }
  .source-control { min-width: 108px; padding: 0 7px; gap: 5px; }
  .source-control small, .source-control b, .source-control > span { font-size: 5px; }
  .dashboard-kpis { margin-top: 9px; gap: 6px; }
  .mock-kpi { min-height: 70px; padding: 9px; border-radius: 9px; }
  .mock-kpi > span { font-size: 6px; }
  .mock-kpi > strong { margin-top: 7px; font-size: 11px; }
  .mock-kpi > small { font-size: 5px; }
  .mock-fab { right: 13px; bottom: 12px; width: 29px; height: 29px; border-radius: 9px; font-size: 19px; }
  .final-cta { min-height: 76svh; padding: 100px 20px; }
  .final-cta h2 br { display: none; }
  .final-actions { flex-wrap: wrap; gap: 10px; }
  .marketing-footer {
    min-height: 0;
    padding: 22px 28px;
    gap: 0;
  }
  .marketing-footer nav {
    margin-top: 4px;
    flex-wrap: wrap;
    gap: 0 26px;
  }
  .marketing-footer nav a { font-size: 14.5px; }
  .footer-meta {
    margin-top: 4px;
    gap: 0;
  }
  .footer-social > span { display: none; }
  .marketing-route { padding: 124px 14px 64px; }
  .page-intro { margin-bottom: 38px; }
  .pricing-route .page-intro { margin-bottom: 32px; }
  .contact-route .page-intro { margin-bottom: 26px; }
  .page-subtitle { margin-top: 18px; font-size: 20px; }
  .page-lead,
  .page-intro-copy { margin-top: 20px; font-size: 17px; line-height: 1.65; }
  .pricing-card,
  .content-card { border-radius: 20px; }
  .pricing-card { padding: 28px 24px 26px; }
  .pricing-badge { top: 16px; right: 16px; }
  .pricing-card--recommended h2 { padding-right: 84px; }
  .pricing-price { margin-top: 24px; }
  .data-assurance { padding: 0 4px; }
  .contact-card { padding: 32px 24px; }
  .contact-stack { gap: 14px; }
  .contact-detail {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .contact-detail + .contact-detail { margin-top: 24px; padding-top: 0; }
  .contact-detail a,
  .contact-detail p { font-size: 17px; overflow-wrap: anywhere; }
  .contact-social-links { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-social-links a { justify-content: center; }
  .contact-closing { margin-top: 20px; font-size: 16px; }
  .features-intro {
    margin-bottom: 76px;
    text-align: left;
  }
  .features-intro h1 { font-size: clamp(40px, 12vw, 54px); }
  .features-intro-copy {
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.62;
    text-align: center;
  }
  .features-story > span + span { margin-top: 8px; }
  .features-story-examples { margin-block: 10px !important; }
  .features-story-examples span + span { margin-top: 4px; }
  .features-story-close { margin-top: 12px; }
  .features-list { gap: 98px; }
  .feature-row,
  .feature-row--reverse { gap: 30px; }
  .feature-copy h2 { font-size: clamp(35px, 10.4vw, 46px); }
  .feature-copy p { margin-top: 18px; font-size: 17px; line-height: 1.62; }
  .feature-copy p + p { margin-top: 10px; }
  .feature-visual { border-radius: 20px; }
  .features-finale {
    min-height: 0;
    margin-top: 96px;
    padding: 46px 0 52px;
    border-top: 0;
    text-align: center;
  }
  .features-finale > div { margin-top: 20px; }
  .features-finale p { font-size: 18px; }
  .features-finale p + p { margin-top: 10px; }
  .features-finale-actions {
    margin-top: 20px !important;
    gap: 4px 12px;
  }
  .legal-route { padding: 124px 14px 64px; }
  .legal-document { padding: 42px 22px 34px; border-radius: 20px; }
  .legal-document > .legal-updated { margin: 20px 0 36px; font-size: 16px; }
  .legal-document section + section { margin-top: 38px; }
  .legal-document p,
  .legal-document li { font-size: 17px; line-height: 1.72; }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  .hero-sticky { min-height: 520px; }
  .hero-copy { top: calc(46% - 40px); }
  .hero-copy h1 { font-size: clamp(37px, 7.45vw, 54px); }
  .hero-copy > p { margin-top: 12px; font-size: 14px; }
  .hero-actions { margin-top: 15px; }
  .button { min-height: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-scroll,
  .pain-story,
  .dashboard-story { height: auto; min-height: 0; }
  .hero-sticky,
  .pain-sticky,
  .dashboard-sticky { position: relative; }
  .hero-landscape { transform: none; opacity: 1; }
  .hero-copy { transform: translate(-50%, -50%); opacity: 1; }
  .hero-wash::after { display: none; }
  .pain-sticky { height: auto; min-height: 0; padding: 120px 24px; }
  .pain-statements { min-height: 0; display: flex; flex-direction: column; gap: 110px; }
  .pain-statement {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    opacity: 1 !important;
    transform: none !important;
  }
  .dashboard-story { padding: 120px 24px; }
  .dashboard-sticky { height: auto; min-height: 0; padding: 0; overflow: visible; }
  .dashboard-intro { opacity: 1; transform: none; }
  .dashboard-stage { position: relative; top: auto; left: auto; bottom: auto; margin-top: 64px; transform: none; }
  .reveal-on-scroll { opacity: 1; transform: none; }
  .features-route .feature-row.reveal-on-scroll,
  .features-route .features-finale.reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
  .product-story--expense { margin-top: 0; background: var(--page); }
  .product-story--expense .story-layout.reveal-on-scroll,
  .product-story--expense .story-layout.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .features-route { padding-bottom: 48px; }
  .dashboard-stage { margin-top: 10px; }
}
