/* ============================================================
   LendVault.io — site stylesheet
   Link THIS file. It imports the design-system tokens first,
   then defines base, component, and section styles that
   reference those tokens. Never hardcode brand values here.
   ============================================================ */

@import "tokens.css";

/* ===== base / layout ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.lv-dark {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--text-body);
  background-color: var(--lv-black);
  background-image: var(--lv-cross-grid);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-snug);
  font-weight: var(--fw-bold);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

/* Layout helpers */
.container { max-width: var(--container-lg); margin-inline: auto; padding-inline: var(--space-6); }
.container-md { max-width: var(--container-md); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-24); }
.section-sm { padding-block: var(--space-16); }
@media (max-width: 720px) {
  .section { padding-block: var(--space-16); }
}

/* Signature backdrop for full-bleed dark panels */
.canvas { background-color: var(--lv-black); background-image: var(--lv-cross-grid); background-size: cover; }

/* Text utilities */
.display {
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  color: var(--text-strong);
  font-size: clamp(40px, 6vw, 72px);
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-caps-wide);
  text-transform: uppercase;
  color: var(--lv-teal);
}
.lede { font-size: var(--fs-lg); color: var(--text-body); line-height: var(--lh-relaxed); }
.muted { color: var(--text-muted); }
.accent { color: var(--lv-orange); }
.brand { color: var(--lv-teal); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* Section header block: eyebrow + title + lede */
.section-head { max-width: var(--container-md); margin-bottom: var(--space-12); }
.section-head .eyebrow { display: block; margin-bottom: var(--space-3); }
.section-head h2 { font-size: clamp(28px, 4vw, var(--fs-display-lg)); margin-bottom: var(--space-4); }
.section-head .lede { max-width: 60ch; }

/* Reveal-on-scroll: only hide when JS is available (progressive enhancement).
   Without JS (or the .js class), content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
/* Failsafe: if main.js never adds .in (script fails to load/run), reveal after a
   short delay so content can never stay permanently hidden. When JS works, .in is
   added first and this selector no longer matches. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.in) { animation: reveal-failsafe 0.3s var(--ease-out) 4s forwards; }
}
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* Visually-hidden (screen-reader only) */
.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; }

/* ===== base / layout end ===== */

/* ===== components ===== */

/* Icon (inline SVG from the DS registry) */
.lv-icon { display: inline-block; flex: none; vertical-align: middle; }

/* Button — translated from DS Button.jsx (token-for-token) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.005em;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .lv-icon { width: 18px; height: 18px; }

.btn-primary { background: var(--action-primary); color: #fff; }
.btn-primary:hover { background: var(--action-primary-hover); }
.btn-accent { background: var(--action-accent); color: #fff; }
.btn-accent:hover { background: var(--action-accent-hover); }
.btn-secondary { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-sunken); }
.btn-ghost { background: transparent; color: var(--text-strong); }
.btn-ghost:hover { background: var(--surface-sunken); }

.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-sm .lv-icon { width: 15px; height: 15px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-lg .lv-icon { width: 20px; height: 20px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; cursor: not-allowed; }

/* Round icon link (footer / social) */
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.icon-link:hover { color: var(--lv-teal); border-color: var(--lv-teal); }

/* Card — DS Card.jsx */
.card { border-radius: var(--radius-lg); padding: var(--pad-card); }
.card-raised { background: var(--surface-raised); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); }
.card-outline { background: var(--surface-raised); border: 1.5px solid var(--border-default); }
.card-flat { background: var(--surface-sunken); border: 1px solid var(--border-subtle); }
.card h3 { font-size: var(--fs-h4); }
.card p { font-size: var(--fs-sm); margin-top: var(--space-2); }

/* Rounded icon tile used atop feature cards */
.ic-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: rgba(35, 170, 171, 0.12); border: 1px solid rgba(35, 170, 171, 0.28);
  color: var(--lv-teal); margin-bottom: var(--space-4);
}

