/* ============================================================
   Little Bean · Direction 2 (Framer) — shared inner-page chrome
   Carries the nav, footer, hero and section system from
   dir2-framer.html so Product / Pricing / Blog / FAQ / About
   all share one visual language. Builds on base.css.
   ============================================================ */

body { background: var(--lb-cream); }
.wrap--wide { max-width: 1340px; }

/* Instrument Serif ships at 400 only — never let the browser fake bolder. */
.mega, .sec-h, .page-h, .band-quote, .rev-q, .card-h, .accordion-q, .price-h, .step-h, .pq {
  font-weight: 400; font-synthesis-weight: none; font-synthesis: none;
}

/* ---- Header: transparent over hero, condenses to glass on scroll ---- */
.nav { background: transparent; transition: height .3s var(--lb-ease), background .3s var(--lb-ease), box-shadow .3s var(--lb-ease), border-color .3s var(--lb-ease); border-bottom: 1px solid transparent; }
.nav .brand { color: var(--lb-moss-900); }
.nav .brand svg path { fill: var(--lb-moss-700); }
.nav-links a.active { opacity: 1; color: var(--lb-moss-900); }
.nav-links a.active::after { content: ""; display: block; height: 2px; border-radius: 2px; background: var(--lb-terra-500); margin-top: 3px; }
.btn--primary { background: var(--lb-moss-900); color: var(--lb-cream); }
.btn--primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--lb-shadow-3); color: var(--lb-cream); }
.btn--ghost { border-color: var(--lb-line-2); color: var(--lb-moss-700); }
.btn--ghost:hover { border-color: var(--lb-moss-700); }
.nav .btn { height: 46px; }
.nav--scrolled { height: 62px; background: color-mix(in srgb, var(--lb-paper) 62%, transparent); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); border-bottom-color: var(--lb-line); box-shadow: 0 6px 24px -18px rgba(40,30,15,.4); }
.nav-toggle { display: none; }

/* ---- Page hero (shared by every inner page) ---- */
.page-hero { padding: 48px 0 56px; text-align: center; position: relative; }
.page-hero .eyebrow { color: var(--lb-terra-700); }
.page-h {
  font-family: var(--lb-font-display);
  font-size: clamp(48px, 8vw, 104px); line-height: .92; letter-spacing: -0.035em;
  color: var(--lb-moss-900); margin: 0; text-wrap: balance;
}
.page-h em { font-style: italic; color: var(--lb-terra-500); }
.page-lede { max-width: 52ch; margin: 28px auto 0; font-size: 20px; line-height: 1.55; color: var(--lb-mute); }
.page-lede b { color: var(--lb-ink); font-weight: 600; }
.page-hero .hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.page-hero .hero-note { font-family: var(--lb-font-mono); font-size: 12px; color: var(--lb-mute); margin-top: 20px; letter-spacing: 0.04em; }

