@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --surface:    #f4f2ed;
  --bg-alt:     #ffffff;
  --bg-warm:    #e8e4db;
  --bg-cream:   #f4f2ed;
  --ink:        #0e1117;
  --ink-soft:   #1c2030;
  --gold:       #b89c6e;
  --gold-lt:    #d4b98a;
  --gold-pale:  #f0e8d8;
  --mist:       #e5e1d8;
  --text-body:  #3a3e49;
  --text-muted: #6b7080;
  --border:     #ddd9d0;
  --radius:     5px;
  --shadow:     0 2px 16px rgba(14,17,23,.07);
  --shadow-md:  0 4px 32px rgba(14,17,23,.12);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--text-body);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Scroll offset for sticky header */
html {
  scroll-padding-top: 5rem;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  cursor: pointer;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-warm, #fffaf5);
  border: 1px solid var(--mist, #e8e4dd);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 180px;
  padding: .5rem 0;
  z-index: 100;
}
.nav-dropdown-menu a {
  display: block;
  padding: .55rem 1.2rem;
  white-space: nowrap;
  color: var(--ink, #2b2b2b);
  text-decoration: none;
  font-size: .9rem;
}
.nav-dropdown-menu a:hover {
  background: var(--mist, #e8e4dd);
  color: var(--primary-dark, #8a7450);
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
@media (max-width: 900px) {
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown .nav-dropdown-menu {
    display: block;
  }
}

/* Header */
.site-header {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--mist);
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
}

.logo {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: .02em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: .9rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .03em;
  transition: color .15s;
  white-space: nowrap;
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  padding: .25rem .7rem;
  border-radius: 100px;
  border: 1px solid var(--gold);
  background: var(--gold) !important;
  color: #fff !important;
  font-size: .73rem !important;
  font-weight: 500 !important;
  transition: background .15s, color .15s !important;
}

.nav-cta:hover {
  background: var(--gold-lt) !important;
  color: #fff !important;
}

.nav-onboard {
  background: transparent !important;
  border: 2px solid var(--gold) !important;
  color: var(--gold) !important;
}

.nav-onboard:hover {
  background: var(--gold) !important;
  color: #fff !important;
  border-color: var(--gold) !important;
}

/* Nav client separator */
.nav-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 .25rem;
}

@media (max-width: 900px) {
  .nav-sep {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: .25rem 0;
  }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 5rem 0 4.5rem;
  background: var(--bg-alt);
  border-bottom: 3px solid var(--gold);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 36rem;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background: var(--gold);
  color: #ffffff;
}

.hero-actions .btn-primary:hover {
  background: var(--gold-lt);
}

.hero-actions .btn-secondary {
  border-color: var(--border);
  color: var(--ink);
}

.hero-actions .btn-secondary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Forms */
.contact-form {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.75rem 1.9rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mist);
}

.form-row { margin-bottom: .9rem; }

label {
  display: block;
  font-size: .67rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .3rem;
}

input, textarea, select {
  width: 100%;
  padding: .6rem .75rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--mist);
  font-size: .88rem;
  font-family: var(--ff-body);
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,156,110,.12);
  background: #fff;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.75rem;
  border-radius: 100px;
  border: none;
  font-size: .78rem;
  font-family: var(--ff-body);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
}

.btn-primary:hover { background: var(--gold); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.fine-print {
  margin-top: .9rem;
  font-size: .7rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Cards */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mist);
  border-top: 3px solid var(--gold);
}

.card h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .75rem;
  letter-spacing: .01em;
}

.checklist, .bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  line-height: 1.55;
  padding-left: 1.3rem;
  position: relative;
}

.checklist li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 600;
  position: absolute;
  left: 0;
}

