/*
 * TenMinuteMe: one stylesheet, phone first, then wider screens at 720px and 960px. No CSS nesting, so the older
 * in-app browsers ads open the page in read it too. The direction and its reasons: docs/design.md.
 *
 * Every text colour passes WCAG AA on every background here: ink, muted, spruce, clay and sage on linen, white, sand
 * and the three soft tints; white on spruce. Control outlines (--control) keep 3:1 on white and linen.
 */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url("/assets/newsreader-latin-opsz40-wght400-600-86304359.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("/assets/inter-latin-wght400-700-cfafe47d.woff2") format("woff2");
}

:root {
  --linen: #f6f2ec;
  --sand: #ede6dc;
  --white: #fff;
  --ink: #1c2a28;
  --muted: #55615e;
  --line: #e1d9ce;
  --control: #7d8784;
  --spruce: #1f4b43;
  --spruce-dark: #163a34;
  --spruce-soft: #e4ede9;
  --clay: #9e4c2c;
  --clay-soft: #f5e6de;
  --sage: #3b6250;
  --sage-soft: #e5ede6;

  --serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
  --radius-small: 14px;
  --shadow: 0 1px 2px rgb(28 42 40 / 0.05), 0 10px 28px -18px rgb(28 42 40 / 0.22);
  --gutter: 20px;
  --section: 64px;
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
    --section: 104px;
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.18s;
}

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

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

img,
svg {
  display: block;
}

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

a {
  color: inherit;
}

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

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

.icon {
  flex: none;
  width: 24px;
  height: 24px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 800px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* Type */

.eyebrow {
  color: var(--spruce);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.display,
.title,
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.375rem, 1.7rem + 2.9vw, 3.875rem);
  line-height: 1.06;
}

.title {
  font-size: clamp(1.875rem, 1.55rem + 1.3vw, 2.625rem);
  line-height: 1.12;
}

.section__title {
  font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.875rem);
  line-height: 1.12;
}

.lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.125rem;
  text-wrap: pretty;
}

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

/* Header and footer */

.site-header {
  padding-block: 14px 6px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}

.mark {
  flex: none;
  width: 32px;
  height: 32px;
}

.logo--small {
  font-size: 1.1875rem;
}

.logo--small .mark {
  width: 26px;
  height: 26px;
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-block: 36px 44px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: grid;
  gap: 16px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer .logo {
  color: var(--ink);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.site-footer__links a {
  color: var(--ink);
  font-weight: 550;
  text-underline-offset: 3px;
}

.site-footer__disclaimer {
  max-width: 46rem;
}

/* Buttons and small parts */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 28px;
  border: 0;
  border-radius: var(--radius-small);
  background: var(--spruce);
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.button:hover {
  background: var(--spruce-dark);
}

.button:active {
  transform: translateY(1px);
}

.button:focus-visible {
  outline-color: var(--clay);
}

.button .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.button--quiet {
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
}

.button--quiet:hover {
  background: var(--sand);
}

.button:disabled,
.button[aria-disabled="true"] {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
}

.text-link {
  color: var(--spruce);
  font-weight: 600;
  text-underline-offset: 3px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--spruce);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--spruce-soft);
  color: var(--spruce);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.chip .icon {
  flex: none;
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* Callouts: safety (sage), a professional to see (clay) */

.notice {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 14px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius-small);
  background: var(--sage-soft);
}

.notice__icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage);
}

.notice__icon .icon {
  width: 22px;
  height: 22px;
}

.notice__title {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
}

.notice__text {
  color: var(--ink);
  font-size: 0.9688rem;
  line-height: 1.55;
}

.notice--clay {
  background: var(--clay-soft);
}

.notice--clay .notice__icon {
  color: var(--clay);
}

/* Sections */

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

.section--sand {
  background: var(--sand);
}

.section--tight {
  padding-block: 0;
}

.section--closing {
  padding-top: 0;
}

.section__head {
  display: grid;
  gap: 12px;
  max-width: 40rem;
  margin-bottom: 36px;
}

.section__action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Hero: the headline, then the quiz's first question */

.hero {
  padding-top: 18px;
  padding-bottom: 8px;
}

.hero__inner {
  display: grid;
  gap: 32px;
  align-items: start;
}

.hero__copy {
  display: grid;
  gap: 16px;
}

.hero__text {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 550;
}

.fact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.fact .icon {
  width: 19px;
  height: 19px;
  color: var(--spruce);
  stroke-width: 2;
}