/* ---- Section heads ---- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.sec-head .eyebrow { margin-bottom: 0; color: var(--lb-terra-700); }
.sec-h { font-family: var(--lb-font-display); font-size: clamp(34px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.02em; color: var(--lb-moss-900); margin: 0; text-wrap: balance; }
.sec-h em { font-style: italic; color: var(--lb-terra-500); }
.sec-link { font-family: var(--lb-font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--lb-moss-700); white-space: nowrap; border-bottom: 1px solid var(--lb-line-2); padding-bottom: 3px; transition: border-color .2s; }
.sec-link:hover { border-color: var(--lb-moss-700); }

/* ---- Marquee strip ---- */
.marquee { background: var(--lb-moss-900); color: var(--lb-cream); padding: 24px 0; overflow: hidden; white-space: nowrap; }
.marquee .track { display: inline-flex; gap: 60px; animation: slide 26s linear infinite; will-change: transform; }
.marquee .item { font-family: var(--lb-font-display); font-size: 38px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 24px; }
.marquee .item em { font-style: italic; color: var(--lb-terra-300); }
.marquee .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lb-terra-500); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ---- Big alternating feature rows (Product) ---- */
.frow { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 84px); }
.frow + .frow { margin-top: clamp(64px, 8vw, 120px); }
.frow.flip .frow-copy { order: 2; }
.frow-step { font-family: var(--lb-font-mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lb-terra-700); margin-bottom: 18px; }
.step-h { font-family: var(--lb-font-display); font-size: clamp(34px, 4vw, 54px); line-height: 1.02; letter-spacing: -0.022em; color: var(--lb-moss-900); margin: 0; text-wrap: balance; }
.step-h em { font-style: italic; color: var(--lb-terra-500); }
.frow-text { font-size: 18px; line-height: 1.6; color: var(--lb-mute); margin: 20px 0 0; max-width: 40ch; }
.frow-text b { color: var(--lb-ink); font-weight: 600; }
.frow-detail { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--lb-paper); border: 1px solid var(--lb-line); border-radius: var(--lb-r-lg); box-shadow: var(--lb-shadow-2); font-size: 14.5px; color: var(--lb-ink); }
.frow-detail .chip-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--lb-font-mono); font-size: 12px; color: var(--lb-terra-700); background: var(--lb-terra-100); padding: 5px 11px; border-radius: var(--lb-r-pill); }
.frow-detail .chip-live .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lb-terra-500); animation: pulse 1.6s var(--lb-ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
.frow-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.frow-art .glow { position: absolute; width: 78%; height: 64%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--lbx-moss-glow) 50%, transparent), transparent 66%); filter: blur(64px); z-index: 0; }
.frow-art img.phone { position: relative; z-index: 2; width: min(300px, 80%); height: auto; filter: drop-shadow(var(--lb-shadow-4)); }

/* ---- Capability grid ---- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap { border: 1px solid var(--lb-line); border-radius: var(--lb-r-xl); background: var(--lb-paper); padding: 30px 28px; transition: transform .25s var(--lb-ease), box-shadow .25s var(--lb-ease), border-color .25s var(--lb-ease); }
.cap:hover { transform: translateY(-4px); box-shadow: var(--lb-shadow-3); border-color: var(--lb-line-2); }
.cap-ico { width: 46px; height: 46px; border-radius: var(--lb-r-md); display: grid; place-items: center; background: var(--lb-moss-100); color: var(--lb-moss-700); margin-bottom: 20px; }
.cap-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cap-k { font-family: var(--lb-font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lb-terra-700); }
.card-h { font-family: var(--lb-font-display); font-size: 25px; line-height: 1.1; letter-spacing: -0.01em; color: var(--lb-moss-900); margin: 8px 0 0; }
.cap-x { font-size: 15px; line-height: 1.6; color: var(--lb-mute); margin: 12px 0 0; }

/* ---- Moss band (CTA / privacy) ---- */
.band { background: var(--lb-moss-900); color: var(--lb-cream); padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.band::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 70% at 50% 120%, color-mix(in srgb, var(--lbx-terra-bright) 38%, transparent), transparent 60%); }
.band > * { position: relative; }
.band .eyebrow { color: var(--lb-moss-300); }
.band-quote { font-family: var(--lb-font-display); font-size: clamp(38px, 5.2vw, 72px); line-height: 1.05; letter-spacing: -0.02em; max-width: 20ch; margin: 0 auto 30px; }
.band-quote em { font-style: italic; color: var(--lb-terra-300); }
.band .btn--cream { background: var(--lb-cream); color: var(--lb-moss-900); }
.band .btn--cream:hover { transform: translateY(-2px) scale(1.02); color: var(--lb-moss-900); }
.band .btn--ghost-cream { border-color: color-mix(in srgb, var(--lb-cream) 40%, transparent); color: var(--lb-cream); }
.band .btn--ghost-cream:hover { border-color: var(--lb-cream); color: var(--lb-cream); }

