/* Mind and Body DPC design system
   Palette, type and components. Linked by every page. */

*{box-sizing:border-box}html,body{margin:0;padding:0}
html{scroll-behavior:smooth}

body{
  font-family:'DM Sans',system-ui,-apple-system,sans-serif;
  background:#F5F7F4;
  color:#46564F;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  font-size:17px;
  line-height:1.7;
}

h1,h2,h3,h4{
  font-family:'Newsreader',Georgia,serif;
  font-weight:500;
  color:#1F3D33;
  letter-spacing:-.01em;
  line-height:1.15;
  margin:0;
}
h1{font-size:clamp(2.4rem,5.2vw,4rem);line-height:1.06}
h2{font-size:clamp(1.9rem,3.4vw,2.6rem)}
h3{font-size:1.25rem;line-height:1.3}
p{margin:0 0 1.1rem}
a{color:#1F3D33}

/* colour tokens
   Linen  #F5F7F4  page
   Forest #1F3D33  headings, dark bands
   Deep   #16302A  darkest band
   Slate  #46564F  body copy
   Stone  #7B8A83  secondary copy
   Sage   #8FA99B  soft accent
   Clay   #C67B5C  warm accent
   Sand   #E3E0D6  rules and borders
   Cream  #FDFDFB  panels                                   */

.forest{color:#1F3D33}.slate{color:#46564F}.stone{color:#7B8A83}
.sage{color:#8FA99B}.clay{color:#C67B5C}

.wrap{max-width:1140px;margin:0 auto;padding:0 28px}
.narrow{max-width:760px;margin:0 auto;padding:0 28px}
.center{text-align:center}

/* ---------- nav ---------- */
.nav{
  position:sticky;top:0;z-index:60;
  background:rgba(245,247,244,.88);
  backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid #E3E0D6;
}
.nav-in{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.brandmark{display:flex;align-items:center;gap:11px;text-decoration:none}
.brandmark img{width:38px;height:38px;display:block}
.brandmark .wm{
  font-family:'Newsreader',Georgia,serif;font-weight:500;font-size:1.18rem;
  color:#1F3D33;letter-spacing:-.01em;line-height:1.1;
}
.navlinks{display:none;align-items:center;gap:30px}
@media(min-width:900px){.navlinks{display:flex}}
.navlinks a{
  font-size:.94rem;font-weight:500;color:#46564F;text-decoration:none;
  padding-bottom:2px;border-bottom:1.5px solid transparent;transition:.18s;
}
.navlinks a:hover{color:#1F3D33;border-bottom-color:#C67B5C}
.navlinks a.on{color:#1F3D33;border-bottom-color:#C67B5C}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:'DM Sans',sans-serif;font-size:.95rem;font-weight:600;
  padding:.85rem 1.6rem;border-radius:999px;text-decoration:none;
  border:1.5px solid transparent;cursor:pointer;transition:.18s;
}
.btn-primary{background:#1F3D33;color:#F5F7F4}
.btn-primary:hover{background:#16302A}
.navlinks a.btn-primary{color:#F5F7F4}
.btn-clay{background:#C67B5C;color:#fff}
.btn-clay:hover{background:#b36a4c}
.btn-line{background:transparent;color:#1F3D33;border-color:#C9CFC9}
.btn-line:hover{border-color:#1F3D33}
.btn-light{background:#F5F7F4;color:#1F3D33}
.btn-light:hover{background:#fff}
.btn .ar{transition:transform .18s}
.btn:hover .ar{transform:translateX(3px)}

/* ---------- eyebrow ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:#C67B5C;
}
.eyebrow .ln{width:26px;height:1.5px;background:#C67B5C;display:block}
.eyebrow.on-dark{color:#B9CFC1}
.eyebrow.on-dark .ln{background:#B9CFC1}

/* ---------- panels ---------- */
.panel{background:#FDFDFB;border:1px solid #E3E0D6;border-radius:18px;padding:30px}
.panel-soft{background:#EDF1EC;border-color:#DCE4DB}
.panel-clay{background:#FBF1EC;border-color:#EEDACF}

/* ---------- dark band ---------- */
.dark{background:#1F3D33;color:#D5E0DA}
.dark h1,.dark h2,.dark h3{color:#fff}
.dark .stone{color:#9FB3A9}
.deeper{background:#16302A}

/* ---------- lists ---------- */
ul.ticks{list-style:none;padding:0;margin:0}
ul.ticks li{position:relative;padding-left:30px;margin-bottom:13px;line-height:1.6}
ul.ticks li:before{
  content:"";position:absolute;left:0;top:.55em;
  width:11px;height:11px;border-radius:50%;border:2px solid #8FA99B;
}
ul.ticks.clay li:before{border-color:#C67B5C}
.dark ul.ticks li:before{border-color:#8FA99B}

/* ---------- form ---------- */
.field{display:block;margin-bottom:16px}
.field label{
  display:block;font-size:.82rem;font-weight:600;letter-spacing:.02em;
  color:#46564F;margin-bottom:6px;
}
.field input,.field select,.field textarea{
  width:100%;font-family:'DM Sans',sans-serif;font-size:1rem;color:#1F3D33;
  background:#fff;border:1.5px solid #DCE4DB;border-radius:11px;
  padding:.8rem .95rem;transition:.16s;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:#8FA99B;box-shadow:0 0 0 3px rgba(143,169,155,.2);
}
.field .hint{font-size:.78rem;color:#7B8A83;margin-top:5px}
.form-note{font-size:.8rem;color:#7B8A83;line-height:1.6;margin-top:14px}

/* ---------- faq ---------- */
details.q{border-bottom:1px solid #E3E0D6;padding:18px 0}
details.q:last-of-type{border-bottom:0}
details.q summary{
  cursor:pointer;list-style:none;font-weight:600;color:#1F3D33;
  display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:1.02rem;
}
details.q summary::-webkit-details-marker{display:none}
details.q summary:after{content:"+";color:#C67B5C;font-size:1.3rem;line-height:1;font-weight:400}
details.q[open] summary:after{content:"\2013"}
details.q p{margin:12px 0 0;color:#46564F}

/* ---------- misc ---------- */
.rule{height:1px;background:#E3E0D6;border:0;margin:0}
.big-num{font-family:'Newsreader',Georgia,serif;font-weight:500;font-size:2.6rem;line-height:1;color:#1F3D33}
.step-n{font-family:'Newsreader',Georgia,serif;font-weight:500;font-size:1.9rem;line-height:1;color:#C67B5C}
.lede{font-size:1.18rem;line-height:1.72;color:#46564F}
.pill{
  display:inline-block;font-size:.76rem;font-weight:600;letter-spacing:.04em;
  padding:.36rem .8rem;border-radius:999px;
  background:#EDF1EC;color:#1F3D33;border:1px solid #DCE4DB;
}
.pill-clay{background:#FBF1EC;color:#A5613F;border-color:#EEDACF}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
.reveal-d1{transition-delay:.09s}.reveal-d2{transition-delay:.18s}.reveal-d3{transition-delay:.27s}
@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}

/* ---------- grid helpers ---------- */
.g2{display:grid;gap:26px}
.g3{display:grid;gap:24px}
@media(min-width:800px){.g2{grid-template-columns:1fr 1fr}.g3{grid-template-columns:repeat(3,1fr)}}
.sec{padding:86px 0}
.sec-sm{padding:60px 0}

/* ---------- footer ---------- */
.foot{background:#16302A;color:#9FB3A9;padding:60px 0 40px}
.foot a{color:#D5E0DA;text-decoration:none}
.foot a:hover{color:#fff;text-decoration:underline}
.foot .fbrand{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.foot .fbrand img{width:34px;height:34px}
.foot .fbrand span{font-family:'Newsreader',Georgia,serif;font-size:1.1rem;color:#fff}
.foot-links{display:flex;flex-wrap:wrap;gap:22px;font-size:.9rem}
.foot-base{
  border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:22px;
  font-size:.79rem;line-height:1.7;color:#7E958A;
}
