/* Marketing/landing page only. */
body.marketing { background: var(--white); }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--slate-200); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a.login-link { color: var(--slate-600); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a.login-link:hover { color: var(--slate-900); }

.hero { position: relative; overflow: hidden; padding: 5.5rem 1.5rem 6rem; text-align: center; background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 65%); }
.hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow { display: inline-block; background: var(--blue-100); color: var(--blue-700); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; margin: 0 0 1.25rem; color: var(--slate-900); font-weight: 800; }
.hero h1 span { background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 1.2rem; color: var(--slate-600); max-width: 620px; margin: 0 auto 2.25rem; }
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.btn-primary-lg { background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: #fff; font-size: 1.02rem; font-weight: 700; padding: 0.9rem 1.8rem; border-radius: 10px; text-decoration: none; box-shadow: 0 8px 24px rgba(29,78,216,0.28); transition: transform 0.15s, box-shadow 0.15s; }
.btn-primary-lg:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(29,78,216,0.36); }
.btn-secondary-lg { background: #fff; color: var(--slate-900); font-size: 1.02rem; font-weight: 700; padding: 0.9rem 1.8rem; border-radius: 10px; text-decoration: none; border: 1.5px solid var(--slate-200); }
.btn-secondary-lg:hover { border-color: var(--slate-400); }

.hero-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 900px; height: 500px; background: radial-gradient(ellipse at center, rgba(59,130,246,0.18), transparent 65%); pointer-events: none; }

section.section { max-width: 1160px; margin: 0 auto; padding: 5rem 1.5rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.75rem; color: var(--slate-900); font-weight: 800; }
.section-head p { color: var(--slate-600); font-size: 1.05rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 14px; padding: 1.75rem 1.5rem; }
.step-num { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; margin-bottom: 1rem; }
.step h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--slate-900); }
.step p { margin: 0; color: var(--slate-600); font-size: 0.92rem; }

.security-section { background: var(--navy-950); color: #fff; }
.security-section .section-head h2, .security-section .section-head p { color: #fff; }
.security-section .section-head p { color: rgba(255,255,255,0.65); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .security-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .security-grid { grid-template-columns: 1fr; } }
.security-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 1.5rem; }
.security-icon { width: 38px; height: 38px; border-radius: 9px; background: rgba(59,130,246,0.2); color: var(--blue-500); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.1rem; }
.security-card h3 { margin: 0 0 0.5rem; font-size: 1rem; color: #fff; }
.security-card p { margin: 0; color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.6; }

/* A real banner strip, not just a restyled section — catches a
   tradesperson landing on the page before they'd ever scroll down to
   the full .handy-section below. Links straight to it. */
.handy-topbanner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.6rem 1rem; text-decoration: none;
  background: linear-gradient(90deg, var(--green-700), var(--green-600));
  color: #fff; padding: 0.7rem 1.5rem; text-align: center; font-weight: 600; font-size: 0.92rem;
}
.handy-topbanner-badge {
  background: rgba(255,255,255,0.18); padding: 0.2rem 0.7rem; border-radius: 999px;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700;
}
.handy-topbanner-link { text-decoration: underline; text-underline-offset: 2px; }
.handy-topbanner:hover .handy-topbanner-link { text-decoration-thickness: 2px; }

/* Own green identity within the Billable brand — visually distinct
   from the rest of the (blue) marketing page without needing a
   separate site. .step-num/.eyebrow are shared with #how-it-works
   above, so overrides here are scoped to .handy-section only. */
.handy-section { background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.handy-section .eyebrow { background: var(--green-100); color: var(--green-800); }
.handy-section .step-num { background: linear-gradient(135deg, var(--green-600), var(--green-800)); }
.handy-stat { display: inline-flex; align-items: baseline; gap: 0.5rem; background: #fff; border: 1.5px solid var(--green-100); border-radius: 999px; padding: 0.6rem 1.4rem; margin: 0 auto 2.75rem; box-shadow: 0 4px 14px rgba(5,150,105,0.1); }
.handy-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--green-600); }
.handy-stat-label { font-size: 0.92rem; font-weight: 600; color: var(--slate-600); }
.handy-stat-wrap { text-align: center; }
.handy-section .btn-primary-lg { background: linear-gradient(135deg, var(--green-600), var(--green-800)); box-shadow: 0 8px 24px rgba(5,150,105,0.28); }

.reseller-flow { display: flex; align-items: stretch; gap: 1.5rem; max-width: 900px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.reseller-card {
  flex: 1; min-width: 260px; background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: 14px; padding: 1.75rem 1.5rem;
}
.reseller-card-accent { background: var(--blue-50); border-color: var(--blue-100); }
.reseller-card-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-400); margin-bottom: 0.5rem; }
.reseller-card-accent .reseller-card-label { color: var(--blue-600); }
.reseller-card-title { font-size: 1.15rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.6rem; }
.reseller-card p { margin: 0; color: var(--slate-600); font-size: 0.92rem; }
.reseller-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; color: var(--slate-400); flex: 0 0 auto; padding: 0 0.25rem; }
.reseller-arrow-label { font-size: 0.78rem; font-weight: 700; color: var(--blue-600); white-space: nowrap; }
.reseller-arrow-glyph { font-size: 1.8rem; color: var(--blue-500); }
@media (max-width: 700px) { .reseller-arrow { transform: rotate(90deg); } }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product-card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 14px; padding: 1.75rem 1.5rem; }
.product-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.product-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; color: var(--slate-900); font-weight: 800; }
.product-price { margin: 0 0 0.75rem; font-size: 0.8rem; font-weight: 700; color: var(--blue-600); text-transform: uppercase; letter-spacing: 0.03em; }
.product-card p:last-child { margin: 0; color: var(--slate-600); font-size: 0.92rem; line-height: 1.55; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.integrations-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.integration-badge { display: flex; align-items: center; gap: 0.6rem; background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 0.9rem 1.4rem; font-weight: 700; color: var(--slate-900); font-size: 1rem; min-width: 160px; }
.integration-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.integration-badge.soon { opacity: 0.55; }
.integration-soon-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--slate-400); margin-left: auto; }

.cta-band { background: linear-gradient(135deg, var(--blue-700), var(--navy-900)); color: #fff; text-align: center; padding: 4.5rem 1.5rem; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 1rem; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,0.75); margin: 0 0 2rem; font-size: 1.05rem; }

footer.site-footer { padding: 3.5rem 1.5rem 2rem; background: var(--slate-50); border-top: 1px solid var(--slate-200); }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-tagline { color: var(--slate-600); font-size: 0.88rem; margin: 1rem 0 0; line-height: 1.6; }
.footer-offices { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-office h4 { margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-400); }
.footer-office p { margin: 0 0 0.5rem; color: var(--slate-600); font-size: 0.88rem; line-height: 1.6; }
.footer-office a { color: var(--slate-600); text-decoration: none; }
.footer-office a:hover { color: var(--blue-600); }
.footer-legal { max-width: 1160px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--slate-200); text-align: center; color: var(--slate-400); font-size: 0.82rem; }
