/* Focus the first screen on the app and its download destinations. */
/* Original 500px content height × screenshot aspect ratio, plus 40px padding. */
.lf-app-screenshot { display: block; flex: 0 1 calc(500px * 2048 / 2732 + 40px); max-width: 100%; align-self: flex-start; }
.lf-app-screenshot img { display: block; width: 100%; height: auto; padding-inline: 20px; }
.lf-back-to-top { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #ab6b03; color: #fff; }
.lf-back-to-top:hover { background: #895402; color: #fff; }
.lf-back-to-top:focus-visible { outline: 3px solid #185525; outline-offset: 3px; }
.lf-back-to-top[hidden] { display: none !important; }
#header .logo .brand-name { font: 700 28px/1 Montserrat, sans-serif; margin: 0; padding: 0; overflow-wrap: anywhere; }
#header .logo .brand-name a { color: #fff; text-decoration: none; }
#footer .footer-top .footer-heading { font-size: 16px; font-weight: 700; color: #fff; padding-bottom: 12px; }
body:has(.lf-home-hero) .btn-guides { background: #056300; color: #fff; }
body:has(.lf-home-hero) .btn-guides:hover { background: #034900; color: #fff; }
.guides-preview .guides-preview-eyebrow { color: #59647d; }
.section-title h2 { color: #626262; }
#footer .copyright a { color: #fff; text-decoration: underline; }
.header-help-link { color: #fff; font-size: 14px; padding: 12px 8px; white-space: nowrap; }
.header-help-link:hover { color: #fff; text-decoration: underline; }
#header .header-guides-link { margin-inline: 4px 0; padding: 12px 8px; }
#hero.lf-home-hero { background: #f0f5e9; padding: 48px 0 64px; }
#hero.lf-home-hero::before { display: none; }
body:has(.lf-home-hero) #header { background: #185525; position: sticky; top: 0; height: auto; min-height: 70px; }
body:has(.lf-home-hero) #header .container { flex-wrap: wrap; gap: 4px 0; padding-block: 8px; }
body:has(.lf-home-hero) #header .logo { min-width: 0; max-width: 100%; }
body:has(.lf-home-hero) #header .header-help-link,
body:has(.lf-home-hero) #header .header-guides-link { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.lf-hero-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
.lf-hero-copy { min-width: 0; text-align: start; }
.lf-eyebrow { font: 700 12px/1.6 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #37583b; }
#hero.lf-home-hero h1 { color: #173c22; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; margin: 12px 0 18px; letter-spacing: -.03em; }
#hero.lf-home-hero h1 span { color: #236c2d; border: 0; }
.lf-hero-summary { color: #35503b; font-size: 19px; line-height: 1.6; max-width: 32ch; }
.lf-hero-stores { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block: 24px 14px; }
.lf-hero-stores a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: calc(50% - 6px); }
.lf-hero-stores img { display: block; max-width: 100%; width: auto; height: 48px; object-fit: contain; }
.lf-hero-note { color: #435847; font-size: 13px; line-height: 1.6; max-width: 44ch; }
.lf-help-link, .lf-help-next a { color: #185525; text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.lf-help-link { display: inline-block; padding-block: 12px; font-size: 14px; }
.lf-help-next { margin: 30px 0 0; text-align: center; }
.lf-hunt-demo { min-width: 0; background: #fff; border: 1px solid #d1ddca; border-radius: 22px; padding: 20px; box-shadow: 0 12px 36px #23462a0c; color: #173c22; }
.lf-hunt-demo { text-align: start; }
.lf-demo-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.lf-example-label { flex: 0 0 auto; white-space: nowrap; font: 600 11px/1.6 system-ui, sans-serif; background: #edf3e9; padding: 4px 9px; border-radius: 20px; }
.lf-hunt-demo figure { margin: 0 0 12px; }
.lf-hunt-demo figure img { width: 100%; height: auto; display: block; border-radius: 12px; }
.lf-hunt-demo figcaption { color: #566754; font-size: 11px; line-height: 1.5; margin-top: 8px; }
.lf-demo-step { border-top: 1px solid #e2e9dc; }
.lf-demo-step summary { cursor: pointer; padding: 13px 2px; font-size: 14px; font-weight: 700; min-height: 48px; }
.lf-step-number { display: inline-block; color: #467b3d; margin-inline: 2px 7px; }
.lf-demo-step p { color: #4b5c4b; font-size: 13px; line-height: 1.65; margin: 0 0 14px; margin-inline-start: 24px; }
[dir="rtl"] .lf-eyebrow, [dir="rtl"] #hero.lf-home-hero h1 { letter-spacing: normal; }
[dir="rtl"] .lf-help-link > span[aria-hidden], [dir="rtl"] .lf-help-next span[aria-hidden] { display: inline-block; transform: scaleX(-1); }
.lf-home-hero a:focus-visible, .lf-demo-step summary:focus-visible, .header-help-link:focus-visible { outline: 3px solid #a76000; outline-offset: 4px; }
@media (max-width: 991px) {
  /* A wrapped, enlarged mobile header stays in flow instead of covering text. */
  body:has(.lf-home-hero) #header { position: relative; }
  #hero.lf-home-hero { padding: 24px 0 42px; }
  .lf-hero-layout { grid-template-columns: 1fr; gap: 28px; max-width: 640px; }
  .lf-hero-summary { max-width: none; }
}
@media (max-width: 575px) {
  #hero.lf-home-hero { padding-top: 12px; }
  .lf-hero-layout { padding-inline: 20px; }
  #hero.lf-home-hero h1 { font-size: 32px; }
  .lf-hero-summary { font-size: 16px; line-height: 1.5; margin-bottom: 12px; }
  .lf-hero-stores { gap: 10px; margin-block: 16px 10px; }
  .lf-hero-stores img { height: 44px; }
  .lf-hunt-demo { padding: 16px; border-radius: 16px; }
  #header .logo .brand-name { font-size: 23px; }
  #header .header-guides-link, .header-help-link { font-size: 12px; padding-inline: 6px; }
}
