/* Marketing site base. Page content carries its own inline styles, straight from the design canvas.
   The customer pages (q, p, tip, paid, stripe/*) use styles.css, not this file. */
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:#f6f4ef;color:#14201b;font:17px/24px -apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro",system-ui,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:#0b6a47;text-decoration:none}a:hover{color:#08603f}
button,input{font:inherit}button{cursor:pointer}
:focus-visible{outline:2px solid #2357c4;outline-offset:2px}
details>summary{cursor:pointer}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* ---------- header and menu ---------- */
.site-header{position:sticky;top:0;z-index:5;background:rgba(246,244,239,.86);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid #e4dfd5}
.site-bar{max-width:1200px;margin:0 auto;padding:10px 24px;display:flex;align-items:center;gap:8px 24px}
.site-logo{display:flex;align-items:center;gap:10px;min-height:44px;color:#14201b;font:700 21px ui-rounded,"SF Pro Rounded",-apple-system,system-ui,sans-serif}
.site-logo:hover{color:#14201b}
.site-nav{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;font-size:16px;font-weight:600}
.site-nav summary,.nav-link{display:flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:12px;color:#14201b;list-style:none;cursor:pointer;user-select:none}
.site-nav summary::-webkit-details-marker{display:none}
.site-nav summary:hover,.nav-link:hover,.site-nav details[open]>summary{background:#eeeae2;color:#14201b}
.site-nav summary svg{transition:transform .15s}
.site-nav details[open]>summary svg{transform:rotate(180deg)}
.site-nav [aria-current]{color:#0b6a47}
.site-nav details{position:relative}
.nav-panel{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:min(640px,calc(100vw - 48px));padding:20px;border-radius:24px;background:#fff;box-shadow:0 8px 32px rgba(20,32,27,.14),0 0 0 1px #e4dfd5;font-weight:400}
.nav-panel>p{margin:0 0 8px 12px;font-size:13px;font-weight:600;color:#56635c}
.nav-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.nav-grid a{display:flex;align-items:flex-start;gap:14px;padding:12px;border-radius:16px;color:#14201b}
.nav-grid a:hover,.nav-grid a[aria-current]{background:#f6f4ef;color:#14201b}
.nav-grid a>span:last-child{display:flex;flex-direction:column;gap:2px}
.nav-grid b{font-size:16px;line-height:22px;font-weight:600}
.nav-grid b+span{font-size:14px;line-height:20px;color:#56635c}
.nav-ic{flex:none;width:44px;height:44px;border-radius:12px;background:#dcf1e6;color:#0b6a47;display:flex;align-items:center;justify-content:center}
.site-cta{display:inline-flex;align-items:center;height:44px;padding:0 20px;border-radius:999px;background:#0b7a52;color:#fff;font-weight:600;font-size:16px;white-space:nowrap}
.site-cta:hover{background:#08603f;color:#fff}
.nav-toggle{display:none;width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:#14201b;align-items:center;justify-content:center;order:3}
@media (prefers-reduced-motion:reduce){.site-nav summary svg{transition:none}}
/* Phone and tablet: one menu button. Open, the links stack and each dropdown becomes an accordion. */
@media (max-width:900px){
  .site-bar{flex-wrap:wrap;gap:8px 12px}
  .site-bar{padding:8px 16px}
  .site-logo{font-size:19px;gap:8px}
  .site-cta{margin-left:auto;height:40px;padding:0 14px;font-size:15px}
  .nav-toggle{display:flex}
  .site-nav{display:none;order:4;flex-basis:100%;flex-direction:column;align-items:stretch;gap:2px;padding:8px 0 12px;max-height:calc(100dvh - 80px);overflow-y:auto}
  .site-header.open .site-nav{display:flex}
  .site-nav summary{justify-content:space-between}
  .site-nav summary,.nav-link{height:52px;font-size:18px}
  .nav-panel{position:static;transform:none;width:auto;padding:0 0 8px;box-shadow:none;background:transparent;border-radius:0}
  .nav-panel>p{display:none}
  .nav-grid{grid-template-columns:1fr}
}
/* Flex and grid children may shrink below their content, so a wide mockup never pushes a phone sideways. */
main *{min-width:0}
#get form.done{display:none}
/* ---------- heroes ---------- */
/* Laptop: the hero is exactly one screen under the header. Spacing and the headline follow the screen's height,
   and the mockup drops its extras on short screens (.if-tall, .if-mid) instead of running off the bottom. */
@media (min-width:901px){
  .hero{min-height:calc(100svh - var(--bar,65px));flex-wrap:nowrap!important;padding-block:clamp(16px,4svh,56px)!important}
  .hero h1{font-size:clamp(40px,min(5vw,9svh),68px)!important}
  .m-only{display:none!important}
}
@media (min-width:901px) and (max-height:799px){.if-tall{display:none!important}}
@media (min-width:901px) and (max-height:719px){
  .if-mid{display:none!important}
  .hero>div{gap:16px!important}
  .hero>div:last-child{padding:16px!important}
}
/* Phone: copy first with full-width buttons, mockup right under it. */
@media (max-width:900px){
  .hero{padding-top:28px!important;padding-bottom:48px!important;gap:32px!important}
  .cta-row{width:100%}
  .cta-row>a{flex:1 1 auto;justify-content:center}
}
@media (max-width:350px){
  .site-bar{gap:8px}
  .site-logo{font-size:17px}
  .site-cta{padding:0 10px;font-size:14px}
}
/* ---------- tools and pricing: one laptop screen ---------- */
.m-bar{display:none}
@media (min-width:901px){
  .screen{min-height:calc(100svh - 65px);display:flex;flex-direction:column;justify-content:center}
  .screen>section{width:100%;padding-block:clamp(12px,3svh,48px)!important}
  .screen>section>div{padding:24px!important}
  .screen h1{font-size:clamp(40px,min(5vw,8svh),64px)!important}
  /* a tool is its heading plus two cards; on a short screen a card scrolls inside itself, the page does not grow */
  .tool{height:calc(100svh - 65px);padding-block:clamp(16px,3svh,40px)!important;gap:clamp(12px,2.5svh,24px)!important}
  .tool>div:first-child{max-width:none!important;flex-direction:row!important;flex-wrap:wrap;align-items:baseline!important;gap:4px 20px!important}
  .tool h1{font-size:clamp(32px,5svh,40px)!important}
  .tool h1+p{font-size:17px!important;line-height:24px!important}
  .tool>div:nth-child(2){flex:1;min-height:0;flex-wrap:nowrap!important}
  .tool>div:nth-child(2)>div{overflow-y:auto;padding:24px!important;gap:16px!important}
  /* fit before scrolling: tasks flow in three balanced columns, names sit two across, the checklist preview scrolls in its own box */
  .tool div:has(>fieldset){display:block!important;columns:3;column-gap:20px}
  .tool fieldset{break-inside:avoid;margin-bottom:16px!important}
  .tool #names{display:grid!important;grid-template-columns:1fr 1fr;align-content:start}
  .tool #doc{flex:1 1 0;min-height:120px;overflow-y:auto}
  .tool .pin{position:sticky;bottom:0;flex-shrink:0;box-shadow:0 0 0 12px #fff}   /* the card's button stays reachable */
}
@media (max-width:900px){
  .tool{padding-top:28px!important;gap:24px!important}
  /* the price stays in view while she changes the house */
  .m-bar{display:flex;justify-content:space-between;align-items:center;position:sticky;bottom:12px;margin:0;padding:12px 20px;border-radius:999px;background:#14201b;color:#fff;font-weight:600;box-shadow:0 8px 24px rgba(20,32,27,.25)}
  .m-bar b{font:700 24px ui-rounded,"SF Pro Rounded",system-ui,sans-serif}
}
