:root {
  --paper: #ffffff;
  --ink: #0d0e10;
  --on-ink: #f5f4f0;
  --accent: #2f5bff;
  --rail: #dcdcd8;
  --hush: #8d8d88;
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.enroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.6vmin, 20px);
}
.enroll__btn {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 999px;
}
.enroll__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
/* the pill: GSAP moves this element, the shadow stays in the CSS */
.enroll__body {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vmin, 12px);
  height: clamp(52px, 9vmin, 60px);
  padding: 0 clamp(18px, 3vmin, 22px) 0 clamp(24px, 4vmin, 30px);
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 12px 26px -16px rgba(13,14,16,.6), 0 2px 4px -2px rgba(13,14,16,.3);
  will-change: transform;
}
.enroll__label {
  position: relative;
  display: grid;
  height: 1.2em;
  clip-path: inset(0 -24px);
  font-size: clamp(17px, 2.8vmin, 19px);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.enroll__word {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
  width: max-content;
  font-variation-settings: 'wght' 560, 'wdth' 100;
  will-change: transform;
}
/* the little round seat of the arrow and of the check */
.enroll__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(28px, 4.6vmin, 32px);
  height: clamp(28px, 4.6vmin, 32px);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  flex: none;
}
.enroll__mark svg {
  grid-area: 1 / 1;
  width: 62%;
  height: 62%;
  overflow: visible;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enroll__arrow { stroke: var(--on-ink); }
.enroll__check { stroke: var(--on-ink); }
/* the weeks: eight thin segments and a short line of text */
.weeks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(9px, 1.6vmin, 11px);
}
.weeks__row {
  display: flex;
  gap: clamp(4px, 0.8vmin, 5px);
  height: 8px;
  align-items: center;
}
.weeks__seg {
  display: block;
  width: clamp(12px, 2.4vmin, 16px);
  height: 2px;
  border-radius: 2px;
  background: var(--rail);
  transform-origin: 50% 50%;
}
.weeks__note {
  position: relative;
  display: grid;
  justify-items: center;
  height: 1.3em;
  overflow: hidden;
  font-size: clamp(12.5px, 2vmin, 13.5px);
  line-height: 1.3;
  color: var(--hush);
  font-variation-settings: 'wght' 470, 'wdth' 100;
}
.weeks__text { grid-area: 1 / 1; white-space: nowrap; }
.weeks__text[data-text="off"] { color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
