/**
 * the class edit | website
 *
 * The palette, radii, shadows and type rules are lifted directly from the app's
 * design tokens (mobile/src/theme/tokens.ts) so the site and the product read as
 * one thing. The contrast rules from that file are load bearing and are kept
 * here: light weight only at 24px and above, `stone-light` never on body text,
 * and never white type on baby blue or butter.
 */

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */

:root {
  /* Paper */
  --ivory: #f7f3ec;
  --white: #ffffff;
  --shell: #f1ebe0;
  --sand: #e6ddce;
  --track: #e9e2d6;

  /* Ink */
  --espresso: #52352d;
  --espresso-soft: #6b4b41;
  --stone: #7a6459;
  --stone-light: #98847a;

  /* Signature accent */
  --blue: #b1d4d0;
  --blue-pressed: #9cc5c0;
  --blue-fill: #e4f0ee;
  --blue-ink: #3e6b65;

  /* Butter: a detail, never a surface */
  --butter: #f0e6ad;
  --butter-fill: #faf5df;
  --butter-ink: #6e5a18;

  /* Warm neutral + semantic */
  --clay-light: #d9bba9;
  --clay: #9c4a3c;
  --clay-fill: #f6e7e3;

  --border: #eae3d8;
  --border-strong: #dacebe;

  /* Type */
  --brand: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, serif;

  /* 8pt spacing scale */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-2xl: 32px;
  --s-3xl: 48px;
  --s-4xl: 72px;
  --s-5xl: 112px;

  /* Radii */
  --r-chip: 999px;
  --r-field: 16px;
  --r-card: 20px;
  --r-card-lg: 24px;
  --r-sheet: 28px;

  /* Surfaces separate by tone first, shadow second. */
  --shadow-soft: 0 4px 14px rgba(61, 42, 36, 0.05);
  --shadow-lift: 0 10px 24px rgba(61, 42, 36, 0.09);
  --shadow-deep: 0 24px 64px rgba(61, 42, 36, 0.14);

  --page: 1160px;
  --narrow: 720px;
}

/* ------------------------------------------------------------------ */
/* Reset                                                               */
/* ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--blue-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--blue);
  color: var(--espresso);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--espresso);
  color: var(--ivory);
  padding: 12px 20px;
  border-radius: var(--r-chip);
}

.skip-link:focus {
  left: 16px;
}

/* The `hidden` attribute has to win. The browser's own rule for it is weaker
   than any class in this file, so `display: flex` on a form row quietly beat
   `row.hidden = true` and left the form on screen after someone had joined. */
[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The honeypot. Hidden from people, left in the DOM for form fillers. */
.trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Type                                                                */
/* ------------------------------------------------------------------ */

/* Outfit carries the wordmark and headings. Light weight is only ever used at
   24px and up, per the app's accessibility rules. */
.display,
h1,
h2 {
  font-family: var(--brand);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 7.4vw, 84px);
}

h2 {
  font-size: clamp(34px, 4.6vw, 54px);
}

h3 {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.overline {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.overline--stone {
  color: var(--stone);
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--espresso-soft);
  max-width: 46ch;
  text-wrap: pretty;
}

p {
  text-wrap: pretty;
}

.muted {
  color: var(--stone);
}

.fine {
  font-size: 14px;
  line-height: 1.55;
  color: var(--stone);
}

/* Fraunces is reserved for brand statements. Never for instructions. */
.statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ------------------------------------------------------------------ */
/* Wordmark                                                            */
/* ------------------------------------------------------------------ */

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  font-family: var(--brand);
  color: var(--espresso);
  text-decoration: none;
}

.wordmark__the {
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  line-height: 1.2;
  opacity: 0.72;
}

.wordmark__name {
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.wordmark--sm {
  font-size: 22px;
}

.wordmark--lg {
  font-size: 40px;
}

.wordmark--light .wordmark__the,
.wordmark--light .wordmark__name {
  color: var(--ivory);
}

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s-xl);
}

.section {
  padding: var(--s-5xl) 0;
  position: relative;
}

.section--tight {
  padding: var(--s-4xl) 0;
}

.section__head {
  max-width: var(--narrow);
  margin-bottom: var(--s-3xl);
}

.section__head .overline {
  display: block;
  margin-bottom: var(--s-lg);
}

