/* Vireo site. One stylesheet for the home page and the legal pages. */

@font-face {
  font-family: "Roboto Flex";
  src: url("fonts/roboto-flex-wide.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 100% 151%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --cream: #EFEEE5;
  --ink: #1B1C17;
  --grey: #55594A;
  --grey-strong: #3B3E33;
  --grey-quiet: #87897B;
  --white: #FFFFFF;
  --lime: #B4F03C;
  --lime-soft: #DCEFB0;
  --forest: #1B2616;
  --forest-78: rgba(27, 38, 22, .78);
  --forest-74: rgba(27, 38, 22, .74);
  --forest-16: rgba(27, 38, 22, .16);
  --night: #1E2817;
  --night-2: #2A3521;
  --paper: #F2F1E8;
  --paper-30: rgba(242, 241, 232, .3);
  --paper-18: rgba(242, 241, 232, .18);
  --mist: #B9BDAE;
  --amber: #F2BE6E;
  --amber-ink: #2A1800;
  --sage: #D9E3A8;
  --sage-ink: #1D1E00;
  --lilac: #E2DFFC;
  --indigo: #2E315B;
  --pink: #F6A7C9;
  --wine: #3B0F22;
  --peach: #FFDDAF;
  --umber: #7E570E;
  --phone: #12140F;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Roboto Flex", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --section-gap: clamp(96px, 11vw, 168px);
  --panel-inset: clamp(8px, 1vw, 14px);
  --panel-radius: clamp(32px, 3.4vw, 48px);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* The page never scrolls sideways, and elements waiting below their final
   spot for an entrance never make the page longer. */
.page {
  overflow: hidden;
  overflow: clip;
  padding-top: var(--panel-inset);
}

.wrap {
  max-width: 1312px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.block { padding-top: var(--section-gap); }

/* Rounded full-width panels: hero, season, join */
.panel {
  position: relative;
  margin: 0 var(--panel-inset);
  border-radius: var(--panel-radius);
  overflow: hidden;
}
.panel--lime { background: var(--lime); color: var(--forest); }
.panel--night { background: var(--night); color: var(--paper); }
.season, .join { margin-top: var(--section-gap); }

/* Headings */
.h2 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: .95;
  font-weight: 820;
  font-stretch: 112%;
  letter-spacing: -.035em;
}
.h2--8 { max-width: 8em; }
.h2--9 { max-width: 9em; }
.h2--10 { max-width: 10em; }

.h3 {
  line-height: 1.1;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -.02em;
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--forest);
  text-decoration: none;
  white-space: nowrap;
}
.btn--nav {
  margin-left: 4px;
  padding: 12px 20px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 650;
}
.btn--cta {
  min-height: 60px;
  padding: 0 30px;
  color: var(--lime);
  font-size: 17px;
  font-weight: 750;
  font-stretch: 108%;
}
.text-link {
  color: var(--forest);
  font-size: 17px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  padding: 14px 0;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 5;
  max-width: 1312px;
  margin: 0 auto;
  padding: clamp(12px, 1.6vw, 22px) clamp(12px, 3vw, 40px) 0;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, .42);
  border-radius: 999px;
  padding: 8px 8px 8px 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 800;
  font-stretch: 118%;
  font-size: 21px;
  letter-spacing: -.01em;
  border-radius: 999px;
}
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--forest);
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
  padding: 10px 14px;
  border-radius: 999px;
}

/* Hero */
.hero__row {
  position: relative;
  max-width: 1312px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) clamp(12px, 4vw, 64px) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(56px, 5vw, 72px);
}
.hero__text {
  /* 528px = the draft's 520px content basis plus its 2 x 4px side padding */
  flex: 1 1 528px;
  min-width: 0;
  padding: 0 4px clamp(8px, 7vw, 120px);
}
.hero__title {
  font-size: clamp(54px, 7.6vw, 116px);
  line-height: .9;
  font-weight: 820;
  font-stretch: 112%;
  letter-spacing: -.04em;
  max-width: 7.6em;
}
.word { display: inline-block; }
.hero__lead {
  margin-top: clamp(22px, 2.4vw, 32px);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  font-weight: 450;
  color: var(--forest-78);
  max-width: 30em;
}
.hero__cta { margin-top: clamp(28px, 3vw, 40px); }
.hero__note {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 550;
  color: rgba(27, 38, 22, .68);
}

