/* =========================================================================
   Wealthgenie product landing page
   Self-contained: this page loads only lineicons + this file (no Bootstrap,
   no template main.css). Every selector is prefixed `lp-` so nothing here
   leaks into the calculators or the Why page, which still use main.css.
   ========================================================================= */

:root {
  --paper: #fbfafd;
  --white: #ffffff;
  --ink: #1b1535;
  --ink-2: #3f3b5c;
  --muted: #6f6c8a;
  --line: #e6e2f0;
  --line-strong: #d5cfe6;

  --brand: #6c1fd3;
  --brand-deep: #5714ae;
  --brand-tint: #f1eafc;
  --aubergine: #22123f;
  --aubergine-2: #2d1a52;
  --signal: #f59e0b;

  --rev: #047857;
  --rev-bg: #d1fae5;
  --mar: #b45309;
  --mar-bg: #fef3c7;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --section: 112px;
  --gutter: 24px;
  --radius: 12px;
  --shadow-frame: 0 30px 70px -30px rgba(27, 21, 53, 0.35), 0 2px 6px rgba(27, 21, 53, 0.06);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- type ---------- */
.lp-h1, .lp-h2, .lp-h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.lp-h1 {
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.04;
  font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 1;
}
.lp-h2 {
  font-size: clamp(31px, 3.4vw, 42px);
  line-height: 1.15;
  font-variation-settings: 'opsz' 96;
}
.lp-h3 {
  font-size: 21px;
  line-height: 1.3;
  font-variation-settings: 'opsz' 36;
}
.lp-lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.lp-kicker { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.lp-measure { max-width: 36em; }

/* ---------- layout ---------- */
.lp-container { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.lp-section { padding: var(--section) 0; }
.lp-section-head { max-width: 40em; margin-bottom: 56px; }
.lp-section-head .lp-h2 { margin-bottom: 18px; }
.lp-section-head p { font-size: 18px; color: var(--ink-2); }
.lp-paper { background: var(--paper); }

/* ---------- buttons ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  border: 1px solid transparent;
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.lp-btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.lp-btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.lp-btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.lp-btn-light { background: #fff; color: var(--aubergine); border-color: #fff; }
.lp-btn-light:hover { background: #f1eafc; border-color: #f1eafc; color: var(--aubergine); }
.lp-btn-sm { padding: 10px 18px; font-size: 15px; }
.lp-btn[disabled] { opacity: .6; cursor: default; }
.lp-textlink { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.lp-textlink:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- header ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 253, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.lp-nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.88); }
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.lp-brand img { height: 42px; width: auto; }
.lp-menu { display: flex; align-items: center; gap: 34px; }
.lp-menu > a, .lp-dd > button {
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-menu > a:hover, .lp-dd > button:hover { color: var(--brand); }
.lp-menu .lp-btn { margin-left: 6px; }
/* the menu link rule above outranks .lp-btn-primary; keep the button's text white */
.lp-menu > .lp-btn-primary, .lp-menu > .lp-btn-primary:hover { color: #fff; }
.lp-dd { position: relative; }
.lp-dd > button i { font-size: 11px; transition: transform .18s ease; }
.lp-dd.is-open > button i { transform: rotate(180deg); }
.lp-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 18px 40px -18px rgba(27, 21, 53, 0.35), 0 2px 8px rgba(27, 21, 53, 0.06);
  display: none;
}
.lp-dd.is-open .lp-dd-menu { display: block; }
.lp-dd-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
}
.lp-dd-menu a:hover { background: var(--brand-tint); color: var(--brand-deep); }
.lp-nav-toggle { display: none; flex-direction: column; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.lp-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 3px 0; transition: transform .2s ease, opacity .2s ease; }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.lp-hero { background: var(--paper); overflow: hidden; padding: 64px 0 104px; }
.lp-hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.lp-hero-copy .lp-h1 { margin-bottom: 26px; }
.lp-hero-copy .lp-lede { margin-bottom: 36px; }
.lp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.lp-hero-shot { position: relative; }
.lp-hero-shot .lp-frame { width: 134%; }
.lp-frame {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-frame);
}
.lp-frame img { width: 100%; }

/* one orchestrated entrance, hero only */
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.lp-rise { animation: lp-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.lp-rise-2 { animation-delay: .12s; }
.lp-rise-3 { animation-delay: .24s; }
.lp-rise-4 { animation-delay: .3s; }

/* ---------- vision ---------- */
.lp-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.lp-vision-copy .lp-h2 { margin-bottom: 22px; }
.lp-vision-copy .lp-h2 .hl {
  background: linear-gradient(transparent 62%, rgba(245, 158, 11, 0.34) 62%, rgba(245, 158, 11, 0.34) 92%, transparent 92%);
  padding: 0 2px;
}
.lp-vision-copy > p { margin-bottom: 18px; max-width: 34em; }
.lp-credo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--signal);
  padding-left: 20px;
  max-width: 30em;
  margin-top: 26px;
  font-variation-settings: 'opsz' 36;
}

