/* WellNest landing — "less templated" pass (2026-12-01).
   Keeps every section, colour and component; removes the generic chrome
   that made the page read as generated: italic accent words, ALL-CAPS
   eyebrow labels, numbering on non-sequences, decorative rings, arrows on
   internal links, and one-radius-fits-all cards. */

/* 1. Headlines read as one voice: no italic serif accent word. */
.hb-site h1 em,
.hb-site h2 em,
.hb-site h3 em {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
}

/* 2. Drop filler eyebrows and tags; the headings already say it. */
.hb-site .hb-section-intro > .hb-kicker,
.hb-site .hb-privacy-header > .hb-kicker,
.hb-site .hb-questions .hb-kicker,
.hb-site .hb-final-content > .hb-kicker,
.hb-site .hb-night-kicker,
.hb-site .hb-feature-card .hb-tag,
.hb-site .hb-scroll-note {
  display: none !important;
}

/* Labels that carry information stay, in sentence case. */
.hb-site .hb-hero-picker-label,
.hb-site .hb-ticker-label,
.hb-site .hb-ember-label,
.hb-site .hb-ember-coming-soon,
.hb-site .hb-privacy-card-label,
.hb-site .cqx-tag {
  text-transform: none;
  letter-spacing: 0;
}
.hb-site .hb-hero-picker-label,
.hb-site .hb-privacy-card-label { font-size: 13px; font-weight: 600; }
.hb-site .hb-ticker-label { font-size: 13px; font-weight: 600; }
.hb-site .hb-ember-label,
.hb-site .hb-ember-coming-soon,
.hb-site .cqx-tag { font-size: 12.5px; }

/* 3. Numbers only where order matters (the three "how it works" steps). */
.hb-site .hb-faq-index { display: none; }
.hb-site .hb-faq summary { grid-template-columns: 1fr 30px !important; }
.hb-site .hb-step-number span { display: none; }

/* 4. No decorative rings, blobs or sparkles. */
.hb-site .hb-feature-card::after,
.hb-site .hb-condition::after,
.hb-site .hb-how article::after,
.hb-site .hb-final-shape,
.hb-site .hb-final-flower,
.hb-site .hb-night-asterisk,
.hb-site .hb-night-circle {
  display: none !important;
}

/* 5. Arrows only where a link leaves the site. */
.hb-site .hb-text-link svg,
.hb-site .hb-nav-cta svg,
.hb-site .hb-button[href^="/"] > span {
  display: none;
}
/* With the arrow gone, match the right padding to the left so the label
   sits in the middle. :where() keeps this below the full-width hero rule. */
.hb-site .hb-button:where([href^="/"]) {
  gap: 0;
  padding-right: 23px;
  justify-content: center;
}