.starter {
  display: grid;
  gap: 14px;
  padding: 20px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.starter__head {
  display: grid;
  gap: 6px;
  padding-inline: 4px;
}

.starter__question {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
}

.starter__note {
  padding-inline: 4px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.hero__visual {
  position: relative;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 30%;
}

.session {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  max-width: calc(100% - 28px);
  padding: 10px 16px 10px 10px;
  border-radius: var(--radius-small);
  background: rgb(255 255 255 / 0.95);
  box-shadow: var(--shadow);
}

.session__icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--spruce);
  color: var(--white);
}

.session__icon .icon {
  width: 22px;
  height: 22px;
}

.session__label {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 550;
  line-height: 1.4;
}

.session__title {
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
}

/* Answer cards: the hero's first question and every quiz step */

.options {
  display: grid;
  gap: 10px;
}

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 14px 16px 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 550;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.option:hover {
  border-color: var(--spruce);
}

.option:active {
  background: var(--spruce-soft);
}

.option__text {
  display: grid;
  flex: 1;
  gap: 2px;
}

.option__hint {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 450;
}

/* A single choice's ring, which fills when picked */
.option__mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--control);
  border-radius: 50%;
}

.option.is-selected,
.option:has(input:checked) {
  border-color: var(--spruce);
  background: var(--spruce-soft);
}

.option.is-selected .option__mark {
  border: 7px solid var(--spruce);
}

/* A multi-select box with its tick */
.option--check {
  position: relative;
}

.option--check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option--check .option__mark {
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: transparent;
}

.option--check .option__mark .icon {
  width: 16px;
  height: 16px;
  stroke-width: 3;
}

.option--check input:checked + .option__mark {
  border-color: var(--spruce);
  background: var(--spruce);
  color: var(--white);
}

.option--check:has(input:focus-visible) {
  outline: 3px solid var(--spruce);
  outline-offset: 2px;
}

.option__arrow {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--spruce);
  stroke-width: 2;
}

/* Who it's for */

.audience__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

.audience__photo img {
  width: 100%;
  border-radius: var(--radius);
}

.audience__copy {
  display: grid;
  gap: 14px;
}

.checklist {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.checklist .icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: var(--spruce-soft);
  color: var(--spruce);
  stroke-width: 2.5;
}

/* How it works */

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step__number {
  margin-bottom: 6px;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
}

.step__title {
  font-size: 1.1875rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

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

/* What's in the plan */

.plan {
  display: grid;
  gap: 12px;
}

.plan-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 16px;
  row-gap: 4px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.plan-item__icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--spruce-soft);
  color: var(--spruce);
}

.plan-item__title {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
}

.plan-item__text {
  color: var(--muted);
  font-size: 0.9688rem;
  line-height: 1.55;
}

/* Safety */

.safety {
  display: grid;
  gap: 18px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--sage-soft);
}

.safety__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage);
}

.safety__body {
  display: grid;
  gap: 12px;
  max-width: 52rem;
}

.safety__title {
  font-family: var(--serif);
  font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  border-radius: var(--radius-small);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq__question span {
  text-wrap: balance;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__toggle {
  color: var(--spruce);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__toggle {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

/* Closing */

.closing {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 48px 24px;
  border-radius: var(--radius);
  background: var(--spruce);
  color: var(--white);
  text-align: center;
}

.closing__title {
  font-family: var(--serif);
  font-size: clamp(2.125rem, 1.6rem + 2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.closing__text {
  color: var(--spruce-soft);
  font-size: 1.125rem;
}

.closing .button {
  margin-top: 10px;
  background: var(--linen);
  color: var(--spruce);
}

.closing .button:hover {
  background: var(--white);
}

.closing .button:focus-visible {
  outline-color: var(--linen);
}

/* The funnel's own pages: quiz steps, email, result, checkout, waitlist */

.funnel {
  padding-block: 8px 48px;
}

.funnel__inner {
  display: grid;
  gap: 24px;
  max-width: 560px;
}

.funnel__inner--wide {
  max-width: 720px;
}

.quiz-bar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
}

.quiz-bar__back {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border-radius: 50%;
  color: var(--ink);
}

.quiz-bar__back:hover {
  background: var(--sand);
}

.quiz-bar__back .icon {
  transform: scaleX(-1);
}

.quiz-bar__count {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 550;
  text-align: center;
}

.progress {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}

.progress::-webkit-progress-bar {
  border-radius: 999px;
  background: var(--line);
}

.progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--spruce);
}

.progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--spruce);
}

.question {
  display: grid;
  gap: 10px;
}

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

.step-form {
  display: grid;
  gap: 20px;
}

.form-error {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--clay-soft);
  color: var(--clay);
  font-size: 0.9375rem;
  font-weight: 600;
}

.sticky-action {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-inline: calc(var(--gutter) * -1);
  padding: 16px var(--gutter) max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(rgb(246 242 236 / 0), var(--linen) 30%);
}