/* the signal field: a book of investors, today's signals lit */
.lp-signal-field {
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--paper);
  background-image: radial-gradient(var(--line-strong) 2.2px, transparent 2.3px);
  background-size: 32px 32px;
  background-position: 14px 16px;
  overflow: hidden;
}
.lp-signal-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.16);
}
.lp-signal-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.55);
  animation: lp-pulse 2.8s ease-out infinite;
}
.lp-signal-dot.sd-1 { left: 61%; top: 26%; }
.lp-signal-dot.sd-2 { left: 27%; top: 60%; }
.lp-signal-dot.sd-2::after { animation-delay: .9s; }
.lp-signal-dot.sd-3 { left: 79%; top: 68%; width: 10px; height: 10px; }
.lp-signal-dot.sd-3::after { animation-delay: 1.8s; }
@keyframes lp-pulse {
  0% { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}
.lp-signal-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 8px 22px -8px rgba(27, 21, 53, 0.3);
  white-space: nowrap;
}
.lp-signal-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
.lp-signal-chip.sc-1 { left: 65.5%; top: 13.5%; }
.lp-signal-chip.sc-2 { left: 8%; top: 68.5%; }
.lp-caption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* the revenue equation, set as a ledger */
.lp-ledger { margin-top: 88px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.lp-ledger-head { padding: 26px 32px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lp-ledger-head .lp-h3 { font-size: 24px; }
.lp-ledger-head p { font-size: 15px; color: var(--muted); }
.lp-ledger-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 32px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.lp-ledger-lever { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; }
.lp-ledger-lever b { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--brand); letter-spacing: -0.01em; font-variation-settings: 'opsz' 36; }
.lp-ledger-lever span { color: var(--muted); font-size: 15.5px; }
.lp-ledger-out { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; font-size: 17px; }
.lp-ledger-out::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--line-strong);
}
.lp-ledger-out::after {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  transform: translateY(-50%) rotate(45deg);
}
.lp-ledger-total {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 32px;
  padding: 24px 32px 28px;
  background: var(--paper);
  border-top: 3px double var(--line-strong);
  margin-top: -1px;
  align-items: center;
}
.lp-ledger-total span { color: var(--muted); font-size: 15.5px; }
.lp-ledger-total b { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); padding-left: 34px; letter-spacing: -0.01em; font-variation-settings: 'opsz' 36; }

/* ---------- levers: two columns, six features each ---------- */
.lp-lever-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 12px 5px 10px;
  line-height: 1.2;
}
.lp-lever-badge i { font-size: 12px; }
.lp-lever-badge.rev { color: var(--rev); background: var(--rev-bg); }
.lp-lever-badge.mar { color: var(--mar); background: var(--mar-bg); }

.lp-levers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.lp-lever-col-head { padding-bottom: 26px; border-bottom: 1px solid var(--line-strong); }
.lp-lever-col-head p { margin-top: 14px; color: var(--ink-2); font-size: 16px; max-width: 32em; }
.lp-feature-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.lp-feature-list li:last-child { border-bottom: 0; }
.lp-feature-list i { font-size: 20px; color: var(--brand); margin-top: 5px; }
.lp-feature-list .lp-h3 { font-size: 20px; margin-bottom: 6px; }
.lp-feature-list p { font-size: 15.5px; color: var(--ink-2); max-width: 34em; }

/* ---------- deep dives ---------- */
.lp-dives .lp-section-head { margin-bottom: 8px; }
.lp-dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.lp-dive:first-of-type { border-top: 0; }
.lp-dive.flip .lp-dive-shot { order: -1; }
.lp-dive-copy .lp-h2 { font-size: clamp(28px, 2.6vw, 34px); margin-bottom: 14px; }
.lp-dive-copy > p { font-size: 17px; margin-bottom: 22px; max-width: 32em; }
.lp-checks li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 15.5px; color: var(--ink-2); }
.lp-checks li::before {
  content: '';
  position: absolute;
  left: 2px; top: 11px;
  width: 12px; height: 2px;
  background: var(--brand);
}
.lp-outcome { margin-top: 24px; font-size: 15px; display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); }
.lp-outcome::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.lp-outcome b { font-weight: 600; }
.lp-outcome.rev::before { background: var(--rev); }
.lp-outcome.rev b { color: var(--rev); }
.lp-outcome.mar::before { background: var(--mar); }
.lp-outcome.mar b { color: var(--mar); }

/* ---------- differentiators ---------- */
.lp-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lp-diff { background: var(--paper); padding: 34px 32px 30px; display: flex; flex-direction: column; gap: 10px; }
.lp-diff .lp-h3 { font-size: 22px; }
.lp-diff p { font-size: 15.5px; color: var(--ink-2); flex: 1; }
.lp-diff .lp-lever-badge { align-self: flex-start; margin-top: 8px; }
.lp-diff-link { margin-top: 32px; font-size: 16px; }