/* Badge — DS Badge.jsx */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-weight: 600; font-size: 12px; line-height: 1; letter-spacing: 0.01em; border-radius: var(--radius-pill); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge-neutral { background: var(--surface-sunken); color: var(--text-body); }
.badge-teal { background: rgba(35, 170, 171, 0.14); color: var(--lv-teal); }
.badge-orange { background: rgba(249, 124, 52, 0.15); color: var(--lv-orange); }
.badge-success { background: rgba(34, 180, 94, 0.15); color: var(--lv-success); }
.badge-danger { background: rgba(229, 72, 77, 0.15); color: var(--lv-danger); }
.badge.is-solid { color: #fff; }
.badge-teal.is-solid { background: var(--lv-teal); }
.badge-orange.is-solid { background: var(--lv-orange); }
.badge-success.is-solid { background: var(--lv-success); }
.badge-danger.is-solid { background: var(--lv-danger); }
.badge-neutral.is-solid { background: var(--lv-ink-500); }

/* GradeBadge — DS GradeBadge.jsx */
.grade-badge { display: inline-flex; align-items: center; color: #fff; border-radius: var(--radius-xs); font-weight: 800; letter-spacing: 0.03em; line-height: 1; }
.grade-md { height: 22px; padding: 0 7px; gap: 5px; }
.grade-md .grade-co { font-size: 11px; } .grade-md .grade-n { font-size: 13px; }
.grade-sm { height: 18px; padding: 0 6px; gap: 4px; }
.grade-sm .grade-co { font-size: 10px; } .grade-sm .grade-n { font-size: 11px; }
.grade-lg { height: 28px; padding: 0 9px; gap: 6px; }
.grade-lg .grade-co { font-size: 13px; } .grade-lg .grade-n { font-size: 16px; }
.grade-psa { background: var(--lv-grade-psa); }
.grade-bgs { background: var(--lv-grade-bgs); }
.grade-cgc { background: var(--lv-grade-cgc); }
.grade-sgc, .grade-tag, .grade-beckett, .grade-raw { background: var(--lv-ink-400); }

/* StatTile — DS StatTile.jsx */
.stat-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--border-subtle); }
.stat-ic { color: var(--text-strong); }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.02em; color: var(--text-strong); }
.stat-label { font-weight: 700; font-size: 14px; color: var(--text-strong); }
.stat-sub { font-size: 12.5px; line-height: 1.4; }
.stat-teal .stat-value, .stat-teal .stat-ic { color: var(--lv-teal); }
.stat-orange .stat-value, .stat-orange .stat-ic { color: var(--lv-orange); }

/* GradedCard — DS GradedCard.jsx */
.graded-card { width: 168px; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1.5px solid var(--border-subtle); }
.graded-card-img { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 63 / 88; background: var(--surface-sunken); }
.graded-card-img img { width: 100%; height: 100%; object-fit: cover; }
.graded-card-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--lv-ink-300); background: linear-gradient(160deg, var(--lv-ink-700), var(--lv-ink-800)); }
.graded-card-badge { position: absolute; top: 7px; left: 7px; }
.graded-card-name { font-weight: 700; font-size: 14px; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.graded-card-set { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.graded-card-price { font-weight: 800; font-size: 15px; color: var(--lv-teal); margin-top: 3px; }

/* LtvMeter — DS LtvMeter.jsx */
.ltv-meter { display: flex; flex-direction: column; gap: 8px; }
.ltv-head { display: flex; justify-content: space-between; align-items: baseline; }
.ltv-label { font-weight: 600; font-size: 13px; color: var(--text-body); }
.ltv-val { font-weight: 800; font-size: 14px; }
.ltv-track { position: relative; height: 8px; border-radius: var(--radius-pill); background: var(--surface-sunken); overflow: hidden; }
.ltv-fill { position: absolute; inset: 0; border-radius: var(--radius-pill); transition: width var(--dur-slow) var(--ease-out); }
.ltv-safe { color: var(--lv-success); } .ltv-fill.ltv-safe { background: var(--lv-success); }
.ltv-warn { color: var(--lv-orange); } .ltv-fill.ltv-warn { background: var(--lv-orange); }
.ltv-danger { color: var(--lv-danger); } .ltv-fill.ltv-danger { background: var(--lv-danger); }

/* Step list */
.step-list { display: flex; flex-direction: column; gap: var(--space-6); }
.step { display: flex; gap: var(--space-5); align-items: flex-start; }
.step-n { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: rgba(35, 170, 171, 0.12); border: 1px solid rgba(35, 170, 171, 0.3); color: var(--lv-teal); font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.step-body h4 { font-size: var(--fs-h4); margin-bottom: 4px; }
.step-body p { font-size: var(--fs-sm); }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-8) var(--space-10); border-radius: var(--radius-xl); background: linear-gradient(120deg, rgba(35, 170, 171, 0.1), rgba(249, 124, 52, 0.06)); border: 1px solid var(--border-default); margin-top: var(--space-10); }
.cta-band-text h3 { font-size: var(--fs-h3); margin-bottom: 4px; }
.cta-band-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Scanner mock (static instant-offer) */
.scanner { border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--border-default); overflow: hidden; max-width: 420px; }
.scanner-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); background: var(--surface-sunken); }
.scanner-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text-strong); }
.scanner-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lv-success); box-shadow: 0 0 0 3px rgba(34, 180, 94, 0.2); }
.scanner-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.scanner-card { display: flex; gap: 14px; align-items: center; }
.scanner-thumb { width: 64px; height: 90px; border-radius: var(--radius-sm); flex: none; }
.scanner-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-strong); }
.scanner-set { font-size: 13px; }
.scanner-grade { margin-top: 8px; }
.val-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--border-subtle); font-size: 14px; }
.val-row .num { font-weight: 700; color: var(--text-strong); }
.borrow-box { margin-top: 4px; padding: 16px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(249, 124, 52, 0.14), rgba(249, 124, 52, 0.05)); border: 1px solid rgba(249, 124, 52, 0.25); }
.borrow-box .eyebrow { color: var(--lv-orange-light); }
.borrow-amt { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--lv-orange); line-height: 1.1; margin-top: 4px; }
.borrow-sub { font-size: 13px; color: var(--lv-orange-light); }

