/* Condition and product pages (the shared .cp-page template: chronic illness
   tracker, symptom tracker, asthma, CRPS, fibromyalgia, seizure diary,
   medication, medical expenses, emergency plan) dressed in the landing page's
   look: dark forest hero with lime actions, the landing header that turns to
   glass when scrolled, white and dark-green content cards on the pale
   background, a lime closing card and the light footer.
   Everything is scoped to .cp-page, so linking this on other pages is
   harmless. Selectors start with `html` so they outrank the template's own
   style block, which sits later in the page. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700;800&display=swap');

html .cp-page {
  --cp-ink: #16372f;
  --cp-ink-soft: #3d5a4d;
  --cp-night: #081e1b;
  --cp-lime: #defb98;
  --cp-paper: #f8f8f3;
  --cp-line: rgba(15, 52, 43, 0.11);
  --cp-display: "Bricolage Grotesque", Geist, sans-serif;
  --cp-gutter: max(32px, calc((100vw - 1180px) / 2));
  background: var(--cp-paper);
  color: var(--cp-ink);
}

/* ---------- Header: same as the landing page ---------- */
html .cp-page .cp-nav.cp-nav-landing {
  height: 76px;
  padding: 0 var(--cp-gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  transition: background-color .3s ease, border-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
html .cp-page .cp-nav.cp-nav-landing.scrolled {
  background: rgba(8, 30, 27, 0.62);
  border-bottom-color: rgba(229, 251, 223, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: none;
}
html .cp-page .cp-nav-landing .cp-nav-logo {
  color: #f5fcf4;
  gap: 9px;
  margin-left: 0;
}
html .cp-page .cp-nav-landing .cp-landing-logo-mark {
  width: 35px;
  height: 35px;
  margin-right: 0;
}
html .cp-page .cp-nav-landing .cp-landing-logo-mark img,
html .cp-page .cp-footer-logo img {
  content: url("/branding/wellnest-logo-transparent-20261113.png");
  transform: none;
  object-fit: contain;
}
html .cp-page .cp-nav-landing .cp-landing-logo-word,
html .cp-page .cp-footer-logo {
  font-family: var(--cp-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.073em;
  text-transform: lowercase;
  transform: none;
  margin-left: 0;
}
html .cp-page .cp-nav-landing .cp-nav-logo .nest,
html .cp-page .cp-footer-logo .nest {
  color: inherit;
  margin-left: 0;
}
html .cp-page .cp-nav-landing .cp-nav-links {
  right: var(--cp-gutter);
  margin-right: 0;
  gap: 30px;
}
html .cp-page .cp-nav.cp-nav-landing .cp-nav-links a {
  color: #d9e8de;
  font-size: 13px;
  font-weight: 600;
}
html .cp-page .cp-nav.cp-nav-landing .cp-nav-links a:hover { color: #fff; }
html .cp-page .cp-nav.cp-nav-landing .cp-nav-links .cp-nav-login {
  border: 0;
  background: none;
  padding: 0;
  color: #e4ece4 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
html .cp-page .cp-nav.cp-nav-landing .cp-nav-links .cp-nav-login:hover { background: none; color: #fff !important; }
html .cp-page .cp-nav.cp-nav-landing .cp-nav-links .cp-nav-cta {
  background: var(--cp-lime);
  color: #13261c !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  padding: 13px 17px;
  border-radius: 10px;
}
html .cp-page .cp-nav.cp-nav-landing .cp-nav-links .cp-nav-cta:hover { background: #ebffc0; transform: none; }
html .cp-page .cp-nav.cp-nav-landing .cp-nav-links a:focus-visible { outline-color: var(--cp-lime); }
html .cp-page .wn-mobile-site-menu > summary {
  color: #f5fcf4 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(229, 251, 223, 0.3) !important;
}
@media (max-width: 900px) {
  html .cp-page .cp-nav.cp-nav-landing { height: 64px; padding: 0 16px; }
  html .cp-page .cp-nav-landing .cp-landing-logo-word { font-size: 25px; }
  html .cp-page .cp-nav.cp-nav-landing .cp-nav-links .cp-nav-cta { padding: 10px 13px !important; }
}
@media (max-width: 500px) {
  html .cp-page .cp-nav-landing .cp-landing-logo-mark { width: 30px; height: 30px; }
  html .cp-page .cp-nav-landing .cp-landing-logo-word { font-size: 22px; }
}

/* ---------- Hero on the dark forest surface ---------- */
html .cp-page .cp-hero {
  max-width: none;
  margin: 0;
  padding-left: var(--cp-gutter);
  padding-right: var(--cp-gutter);
  background:
    radial-gradient(48% 60% at 82% 8%, rgba(131, 194, 148, 0.16), transparent 70%),
    radial-gradient(40% 50% at 10% 30%, rgba(216, 250, 141, 0.07), transparent 70%),
    var(--cp-night);
  color: #f6fbf4;
}
html .cp-page .cp-hero > * { max-width: 900px; margin-left: auto; margin-right: auto; }
html .cp-page .cp-h1 {
  font-family: var(--cp-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #f6fbf4;
}
html .cp-page .cp-intro { color: #bbd0c5; max-width: 720px; }
html .cp-page .cp-hero-actions .cp-hero-trial {
  min-height: 54px;
  padding: 12px 23px;
  border-radius: 10px;
  background: var(--cp-lime);
  color: #13261c;
  font-size: 14px;
  font-weight: 800;
}
html .cp-page .cp-hero-actions .cp-hero-trial:hover { background: #ebffc0; }
html .cp-page .cp-hero-actions .cp-hero-demo {
  min-height: 54px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(229, 251, 223, 0.4);
  background: rgba(255, 255, 255, 0.086);
  color: #e3f5e6;
  font-size: 14px;
  font-weight: 800;
}
html .cp-page .cp-hero-actions .cp-hero-demo:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(229, 251, 223, 0.6); }
html .cp-page .cp-hero-actions a:focus-visible { outline-color: var(--cp-lime); }
html .cp-page .cp-trial-disclosure { color: #9fb8ac; }

html .cp-page .cp-back {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(229, 251, 223, 0.28);
  color: #e3f5e6;
}
html .cp-page .cp-back:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(229, 251, 223, 0.5); }
html .cp-page .cp-back:focus-visible { outline-color: var(--cp-lime); }

/* The product shot sits fully inside the dark hero. */
html .cp-page .cp-shot-section {
  max-width: none;
  padding: 24px var(--cp-gutter) 90px;
  background: var(--cp-night);
}
@media (max-width: 700px) {
  html .cp-page .cp-shot-section { padding: 16px 16px 56px; }
}
html .cp-page .cp-shot-frame {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(216, 250, 141, 0.24);
  box-shadow: 0 44px 80px -44px rgba(10, 36, 32, 0.8);
}

/* ---------- Content as cards ---------- */
html .cp-page .cp-content,
html .cp-page .cp-alt {
  background: transparent;
  padding: 10px var(--cp-gutter);
}
html .cp-page .cp-shot-section + .cp-content { padding-top: 60px; }
html .cp-page .cp-content > .cp-content-inner {
  max-width: 980px;
  padding: 40px 44px;
  border-radius: 18px;
  border: 1px solid var(--cp-line);
  background: #fff;
}
html .cp-page .cp-alt > .cp-content-inner {
  border-color: rgba(216, 250, 141, 0.24);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(216, 250, 141, 0.14), transparent 60%),
    linear-gradient(155deg, #15463c 0%, #0e3029 48%, #0a2a24 100%);
  color: #f3faf0;
}
html .cp-page .cp-h2 {
  font-family: var(--cp-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--cp-ink);
}
html .cp-page .cp-p { color: var(--cp-ink-soft); font-size: 17px; line-height: 1.6; }
html .cp-page .cp-section-link { color: #1f5c47; font-size: 15px; font-weight: 800; }
html .cp-page .cp-section-link:hover { color: var(--cp-ink); }
html .cp-page .cp-alt .cp-h2 { color: #f3faf0; }
html .cp-page .cp-alt .cp-p { color: #bbd0c5; }
html .cp-page .cp-alt .cp-section-link { color: #d8fa8d; }
html .cp-page .cp-alt .cp-section-link:hover { color: #ebffc0; }
html .cp-page .cp-alt .cp-section-link:focus-visible { outline-color: var(--cp-lime); }
html .cp-page .cp-related a { border-radius: 10px; border-color: var(--cp-line); background: var(--cp-paper); color: var(--cp-ink); font-weight: 600; }
html .cp-page .cp-related a:hover { background: var(--cp-ink); border-color: var(--cp-ink); color: #f6fbf4; }
html .cp-page .cp-learn { color: #1f5c47; font-weight: 700; }

/* The appointment-prep kit keeps its own box, squared to match. */
html .cp-page .cp-kit { padding-top: 10px; }
html .cp-page .cp-kit > .cp-content-inner { padding: 0; border: 0; background: none; }
html .cp-page .fk-box { border-radius: 18px; }

/* ---------- FAQ ---------- */
html .cp-page .cp-faq { background: transparent; padding: 70px var(--cp-gutter) 60px; }
html .cp-page .cp-faq > .cp-content-inner { max-width: 980px; }
html .cp-page .cp-faq-title {
  font-family: var(--cp-display);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  text-align: left;
  margin-bottom: 24px;
  color: var(--cp-ink);
}
html .cp-page .faq-list { max-width: none; margin: 0; }
html .cp-page .faq-item summary { color: var(--cp-ink); font-weight: 700; }
html .cp-page .faq-a { color: var(--cp-ink-soft); }

/* ---------- Closing card, like the landing page's lime card ---------- */
html .cp-page .cp-cta {
  width: calc(100% - 2 * var(--cp-gutter));
  max-width: 1180px;
  margin: 60px auto 110px;
  padding: 65px;
  border-radius: 18px;
  background: #cef49c;
  color: var(--cp-ink);
  text-align: left;
}
html .cp-page .cp-cta::before,
html .cp-page .cp-cta::after { display: none; }
html .cp-page .cp-cta-heading {
  font-family: var(--cp-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--cp-ink);
}
html .cp-page .cp-cta .cta-row { justify-content: flex-start; }
html .cp-page .cp-cta .btn-primary,
html .cp-page .cp-cta .btn-secondary {
  min-height: 54px;
  padding: 12px 23px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
  transform: none;
}
html .cp-page .cp-cta .btn-primary { background: #12372b; color: #f4fff5; border: 0; }
html .cp-page .cp-cta .btn-primary:hover { background: #0b2621; }
html .cp-page .cp-cta .btn-secondary { background: transparent; color: var(--cp-ink); border: 1px solid rgba(22, 55, 47, 0.28); }
html .cp-page .cp-cta .btn-secondary:hover { background: rgba(255, 255, 255, 0.45); border-color: var(--cp-ink); }
html .cp-page .cp-cta .cta-note { color: var(--cp-ink-soft); }
@media (max-width: 700px) {
  html .cp-page .cp-content > .cp-content-inner { padding: 28px 22px; }
  html .cp-page .cp-cta { padding: 40px 24px; margin-bottom: 70px; }
}

/* ---------- Footer: light, like the landing page ---------- */
html .cp-page .cp-footer {
  background: var(--cp-paper);
  color: var(--cp-ink);
  border-top: 1px solid var(--cp-line);
}
html .cp-page .cp-footer-logo { color: #16392e; gap: 9px; }
html .cp-page .cp-footer-logo img { width: 35px; height: 35px; }
html .cp-page .cp-footer .footer-heading { color: var(--cp-ink); opacity: 1; }
html .cp-page .cp-footer a { color: var(--cp-ink-soft); }
html .cp-page .cp-footer a:hover { color: var(--cp-ink); }
html .cp-page .cp-footer .footer-store {
  color: var(--cp-ink);
  border-color: var(--cp-line);
  background: #fff;
}
html .cp-page .cp-footer .cp-disclaimer,
html .cp-page .cp-footer .cp-copy { color: #5f7a6d; }

/* Card spotlight and tilt (hb-cardfx-20261201b.js) on the content cards. */
html .cp-page .cp-content > .cp-content-inner,
html .cp-page .fk-box,
html .cp-page .cp-cta {
  position: relative;
  isolation: isolate;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html .cp-page .cp-content,
  html .cp-page .cp-content-inner:has(> .fk-box) { perspective: 1400px; }
}

/* No "Back to home" pill on the chronic illness tracker page. Targeted by the
   page's canonical link, which the app keeps current on in-app navigation. */
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-back { display: none; }
@media (max-width: 700px) {
  html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-back + .cp-hero { padding-top: 100px; }
}

/* Chronic illness tracker page: the header shows only the logo, "Sign in"
   and "Sign up", worded and styled like the landing page header. */
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-nav-links > li:not(:has(.cp-nav-cta)):not(.cp-nav-login-item) { display: none !important; }
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-nav-links > li.cp-nav-login-item { display: list-item !important; }
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-nav.cp-nav-landing .cp-nav-links .cp-nav-login,
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-nav.cp-nav-landing .cp-nav-links .cp-nav-cta {
  font-size: 0 !important;
}
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-nav-links .cp-nav-login::after { content: "Sign in"; font-size: 13px; }
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-nav-links .cp-nav-cta::after { content: "Sign up"; font-size: 13px; }
@media (max-width: 900px) {
  html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-nav-landing .cp-nav-links { gap: 18px; }
}
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .wn-mobile-site-menu { display: none !important; }

/* Chronic illness tracker page: show the current dashboard overview. */
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-shot {
  content: url("/landing/dashboard-overview-20261201.webp");
  aspect-ratio: 1372 / 1374;
  height: auto;
}
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-shot-frame { max-width: 860px; }

/* Chronic illness tracker page: the screenshot gets the landing hero card's
   glow: a soft lime light behind it, a lime ring and deep shadow, and the
   lime highlight that travels round the edge (the landing page's own
   hb-fc-spin / hb-fc-breathe animations from the main stylesheet). */
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-shot-section {
  position: relative;
  isolation: isolate;
}
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-shot-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 40px;
  bottom: 110px;
  left: 50%;
  width: min(1000px, 92%);
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216, 250, 141, 0.25), rgba(216, 250, 141, 0.07) 55%, transparent);
  filter: blur(30px);
  pointer-events: none;
  animation: hb-fc-breathe 7s ease-in-out infinite;
}
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-shot-frame {
  position: relative;
  z-index: 1;
  border: 0;
  background: linear-gradient(155deg, #15463c 0%, #0e3029 45%, #0a2420 100%);
  box-shadow: 0 40px 90px rgba(1, 13, 15, 0.55), 0 0 0 1px rgba(216, 250, 141, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-shot-frame::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--hb-fc-angle, 0deg), rgba(216, 250, 141, 0) 0deg, #d8fa8d 60deg, rgba(216, 250, 141, 0) 130deg, rgba(216, 250, 141, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: hb-fc-spin 6s linear infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-shot-section::before,
  html:has(link[rel="canonical"][href$="/chronic-illness-tracker"]) .cp-page .cp-shot-frame::before { animation: none; }
}