/* 6. Radius by size, flat surfaces, hairline borders instead of glow shadows. */
.hb-site .hb-feature-card,
.hb-site .hb-privacy-card,
.hb-site .hb-final-card,
.hb-site .hb-ember-card,
.hb-site .hb-product-tour-card,
.hb-site #wn-visit-offers article {
  border-radius: 18px;
}
.hb-site .hb-condition,
.hb-site .hb-how article {
  border-radius: 12px;
  box-shadow: none;
  background-image: none;
  border: 1px solid rgba(15, 52, 43, 0.12);
}
.hb-site .hb-how article { background-color: #fff; }
.hb-site .hb-condition-icon,
.hb-site .hb-step-icon { border-radius: 10px; box-shadow: none; }
.hb-site .hb-button,
.hb-site .hb-nav-cta { border-radius: 10px; }

/* Hero: three statements at one size and weight. Tracking is set per line
   in em so it scales with the line (the inherited -0.073em from the h1 was
   computed at a larger size and squashed the letters together). Sized so
   "Understand more." fits its column. */
.hb-site .hb-hero h1 .hb-hero-headline-line {
  font-size: clamp(2.3rem, 4.6vw, 3.75rem) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.08 !important;
}
@media (width <= 850px) {
  .hb-site .hb-hero h1 .hb-hero-headline-line {
    font-size: clamp(2.2rem, 8.4vw, 3.75rem) !important;
  }
}

.hb-site .hb-final-actions .hb-button:where([href^="/"]) { justify-content: center; }

/* Hero price line on one line wherever it fits beside the preview card
   (from about 1420px wide; narrower screens wrap it as before). */
@media (min-width: 1420px) {
  .hb-site .hb-hero .hb-hero-price { white-space: nowrap; max-width: none; }
}

/* Header without the page links: logo, Sign in and Sign up only. On phones
   Sign in shows beside Sign up instead of the menu button. */
#homebeta .hb-header .hb-nav-links,
#homebeta .hb-header .hb-menu-toggle { display: none !important; }
#homebeta .hb-header .hb-nav-signin { display: inline-flex; }

/* "For patients" / "For GPs" cards (#wn-visit-offers, added by the SEO
   script): more room around and between them, and the landing hero card's
   treatment: lime light, a lime ring, a deep shadow and, on the GP card,
   the lime highlight travelling round the edge. Selectors start with
   html body to outrank the script's own style block. */
html body #wn-visit-offers {
  position: relative;
  max-width: 1300px;
  gap: 32px;
  margin-top: clamp(40px, 6vw, 88px);
  margin-bottom: clamp(48px, 7vw, 104px);
}
html body #wn-visit-offers::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216, 250, 141, 0.16), rgba(216, 250, 141, 0.04) 60%, transparent);
  filter: blur(40px);
  pointer-events: none;
}
html body #wn-visit-offers article {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  padding: clamp(28px, 3.6vw, 52px);
  box-shadow: 0 40px 90px -30px rgba(1, 13, 15, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
html body #wn-visit-offers article:first-of-type {
  --rule: #c9dcb8;
  border-color: rgba(216, 250, 141, 0.7);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(216, 250, 141, 0.75), transparent 62%),
    linear-gradient(160deg, #f7fbf1 0%, #e6f1dc 100%);
}
html body #wn-visit-offers article + article {
  --rule: rgba(216, 250, 141, 0.3);
  border-color: transparent;
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(216, 250, 141, 0.16), transparent 60%),
    linear-gradient(155deg, #15463c 0%, #0e3029 48%, #0a2420 100%);
  box-shadow: 0 40px 90px -30px rgba(1, 13, 15, 0.8), 0 0 0 1px rgba(216, 250, 141, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
html body #wn-visit-offers article + article::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;
}
html body #wn-visit-offers .audience { font-weight: 700; }
html body #wn-visit-offers article:first-of-type .audience { background: #12372b; border-color: #12372b; color: #defb98; }
html body #wn-visit-offers article + article .audience { background: #defb98; border-color: #defb98; color: #13261c; }
html body #wn-visit-offers h2 { font-family: "Bricolage Grotesque", Geist, sans-serif; font-weight: 800; letter-spacing: -0.04em; }
html body #wn-visit-offers .actions a:first-child { border-radius: 10px; padding: 14px 22px; font-weight: 800; }
html body #wn-visit-offers article:first-of-type .actions a:first-child { background: #12372b; color: #f4fff5; }
html body #wn-visit-offers article:first-of-type .actions a:first-child:hover,
html body #wn-visit-offers article + article .actions a:first-child:hover { text-decoration: none; filter: brightness(1.08); }
@media (max-width: 760px) {
  html body #wn-visit-offers { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html body #wn-visit-offers article + article::before { animation: none; }
}

/* Awareness ribbon to the right of the wellnest wordmark in the header and
   footer, after a space. Decorative only, so screen readers skip it. */
#homebeta .hb-brand::after,
.wn-chrome-head .hb-brand::after,
.wn-chrome-foot .hb-brand::after {
  content: "🎗️" / "";
  margin-left: 0.25em;
  font-size: 0.8em;
  line-height: 1;
  letter-spacing: normal;
}

/* Footer: the logo mark sits level with the wellnest wordmark and ribbon. */
.hb-site .hb-footer .hb-brand .hb-brand-mark { transform: translateY(-1px); }

/* Ribbon a little closer to the wordmark: a small gap between them. The brand
   is a flex row, so its own gap (9px in the header, 3px in the footer) is
   part of the space. */
#homebeta .hb-header .hb-brand::after { margin-left: 1px; transform: translateY(2px); }
#homebeta .hb-footer .hb-brand::after { margin-left: 7px; transform: translateY(2px); }

/* Tighter spacing round the For patients / For GPs cards: less space above
   and below the pair, between them and inside each card. */
html body #wn-visit-offers {
  gap: 52px;
  margin-top: clamp(16px, 2.5vw, 32px);
  margin-bottom: clamp(32px, 4vw, 56px);
}
html body #wn-visit-offers article { padding: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) {
  html body #wn-visit-offers { gap: 28px; }
}