/* An info step between questions */

.info {
  display: grid;
  gap: 18px;
  padding-top: 12px;
}

.info__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
}

.info__icon .icon {
  width: 30px;
  height: 30px;
}

.info__text {
  color: var(--muted);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.info__points {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-small);
  background: var(--white);
  border: 1px solid var(--line);
}

.info__points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.9688rem;
}

.info__points .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--spruce);
  stroke-width: 2.25;
}

/* Building the plan: four lines tick off, then the next page */

.building {
  display: grid;
  gap: 22px;
  padding-top: 24px;
}

.building__list {
  display: grid;
  gap: 14px;
}

.building__item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-weight: 550;
  animation: building-text 0.3s ease forwards;
}

.building__dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--control);
  border-radius: 50%;
  color: transparent;
  animation: building-dot 0.3s ease forwards;
}

.building__dot .icon {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

.building__item:nth-child(1),
.building__item:nth-child(1) .building__dot {
  animation-delay: 0.7s;
}

.building__item:nth-child(2),
.building__item:nth-child(2) .building__dot {
  animation-delay: 1.5s;
}

.building__item:nth-child(3),
.building__item:nth-child(3) .building__dot {
  animation-delay: 2.3s;
}

.building__item:nth-child(4),
.building__item:nth-child(4) .building__dot {
  animation-delay: 3.1s;
}

.building__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.building__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--spruce);
  transform: scaleX(0);
  transform-origin: left;
  animation: building-bar 3.4s ease-in-out forwards;
}

.building__action {
  opacity: 0;
  animation: building-text 0.3s ease 3.6s forwards;
}

@keyframes building-dot {
  to {
    border-color: var(--spruce);
    background: var(--spruce);
    color: var(--white);
  }
}

@keyframes building-text {
  to {
    color: var(--ink);
    opacity: 1;
  }
}

@keyframes building-bar {
  to {
    transform: scaleX(1);
  }
}

/* Forms: the email step and the checkout */

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-weight: 600;
}

.input {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 1.5px solid var(--control);
  border-radius: 12px;
  background: var(--white);
  font-size: 1.0625rem;
}

.input:focus {
  border-color: var(--spruce);
  outline: 3px solid var(--spruce-soft);
  outline-offset: 0;
}

.input[aria-invalid="true"] {
  border-color: var(--clay);
}

.field__error {
  color: var(--clay);
  font-size: 0.9375rem;
  font-weight: 600;
}

.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.9688rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--spruce);
  cursor: pointer;
}

.consent a {
  color: var(--spruce);
  font-weight: 600;
  text-underline-offset: 2px;
}

/* A line with its icon: centred while it fits on one line, left-aligned once it wraps. */
.reassure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.875rem;
}

.reassure .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

/* The result */

.result-head {
  display: grid;
  gap: 12px;
}

.summary {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.summary__row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 14px 18px;
}

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

.summary__icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--spruce-soft);
  color: var(--spruce);
}

.summary__icon .icon {
  width: 20px;
  height: 20px;
}

.summary__label {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 550;
  line-height: 1.4;
}

.summary__value {
  font-weight: 600;
  line-height: 1.4;
}

.weeks-section {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.weeks {
  display: grid;
  gap: 0;
}

.week {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
  padding-bottom: 22px;
}

.week::before {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: var(--line);
}

.week:last-child {
  padding-bottom: 0;
}

.week:last-child::before {
  display: none;
}

.week__number {
  display: grid;
  grid-row: span 3;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.week--gentle .week__number {
  background: var(--sage);
}

.week__label {
  padding-top: 2px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.week__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.week__text {
  color: var(--muted);
  font-size: 0.9688rem;
}

.tips {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius-small);
  background: var(--sand);
}

.tips li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 0.9375rem;
}

.tips .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--spruce);
}

.chart {
  display: grid;
  gap: 14px;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.chart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.chart__title {
  font-size: 1.0625rem;
  font-weight: 650;
}

.chart__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Lines keep their width however wide the chart is drawn. */
.chart__area {
  fill: var(--spruce-soft);
  opacity: 0.7;
}

.chart__grid {
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.chart__grid--base {
  stroke: var(--control);
  stroke-opacity: 0.5;
}

.chart__line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.chart__line--strength {
  stroke: var(--spruce);
}

.chart__line--energy {
  stroke: var(--clay);
  stroke-dasharray: 7 6;
}

.chart__dot--strength {
  fill: var(--spruce);
}

.chart__dot--energy {
  fill: var(--clay);
}

.chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.875rem;
  font-weight: 600;
}

.chart__key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart__swatch {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--spruce);
}

.chart__swatch--energy {
  background: repeating-linear-gradient(90deg, var(--clay) 0 7px, transparent 7px 11px);
}