/* Phone mock */
.phone-mock { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phone { width: 260px; max-width: 100%; }
.phone-bezel { position: relative; border-radius: 40px; background: #05050a; border: 1px solid var(--border-default); padding: 12px; box-shadow: var(--shadow-lg); }
.phone-speaker { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 54px; height: 5px; border-radius: 3px; background: #23232e; z-index: 2; }
.phone-screen { border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 19; background-color: var(--lv-black); background-image: var(--lv-cross-grid); background-size: cover; padding: 26px 14px 16px; }
.phone-mock figcaption { font-size: 13px; text-align: center; }

/* Layout helpers used across pages */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: var(--space-8); } .split.rev > :first-child { order: 0; } }
.feature-list { display: flex; flex-direction: column; gap: var(--space-4); }
.feature-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-sm); }
.feature-list .lv-icon { color: var(--lv-teal); flex: none; margin-top: 1px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); background: var(--surface-raised); font-size: 12.5px; color: var(--text-body); }
.trust-strip { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; padding-top: var(--space-5); border-top: 1px solid var(--border-subtle); }
.trust-strip .t { font-size: 13px; color: var(--text-muted); }
.trust-strip .t strong { color: var(--text-strong); font-weight: 600; }
/* Simple data table */
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tbl th, .tbl td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border-subtle); }
.tbl th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-caps); color: var(--text-muted); font-weight: 700; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ===== site sections ===== */

/* --- Header / nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: var(--space-6); }
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-link {
  font-size: 14.5px;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link:hover { color: var(--text-strong); }
.nav-link.active { color: var(--lv-teal); }
.nav-cta { margin-left: var(--space-2); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text-strong); border-radius: 2px; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3) var(--space-6) var(--space-6);
    background: var(--lv-ink-900);
    border-bottom: 1px solid var(--border-subtle);
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    visibility: hidden;
    transition: clip-path var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
  }
  .nav-links.active { clip-path: inset(0 0 0 0); pointer-events: auto; visibility: visible; transition: clip-path var(--dur-base) var(--ease-out); }
  .nav-link { padding: var(--space-4) 0; border-bottom: 1px solid var(--border-subtle); font-size: 16px; }
  .nav-cta { margin: var(--space-4) 0 0; }
}

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--border-subtle); padding-block: var(--space-16) var(--space-10); margin-top: var(--space-16); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-10); }
.footer-brand img { height: 30px; width: auto; margin-bottom: var(--space-4); }
.footer-brand p { max-width: 42ch; font-size: var(--fs-sm); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-col h5 {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-caps-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.footer-col a { display: block; padding: var(--space-2) 0; font-size: var(--fs-sm); color: var(--text-body); transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--lv-teal); }
.footer-legal { border-top: 1px solid var(--border-subtle); margin-top: var(--space-12); padding-top: var(--space-6); }
.footer-legal p { font-size: var(--fs-xs); line-height: var(--lh-normal); max-width: 90ch; }
.footer-baseline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-5); font-size: var(--fs-xs); }
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ===== page: home ===== */
.hero { padding-top: var(--space-16); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }
.hero-copy .display { margin: var(--space-3) 0 var(--space-4); }
.hero-copy .lede { max-width: 46ch; }
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: var(--space-6) 0; }
.hero .trust-strip { max-width: 46ch; }