.hero__stage {
  flex: 0 1 344px;
  min-width: 0;
  margin: 0 auto;
  position: relative;
  width: 344px;
  max-width: 100%;
  height: clamp(560px, 46vw, 640px);
}
.hero__vee {
  position: absolute;
  z-index: 3;
  left: 251px;
  top: -56px;
  width: 66px;
  height: 86px;
  object-fit: cover;
  object-position: 0 0;
}

.float-card {
  position: absolute;
  z-index: 4;
  box-shadow: 0 18px 40px -18px rgba(27, 38, 22, .45);
}
.float-card--sleep {
  left: clamp(-150px, -9vw, -18px);
  top: 228px;
  width: 140px;
  border-radius: 26px;
  background: var(--lilac);
  color: var(--indigo);
  padding: 14px 14px 12px;
}
.float-card__label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; }
.float-card__value {
  margin-top: 8px;
  font-size: 30px;
  line-height: 34px;
  font-weight: 800;
  font-stretch: 118%;
  font-variant-numeric: tabular-nums;
}
.float-card__unit { font-size: 12px; opacity: .8; }
.float-card__chip { margin-top: 8px; font-size: 11px; font-weight: 750; }
.mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 10px; }
.mini-bars span { flex: 1; height: var(--h); border-radius: 3px; background: rgba(46, 49, 91, .2); }
.mini-bars .is-today { background: var(--indigo); }

.float-card--weeks {
  right: clamp(-150px, -8vw, -14px);
  top: 410px;
  width: 150px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px -18px rgba(27, 38, 22, .5);
}
.float-card__weeks { font-size: 12px; line-height: 15px; color: var(--grey); }
.float-card__weeks span { display: block; font-size: 14px; font-weight: 750; color: var(--ink); }

.badge { position: relative; flex: none; width: 54px; height: 54px; }
.badge svg { position: absolute; inset: 0; fill: var(--pink); }
.badge__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 800;
  font-stretch: 118%;
  color: var(--wine);
  font-variant-numeric: tabular-nums;
}

/* Phone mock-up */
.phone {
  position: absolute;
  left: 0;
  top: 0;
  width: 344px;
  height: 740px;
  border-radius: 54px;
  background: var(--phone);
  padding: 9px;
  box-shadow: 0 40px 80px -30px rgba(27, 38, 22, .55), inset 0 0 0 1.5px #2B2F26;
}
.phone__screen {
  position: relative;
  width: 326px;
  height: 722px;
  border-radius: 45px;
  overflow: hidden;
  background: var(--cream);
}
.phone__camera {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 11px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #0B0C09;
}
.phone__status {
  position: relative;
  z-index: 5;
  height: 34px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}