.section__head h2 + p {
  margin-top: var(--s-xl);
}

.rule {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-chip);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.3, 1),
    background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: #462c25;
  box-shadow: var(--shadow-lift);
}

/* Ink on blue, never the other way around. */
.btn--accent {
  background: var(--blue);
  color: var(--espresso);
}

.btn--accent:hover {
  background: var(--blue-pressed);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--espresso);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--stone-light);
}

.btn--light {
  background: var(--ivory);
  color: var(--espresso);
}

.btn--light:hover {
  background: var(--white);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

/* ------------------------------------------------------------------ */
/* Nav                                                                 */
/* ------------------------------------------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.nav[data-scrolled="true"] {
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xl);
  height: 76px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-2xl);
}

.nav__links a {
  font-size: 15px;
  color: var(--espresso-soft);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

.nav__links a:hover {
  color: var(--espresso);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 var(--s-5xl);
  overflow: hidden;
}

/* The linen still life, faded back far enough that type sits on paper rather
   than on a photograph. Masked top-to-bottom rather than in a circle: a circle
   put a visible smudge behind the phone, where a wash reads as texture. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/brand-linen.jpg");
  background-size: cover;
  background-position: 62% 26%;
  opacity: 0.2;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 42%, transparent 86%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 42%, transparent 86%);
}

.hero__glow {
  position: absolute;
  z-index: 0;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 212, 208, 0.5) 0%, transparent 68%);
  top: -180px;
  right: -120px;
  filter: blur(20px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--s-4xl);
  align-items: center;
}

.hero__copy > * + * {
  margin-top: var(--s-xl);
}

/* Smaller than the global h1: this one lives in a half-width column next to the
   phone, so the page-wide scale overshoots it and strands "class." on its own. */
.hero h1 {
  margin-top: var(--s-lg);
  font-size: clamp(40px, 4.6vw, 58px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-chip);
  background: var(--blue-fill);
  border: 1px solid rgba(62, 107, 101, 0.16);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-ink);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.78);
  }
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--s-3xl);
  }

  .hero__bg {
    opacity: 0.2;
  }
}

/* ------------------------------------------------------------------ */
/* Waitlist form                                                       */
/* ------------------------------------------------------------------ */

.waitlist {
  max-width: 520px;
}

.waitlist__row {
  display: flex;
  gap: var(--s-sm);
  align-items: stretch;
}

.field {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.field input,
.field select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: var(--r-chip);
  border: 1px solid var(--border-strong);
  background: var(--white);
  font-size: 16px;
  color: var(--espresso);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  appearance: none;
}

.field input::placeholder {
  color: var(--stone-light);
}

.field input:hover,
.field select:hover {
  border-color: var(--stone-light);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue-ink);
  box-shadow: 0 0 0 4px var(--blue-fill);
}

.field--select {
  flex: 0 0 auto;
  width: 100%;
}

.field--select::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--stone);
  border-bottom: 1.6px solid var(--stone);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select {
  padding-right: 44px;
  cursor: pointer;
}

.waitlist__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-md);
  margin-top: var(--s-md);
}

.waitlist__note {
  font-size: 13.5px;
  color: var(--stone);
}

.waitlist__meta {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--blue-ink);
  font-weight: 500;
}

.waitlist__meta[data-visible="true"] {
  display: inline-flex;
}

.waitlist__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--s-sm);
}

.waitlist__stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

