/* WonderHealth adaptations over the existing Timeless homepage design. */
:root { color-scheme: light; --wonder-ink: #222; --wonder-lime: #e8ffc8; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--wonder-ink); overflow-x: clip; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #517ba3; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 14px 20px; background: white; z-index: 200; transform: translateY(-180%); border-radius: 8px; }
.skip-link:focus { transform: none; }
.wonder-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #eee; }
.wonder-announcement { display: block; padding: 11px 20px; background: var(--wonder-lime); text-align: center; font-size: 13px; line-height: 20px; color: #222; text-decoration: none; }
.wonder-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 40px; max-width: 1600px; margin: auto; }
.wonder-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-schibsted-grotesk), sans-serif; font-size: 25px; letter-spacing: -1px; font-weight: 500; white-space: nowrap; }
.wonder-brand img { width: 28px; height: 32px; }
.wonder-desktop-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.wonder-desktop-nav a:hover, .wonder-footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.wonder-nav-actions { display: flex; gap: 16px; align-items: center; }
.wonder-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 12px 23px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s; }
.wonder-button-dark { background: #222; color: #fff; }
.wonder-button-dark:hover { background: #444; }
.wonder-menu-toggle { display: none; border: 0; background: transparent; padding: 10px; color: #222; }
#wonder-mobile-menu { display: flex; flex-direction: column; padding: 8px 24px 24px; gap: 0; border-top: 1px solid #eee; }
#wonder-mobile-menu a { padding: 15px 0; border-bottom: 1px solid #eee; font-size: 16px; }
.wonder-hero { height: calc(100svh - 115px); min-height: 560px; background-image: url('/assets/hero-poster.jpg'); background-position: center; background-size: cover; }
.wonder-hero video { background: transparent; opacity: 0; }
.wonder-hero video.is-playing { opacity: 1; }
.wonder-biomarkers { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(24px, calc((100vw - 1280px) / 2)) 24px; scrollbar-width: thin; scrollbar-color: #c4c4c4 transparent; }
.wonder-biomarkers article { width: 320px; max-width: 82vw; flex: 0 0 auto; scroll-snap-align: center; }
.wonder-card-brand { position: absolute; top: 15%; left: 8%; display: flex; align-items: center; gap: 7px; color: #fff; font-size: clamp(14px,2vw,22px); letter-spacing: -.7px; font-family: var(--font-schibsted-grotesk),sans-serif; }
.wonder-card-brand img { width: 22px; height: 26px; filter: invert(1); }
.wonder-testimonials { overflow-x: auto; padding: 12px 24px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #ccc transparent; }
.wonder-testimonials-track { display: flex; gap: 16px; width: max-content; margin: auto; }
.wonder-testimonial { padding: 0; border: 0; min-width: 0; scroll-snap-align: center; }
.wonder-testimonial article { height: 400px; width: 250px; margin: 0; transform: none; }
.wonder-testimonial-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #252525; }
.wonder-testimonial article > div { pointer-events: none; }
.wonder-testimonial video { z-index: 1; }
.wonder-testimonial article > div { z-index: 2; }
.wonder-faq-answer { padding-top: 16px; color: #595959; font-size: 15px; line-height: 1.65; }
.wonder-faq-answer a { color: #315f88; text-decoration: underline; }
[data-faq-toggle] { min-height: 48px; }
.wonder-about { max-width: 1120px; margin: auto; padding: 100px 40px; display: grid; grid-template-columns: 1fr 1.8fr; gap: 90px; align-items: center; }
.wonder-about-mark { background: #f0f2ed; border-radius: 32px; min-height: 340px; display: grid; place-items: center; }
.wonder-about-mark img { width: 110px; height: auto; }
.wonder-eyebrow { font-family: var(--font-dm-mono), monospace; font-size: 12px; letter-spacing: .1em; margin-bottom: 20px; }
.wonder-about h2 { font-family: var(--font-schibsted-grotesk),sans-serif; font-weight: 500; font-size: 44px; letter-spacing: -1.8px; line-height: 1.15; margin: 0 0 24px; }
.wonder-about p:not(.wonder-eyebrow) { font-size: 16px; line-height: 1.65; color: #5c5c5c; margin: 0 0 16px; }
.wonder-about .wonder-transition-note { font-size: 14px !important; padding-left: 16px; border-left: 2px solid #96a589; }
.wonder-about .wonder-button { margin-top: 12px; }
.wonder-footer { background: #222; color: #fff; padding: 64px max(24px, calc((100vw - 1200px) / 2)) 32px; }
.wonder-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 48px; }
.wonder-footer .wonder-brand img { filter: invert(1); }
.wonder-footer-top > p { font-family: var(--font-schibsted-grotesk),sans-serif; font-size: 26px; letter-spacing: -.7px; line-height: 1.3; }
.wonder-footer-links { display: flex; flex-wrap: wrap; gap: 20px 32px; font-size: 14px; padding-bottom: 40px; }
.wonder-footer-bottom { border-top: 1px solid #515151; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: #c5c5c5; font-size: 12px; line-height: 1.6; }
.wonder-footer-bottom p:last-child { width: 100%; }
@media (min-width: 1024px) { .wonder-hero > div:last-child { margin-left: max(80px, calc((100vw - 1280px) / 2)); } }
@media (max-width: 1100px) { .wonder-desktop-nav { display: none; } .wonder-menu-toggle { display: inline-flex; } .wonder-nav { padding: 14px 24px; } }
@media (max-width: 600px) {
  html { scroll-padding-top: 110px; }
  .wonder-announcement { font-size: 11px; padding: 8px 12px; line-height: 17px; }
  .wonder-announcement > span:not([aria-hidden]) { display: none; }
  .wonder-nav { gap: 12px; padding: 12px 16px; }
  .wonder-brand { font-size: 21px; gap: 7px; }
  .wonder-brand img { width: 22px; height: 25px; }
  .wonder-nav-actions { gap: 2px; }
  .wonder-nav-actions .wonder-button { min-height: 42px; padding: 10px 14px; font-size: 12px; gap: 6px; }
  .wonder-menu-toggle { padding: 8px; }
  .wonder-hero { min-height: 570px; height: calc(100svh - 100px); }
  .wonder-testimonial article { width: 280px; height: 460px; }
  .wonder-about { padding: 64px 24px; grid-template-columns: 1fr; gap: 32px; }
  .wonder-about-mark { min-height: 190px; border-radius: 24px; }
  .wonder-about-mark img { width: 72px; }
  .wonder-about h2 { font-size: 36px; }
  .wonder-footer { padding-top: 44px; }
  .wonder-footer-top { align-items: flex-start; flex-direction: column; padding-bottom: 32px; }
  .wonder-footer-top > p { font-size: 24px; }
  .wonder-footer-links { flex-direction: column; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
