/* Lakeside SEO V3.5 Mobile Polish + Contrast Fix
   Purpose: final mobile polish after V3.4. Keeps the cleaner Lakeside palette, fixes bottom CTA contrast,
   improves logo/header scale, cleans footer spacing, and makes comparison tables mobile-friendly. */
:root{
  --ls-pine:#10291f;
  --ls-pine-2:#0a1c15;
  --ls-green:#1f6a3a;
  --ls-green-2:#2d7b3d;
  --ls-grass:#8cc63f;
  --ls-sky:#7bcfe3;
  --ls-leaf:#eef7ef;
  --ls-cream:#fbfcf7;
  --ls-white:#ffffff;
  --ls-ink:#111a15;
  --ls-muted:#5b6b62;
  --ls-line:#dce7df;
}

/* Header/logo refinement */
html body .brand-mark.brand-logo,
html body .instant-quote-page .site-header .brand-mark.brand-logo{
  width:88px!important;
  height:58px!important;
  min-width:88px!important;
}
html body .brand-mark.brand-logo img,
html body .instant-quote-page .site-header .brand-mark.brand-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  filter:drop-shadow(0 3px 7px rgba(16,41,31,.14))!important;
}
html body .brand strong,
html body .instant-quote-page .site-header .brand strong{
  font-weight:950!important;
  letter-spacing:-.035em!important;
}
html body .brand em,
html body .instant-quote-page .site-header .brand em{
  letter-spacing:.005em!important;
}
html body .site-header .container,
html body .instant-quote-page .site-header .container{
  padding-left:18px!important;
  padding-right:18px!important;
}
html body .menu a.btn-primary,
html body .menu a.btn,
html body .instant-quote-page .site-header .menu a.btn-primary{
  color:#fff!important;
}

