/* Peaked Mind launch-candidate integration layer v3 — 2026-09-01 */
:root {
  --gold-deep: #75531f;
  scroll-padding-top: 112px;
}
[id] { scroll-margin-top: 112px; }

.prelaunch-banner {
  background: #2f2c2a;
  color: #f7f3ee;
  border-bottom: 1px solid rgba(196,154,80,.45);
}
.prelaunch-banner-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}
.prelaunch-banner strong { color: #fff; }
.prelaunch-banner a {
  color: #e2c77f;
  font-weight: 700;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.waitlist-page-grid,
.waitlist-closing-grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(360px,1.1fr);
  gap: clamp(42px,7vw,88px);
  align-items: center;
}
.waitlist-page-copy { max-width: 610px; }
.waitlist-page-copy h2 { margin-bottom: 24px; }
.waitlist-page-copy .lead { margin-bottom: 24px; }
.waitlist-benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-top: 1px solid rgba(47,44,42,.16);
}
.waitlist-benefits li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid rgba(47,44,42,.16);
  color: #4e4945;
}
.waitlist-benefits li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #75531f;
  font-weight: 700;
}
.mailerlite-shell {
  width: 100%;
  min-width: 0;
  background: #fbf8f3;
  color: #2f2c2a;
  border: 1px solid rgba(117,83,31,.34);
  padding: clamp(18px,3vw,34px);
  box-shadow: 0 22px 58px rgba(47,44,42,.12);
}
.mailerlite-shell .ml-embedded { min-height: 320px; }
.mailerlite-shell .ml-form-embedContainer,
.mailerlite-shell .ml-form-embedWrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: transparent !important;
}
.mailerlite-shell .ml-form-embedBody,
.mailerlite-shell .ml-form-successBody { padding: 0 !important; }
.mailerlite-shell .ml-form-embedBody h4,
.mailerlite-shell .ml-form-successBody h4 {
  margin: 0 0 12px !important;
  color: #2f2c2a !important;
  font: 500 clamp(30px, 4vw, 44px)/1.02 var(--serif) !important;
  letter-spacing: -.02em !important;
}
.mailerlite-shell .ml-form-embedBody p,
.mailerlite-shell .ml-form-successBody p {
  margin: 0 0 22px !important;
  color: #625b54 !important;
  font: 400 15px/1.65 var(--sans) !important;
}
.mailerlite-shell .ml-form-fieldRow,
.mailerlite-shell .ml-field-group { margin: 0 0 13px !important; }
.mailerlite-shell label {
  display: block !important;
  margin: 0 0 7px !important;
  color: #2f2c2a !important;
  font: 700 12px/1.4 var(--sans) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.mailerlite-shell input,
.mailerlite-shell select,
.mailerlite-shell textarea {
  width: 100% !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
  padding: 13px 14px !important;
  border: 1px solid rgba(47,44,42,.28) !important;
  border-radius: 0 !important;
  background: #fffdf8 !important;
  color: #2f2c2a !important;
  font: 400 16px/1.4 var(--sans) !important;
}
.mailerlite-shell input:focus,
.mailerlite-shell select:focus,
.mailerlite-shell textarea:focus {
  outline: 3px solid rgba(196,154,80,.32) !important;
  outline-offset: 2px !important;
  border-color: #75531f !important;
}
.mailerlite-shell .ml-form-embedSubmit { margin: 4px 0 0 !important; }
.mailerlite-shell button,
.mailerlite-shell .primary,
.mailerlite-shell .ml-form-embedSubmit button {
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 18px !important;
  border: 1px solid #2f2c2a !important;
  border-radius: 0 !important;
  background: #2f2c2a !important;
  color: #fffdf8 !important;
  cursor: pointer !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  font: 700 12px/1.4 var(--sans) !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease !important;
}
.mailerlite-shell button:hover,
.mailerlite-shell .primary:hover,
.mailerlite-shell .ml-form-embedSubmit button:hover {
  background: #75531f !important;
  border-color: #75531f !important;
}
.mailerlite-shell button:focus-visible,
.mailerlite-shell .primary:focus-visible,
.mailerlite-shell .ml-form-embedSubmit button:focus-visible {
  outline: 3px solid rgba(196,154,80,.45) !important;
  outline-offset: 3px !important;
}
.mailerlite-shell .ml-form-successBody { min-height: 220px; }
.waitlist-note,
.form-fallback {
  color: #625b54;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.65;
}
.waitlist-note a,
.form-fallback a { text-underline-offset: 3px; }
.form-fallback { margin-top: 10px; }
.waitlist-confirmation {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #c49a50;
  background: rgba(196,154,80,.09);
  color: #4e4945;
  font-size: 13px;
  line-height: 1.6;
}
.waitlist-confirmation strong { color: #2f2c2a; }
.closing .mailerlite-shell .waitlist-note,
.closing .mailerlite-shell .form-fallback,
.waitlist-closing .mailerlite-shell .waitlist-note,
.waitlist-closing .mailerlite-shell .form-fallback {
  color: #625b54 !important;
}
.closing .mailerlite-shell .waitlist-confirmation,
.waitlist-closing .mailerlite-shell .waitlist-confirmation {
  color: #4e4945 !important;
}
.waitlist-closing .mailerlite-shell .waitlist-confirmation strong {
  color: #2f2c2a !important;
}
.closing .mailerlite-shell .waitlist-note a,
.closing .mailerlite-shell .form-fallback a,
.waitlist-closing .mailerlite-shell .waitlist-note a,
.waitlist-closing .mailerlite-shell .form-fallback a {
  color: #75531f !important;
}

.waitlist-closing {
  background: #f7f2e8;
  color: #2f2c2a;
  text-align: left;
}
.waitlist-closing h2,
.waitlist-closing .closing-copy { color: #2f2c2a !important; }
.waitlist-closing .waitlist-closing-copy .eyebrow { color: #75531f !important; }
.waitlist-closing .closing-copy {
  max-width: 620px;
  margin: 25px 0 0;
}
.waitlist-closing .text-link {
  color: #75531f !important;
  margin-top: 26px;
}
.waitlist-closing .mailerlite-shell { box-shadow: none; }
.waitlist-closing .waitlist-note,
.waitlist-closing .form-fallback { color: #625b54; }

/* Signup cards sit on light backgrounds even when nested in a closing section. */
.signup-choice-card,
.signup-choice-card h3,
.signup-choice-card > p:not(.eyebrow) { color: #2f2c2a !important; }
.signup-choice-card > p:not(.eyebrow) { color: #625b54 !important; }
.waitlist-closing .signup-choice-card .eyebrow,
.signup-choice-card .eyebrow { color: #75531f !important; }

/* The page already supplies each card's title and explanation. Keep MailerLite's
   fields, button, validation, and success copy without repeating its intro. */
.signup-choice-card .ml-form-embedBody h4,
.signup-choice-card .ml-form-embedBody h4 + p { display: none !important; }

.contact-card {
  background: #fffdf8;
  border: 1px solid rgba(117,83,31,.28);
  border-top: 3px solid #c49a50;
  padding: clamp(30px,5vw,48px);
}
.contact-card p:first-child { margin-top: 0; }
.contact-email {
  display: inline-block;
  margin: 18px 0 10px;
  color: #2f2c2a;
  font: 500 clamp(25px,3vw,38px)/1.15 var(--serif);
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.contact-card .form-note { margin-bottom: 0; }

.site-footer .footer-waitlist-link { color: #e2c77f; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 980px) {
  :root { scroll-padding-top: 96px; }
  [id] { scroll-margin-top: 96px; }
  .waitlist-page-grid,
  .waitlist-closing-grid { grid-template-columns: 1fr; }
  .waitlist-page-copy { max-width: 760px; }
  .waitlist-closing { text-align: center; }
  .waitlist-closing .closing-copy { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .prelaunch-banner-inner {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 9px;
  }
  .mailerlite-shell { padding: 16px; }
  .mailerlite-shell .ml-embedded { min-height: 360px; }
  .contact-email { font-size: clamp(22px,7.2vw,31px); }
}

/* Preserve a comfortable keyboard and touch target for the mobile menu control. */
.menu-btn {
  min-width: 54px;
  min-height: 44px;
  padding: 10px 0;
}


/* MARKETING OPTIMIZATION COMPONENTS */
.signup-choice-grid{display:grid;grid-template-columns:1fr;gap:1.15rem}
.signup-choice-card{background:#fff;border:1px solid rgba(38,58,55,.16);border-radius:18px;padding:1.25rem;box-shadow:0 10px 30px rgba(38,58,55,.07)}
.signup-choice-card h3{margin:.35rem 0 .65rem}
.signup-choice-card .ml-embedded{min-height:150px}
.article-related{margin-top:3rem;padding:1.5rem;border-radius:18px;background:#f2eee7}
.article-related ul{display:grid;gap:.6rem;margin:1rem 0 1.25rem;padding-left:1.2rem}
.analytics-consent{position:fixed;z-index:9999;left:1rem;right:1rem;bottom:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:1080px;margin:auto;padding:1rem 1.15rem;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:#263a37;color:#fff;box-shadow:0 18px 50px rgba(0,0,0,.28)}
.analytics-consent[hidden]{display:none}
.analytics-consent p{margin:.3rem 0 0;max-width:690px}
.analytics-consent-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}
.analytics-consent-actions .button{margin:0;white-space:nowrap}
.analytics-consent-actions a{color:#fff;text-decoration:underline}
@media (max-width:760px){.signup-choice-grid{grid-template-columns:1fr}.analytics-consent{align-items:stretch;flex-direction:column}.analytics-consent-actions{align-items:stretch}.analytics-consent-actions .button{text-align:center}}


/* NONBRAND SEO CONTENT LIBRARY */
.visible-breadcrumb{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:0 0 1.25rem;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:#625b54}
.visible-breadcrumb a{color:#75531f;text-underline-offset:3px}
.article-meta{margin:1.25rem 0 0;color:#625b54;font-size:.86rem;letter-spacing:.02em}
.resource-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.resource-card-grid .editorial-card{min-height:100%}
.resource-library-link{text-align:center;margin:2rem 0 0}
@media (max-width:980px){.resource-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.resource-card-grid{grid-template-columns:1fr}}


/* SEO ARTICLE IMAGES AND TOPIC HUBS */
.article-feature-image{margin:2.25rem 0 3rem}
.article-feature-image img,.topic-hub-image img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border:1px solid rgba(117,83,31,.22)}
.article-feature-image figcaption,.topic-hub-image figcaption{margin-top:.75rem;color:#625b54;font-size:.84rem;line-height:1.55}
.article-author-note{display:grid;grid-template-columns:68px 1fr;gap:1rem;align-items:center;margin:2.5rem 0;padding:1.25rem;border-top:1px solid rgba(117,83,31,.28);border-bottom:1px solid rgba(117,83,31,.28)}
.article-author-note img{width:68px;height:96px;object-fit:cover;object-position:center top}
.article-author-note p{margin:.35rem 0 0;font-size:.94rem}
.topic-center-links .stage-card{color:inherit;text-decoration:none}
.topic-center-links .stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.topic-center-links .stage-card strong{display:block;margin-top:1.25rem;color:#75531f;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.topic-hub-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.82fr);gap:clamp(2rem,5vw,5rem);align-items:center}
.topic-hub-hero h1{max-width:820px}
.topic-hub-image{margin:0}
.topic-hub-intro{display:grid;gap:2rem}
.topic-hub-copy{padding-top:2rem;border-top:1px solid rgba(117,83,31,.24)}
.topic-hub-copy h2{margin-bottom:.75rem}
@media (max-width:900px){.topic-hub-hero-grid{grid-template-columns:1fr}.topic-hub-image{max-width:760px}.topic-center-links .stage-grid{grid-template-columns:1fr}}
@media (max-width:520px){.article-author-note{grid-template-columns:1fr}.article-author-note img{width:60px;height:84px}}

/* HIGH-CONTRAST LIGHT CARDS */
.editorial-card,.editorial-card h3,.editorial-card strong{color:#2f2c2a!important}
.editorial-card p{color:#4e4945!important}
.editorial-card>span{color:#75531f!important}
body main>.section.section-gray .editorial-card,
body main>.section.section-gray .editorial-card :is(h1,h2,h3,h4,p,li,strong,em,.lead){color:#2f2c2a!important}
body main>.section.section-gray .editorial-card p{color:#4e4945!important}
body main>.section.section-gray .editorial-card>span{color:#75531f!important}

/* THERAPY SEARCH CONVERSION */
.therapy-waitlist-callout{background:#f4efe4;border:1px solid rgba(117,83,31,.28);margin:3rem 0;padding:2rem}
.therapy-waitlist-callout h2{font-size:clamp(2rem,4vw,2.8rem)!important;margin:0 0 1rem}
.therapy-waitlist-callout .actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-top:1.5rem}


/* THERAPY SEARCH SEO */
.therapy-search-section{border-top:1px solid rgba(117,83,31,.2)}
.therapy-search-home .featured-resource{background:#f4efe4}
.therapy-search-note{border-top:1px solid rgba(117,83,31,.18)}
.linked-resource-list{display:grid;gap:.7rem;margin:1.4rem 0 0;padding-left:1.2rem}
.linked-resource-list a{color:#75531f;text-underline-offset:4px}
.editorial-card,.editorial-card h3,.editorial-card strong{color:#2f2c2a!important}
.editorial-card p{color:#4e4945!important}
.editorial-card>span{color:#75531f!important}
body main>.section.section-gray .editorial-card,
body main>.section.section-gray .editorial-card :is(h1,h2,h3,h4,p,li,strong,em,.lead){color:#2f2c2a!important}
body main>.section.section-gray .editorial-card p{color:#4e4945!important}
body main>.section.section-gray .editorial-card>span{color:#75531f!important}


/* SEARCH GROWTH ROUND 5 */
.search-growth-section{border-top:1px solid rgba(117,83,31,.18)}
.washington-search-home .featured-resource{background:#eee7d9}
.search-growth-context{border-top:1px solid rgba(117,83,31,.18)}
.linked-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.linked-service-grid a{display:flex;flex-direction:column;gap:.45rem;padding:1.2rem;border:1px solid rgba(117,83,31,.24);background:#fffdf8;color:#2f2c2a;text-decoration:none}
.linked-service-grid a:hover{border-color:#75531f;transform:translateY(-2px)}
.linked-service-grid span{color:#5c5650;line-height:1.55}
.search-faq{display:grid;gap:1.6rem;margin-top:2rem}
.search-faq h3{margin:0 0 .4rem}
.search-faq p{margin:0}
@media (max-width:720px){.linked-service-grid{grid-template-columns:1fr}}


/* PRINTABLE CHILD ANXIETY TRACKER */
.printable-tracker{margin:3rem 0;padding:2rem;border:2px solid rgba(117,83,31,.35);background:#fffdf8}
.tracker-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:1.5rem}
.tracker-heading h2{margin:.25rem 0 0}
.tracker-basics{display:grid;gap:.65rem;padding:1rem 0 1.5rem;border-top:1px solid rgba(117,83,31,.25)}
.tracker-basics p{margin:0}
.tracker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.tracker-card,.tracker-summary{padding:1.2rem;border:1px solid rgba(117,83,31,.25);break-inside:avoid}
.tracker-card h3,.tracker-summary h3{margin:0 0 .5rem}
.tracker-card p{font-size:.9rem;margin:0 0 .8rem}
.write-lines{min-height:5rem;background:repeating-linear-gradient(to bottom,transparent 0,transparent 1.55rem,rgba(117,83,31,.28) 1.58rem)}
.write-lines-large{min-height:8rem}
.tracker-summary{margin-top:1rem}
@media (max-width:720px){.tracker-heading{display:block}.print-button{margin-top:1rem}.tracker-grid{grid-template-columns:1fr}}
@media print{body>*:not(.article-page){display:none!important}.article-page .site-header,.article-page .prelaunch-banner,.article-page .resource-article-hero,.article-page .article-deck,.article-page .article-feature-image,.article-page .article-block,.article-page .therapy-waitlist-callout,.article-page .article-note,.article-page .article-author-note,.article-page .article-sources,.article-page .article-related,.article-page .closing{display:none!important}.article-page,.article,.article-shell,.printable-tracker{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}.print-button{display:none!important}.tracker-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tracker-card,.tracker-summary{min-height:10rem}.tracker-heading{display:block!important}}


/* GENERAL WAITLIST SIMPLIFICATION */
.general-signup-card { max-width: 44rem; margin-inline: auto; }
.general-signup-card .form-fallback { text-align: center; }


/* CONSUMER HEALTH DATA POLICY */
.privacy-inline a,.legal-copy a{color:#684718;text-decoration-thickness:1px;text-underline-offset:3px}
.legal-copy li{margin-bottom:.55rem}
.legal-copy strong{color:#2f2c2a}

/* SITE-WIDE CONTRAST GUARDRAIL
   Keep final text colors tied to the surface they sit on, regardless of older
   inherited page styles. These rules intentionally come last. */
:is(.section-gray,.section-teal,.closing:not(.waitlist-closing),.site-footer,
    .service-dark,.service-gray,.stage-card:nth-child(2),.article-note,
    .contrast-box,.about-page .section-stone)
  :is(h1,h2,h3,h4,h5,h6,p,li,strong,em,label,small,figcaption,span,a) {
  color:#fffaf2 !important;
}
:is(.section-gray,.section-teal,.closing:not(.waitlist-closing),.site-footer,
    .service-dark,.service-gray,.stage-card:nth-child(2),.article-note,
    .contrast-box,.about-page .section-stone)
  :is(.eyebrow,.micro,.wait-badge,.text-link) {
  color:#f0d58d !important;
}

:is(.waitlist-closing,.signup-choice-card,.mailerlite-shell,.editorial-card,
    .featured-resource,.stage-card:not(:nth-child(2)),.about-principle,
    .therapy-waitlist-callout,.printable-tracker,.tracker-card,.tracker-summary,
    .contact-card,.contact-panel,.recognize-card,.lane-card,.value,.evidence,
    .reflection-prompt,.legal-review-note,.linked-service-grid a)
  :is(h1,h2,h3,h4,h5,h6,p,li,strong,em,label,small,figcaption,span,a) {
  color:#2f2c2a !important;
}
:is(.waitlist-closing,.signup-choice-card,.mailerlite-shell,.editorial-card,
    .featured-resource,.stage-card:not(:nth-child(2)),.about-principle,
    .therapy-waitlist-callout,.printable-tracker,.tracker-card,.tracker-summary,
    .contact-card,.contact-panel,.recognize-card,.lane-card,.value,.evidence,
    .reflection-prompt,.legal-review-note,.linked-service-grid a)
  :is(.eyebrow,.micro,.wait-badge,.text-link) {
  color:#684718 !important;
}

.site-footer :is(p,a,span,small){color:#eee8df !important}
.site-footer :is(h2,h3,h4,.eyebrow){color:#f0d58d !important}
.waitlist-closing{background:#f7f2e8 !important}
.waitlist-closing :is(h2,h3,p,strong,label,small,a,span){color:#2f2c2a !important}
.waitlist-closing :is(.eyebrow,.text-link){color:#684718 !important}

/* Form controls require dark input text even when the form sits in a dark band. */
.mailerlite-shell :is(input,textarea,select),
.contrast-box :is(input,textarea,select){color:#24201d !important;background:#fffdf8 !important}
.mailerlite-shell ::placeholder,
.contrast-box ::placeholder{color:#625b54 !important;opacity:1}
.button:is(.btn-dark,.btn-sage,.btn-teal),
.button:is(.btn-dark,.btn-sage,.btn-teal) span,
.mailerlite-shell button[type="submit"],
.mailerlite-shell button[type="submit"] span{color:#fff !important}

/* Light buttons need dark lettering even when they sit inside a dark closing band. */
.button.btn-light,
.button.btn-light :is(span,strong,em){
  background:#fffaf2 !important;
  color:#24201d !important;
}

/* Final interactive-control palette. The html/body prefix deliberately keeps
   section-level text guardrails from recoloring button labels. */
html body .button.btn-light,
html body .button.btn-light :is(span,strong,em){
  background:#fffaf2 !important;
  color:#24201d !important;
}
html body .button:is(.btn-dark,.btn-sage,.btn-teal),
html body .button:is(.btn-dark,.btn-sage,.btn-teal) :is(span,strong,em),
html body .mailerlite-shell button[type="submit"],
html body .mailerlite-shell button[type="submit"] :is(span,strong,em){
  background:#24201d !important;
  color:#fffaf2 !important;
}

/* Accessible bronze on the site's lightest and tan surfaces. */
html body :is(.simple-service.service-tan,
              .services-page-card.service-tan,
              .services-page-card.section-gray-soft)
  :is(span,strong,em,.eyebrow,.micro,.wait-badge,.text-link),
html body .page-hero :is(.eyebrow,.micro,.wait-badge,.text-link),
html body .portrait-credit span{
  color:#5c3c12 !important;
}

/* A restrained experience line adds credibility to the About hero without
   turning the page into a resume. */
.about-experience-line{
  display:grid;
  gap:.5rem;
  margin-top:1.6rem;
  padding-top:1.15rem;
  border-top:1px solid rgba(92,60,18,.32);
  color:#2f2c2a;
  font-size:.88rem;
  line-height:1.45;
  letter-spacing:.025em;
}
.about-experience-line span{color:#2f2c2a !important}
.about-experience-line strong{color:#5c3c12 !important;font-weight:700}
@media (min-width:720px){
  .about-experience-line{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
  .about-experience-line span+span{border-left:1px solid rgba(92,60,18,.25);padding-left:1rem}
}