.card-fan { position: relative; height: 440px; }
.card-fan .fan-card { position: absolute; top: 50%; left: 50%; }
.card-fan .graded-card { box-shadow: var(--shadow-lg); background: var(--lv-ink-800); }
.fan-1 { transform: translate(-50%, -50%) translateX(-185px) rotate(-15deg); z-index: 1; }
.fan-2 { transform: translate(-50%, -50%) translateX(-95px) translateY(18px) rotate(-7deg); z-index: 2; }
.fan-3 { transform: translate(-50%, -50%) translateY(-16px) scale(1.08); z-index: 4; }
.fan-4 { transform: translate(-50%, -50%) translateX(118px) translateY(28px) rotate(9deg); z-index: 3; }

.grade-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-4); }
.card .grade-row { margin-top: var(--space-4); }

.section-cta { text-align: center; margin-top: var(--space-8); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--lv-teal); font-weight: 600; font-size: 14.5px; }
.link-arrow:hover { color: var(--lv-teal-light); }
.link-arrow .lv-icon { transition: transform var(--dur-fast) var(--ease-out); }

.use-card { display: block; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--border-subtle); transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.use-card:hover { transform: translateY(-3px); border-color: rgba(35, 170, 171, 0.4); }
.use-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.use-card p { margin-bottom: var(--space-4); }
.use-card:hover .link-arrow .lv-icon { transform: translateX(3px); }

.app-scr { color: var(--text-strong); }
.app-rows { margin-top: var(--space-4); display: flex; flex-direction: column; }
.app-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 8px 0; border-top: 1px solid var(--border-subtle); color: var(--text-body); }
.app-row .num { color: var(--text-strong); font-weight: 700; }

.final-cta { text-align: center; padding: var(--space-16) var(--space-6); border-radius: var(--radius-2xl); background: linear-gradient(160deg, rgba(35, 170, 171, 0.1), rgba(249, 124, 52, 0.06)); border: 1px solid var(--border-default); }

@media (max-width: 880px) {
  .hero { padding-top: var(--space-10); overflow-x: clip; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fan { order: -1; overflow: hidden; }
  .hero-copy .lede, .hero .trust-strip { max-width: 100%; }
  .card-fan { height: 340px; }
  .fan-1 { transform: translate(-50%, -50%) translateX(-118px) rotate(-13deg) scale(0.9); }
  .fan-2 { transform: translate(-50%, -50%) translateX(-58px) translateY(14px) rotate(-6deg) scale(0.92); }
  .fan-3 { transform: translate(-50%, -50%) translateY(-10px) scale(1); }
  .fan-4 { transform: translate(-50%, -50%) translateX(76px) translateY(20px) rotate(8deg) scale(0.92); }
}
@media (max-width: 420px) {
  .card-fan { height: 300px; }
  .fan-1 { transform: translate(-50%, -50%) translateX(-92px) rotate(-12deg) scale(0.78); }
  .fan-2 { transform: translate(-50%, -50%) translateX(-46px) translateY(12px) rotate(-6deg) scale(0.82); }
  .fan-3 { transform: translate(-50%, -50%) translateY(-8px) scale(0.9); }
  .fan-4 { transform: translate(-50%, -50%) translateX(60px) translateY(16px) rotate(7deg) scale(0.82); }
}

/* ===== shared page components ===== */
.page-hero { padding-top: var(--space-16); padding-bottom: var(--space-8); }
.breadcrumb { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-5); }
.breadcrumb a:hover { color: var(--lv-teal); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-display); line-height: var(--lh-tight); margin: var(--space-3) 0 var(--space-4); }
.page-hero .lede { max-width: 62ch; }
.link-arrow .lv-icon { flex: none; }

/* Snapshot panel (tables / inputs) */
.snapshot { background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6); }
.snap-head { font-weight: 700; font-size: var(--fs-sm); margin-bottom: var(--space-4); color: var(--text-strong); }
.snap-note { font-size: var(--fs-xs); margin-top: var(--space-3); }

/* Key-value list */
.kv-list { display: flex; flex-direction: column; }
.kv-row { display: flex; justify-content: space-between; gap: var(--space-4); padding: 11px 0; border-bottom: 1px solid var(--border-subtle); font-size: var(--fs-sm); }
.kv-row:last-child { border-bottom: none; }
.kv-v { font-weight: 700; color: var(--lv-teal); white-space: nowrap; }

