/* LLM sitewide mobile responsive layer. Desktop remains unchanged. */
.llm-mobile-header,.llm-mobile-drawer,.llm-mobile-home-hero{display:none}
@media (max-width:820px){
  :root{--llm-mobile-navy:#021528;--llm-mobile-panel:#071d33;--llm-mobile-gold:#eda91a;--llm-mobile-white:#f6f3ed;--llm-mobile-muted:#b8c7d5}
  html{scroll-padding-top:68px;-webkit-text-size-adjust:100%}
  body{overflow-x:hidden!important}
  body.llm-mobile-ready{padding-top:64px!important}
  body.llm-mobile-menu-open{overflow:hidden!important}

  .llm-mobile-header{position:fixed;z-index:10000;left:0;right:0;top:0;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 16px;background:#021528;border-bottom:1px solid rgba(237,169,26,.34);box-shadow:0 7px 22px rgba(0,0,0,.22)}
  .llm-mobile-brand{display:flex;align-items:center;gap:10px;min-width:0;color:var(--llm-mobile-white);text-decoration:none}
  .llm-mobile-mark{display:flex;align-items:center;gap:5px;flex:0 0 auto;color:var(--llm-mobile-gold)}
  .llm-mobile-mark::before,.llm-mobile-mark::after{content:"";width:16px;height:5px;border-top:1px solid var(--llm-mobile-gold);border-bottom:1px solid var(--llm-mobile-gold);opacity:.78}
  .llm-mobile-mark b{font:400 23px/1 "Times New Roman",Times,serif;letter-spacing:-.02em;transform:scaleX(.94)}
  .llm-mobile-brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1.05}
  .llm-mobile-brand-copy strong{font:700 13px/1.1 Georgia,"Times New Roman",serif;white-space:nowrap}
  .llm-mobile-brand-copy small{margin-top:3px;color:#9fb0c1;font-size:8px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
  .llm-mobile-menu-button{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(237,169,26,.58);border-radius:9px;background:#071d33;color:var(--llm-mobile-gold);cursor:pointer;-webkit-tap-highlight-color:transparent}
  .llm-mobile-menu-icon,.llm-mobile-menu-icon::before,.llm-mobile-menu-icon::after{display:block;width:20px;height:2px;border-radius:99px;background:currentColor;transition:transform .18s ease,opacity .18s ease}
  .llm-mobile-menu-icon{position:relative}
  .llm-mobile-menu-icon::before,.llm-mobile-menu-icon::after{content:"";position:absolute;left:0}
  .llm-mobile-menu-icon::before{top:-6px}.llm-mobile-menu-icon::after{top:6px}
  .llm-mobile-menu-button[aria-expanded="true"] .llm-mobile-menu-icon{background:transparent}
  .llm-mobile-menu-button[aria-expanded="true"] .llm-mobile-menu-icon::before{top:0;transform:rotate(45deg)}
  .llm-mobile-menu-button[aria-expanded="true"] .llm-mobile-menu-icon::after{top:0;transform:rotate(-45deg)}
  .llm-mobile-drawer{position:fixed;z-index:9999;left:0;right:0;top:64px;bottom:0;display:block;padding:14px 14px max(28px,env(safe-area-inset-bottom));background:rgba(2,21,40,.985);transform:translateY(-110%);opacity:0;pointer-events:none;overflow:auto;transition:transform .22s ease,opacity .18s ease}
  .llm-mobile-drawer.is-open{transform:translateY(0);opacity:1;pointer-events:auto}
  .llm-mobile-drawer nav{display:grid;gap:8px;max-width:560px;margin:0 auto}
  .llm-mobile-drawer a{display:flex;align-items:center;justify-content:space-between;min-height:49px;padding:12px 14px;border:1px solid rgba(237,169,26,.27);border-radius:9px;background:#071d33;color:#f6f3ed;text-decoration:none;font-size:15px;font-weight:800}
  .llm-mobile-drawer a::after{content:"›";color:#eda91a;font-size:21px;font-weight:400}
  .llm-mobile-drawer a:active{background:#eda91a;color:#071d33}.llm-mobile-drawer a:active::after{color:#071d33}
  .llm-mobile-drawer .llm-mobile-login{margin-top:7px;border-color:#eda91a;color:#eda91a}

  body.llm-mobile-ready:not(.llm-homepage) .topbar,
  body.llm-mobile-ready:not(.llm-homepage) .site-header{display:none!important}

  body.llm-homepage{padding-top:64px!important;background:#071d33!important}
  body.llm-homepage .hero-wrap{display:none!important}
  body.llm-homepage .llm-mobile-home-hero{display:block;position:relative;overflow:hidden;min-height:calc(100svh - 64px);padding:34px 18px 32px;background:radial-gradient(circle at 76% 20%,#123b62 0,rgba(18,59,98,.16) 32%,transparent 50%),linear-gradient(180deg,#071d33 0%,#0b2744 100%)}
  .llm-mobile-home-eyebrow{margin:0 0 12px;color:#eda91a;font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
  .llm-mobile-home-hero h1{max-width:500px;margin:0;font:400 clamp(38px,11vw,58px)/.98 Georgia,"Times New Roman",serif;letter-spacing:-.04em;color:#f6f3ed}
  .llm-mobile-home-hero h1 span{display:block;margin-top:7px;color:#eda91a}
  .llm-mobile-home-lede{max-width:500px;margin:20px 0 0;color:#d6e0e9;font-size:16px;line-height:1.6}
  .llm-mobile-home-actions{display:grid;grid-template-columns:1fr;gap:10px;max-width:500px;margin:24px 0 0}
  .llm-mobile-home-actions a{display:flex;align-items:center;justify-content:center;min-height:50px;padding:12px 16px;border:1px solid #eda91a;border-radius:9px;text-decoration:none;font-size:13px;font-weight:900;letter-spacing:.02em}
  .llm-mobile-home-actions .primary{background:#eda91a;color:#071d33}.llm-mobile-home-actions .secondary{background:#071d33;color:#ffd16b}

  .llm-mobile-market-panel{max-width:520px;margin:28px 0 0;padding:17px;border:1px solid rgba(237,169,26,.32);border-radius:14px;background:linear-gradient(145deg,#0b2a48,#071d33);box-shadow:0 14px 30px rgba(0,0,0,.2)}
  .llm-mobile-market-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
  .llm-mobile-market-heading span{color:#eda91a;font-size:11px;font-weight:900;letter-spacing:.14em}
  .llm-mobile-market-heading a{color:#d6e0e9;font-size:12px;font-weight:800;text-decoration:none}
  .llm-mobile-state-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .llm-mobile-state-grid a{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:9px;min-height:48px;padding:9px 10px;border:1px solid rgba(237,169,26,.22);border-radius:9px;background:#081f37;color:#f6f3ed;text-decoration:none}
  .llm-mobile-state-grid b{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(237,169,26,.48);border-radius:50%;color:#eda91a;font:700 13px Georgia,serif}
  .llm-mobile-state-grid span{min-width:0;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .llm-mobile-state-grid a:active{border-color:#eda91a;background:#102f50}

  h1{overflow-wrap:anywhere}
  button,a,input,select,textarea{touch-action:manipulation}
  input,select,textarea{font-size:16px!important}
  button,.btn,.button,[class*="btn"],input[type="submit"]{min-height:46px}

  .hero{padding-left:18px!important;padding-right:18px!important}
  .wrap,.content,.container,.page,.shell,.main{max-width:100%!important;padding-left:18px!important;padding-right:18px!important}
  .hero-inner{grid-template-columns:1fr!important;gap:24px!important;padding-left:18px!important;padding-right:18px!important}
  .hero h1{font-size:clamp(36px,10vw,50px)!important;line-height:1.02!important}
  .hero .intro,.intro,.lede{font-size:16px!important;line-height:1.58!important}
  .section{padding:22px 18px!important;border-radius:12px!important}
  .section h2{font-size:clamp(27px,8vw,36px)!important}

  .sources,.broker-cta,.facts{grid-template-columns:1fr!important;padding-left:14px!important;padding-right:14px!important}
  .toolbar{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;padding:0 14px 14px!important}
  .toolbar input,.toolbar select{min-height:48px!important;padding:12px 13px!important;border-radius:9px!important}
  .summary{padding-left:14px!important;padding-right:14px!important}
  .grid{grid-template-columns:1fr!important;gap:14px!important;padding-left:14px!important;padding-right:14px!important}
  .card{border-radius:12px!important}
  .card-head{padding:17px 16px 13px!important}.card-body{padding:15px 16px 17px!important}
  .county{font-size:26px!important}.price{font-size:24px!important}
  .actions{gap:9px!important}.actions .btn,.card .btn{min-height:48px!important;font-size:12px!important}
  .load-wrap,.notice,.updated{padding-left:14px!important;padding-right:14px!important}

  .market-grid{grid-template-columns:1fr!important;gap:12px!important}
  .market-card{min-height:112px!important;padding:16px!important;gap:12px!important}
  .market-meta{min-width:0!important;gap:9px!important}
  .state-slogan{max-width:98px!important;font-size:11px!important}.state-seal{width:58px!important;height:58px!important;flex-basis:58px!important}.state-code{font-size:20px!important}

  .seller-paths,.seller-path-grid,.license-grid,.service-grid,.option-grid,.options-grid,.feature-grid,.features,.cards,.steps,.broker-grid,.lender-grid{grid-template-columns:1fr!important}
  .flow{grid-template-columns:1fr!important}.flow-nav{position:relative!important;top:auto!important}
  form{max-width:100%!important}
  form input,form select,form textarea{width:100%!important;min-height:48px!important}
  form textarea{min-height:120px!important}
  .form-grid,.form-row,.fields,.two-col,.two-column,.review-grid{grid-template-columns:1fr!important}

  .table-wrap,.table-container,[class*="table-wrap"]{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .table-wrap table,.table-container table,[class*="table-wrap"] table{min-width:620px}

  img,svg,video,iframe{max-width:100%}
  .footer,.site-footer{padding-left:18px!important;padding-right:18px!important}
}

@media (max-width:390px){
  .llm-mobile-brand-copy small{display:none}
  .llm-mobile-brand-copy strong{font-size:12px}
  .llm-mobile-mark::before,.llm-mobile-mark::after{width:13px}
  .llm-mobile-home-hero{padding-left:15px!important;padding-right:15px!important}
  .llm-mobile-state-grid{grid-template-columns:1fr}
}