/* Result strip: one calm line under the form, announced to screen readers. */
.waitlist__result {
  margin-top: var(--s-lg);
  padding: 0;
  border-radius: var(--r-field);
  font-size: 15px;
  line-height: 1.5;
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms cubic-bezier(0.2, 0.8, 0.3, 1),
    padding 320ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

.waitlist__result[data-state="ok"],
.waitlist__result[data-state="error"] {
  padding: var(--s-lg) var(--s-xl);
  max-height: 260px;
}

.waitlist__result[data-state="ok"] {
  background: var(--blue-fill);
  color: var(--espresso);
  border: 1px solid rgba(62, 107, 101, 0.18);
}

.waitlist__result[data-state="error"] {
  background: var(--clay-fill);
  color: var(--clay);
  border: 1px solid rgba(156, 74, 60, 0.2);
}

.waitlist__result strong {
  font-family: var(--brand);
  font-weight: 500;
  display: block;
  font-size: 19px;
  margin-bottom: 4px;
  color: var(--espresso);
}

.btn[aria-busy="true"] {
  opacity: 0.72;
  pointer-events: none;
}

@media (max-width: 560px) {
  .waitlist__row {
    flex-direction: column;
  }

  .waitlist__row .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ */
/* Device mockup                                                       */
/* ------------------------------------------------------------------ */

.device {
  position: relative;
  width: min(320px, 84vw);
  margin: 0 auto;
  aspect-ratio: 320 / 660;
  border-radius: 46px;
  background: var(--espresso);
  padding: 10px;
  box-shadow: var(--shadow-deep);
}

.device__screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  background: var(--ivory);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.device__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 24px;
  border-radius: var(--r-chip);
  background: var(--espresso);
  z-index: 3;
}

.device--tilt {
  transform: rotate(-2.2deg);
}

.screen__body {
  flex: 1;
  padding: 46px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.screen__title {
  font-family: var(--brand);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.screen__sub {
  font-size: 12px;
  color: var(--stone);
  margin-top: 2px;
}

/* A class card, mirroring the home screen's stacked cards. */
.mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.mini-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mini-card__name {
  font-family: var(--brand);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}

.mini-card__meta {
  font-size: 11px;
  color: var(--stone);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.mini-card__minutes {
  font-family: var(--brand);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

.mini-card__minutes span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-top: 2px;
}

/* The section strip: colour is never the only signal in the app, so widths
   differ too. */
.strip {
  display: flex;
  gap: 3px;
  margin-top: 12px;
}

.strip i {
  height: 5px;
  border-radius: 3px;
  display: block;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 12.5px;
}

.mini-row__num {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-fill);
  color: var(--espresso);
  font-size: 10px;
  font-weight: 500;
  display: grid;
  place-items: center;
}

.mini-row__time {
  margin-left: auto;
  font-size: 11px;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
}

.mini-row--flag {
  background: var(--butter-fill);
  border-color: rgba(110, 90, 24, 0.18);
  color: var(--butter-ink);
}

.mini-row--flag .mini-row__num {
  background: var(--butter);
  color: var(--butter-ink);
}

/* The app's bottom navigation: flush to the edge, thin marks, a short blue
   underline on the current tab. Included because a phone screen that stops
   halfway down does not read as an app. */
.tabbar {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  padding: 12px 10px 16px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}

/* Equal columns rather than space-around: the labels are different widths, and
   space-around let the last one drift into the rounded corner of the frame. */
.tabbar span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--stone-light);
}

.tabbar span i {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.4px solid currentColor;
}

.tabbar span[data-active="true"] {
  color: var(--espresso);
}

.tabbar span[data-active="true"]::after {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

/* Timer screen */
.screen--timer {
  background: var(--ivory);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 46px 20px 20px;
}

.ring {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring__track {
  fill: none;
  stroke: var(--track);
  stroke-width: 6;
}

.ring__fill {
  fill: none;
  stroke: var(--blue);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 553;
  stroke-dashoffset: 155;
}

.ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring__time {
  font-family: var(--brand);
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.ring__of {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
}

.timer__name {
  font-family: var(--brand);
  font-size: 22px;
  font-weight: 400;
  margin-top: 22px;
  line-height: 1.2;
}

.timer__cue {
  font-size: 13px;
  color: var(--stone);
  margin-top: 8px;
  max-width: 24ch;
}

.timer__chip {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: var(--r-chip);
  background: var(--blue);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.timer__controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

/* Labelled rather than blank pills: three unmarked shapes read as a loading
   state, and the point of the screen is that it is legible from ten feet away. */
.timer__ctl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 62px;
  padding: 0 16px;
  border-radius: var(--r-chip);
  background: var(--track);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--espresso);
}

.timer__ctl--main {
  min-width: 96px;
  background: var(--blue);
}

/* ------------------------------------------------------------------ */
/* Apparatus strip                                                     */
/* ------------------------------------------------------------------ */

.strip-band {
  background: var(--shell);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--s-2xl) 0;
}

.strip-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-md) var(--s-xl);
}

.strip-band__label {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-right: var(--s-sm);
}

.strip-band__item {
  font-family: var(--brand);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 400;
  color: var(--espresso-soft);
  letter-spacing: 0.01em;
}

