/* constructionguycrm.com — marketing site styles (separate from the app's css/style.css) */
:root {
  --green: #0F6E56; --green-dark: #085041; --green-tint: #E1F5EE; --green-mid: #1FA37F;
  --ink: #1A1A18; --ink2: #4F514D; --ink3: #7C7E79;
  --bg: #F5F5F3; --surface: #FFFFFF; --surface2: #ECEEE9; --line: rgba(20, 40, 30, .12);
  --amber: #BA7517; --amber-tint: #FAEEDA;
  --radius: 10px; --radius-lg: 16px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.fine { font-size: 13px; color: var(--ink3); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink2); max-width: 62ch; margin: 16px 0 26px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14.5px; text-decoration: none; cursor: pointer; font-family: inherit; white-space: nowrap; transition: transform .08s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; }
.btn.lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 245, 243, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--green); font-weight: 800; }
.site-nav .links { display: flex; gap: 22px; margin-left: 12px; }
.site-nav .links a { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav .links a:hover, .site-nav .links a.on { color: var(--ink); border-bottom-color: var(--green); }
.site-nav .actions { margin-left: auto; display: flex; gap: 10px; }
.site-nav .menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; }
.site-nav .menu span { display: block; width: 20px; height: 2px; background: var(--ink); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero.small { padding: 56px 0 24px; }
.hero .split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.persona { display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: transform .12s ease, box-shadow .12s ease; }
.persona:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(15, 110, 86, .12); }
.persona .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); background: var(--green-tint); padding: 4px 10px; border-radius: 999px; }
.persona.builder .tag { color: var(--amber); background: var(--amber-tint); }
.persona strong { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.persona > span:not(.tag) { color: var(--ink2); font-size: 15px; }
.persona em { font-style: normal; font-weight: 700; color: var(--green); margin-top: 6px; }
.hero.builder .eyebrow { color: var(--amber); }

/* Bands */
.band { padding: 40px 0; }
.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.band.highlight { background: var(--green-tint); padding: 64px 0; }
.band.highlight .eyebrow { color: var(--green-dark); }
.wrap.two { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.wrap.two.rev > :first-child { order: 2; }
.wrap.two.rev > :last-child { order: 1; }

/* Screenshots */
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(20, 40, 30, .14); background: #fff; }
.shot figcaption { font-size: 13.5px; color: var(--ink3); margin-top: 12px; text-align: center; }
.shot.placeholder { aspect-ratio: 1424 / 715; border: 1.5px dashed rgba(15,110,86,.4); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; background: rgba(255,255,255,.5); }
.shot.placeholder strong { display: block; font-size: 16px; }
.shot.placeholder span { font-size: 13px; color: var(--ink3); }

/* Feature grid */
.features { padding: 64px 0; }
.features h2 { text-align: center; margin-bottom: 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.f { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 16px; }
.f h3 { margin-bottom: 8px; }
.f p { color: var(--ink2); font-size: 15px; margin: 0; }

/* Checklists */
.checks { list-style: none; padding: 0; margin: 14px 0; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--ink2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-tint); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid var(--green-dark); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Pricing */
.pricing-teaser, .pricing-full { padding: 64px 0; }
.pricing-teaser h2 { text-align: center; margin-bottom: 30px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto 24px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan.featured { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.plan .price { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 4px 0 6px; }
.plan .price span { font-size: 16px; font-weight: 600; color: var(--ink3); letter-spacing: 0; }
.plan .who { color: var(--ink2); min-height: 48px; }
.plan .btn + .btn { margin-top: -4px; }
.plan .checks { margin-top: 18px; }
.plan .fine { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.pricing-full h2 { margin: 48px 0 18px; }

/* Q&A */
.qa { max-width: 760px; margin: 0 auto; }
.qa details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.qa summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 22px; color: var(--green); flex: none; line-height: 1; }
.qa details[open] summary::after { content: "–"; }
.qa details p { padding-bottom: 16px; color: var(--ink2); margin: 0; }
.faq { padding: 24px 0 72px; }
.faq .cta-row { justify-content: center; margin-top: 36px; }

/* Demo form */
.demo { padding: 72px 0; background: var(--surface); border-top: 1px solid var(--line); }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.demo-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.demo-form label.full, .demo-form .btn, .demo-form .fine { grid-column: 1 / -1; }
.demo-form input, .demo-form select, .demo-form textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: 2px solid var(--green-tint); border-color: var(--green); }
.demo-form .hp { position: absolute; left: -9999px; }
.demo-form .fine { margin: 0; text-align: center; }

/* Closing */
.closing { padding: 72px 0; text-align: center; }
.closing .lede, .closing p { margin-inline: auto; }
.closing .cta-row { justify-content: center; }

/* Footer */
.site-foot { background: var(--ink); color: #c9cbc5; padding: 48px 0 28px; margin-top: 24px; }
.site-foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.site-foot .brand { color: #fff; }
.site-foot .brand b { color: var(--green-mid); }
.site-foot .about p { font-size: 14px; margin-top: 14px; max-width: 34ch; }
.site-foot h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-foot .cols a:not(.brand) { display: block; color: #c9cbc5; text-decoration: none; font-size: 14.5px; margin: 6px 0; }
.site-foot .cols a:hover { color: #fff; }
.site-foot .fine { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #8a8c86; }

/* Responsive */
@media (max-width: 900px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
  .wrap.two { grid-template-columns: 1fr; gap: 28px; }
  .wrap.two.rev > :first-child { order: 1; }
  .wrap.two.rev > :last-child { order: 2; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 44px 0 28px; }
  .hero .split, .grid3, .plans, .demo-form { grid-template-columns: 1fr; }
  .site-nav .links, .site-nav .actions { display: none; }
  .site-nav .menu { display: flex; }
  .site-nav.open .links { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 66px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 12px; margin: 0; }
  .site-nav.open .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav.open .actions { display: flex; position: absolute; left: 0; right: 0; top: calc(66px + 4 * 47px + 20px); background: var(--surface); padding: 12px 20px 16px; border-bottom: 1px solid var(--line); }
  .site-nav.open .actions .btn { flex: 1; }
  .cta-row .btn { width: 100%; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .band.alt, .band.highlight, .features, .pricing-teaser, .pricing-full, .demo, .closing { padding: 44px 0; }
}
