/* Lone Mountain Works — shared styles for the "What We Do" hub + feature pages.
   Mirrors the homepage design system; homepage keeps its own inline styles. */
:root{
  --navy:#16283A; --navy-light:#294056; --paper:#F7F4EE; --terracotta:#C15A2C;
  --ink:#181E2B; --white:#FFFFFF; --line:rgba(22,40,58,0.14);
  --sage:#5A7A52; --sage-bright:#7FA46A; --sage-tint:rgba(90,122,82,0.13);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--paper); color:var(--ink); font-family:'Source Sans 3',sans-serif; -webkit-font-smoothing:antialiased; line-height:1.6;}
img{max-width:100%;}
a{color:var(--sage);}
.wrap{max-width:1000px; margin:0 auto; padding:0 40px;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }

/* nav */
.nav{position:sticky; top:0; z-index:50; display:flex; justify-content:space-between; align-items:center; padding:16px 40px; background:rgba(247,244,238,0.9); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line);}
.nav .brand{display:flex; align-items:center; gap:9px; text-decoration:none;}
.nav .brand svg{height:28px; width:auto;}
.nav .brand span{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:18px; color:var(--navy);}
.nav .links{display:flex; align-items:center; gap:26px;}
.nav .links a{font-size:14px; font-weight:500; color:var(--navy); text-decoration:none; opacity:.82; transition:opacity .15s;}
.nav .links a:hover{opacity:1;}
.nav .links a.active{opacity:1; color:var(--sage); font-weight:600;}
@media (max-width:760px){ .nav .links{display:none;} }

/* buttons */
.btn{display:inline-block; border:none; border-radius:8px; padding:14px 26px; font-size:14px; font-weight:600; cursor:pointer; font-family:'Source Sans 3',sans-serif; text-decoration:none; transition:transform .15s, box-shadow .15s, background .15s;}
.btn-primary{background:var(--sage); color:var(--white); box-shadow:0 10px 24px rgba(90,122,82,0.35);}
.btn-primary:hover{background:var(--sage-bright); transform:translateY(-2px);}
.btn-ghost{background:transparent; color:var(--navy); border:1.5px solid var(--line);}
.btn-ghost:hover{border-color:var(--sage); color:var(--sage);}
.nav .btn{padding:9px 18px; font-size:13px;}

