/* Landing page polish (2026-10-09): a shorter page that still says everything.
   Collapsed feature grid, sticky phone CTA, nav scroll-spy. Loaded after landing.css. */

/* Feature grid: the first dozen show, the rest unfold on request. The whole list stays in the page. */
#features .features.collapsed .feature:not(.feature-cta):nth-child(n + 13) { display: none; }
#features .features-more { display: flex; justify-content: center; margin: 22px 0 0; }
#features .features-more .btn svg { width: 14px; height: 14px; transition: transform .2s; }
#features .features-more .btn.open svg { transform: rotate(180deg); }
@media (max-width: 1000px) { #features .features.collapsed .feature:not(.feature-cta):nth-child(n + 9) { display: none; } }
@media (max-width: 640px) { #features .features.collapsed .feature:not(.feature-cta):nth-child(n + 7) { display: none; } }

/* Hero: proof chips under the buttons */
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--border-2); border-radius: 999px; font: 600 12px var(--font); color: var(--text-2); background: var(--panel); }
.hero-proof span b { font: 700 12px var(--mono); color: var(--text); }
.hero-for { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 12px; font: 600 13px var(--font); color: var(--text-2); }
.hero-for a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
.hero-for a:hover { text-decoration-color: currentColor; }
.hero-proof span i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); border: 1px solid var(--text); }

/* "How it works" sits right under the ticker now: tighter than a full section */
#how { padding-top: 64px; padding-bottom: 64px; }
#how .sec-head { margin-bottom: 28px; }
#how .steps { gap: 24px; }
#how .step::before { font-size: 44px; margin-bottom: 12px; }
#how .step h3 { font-size: 18px; }
#how .step p { font-size: 14.5px; }

/* Sticky bottom bar on phones, once the hero is scrolled past */
.lp-sticky { display: none; }
@media (max-width: 900px) {
  .lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--text); transform: translateY(110%); transition: transform .22s ease; }
  .lp-sticky.on { transform: none; }
  .lp-sticky span { font-size: 12.5px; color: var(--text-2); font-weight: 500; }
  .lp-sticky .btn { height: 40px; flex: none; }
  body.has-sticky { padding-bottom: 64px; }
}
