/* Lucro website. Clean corporate (Quicken-led) in Lucro's brand. See site/REFERENCES.md. */
:root {
  --ink: #0b1412;
  --ink-2: #1f2a26;
  --muted: #56655f;
  --line: #e2e8e3;
  --bg: #ffffff;
  --tint: #f3f6f2;
  --tint-2: #eaf3e2;
  --teal: #0f766e;
  --teal-ink: #0b5e58;
  --teal-soft: #e3f2ef;
  --lime: #a3e635;
  --lime-soft: #f0fadc;
  --gold: #fcd34d;
  --rate: #047857;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 18, .05), 0 4px 14px rgba(11, 20, 18, .05);
  --shadow: 0 2px 6px rgba(11, 20, 18, .05), 0 18px 48px rgba(11, 20, 18, .10);
  --wrap: 1200px;
  --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.1; font-weight: 700; text-wrap: balance; }
[id] { scroll-margin-top: 96px; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

/* ─── Beta strip (Robinhood-style accent bar) ─── */
.strip { background: var(--lime); color: var(--ink); font-size: 14.5px; text-align: center; padding: 9px var(--gutter); }
.strip a { color: var(--ink); font-weight: 600; }

/* ─── Nav (Quicken-style: white, logo left, plain links, one pill CTA) ─── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.04em; }
.logo svg { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.nav-links { display: flex; gap: 6px; margin-left: 12px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 12px; border-radius: 10px; }
.nav-links a:hover { background: var(--tint); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--teal); }
.nav-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gutter) 20px; }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }
.nav.open .mobile-menu { display: block; }

/* ─── Buttons (pills) ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* App Store "coming soon" badge (no Apple logo until the app is live) */
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 14px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; }
.store-badge:hover { background: var(--ink-2); color: #fff; }
.store-badge svg { width: 30px; height: 30px; }
.store-badge small { display: block; font-size: 11.5px; opacity: .78; letter-spacing: .02em; line-height: 1.2; }
.store-badge b { display: block; font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }

/* ─── Eyebrow / pill (x.ai announcement pill, Quicken eyebrow) ─── */
.pill-note { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.pill-note span { background: var(--lime-soft); color: #3f6212; font-weight: 600; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--teal); }
.hl { color: var(--teal); }
.mark { background: linear-gradient(transparent 62%, rgba(163, 230, 53, .55) 62%); padding: 0 .06em; }

/* ─── Hero (Quicken: centered on a tinted band, two-tone headline, product composite) ─── */
.hero { background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint) 62%, #fff 100%); padding: 72px 0 0; overflow: hidden; }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.035em; margin-top: 22px; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 640px; margin: 20px auto 0; }
.hero-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.hero-fine { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.hero-fine a { color: var(--muted); }
.hero-stage { position: relative; height: 560px; margin-top: 56px; display: flex; justify-content: center; }

/* Phone frame */
.phone { position: relative; width: 300px; aspect-ratio: 840 / 1818; border-radius: 46px; background: #0b1412; padding: 11px; box-shadow: 0 0 0 1px rgba(11, 20, 18, .08), 0 30px 80px rgba(11, 20, 18, .22), 0 8px 24px rgba(11, 20, 18, .12); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 36px; background: #f3f6f2; padding-top: 13%; } /* status-bar gap so the notch never covers the screen */
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #0b1412; z-index: 2; }
.hero-stage .phone { position: absolute; top: 0; }

/* Floating stat cards (Quicken's net-worth cards) */
.float { position: absolute; z-index: 3; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px; border: 1px solid rgba(11, 20, 18, .04); }
.float-label { font-size: 13px; color: var(--muted); }
.float-big { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.float-big.rate { color: var(--rate); }
.float-row { display: flex; align-items: center; gap: 12px; }
.float-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-soft); color: #3f6212; flex-shrink: 0; }
.float-ic svg { width: 22px; height: 22px; }
.float.a { left: calc(50% - 430px); top: 90px; width: 250px; }
.float.b { right: calc(50% - 440px); top: 210px; }
.float.c { left: calc(50% - 400px); top: 330px; }
.mini-card { width: 56px; height: 36px; border-radius: 7px; background: linear-gradient(135deg, #b45309, #451a03); position: relative; flex-shrink: 0; }
.mini-card::after { content: ""; position: absolute; left: 8px; top: 12px; width: 10px; height: 8px; border-radius: 2px; background: #e7b84a; }

/* Privacy label badge (like Quicken's award badge) */
.label-badge { display: inline-flex; align-items: center; gap: 10px; }
.label-badge .float-ic { background: var(--teal-soft); color: var(--teal); }

/* ─── Trust row (Binance.US/Quicken) ─── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item svg { width: 26px; height: 26px; color: var(--teal); flex-shrink: 0; }
.trust-item b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.01em; line-height: 1.2; }
.trust-item span { font-size: 14px; color: var(--muted); }

/* ─── Sections ─── */
.section { padding: 104px 0; }
.section.tint { background: var(--tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; margin-top: 10px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* How it works cards (x.ai rounded cards) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 32px; box-shadow: var(--shadow-sm); }
.step-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 700; font-size: 18px; }
.step h3 { font-size: 22px; letter-spacing: -.015em; margin-top: 22px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* Split feature rows (Quicken/Robinhood) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 120px; }
.split.flip .split-art { order: -1; }
.split h2 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.03em; margin-top: 12px; }
.split p.body { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 520px; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.split-art { position: relative; display: flex; justify-content: center; padding: 48px 0; border-radius: 32px; background: radial-gradient(70% 60% at 50% 40%, var(--lime-soft) 0%, transparent 70%), var(--tint); }
.section.tint .split-art { background: radial-gradient(70% 60% at 50% 40%, var(--lime-soft) 0%, transparent 70%), #fff; }
.split-art .phone { width: 270px; }

/* Feature grid */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.feat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.feat-ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 19px; margin-top: 18px; letter-spacing: -.01em; }
.feat p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

/* Dark privacy band (SpaceX: one statement per band) */
.band { background: var(--ink); color: #e9f0eb; padding: 112px 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(163, 230, 53, .14), transparent 65%); pointer-events: none; }
.band h2 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.035em; max-width: 760px; }
.band h2 .lime { color: var(--lime); }
.band p.lede { color: #a9b8b1; font-size: 19px; max-width: 620px; margin-top: 20px; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .12); }
.band-item { padding: 28px 24px 0 0; }
.band-item svg { width: 26px; height: 26px; color: var(--lime); }
.band-item b { display: block; color: #fff; font-family: var(--display); font-size: 19px; margin-top: 14px; }
.band-item span { display: block; color: #a9b8b1; font-size: 15px; margin-top: 4px; }
.band a { color: var(--lime); }

/* FAQ (native details) */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 4px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex-shrink: 0; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .answer { padding: 0 4px 24px; color: var(--muted); font-size: 16.5px; max-width: 720px; }
.faq .answer p + p { margin-top: 10px; }
.faq-more { text-align: center; margin-top: 32px; }

/* CTA card */
.cta { background: linear-gradient(135deg, var(--tint-2), var(--teal-soft)); border-radius: 32px; padding: 64px 48px; text-align: center; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; }
.cta p { color: var(--muted); font-size: 18px; margin: 14px auto 0; max-width: 560px; }
.cta .hero-actions { margin-top: 28px; }

/* ─── Page header (About / Support / legal) ─── */
.page-head { background: linear-gradient(180deg, var(--tint-2), var(--tint)); padding: 80px 0 64px; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.035em; margin-top: 12px; max-width: 820px; }
.page-head p.lede { color: var(--muted); font-size: 19px; margin-top: 16px; max-width: 660px; }

/* Support search (Quicken Support) */
.search { display: flex; align-items: center; gap: 10px; max-width: 620px; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: var(--shadow-sm); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16.5px; padding: 12px 0; background: transparent; color: var(--ink); }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.no-results { display: none; color: var(--muted); padding: 24px 4px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { font-size: 20px; letter-spacing: -.01em; margin-top: 16px; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.card .btn { margin-top: 18px; }

/* Legal pages (Discord privacy: narrow column, big title, dates, numbered TOC) */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 64px 0 104px; }
.toc { position: sticky; top: 104px; align-self: start; font-size: 14.5px; }
.toc b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--teal); text-decoration: underline; }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; letter-spacing: -.02em; margin: 48px 0 12px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.dates { color: var(--muted); font-size: 15px; margin-top: 18px; }
.summary { background: var(--tint); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 40px; }
.summary h2 { margin: 0 0 12px; font-size: 20px; }
.summary table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.summary th, .summary td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.summary th { font-weight: 600; color: var(--ink); width: 46%; }
.summary td { color: var(--ink-2); }
.yes { color: var(--rate); font-weight: 600; }
.note { background: var(--lime-soft); border-radius: 14px; padding: 14px 18px; font-size: 15px; color: #365314; margin-top: 16px; }

/* ─── Footer ─── */
.footer { background: var(--ink); color: #a9b8b1; padding: 72px 0 40px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer .logo { color: #fff; }
.footer .logo:hover { color: #fff; }
.footer-tag { margin-top: 14px; max-width: 300px; }
.footer h4 { color: #fff; font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #d6e0da; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; font-size: 13.5px; line-height: 1.6; }

/* ─── Scroll reveal: content is always visible; it just rises slightly as it scrolls in ─── */
.reveal.in { animation: rise .6s ease both; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.in { animation: none; }
  .btn, .faq summary::after { transition: none; }
}

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .float.a { left: 2%; } .float.b { right: 2%; } .float.c { left: 4%; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .cards3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-art { order: 0; }
  .split + .split { margin-top: 88px; }
  .legal { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; background: var(--tint); border-radius: 16px; padding: 18px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .nav-in { height: 64px; }
  .hero { padding-top: 48px; }
  .hero-stage { height: 520px; margin-top: 44px; }
  .hero-stage .phone { width: 250px; }
  .float { padding: 12px 14px; border-radius: 14px; }
  .float-big { font-size: 22px; }
  .float.a { left: 0; top: 40px; width: 190px; }
  .float.b { right: 0; top: 250px; }
  .float.c { display: none; }
  .pill-note { font-size: 13px; padding: 5px 12px 5px 5px; }
  .hero .lede { line-height: 1.55; }
  .float-ic { width: 36px; height: 36px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .trust-in { grid-template-columns: 1fr; }
  .trust-item { border-left: 0 !important; border-top: 1px solid var(--line); padding: 18px 4px; }
  .trust-item:first-child { border-top: 0; }
  .grid4, .band-grid { grid-template-columns: 1fr; }
  .band { padding: 80px 0; }
  .cta { padding: 44px 22px; border-radius: 24px; }
  .page-head { padding: 52px 0 44px; }
  .footer-top { grid-template-columns: 1fr; }
  .split-art .phone { width: 240px; }
  .hero-actions .btn, .hero-actions .store-badge { width: 100%; justify-content: center; }
}
