/* apps/web/assets/css/landing.css
 * 2026-07-17
 * Purpose:
 * - Styles for the Qinta public landing page (/landing.html).
 * - Matches the Geist font, green primary colour, and off-white background
 *   of the existing auth pages (auth.css).
 * - No Bootstrap dependency — standalone CSS for the landing page only.
 *   Bootstrap is an auth-page concern; the landing page uses plain CSS grid/flex.
 * - All interactive states (hover, focus-visible) are explicitly set for
 *   accessibility (WCAG 2.1 AA).
 *
 * Colour palette mirrors auth.css variables:
 *   --q-primary:   #66D384  (green — Qinta brand)
 *   --q-color-bg:  #fafaf6  (warm off-white)
 *   --lp-black:    #0f0f0f
 *   --lp-white:    #ffffff
 *   --lp-muted:    #7a7a74
 */

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Global ───────────────────────────────────────────── */
body {
  font-family: "Geist", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: #0f0f0f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Screen-reader only ───────────────────────────────── */
.lp-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;
}

/* ── Buttons ──────────────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.lp-btn:focus-visible {
  /* 2026-07-17: WCAG 2.1 AA focus ring */
  outline: 3px solid #27ca6e;
  outline-offset: 3px;
}

.lp-btn--black {
  background: #0f0f0f;
  color: #ffffff;
}
.lp-btn--black:hover { opacity: 0.82; }