.phone__icons { display: flex; gap: 4px; }
.phone__icons span:first-child { width: 15px; height: 10px; border-radius: 2px; background: var(--forest); }
.phone__icons span:last-child { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid var(--forest); }
.phone__top {
  margin-top: -34px;
  padding: 42px 14px 24px;
  background: var(--lime);
  border-radius: 0 0 30px 30px;
  color: var(--forest);
}
.phone__greeting { height: 46px; display: flex; align-items: center; gap: 10px; }
.phone__hello { flex: 1; font-size: 16px; font-weight: 800; font-stretch: 118%; white-space: nowrap; }
.phone__date {
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(27, 38, 22, .1);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.phone__cap-row { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 6px; margin-top: 4px; }
.phone__cap-label { font-size: 12px; font-weight: 600; color: var(--forest-74); }
.phone__cap-word { font-size: 30px; line-height: 34px; font-weight: 820; font-stretch: 125%; }
.phone__delta { padding-bottom: 4px; font-size: 13px; font-weight: 650; }
.phone__score {
  font-family: var(--serif);
  font-size: 150px;
  line-height: 120px;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  padding: 0 2px;
}
.phone__why { margin-top: 14px; font-size: 16px; line-height: 22px; font-weight: 650; }
.u {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(27, 38, 22, .5);
}
.phone__body { padding: 14px 12px 0; }

/* Capacity scale: 5 to 98, ticks every 5, majors at 25, 50, 75 */
.scale { position: relative; margin: 12px 6px 0; height: 42px; color: var(--forest); }
.scale__normal {
  position: absolute;
  left: 59.14%;
  width: 12.9%;
  top: 0;
  height: 22px;
  border-radius: 5px;
  background: var(--forest-16);
}
/* 19 ticks from x=5 to x=95, spaced (90/93) of the width, centred on their value */
.scale__ticks {
  position: absolute;
  top: 0;
  left: -1px;
  width: calc(96.774% + 2px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.scale__ticks i { width: 2px; height: 11px; margin-top: 7px; border-radius: 1px; background: currentColor; opacity: .5; }
.scale__ticks i:nth-child(5n) { height: 20px; margin-top: 2px; opacity: .9; }
.scale__track { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
.scale__marker {
  position: absolute;
  left: 74.19%;
  top: -5px;
  width: 5px;
  height: 32px;
  margin-left: -2.5px;
  border-radius: 3px;
  background: currentColor;
}
.scale__labels {
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--forest-74);
}
.scale--big { margin: 28px 0 0; height: 52px; }
.scale--big .scale__normal { height: 30px; border-radius: 7px; }
.scale--big .scale__ticks i { height: 14px; margin-top: 10px; }
.scale--big .scale__ticks i:nth-child(5n) { height: 28px; margin-top: 2px; }
.scale--big .scale__marker { top: -6px; width: 7px; height: 42px; margin-left: -3.5px; border-radius: 4px; }
.scale--big .scale__labels { top: 38px; font-size: 12px; font-weight: 650; }

/* Session card (phone and large) */
.session { background: var(--night); color: var(--paper); }
.session--phone { border-radius: 30px; padding: 18px 16px 16px; }
.session__when { font-size: 12px; font-weight: 650; color: var(--mist); }
.session__title { margin-top: 2px; display: flex; align-items: center; gap: 8px; }
.session__title svg { fill: var(--paper); flex: none; }
.session__title span {
  font-size: 23px;
  line-height: 28px;
  font-weight: 820;
  font-stretch: 120%;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.session__desc { margin-top: 8px; font-size: 13px; line-height: 19px; color: var(--mist); }
.session__parts { display: flex; gap: 3px; margin-top: 12px; }
.part { min-width: 0; }
.part--20 { flex: 20; }
.part--40 { flex: 40; }
.part--12 { flex: 12; }
.part--9 { flex: 9; }
.part__bar { height: 8px; border-radius: 6px; background: var(--paper-30); }
.part.is-main .part__bar { background: var(--lime); }
.part.is-cool .part__bar { background: var(--paper-18); }
.part__name { margin-top: 5px; font-size: 10px; color: var(--mist); white-space: nowrap; overflow: hidden; }

.split-btn { display: flex; gap: 2px; margin-top: 14px; }
.split-btn__main {
  flex: 1;
  height: 50px;
  border-radius: 26px 8px 8px 26px;
  background: var(--lime);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  font-stretch: 112%;
}
.split-btn__side { width: 50px; height: 50px; border-radius: 8px 26px 26px 8px; background: var(--lime); }

.session--big { border-radius: 40px; padding: clamp(20px, 2.4vw, 30px); }
.session--big .session__when { font-size: 14px; }
.session--big .session__title { margin-top: 4px; gap: 10px; }
.session--big .session__title svg { fill: var(--amber); }
.session--big .session__title span {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  font-stretch: 122%;
  white-space: normal;
}
.session--big .session__desc { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.session--big .session__parts { margin-top: 18px; }
.session--big .part__bar { height: 10px; border-radius: 8px; }
.session--big .part.is-main .part__bar { background: var(--amber); }
.session--big .part__name { margin-top: 6px; font-size: 12px; }
.part__min { font-size: 12px; font-weight: 600; }
.split-btn--big { margin-top: 8px; }
.split-btn--big .split-btn__main { height: 58px; border-radius: 30px 8px 8px 30px; font-size: 17px; white-space: nowrap; }
.split-btn--big .split-btn__side {
  width: 58px;
  height: 58px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}
.split-btn--big .split-btn__side svg { transform: rotate(180deg); }

.choice { margin-top: 20px; border-radius: 22px; background: var(--cream); color: var(--ink); padding: 6px; }
.choice__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 16px;
  border-radius: 16px;
}
.choice__row > svg { flex: none; fill: var(--grey); }
.choice__text { position: relative; flex: 1; }
.choice__name { display: block; font-size: 16px; font-weight: 650; }
.choice__sub { display: block; font-size: 13px; color: var(--grey); }
.choice__row--pick { min-height: 64px; color: var(--amber-ink); }
.choice__row--pick .choice__name { font-weight: 750; }
.choice__row--pick .choice__sub { color: inherit; }
.choice__hl { position: absolute; inset: 0; border-radius: inherit; background: var(--peach); }
.choice__dot { position: relative; flex: none; width: 13px; height: 9px; border-radius: 50%; background: var(--umber); }
.choice__check { position: relative; flex: none; }

/* Sources strip */
.sources {
  padding-top: clamp(36px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px clamp(24px, 4vw, 56px);
  color: var(--grey);
}
.sources__label { font-size: 14px; font-weight: 550; }
.sources__name {
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 750;
  font-stretch: 118%;
  letter-spacing: -.01em;
  color: var(--grey-strong);
}

/* Manifesto */
.manifesto__text {
  max-width: 21em;
  font-size: clamp(32px, 4.3vw, 62px);
  line-height: 1.1;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -.03em;
  color: var(--grey-quiet);
}
.manifesto__text .lit { color: var(--ink); }

/* Section intro: heading left, text right */
.intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
}
.intro__text { font-size: 18px; line-height: 1.55; color: var(--grey); }
.intro__text--25 { max-width: 25em; }
.intro__text--24 { max-width: 24em; }

/* Capacity */
.cap-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(36px, 4vw, 56px); }
.card { position: relative; border-radius: 40px; overflow: hidden; }
.card--white { background: var(--white); }
.cap-today {
  flex: 7 1 520px;
  min-width: 0;
  background: var(--lime);
  color: var(--forest);
  padding: clamp(24px, 3vw, 40px);
}
.cap-today__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cap-today__day { font-size: 15px; font-weight: 600; color: var(--forest-74); }
.cap-today__word { font-size: clamp(36px, 3.4vw, 48px); line-height: 1; font-weight: 820; font-stretch: 125%; }
.cap-today__delta { font-size: 15px; font-weight: 650; }
.cap-today__score {
  font-family: var(--serif);
  font-size: clamp(170px, 19vw, 280px);
  line-height: .8;
  letter-spacing: -.045em;
  margin-top: 18px;
  font-variant-numeric: tabular-nums;
}
.cap-today__why {
  margin-top: 28px;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.3;
  font-weight: 680;
  max-width: 22em;
}
.cap-side { flex: 5 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cap-day { flex: 1 1 auto; padding: clamp(22px, 2.6vw, 32px); }
.cap-day--low { background: var(--amber); color: var(--amber-ink); min-height: 300px; }
.cap-day--rest { background: var(--sage); color: var(--sage-ink); min-height: 240px; }
.cap-day__label { font-size: 15px; font-weight: 600; }
.cap-day--low .cap-day__label { color: rgba(42, 24, 0, .74); }
.cap-day--rest .cap-day__label { color: rgba(29, 30, 0, .72); }
.cap-day__row { display: flex; align-items: baseline; gap: 14px; }
.cap-day__num { font-family: var(--serif); line-height: .9; letter-spacing: -.04em; }
.cap-day--low .cap-day__num { font-size: clamp(110px, 10vw, 150px); }
.cap-day--rest .cap-day__num { font-size: clamp(96px, 8.5vw, 128px); }
.cap-day__word { font-weight: 820; font-stretch: 125%; }
.cap-day--low .cap-day__word { font-size: 30px; }
.cap-day--rest .cap-day__word { font-size: 26px; }
.cap-day__why { font-size: 17px; line-height: 1.35; font-weight: 650; }
.cap-day--low .cap-day__why { margin-top: 12px; max-width: 14em; }
.cap-day--rest .cap-day__why { margin-top: 10px; max-width: 12em; }
.cap-day__img { position: absolute; height: auto; }
.cap-day--low .cap-day__img { right: -24px; bottom: -36px; width: clamp(150px, 15vw, 210px); }
.cap-day--rest .cap-day__img { right: -30px; bottom: -22px; width: clamp(170px, 16vw, 230px); }

.factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px 40px;
  margin-top: clamp(48px, 5vw, 72px);
}
.factor { border-top: 3px solid; padding-top: 18px; }
.factor--sleep { border-color: #407A8B; }
.factor--recovery { border-color: #9D6543; }
.factor--load { border-color: #577B52; }
.factor__pct {
  font-size: clamp(40px, 3.6vw, 56px);
  line-height: 1;
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.factor__name { margin-top: 10px; font-size: 18px; font-weight: 700; }
.factor__text { margin-top: 4px; color: var(--grey); }

/* Season */
.season__inner { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(40px, 5vw, 72px); }
.season__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
}
.season__intro { flex: 1 1 460px; min-width: 0; }
.season__text { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--mist); max-width: 27em; }
.season__img { flex: 0 1 300px; width: 300px; max-width: 70%; height: auto; margin: 0 auto -8px; }

/* Rows that scroll sideways on narrow screens. They bleed to the edge so the
   next item peeks in, and only they scroll, never the page. */
.hscroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 6px;
  scrollbar-width: thin;
}
.season__scroll { margin-top: clamp(40px, 5vw, 64px); scrollbar-color: rgba(242, 241, 232, .3) transparent; }
.strip { min-width: 820px; padding-right: 14px; scroll-snap-align: start; }
.strip__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.strip__title { font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; font-stretch: 118%; }
.strip__range { font-size: 14px; color: var(--mist); font-variant-numeric: tabular-nums; }
.strip__months, .strip__bands {
  display: grid;
  grid-template-columns: repeat(25, minmax(0, 1fr));
  column-gap: 3px;
}
.strip__months { margin-top: 52px; font-size: 13px; color: var(--mist); }
.strip__months span:nth-child(1) { grid-column: 2 / span 4; }
.strip__months span:nth-child(2) { grid-column: span 5; }
.strip__months span:nth-child(3),
.strip__months span:nth-child(4),
.strip__months span:nth-child(5) { grid-column: span 4; }
.strip__months span:nth-child(6) { grid-column: span 3; }
.strip__bands {
  position: relative;
  height: 132px;
  margin-top: 10px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.band {
  grid-column: span 4;
  border-radius: 14px;
  padding: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
}
.band__len { font-size: 12px; font-weight: 600; opacity: .76; }
.band--max { background: #9AC8D9; }
.band--power { background: #F0B493; }
.band--comp { background: #BCBDE9; }
.band--taper {
  grid-column: span 1;
  position: relative;
  display: block;
  padding: 0;
  overflow: visible;
  background: #A9CAA1;
}
.goal-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.goal-badge__shape { position: absolute; inset: 0; fill: var(--pink); }
.goal-badge__flag { position: relative; }
.goal-badge__flag path {
  fill: none;
  stroke: var(--wine);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.strip__now-line {
  position: absolute;
  left: 10%;
  top: -14px;
  bottom: -14px;
  width: 4px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--lime);
}
.strip__now {
  position: absolute;
  left: 10%;
  top: -48px;
  translate: -30% 0;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.strip__events { position: relative; height: 96px; margin-top: 22px; }
.event {
  position: absolute;
  top: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--mist);
  white-space: nowrap;
}
.event span { display: block; font-weight: 700; color: var(--paper); }
.event--league { left: 59%; border-left: 2px solid rgba(242, 241, 232, .4); padding: 4px 0 0 10px; }
.event--trip { right: 14.3%; border-right: 2px solid rgba(242, 241, 232, .4); padding: 4px 10px 0 0; text-align: right; }
.event--final { right: 0; top: 48px; text-align: right; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4px;
  margin-top: clamp(24px, 3vw, 36px);
}
.stat { border-radius: 8px; background: var(--night-2); padding: 22px 24px; }
.stat:first-child { border-radius: 32px 8px 8px 32px; }
.stat:last-child { border-radius: 8px 32px 32px 8px; }
.stat__value {
  font-size: clamp(36px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 800;
  font-stretch: 118%;
  font-variant-numeric: tabular-nums;
}
.stat__suffix { font-size: 18px; font-weight: 500; color: var(--mist); }
.stat__label { margin-top: 6px; font-size: 14px; color: var(--mist); }

/* Low day, lighter session */
.bend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px clamp(48px, 6vw, 112px);
}
.bend__text { flex: 1 1 400px; min-width: 0; }
.bend__lead { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--grey); max-width: 26em; }
.vee-says { display: flex; align-items: flex-start; gap: 14px; margin-top: 36px; max-width: 30em; }
.vee-says__vee { flex: none; width: 58px; height: auto; }
.vee-says__bubble {
  background: var(--white);
  border-radius: 6px 24px 24px 24px;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.5;
}
.vee-says__hint { margin: 8px 0 0 72px; font-size: 13px; color: var(--grey); }
.bend__card-col { flex: 1 1 420px; min-width: 0; max-width: 520px; margin: 0 auto; }

/* Built for chalky thumbs */
.log-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(36px, 4vw, 56px); }
.log-wall { flex: 6 1 460px; min-width: 0; padding: clamp(26px, 3vw, 40px); min-height: 580px; }
.log-wall__title { font-size: clamp(24px, 2.2vw, 32px); max-width: 11em; }
.log-wall__text { margin-top: 12px; color: var(--grey); max-width: 22em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; max-width: 330px; }
.chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.chip--sent { background: var(--lime-soft); color: var(--forest); font-weight: 700; }
.log-wall__img { position: absolute; right: -40px; bottom: -40px; width: clamp(290px, 30vw, 430px); height: auto; }
.log-side { flex: 5 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.log-finger { padding: clamp(26px, 3vw, 36px); min-height: 286px; }
.log-finger__title { font-size: clamp(24px, 2.2vw, 30px); max-width: 7em; }
.log-finger__text { margin-top: 10px; color: var(--grey); max-width: 12em; }
.log-finger__img { position: absolute; right: -24px; bottom: -40px; width: clamp(180px, 17vw, 240px); height: auto; }
.log-pair { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.log-small { flex: 1 1 180px; padding: 26px 26px 0; min-height: 286px; }
.log-small--note { background: var(--lime-soft); color: var(--forest); }
.log-small--timer { background: var(--night); color: var(--paper); }
.log-small__title { font-size: 22px; line-height: 1.15; font-weight: 800; font-stretch: 115%; }
.log-small__text { margin-top: 8px; font-size: 15px; line-height: 1.45; }
.log-small--note .log-small__text { color: var(--forest-78); }
.log-small--timer .log-small__text { color: var(--mist); }
/* Centred without a transform, so the motion layer owns transform */
.log-small__img { position: absolute; height: auto; }
.log-small__img--note { left: calc(50% - 100px); bottom: -14px; width: 200px; }
.log-small__img--timer { left: calc(50% - 46px); bottom: -40px; width: 92px; }

/* Your watch, in climbing terms */
.tiles-scroll { margin-top: clamp(36px, 4vw, 56px); }
.tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 4px;
  min-width: 920px;
}
.tile {
  height: 240px;
  border-radius: 8px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.tile:first-child { border-radius: 32px 8px 8px 32px; }
.tile:last-child { border-radius: 8px 32px 32px 8px; }
.tile--sleep { background: var(--lilac); color: var(--indigo); }
.tile--heart { background: #FFDCC8; color: #54290D; }
.tile--fingers { background: #D9ECD1; color: #1A3C19; }
.tile--weight { background: #FEE4C6; color: #443116; }
.tile--water { background: #D3EAF4; color: #003A48; }
.tile__label { font-size: 14px; font-weight: 650; }
.tile__value {
  margin-top: 12px;
  font-size: 40px;
  line-height: 44px;
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.tile__unit { font-size: 13px; opacity: .8; }
.tile__bars { margin-top: auto; display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.tile__bars span { flex: 1; height: var(--h); border-radius: 4px; background: currentColor; opacity: .22; }
.tile__bars span:last-child { opacity: 1; }
.tile__chip { margin-top: 10px; font-size: 12px; font-weight: 750; }

/* Your data, kept close */
.privacy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px clamp(48px, 6vw, 112px);
}
.privacy__img { flex: 0 1 420px; width: 420px; max-width: 90%; height: auto; margin: 0 auto; }
.privacy__text { flex: 1 1 420px; min-width: 0; }
.promises {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 30em;
}
.promises li { background: var(--white); border-radius: 8px; padding: 20px 24px; }
.promises li:first-child { border-radius: 28px 28px 8px 8px; }
.promises li:last-child { border-radius: 8px 8px 28px 28px; }
.promises__title { display: block; font-size: 18px; font-weight: 750; }
.promises__text { display: block; margin-top: 2px; color: var(--grey); }

/* Join */
.join__inner {
  padding-top: clamp(56px, 7vw, 104px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px 48px;
}
.join__text { flex: 1 1 520px; min-width: 0; padding-bottom: clamp(24px, 7vw, 104px); }
.join__title { font-size: clamp(48px, 6.6vw, 104px); line-height: .9; letter-spacing: -.04em; max-width: 7em; }
.join__lead {
  margin-top: 26px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--forest-78);
  max-width: 27em;
}
.join__cta { margin-top: 36px; }
.join__mail { font-size: 16px; font-weight: 600; }
.join__img { flex: 0 1 380px; width: 380px; max-width: 80%; height: auto; margin: 0 auto -6px; }

/* Footer */
.site-footer {
  padding-top: 36px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  font-size: 14px;
  color: var(--grey);
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-stretch: 118%;
  font-size: 17px;
}
.site-footer__brand img { width: 28px; height: 28px; border-radius: 8px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--grey); }

/* Narrow screens: fixes for the draft's known phone bugs */
@media (max-width: 719.98px) {
  /* The floating Sleep and "22 weeks" cards covered the phone and got cut */
  .float-card { display: none; }
}
@media (max-width: 519.98px) {
  /* Logo and "Join the test" only, so the nav stays on one line */
  .site-nav__link { display: none; }
}

/* ---------- Legal pages ---------- */

.legal-header { padding: 0 var(--panel-inset); }
.legal-header .site-header { padding-top: clamp(12px, 1.6vw, 22px); }
.legal-header .site-nav { background: var(--white); }

.legal { max-width: 820px; padding-top: clamp(48px, 6vw, 88px); }
.legal .title h1 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: .95;
  font-weight: 820;
  font-stretch: 112%;
  letter-spacing: -.035em;
}
.legal .title p { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--grey); max-width: 34em; }
.legal .title .updated { margin-top: 12px; font-size: 14px; font-weight: 600; }
.site-footer__links a[aria-current] { color: var(--ink); }

.doc {
  margin-top: clamp(32px, 4vw, 48px);
  background: var(--white);
  border-radius: 40px;
  padding: clamp(26px, 4vw, 48px);
  font-size: 17px;
  line-height: 1.65;
}
.doc h2 {
  margin: 40px 0 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -.02em;
}
.doc > h2:first-child, .callout > h2:first-child { margin-top: 0; }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--forest); text-decoration-thickness: 1.5px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc strong { font-weight: 700; }
.callout {
  margin-top: 40px;
  background: var(--cream);
  border-radius: 28px;
  padding: clamp(20px, 3vw, 32px);
}
.legal + .site-footer { margin-top: clamp(48px, 6vw, 88px); }