/* ---------- book a demo + footer ---------- */
.lp-demo { background: var(--aubergine); color: #fff; padding: 104px 0; }
.lp-demo-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.lp-demo .lp-h2 { color: #fff; margin-bottom: 18px; }
.lp-demo-copy p { color: rgba(255, 255, 255, 0.78); font-size: 17px; max-width: 30em; }
.lp-demo-contact { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 15.5px; }
.lp-demo-contact a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.lp-demo-contact a:hover { border-bottom-color: #fff; color: #fff; }
.lp-demo-contact p { color: rgba(255, 255, 255, 0.78); margin-bottom: 6px; }

.lp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.lp-field { display: flex; flex-direction: column; gap: 7px; }
.lp-field.wide { grid-column: 1 / -1; }
.lp-field label { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }
.lp-field input {
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 13px 15px;
  transition: border-color .18s ease, background-color .18s ease;
}
.lp-field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.lp-field input:focus { outline: none; border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.1); }
.lp-form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.lp-form-msg { font-size: 15px; }
.lp-form-msg.ok { color: #c9f4e0; }
.lp-form-msg.err { color: #ffc9c9; }

.lp-footer { background: var(--aubergine); color: rgba(255, 255, 255, 0.72); border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 48px 0 40px; font-size: 15px; }
.lp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; align-items: start; }
.lp-footer img { height: 40px; width: auto; margin-bottom: 18px; }
.lp-footer p { margin-bottom: 6px; }
.lp-footer a { color: #fff; }
.lp-footer a:hover { color: #fff; text-decoration: underline; }
.lp-footer-col h4 { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.lp-footer-col li { margin-bottom: 8px; }
.lp-socials { display: flex; gap: 10px; margin-top: 14px; }
.lp-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.lp-socials a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.lp-footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; color: rgba(255, 255, 255, 0.62); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .lp-hero-shot .lp-frame { width: 120%; }
}
@media (max-width: 991px) {
  :root { --section: 80px; }
  .lp-nav-toggle { display: inline-flex; }
  .lp-menu {
    display: none;
    position: absolute;
    top: 76px; left: var(--gutter); right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 24px 50px -20px rgba(27, 21, 53, 0.35);
  }
  .lp-menu.is-open { display: flex; }
  .lp-menu > a, .lp-dd > button { padding: 12px 12px; border-radius: 8px; width: 100%; justify-content: space-between; }
  .lp-menu > a:hover { background: var(--brand-tint); }
  .lp-menu .lp-btn { margin: 8px 12px 6px; justify-content: center; }
  .lp-dd-menu { position: static; transform: none; display: block; box-shadow: none; border: 0; padding: 0 0 6px 18px; min-width: 0; }
  .lp-dd > button i { display: none; }

  .lp-hero { padding: 40px 0 72px; }
  .lp-hero-grid, .lp-vision-grid, .lp-levers-grid, .lp-dive, .lp-demo-grid { grid-template-columns: 1fr; }
  .lp-hero-grid { gap: 40px; }
  .lp-hero-shot .lp-frame { width: 100%; }
  .lp-vision-grid { gap: 40px; }
  .lp-signal-field { height: 300px; }
  .lp-ledger { margin-top: 56px; }
  .lp-ledger-row, .lp-ledger-total { grid-template-columns: 1fr; gap: 12px; padding: 20px 22px; }
  .lp-ledger-head { padding: 22px 22px 18px; }
  .lp-ledger-lever { grid-template-columns: 110px 1fr; }
  .lp-ledger-out, .lp-ledger-total b { padding-left: 0; }
  .lp-ledger-out::before, .lp-ledger-out::after { display: none; }
  .lp-levers-grid { gap: 48px; }
  .lp-dive { gap: 32px; padding: 48px 0; }
  .lp-dive .lp-dive-shot, .lp-dive.flip .lp-dive-shot { order: -1; }
  .lp-diff-grid { grid-template-columns: 1fr 1fr; }
  .lp-demo { padding: 72px 0; }
  .lp-demo-grid { gap: 40px; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .lp-lede { font-size: 17px; }
  .lp-nav-inner { height: 68px; }
  .lp-menu { top: 68px; }
  .lp-brand img { height: 36px; }
  .lp-hero-actions .lp-btn { width: 100%; }
  .lp-signal-chip.sc-1 { left: auto; right: 10px; }
  .lp-signal-chip.sc-2 { left: 8px; }
  .lp-ledger-lever { grid-template-columns: 1fr; gap: 2px; }
  .lp-diff-grid { grid-template-columns: 1fr; }
  .lp-diff { padding: 26px 22px; }
  .lp-form { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-rise { animation: none; }
  .lp-signal-dot::after { animation: none; opacity: 0; }
  * { transition: none !important; }
}
