/* Page base. Only the page root and lv-* classes are styled: no bare element gets a global rule,
   so feature stylesheets never fight a reset. Zero-specificity :where() keeps every class below
   winning. */
.lv-page {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:where(.lv-page *, .lv-page *::before, .lv-page *::after) { box-sizing: border-box; }
:where(.lv-page h1, .lv-page h2, .lv-page h3, .lv-page p, .lv-page dl, .lv-page dd, .lv-page figure) { margin: 0; }
:where(.lv-page a) { color: var(--blue); text-decoration: none; }
:where(.lv-page button) {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
:where(.lv-page input, .lv-page select, .lv-page textarea) { font: inherit; color: inherit; }
:where(.lv-page img) { max-width: 100%; display: block; }
:where(.lv-page :focus-visible) { outline: 3px solid var(--blue-ring); outline-offset: 3px; border-radius: 12px; }
:where(.lv-page [hidden]) { display: none !important; }

.lv-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--bg); border-radius: 12px; }
.lv-skip:focus { left: 8px; }
.lv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout: adviser container and buyer column. */
.lv-container { width: 100%; max-width: var(--w-adviser); margin: 0 auto; padding: 0 var(--gutter); }
.lv-main { padding-top: 20px; padding-bottom: 48px; }
.lv-column { position: relative; width: 100%; max-width: var(--w-buyer); margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; z-index: 1; }
.lv-buyer-main { position: relative; flex: 1; padding: 0 var(--gutter) calc(120px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .lv-page-buyer .lv-column.is-wide { max-width: var(--w-adviser); }
}
.lv-foot { padding: 24px var(--gutter) 32px; text-align: center; font-size: var(--fs-meta); color: var(--faint); }

/* Type scale */
.lv-title { font-size: var(--fs-title); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.lv-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.lv-meta { font-size: var(--fs-meta); color: var(--grey); }
.lv-code { font-size: var(--fs-code); font-weight: 600; letter-spacing: .04em; opacity: .6; white-space: nowrap; }
.lv-lead { font-size: var(--fs-base); color: var(--grey); line-height: 1.45; text-wrap: pretty; }
.lv-wordmark { font-family: var(--font-mark); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--blue-deep); line-height: 1; }

.lv-section { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.lv-stack { display: flex; flex-direction: column; gap: 12px; }
.lv-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lv-spacer { flex: 1; }
