:root {
  --ink: #1f2a2e;
  --ink-soft: #4c5b61;
  --teal: #16606b;
  --teal-dark: #0e4a53;
  --paper: #fbfaf7;
  --paper-warm: #f3efe8;
  --line: #e2ddd3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--teal); }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; gap: .75rem;
}
.logo { font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; }
.logo span { color: var(--teal); }
nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
nav a:hover { color: var(--teal-dark); }
.nav-cta {
  color: #fff !important; background: var(--teal);
  padding: .45rem .9rem; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--teal-dark); }

/* hero */
.hero { background: var(--paper-warm); padding: 4.5rem 0 4rem; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; max-width: 21ch; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; margin-top: 1rem; }
.hero-actions { margin-top: 1.75rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--teal); color: #fff;
  text-decoration: none; font-weight: 600; padding: .7rem 1.4rem;
  border-radius: 8px;
}
.btn:hover { background: var(--teal-dark); }
.btn-quiet { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-quiet:hover { background: rgba(22, 96, 107, .08); }
.hero-note { margin-top: 1.5rem; color: var(--ink-soft); font-size: .95rem; max-width: 54ch; }

/* sections */
section { padding: 3.5rem 0; }
h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.05rem; margin-bottom: .4rem; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 1.4rem;
}
.card p { color: var(--ink-soft); font-size: .95rem; }

.about { background: var(--paper-warm); }
.about p { max-width: 65ch; color: var(--ink-soft); }
.about p + p { margin-top: 1rem; }

.contact h3 { margin-top: 1.1rem; }
.contact h3:first-child { margin-top: 0; }
.contact p { color: var(--ink-soft); }

.muted { color: var(--ink-soft); opacity: .8; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; }
.crisis {
  background: #fdf6ec; border: 1px solid #eadfc8; border-radius: 8px;
  padding: .9rem 1.1rem; font-size: .95rem; margin-bottom: 1.25rem;
}
.site-footer .muted { font-size: .85rem; }

/* lead form */
#lead-form { display: flex; flex-direction: column; gap: .8rem; margin-top: .5rem; }
#lead-form label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .92rem; }
#lead-form input, #lead-form textarea {
  font: inherit; font-weight: 400; padding: .55rem .7rem; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink);
}
#lead-form input:focus, #lead-form textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
#lead-form .hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
#lead-form button { align-self: flex-start; }
.form-note { font-size: .85rem; color: var(--ink-soft); }
[hidden] { display: none !important; }