/* FAQ accordion */
.faq-list { max-width: var(--container-md); }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-q { display: flex; align-items: center; gap: var(--space-4); width: 100%; text-align: left; background: none; border: none; padding: var(--space-5) 0; cursor: pointer; }
.faq-tag { font-family: var(--font-body); font-size: var(--fs-2xs); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--lv-teal); font-weight: 700; flex: none; width: 84px; }
.faq-qt { flex: 1; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--fs-lg); color: var(--text-strong); }
.faq-icon { flex: none; color: var(--text-muted); transition: transform var(--dur-base) var(--ease-out); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--lv-teal); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { padding: 0 0 var(--space-5) calc(84px + var(--space-4)); color: var(--text-body); font-size: var(--fs-sm); max-width: 74ch; }
@media (max-width: 600px) {
  .faq-q { flex-wrap: wrap; gap: var(--space-2); }
  .faq-tag { width: auto; }
  .faq-icon { margin-left: auto; }
  .faq-a p { padding-left: 0; }
}

/* Roadmap timeline */
.timeline { display: flex; flex-direction: column; }
.tl { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--lv-ink-600); border: 2px solid var(--border-strong); margin-top: 6px; flex: none; }
.tl.is-live .tl-dot { background: var(--lv-teal); border-color: var(--lv-teal); box-shadow: var(--glow-teal); }
.tl-line { width: 2px; flex: 1; background: var(--border-default); margin-top: 6px; min-height: 20px; }
.tl:last-child .tl-line { display: none; }
.tl-content { padding-bottom: var(--space-8); }
.tl-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.tl-phase { font-family: var(--font-body); font-size: var(--fs-2xs); letter-spacing: var(--ls-caps-wide); text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.tl-content h3 { font-size: var(--fs-h3); margin: var(--space-2) 0; }
.tl-content p { font-size: var(--fs-sm); max-width: 68ch; }

/* Community — Vault Guardians */
.guardians { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (max-width: 880px) { .guardians { grid-template-columns: 1fr; } }
.guardian-panel { background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: var(--space-8); }
.points-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); }
.pts { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--lv-teal); }
.tier-badge { text-align: right; }
.tier-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--text-strong); }
.tier-next { font-size: var(--fs-xs); }
.pbar { height: 8px; border-radius: var(--radius-pill); background: var(--surface-sunken); overflow: hidden; margin: var(--space-5) 0; }
.pbar span { display: block; height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--lv-teal), var(--lv-orange)); }
.ladder { display: flex; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-6); }
.ladder-tier { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-2xs); color: var(--text-muted); text-align: center; flex: 1; }
.ladder-tier .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); margin: 0 auto; }
.ladder-tier strong { color: var(--text-strong); font-size: var(--fs-xs); }
.panel-h { font-family: var(--font-display); font-size: var(--fs-h4); margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-2); }
.lb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lv-orange); }
.quest-list, .leaderboard { display: flex; flex-direction: column; }
.quest, .lb-row { display: flex; align-items: center; gap: var(--space-3); padding: 12px 0; border-bottom: 1px solid var(--border-subtle); font-size: var(--fs-sm); }
.quest:last-child, .lb-row:last-child { border-bottom: none; }
.quest-ic { color: var(--lv-teal); flex: none; }
.quest-pts { margin-left: auto; font-weight: 800; color: var(--lv-teal); font-variant-numeric: tabular-nums; }
.lb-rank { width: 24px; font-weight: 800; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.lb-name { color: var(--text-strong); font-weight: 600; }
.lb-pts { margin-left: auto; font-weight: 700; color: var(--text-strong); }
.perks-box { margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(249, 124, 52, 0.09), transparent); border: 1px solid rgba(249, 124, 52, 0.2); }
.perks-title { font-family: var(--font-body); font-size: var(--fs-2xs); letter-spacing: var(--ls-caps-wide); text-transform: uppercase; color: var(--lv-orange); font-weight: 700; margin-bottom: var(--space-3); }
.perks li { font-size: var(--fs-sm); color: var(--text-body); padding: 5px 0 5px 20px; position: relative; }
.perks li::before { content: "→"; position: absolute; left: 0; color: var(--lv-teal); }

/* Pill row (grading badges block / trust) */
.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