/* page hero */
.phero{padding:60px 0 34px; text-align:center;}
.breadcrumb{font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:#8a90a0; margin-bottom:14px;}
.breadcrumb a{color:#8a90a0; text-decoration:none;} .breadcrumb a:hover{color:var(--sage);}
.eyebrow{font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.08em; color:var(--terracotta); display:inline-block; margin-bottom:16px;}
.phero h1{font-family:'Space Grotesk',sans-serif; font-size:clamp(30px,4.6vw,46px); line-height:1.08; color:var(--navy); margin:0 0 18px; font-weight:800; letter-spacing:-0.01em; text-wrap:balance;}
.phero p.lead{font-size:18px; color:#4a5162; max-width:600px; margin:0 auto 26px;}
.phero .cta-row{display:flex; gap:12px; justify-content:center; flex-wrap:wrap;}

/* generic content section */
.sec{padding:24px 0; max-width:720px; margin:0 auto;}
.sec.wide{max-width:1000px;}
.sec h2{font-family:'Space Grotesk',sans-serif; font-size:clamp(23px,3vw,29px); color:var(--navy); margin:0 0 14px; font-weight:700; text-wrap:balance;}
.sec h3{font-family:'Space Grotesk',sans-serif; font-size:17px; color:var(--navy); margin:22px 0 8px;}
.sec p{font-size:16px; color:#3f4656; margin:0 0 14px;}

/* hub cards */
.wwd-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)); gap:20px; margin:6px auto 10px; max-width:1000px;}
.wwd-card{display:flex; flex-direction:column; background:var(--white); border:1px solid var(--line); border-radius:16px; padding:26px 24px; text-decoration:none; color:inherit; transition:transform .18s, box-shadow .18s; box-shadow:0 1px 2px rgba(22,40,58,0.04);}
.wwd-card:hover{transform:translateY(-4px); box-shadow:0 16px 36px rgba(22,40,58,0.1);}
.wwd-ic{width:46px; height:46px; border-radius:12px; background:var(--sage-tint); color:var(--sage); display:grid; place-items:center; margin-bottom:14px;}
.wwd-ic svg{width:23px; height:23px;}
.tier{font-family:'IBM Plex Mono',monospace; font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; color:var(--sage); background:var(--sage-tint); padding:2px 8px; border-radius:5px; align-self:flex-start; margin-bottom:10px;}
.wwd-card h3{font-family:'Space Grotesk',sans-serif; font-size:19px; color:var(--navy); margin:0 0 8px; font-weight:700;}
.wwd-card p{font-size:14.5px; color:#4a5162; margin:0 0 16px; flex:1; line-height:1.55;}
.wwd-card .go{font-size:14px; font-weight:600; color:var(--sage); display:inline-flex; align-items:center; gap:6px; transition:gap .18s;}
.wwd-card:hover .go{gap:10px;}

/* value list with checks */
.vlist{list-style:none; padding:0; margin:6px 0 18px; display:grid; gap:12px;}
.vlist li{display:flex; align-items:flex-start; gap:11px; font-size:15.5px; color:var(--navy); line-height:1.45;}
.vlist .ck{width:22px; height:22px; border-radius:50%; background:var(--sage-tint); color:var(--sage); display:grid; place-items:center; flex:none; margin-top:1px;}
.vlist .ck svg{width:12px; height:12px;}

/* 3-up steps */
.steps3{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:18px; margin:10px 0 18px;}
.step3{background:var(--white); border:1px solid var(--line); border-radius:14px; padding:22px 20px;}
.step3 .n{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px; color:var(--white); background:var(--navy); width:28px; height:28px; border-radius:8px; display:grid; place-items:center; margin-bottom:12px;}
.step3 h3{margin:0 0 6px; font-size:16px; font-family:'Space Grotesk',sans-serif; color:var(--navy);}
.step3 p{font-size:14px; color:#4a5162; margin:0;}

/* dark callout */
.callout{background:var(--navy); color:var(--white); border-radius:16px; padding:28px 30px; margin:24px auto; max-width:720px; display:flex; gap:22px; align-items:center; flex-wrap:wrap; justify-content:space-between;}
.callout .ct{max-width:460px;}
.callout h3{font-family:'Space Grotesk',sans-serif; color:var(--white); margin:0 0 6px; font-size:19px;}
.callout p{color:rgba(255,255,255,0.8); margin:0; font-size:14.5px;}
.callout .btn-ghost{color:var(--white); border-color:rgba(255,255,255,0.5);}
.callout .btn-ghost:hover{border-color:var(--white); color:var(--white); background:rgba(255,255,255,0.08);}

/* faq */
.faq{display:grid; gap:14px; margin:8px auto; max-width:720px;}
.faq-q{background:var(--white); border:1px solid var(--line); border-radius:12px; padding:18px 20px;}
.faq-q h3{margin:0 0 6px; font-size:15.5px; font-family:'Space Grotesk',sans-serif; color:var(--navy);}
.faq-q p{margin:0; font-size:14.5px; color:#4a5162;}

/* cta band */
.cta-band{background:var(--navy); color:var(--white); border-radius:20px; padding:52px 40px; text-align:center; margin:38px auto; max-width:1000px;}
.cta-band h2{font-family:'Space Grotesk',sans-serif; color:var(--white); font-size:clamp(24px,3.2vw,32px); margin:0 0 10px; font-weight:800;}
.cta-band p{color:rgba(255,255,255,0.82); font-size:16px; max-width:520px; margin:0 auto 22px;}

/* footer */
footer{padding:30px 40px 48px; text-align:center; font-size:12.5px; color:#8a90a0; line-height:1.9; border-top:1px solid var(--line); margin-top:24px;}
footer a{color:#8a90a0; text-decoration:none;} footer a:hover{color:var(--sage);}
.footer-dot{margin:0 8px; opacity:.5;}

/* ===== AI Assistant page — animated chat demo hero ===== */
.ai-hero{padding:54px 0 40px;}
.ai-hero .ai-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:46px; align-items:center;}
.ai-hero .ai-copy{text-align:left;}
.ai-hero .breadcrumb{margin-bottom:14px;}
.ai-hero h1{text-align:left;}
.ai-hero p.lead{text-align:left; margin:0 0 26px;}
.ai-hero .cta-row{justify-content:flex-start;}
.ai-demo{justify-self:center; width:100%;}
.chatw{width:100%; max-width:380px; margin:0 auto; background:var(--white); border:1px solid var(--line); border-radius:20px; box-shadow:0 32px 60px -26px rgba(22,40,58,0.3), 0 4px 14px rgba(22,40,58,0.07); overflow:hidden;}
.chatw-head{display:flex; align-items:center; gap:11px; padding:13px 16px; background:var(--navy); color:#fff;}
.chatw-av{width:34px; height:34px; border-radius:50%; background:var(--sage); display:grid; place-items:center; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:12px; color:#fff; flex:none;}
.chatw-id{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px; line-height:1.2;}
.chatw-status{font-size:11px; color:rgba(255,255,255,0.62); display:flex; align-items:center; gap:5px; margin-top:2px;}
.chatw-status::before{content:''; width:6px; height:6px; border-radius:50%; background:#5fd07f;}
.chatw-body{padding:16px 14px; display:flex; flex-direction:column; gap:9px; min-height:352px; background:#F6F8F5;}
.cmsg{max-width:84%; font-size:13px; line-height:1.4; padding:9px 13px; border-radius:15px; opacity:0; transform:translateY(10px); transition:opacity .4s ease, transform .45s cubic-bezier(.2,.8,.25,1);}
.cmsg.in{opacity:1; transform:none;}
.cmsg.user{align-self:flex-end; background:var(--navy); color:#fff; border-radius:15px 15px 5px 15px;}
.cmsg.bot{align-self:flex-start; background:#fff; color:var(--navy); border:1px solid var(--line); border-radius:15px 15px 15px 5px;}
.c-dots{display:none; align-items:center; gap:4px; padding:1px 0;}
.c-dots i{width:6px; height:6px; border-radius:50%; background:#a7afbd; display:block; animation:cdDot 1.1s ease-in-out infinite;}
.c-dots i:nth-child(2){animation-delay:.16s;} .c-dots i:nth-child(3){animation-delay:.32s;}
@keyframes cdDot{0%,100%{opacity:.3; transform:translateY(0);} 50%{opacity:1; transform:translateY(-3px);}}
.cmsg.bot.typing .c-dots{display:inline-flex;}
.cmsg.bot.typing .c-text{display:none;}
.lead-flag{align-self:center; margin-top:5px; display:inline-flex; align-items:center; gap:8px; background:var(--sage-tint); color:var(--sage); font-weight:600; font-size:12px; padding:8px 14px; border-radius:999px; opacity:0; transform:scale(.9); transition:opacity .4s ease, transform .4s cubic-bezier(.2,1.2,.4,1);}
.lead-flag.in{opacity:1; transform:none;}
.lead-flag svg{width:14px; height:14px;}
@media (max-width:860px){
  .ai-hero .ai-grid{grid-template-columns:1fr; gap:34px; text-align:center;}
  .ai-hero .ai-copy, .ai-hero h1, .ai-hero p.lead{text-align:center;}
  .ai-hero p.lead{margin-left:auto; margin-right:auto;}
  .ai-hero .cta-row{justify-content:center;}
}
@media (prefers-reduced-motion: reduce){
  .cmsg{opacity:1; transform:none;} .lead-flag{opacity:1; transform:none;} .cmsg.bot.typing .c-dots{display:none;} .cmsg.bot.typing .c-text{display:inline;}
}

.ai-cap{text-align:center; font-size:12.5px; color:#7a8291; margin:16px auto 0; max-width:340px; line-height:1.55;}
.ai-cap strong{color:var(--navy);}

/* ===== shared phone frame (Field App + SEO demos) ===== */
.demo-hero{padding:54px 0 40px;}
.demo-hero .demo-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:46px; align-items:center;}
.demo-hero .demo-copy{text-align:left;}
.demo-hero .breadcrumb{margin-bottom:14px;}
.demo-hero h1{text-align:left;}
.demo-hero p.lead{text-align:left; margin:0 0 26px;}
.demo-hero .cta-row{justify-content:flex-start;}
.phone{justify-self:center;}
.phone-frame{position:relative; width:288px; margin:0 auto; background:#101826; border-radius:40px; padding:10px; box-shadow:0 34px 60px -26px rgba(22,40,58,0.42), 0 6px 16px rgba(22,40,58,0.1);}
.phone-notch{position:absolute; top:10px; left:50%; transform:translateX(-50%); width:108px; height:20px; background:#101826; border-radius:0 0 13px 13px; z-index:4;}
.phone-screen{position:relative; background:#F1F4F0; border-radius:31px; overflow:hidden; height:524px; display:flex; flex-direction:column;}
@media (max-width:860px){
  .demo-hero .demo-grid{grid-template-columns:1fr; gap:34px; text-align:center;}
  .demo-hero .demo-copy, .demo-hero h1, .demo-hero p.lead{text-align:center;}
  .demo-hero p.lead{margin-left:auto; margin-right:auto;}
  .demo-hero .cta-row{justify-content:center;}
}

/* ===== Field App demo ===== */
.fa-top{background:var(--navy); color:#fff; padding:26px 15px 13px;}
.fa-app{font-family:'IBM Plex Mono',monospace; font-size:9px; letter-spacing:.07em; text-transform:uppercase; color:rgba(255,255,255,0.55);}
.fa-cust{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14.5px; margin-top:5px;}
.fa-addr{font-size:11px; color:rgba(255,255,255,0.66); margin-top:2px;}
.fa-body{padding:11px 11px 13px; flex:1; display:flex; flex-direction:column; gap:7px;}
.fa-task{display:flex; align-items:center; gap:9px; font-size:11.5px; color:#5b6270; background:#fff; border:1px solid #e6e9e4; border-radius:9px; padding:8px 10px; transition:color .25s;}
.fa-check{width:17px; height:17px; border-radius:5px; border:2px solid #c9cec4; flex:none; display:grid; place-items:center; transition:background .25s, border-color .25s;}
.fa-check svg{width:10px; height:10px; opacity:0; transform:scale(.4); transition:opacity .2s, transform .28s cubic-bezier(.2,1.3,.4,1);}
.fa-task.done{color:var(--navy); font-weight:600;}
.fa-task.done .fa-check{background:var(--sage); border-color:var(--sage);}
.fa-task.done .fa-check svg{opacity:1; transform:none;}
.fa-summary{background:#fff; border:1px solid #e6e9e4; border-left:3px solid var(--sage); border-radius:9px; padding:9px 11px; opacity:0; transform:translateY(8px); transition:opacity .45s ease, transform .5s cubic-bezier(.2,.8,.25,1);}
.fa-summary.in{opacity:1; transform:none;}
.fa-sum-h{font-family:'IBM Plex Mono',monospace; font-size:9.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--sage); font-weight:600; margin-bottom:4px;}
.fa-sum-b{font-size:11px; color:#4a5162; line-height:1.4; font-style:italic;}
.fa-send{margin-top:auto; background:var(--sage); color:#fff; text-align:center; font-weight:700; font-size:12.5px; padding:12px; border-radius:10px; box-shadow:0 8px 18px rgba(90,122,82,0.3); transition:transform .16s ease;}
.fa-send.tap{transform:scale(.95);}
.fa-toasts{position:absolute; left:10px; right:10px; bottom:12px; display:flex; flex-direction:column; gap:7px; z-index:3;}
.fa-toast{display:flex; align-items:center; gap:8px; background:#fff; border:1px solid rgba(22,40,58,0.06); border-radius:10px; padding:9px 11px; box-shadow:0 14px 28px rgba(22,40,58,0.18); font-size:11px; font-weight:600; color:var(--navy); opacity:0; transform:translateY(10px); transition:opacity .4s ease, transform .45s cubic-bezier(.2,.8,.25,1);}
.fa-toast.in{opacity:1; transform:none;}
.fa-toast .ok{width:18px; height:18px; border-radius:50%; background:var(--sage); color:#fff; display:grid; place-items:center; flex:none;}
.fa-toast .ok svg{width:10px; height:10px;}
.fa-toast .stars{color:#f5a623; font-size:13px; letter-spacing:1px; flex:none;}

/* ===== SEO monthly photo text-in demo ===== */
.sms-top{background:var(--navy); color:#fff; padding:26px 16px 12px; text-align:center; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:13px;}
.sms-top .sms-sub{display:block; font-family:'Source Sans 3',sans-serif; font-weight:400; font-size:10.5px; color:rgba(255,255,255,0.6); margin-top:2px;}
.sms-body{padding:14px 12px; flex:1; display:flex; flex-direction:column; gap:9px; overflow:hidden;}
.sms{max-width:80%; font-size:12px; line-height:1.4; padding:9px 12px; border-radius:15px; opacity:0; transform:translateY(10px); transition:opacity .4s ease, transform .45s cubic-bezier(.2,.8,.25,1);}
.sms.in{opacity:1; transform:none;}
.sms.them{align-self:flex-start; background:#fff; color:var(--navy); border:1px solid var(--line); border-radius:15px 15px 15px 4px;}
.sms.me{align-self:flex-end; background:var(--navy); color:#fff; border-radius:15px 15px 4px 15px; display:flex; flex-direction:column; gap:6px;}
.sms-photo{display:block; width:100%; height:66px; border-radius:8px; background:linear-gradient(135deg,#8fb37a,#4d7ba0);}
.sms-result{margin-top:4px; opacity:0; transform:translateY(12px); transition:opacity .5s ease, transform .55s cubic-bezier(.2,.8,.25,1);}
.sms-result.in{opacity:1; transform:none;}
.sr-tag{display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--sage); background:var(--sage-tint); padding:3px 9px; border-radius:999px; margin-bottom:7px;}
.sr-card{background:#fff; border:1px solid var(--line); border-radius:11px; overflow:hidden; box-shadow:0 10px 24px rgba(22,40,58,0.1);}
.sr-thumb{height:80px; background:linear-gradient(135deg,#8fb37a,#4d7ba0);}
.sr-body{padding:9px 11px;}
.sr-src{font-family:'IBM Plex Mono',monospace; font-size:9px; text-transform:uppercase; letter-spacing:.05em; color:#8a90a0; margin-bottom:3px;}
.sr-cap{font-size:11.5px; color:var(--navy); line-height:1.4;}
.sr-foot{font-size:11px; color:var(--sage); font-weight:600; margin-top:8px; text-align:center;}
