*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--lf-bg);
  color: var(--lf-text);
  font-family: var(--lf-font-body);
  font-size: var(--lf-fs-md);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--lf-font-display);
  font-weight: var(--lf-display-weight);
  letter-spacing: var(--lf-display-tracking);
  line-height: 1.12;
  margin: 0 0 var(--lf-s4);
  text-wrap: balance;
}
h1 { font-size: var(--lf-fs-2xl); }
h2 { font-size: var(--lf-fs-xl); }
h3 { font-size: var(--lf-fs-lg); }
p { margin: 0 0 var(--lf-s4); text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lf-accent); outline-offset: 3px; border-radius: 4px; }

.lf-skip {
  position: absolute; left: -999px; top: 8px; background: var(--lf-accent); color: var(--lf-accent-ink);
  padding: 8px 14px; border-radius: 6px; z-index: 100;
}
.lf-skip:focus { left: 8px; }

.lf-wrap { width: 100%; max-width: var(--lf-max); margin-inline: auto; padding-inline: var(--lf-gutter); }
.lf-section { padding-block: var(--lf-s8); }
.lf-section--tight { padding-block: var(--lf-s7); }
.lf-dim { color: var(--lf-text-dim); }
.lf-eyebrow { font-size: var(--lf-fs-sm); color: var(--lf-accent); font-weight: 600; margin-bottom: var(--lf-s3); }
.lf-lead { font-size: var(--lf-fs-lg); color: var(--lf-text-dim); max-width: 38em; }
.lf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  background: var(--lf-accent); color: var(--lf-accent-ink);
  transition: transform 0.18s var(--lf-ease), filter 0.18s var(--lf-ease);
}
.lf-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lf-btn:active { transform: translateY(0); }
.lf-btn--ghost { background: transparent; color: var(--lf-text); border-color: var(--lf-line); }
.lf-btn--ghost:hover { border-color: var(--lf-text-dim); }
.lf-btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

.lf-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--lf-bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lf-line); }
.lf-header__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: var(--lf-s4); }
.lf-brand { font-family: var(--lf-font-display); font-weight: 800; letter-spacing: -0.03em; text-decoration: none; font-size: 1.25rem; }
.lf-brand span { color: var(--lf-accent); }
.lf-nav { display: flex; align-items: center; gap: var(--lf-s5); font-size: var(--lf-fs-sm); }
.lf-nav a { text-decoration: none; color: var(--lf-text-dim); }
.lf-nav a:hover, .lf-nav a[aria-current="page"] { color: var(--lf-text); }
.lf-nav .lf-btn { min-height: 40px; padding: 8px 18px; color: var(--lf-accent-ink); }

.lf-footer { border-top: 1px solid var(--lf-line); padding-block: var(--lf-s6); color: var(--lf-text-dim); font-size: var(--lf-fs-sm); }
.lf-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--lf-s4); }

@media (max-width: 720px) {
  .lf-nav a:not(.lf-btn) { display: none; }
  .lf-section { padding-block: var(--lf-s7); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
