/* Cross-template reading and keyboard foundation, then shared privacy UI. */
.lf-site-skip {
  position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100001;
  max-width: calc(100vw - 16px); padding: 12px 16px; border: 2px solid #173c22;
  border-radius: 8px; color: #173c22; background: #fff; font: 700 16px/1.4 system-ui, sans-serif;
  transform: translateY(calc(-100% - 16px)); text-decoration: underline;
}
.lf-site-skip:focus { transform: none; color: #173c22; }
:where(a, button, select, summary, [tabindex]):focus-visible { outline: 3px solid #a76000; outline-offset: 4px; }
main:focus { outline: none; }
main, .legal-card { min-width: 0; overflow-wrap: anywhere; }
body:has(.lf-home-hero) main[id], body:has(.lf-home-hero) main [id] { scroll-margin-top: 90px; }
.legal-wrap .legal-card h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.legal-nav .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-nav .home-link { float: none; }
body:has(.legal-wrap) > footer a { color: #185525; text-decoration: underline; }
.lf-policy-header { background: #185525; padding: 20px; }
.lf-policy-header .container, .lf-policy-header nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; max-width: 856px; margin: auto; }
.lf-policy-header .brand-name { margin: 0; font: 700 26px/1.4 system-ui, sans-serif; }
.lf-policy-header a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lf-policy-header .brand-name a { text-decoration: none; }
.lf-policy-header nav a { display: inline-block; padding-block: 10px; }
.lf-terms { max-width: 900px; margin: auto; }
.lf-terms > [data-custom-class="body"] { padding: 40px 22px 64px !important; }
.lf-terms a { text-decoration: underline; text-underline-offset: 3px; }
#footer .footer-top .footer-heading { font-size: 16px; font-weight: 700; color: #fff; padding-bottom: 12px; }

/* Inline legacy guide rules are overridden here, once, after each page's CSS. */
.guide-body .sources-box a, .guide-body .states-links a,
.guide-body a.tbl-aff, .guide-body .pick .pick-tag, .guide-body .pros .pc-h,
.guide-body .kit .k-h, .guide-body .src a, .guide-body .land.yes .verdict-tag { color: #056300; }
.guide-body .land.maybe .verdict-tag { color: #765300; }
.guide-body strong[style*="#d19a1e"] { color: #765300 !important; }
.guide-body strong[style*="#1c9915"] { color: #056300 !important; }
.guide-body .hub-featured .badge { background: #056300; }
.guide-body a.tbl-aff { text-decoration: underline; text-underline-offset: 3px; }
.guide-body .btn-aff { color: #fff; background: #056300; text-decoration: none; }
.guide-body .btn-aff:hover { color: #fff; background: #034900; text-decoration: underline; }
.guide-body .pill { font-size: .8rem; }
.guide-body .pill[style*="#1c9915"] { background: #185525 !important; }
.guide-body .pill[style*="#d19a1e"] { background: #765300 !important; }
.guide-body .pill[style*="#b23b3b"] { background: #9b3030 !important; }
.guide-body .lf-table-scroll { max-width: 100%; overflow-x: auto; margin: 22px 0; border: 1px solid #cbd3de; border-radius: 8px; }
.guide-body .lf-table-scroll table.compare { min-width: 44rem; margin: 0; overflow-wrap: normal; }
.guide-body .lf-rules-table table.compare { min-width: 32rem; }
.guide-body table.compare caption { caption-side: top; text-align: start; padding: 12px; font-weight: 700; color: #26352b; background: #f3f6fb; }
.guide-body table.compare th[scope="row"] { background: inherit; font: inherit; font-weight: 600; }
.guide-body .lf-table-hint { color: #4a5475; font-size: .9rem; margin-bottom: 8px; }
.guide-body .lf-table-hint + .lf-table-scroll { margin-top: 0; }
.guide-body .hub-card-text { min-width: 0; }
@media print {
  .lf-site-skip, .lf-table-hint { display: none !important; }
  .guide-body .lf-table-scroll { overflow: visible; border: 0; }
  .guide-body .lf-table-scroll table.compare { min-width: 0; width: 100%; table-layout: fixed; overflow-wrap: anywhere; }
  .guide-body table.compare th, .guide-body table.compare td { padding: 5px; }
}

[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; }
.lf-privacy-footer {
  padding: 14px 20px; background: #f4f7f2; color: #253424;
  text-align: center; font: 14px/1.5 system-ui, sans-serif;
}
.lf-privacy-footer button, .lf-privacy-footer a { color: #185b19; font: inherit; text-decoration: underline; }
.lf-privacy-footer button { border: 0; background: none; padding: 12px; cursor: pointer; }
.lf-consent {
  position: fixed; inset-inline: 12px; bottom: 12px; z-index: 100000;
  width: auto; max-width: 580px; margin-inline: auto; padding: 16px;
  max-height: calc(100vh - 24px); overflow-y: auto; box-sizing: border-box;
  border: 1px solid #cbd9c6; border-radius: 16px; background: #fff; color: #253424;
  box-shadow: 0 8px 36px #102b2033; font: 14px/1.5 system-ui, sans-serif; text-align: start;
}
.lf-consent[hidden], .lf-consent [hidden], .lf-privacy-footer [hidden] { display: none !important; }
.lf-consent h2 { font: 700 19px/1.3 system-ui, sans-serif; color: #173b1b; margin: 0 0 8px; }
.lf-consent p { margin: 0 0 12px; }
.lf-consent a { color: #185b19; text-decoration: underline; }
.lf-consent-status { font-size: 13px; color: #435442; }
.lf-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lf-consent-actions button {
  flex: 1 1 100px; min-height: 44px; padding: 10px 8px; cursor: pointer;
  border: 1px solid #185b19; border-radius: 8px; background: #fff; color: #185b19;
  font: 600 14px/1.4 system-ui, sans-serif;
}
.lf-consent-actions button:hover { background: #edf5e9; }
.lf-consent button:focus-visible, .lf-consent a:focus-visible,
.lf-privacy-footer button:focus-visible { outline: 3px solid #cb7600; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .animated, .hero-waves use { animation: none !important; }
}
@media print { .lf-consent, .lf-privacy-footer button { display: none !important; } }
