/* BodyState — static rebuild of the former Squarespace site (2026-12-05).
   Type scale reproduces Squarespace's fluid formula:
   desktop: min((v-1)*1.2vw + 1rem, max((v-1)*0.012*1400px + 1rem, v*1rem))
   mobile portrait: (v-1)*0.012*min(100vh,900px) + 1rem                      */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --gutter: 4vw;
  --body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Almarena Neue Display (self-hosted, licence unknown) replaced by Geist */
  --h3-font: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --link: #d4d4d4;
  --footer-bg: #111111;
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 15px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: #000; padding: 8px 12px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
h1 { --v: 3; line-height: calc(1.1 * (1 + (1 - var(--v)) / 25)); }
h2 { --v: 2; line-height: calc(1.1 * (1 + (1 - var(--v)) / 25)); }
h3 { --v: 1.7; line-height: calc(1.1 * (1 + (1 - var(--v)) / 25)); font-family: var(--h3-font); font-weight: 600; letter-spacing: -0.015em; }
h4, .accordion-title { --v: 1.2; }
.sqsrte-large { --v: 1.4; }
.sqsrte-small { --v: .8; }

h1, h2, h3, h4, .accordion-title, .sqsrte-large, .sqsrte-small {
  font-size: min(calc((var(--v) - 1) * 1.2vw + 1rem), max(calc((var(--v) - 1) * 0.012 * 1400px + 1rem), calc(var(--v) * 1rem)));
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  h1, h2, h3, h4, .accordion-title, .sqsrte-large, .sqsrte-small {
    font-size: calc((var(--v) - 1) * 0.012 * min(100vh, 900px) + 1rem);
  }
}
/* Helvetica headings: Squarespace weight 500, <strong> = bold */
h3 strong { font-weight: 600; }

.rte p { margin: 1rem 0; white-space: pre-wrap; }
.rte p[style]:empty { min-height: 27px; }
.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte .sqsrte-large { line-height: 1.8; }
.rte ul, .rte ol { margin: 1rem 0; padding-left: 40px; }
.rte li > p { margin: .5rem 0; }
.rte ul ul, .rte ol ol, .rte ul ol, .rte ol ul { margin: 0; }
.rte ul { list-style: disc; }
.rte ul ul { list-style: circle; }
.rte ul ul ul { list-style: square; }
.rte ul > li::marker { font-size: .6em; }
.rte h3 { margin: 2rem 0; }
.rte h3:first-child { margin-top: 0; }
.rte h2 + h3, .rte h2 + p { margin-top: 2rem; }