.bullet-list li {
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: .4rem;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.bullet-list li::before {
  content: "\2013";
  color: var(--gold);
  position: absolute;
  left: 0;
}

/* Sections */
.section { padding: 4.5rem 0; background: #ffffff; }

.section-alt { background: var(--surface); }

.section-dark {
  background: var(--bg-warm);
  border-top: 3px solid var(--gold);
}

.section-dark h2 {
  color: var(--ink);
}

.section-dark p,
.section-dark .checklist li {
  color: var(--text-muted);
}

.section-dark .checklist li::before {
  color: var(--gold);
}

.section h2 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.1;
  padding-bottom: .5rem;
  display: inline-block;
  border-bottom: 2px solid var(--gold);
}

.section-intro {
  font-size: .92rem;
  color: var(--text-muted);
  max-width: 42rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card, .serve-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--mist);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.section-alt .feature-card,
.section-alt .serve-card {
  background: #ffffff;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 100px;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .6rem;
  border: 1px solid #e0d5c0;
}

.feature-card h3, .serve-card h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}

.feature-card p, .serve-card p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--mist);
  box-shadow: var(--shadow);
}

.section-alt .step-card {
  background: #ffffff;
}

.step-card h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  margin: .5rem 0 .4rem;
  letter-spacing: .01em;
}

.step-card p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 100px;
  background: var(--gold);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 600;
  border: none;
}

/* FAQ — accordion style */
.faq-list {
  max-width: 44rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.75rem;
  border: 1px solid var(--mist);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .2s;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 0 0 1.25rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.contact-layout > div h2 {
  margin-bottom: .75rem;
}

.contact-layout > div p {
  font-size: .9rem;
  color: inherit;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.section-dark .contact-form {
  background: #ffffff;
  border: 1px solid var(--mist);
}

.section-dark .fine-print {
  color: var(--text-muted);
}

.contact-layout .checklist {
  margin-top: .5rem;
}

/* Footer */
.site-footer {
  background: #f4f2ed;
  color: var(--text-muted);
  padding: 2rem 0 2.25rem;
  border-top: 2px solid var(--gold);
}

.footer-inner { text-align: left; }

.footer-brand {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: .5rem;
  letter-spacing: .02em;
}

.footer-disclaimer {
  font-size: .78rem;
  color: var(--text-muted);
  max-width: 52rem;
  line-height: 1.6;
  margin-bottom: .75rem;
}

.footer-meta {
  font-size: .8rem;
  color: var(--text-muted);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--mist) center/cover no-repeat;
  margin: 0 auto 1rem;
}

.team-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .15rem;
}

.team-role {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.team-bio {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* States / Coverage */
.states-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.state-card {
  background: var(--bg-alt);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.state-card.active {
  border-left: 3px solid var(--gold);
}

.state-card.coming {
  border-left: 3px solid var(--mist);
  opacity: .7;
}

.state-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .4rem;
}

.state-card p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.provider-cta {
  background: var(--gold-pale);
  border: 1px solid #e0d5c0;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-align: center;
}

.provider-cta h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .4rem;
}

.provider-cta p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Team detail (full page) */
.team-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-detail-card {
  display: flex;
  gap: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 2rem;
  align-items: flex-start;
}

.team-photo-lg {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--mist) center/cover no-repeat;
  flex-shrink: 0;
}

.team-detail-info h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .15rem;
}

.team-detail-info p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: .6rem;
}

@media (max-width: 900px) {
  .team-detail-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ── Onboarding page styles ─────────────────────── */
.onboarding-form {
  max-width: 680px;
}

.onboarding-form h1 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: .5rem;
}

.muted {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-section {
  background: var(--surface);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.form-section h2 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.form-section label {
  margin-bottom: .75rem;
}

.form-section .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}

.form-section .checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--text-body);
  cursor: pointer;
  margin-bottom: 0;
}

.form-section .checkbox-group input[type="checkbox"] {
  width: auto;
  accent-color: var(--gold);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { font-size: 2.1rem; }
  .hero-panel { order: -1; }
  .grid-3, .grid-2, .steps, .contact-layout, .team-grid, .states-grid { grid-template-columns: minmax(0, 1fr); }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--mist);
    flex-direction: column;
    padding: 1rem 1.75rem 1.25rem;
    gap: .75rem;
  }

  .nav.open { display: flex; }

  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: .95rem; }
  .section-title { font-size: 1.4rem; }
  .container { padding: 0 1rem; }
  .hero { padding: 3rem 0 2rem; }
  .cta-group { flex-direction: column; gap: .5rem; }
  .cta-group .btn { width: 100%; text-align: center; }
  .faq-section details summary { font-size: .95rem; }
}