/* ---- Footer download block (matches dir2) ---- */
.foot { color: var(--lb-mute); }
.foot a:hover { color: var(--lb-moss-700); }
.foot-dl { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 30px; border-bottom: 1px solid var(--lb-line); }
.foot-dl__h { font-family: var(--lb-font-display); font-weight: 400; font-synthesis: none; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; color: var(--lb-moss-900); }
.foot-dl__h em { font-style: italic; color: var(--lb-terra-500); }
.foot-dl__sub { font-family: var(--lb-font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--lb-mute); margin-top: 10px; }
.foot-embed { margin-top: 18px; max-width: 380px; min-height: 52px; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 11px; background: var(--lb-moss-900); color: var(--lb-cream); padding: 11px 18px; border-radius: 12px; transition: transform .2s var(--lb-ease), box-shadow .2s var(--lb-ease); }
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--lb-shadow-3); color: var(--lb-cream); }
.store-btn svg { flex: 0 0 auto; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.12; text-align: left; white-space: nowrap; }
.store-btn small { font-size: 10px; letter-spacing: 0.04em; opacity: 0.82; }
.store-btn b { font-size: 16px; font-weight: 600; }
.foot-get { display: flex; align-items: center; gap: 22px; }
.foot-get .store-row { flex-direction: column; gap: 10px; }
.foot-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; border-left: 1px solid var(--lb-line); padding-left: 22px; }
.foot-qr .qr { width: 104px; height: 104px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 4px 14px rgba(40,30,15,.10); }
.foot-qr .qr svg, .foot-qr .qr img { width: 100%; height: 100%; display: block; }
.foot-qr span { font-family: var(--lb-font-mono); font-size: 11px; color: var(--lb-mute); }
@media (max-width: 640px) { .foot-dl { flex-direction: column; align-items: flex-start; } }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .frow { grid-template-columns: 1fr; gap: 32px; }
  .frow.flip .frow-copy { order: 0; }
  .frow-art { min-height: 0; order: -1; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 28px; }
  .nav-links, .nav .btn-row .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--lb-line-2); border-radius: 12px; background: transparent; cursor: pointer; }
  .nav-toggle svg { width: 22px; height: 22px; stroke: var(--lb-moss-900); }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head.center { align-items: center; }
  .cap-grid { grid-template-columns: 1fr; }
}

/* ---- Mobile nav sheet ---- */
.mnav { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--lb-cream) 96%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: none; flex-direction: column; padding: 90px 32px 40px; }
.mnav.open { display: flex; }
.mnav a { font-family: var(--lb-font-display); font-size: 40px; color: var(--lb-moss-900); padding: 12px 0; border-bottom: 1px solid var(--lb-line); }
.mnav a em { font-style: italic; color: var(--lb-terra-500); }
.mnav .btn { margin-top: 28px; align-self: flex-start; }
.mnav-close { position: absolute; top: 22px; right: 28px; width: 44px; height: 44px; border: 1px solid var(--lb-line-2); border-radius: 12px; background: transparent; cursor: pointer; display: grid; place-items: center; }
.mnav-close svg { width: 22px; height: 22px; stroke: var(--lb-moss-900); }

/* Blog coming-soon + newsletter embed */
.blog-soon { max-width: 640px; }
.blog-soon .sec-h { margin-top: 12px; }
.blog-soon__x { font-size: 18px; line-height: 1.6; color: var(--lb-mute); margin: 18px 0 0; }
.news-embed { max-width: 360px; min-height: 52px; }

/* Native subscribe form (replaces the Beehiiv iframe) */
.lb-form { display: flex; gap: 8px; width: 100%; max-width: 440px; }
.lb-form input { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid var(--lb-line-2); border-radius: var(--lb-r-lg, 12px); background: var(--lb-paper); font-family: var(--lb-font-sans); font-size: 16px; color: var(--lb-ink); }
.lb-form input:focus { outline: none; border-color: var(--lb-moss-500); }
.lb-form button { flex: 0 0 auto; height: 50px; padding: 0 20px; border: none; border-radius: var(--lb-r-lg, 12px); background: var(--lb-moss-700); color: var(--lb-cream); font-family: var(--lb-font-sans); font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .2s; }
.lb-form button:hover { background: var(--lb-moss-900); }
.lb-form button:disabled { opacity: .6; cursor: default; }
.lb-msg { margin: 12px 0 0; font-size: 14px; line-height: 1.45; }
.lb-msg[data-ok] { color: var(--lb-moss-700); }
.lb-msg[data-err] { color: var(--lb-terra-700); }
@media (max-width: 480px) { .lb-form { flex-direction: column; } .lb-form button { width: 100%; } }