.strip-band__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay-light);
}

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */

.grid {
  display: grid;
  gap: var(--s-xl);
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card-lg);
  padding: var(--s-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 260ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card h3 {
  margin-bottom: var(--s-md);
}

.card p {
  color: var(--stone);
  font-size: 16px;
}

.card__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-fill);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-xl);
  color: var(--blue-ink);
}

.card__mark svg {
  width: 22px;
  height: 22px;
}

.card--quiet {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 0;
}

.card--quiet:hover {
  transform: none;
  box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* Steps                                                               */
/* ------------------------------------------------------------------ */

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-4xl);
  align-items: center;
  padding: var(--s-4xl) 0;
}

.step + .step {
  border-top: 1px solid var(--border);
}

/* Alternate which side the visual sits on. Scoped to `.steps` so the count is
   the steps themselves and not whatever else shares their parent. */
.steps > .step:nth-child(even) .step__visual {
  order: -1;
}

@media (max-width: 900px) {
  .step {
    grid-template-columns: 1fr;
    gap: var(--s-2xl);
  }

  .steps > .step:nth-child(even) .step__visual {
    order: 0;
  }
}

.step__n {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--s-lg);
}

.step__n i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-fill);
  color: var(--espresso);
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  display: grid;
  place-items: center;
}

.step h3 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.step p {
  margin-top: var(--s-lg);
  color: var(--espresso-soft);
  font-size: 17.5px;
  max-width: 48ch;
}

.ticks {
  margin-top: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--espresso-soft);
}

.ticks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--blue-fill);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E6B65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.step__visual {
  position: relative;
}

.photo {
  border-radius: var(--r-sheet);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--border);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 6;
}

/* A paper card floating over the photo, echoing the app's card-on-paper look */
.float-card {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: min(300px, 82%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card-lg);
  padding: var(--s-lg);
  box-shadow: var(--shadow-lift);
}

.float-card__label {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-bottom: 10px;
}

.float-card ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* ------------------------------------------------------------------ */
/* Dark panel (the timer)                                              */
/* ------------------------------------------------------------------ */

.dark {
  background: var(--espresso);
  color: var(--ivory);
}

.dark h2,
.dark h3 {
  color: var(--ivory);
}

.dark .lede,
.dark p {
  color: rgba(247, 243, 236, 0.76);
}

.dark .overline {
  color: var(--blue);
}

.dark .ticks li {
  color: rgba(247, 243, 236, 0.86);
}

.dark .ticks li::before {
  background-color: rgba(177, 212, 208, 0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B1D4D0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

.dark .device {
  background: #2f1e19;
}

/* A device is a piece of the app, not a piece of the section it sits in. Its
   screen is still ivory paper, so the dark panel's ivory ink must not reach
   inside it or the whole screen goes blank. */
.dark .device__screen,
.dark .device__screen p {
  color: var(--espresso);
}

.dark .device__screen .screen__sub,
.dark .device__screen .ring__of,
.dark .device__screen .timer__cue,
.dark .device__screen .mini-card__meta,
.dark .device__screen .mini-row__time,
.dark .device__screen .float-card__label {
  color: var(--stone);
}

.dark .device__screen .timer__chip {
  color: var(--espresso);
}

.dark__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: var(--s-4xl);
  align-items: center;
}

@media (max-width: 900px) {
  .dark__inner {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* Library chips                                                       */
/* ------------------------------------------------------------------ */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin-top: var(--s-xl);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--r-chip);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--espresso-soft);
  box-shadow: var(--shadow-soft);
}

.chip--accent {
  background: var(--blue-fill);
  border-color: rgba(62, 107, 101, 0.16);
  color: var(--blue-ink);
  font-weight: 500;
}

.chip--more {
  background: transparent;
  border-style: dashed;
  border-color: var(--border-strong);
  box-shadow: none;
  color: var(--stone);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-top: var(--s-md);
}

.spec-list li {
  background: var(--white);
  padding: var(--s-lg) var(--s-xl);
  font-family: var(--brand);
  font-size: 16px;
  font-weight: 400;
  color: var(--espresso-soft);
}

/* ------------------------------------------------------------------ */
/* Butter panel: the honesty section                                   */
/* ------------------------------------------------------------------ */