/* ---------- header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  height: var(--header-h);
}
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  padding: 0 var(--gutter);
}
.header-logo { display: block; flex: 0 0 auto; line-height: 0; }
.header-logo img { width: 105px; height: 20px; }
.header-nav {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: 27px;
}
.header-nav a {
  color: #fff; text-decoration: none; font-size: 15px; line-height: 24px; padding: 1.5px 0;
}
.header-nav a:hover, .header-nav a.is-active {
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.header-social { display: flex; align-items: center; gap: 27.36px; }
.social-icon { display: block; width: 20px; height: 20px; color: #fff; line-height: 0; }
.social-icon svg { width: 100%; height: 100%; fill: currentColor; }
.social-icon:hover { opacity: .8; }

.burger {
  display: none;
  width: 50px; height: 37px; padding: 0; margin-right: -6px;
  background: none; border: 0; cursor: pointer; position: relative; z-index: 31;
}
.burger span {
  position: absolute; left: 7px; right: 7px; height: 1px; background: #fff;
  transition: transform .25s ease, top .25s ease;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 23px; }
body.menu-open .burger span:nth-child(1) { top: 18px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 25;
  background: #000;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 35px;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav { display: flex; flex-direction: column; gap: 39px; }
.mobile-nav a { color: #fff; text-decoration: none; font-size: 33.15px; line-height: 1; }
.mobile-social {
  position: absolute; left: 28px; bottom: 38px;
  display: flex; gap: 15px;
}
.social-icon--lg { width: 25px; height: 25px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { position: fixed; z-index: 30; }

/* ---------- sections ---------- */
.sec { position: relative; overflow: hidden; }
main > .sec:first-child { padding-top: var(--header-h); }
.sec-bg { position: absolute; inset: 0; z-index: 0; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-overlay { position: absolute; inset: 0; background: #000; }

.col-wide { width: min(768px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.col-narrow { width: min(434px, 100% - 2 * var(--gutter)); margin: 0 auto; }

/* button */
.btn-wrap { display: flex; justify-content: center; }
.btn-wrap--left { justify-content: flex-start; margin-top: 2rem; }
.btn {
  display: inline-block;
  font-family: var(--body-font); font-size: 15px; font-weight: 500; letter-spacing: .02em; line-height: normal;
  color: #000; background: #fff;
  padding: 22.5px 33px; border: 0; border-radius: 300px;
  text-decoration: none; cursor: pointer;
  transition: opacity .1s linear;
}
.btn:hover { opacity: .8; }
.btn--grey { background: #d4d4d4; }

/* ---------- home ---------- */
.hero-home { height: 594px; }
.hero-home .sec-bg img { object-position: 50% 100%; }
.hero-home-content { position: relative; z-index: 1; text-align: center; padding-top: 57px; }
.hero-kicker h3 { line-height: 1.07; }
.hero-title { margin-top: 56px; }
.hero-home .btn-wrap { margin-top: 57px; }

.home-phone { height: 883px; }
.home-phone img { position: absolute; top: 57px; left: calc(50% - 217px); width: 599px; }

.home-split { height: 747px; display: flex; align-items: center; justify-content: center; gap: 43px; }
.home-split-text { width: 331px; }
.home-split-img { width: 300px; }
.home-spacer { height: 85px; }

/* ---------- accordion ---------- */
.sec-heading { margin-bottom: 0; }
.accordion { list-style: none; margin: 0; padding: 0; border-top: 1px solid #fff; }
.accordion-item { border-bottom: 1px solid #fff; }
.accordion-title { margin: 0; font-weight: 500; line-height: normal; }
.accordion-button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 30px 0; margin: 0;
  background: none; border: 0; color: #fff; cursor: pointer; text-align: left;
  font: inherit; letter-spacing: inherit;
}
.accordion-title-text { padding-right: 14px; }
.plus { position: relative; flex: 0 0 14px; width: 14px; height: 14px; }
.plus::before, .plus::after {
  content: ""; position: absolute; background: #fff;
  transition: transform .2s ease;
}
.plus::before { left: 0; right: 0; top: 50%; height: 1px; margin-top: -.5px; }
.plus::after { top: 0; bottom: 0; left: 50%; width: 1px; margin-left: -.5px; }
.accordion-item.is-open .plus::after { transform: scaleY(0); }
.accordion-desc { width: 70%; padding-bottom: 30px; }
.accordion-desc a { color: var(--link); }

.faq-sec { padding-bottom: 0; }
.faq-sec .sec-heading { padding-top: 79px; padding-bottom: 50px; }
.faq-sec:first-child .sec-heading { padding-top: 39px; padding-bottom: 70px; }
.faq-sec:last-child { padding-bottom: 79px; }

.acc-page { padding-top: calc(var(--header-h) + 95px) !important; padding-bottom: 82px; }
.page-sleep .acc-page { min-height: 851px; }
.page-access .acc-page { min-height: 700px; }
.page-data .acc-page { min-height: 1131px; padding-top: calc(var(--header-h) + 79px) !important; }
.page-mindful .acc-page { min-height: 594px; padding-top: calc(var(--header-h) + 163px) !important; }
.page-disclaimer .legal { min-height: 749px; }
.acc-page .sec-heading { padding-bottom: 50px; }

/* ---------- legal ---------- */
.legal { padding-bottom: 95px; }
.legal-title { padding-top: 95px; margin-bottom: 50px; }
.page-privacy .legal-title { margin-bottom: 40px; }
.page-terms-of-service .legal-title { margin-bottom: 84px; }

/* ---------- contact ---------- */
.contact { min-height: 993px; }
.contact-inner { width: min(773px, 100% - 2 * var(--gutter)); margin: 0 auto; padding-top: 171px; }
.contact-form { margin-top: 56px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 15px; line-height: 27px; padding-bottom: 4px; }
.req { font-size: 11.544px; opacity: .8; margin-left: 4px; }
.field input, .field textarea {
  display: block; width: 100%;
  font: inherit; font-size: 15px; line-height: 27px; color: #fff;
  background: transparent; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .5);
  border-radius: 0; padding: 5px 0; outline: none; -webkit-appearance: none; appearance: none;
}
.field input { height: 39px; }
.field textarea { height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: #fff; }
.form-submit { display: flex; justify-content: center; }
.form-error { color: #ff8a80; margin: 0 0 16px; }

/* ---------- launching soon ---------- */
.hero-launch { min-height: 646px; height: 72vh; display: flex; align-items: center; justify-content: center; }
.hero-launch-text { position: relative; z-index: 1; width: 657px; max-width: calc(100% - 2 * var(--gutter)); text-align: center; }
.launch-split { height: 1031px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 57.6px; }
.launch-split-text { width: 396px; }
.launch-split-img { width: 396px; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .rte p { color: var(--link); }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); }
.footer-grid {
  width: min(768px, 100% - 2 * var(--gutter));
  margin: 0 auto;
  min-height: 265px;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 278px 1fr auto;
  align-items: start;
}
.footer-col p { margin: 0; line-height: 27px; }
.footer-col p + p { margin-top: 12.5px; }
.footer-col a { color: var(--link); }
.footer-col--badge { padding-top: 0; }
.footer-col--badge img { width: 250px; height: 54px; }
.footer-col--legal { display: flex; flex-direction: column; min-width: 156px; }
.footer-col--legal p, .footer-col--legal p + p { margin: 0 0 12.5px; }
.f-legal { order: 0; } .f-faq { order: 1; } .f-privacy { order: 2; } .f-disclaimer { order: 3; } .f-terms { order: 4; }

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  :root { --gutter: 23px; --header-h: 84px; }
  .header-nav, .header-social { display: none; }
  .burger { display: block; }

  .hero-home { height: 756px; }
  .hero-home-content { padding: 168px var(--gutter) 0; }
  .hero-title { margin: 24px auto 0; width: 257px; }
  .hero-home .btn-wrap { margin-top: 46px; }

  .home-phone { height: 384px; }
  .home-phone img { top: 0; left: 93px; width: 270px; }

  .home-split { height: auto; flex-direction: column; gap: 0; padding: 72px 0 120px; }
  .home-split-text { width: 257px; }
  .home-split-img { width: 171px; margin-top: 120px; }
  .home-spacer { height: 24px; }

  .faq-sec .sec-heading, .faq-sec:first-child .sec-heading { padding-top: 70px; padding-bottom: 11px; }
  .sec-heading { min-height: 70px; }
  .legal-title { min-height: 125px; }
  .faq-sec:first-child .sec-heading { padding-top: 35px; min-height: 105px; }
  .faq-sec .sec-heading { min-height: 140px; }
  .faq-sec:last-child { padding-bottom: 70px; }
  .acc-page, .page-sleep .acc-page, .page-access .acc-page, .page-data .acc-page, .page-mindful .acc-page { min-height: 0; padding-top: calc(var(--header-h) + 55px) !important; padding-bottom: 70px; }
  .page-data .acc-page { padding-top: calc(var(--header-h) + 35px) !important; }
  .page-disclaimer .legal { min-height: 739px; }
  .page-sleep .acc-page { min-height: 893px; }
  .page-access .acc-page { min-height: 919px; }
  .page-data .acc-page { min-height: 1193px; }
  .page-mindful .acc-page { min-height: 604px; }
  .acc-page .sec-heading { padding-bottom: 11px; }
  .accordion-desc { width: 100%; }

  .legal-title { padding-top: 55px; margin-bottom: 0; }
  .page-privacy .legal-title, .page-terms-of-service .legal-title { margin-bottom: 0; }
  .legal { padding-bottom: 56px; }

  .contact { min-height: 708px; }
  .contact-inner { padding: 72px 0 0 43px; width: calc(100% - var(--gutter)); }
  .contact-form { margin-top: 60px; margin-right: 43px; }

  .hero-launch { min-height: 557px; height: auto; }
  .launch-split { height: auto; flex-direction: column-reverse; gap: 46px; padding: 71px 16px 72px; }
  .launch-split-img { width: 285px; max-width: 100%; }
  .launch-split-text { width: 312px; max-width: 100%; }

  .footer-grid { display: flex; flex-direction: column; padding: 51px 0 64px; width: calc(100% - 2 * var(--gutter)); }
  .footer-col--legal { order: 1; }
  .footer-col--brand { order: 2; margin-top: 38px; }
  .footer-col--badge { order: 3; margin-top: 42px; }
  .footer-col p + p, .footer-col--legal p { margin: 0 0 8px; }
  .footer-col--brand p { margin: 0 0 8px; }
  .f-legal { order: 0; } .f-disclaimer { order: 1; } .f-privacy { order: 2; } .f-faq { order: 3; } .f-terms { order: 4; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