/* Less space between the header and the top of the hero. */
html body #hb-main .hb-hero,
#homebeta .hb-hero { padding-top: 12px; }

/* For patients card: no lime glow in the top right corner. */
html body #wn-visit-offers article:first-of-type {
  background: linear-gradient(160deg, #f7fbf1 0%, #e6f1dc 100%);
}

/* For patients card: the same lime highlight travelling round the edge as
   the For GPs card. */
html body #wn-visit-offers article:first-of-type::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 body #wn-visit-offers article:first-of-type::before { animation: none; }
}

/* For GPs card: no lime glow in the top right corner. */
html body #wn-visit-offers article + article {
  background: linear-gradient(155deg, #15463c 0%, #0e3029 48%, #0a2420 100%);
}

/* "Keep a short symptom diary" section: tighter spacing above and below */
html body #hb-how { padding-bottom: 56px; margin-bottom: 0; }
html body #hb-how .hb-how-banner { margin-bottom: 36px; }
html body #hb-how + #hb-conditions { padding-top: 72px; }

/* Smoother hand-off from the dark "Discover WellNest" section into the app
   banner, and from the banner into the cream symptom diary section. */
html body .hb-night-section:has(+ #hb-how) { margin-bottom: 0; }
html body #hb-how .hb-how-banner::before,
html body #hb-how .hb-how-banner::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
html body #hb-how .hb-how-banner::before { top: 0; height: min(22%, 120px); background: linear-gradient(to bottom, rgb(16, 46, 41), rgba(16, 46, 41, 0)); }
html body #hb-how .hb-how-banner::after { bottom: 0; height: min(26%, 140px); background: linear-gradient(to bottom, rgba(248, 248, 243, 0), rgb(248, 248, 243)); }
html body #hb-how .hb-how-appstore-group { z-index: 2; }

/* Symptom diary section intro on one line where there's room */
@media (min-width: 1300px) {
  html body #hb-how .hb-section-intro p.wn-swap { max-width: none; white-space: nowrap; }
}

/* Color Quest + Cosmo Critters banner (replaces the drawn Colour Quest card).
   Each half of the image is its own link. */
html body #hb-colour-quest .cqx-banner { position: relative; display: block; max-width: 1300px; margin: 0 auto; }
html body #hb-colour-quest .cqx-banner img { display: block; width: 100%; height: auto; }
html body #hb-colour-quest .cqx-banner-link { position: absolute; top: 2%; bottom: 3%; border-radius: 28px; }
html body #hb-colour-quest .cqx-banner-cq { left: 0; width: 49%; }
html body #hb-colour-quest .cqx-banner-cc { right: 1%; width: 50%; }
html body #hb-colour-quest .cqx-banner-link:focus-visible { outline: 3px solid #1b1b2f; outline-offset: 4px; }

/* "Where your records are saved": less space above the heading */
html body #hb-privacy { padding-top: 36px; }
@media (max-width: 760px) { html body #hb-privacy { padding-top: 28px; } }
html body #hb-colour-quest { padding-bottom: 24px; }

/* Banner motion, matching the other landing cards: spotlight + tilt from
   hb-cardfx, plus the hover lift. The image fills the banner, so the glow sits
   above it (screen blend) and is clipped to the banner's rounded face. */
html body #hb-colour-quest .cqx-banner { isolation: isolate; transition: translate .35s cubic-bezier(.2,.8,.2,1); }
html body #hb-colour-quest .cqx-banner > .hb-spot { z-index: 1; inset: 0 1% 2.5% 0; border-radius: 28px; mix-blend-mode: soft-light; }
html body #hb-colour-quest .cqx-banner[data-hb-spot] > .hb-spot { --hb-spot-color: rgba(255, 255, 255, .9); }
html body #hb-colour-quest .cqx-banner-link { z-index: 2; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html body #hb-colour-quest .hb-container:has(> .cqx-banner) { perspective: 1400px; }
  html body #hb-colour-quest .cqx-banner:hover { translate: 0 -4px; }
}

/* The whole banner is one link to Scribblesphere. */
html body #hb-colour-quest .cqx-banner-all { left: 0; right: 1%; width: auto; }