.butter-panel {
  background: var(--butter-fill);
  border: 1px solid rgba(110, 90, 24, 0.18);
  border-radius: var(--r-sheet);
  padding: clamp(32px, 5vw, 64px);
}

.butter-panel .overline {
  color: var(--butter-ink);
}

.nots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-xl);
  margin-top: var(--s-2xl);
}

.not {
  padding-top: var(--s-lg);
  border-top: 2px solid var(--butter);
}

.not h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
}

.not p {
  font-size: 15.5px;
  color: var(--butter-ink);
  line-height: 1.55;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-xl) 48px var(--s-xl) 0;
  position: relative;
  font-family: var(--brand);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 160ms ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--blue-ink);
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -8px;
  border-right: 1.8px solid var(--stone);
  border-bottom: 1.8px solid var(--stone);
  transform: rotate(45deg);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.faq__body {
  padding: 0 48px var(--s-xl) 0;
  color: var(--stone);
  max-width: 62ch;
}

.faq__body p + p {
  margin-top: var(--s-md);
}

/* ------------------------------------------------------------------ */
/* Closing CTA                                                         */
/* ------------------------------------------------------------------ */

.cta {
  position: relative;
  text-align: center;
  padding: var(--s-5xl) 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% 0%, var(--blue-fill) 0%, transparent 62%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.cta .waitlist {
  margin: var(--s-2xl) auto 0;
}

.cta .waitlist__aside {
  justify-content: center;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.footer {
  background: var(--espresso);
  color: rgba(247, 243, 236, 0.72);
  padding: var(--s-4xl) 0 var(--s-2xl);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2xl);
  flex-wrap: wrap;
  padding-bottom: var(--s-2xl);
  border-bottom: 1px solid rgba(247, 243, 236, 0.14);
}

.footer__nav {
  display: flex;
  gap: var(--s-2xl);
  flex-wrap: wrap;
}

.footer a {
  color: rgba(247, 243, 236, 0.72);
  text-decoration: none;
  font-size: 15px;
  transition: color 160ms ease;
}

.footer a:hover {
  color: var(--ivory);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--s-lg);
  flex-wrap: wrap;
  padding-top: var(--s-xl);
  font-size: 13.5px;
  color: rgba(247, 243, 236, 0.56);
}

.footer__tag {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(247, 243, 236, 0.8);
  margin-top: var(--s-md);
  max-width: 34ch;
}

/* ------------------------------------------------------------------ */
/* Article pages                                                       */
/* ------------------------------------------------------------------ */

.article {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: var(--s-4xl) var(--s-xl) var(--s-5xl);
}

.article h1 {
  font-size: clamp(38px, 5.4vw, 60px);
}

.article h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-top: var(--s-3xl);
}

.article h3 {
  margin-top: var(--s-2xl);
  font-size: 20px;
  font-weight: 500;
}

.article p,
.article li {
  color: var(--espresso-soft);
  margin-top: var(--s-lg);
  font-size: 17px;
}

.article ul {
  margin-top: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.article ul li {
  margin-top: 0;
  padding-left: var(--s-xl);
  position: relative;
}

.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.article .lede {
  max-width: none;
  margin-top: var(--s-xl);
}

.callout {
  margin-top: var(--s-2xl);
  background: var(--blue-fill);
  border: 1px solid rgba(62, 107, 101, 0.16);
  border-radius: var(--r-card);
  padding: var(--s-xl);
}

.callout p {
  margin-top: 0;
  color: var(--espresso);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--stone);
  text-decoration: none;
  margin-bottom: var(--s-xl);
}

.back-link:hover {
  color: var(--espresso);
}

/* ------------------------------------------------------------------ */
/* Reveal on scroll                                                    */
/* ------------------------------------------------------------------ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.3, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal][data-shown="true"] {
  opacity: 1;
  transform: none;
}

/* Motion is decoration here. Anyone who asks for less gets the page whole and
   still, not a page that never appears. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Website art direction: linen, powder blue, and espresso. */