/* Final quote-strip contrast fix. These selectors are intentionally strong because earlier theme layers used !important. */
html body .container.quote-strip,
html body section .container.quote-strip,
html body .quote-strip{
  background:
    radial-gradient(circle at 88% 10%,rgba(140,198,63,.18),transparent 18rem),
    linear-gradient(135deg,#1f6a3a 0%,#123725 58%,#0d241a 100%)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 16px 34px rgba(16,41,31,.18)!important;
  color:#fff!important;
}
html body .container.quote-strip *,
html body section .container.quote-strip *,
html body .quote-strip *{
  color:#fff!important;
}
html body .container.quote-strip h1,
html body .container.quote-strip h2,
html body .container.quote-strip h3,
html body .container.quote-strip p,
html body .container.quote-strip .eyebrow,
html body section .container.quote-strip h1,
html body section .container.quote-strip h2,
html body section .container.quote-strip h3,
html body section .container.quote-strip p,
html body section .container.quote-strip .eyebrow,
html body .quote-strip h1,
html body .quote-strip h2,
html body .quote-strip h3,
html body .quote-strip p,
html body .quote-strip .eyebrow{
  color:#fff!important;
  text-shadow:0 1px 1px rgba(0,0,0,.16)!important;
}
html body .container.quote-strip .eyebrow,
html body section .container.quote-strip .eyebrow,
html body .quote-strip .eyebrow{
  color:#dff5ce!important;
  opacity:1!important;
}
html body .container.quote-strip .btn,
html body section .container.quote-strip .btn,
html body .quote-strip .btn,
html body .container.quote-strip a.btn,
html body section .container.quote-strip a.btn,
html body .quote-strip a.btn{
  background:#fff!important;
  color:#145d34!important;
  border-color:#fff!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
html body .container.quote-strip .btn *,
html body section .container.quote-strip .btn *,
html body .quote-strip .btn *{
  color:#145d34!important;
  text-shadow:none!important;
}

/* Cards and form rhythm: subtle but consistent. */
html body .card,
html body .panel,
html body .hero-card,
html body .faq-list details,
html body .instant-quote-page .panel{
  border-color:rgba(16,41,31,.11)!important;
  box-shadow:0 12px 28px rgba(16,41,31,.075)!important;
}
html body .faq-list details summary{
  color:var(--ls-ink)!important;
}
html body .pill,
html body .area-links a,
html body .badge{
  box-shadow:0 3px 10px rgba(16,41,31,.04)!important;
}
html body .btn-primary,
html body button:not(.menu-toggle):not(.ghost),
html body .instant-quote-page button:not(.menu-toggle):not(.ghost){
  color:#fff!important;
}
html body .btn-secondary,
html body .instant-quote-page button.ghost:not(.menu-toggle){
  color:#145d34!important;
}

/* Mobile comparison tables become readable stacked cards. */
@media(max-width:720px){
  html body .table{
    display:block!important;
    width:100%!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  html body .table thead{
    display:none!important;
  }
  html body .table tbody,
  html body .table tr,
  html body .table td{
    display:block!important;
    width:100%!important;
  }
  html body .table tr{
    background:#fff!important;
    border:1px solid rgba(16,41,31,.12)!important;
    border-radius:18px!important;
    box-shadow:0 10px 24px rgba(16,41,31,.07)!important;
    padding:12px 14px!important;
    margin:0 0 14px!important;
  }
  html body .table td{
    border:0!important;
    border-bottom:1px solid rgba(16,41,31,.08)!important;
    padding:9px 0!important;
    color:var(--ls-ink)!important;
  }
  html body .table td:last-child{border-bottom:0!important;}
  html body .table td:before{
    display:block!important;
    margin-bottom:3px!important;
    color:#1f6a3a!important;
    font-size:.72rem!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.10em!important;
  }
  html body .table td:nth-child(1):before{content:"Plan";}
  html body .table td:nth-child(2):before{content:"Best fit";}
  html body .table td:nth-child(3):before{content:"Typical scope";}
  html body .table td:nth-child(4):before{content:"Starting point";}
}

/* Mobile polish */
@media(max-width:660px){
  html body .topbar-inner{
    font-size:.86rem!important;
    line-height:1.4!important;
  }
  html body .nav,
  html body .instant-quote-page .site-header .nav{
    min-height:78px!important;
  }
  html body .brand,
  html body .instant-quote-page .site-header .brand{
    gap:10px!important;
  }
  html body .brand-mark.brand-logo,
  html body .instant-quote-page .site-header .brand-mark.brand-logo{
    width:78px!important;
    height:52px!important;
    min-width:78px!important;
  }
  html body .brand strong,
  html body .instant-quote-page .site-header .brand strong{
    font-size:1.04rem!important;
    line-height:1.05!important;
  }
  html body .brand em,
  html body .instant-quote-page .site-header .brand em{
    font-size:.76rem!important;
    line-height:1.13!important;
  }
  html body .menu-toggle,
  html body .instant-quote-page .site-header .menu-toggle{
    min-height:44px!important;
    padding:9px 13px!important;
    font-size:.92rem!important;
  }
  html body .hero .container,
  html body .page-hero .container{
    padding-top:38px!important;
    padding-bottom:38px!important;
  }
  html body .hero h1,
  html body .page-hero h1{
    letter-spacing:-.045em!important;
  }
  html body .section{
    padding-top:46px!important;
    padding-bottom:46px!important;
  }
  html body .card,
  html body .panel,
  html body .faq-list details{
    border-radius:18px!important;
  }
  html body .container.quote-strip,
  html body section .container.quote-strip,
  html body .quote-strip{
    width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:20px 14px!important;
    border-radius:18px!important;
    display:block!important;
  }
  html body .container.quote-strip h2,
  html body section .container.quote-strip h2,
  html body .quote-strip h2{
    font-size:1.28rem!important;
    line-height:1.08!important;
    margin-bottom:16px!important;
  }
  html body .container.quote-strip .eyebrow,
  html body section .container.quote-strip .eyebrow,
  html body .quote-strip .eyebrow{
    font-size:.68rem!important;
    line-height:1.2!important;
    margin-bottom:8px!important;
  }
  html body .container.quote-strip .btn,
  html body section .container.quote-strip .btn,
  html body .quote-strip .btn{
    width:100%!important;
    min-height:42px!important;
    margin-top:4px!important;
  }
  html body .footer{
    padding-top:42px!important;
    padding-bottom:24px!important;
  }
  html body .footer-grid{
    gap:26px!important;
  }
  html body .footer .brand-mark.brand-logo,
  html body .footer .brand-mark{
    width:92px!important;
    height:60px!important;
    min-width:92px!important;
  }
  html body .footer p,
  html body .footer a,
  html body .footer .fine{
    line-height:1.55!important;
  }
  html body .footer .fine{
    font-size:.87rem!important;
    color:#c2d2ca!important;
  }
  html body .instant-quote-page .iq-hero{
    padding-top:38px!important;
    padding-bottom:40px!important;
  }
  html body .instant-quote-page .iq-hero h1{
    font-size:2.35rem!important;
    line-height:1.08!important;
  }
}
