/* Earth Psychiatry - staging site styles */
:root {
  --ink: #22303a;
  --muted: #5b6b76;
  --teal: #14655e;
  --teal-dark: #0e4a45;
  --paper: #faf8f3;
  --card: #ffffff;
  --line: #e7e0d3;
  --accent-soft: #eef4f2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: 2.4rem; margin: 0 0 1rem; }
h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.75rem 0 0.6rem; }

p { margin: 0 0 1rem; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  max-width: 1060px;
  margin: 0 auto;
}
.brand { text-decoration: none; color: var(--ink); }
.brand-name { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 600; display: block; line-height: 1.2; }
.brand-sub { font-size: 0.8rem; color: var(--muted); display: block; }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a { text-decoration: none; color: var(--ink); font-size: 0.98rem; }
.nav a:hover { color: var(--teal); }
.nav a.active { color: var(--teal); font-weight: 600; }

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-secondary:hover { background: var(--accent-soft); color: var(--teal-dark); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 0.4rem 0.7rem; font-size: 1.1rem; cursor: pointer; }

/* Hero */
.hero { padding: 4rem 0 3rem; }
.kicker { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.hero h1 { font-size: 2.8rem; max-width: 16ch; }
.hero .lede { font-size: 1.15rem; max-width: 62ch; color: var(--ink); }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.fine-print { font-size: 0.85rem; color: var(--muted); }

/* Trust bar */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  padding: 1rem 0;
}
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: center; }
.trustbar span { font-size: 0.92rem; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.5rem 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
}
.card h3 { margin-top: 0; font-size: 1.15rem; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 0.98rem; }

/* Steps */
.steps { counter-reset: step; margin: 1.5rem 0; padding: 0; list-style: none; }
.steps li {
  position: relative;
  padding: 1.1rem 0 1.1rem 3.2rem;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 1rem;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--teal);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; font-family: Georgia, serif; font-size: 1.1rem; margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--teal);
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #dcebe8; }
.cta-band .btn { background: #fff; color: var(--teal-dark); }
.cta-band .btn:hover { background: var(--accent-soft); }

/* Two columns */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.two-col ul { margin: 0.4rem 0 1rem 1.1rem; padding: 0; }
.two-col li { margin-bottom: 0.35rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq-item h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.faq-item p, .faq-item ul { color: var(--ink); }
.faq-item ul { margin: 0.4rem 0 1rem 1.1rem; }

/* Form */
form.request-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0 3rem;
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.98rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #c9c2b2;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-grid nav a { display: inline-block; margin-right: 1.1rem; text-decoration: none; color: var(--muted); }
.footer-grid nav a:hover { color: var(--teal); }

.page-head { padding: 3rem 0 1rem; }

@media (max-width: 760px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--card);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.9rem;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
  .header-inner { position: relative; }
}
