/* ============================================================
   StreetJoin — neighborhood services, coordinated
   Green-forward theme (part of the ThinkSolutions family)
   ============================================================ */

:root {
  --ink:        #0c1f18;
  --ink-2:      #16302a;
  --slate:      #4a5d55;
  --slate-2:    #6b7d75;
  --line:       #e2ece7;
  --line-2:     #eef4f1;
  --bg:         #ffffff;
  --bg-soft:    #f4f9f6;
  --bg-softer:  #fafcfb;
  --brand:      #2f8f66;   /* StreetJoin green */
  --brand-2:    #57b98a;
  --brand-deep: #1f6a49;
  --teal:       #0c4860;   /* family teal (accent) */
  --white:      #ffffff;

  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(12,31,24,.04), 0 12px 32px -12px rgba(12,31,24,.16);
  --shadow-lg:  0 24px 60px -20px rgba(12,31,24,.28);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Sora', var(--font);

  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; font-weight: 600;
  font-size: .98rem; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(47,143,102,.6); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate-2); background: var(--bg-soft); }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }

.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.kicker-light { color: var(--brand-2); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line-2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand-mark { display: inline-flex; }
.brand-mark svg { display: block; border-radius: 9px; }
.brand-name span { color: var(--brand); }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a { padding: 9px 14px; border-radius: 8px; font-weight: 500; font-size: .96rem; color: var(--slate); transition: color .15s, background .15s; }
.nav-menu a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-menu .nav-cta { color: #fff; background: var(--brand); margin-left: 6px; }
.nav-menu .nav-cta:hover { background: var(--brand-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: 92px 0 80px; background:
  radial-gradient(1100px 480px at 82% -10%, rgba(87,185,138,.16), transparent 60%),
  radial-gradient(820px 460px at 0% 8%, rgba(12,72,96,.07), transparent 55%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--brand-deep); background: rgba(47,143,102,.1); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.badge::before { content: "●"; font-size: .7em; color: var(--brand); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -.03em; }
.grad { background: linear-gradient(100deg, var(--brand), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.16rem; color: var(--slate); margin-top: 22px; max-width: 34em; }

/* waitlist (hero) */
.wl { margin-top: 30px; }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.waitlist-form input, .waitlist-form select {
  flex: 1 1 190px; min-width: 0; padding: 14px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 1rem; font-family: var(--font);
}
.waitlist-form input:focus, .waitlist-form select:focus { outline: 2px solid var(--brand-2); border-color: transparent; }
.waitlist-form .btn-primary { flex: 0 0 auto; }
.wl-hint { margin-top: 12px; font-size: .88rem; color: var(--slate-2); }
.form-msg { margin-top: 12px; min-height: 1.2em; font-size: .95rem; color: var(--brand-deep); font-weight: 600; }

/* hero visual: neighborhood loop */
.hero-visual { display: flex; justify-content: center; }
.loop { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.loop-row { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-2); padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-softer); font-size: .98rem; }
.loop-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); flex: none; }
.loop-arrow { text-align: center; color: var(--brand-2); font-size: 1.1rem; line-height: 1.35; }
.loop-win { background: linear-gradient(120deg, rgba(47,143,102,.12), rgba(12,72,96,.1)); border-color: rgba(47,143,102,.28); color: var(--brand-deep); }
.loop-win .dot { background: var(--teal); }

/* ---------- sections ---------- */
.section { padding: 88px 0; border-top: 1px solid var(--line-2); }
.section-cta { border-top: none; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { display: block; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-sub { margin-top: 16px; font-size: 1.1rem; color: var(--slate); }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

/* problem / steps cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe2d8; }
.card-ico { font-size: 1.5rem; width: 52px; height: 52px; border-radius: 14px; background: rgba(47,143,102,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--slate); }

/* three users */
.users { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.user { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.user h4 { font-size: 1.16rem; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.user ul li { position: relative; padding-left: 24px; color: var(--slate); margin-bottom: 10px; font-size: .97rem; }
.user ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center; transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-best { border-color: rgba(47,143,102,.42); box-shadow: 0 22px 48px -24px rgba(47,143,102,.45); background: linear-gradient(180deg, #fff, #f7fcf9); }
.price-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.price-homes { font-weight: 600; color: var(--slate-2); }
.price-amt { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; color: var(--ink); margin: 8px 0; letter-spacing: -.03em; }
.price-amt span { font-size: 1rem; font-weight: 600; color: var(--slate-2); letter-spacing: 0; }
.price-note { color: var(--slate); font-size: .95rem; }
.price-foot { text-align: center; margin-top: 28px; color: var(--slate-2); font-size: .95rem; }

/* services tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.tags .tag-live { border-color: rgba(47,143,102,.4); color: var(--brand-deep); background: rgba(47,143,102,.08); }

/* CTA band */
.section-cta { background: linear-gradient(135deg, var(--ink) 0%, #12352a 55%, var(--brand-deep) 100%); color: #fff; }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.7rem); }
.cta-inner p { color: #c4ddd2; margin-top: 14px; font-size: 1.1rem; }
.cta-inner .waitlist-form { margin: 28px auto 0; justify-content: center; }
.cta-inner .waitlist-form input, .cta-inner .waitlist-form select { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.cta-inner .waitlist-form input::placeholder { color: #a9c5ba; }
.cta-inner .waitlist-form select option { color: #111; }
.cta-inner .form-msg { color: #9ff0c6; }
.cta-inner .wl-hint { color: #9fb8ae; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b8ccc3; padding: 52px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: #fff; display: inline-flex; }
.footer-tag { color: #8ba69b; font-size: .95rem; margin-top: 10px; }
.footer-parent { margin-top: 14px; font-size: .9rem; }
.footer-parent a { color: var(--brand-2); font-weight: 600; }
.footer-parent a:hover { color: #fff; }
.footer-nav { display: flex; gap: 56px; }
.footer-nav h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; font-family: var(--font); }
.footer-nav a { display: block; color: #a3bab0; padding: 6px 0; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { padding-top: 22px; }
.footer-legal p { color: #7a938a; font-size: .86rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .cards-3, .users, .pricing-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; gap: 4px;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { padding: 12px 14px; }
  .nav-menu .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn-primary { width: 100%; }
  .footer-nav { gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