:root{--linen:#eee5d9;--ivory:#f7f4ef;--shell:#eee5d9;--espresso:#2e2219;--espresso-soft:#49362a;--stone:#6b6560;--stone-light:#746c64;--blue:#d8e6ec;--blue-fill:#e4eef2;--blue-pressed:#c4dbe5;--blue-ink:#395a68;--border:#e3dacd;--brand:var(--serif);--s-5xl:clamp(88px,10vw,144px)}
body{background:var(--linen)}h1,h2,h3{font-weight:400;letter-spacing:-.035em}h2{font-size:clamp(38px,4.4vw,64px);line-height:1.1}.overline{color:var(--stone);font-size:11px;letter-spacing:.14em}.lede{color:var(--stone)}
.wordmark__name{font-weight:400;letter-spacing:-.035em}.wordmark__kicker{font:10px var(--sans);letter-spacing:.14em;text-transform:uppercase;margin-top:7px;color:var(--stone)}.wordmark--sm{font-size:26px}.wordmark--light .wordmark__kicker{color:#c3b9ae}
.nav{background:var(--linen);border-bottom:1px solid var(--border)}.nav__inner{max-width:none;padding:20px 4vw;min-height:86px}.nav[data-scrolled="true"]{background:rgba(238,229,217,.95);backdrop-filter:blur(18px)}.nav__links{gap:26px}.nav__links a{font-size:14px}.menu-toggle{display:none}.mobile-menu{display:none}
.hero{padding:0}.hero__bg,.hero__glow{display:none}.hero__inner{max-width:none;padding:0;grid-template-columns:1fr 1fr;gap:0;align-items:stretch}.hero__copy{padding:clamp(65px,8vw,130px) clamp(28px,5.5vw,95px);align-self:center}.hero h1{font-size:clamp(54px,5.6vw,90px);line-height:1.07;margin:34px 0 40px}.headline-line{display:block}.hero .lede{font-size:clamp(18px,1.7vw,25px);line-height:1.6}.hero__badge{background:var(--blue);border:0;color:var(--espresso);font-size:10px;letter-spacing:.13em;padding:7px 15px}.hero__photo{overflow:hidden;min-height:690px}.hero__photo img{width:100%;height:100%;object-fit:cover;object-position:50% 54%;animation:photo-enter 1.2s cubic-bezier(.16,1,.3,1) both}.hero .waitlist{margin-top:36px}.waitlist__row{gap:8px}.hero .waitlist__row .btn{padding:14px 20px;font-size:14px;white-space:nowrap}.waitlist input,.waitlist select{background:var(--ivory)}.waitlist__note{font-size:12px}.hero .waitlist__aside{margin-top:14px}.btn{box-shadow:none!important;transition:background 180ms,transform 180ms}.btn:hover{transform:none}.btn:active{transform:scale(.985)}.strip-band{background:var(--ivory)}
#why{background:var(--ivory)}.section__head{max-width:950px}.planning{background:var(--linen)}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.plan-grid article{background:var(--ivory);border:1px solid var(--border);border-radius:24px;padding:34px;transition:border-color .2s}.plan-grid article:first-child{background:var(--blue);border-color:var(--blue)}.plan-grid article:hover{border-color:#a99f91}.plan-icon{display:grid;place-items:center;background:#e8e4de;width:48px;height:48px;border-radius:15px;font-size:27px;margin-bottom:25px}.plan-grid article:first-child .plan-icon{background:#c6d9df}.plan-grid h3{font-size:30px;margin-bottom:20px}.plan-grid p{color:var(--stone);font-size:17px;line-height:1.65}.planning-note{color:var(--stone);margin-top:38px;font-size:15px}.experience{background:var(--ivory)}.experience-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:90px;align-items:center}.experience h2{margin:24px 0 30px}.experience .lede{font-size:20px}.experience .ticks{margin:30px 0}.experience__visual{display:flex;justify-content:center;position:sticky;top:115px}.experience .device{width:290px;transform:none;box-shadow:0 10px 30px #2e22190f}.text-link{text-underline-offset:6px;font-size:15px}.dark{background:var(--espresso)}.dark .overline,.dark .lede{color:#c4bab0}.lifestyle{padding-bottom:0}.lifestyle-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:45px;gap:20px}.lifestyle-heading>p:last-child{font:italic 25px var(--serif);color:var(--stone)}.collage{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;height:480px;align-items:end;overflow:hidden}.collage img{width:100%;height:410px;object-fit:cover;border-radius:18px 18px 0 0}.collage img:nth-child(2){height:330px}.collage img:nth-child(3){height:480px}.collage img:nth-child(4){height:290px}.cta{background:var(--espresso);color:var(--ivory)}.cta__bg{display:none}.cta h2{font-size:clamp(48px,6vw,80px)}.cta .overline,.cta .lede,.cta .waitlist__note{color:#c4bab0}.cta .btn--primary{background:var(--blue);color:var(--espresso)}.cta .waitlist__result[data-state="ok"]{background:var(--blue-fill);color:var(--espresso)}.closing-link{margin-top:25px;color:var(--ivory);border-color:#86776b}.footer{padding-top:60px}.footer__nav{display:grid;grid-template-columns:1fr 1fr;column-gap:65px;row-gap:12px}.footer__tag{font:11px var(--sans);letter-spacing:.1em}.footer__bottom{color:#c3b9ae}.footer a{color:#c3b9ae}
.menu-toggle:focus-visible,.dark :focus-visible,.cta :focus-visible,.footer :focus-visible{outline-color:#9fc5d5}body.menu-open{overflow:hidden}form[aria-busy="true"] button{cursor:wait} .waitlist__result[data-state="error"]{color:#902f22;background:#faece7;padding:12px;border-radius:8px}
@keyframes photo-enter{from{transform:scale(1.06)}to{transform:scale(1)}}
@media(min-width:801px){.headline-line{animation:headline-enter .8s cubic-bezier(.16,1,.3,1) both}.headline-line:nth-child(2){animation-delay:80ms}}@keyframes headline-enter{from{opacity:0;clip-path:inset(100% 0 0);transform:translateY(20px)}to{opacity:1;clip-path:inset(0);transform:none}}
@media(max-width:1100px){.nav__links{gap:16px}.hero__copy{padding:65px 30px}.hero .waitlist__row{flex-direction:column}.hero__photo{min-height:650px}.experience-grid{gap:35px;grid-template-columns:1fr 1fr}.plan-grid article{padding:25px}.hero h1{font-size:60px}}
@media(max-width:800px){.nav__inner{padding:18px 24px;min-height:80px}.nav__links{display:none}.nav__inner>.btn{margin-left:auto;margin-right:65px;font-size:12px;padding:10px 15px}.wordmark--sm{font-size:22px}.wordmark__kicker{font-size:8px}.menu-toggle{display:block;position:absolute;right:20px;top:26px;border:0;background:transparent;font-size:13px;padding:4px}.mobile-menu:not([hidden]){display:flex;position:fixed;inset:80px 0 0;background:var(--linen);padding:40px 28px;flex-direction:column;gap:25px;height:calc(100dvh - 80px);z-index:50}.mobile-menu a{font:30px var(--serif);text-decoration:none}.hero__inner{grid-template-columns:1fr 1fr}.hero__copy{padding:60px 25px}.hero h1{font-size:48px;margin:25px 0}.hero__photo{min-height:580px}.hero .lede{font-size:18px}.plan-grid{grid-template-columns:1fr}.plan-grid article{padding:30px}.plan-icon{float:right;margin-left:20px}.experience-grid{grid-template-columns:1fr}.experience__visual{position:static;margin-top:25px}.collage{gap:10px;height:330px}.collage img{height:280px}.collage img:nth-child(2){height:230px}.collage img:nth-child(3){height:330px}.collage img:nth-child(4){height:200px}}
@media(max-width:560px){.hero__inner{grid-template-columns:1fr}.hero__copy{padding:55px 24px 40px}.hero h1{font-size:55px;max-width:370px}.hero__photo{min-height:0;height:440px}.hero__photo img{object-position:50% 57%}.hero .waitlist__row{flex-direction:row}.hero .waitlist__row .btn{padding:12px 15px;font-size:12px}.hero .field input{font-size:14px;padding:14px 12px}.nav__inner{padding-left:18px}.nav__inner>.btn{margin-right:52px;padding:9px 12px;font-size:10px}.menu-toggle{right:12px}.lifestyle-heading{align-items:start;flex-direction:column}.collage{grid-template-columns:repeat(4,42%);height:360px;overflow-x:auto}.collage img:nth-child(3){height:350px}.footer__nav{column-gap:40px}.footer__top{gap:32px}.section__head{margin-bottom:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hero__photo img{transform:none!important}[data-reveal]{opacity:1!important;transform:none!important}}
