@import url("tokens.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
  font-size:16px;
}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}

/* ---------- Top bar ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.topbar .wrap{position:relative}
.topbar .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:68px;
  gap:16px;
}
.brand{
  font-weight:800; font-size:1.05rem; letter-spacing:-0.01em;
  text-decoration:none;
  flex-shrink:0;
}
.brand span{color:var(--mint)}
.topnav{display:flex; align-items:center; gap:28px}
.topnav a{
  font-size:.92rem; font-weight:500; text-decoration:none; color:var(--ink);
  opacity:.8;
  white-space:nowrap;
}
.topnav a:hover{opacity:1}
.nav-right{display:flex; align-items:center; gap:14px; flex-shrink:0}
.phone-pill{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--highlight);
  color:#111;
  font-weight:800;
  padding:8px 16px;
  border-radius:999px;
  text-decoration:none;
  font-size:.95rem;
  box-shadow:var(--shadow);
  white-space:nowrap;
  flex-shrink:0;
}
.phone-pill:hover{filter:brightness(0.97)}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  padding:0;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--paper);
  cursor:pointer;
  flex-shrink:0;
}
.nav-toggle span{
  display:block;
  width:18px; height:2px;
  background:var(--ink);
  margin:0 auto;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:720px){
  .topbar .wrap{
    flex-wrap:wrap;
    height:auto;
    padding-top:12px;
    padding-bottom:12px;
    row-gap:8px;
  }
  .nav-toggle{display:flex}
  .topnav{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--paper);
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
  }
  .topnav.open{max-height:320px}
  .topnav a{
    width:100%;
    padding:14px 24px;
    border-top:1px solid var(--line);
    opacity:1;
  }
  .phone-pill{padding:7px 10px; font-size:.78rem; gap:4px}
  .nav-right{gap:8px}
  .brand{font-size:.92rem}
}

/* ---------- Hero ---------- */
.hero{
  padding:64px 0 72px;
  background:
    radial-gradient(700px 320px at 85% -10%, var(--mint-tint), transparent 60%),
    var(--paper);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:48px;
  align-items:start;
}
@media (max-width:880px){ .hero-grid{grid-template-columns:1fr} }

.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start;}
@media (max-width:880px){ .contact-grid{grid-template-columns:1fr} }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--mint-deep);
  background:var(--mint-tint);
  padding:6px 12px; border-radius:999px;
  margin-bottom:20px;
}
.hero h1{
  font-size:clamp(2.1rem, 4vw, 3.1rem);
  line-height:1.08;
  letter-spacing:-0.02em;
  font-weight:800;
  margin:0 0 20px;
}
.hero p.lead{
  font-size:1.1rem;
  color:var(--muted);
  max-width:none;
  margin:0 0 28px;
}
.hero-phone{
  display:inline-flex; align-items:center; gap:10px;
  margin-bottom:8px;
}
.hero-phone a{
  background:var(--highlight);
  color:#111;
  font-weight:800;
  font-size:1.3rem;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  box-shadow:var(--shadow);
}
.hero-phone small{color:var(--muted); font-size:.85rem}
.trust-row{
  display:flex; gap:24px; flex-wrap:wrap; margin-top:32px;
  font-size:.85rem; color:var(--muted);
}
.trust-row b{color:var(--ink)}

/* Hero form card */
.hero-form{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}
@media (max-width:480px){
  .wrap{padding:0 12px}
  .hero-form{padding:16px}
}
.hero-form h2{
  font-size:1.15rem; margin:0 0 4px;
}
.hero-form p{
  font-size:.9rem; color:var(--muted); margin:0 0 20px;
}
.hero-form label{
  display:block; font-size:.82rem; font-weight:600; margin-bottom:6px; color:var(--ink);
}
.hero-form input, .hero-form select, .hero-form textarea{
  width:100%;
  font-family:inherit; font-size:.95rem;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:8px;
  margin-bottom:14px;
  background:var(--paper-soft);
}
.hero-form button{
  width:100%;
  background:var(--mint);
  color:#fff;
  font-weight:700;
  font-size:1rem;
  border:none;
  padding:13px;
  border-radius:8px;
  cursor:pointer;
}
.hero-form button:hover{background:var(--mint-deep)}
.hero-form .fine{font-size:.75rem; color:var(--muted); margin:10px 0 0; text-align:center}

/* ---------- Sections ---------- */
section.block{padding:72px 0}
section.block.soft{background:var(--paper-soft)}
.section-head{max-width:640px; margin:0 0 40px}
.section-head .eyebrow{margin-bottom:14px}
.section-head h2{
  font-size:clamp(1.6rem,2.6vw,2.1rem);
  letter-spacing:-0.01em;
  margin:0 0 12px;
}
.section-head p{color:var(--muted); margin:0}

/* Text-only section split: heading left, prose right -- avoids a narrow
   column of text with empty space on wide pages with no card grid below. */
.section-split{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:56px;
  align-items:start;
}
@media (max-width:800px){ .section-split{grid-template-columns:1fr} }
.section-split .section-head{max-width:none; margin:0}
.section-split .section-body{color:var(--ink); font-size:1.02rem; line-height:1.65}
.section-split .section-body p{margin:0 0 16px}
.section-split .section-body p:last-child{margin-bottom:0}