.chart__labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.chart__caption {
  color: var(--muted);
  font-size: 0.875rem;
}

/* The checkout: a plan picker. The radios stay in the page for keyboards and screen readers; the ring next to each
   one is what she sees. */

.plans {
  display: grid;
  gap: 18px;
}

.plan-option {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 18px 18px 18px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.plan-option:hover {
  border-color: var(--spruce);
}

.plan-option:has(.plan-option__input:checked) {
  border-color: var(--spruce);
  background: var(--spruce-soft);
  box-shadow: inset 0 0 0 1px var(--spruce);
}

.plan-option:has(.plan-option__input:focus-visible) {
  outline: 3px solid var(--spruce);
  outline-offset: 2px;
}

.plan-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option__radio {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--control);
  border-radius: 50%;
  background: var(--white);
  transition: border-width 0.12s ease;
}

.plan-option__input:checked + .plan-option__radio {
  border: 7px solid var(--spruce);
}

.plan-option__name {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.3;
}

.plan-option__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  grid-column: 2;
  color: var(--muted);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.plan-option__save {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
}

.plan-option:has(.plan-option__input:checked) .plan-option__save {
  background: var(--white);
}

.plan-option__day {
  display: grid;
  grid-row: 1 / span 2;
  grid-column: 3;
  justify-items: end;
  font-variant-numeric: tabular-nums;
}

.plan-option__day strong {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
}

.plan-option__day span {
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Sits on the card's top edge, over the plan's name. */
.plan-option__badge {
  position: absolute;
  top: 0;
  left: 54px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--spruce);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.includes {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-small);
  background: var(--white);
  border: 1px solid var(--line);
}

.includes__title {
  font-weight: 650;
}

.includes__list {
  display: grid;
  gap: 10px;
}

.includes li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 0.9688rem;
}

.includes .icon {
  width: 22px;
  height: 22px;
  color: var(--spruce);
  stroke-width: 2.25;
}

.fineprint {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.875rem;
}

.fineprint .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

/* The waitlist */

.done {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding-top: 16px;
}

.done__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--white);
}

.done__icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.5;
}

.done__card {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.done__row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
}

.done__row .icon {
  width: 22px;
  height: 22px;
  color: var(--spruce);
}

/* Her address moves to the next line whole when it doesn't fit, and breaks only when it's longer than a line. */
.done__email {
  display: inline-block;
  max-width: 100%;
  font-weight: 650;
  overflow-wrap: anywhere;
}

/* Privacy and terms */

.prose {
  display: grid;
  gap: 16px;
  padding-block: 24px 48px;
}

.prose h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
}

.prose h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  list-style: disc;
}

.prose a {
  color: var(--spruce);
  font-weight: 600;
  text-underline-offset: 2px;
}

.prose code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--sand);
  font-size: 0.9em;
}

.prose__meta {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Tablets and up */

@media (min-width: 720px) {
  .button {
    width: auto;
  }

  .button--block {
    width: 100%;
  }

  .starter {
    padding: 26px 24px 22px;
  }

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

  .safety {
    grid-template-columns: auto 1fr;
    gap: 28px;
    padding: 40px;
  }

  .closing {
    padding: 72px 40px;
  }

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

  .funnel {
    padding-block: 24px 72px;
  }

  .sticky-action {
    position: static;
    margin-inline: 0;
    padding: 4px 0 0;
    background: none;
  }
}

/* Laptops and up */

@media (min-width: 960px) {
  .site-header {
    padding-block: 22px 10px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    grid-template-areas:
      "copy visual"
      "starter visual"
      "facts visual";
    grid-template-rows: auto auto 1fr;
    column-gap: 64px;
    row-gap: 28px;
  }

  .hero__copy {
    grid-area: copy;
    gap: 20px;
  }

  .starter {
    grid-area: starter;
    align-self: start;
  }

  .hero .facts {
    grid-area: facts;
    align-self: start;
  }

  .hero__visual {
    grid-area: visual;
    align-self: start;
  }

  .hero__photo img {
    aspect-ratio: 4 / 5;
  }

  .session {
    bottom: 24px;
    left: -24px;
  }

  .audience__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

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

  .plan-item {
    grid-template-columns: 1fr;
    row-gap: 6px;
    padding: 26px;
  }

  .plan-item__icon {
    grid-row: auto;
    margin-bottom: 12px;
  }

  .step {
    padding: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  .button,
  .option,
  .plan-option,
  .plan-option__radio,
  .faq__toggle {
    transition: none;
  }

  .building__item,
  .building__dot,
  .building__bar span,
  .building__action {
    animation-duration: 0.01s;
    animation-delay: 0s;
  }
}
