/* ============================================================
   site.css — usevolta.org landing-page additions.
   Loads AFTER colors_and_type.css and marketing.css, and only
   adds what the marketing kit doesn't already cover (downloads
   grid, FAQ, countdown chrome, a few small helpers).
   ============================================================ */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }

/* anchor offset so sticky nav doesn't cover section tops */
section[id], div[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }

/* mobile nav: collapse the inline links under ~720px */
@media (max-width: 720px) {
  .vlf-nav-links { display: none; }
}

/* ---------- Section wrapper ---------- */
.vlf-section { max-width: var(--max-marketing); margin: 0 auto; padding: 0 32px; }

/* ---------- How-it-works: numbered token ---------- */
.vlf-step-badge {
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--mint-100); border: 1px solid var(--voltgreen-200);
  color: var(--voltgreen-700); font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
}
.vlf-step-cmd {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 20px;
  color: var(--fg-2); background: var(--grey-50); border: 1px solid var(--grey-200);
  border-radius: 8px; padding: 8px 10px; margin-top: 12px; overflow-x: auto; white-space: pre;
}

/* ---------- Spec tile: full-width note row ---------- */
.vlf-spec-tile.wide { grid-column: 1 / -1; }
.vlf-spec-note { font-family: var(--font-body); font-size: 13px; line-height: 20px; color: var(--fg-2); }
.vlf-spec-note code, .vlf-inline-code {
  font-family: var(--font-mono); font-size: 12px; background: var(--mint-100);
  color: var(--voltgreen-700); padding: 1px 6px; border-radius: 6px;
}

/* ---------- Downloads ---------- */
.vlf-downloads { background: var(--bg-page); padding: 96px 0; border-top: 1px solid var(--grey-200); }
.vlf-dl-grid { max-width: var(--max-marketing); margin: 32px auto 0; padding: 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vlf-dl {
  background: var(--bg-card); border: 1px solid var(--grey-200); border-radius: 12px;
  padding: 22px; display: flex; flex-direction: column; gap: 8px; min-height: 150px;
}
.vlf-dl-os { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--voltgreen-900); }
.vlf-dl-file { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.vlf-dl-foot { margin-top: auto; }
.vlf-dl-soon {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body);
  font-size: 12px; font-weight: 600; color: var(--fg-3);
  border: 1px dashed var(--grey-300); border-radius: 999px; padding: 4px 10px;
}
.vlf-dl-link { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--voltgreen-700); }
.vlf-dl-link:hover { color: var(--voltgreen-500); }
@media (max-width: 980px) { .vlf-dl-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.vlf-faq { max-width: 820px; margin: 0 auto; padding: 0 32px 16px; }
.vlf-faq details {
  border-bottom: 1px solid var(--grey-200); padding: 18px 0;
}
.vlf-faq summary {
  font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--voltgreen-900);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.vlf-faq summary::-webkit-details-marker { display: none; }
.vlf-faq summary::after { content: "+"; color: var(--voltgreen-500); font-weight: 700; font-size: 22px; line-height: 1; }
.vlf-faq details[open] summary::after { content: "\2013"; }
.vlf-faq p { font-family: var(--font-body); font-size: 16px; line-height: 26px; color: var(--fg-2); margin-top: 12px; }
.vlf-faq a { color: var(--voltgreen-700); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Eyebrow live dot pulse ---------- */
.vlf-eyebrow-dot { animation: vlf-pulse 2.4s var(--ease-out) infinite; }
@keyframes vlf-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47,168,79, 0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(47,168,79, 0); }
}

/* ---------- Honest-premine callout ---------- */
.vlf-note-strip {
  max-width: var(--max-marketing); margin: 24px auto 0; padding: 14px 18px;
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--cream-50); border: 1px solid var(--grey-200); border-radius: 12px;
  font-family: var(--font-body); font-size: 13.5px; line-height: 21px; color: var(--fg-2);
}
.vlf-note-strip strong { color: var(--voltgreen-900); }

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