.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
@media (max-width:900px){ .grid-3, .grid-4{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .grid-3, .grid-4{grid-template-columns:1fr} }

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
}
.card .icon{
  width:38px; height:38px;
  border-radius:10px;
  background:var(--mint-tint);
  color:var(--mint-deep);
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  margin-bottom:16px;
}
.card h3{margin:0 0 8px; font-size:1.02rem}
.card p{margin:0 0 14px; color:var(--muted); font-size:.92rem}
.card a.link{font-size:.88rem; font-weight:700; color:var(--mint-deep); text-decoration:none}
.card a.link:hover{text-decoration:underline}

/* Audit tiers */
.audit-wrap{
  display:grid; grid-template-columns:1fr 1fr; gap:24px;
}
@media (max-width:760px){ .audit-wrap{grid-template-columns:1fr} }
.tier{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  background:var(--paper);
}
.tier.featured{
  border-color:var(--mint);
  box-shadow:0 0 0 3px var(--mint-tint);
  position:relative;
}
.tier .tag{
  font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  color:var(--mint-deep);
}
.tier .price{
  font-size:2.4rem; font-weight:800; margin:8px 0 4px;
}
.tier .price span{font-size:1rem; font-weight:600; color:var(--muted)}
.tier p{color:var(--muted); font-size:.92rem}
.tier ul{margin:16px 0 20px; padding-left:20px; color:var(--ink); font-size:.9rem}
.tier ul li{margin-bottom:8px}
.tier a.btn{
  display:inline-block;
  background:var(--ink); color:#fff;
  padding:12px 20px; border-radius:8px;
  text-decoration:none; font-weight:700; font-size:.92rem;
}
.tier.featured a.btn{background:var(--mint)}

/* Pricing tiers */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  align-items:stretch;
}
@media (max-width:860px){ .pricing-grid{grid-template-columns:1fr} }
.price-tier{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 24px;
  background:var(--paper);
  position:relative;
  display:flex;
  flex-direction:column;
}
.price-tier.featured{
  border-color:var(--highlight);
  border-width:2px;
  box-shadow:0 0 0 3px rgba(252,233,59,.25);
  transform:translateY(-6px);
}
.price-tier .badge{
  position:absolute;
  top:-13px; left:50%; transform:translateX(-50%);
  background:var(--highlight);
  color:#111;
  font-weight:800;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  padding:5px 14px;
  border-radius:999px;
}
.price-tier h3{
  margin:0 0 6px;
  font-size:1.05rem;
}
.price-tier .price{
  font-size:2rem;
  font-weight:800;
  margin:0 0 18px;
}
.price-tier .price span{
  font-size:.95rem;
  font-weight:600;
  color:var(--muted);
}
.price-tier ul{
  margin:0;
  padding-left:18px;
  color:var(--ink);
  font-size:.92rem;
  line-height:1.6;
  flex:1;
}
.price-tier ul li{margin-bottom:8px}
.tier-cta{
  display:block;
  text-align:center;
  margin-top:20px;
  padding:12px;
  border-radius:8px;
  font-weight:700;
  font-size:.92rem;
  text-decoration:none;
  background:var(--paper-soft);
  color:var(--ink);
  border:1px solid var(--line);
}
.tier-cta:hover{border-color:var(--mint)}
.tier-cta.featured-cta{
  background:var(--mint);
  color:#fff;
  border-color:var(--mint);
}
.tier-cta.featured-cta:hover{background:var(--mint-deep)}
.pricing-note{
  margin-top:20px;
  font-size:.82rem;
  color:var(--muted);
  text-align:center;
}

/* Local pages strip */
.pill-row{display:flex; flex-wrap:wrap; gap:10px}
.pill-heading{margin:0; font-size:1em; font-weight:400; display:inline-flex; line-height:1}
.pill{
  border:1px solid var(--line);
  border-radius:999px;
  padding:9px 16px;
  font-size:.88rem; font-weight:600;
  text-decoration:none;
  color:var(--ink);
  background:var(--paper);
}
.pill:hover{border-color:var(--mint)}

/* FAQ */
.faq-item{
  border-bottom:1px solid var(--line);
  padding:20px 0;
}
.faq-item h3{margin:0 0 8px; font-size:1rem}
.faq-item p{margin:0; color:var(--muted); font-size:.92rem}

/* CTA band */
.cta-band{
  background:var(--ink);
  color:#fff;
  border-radius:20px;
  padding:52px 40px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-band h2{margin:0 0 8px; font-size:1.6rem}
.cta-band p{margin:0; color:#c9cdcb}
.cta-band .btn{
  background:var(--highlight); color:#111;
  padding:14px 24px; border-radius:8px; font-weight:800; text-decoration:none; white-space:nowrap;
}

/* Footer */
footer.site{
  border-top:1px solid var(--line);
  padding:48px 0 32px;
  background:var(--paper-soft);
}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr 1fr} }
.footer-grid h4{font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin:0 0 14px}
.footer-grid a{display:block; font-size:.9rem; text-decoration:none; color:var(--ink); margin-bottom:10px; opacity:.85}
.footer-grid a:hover{opacity:1}
.footer-bottom{
  margin-top:40px; padding-top:24px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:.82rem; color:var(--muted);
}