.lp-btn--outline {
  background: rgba(255, 255, 255, 0.75);
  color: #0f0f0f;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.lp-btn--outline:hover { background: rgba(255, 255, 255, 0.95); }

/* ── Tags / Pills ─────────────────────────────────────── */
.lp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 8px;
}
.lp-tag--green  { background: #eafaf2; color: #1a7a40; }
.lp-tag--purple { background: #EDE8F5; color: #7B5EA7; }
.lp-tag--blue   { background: #E8EFF5; color: #3A6A9A; }
.lp-tag--amber  { background: #FFF4E8; color: #A06030; }

/* ── Badge ────────────────────────────────────────────── */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(39, 202, 110, 0.14);
  color: #1a7a40;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ── NAV ──────────────────────────────────────────────── */
.lp-nav {
  position: sticky;
  top: 0;
  /* 2026-07-17: raised to 10000 — always above the dot grid (9997), cursor trail (9999),
     and any other overlays so the nav is never obscured */
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* 2026-07-19: bottom border removed — nav floats clean with no divider line */
  border-bottom: none;
}

.lp-nav__logo { display: flex; align-items: center; }
.lp-nav__logo-img { height: 36px; width: auto; }

/* 2026-07-17: nav links and CTA grouped together on the right */
.lp-nav__right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lp-nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
}
.lp-nav__links a {
  color: #0f0f0f;
  font-size: 14px;
  font-weight: 250;
  text-decoration: none;
  transition: color 0.15s;
}
.lp-nav__links a:hover { color: #0f0f0f; opacity: 0.7; }

/* 2026-07-19: Sign in nav button — muted background, white text.
   lp-nav__cta--desktop keeps this scoped to desktop only; mobile sign-in link unchanged. */
.lp-nav__cta {
  padding: 10px 24px;
  font-size: 14px;
  background: #7a7a74;
  color: #ffffff;
  border: none;
}
.lp-nav__cta:hover { background: #636360; opacity: 1; }

/* ── HERO ─────────────────────────────────────────────── */
.lp-hero {
  /* 2026-07-17: full-width centered hero — no phone or background image */
  position: relative;
  display: flex;
  /* 2026-07-19 — Desktop/tablet: vertically centred. Mobile overrides to flex-start. */
  align-items: center;
  justify-content: center;
  /* 2026-07-18: reduced by 120px */
  min-height: calc(100vh - 120px);
  background: #ffffff;
  overflow: hidden;
}

.lp-hero__mountains { display: none; }
.lp-hero__right     { display: none; }

.lp-glass { /* passthrough */ }

/* 2026-07-17: centered hero content with generous max-width */
.lp-hero__left {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  /* 2026-07-19 — Desktop/tablet: no top offset, vertically centred by parent. */
  padding: 0 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lp-hero__headline {
  /* 2026-07-17: 56px * 1.3 = 73px — 30% larger per request */
  font-size: 65px;
  font-weight: 500;
  line-height: 1.08;
  color: #0f0f0f;
  letter-spacing: -2px;
  margin-bottom: 26px;
  max-width: 760px;
}

.lp-hero__sub {
  color: #5a5a56;
  /* 2026-07-17: 15px * 1.3 = 19.5px → 20px */
  font-size: 17px;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 40px;
}

.lp-hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.lp-hero__footnote {
  font-size: 13px;
  color: #aaa;
  margin-top: 6px;
}

.lp-hero__platform {
  /* 2026-07-17: platform availability line below footnote */
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: #aaa;
}

.lp-hero__platform-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ccc;
}

/* 2026-07-17: hero CTA button 30% larger than base — scoped to hero only
   so nav and footer buttons stay at base size */
.lp-hero__btns .lp-btn {
  padding: 23px 52px;
  /* 2026-07-17: 17px per request — desktop hero CTA */
  font-size: 17px;
  font-weight: 500;
}

/* ── PHONE MOCKUP ─────────────────────────────────────── */
.lp-phone {
  position: relative;
  /* 2026-07-17: increased to 300px for stronger hero presence */
  width: 300px;
  filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.20));
}

.lp-phone__shell {
  width: 300px;
  height: 600px;
  background: #111;
  border-radius: 48px;
  border: 7px solid #1a1a1a;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.30),
    0 8px 24px rgba(0, 0, 0, 0.18);
}

.lp-phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 20px;
  background: #111;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.lp-phone__screen {
  width: 100%;
  height: 100%;
  position: relative;
  background: #FAFAF6;
  overflow: hidden;
}

.lp-phone__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

.lp-phone__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C8E8CC;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s;
}

.lp-phone__dot:focus-visible {
  outline: 2px solid #27ca6e;
  outline-offset: 2px;
}

.lp-phone__dot--active { background: #27ca6e; }

/* ── SCREENS ──────────────────────────────────────────── */
.lp-screen {
  position: absolute;
  inset: 0;
  padding: 22px 12px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  overflow: hidden;
}

.lp-screen--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lp-screen__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.lp-screen__logo { font-size: 12px; font-weight: 700; color: #0f0f0f; }
.lp-screen__date { font-size: 8px; color: #aaa; }
.lp-screen__greeting { font-size: 13px; font-weight: 700; color: #0f0f0f; margin-bottom: 2px; }
.lp-screen__greeting-sub { font-size: 8px; color: #aaa; margin-bottom: 10px; }

.lp-screen__total-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid #EEECE6;
}
.lp-screen__label { font-size: 8px; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.lp-screen__amount { font-size: 22px; font-weight: 700; color: #0f0f0f; }
.lp-screen__delta { font-size: 8px; margin-top: 2px; }
.lp-screen__delta--up { color: #C07A5A; }
.lp-screen__delta--dn { color: #27ca6e; }

.lp-screen__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}
.lp-screen__split-item {
  background: #fff;
  border-radius: 8px;
  padding: 9px;
  border: 1px solid #EEECE6;
}
.lp-screen__split-amount { font-size: 14px; font-weight: 700; color: #0f0f0f; }

.lp-screen__insight-pill {
  background: #eafaf2;
  border-radius: 8px;
  padding: 9px;
  border-left: 2px solid #27ca6e;
}
.lp-screen__insight-label { font-size: 7px; color: #27ca6e; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; }
.lp-screen__insight-text { font-size: 8px; color: #444; line-height: 1.5; }
.lp-screen__insight-text strong { color: #0f0f0f; font-weight: 600; }

/* Screen 2 — transactions */
.lp-screen__title { font-size: 13px; font-weight: 700; color: #0f0f0f; margin-bottom: 2px; }
.lp-txn-list { list-style: none; }
.lp-txn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #F5F5F2;
}
.lp-txn__icon { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.lp-txn__info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.lp-txn__name { font-size: 9px; font-weight: 600; color: #0f0f0f; }
.lp-txn__cat  { font-size: 7px; color: #aaa; }
.lp-txn__amt  { font-size: 9px; font-weight: 600; color: #0f0f0f; }

.lp-screen__bar-row { margin-top: 10px; }
.lp-screen__bar-labels { display: flex; justify-content: space-between; font-size: 7px; color: #aaa; margin-bottom: 4px; }
.lp-screen__bar-track { height: 5px; background: #EEE; border-radius: 10px; overflow: hidden; }
.lp-screen__bar-fill  { height: 5px; background: #27ca6e; border-radius: 10px; }

/* Screen 3 — drift feed */
.lp-screen__feed-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 7px;
  border: 1px solid #EEECE6;
}
.lp-screen__feed-label { font-size: 7px; color: #27ca6e; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.lp-screen__feed-title { font-size: 9px; font-weight: 600; color: #0f0f0f; margin-bottom: 3px; }
.lp-screen__feed-body  { font-size: 7.5px; color: #666; line-height: 1.5; }

/* ── TRUST BAR ────────────────────────────────────────── */
.lp-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 16px 40px;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}
.lp-trust__item { font-size: 12px; color: #7a7a74; display: flex; align-items: center; gap: 5px; }
.lp-trust__check { color: #27ca6e; font-weight: 700; }

/* ── SECTIONS ─────────────────────────────────────────── */
.lp-container { max-width: 860px; margin: 0 auto; }
.lp-container--center { text-align: center; }

/* 2026-07-18: top/bottom padding increased 300% — 64px → 256px.
   Left/right stays at 40px matching content margins. */
.lp-section { padding: 256px 40px; }
.lp-section--white { background: #ffffff; }
.lp-section--tint  { background: #FAFAF8; border-top: 1px solid #000000; border-bottom: 1px solid #000000; }

.lp-section__label {
  display: block;
  font-size: 11px;
  color: #27ca6e;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  margin-bottom: 8px;
}
.lp-section__heading {
  /* 2026-07-18: all section headings (non-hero) set to 50px */
  font-size: 50px;
  /* 2026-07-18: weight reduced 700 → 500 — less heavy, more refined */
  font-weight: 500;
  color: #0f0f0f;
  letter-spacing: -1px;
  margin-bottom: 10px;
  line-height: 1.1;
}
.lp-section__body {
  color: #7a7a74;
  font-size: 15px;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

/* ── FEATURES ─────────────────────────────────────────── */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp-feature {
  background: #ffffff;
  /* 2026-07-18: removed border, same lifted shadow as spending pattern card */
  border: none;
  border-radius: 14px;
  padding: 22px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.06);
}
.lp-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  /* 2026-07-18: transparent background — emoji stands alone */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}
.lp-feature__title { font-size: 14px; font-weight: 600; color: #0f0f0f; margin-bottom: 6px; }
.lp-feature__body  { font-size: 13px; color: #7a7a74; line-height: 1.6; }

/* ── PERSONAS ─────────────────────────────────────────── */
.lp-personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp-persona {
  background: #ffffff;
  border: 1px solid #EEECE6;
  border-radius: 14px;
  padding: 22px;
}
.lp-persona__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}
.lp-persona__avatar--green  { background: #eafaf2; }
.lp-persona__avatar--purple { background: #EDE8F5; }
.lp-persona__avatar--blue   { background: #E8EFF5; }
.lp-persona__name { font-size: 14px; font-weight: 600; color: #0f0f0f; margin-bottom: 4px; }
.lp-persona__desc { font-size: 13px; color: #7a7a74; line-height: 1.55; }

/* ── QUOTES ───────────────────────────────────────────── */
.lp-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.lp-quote blockquote p {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 10px;
}
.lp-quote figcaption { font-size: 12px; color: #aaa; }

/* ── CTA / WAITLIST ───────────────────────────────────── */
.lp-section--cta {
  position: relative;
  overflow: hidden;
  padding: 72px 40px 0;
  border-top: 1px solid #000000;
}

.lp-waitlist-form { margin-top: 8px; }
.lp-waitlist-form__row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.lp-waitlist-form__input {
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid #DDD;
  font-size: 14px;
  font-family: inherit;
  width: 280px;
  color: #0f0f0f;
  background: #fff;
  transition: border-color 0.18s;
}
.lp-waitlist-form__input::placeholder { color: #aaa; }
.lp-waitlist-form__input:focus {
  outline: none;
  border-color: #27ca6e;
  /* 2026-07-17: clear focus ring for accessibility */
  box-shadow: 0 0 0 3px rgba(39, 202, 110, 0.2);
}

.lp-waitlist-form__btn {
  padding: 13px 28px;
  font-size: 14px;
}

.lp-waitlist-form__status {
  font-size: 13px;
  min-height: 20px;
  padding-bottom: 48px;
}
.lp-waitlist-form__status--success { color: #1a7a40; }
.lp-waitlist-form__status--error   { color: #9A3020; }

/* ── FOOTER ───────────────────────────────────────────── */
.lp-footer {
  background: #0f0f0f;
  border-top: none;
  padding: 52px 40px 32px;
  color: rgba(255, 255, 255, 0.55);
  /* 2026-07-18: 30px bottom gap above the sticky PWA ribbon */
  margin-bottom: 30px;
}

/* 2026-07-18: three-column top row — brand, official links, legal nav */
.lp-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 0.8fr;
  gap: 48px;
  max-width: 860px;
  margin: 0 auto 32px;
}

.lp-footer__logo {
  /* 2026-07-18: logo increased 200% — 22px → 66px */
  height: 66px;
  width: auto;
  margin-bottom: 14px;
  /* 2026-07-18: invert logo to white for black background */
  filter: invert(1) brightness(2);
  opacity: 0.85;
}

.lp-footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.lp-footer__trademark {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.lp-footer__official-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}

.lp-footer__official-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.lp-footer__official-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-footer__link-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  min-width: 100px;
}

.lp-footer__link {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.lp-footer__link:hover { color: #ffffff; }

.lp-footer__affiliation {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
  max-width: 420px;
}

.lp-footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-footer__nav li .lp-footer__link {
  font-size: 12px;
}

/* 2026-07-18: divider between top and disclaimer */
.lp-footer__divider {
  max-width: 860px;
  margin: 0 auto 24px;
  height: 0;
  background: none;
}

/* 2026-07-18: legal entity disclosure block — sits between the nav divider and the
   product disclaimer. Uses <address> semantics with the same muted visual treatment
   as the disclaimer so it reads as legal/informational, not marketing copy. */
.lp-footer__entity {
  max-width: 860px;
  margin: 0 auto 24px;
  font-size: 11px;
  font-style: normal; /* reset <address> default italic */
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.75;
}

.lp-footer__entity-title {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.30);
  margin-bottom: 6px;
}

.lp-footer__entity-body {
  margin: 0;
}

/* 2026-07-18: disclaimer — full width, muted, legal tone */
.lp-footer__disclaimer {
  max-width: 860px;
  margin: 0 auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.30);
  line-height: 1.7;
}

.lp-footer__disclaimer-title {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 6px;
}

/* 2026-07-18: mobile — stack footer columns */
@media (max-width: 860px) {
  .lp-footer { padding: 40px 24px 28px; }
  .lp-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .lp-footer__link-label { min-width: 80px; }
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 860px) {
  .lp-hero { min-height: auto; }
  /* 2026-07-18: padding-top reduced 30% (80px → 56px) to tighten gap below nav */
  /* 2026-07-18: +50px to hero min-height on mobile (was +100px, reduced by 50px) */
  .lp-hero { min-height: calc(80vh + 50px); }
  /* 2026-07-20 — Mobile/tablet: vertically centre hero content.
     Previous flex-start caused headline to sit too high on small screens. */
  .lp-hero { align-items: center; }
  .lp-hero__left { padding: 30px 24px 80px; min-height: calc(80vh + 50px); justify-content: center; }
  /* 2026-07-20 — Mobile/tablet: nav logo 20% smaller than desktop (36px → 29px) */
  .lp-nav__logo-img { height: 29px; }
  /* 2026-07-18: section headings scale down on tablet/mobile */
  .lp-section__heading { font-size: 36px; letter-spacing: -0.5px; }
  .lp-hero__headline { font-size: 44px; }
  /* 2026-07-17: on mobile hide the bottom-left grid — too crowded on narrow screens.
     Gap halved to 12px so the top-right corner grid is denser and still readable. */
  .lp-dot-grid--bottom-left { display: none; }
  .lp-dot-grid {
    width: 240px;
    height: 240px;
    background-size: 12px 12px;
    background-image: radial-gradient(circle, rgba(39, 202, 110, 0.45) 1.5px, transparent 1.5px);
  }
  .lp-hero__sub { font-size: 15px; }
  .lp-hero__btns .lp-btn { padding: 18px 36px; font-size: 17px; }
  /* 2026-07-17: smaller emoji on mobile — desktop is 30px */
  .lp-hero__emoji { font-size: 20px; }
  .lp-nav { padding: 14px 24px; }
  .lp-nav__links { display: none; }
  .lp-features,
  .lp-personas,
  .lp-quotes { grid-template-columns: 1fr; }
  /* 2026-07-18: section padding reduced for mobile — 256px too tall on small screens */
  .lp-section { padding: 80px 24px; }
  .lp-footer { padding: 20px 24px; }
  .lp-trust { padding: 14px 24px; }
  .lp-section--cta { padding: 56px 24px 0; }
  .lp-waitlist-form__input { width: 100%; max-width: 340px; }
}

@media (max-width: 480px) {
  /* 2026-07-18: no nav border on mobile */
  .lp-nav { border-bottom: none; }
  .lp-hero__headline { font-size: 36px; }
  .lp-hero__sub { font-size: 15px; }
  .lp-section__heading { font-size: 30px; }
  .lp-hero__btns { flex-direction: column; align-items: center; }
  .lp-hero__btns .lp-btn { width: 100%; max-width: 320px; }
  .lp-quotes { gap: 20px; }
}


/* ── BACKGROUND DOT GRID CORNERS ─────────────────────── */

/* 2026-07-17
   Purpose: static faint dot grid pattern in the upper-right and lower-left
   corners of the page — matching the design reference screenshot.
   What this does:
   - Uses CSS radial-gradient to draw small circles at 48px intervals,
     matching the cursor trail GRID_SIZE exactly so cursor dots align.
   - Fixed positioning so dots stay in place when scrolling.
   - -webkit-mask-image fades the grid from visible at the corner to invisible
     toward the page center — dots don't overwhelm the content.
   - pointer-events: none so the overlay never blocks clicks or hovers.
   - z-index: 0 keeps dots behind all page content (z-index 2+).
   - Brand green #27ca6e at 15% opacity for the faint static dots.
   Security: no user input involved — purely decorative CSS. */

.lp-dot-grid {
  /* 2026-07-18: dot grid hidden */
  display: none;
  position: fixed;
  width: 480px;
  height: 480px;
  pointer-events: none;
  /* 2026-07-17: z-index 9997 — above all page backgrounds and content,
     below cursor dots (9998) and cursor trail (9999).
     This ensures the grid is always visible regardless of any white bg layers. */
  z-index: 9997;
  /* 2026-07-17: gap halved 48px -> 24px for denser matrix feel.
     Opacity raised to 0.45 so dots are clearly visible.
     Dot size kept at 2px — crisp, not heavy. */
  background-image: radial-gradient(circle, rgba(39, 202, 110, 0.45) 2px, transparent 2px);
  background-size: 24px 24px;
}

.lp-dot-grid--top-right {
  top: 0;
  right: 0;
  /* 2026-07-17: background-position offsets the grid by 40px from the right edge
     so the first column of dots sits at the page margin, not flush with screen edge.
     Fade mask covers ~65% of the corner area then dissolves into the page. */
  background-position: -16px 24px;
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 100% 0%, black 0%, transparent 68%);
  mask-image: radial-gradient(ellipse 95% 90% at 100% 0%, black 0%, transparent 68%);
}

.lp-dot-grid--bottom-left {
  bottom: 0;
  left: 0;
  /* 2026-07-17: background-position mirrors top-right — first row of dots sits
     at the page margin from the left and bottom edges. */
  background-position: 24px -16px;
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 0% 100%, black 0%, transparent 68%);
  mask-image: radial-gradient(ellipse 95% 90% at 0% 100%, black 0%, transparent 68%);
}


/* 2026-07-17: emoji accent on headline — slightly larger than surrounding text */
.lp-hero__emoji {
  /* 2026-07-17: inline (not inline-block) — keeps the period before it rendering
     as a normal circular dot in all browsers. display:inline-block was causing
     the period to render as a square replacement character in some browsers. */
  display: inline;
  font-size: 30px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── WHAT IS QINTA SECTION ────────────────────────────── */

/* 2026-07-17
   Purpose: two-column explainer section — text left, chart card right.
   UX balance: generous whitespace, aligned baselines, card floats centre-right.
   Collapses to single column on mobile with chart below text. */

.lp-what {
  background: #fafaf8;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.lp-what__inner {
  display: grid;
  /* 2026-07-17: 55/45 split — text gets more room, chart card is compact */
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.lp-what__text {
  display: flex;
  flex-direction: column;
}

.lp-what__body {
  font-size: 15px;
  color: #5a5a56;
  line-height: 1.75;
  max-width: 440px;
}

.lp-what__body--second {
  margin-top: 16px;
}

/* 2026-07-17: chart card floats centred in its column */
.lp-what__chart-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── SPENDING PATTERN CARD ────────────────────────────── */

/* 2026-07-17: matches the card styling in the authenticated app —
   white bg, #e5e7eb border, 20px radius. Typography matches
   trends.spending.controller.js chart theme exactly. */
.lp-spend-card {
  background: #ffffff;
  /* 2026-07-18: border removed — replaced with lifted shadow look */
  border: none;
  border-radius: 20px;
  padding: 22px 22px 18px;
  width: 300px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.06);
}

.lp-spend-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.lp-spend-card__label {
  font-size: 11px;
  color: rgba(26, 41, 78, 0.46);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.lp-spend-card__badge {
  font-size: 11px;
  background: #f0effe;
  color: #6D64D8;
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.lp-spend-card__amount {
  font-size: 26px;
  font-weight: 700;
  color: #0f0f0f;
  letter-spacing: -1px;
  margin-bottom: 2px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.lp-spend-card__delta {
  font-size: 11px;
  color: rgba(26, 41, 78, 0.46);
  margin-bottom: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.lp-spend-card__delta-value {
  color: #7C6FE8;
  font-weight: 600;
}

/* 2026-07-17: container controls chart height — Chart.js fills it via responsive:true.
   This avoids the canvas pixel buffer vs CSS size conflict that made the chart invisible. */
.lp-spend-chart-wrap {
  position: relative;
  height: 130px;
  margin-bottom: 2px;
}

#lp-spend-chart {
  display: block;
}

.lp-spend-card__months {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 2px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.lp-spend-card__months span {
  font-size: 10px;
  color: rgba(26, 41, 78, 0.36);
}

.lp-spend-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.lp-spend-card__pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(26, 41, 78, 0.5);
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 100px;
  padding: 4px 10px;
}

.lp-spend-card__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  /* 2026-07-17: uses brand green --q-primary: #27ca6e */
  background: #27ca6e;
  flex-shrink: 0;
}

.lp-spend-card__insight {
  font-size: 11px;
  color: rgba(26, 41, 78, 0.5);
}

.lp-spend-card__insight strong {
  color: #7C6FE8;
}

/* 2026-07-17: mobile — stack to single column, chart below text */
@media (max-width: 860px) {
  .lp-what__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lp-what__body { max-width: 100%; }
  .lp-spend-card { width: 100%; max-width: 340px; }
}

/* ── LIFESTYLE DRIFT SECTION ──────────────────────────── */

/* 2026-07-17
   Purpose: explain lifestyle drift — text left, drift feed cards right.
   Background tint distinguishes it from the surrounding white sections. */

.lp-drift-explain {
  background: #ffffff;
  border-top: 1px solid #000000;
}

.lp-drift-explain__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.lp-drift-explain__text {
  display: flex;
  flex-direction: column;
}

.lp-drift-explain__body {
  font-size: 15px;
  color: #5a5a56;
  line-height: 1.78;
  max-width: 440px;
  margin-top: 14px;
}

/* 2026-07-17: final sentence in brand green — the Qinta value prop */
.lp-drift-explain__body--accent {
  color: #1a8a4a;
  font-weight: 500;
}

/* ── DRIFT FEED CARDS ─────────────────────────────────── */

/* 2026-07-17: mirrors the exact milestonepings.css styling used in the app.
   Values pulled directly from .mp-ping-item, .mq-goal-*, .mp-ping-* rules. */

.lp-drift-explain__cards {
  display: flex;
  flex-direction: column;
}

.lp-drift-feed-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(26, 41, 78, 0.40);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.lp-drift-feed-label--gap {
  margin-top: 16px;
}

/* 2026-07-17: base card — mirrors .mp-ping-item */
.lp-drift-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.lp-drift-card:hover { transform: translateY(-1px); }

/* 2026-07-17: unread — mirrors .mp-ping-item.is-unread */
.lp-drift-card--unread {
  border: 1.5px solid rgba(16, 185, 129, 0.34);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 72%), #ffffff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.14);
  padding: 18px 20px 18px 28px;
}

/* 2026-07-17: unread dot — mirrors .mp-ping-item.is-unread::before */
.lp-drift-card--unread::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(16, 185, 129);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

/* 2026-07-17: read — mirrors .mp-ping-item.is-read */
.lp-drift-card--read {
  border: 1px solid rgba(26, 41, 78, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 72%), #ffffff;
  box-shadow: none;
  opacity: 0.72;
  padding: 16px 20px 16px 26px;
}

.lp-drift-card--read::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(26, 41, 78, 0.18);
}

/* ── CARD INNER LAYOUT ────────────────────────────────── */

/* 2026-07-17: mirrors .mq-goal-left */
.lp-drift-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* 2026-07-17: mirrors .mq-goal-emoji */
.lp-drift-card__emoji {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.10);
  font-size: 16px;
}

.lp-drift-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 2026-07-17: mirrors .mp-ping-title */
.lp-drift-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  color: #0f0f0f;
}

/* 2026-07-17: mirrors .mp-ping-message — unread weight 380 */
.lp-drift-card--unread .lp-drift-card__message {
  font-weight: 380;
}

/* 2026-07-17: mirrors .mp-ping-message — read weight 300 */
.lp-drift-card--read .lp-drift-card__message {
  font-weight: 300;
}

.lp-drift-card__message {
  font-size: 14px;
  line-height: 1.58;
  color: #1a1a1a;
  opacity: 0.92;
}

/* 2026-07-17: mirrors .drift-value — dollar/percentage highlights at font-weight 450 */
.lp-drift-card__value {
  font-weight: 450;
}

/* 2026-07-17: mirrors .mp-ping-date */
.lp-drift-card__date {
  margin-top: 9px;
  font-size: 11px;
  color: rgba(26, 41, 78, 0.46);
}

.lp-drift-card--unread .lp-drift-card__date { opacity: 0.76; }
.lp-drift-card--read   .lp-drift-card__date { opacity: 0.58; }

/* 2026-07-17: mobile — stack vertically, cards go below text */
@media (max-width: 860px) {
  .lp-drift-explain__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lp-drift-explain__body { max-width: 100%; }
}

/* ── HOW DOES QINTA HELP ──────────────────────────────── */

/* 2026-07-18
   Purpose: full-width background image with centered glass card.
   Background: signup-background.png watercolour mountains at 100% width.
   Glass card: frosted white, matches hero glass treatment. */

.lp-how-help-bg {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/assets/img/signup-background.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  /* 2026-07-18: top/bottom padding increased 300% — 80px → 320px */
  padding: 320px 40px;
}

/* 2026-07-18: frosted glass card centred on background */
.lp-how-help-glass {
  position: relative;
  z-index: 2;
  /* 2026-07-18: white at 80% opacity — clearly white glass, background still visible */
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  /* 2026-07-18: thin white top border + subtle right/bottom = glass edge catch-light */
  border-top: 1px solid rgba(255, 255, 255, 0.90);
  border-left: 1px solid rgba(255, 255, 255, 0.70);
  border-right: 1px solid rgba(255, 255, 255, 0.30);
  border-bottom: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  padding: 52px 56px;
  /* 2026-07-18: matches .lp-container max-width so it aligns with other sections */
  max-width: 860px;
  width: 100%;
  /* 2026-07-18: lifted look — large soft shadow below + inner highlight on top edge */
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);
  transform: translateY(-6px);
}

.lp-how-help__list {
  list-style: none;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-how-help__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #0f0f0f;
  font-weight: 450;
  line-height: 1.5;
}

.lp-how-help__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27ca6e;
  flex-shrink: 0;
}

.lp-how-help__note {
  font-size: 14px;
  color: #5a5a56;
  line-height: 1.7;
  border-left: 3px solid #27ca6e;
  padding-left: 14px;
  margin-top: 4px;
}

/* ── LIFESTYLE DRIFT SECTION ──────────────────────────── */

/* 2026-07-17
   Purpose: explain lifestyle drift — text left, drift feed cards right.
   Background tint distinguishes it from the surrounding white sections. */

.lp-drift-explain {
  background: #ffffff;
  border-top: 1px solid #000000;
}

.lp-drift-explain__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.lp-drift-explain__text {
  display: flex;
  flex-direction: column;
}

.lp-drift-explain__body {
  font-size: 15px;
  color: #5a5a56;
  line-height: 1.78;
  max-width: 440px;
  margin-top: 14px;
}

/* 2026-07-17: final sentence in brand green — the Qinta value prop */
.lp-drift-explain__body--accent {
  color: #1a8a4a;
  font-weight: 500;
}

/* ── DRIFT FEED CARDS ─────────────────────────────────── */

/* 2026-07-17: mirrors the exact milestonepings.css styling used in the app.
   Values pulled directly from .mp-ping-item, .mq-goal-*, .mp-ping-* rules. */

.lp-drift-explain__cards {
  display: flex;
  flex-direction: column;
}

.lp-drift-feed-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(26, 41, 78, 0.40);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.lp-drift-feed-label--gap {
  margin-top: 16px;
}

/* 2026-07-17: base card — mirrors .mp-ping-item */
.lp-drift-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.18s ease;
}

.lp-drift-card:hover { transform: translateY(-1px); }

/* 2026-07-17: unread — mirrors .mp-ping-item.is-unread */
.lp-drift-card--unread {
  border: 1.5px solid rgba(16, 185, 129, 0.34);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 72%), #ffffff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.14);
  padding: 18px 20px 18px 28px;
}

/* 2026-07-17: unread dot — mirrors .mp-ping-item.is-unread::before */
.lp-drift-card--unread::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(16, 185, 129);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

/* 2026-07-17: read — mirrors .mp-ping-item.is-read */
.lp-drift-card--read {
  border: 1px solid rgba(26, 41, 78, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 72%), #ffffff;
  box-shadow: none;
  opacity: 0.72;
  padding: 16px 20px 16px 26px;
}

.lp-drift-card--read::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(26, 41, 78, 0.18);
}

/* ── CARD INNER LAYOUT ────────────────────────────────── */

/* 2026-07-17: mirrors .mq-goal-left */
.lp-drift-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* 2026-07-17: mirrors .mq-goal-emoji */
.lp-drift-card__emoji {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.10);
  font-size: 16px;
}

.lp-drift-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 2026-07-17: mirrors .mp-ping-title */
.lp-drift-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  color: #0f0f0f;
}

/* 2026-07-17: mirrors .mp-ping-message — unread weight 380 */
.lp-drift-card--unread .lp-drift-card__message {
  font-weight: 380;
}

/* 2026-07-17: mirrors .mp-ping-message — read weight 300 */
.lp-drift-card--read .lp-drift-card__message {
  font-weight: 300;
}

.lp-drift-card__message {
  font-size: 14px;
  line-height: 1.58;
  color: #1a1a1a;
  opacity: 0.92;
}

/* 2026-07-17: mirrors .drift-value — dollar/percentage highlights at font-weight 450 */
.lp-drift-card__value {
  font-weight: 450;
}

/* 2026-07-17: mirrors .mp-ping-date */
.lp-drift-card__date {
  margin-top: 9px;
  font-size: 11px;
  color: rgba(26, 41, 78, 0.46);
}

.lp-drift-card--unread .lp-drift-card__date { opacity: 0.76; }
.lp-drift-card--read   .lp-drift-card__date { opacity: 0.58; }

/* 2026-07-17: mobile — stack vertically, cards go below text */
@media (max-width: 860px) {
  .lp-drift-explain__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lp-drift-explain__body { max-width: 100%; }
}

/* ── HOW DOES QINTA HELP ──────────────────────────────── */

/* 2026-07-17
   Purpose: "How does Qinta help?" section — text left, bell card right.
   Layout: 55/45 two-column mirroring the What is Qinta section. */

.lp-how-help {
  background: #fafaf8;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.lp-how-help__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

.lp-how-help__text {
  display: flex;
  flex-direction: column;
}

/* 2026-07-17: bullet list of benefits */
.lp-how-help__list {
  list-style: none;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-how-help__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #0f0f0f;
  font-weight: 450;
  line-height: 1.5;
}

.lp-how-help__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27ca6e;
  flex-shrink: 0;
}

.lp-how-help__note {
  font-size: 14px;
  color: #7a7a74;
  line-height: 1.7;
  max-width: 420px;
  border-left: 3px solid #27ca6e;
  padding-left: 14px;
  margin-top: 4px;
}

/* ── BELL CARD ────────────────────────────────────────── */

/* 2026-07-17: curved box containing the bell + "Pattern noticed" signal.
   Rounded corners, white bg, subtle border — matches app card language. */

.lp-how-help__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-bell-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 40px 36px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

/* 2026-07-17: bell icon wrapper with purple soft bg circle */
.lp-bell-card__icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-bell-card__botanical {
  /* 2026-07-18: calm botanical container — no circle bg, SVG sits freely */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
}

/* 2026-07-17: "Pattern noticed" pill */
.lp-bell-card__signal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(39, 202, 110, 0.10);
  border: 1px solid rgba(39, 202, 110, 0.28);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 10px;
}

.lp-bell-card__signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27ca6e;
  flex-shrink: 0;
}

.lp-bell-card__signal-text {
  font-size: 13px;
  font-weight: 600;
  color: #1a8a4a;
  letter-spacing: -0.01em;
}

.lp-bell-card__signal-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-bell-card__sub {
  font-size: 12px;
  color: #7a7a74;
  line-height: 1.65;
}

/* 2026-07-17: mobile — stack vertically */
@media (max-width: 860px) {
  .lp-how-help-bg { padding: 48px 24px; min-height: auto; }
  .lp-how-help-glass { padding: 36px 28px; }
  .lp-bell-card { width: 100%; max-width: 300px; }
  .lp-how-help__note { max-width: 100%; }
}

/* 2026-07-18: CTA button inside the Built for awareness glass box */
.lp-how-help__cta {
  display: inline-flex;
  margin-top: 28px;
}

/* ── FAQ SECTION ──────────────────────────────────────── */

/* 2026-07-18
   Purpose: FAQ section above footer — clean, white bg, accordion-style.
   SEO: <details>/<summary> with Schema.org microdata + JSON-LD FAQPage schema
   makes this section eligible for Google FAQ rich results in search. */

.lp-faq {
  /* 2026-07-18: black background — merges visually with footer below */
  background: #0f0f0f;
  /* 2026-07-18: no border — seamless merge with black footer */
  border-top: none;
}

/* 2026-07-18: FAQ heading overrides global 50px to 30px */
.lp-faq .lp-section__heading {
  font-size: 30px;
  font-weight: 500;
  color: #ffffff;
}

/* 2026-07-18: FAQ label text on dark bg */
.lp-faq .lp-section__label {
  color: rgba(255, 255, 255, 0.40);
}

.lp-faq__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.lp-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding: 0;
}

.lp-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  list-style: none;
  gap: 24px;
  outline: none;
}

.lp-faq__question::-webkit-details-marker { display: none; }

/* 2026-07-18: + / − indicator on the right */
.lp-faq__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: #27ca6e;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lp-faq__item[open] .lp-faq__question::after {
  content: '−';
}

.lp-faq__question:focus-visible {
  outline: 2px solid #27ca6e;
  outline-offset: 2px;
  border-radius: 4px;
}

.lp-faq__answer {
  padding: 0 0 22px;
}

.lp-faq__answer p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.75;
  max-width: 680px;
}

.lp-faq__link {
  color: #27ca6e;
  text-decoration: none;
  font-weight: 500;
}

.lp-faq__link:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .lp-faq__question { font-size: 15px; }
}

/* 2026-07-18: cream section above build awareness — warm off-white from design ref */
.lp-section--cream {
  background: #F9F8F5;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

/* ── START WITH CLARITY SECTION ───────────────────────── */

/* 2026-07-18
   Purpose: pricing CTA section with animated wave background.
   Waves: three layered SVG paths with staggered animation — pure CSS,
   no JS, no external assets, works for crawlers and screen readers.
   Background: warm off-white #F9F8F5 with green wave overlays. */

.lp-clarity {
  position: relative;
  background: #F9F8F5;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 256px 40px;
  overflow: hidden;
  text-align: center;
}

/* ── WAVES ────────────────────────────────────────────── */

.lp-clarity__waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.lp-wave {
  position: absolute;
  width: 200%;
  height: 120px;
  left: -50%;
}

/* 2026-07-18: three waves at bottom, middle, and top with staggered animation */
.lp-wave--1 {
  bottom: 0;
  animation: lp-wave-drift 8s ease-in-out infinite;
}

.lp-wave--2 {
  bottom: 20px;
  animation: lp-wave-drift 12s ease-in-out infinite reverse;
}

.lp-wave--3 {
  bottom: 40px;
  animation: lp-wave-drift 10s ease-in-out 2s infinite;
}

@keyframes lp-wave-drift {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(8%); }
}

/* ── CONTENT ──────────────────────────────────────────── */

.lp-clarity__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-clarity__heading {
  /* 2026-07-18: 50px matching all other section headings, weight 500 */
  font-size: 50px;
  font-weight: 500;
  color: #0f0f0f;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.lp-clarity__body {
  font-size: 17px;
  color: #5a5a56;
  line-height: 1.75;
  margin-bottom: 32px;
}

.lp-clarity__body p { margin-bottom: 8px; }
.lp-clarity__body strong { color: #0f0f0f; font-weight: 600; }

.lp-clarity__eligibility {
  font-size: 14px;
  color: #9a9a94;
  margin-top: 2px;
}

.lp-clarity__cta {
  /* 2026-07-18: matches hero CTA sizing */
  margin-bottom: 18px;
}

.lp-clarity__footnote {
  font-size: 12px;
  color: #aaa;
}

/* 2026-07-18: mobile */
@media (max-width: 860px) {
  .lp-clarity { padding: 80px 24px; }
  .lp-clarity__heading { font-size: 36px; }
  .lp-clarity__body { font-size: 15px; }
}

/* 2026-07-18: body paragraphs inside the Built for awareness glass box */
.lp-how-help__body {
  font-size: 15px;
  color: #5a5a56;
  line-height: 1.75;
  margin-bottom: 12px;
}

.lp-how-help__body--disclaimer {
  font-size: 13px;
  color: #9a9a94;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── BUILT FOR AWARENESS CARD ────────────────────────── */

/* 2026-07-18: single crawlable card — white box, lifted shadow, aligns with
   other section containers at max-width 860px. No device frame. */
.lp-awareness-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  background: #ffffff;
  border-radius: 20px;
  padding: 52px 56px;
  /* 2026-07-18: lifted shadow matching spend card and feature card treatment */
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.08);
}

@media (max-width: 860px) {
  .lp-awareness-card { padding: 36px 28px; }
}

/* 2026-07-18: body paragraphs inside the Built for awareness glass box */
.lp-how-help__body {
  font-size: 15px;
  color: #5a5a56;
  line-height: 1.75;
  margin-bottom: 12px;
}

.lp-how-help__body--disclaimer {
  font-size: 13px;
  color: #9a9a94;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── DEVICE FRAMES — BUILT FOR AWARENESS ─────────────── */

/* 2026-07-18
   Purpose: display the Built for awareness content inside an iPad frame on
   desktop/tablet and an iPhone frame on mobile. Pure CSS — no images.
   Device is centered within the background image section.
   Switching: iPad visible by default (≥481px), Phone visible on mobile (≤480px). */

.lp-how-help-bg {
  /* 2026-07-18: override to center the device frame */
  align-items: center;
  justify-content: center;
}

/* ── SHARED DEVICE BASE ───────────────────────────────── */


/* ── HOW CAN QINTA HELP — HOUSEHOLD SECTION ──────────── */

/* 2026-07-18
   Purpose: household value-prop section immediately below hero.
   Layout: two-column — text left, stacked category cards right.
   SEO: plain HTML text, single H2, semantic section element. */

.lp-household {
  /* 2026-07-19 — Purpose: black background on household section per design direction. */
  background: #0f0f0f;
  border-top: none;
  border-bottom: none;
}
/* 2026-07-19 — Invert text colours for dark background. */
.lp-household .lp-section__label   { color: #27ca6e; }
.lp-household .lp-section__heading { color: #ffffff; }
.lp-household .lp-household__body  { color: rgba(255,255,255,0.60); }
.lp-household .lp-household__body--accent { color: rgba(255,255,255,0.90); }

.lp-household__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.lp-household__text {
  display: flex;
  flex-direction: column;
}

.lp-household__body {
  font-size: 15px;
  color: #5a5a56;
  line-height: 1.78;
  max-width: 440px;
  margin-top: 14px;
}

/* 2026-07-18: black for emphasis */
.lp-household__body--accent {
  color: #0f0f0f;
  font-weight: 500;
}

/* ── STACKED CATEGORY CARDS ───────────────────────────── */

/* 2026-07-18: illustrative card stack — decorative, aria-hidden.
   Mirrors the exact styling from the category budget card mockup. */

.lp-household__cards {
  position: relative;
  height: 340px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.lp-cat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.06);
  padding: 26px 20px;
  width: 280px;
  position: absolute;
}

/* 2026-07-18: back card — Personal Care, offset down + right */
.lp-cat-card--back {
  top: 140px;
  left: 50px;
  z-index: 0;
  opacity: 0.75;
  /* 2026-07-18: -10° left rotation */
  transform: rotate(-10deg);
}

/* 2026-07-18: front card — Food & Dining, sits on top */
.lp-cat-card--front {
  top: 0;
  left: 0;
  z-index: 1;
  /* 2026-07-18: -10° left rotation */
  transform: rotate(-10deg);
}

.lp-cat-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.lp-cat-card__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-cat-card__icon i {
  font-size: 24px;
}

/* 2026-07-18: icon colors from inAppStyle.css --q-primary and --q-secondary */
.lp-cat-card__icon--green i { color: #27ca6e; }
.lp-cat-card__icon--purple i { color: #6D64D8; }

.lp-cat-card__name {
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
}

.lp-cat-card__amounts {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.lp-cat-card__spent {
  font-size: 20px;
  font-weight: 700;
  color: #0f0f0f;
  letter-spacing: -0.5px;
}

.lp-cat-card__budget {
  font-size: 12px;
  color: rgba(26, 41, 78, 0.46);
}

/* 2026-07-18: progress track — matches widgets.css .q-progress-bc */
.lp-cat-card__track {
  width: 100%;
  height: 7px;
  background: #eef0f3;
  border-radius: 16px;
  overflow: hidden;
}

.lp-cat-card__fill {
  height: 100%;
  border-radius: 16px;
}

/* 2026-07-18: green gradient — brand primary #27ca6e */
.lp-cat-card__fill--green {
  background: linear-gradient(90deg, rgba(39, 202, 110, 0.50) 0%, #27ca6e 100%);
}

/* 2026-07-18: purple gradient — exact from widgets.css .progress-bar */
.lp-cat-card__fill--purple {
  background: linear-gradient(300deg, rgba(124, 107, 245, 1) 0%, #6D64D8 30%, rgba(106, 90, 224, 0.40) 100%);
}

/* 2026-07-18: mobile — stack vertically */
@media (max-width: 860px) {
  .lp-household__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lp-household__body { max-width: 100%; }
  .lp-household__cards { height: 320px; }
  .lp-cat-card { width: 260px; }
}

/* 2026-07-18: 20px gap between how-it-works headline and the 3 feature cards */
.lp-section__heading--how {
  margin-bottom: 50px;
}

/* ── HOW QINTA MAKES IT EFFORTLESS ───────────────────── */

/* 2026-07-18
   Purpose: 3-step explainer section with purple wave background.
   Background: #fafaf8 — matches Financial Awareness (What is Qinta?) section.
   Waves: same CSS animation as lp-clarity but purple --q-secondary #6D64D8. */

.lp-effortless {
  position: relative;
  background: #fafaf8;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  padding: 256px 40px;
  overflow: hidden;
  text-align: center;
}

/* 2026-07-18: wave container — same positioning as .lp-clarity__waves */
.lp-effortless__waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* 2026-07-18: reuse .lp-wave base class animation — waves already defined in clarity section.
   Purple fill: rgba(109,100,216,X) = --q-secondary #6D64D8 at 0.20 / 0.12 / 0.06 */

.lp-effortless__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-effortless__content .lp-section__heading {
  margin-bottom: 48px;
}

/* ── STEPS ────────────────────────────────────────────── */

.lp-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 620px;
  text-align: left;
}

.lp-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* 2026-07-18: step number — purple circle matching --q-secondary */
.lp-step__number {
  /* 2026-07-18: plain number — no circle, no background, black, 40px */
  font-size: 40px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
  margin-top: -4px;
}

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

.lp-step__title {
  font-size: 16px;
  font-weight: 600;
  color: #0f0f0f;
  letter-spacing: -0.2px;
}

.lp-step__desc {
  font-size: 15px;
  color: #5a5a56;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .lp-effortless { padding: 80px 24px; }
}

/* 2026-07-18: purple label for effortless section */
.lp-effortless__content .lp-section__label {
  color: #6D64D8;
}

/* ── WHO IS QINTA FOR ─────────────────────────────────── */

/* 2026-07-18: two-column — chart left, text right, white background */
.lp-who {
  background: #ffffff;
  border-top: 1px solid #000000;
}

.lp-who__inner {
  display: grid;
  /* 2026-07-18: text column 50%, chart column 50% — equal split within the 860px container */
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

/* ── BALANCE CHART CARD ───────────────────────────────── */

.lp-who__chart {
  display: flex;
  justify-content: center;
  align-items: center;
  /* 2026-07-18: clip rotated card so it cannot bleed into the text column */
  overflow: hidden;
  padding: 40px 20px;
}

.lp-who__chart-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.10), 0 1px 4px rgba(15,23,42,0.04);
  padding: 22px 24px 18px;
  /* 2026-07-18: reduced to 75% so rotation stays contained in its column */
  width: 75%;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  /* 2026-07-18: 18° clockwise rotation for visual interest */
  transform: rotate(18deg);
  transform-origin: center center;
}

.lp-who__chart-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.lp-who__chart-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(26,41,78,0.46);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.lp-who__chart-period {
  font-size: 11px;
  color: rgba(26,41,78,0.36);
}

.lp-who__chart-amount {
  font-size: 28px;
  font-weight: 700;
  color: #0f0f0f;
  letter-spacing: -1px;
  margin-bottom: 3px;
}

.lp-who__chart-delta {
  font-size: 12px;
  color: rgba(26,41,78,0.46);
  margin-bottom: 18px;
}

.lp-who__chart-delta strong { color: #27ca6e; font-weight: 600; }

.lp-who__chart-wrap {
  position: relative;
  height: 160px;
}

.lp-who__chart-months {
  display: flex;
  justify-content: space-between;
  padding: 6px 2px 0;
}

.lp-who__chart-months span {
  font-size: 11px;
  color: rgba(26,41,78,0.36);
}

/* ── TEXT ─────────────────────────────────────────────── */

.lp-who__text { display: flex; flex-direction: column; }

.lp-who__body {
  font-size: 15px;
  color: #5a5a56;
  line-height: 1.78;
  margin-top: 14px;
}

.lp-who__body--close {
  color: #0f0f0f;
  font-weight: 500;
}

@media (max-width: 860px) {
  .lp-who__inner { grid-template-columns: 1fr; gap: 36px; }
  /* 2026-07-18: balance chart upright on mobile — no rotation */
  .lp-who__chart-card { transform: none; }
  /* 2026-07-18: full width on mobile, respecting section margins */
  .lp-who__chart { width: 100%; }
  .lp-who__chart-card { width: 100%; }
}

/* ── HERO DEVICE RIBBON ───────────────────────────────── */

/* 2026-07-18: turns "no app store" into a positive feature.
   Shows instantly accessible on all devices with no download. */

.lp-hero__ribbon {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.lp-ribbon__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf8f0;
  border: 1px solid rgba(39,202,110,0.28);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #1a8a4a;
  white-space: nowrap;
}

.lp-ribbon__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27ca6e;
  flex-shrink: 0;
}

.lp-ribbon__devices {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-ribbon__device {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(26,41,78,0.55);
  font-weight: 500;
}

.lp-ribbon__device svg {
  color: rgba(26,41,78,0.40);
  flex-shrink: 0;
}

.lp-ribbon__sep {
  font-size: 12px;
  color: rgba(26,41,78,0.25);
}

.lp-ribbon__browser {
  font-size: 11px;
  color: rgba(26,41,78,0.35);
  letter-spacing: 0.2px;
}

@media (max-width: 480px) {
  .lp-ribbon__browser { display: none; }
}

/* ── PWA STICKY RIBBON ────────────────────────────────── */

/* 2026-07-18
   Purpose: sticky bottom ribbon — informs users Qinta is browser-based PWA.
   "Add to Home Screen" only visible on mobile and tablet (≤1024px). */

.lp-pwa-ribbon {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(0);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.lp-pwa-ribbon.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.lp-pwa-ribbon__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  /* 2026-07-18: no max-width — full width with 40px padding matches nav left/right edges exactly */
  padding: 12px 40px;
  position: relative;
}

.lp-pwa-ribbon__app-icon {
  /* 2026-07-20: transparent bg — qinta-green-logo.png carries its own green background.
     Previous background: #27ca6e caused a two-tone patchy appearance because the logo
     PNG only filled 22px inside the 36px wrapper, leaving the wrapper colour visible
     around the edges. overflow:hidden clips the image to the border-radius cleanly. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 22%;
  flex-shrink: 0;
  overflow: hidden;
}

.lp-pwa-ribbon__app-logo {
  /* 2026-07-20: fill wrapper fully so no background bleeds around edges.
     No filter — qinta-green-logo.png has green bg + white wordmark baked in.
     Previous filter: invert(1) brightness(2) caused pink tint on the green logo. */
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
}

/* 2026-07-18: 15px weight 300 */
.lp-pwa-ribbon__text {
  font-size: 15px;
  font-weight: 300;
  color: #0f0f0f;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* 2026-07-18: install button — muted white bg, thin black border */
.lp-pwa-ribbon__install {
  display: inline-flex;
  align-items: center;
  background: #f5f5f3;
  color: #0f0f0f;
  border: 1px solid rgba(15, 15, 15, 0.35);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  transition: background 0.15s, border-color 0.15s;
}

.lp-pwa-ribbon__install:hover { background: #ececea; border-color: rgba(15,15,15,0.55); }
.lp-pwa-ribbon__install--hidden { display: none; }

@media (max-width: 1024px) {
  .lp-pwa-ribbon__install { display: inline-flex; }
}

/* 2026-07-18: close button hidden */
.lp-pwa-ribbon__close {
  display: none;
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px;
}

.lp-pwa-ribbon__close:focus-visible {
  outline: 2px solid #27ca6e;
  outline-offset: 2px;
  border-radius: 4px;
}

.lp-pwa-ribbon__close-icon {
  width: 20px;
  height: 20px;
  display: block;
  opacity: 0.55;
}

.lp-pwa-ribbon__close:hover .lp-pwa-ribbon__close-icon { opacity: 1; }

/* 2026-07-20: mobile ribbon — curved top corners, tight vertical padding,
   safe-area bottom hug. Desktop and tablet completely untouched. */
@media (max-width: 480px) {
  .lp-pwa-ribbon {
    /* 2026-07-20: curved top-left and top-right corners on mobile only */
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  }
  .lp-pwa-ribbon__inner {
    gap: 8px;
    /* 2026-07-20: tight top/bottom padding + safe-area-inset-bottom hugs browser bar */
    padding: 6px 36px calc(6px + env(safe-area-inset-bottom, 0px)) 14px;
    flex-wrap: wrap;
  }
  .lp-pwa-ribbon__text { font-size: 13px; }
  .lp-pwa-ribbon__close {
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 2px;
  }
  .lp-pwa-ribbon__close-icon {
    width: 20px;
    height: 20px;
  }
}

/* ── HERO GREEN WAVES ─────────────────────────────────── */

/* 2026-07-18: animated green waves at the bottom of the hero.
   Reuses .lp-wave base class and lp-wave-drift keyframe from
   Start with Clarity and Effortless sections. */

.lp-hero__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  height: 240px;
}

/* 4. Mobile ribbon text variants */
.lp-pwa-ribbon__text--mobile { display: none; }
.lp-pwa-ribbon__text--desktop { display: inline; }

@media (max-width: 480px) {
  .lp-pwa-ribbon__text--desktop { display: none; }
  .lp-pwa-ribbon__text--mobile { display: inline; }
}

/* ── MOBILE NAV — BURGER + FULL-SCREEN MENU ──────────── */

/* 2026-07-18
   Purpose: mobile-only burger button and full-screen black overlay menu.
   Desktop/tablet (≥481px): burger hidden, Sign in visible — no change.
   Mobile (≤480px): Sign in hidden, burger visible. */

/* 2026-07-18: burger hidden on desktop/tablet */
.lp-nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-nav__burger-icon {
  width: 22px;
  height: 22px;
  display: block;
}

/* 2026-07-18: full-screen mobile menu — hidden by default */
.lp-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  z-index: 10002;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 40px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.lp-mobile-menu.is-open {
  display: flex;
  opacity: 1;
}

/* 2026-07-18: close button — upper right of the overlay */
.lp-mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-mobile-menu__close-icon {
  width: 20px;
  height: 20px;
  display: block;
  /* 2026-07-18: invert to white on black background */
  filter: invert(1) brightness(2);
  opacity: 0.80;
}

.lp-mobile-menu__close:hover .lp-mobile-menu__close-icon { opacity: 1; }
.lp-mobile-menu__close:focus-visible {
  outline: 2px solid #27ca6e;
  outline-offset: 4px;
  border-radius: 4px;
}

.lp-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.lp-mobile-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

/* 2026-07-18: menu links — white, 20px, weight 400 */
.lp-mobile-menu__link {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.15s;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.lp-mobile-menu__link:hover { color: #27ca6e; }

.lp-mobile-menu__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #ffffff;
  color: #0f0f0f;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* 2026-07-18: tablet + mobile (≤1024px) — burger menu, hide desktop nav links + Sign in button */
@media (max-width: 1024px) {
  .lp-nav__burger { display: flex; }
  .lp-nav__cta--desktop { display: none; }
  .lp-nav__links { display: none; }
}

/* ── HERO — SECONDARY CTA + FOOTNOTE ─────────────────── */

/* 2026-07-18: two-button row — primary black + secondary white/black border */
.lp-hero__btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 2026-07-18: Google secondary CTA — white bg, black 1.5px border, black text */
.lp-hero__cta-google--btn {
  background: #ffffff;
  color: #0f0f0f;
  border: 1.5px solid #0f0f0f;
  font-size: 15px;
  font-weight: 600;
  padding: 18px 28px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.lp-hero__cta-google--btn:hover {
  background: #f5f5f5;
}

/* 2026-07-18: text link version — hidden on desktop/tablet, shown on mobile */
.lp-hero__cta-google--link {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: #0f0f0f;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 4px;
  margin-bottom: 2px;
}

/* 2026-07-18: official website link in footnote — matches muted footnote style */
.lp-hero__footnote-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-hero__footnote-link:hover { color: #0f0f0f; }

/* ── MOBILE HERO CTA ──────────────────────────────────── */

@media (max-width: 480px) {
  /* 2026-07-18: primary CTA 80% of original height on mobile */
  .lp-hero__cta-primary {
    padding-top: calc(18px * 0.8);
    padding-bottom: calc(18px * 0.8);
    font-size: 15px;
  }

  /* 2026-07-18: hide button version, show link version on mobile */
  .lp-hero__cta-google--btn  { display: none; }
  .lp-hero__cta-google--link { display: inline; }
}

/* 2026-07-18: Sign in link beside burger — tablet + mobile (≤1024px), hidden on desktop */
.lp-nav__signin-link {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: #0f0f0f;
  text-decoration: none;
  white-space: nowrap;
}

.lp-nav__signin-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-nav__signin-link:focus-visible { outline: 2px solid #27ca6e; outline-offset: 3px; border-radius: 2px; }

@media (max-width: 1024px) {
  .lp-nav__signin-link { display: inline; }
}

/* 2026-07-18: qinta.io in hero footnote — plain text, not a link */
.lp-hero__footnote-site {
  cursor: default;
  text-decoration: none;
  color: inherit;
  pointer-events: none;
  user-select: text;
}

/* 2026-07-18: Sign in + burger pair container */
.lp-nav__mobile-pair {
  display: none;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1024px) {
  .lp-nav__mobile-pair { display: flex; }
}

/* 2026-07-18: mobile — gap 50% of tablet gap (16px → 8px) */
@media (max-width: 480px) {
  .lp-nav__mobile-pair { gap: 8px; }
}

/* ── iOS PWA INSTALL MODAL ────────────────────────────── */

/* 2026-07-18
   Full-screen white modal — shown on iPhone when Install is tapped.
   iOS Safari has no beforeinstallprompt; this guides the user through
   the Share → Add to Home Screen flow manually. */

/* 2026-07-18 FIX: switched from display:none → visibility:hidden + opacity:0.
   display:none prevents CSS transitions from playing on iOS Safari — the modal
   appeared to do nothing because the fade-in was skipped entirely.
   visibility:hidden keeps it out of the layout and tab order while still
   allowing the opacity transition to animate smoothly when is-open is added. */
.lp-ios-modal {
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 10003;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.lp-ios-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.22s ease, visibility 0s linear 0s;
}

/* Close button — upper right */
.lp-ios-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f5f5f3;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.lp-ios-modal__close:focus-visible {
  outline: 2px solid #27ca6e;
  outline-offset: 2px;
}

.lp-ios-modal__close-icon {
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.65;
}

/* Content wrapper */
.lp-ios-modal__content {
  display: flex;
  flex-direction: column;
  /* 2026-07-19 — Left-align all modal content. */
  align-items: flex-start;
  padding: 72px 28px 48px;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

/* App icon squircle */
.lp-ios-modal__app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  /* 2026-07-19 — Remove green bg and shadow — green logo shows on white directly. */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.lp-ios-modal__app-logo {
  /* 2026-07-19 — Remove filter — qinta-green-logo.png renders correctly without it. */
  width: 72px;
  height: 72px;
  display: block;
  object-fit: contain;
}

.lp-ios-modal__title {
  font-size: 22px;
  /* 2026-07-19 — Lighter weight, left-align, 30px gap to steps. */
  font-weight: 300;
  color: #0f0f0f;
  letter-spacing: -0.4px;
  text-align: left;
  margin-bottom: 30px;
}

.lp-ios-modal__sub {
  font-size: 14px;
  color: rgba(26, 41, 78, 0.50);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 36px;
}

/* Steps */
.lp-ios-modal__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 320px;
  margin-bottom: 20px;
}

.lp-ios-modal__step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  /* 2026-07-19 — Muted step number circles. */
  background: rgba(15, 15, 15, 0.18);
  color: rgba(15, 15, 15, 0.55);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.lp-ios-modal__step-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 2026-07-18 FIX: 16px / 400 as specified */
.lp-ios-modal__step-text {
  font-size: 16px;
  /* 2026-07-19 — Lighter weight, left-align. */
  font-weight: 300;
  color: #0f0f0f;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* 2026-07-18: hint line for the three-dot fallback — same 16px/400 weight,
   slightly muted so it reads as secondary to the main step instruction */
.lp-ios-modal__step-hint {
  font-size: 16px;
  font-weight: 400;
  color: rgba(15, 15, 15, 0.60);
  line-height: 1.5;
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.lp-ios-modal__share-icon {
  display: inline-flex;
}

/* Illustration — mock Safari toolbar */
.lp-ios-modal__illustration {
  margin-top: 32px;
  width: 100%;
  max-width: 320px;
  background: #f5f5f3;
  border-radius: 16px;
  padding: 16px 12px 10px;
  border: 1px solid #e5e7eb;
}

.lp-ios-mock__bar {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lp-ios-mock__url {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  background: #f5f5f3;
  border-radius: 8px;
  padding: 5px 10px;
}

.lp-ios-mock__url-text {
  font-size: 13px;
  color: #5a5a56;
  font-family: -apple-system, sans-serif;
}

.lp-ios-mock__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Pulsing ring on the highlighted share icon */
.lp-ios-mock__share-highlight {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-ios-mock__tap-ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0, 122, 255, 0.40);
  animation: lp-tap-pulse 1.6s ease-out infinite;
}

@keyframes lp-tap-pulse {
  0%   { transform: scale(0.7); opacity: 0.8; }
  70%  { transform: scale(1.4); opacity: 0;   }
  100% { transform: scale(1.4); opacity: 0;   }
}

.lp-ios-mock__caption {
  font-size: 12px;
  color: rgba(26, 41, 78, 0.46);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}


/* 2026-07-19 — Purpose: desktop/tablet — remove 860px content cap, reduce left/right
   padding to 20px (50% of original 40px). Content now stretches to fill the viewport.
   Top/bottom padding untouched. Mobile rules unchanged. */
@media (min-width: 1021px) {
  .lp-container {
    max-width: 100%;
    padding-left: 150px;
    padding-right: 150px;
    box-sizing: border-box;
  }
  .lp-nav        { padding-left: 20px; padding-right: 20px; }
  .lp-section    { padding-left: 20px; padding-right: 20px; }
  .lp-section--cta { padding-left: 20px; padding-right: 20px; }
  .lp-clarity    { padding-left: 20px; padding-right: 20px; }
  .lp-effortless { padding-left: 20px; padding-right: 20px; }
}

/* =======================================================================
   2026-07-27 — CSP #8
   Purpose: moved from inline <style> block in landing.html so
     style-src-elem 'unsafe-inline' is no longer required for these rules.
   What this does: animated pill bar chart shown on landing page hero section.
     Six monthly bars grow on load; last bar is green = current month.
   ======================================================================= */
.qbar-b1 { animation: qgrow 0.5s cubic-bezier(0.4,0,0.2,1) 0.0s both; }
.qbar-b2 { animation: qgrow 0.5s cubic-bezier(0.4,0,0.2,1) 0.1s both; }
.qbar-b3 { animation: qgrow 0.5s cubic-bezier(0.4,0,0.2,1) 0.2s both; }
.qbar-b4 { animation: qgrow 0.5s cubic-bezier(0.4,0,0.2,1) 0.3s both; }
.qbar-b5 { animation: qgrow 0.5s cubic-bezier(0.4,0,0.2,1) 0.4s both; }
.qbar-b6 { animation: qgrow 0.5s cubic-bezier(0.4,0,0.2,1) 0.5s both; }
@keyframes qgrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.qbar { transform-origin: bottom; }
@keyframes qbreathe {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(1.04); }
}
.qbar-breathe { animation: qbreathe 3s ease-in-out infinite; transform-origin: bottom; }

/* 2026-07-27 — CSP #8: replaces style="display:flex;align-items:center;justify-content:center" */
.lp-household__cards {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2026-07-27 — CSP #8: replaces style="max-width:440px;display:block" on landing SVG */
.lp-chart-svg {
  max-width: 440px;
  display: block;
  width: 100%;
}

/* 2026-07-27 — CSP #8: replaces style="width:85%" on bar fill element */
.lp-screen__bar-fill--85 { width: 85%; }

/* 2026-07-27 — CSP #8: replaces style="visibility:hidden" on landing SVG */
.lp-svg-hidden { visibility: hidden; }

/* 2026-07-27 — CSP #8: transaction icon background colours */
.lp-txn__icon--pizza   { background: #FFF0E8; }
.lp-txn__icon--gym     { background: #F0F8FF; }
.lp-txn__icon--grocery { background: #F0FAF4; }
.lp-txn__icon--coffee  { background: #FFF5F0; }
