/*
 * Pulse marketing site. Plain CSS, no JavaScript.
 * Cream and ink with blush and sage, a serif for headings, and two working
 * demos built from HTML (the timetable and the register) that respond with
 * checkboxes and radio buttons, so the page still needs no script.
 */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f5efe6;
  --milk: #fbf8f3;
  --ink: #1a1714;
  --ink-soft: #3a332d;
  --stone: #5f5850;
  --line: #dcd2c5;
  --blush: #efd6d1;
  --rose: #9e4458;
  --sage: #d3dbcb;
  --moss: #4e5b48;

  /* The demo studio, drawn the way the app draws it */
  --app-ink: #1f1b18;
  --app-text: #1d1d1f;
  --app-muted: #62626a;
  --app-line: #e8e6e3;
  --app-tint: #efecea;
  --app-low: #9a5300;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --app-sans: "Figtree", system-ui, sans-serif;
  --gutter: 20px;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
  max-width: 62ch;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--rose);
}

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

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mark:hover {
  color: inherit;
}
.beat {
  color: var(--rose);
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  font-size: 0.9375rem;
}
.nav a {
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover {
  text-decoration: underline;
}
.nav .more {
  display: none;
}
.nav .login {
  background: var(--ink);
  color: var(--cream);
  padding: 9px 18px;
  border-radius: 999px;
}
.nav .login:hover {
  background: var(--ink-soft);
  color: var(--cream);
  text-decoration: none;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font: 600 1.0625rem/1 var(--sans);
  padding: 18px 30px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: var(--ink-soft);
  color: var(--cream);
}
.button-light {
  background: var(--cream);
  color: var(--ink);
}
.button-light:hover {
  background: var(--blush);
  color: var(--ink);
}
.textlink {
  font-weight: 600;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* The studio's inbox, as the app draws it: one client's conversation */
.inbox-app {
  justify-self: center;
}
.thread {
  padding: 4px 16px 18px;
  display: grid;
  gap: 12px;
}
.thread-who {
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--app-line);
}
.msg {
  max-width: 88%;
  display: grid;
  gap: 6px;
}
.msg p {
  padding: 10px 12px;
  border-radius: 14px;
}
.msg span {
  font-size: 11.5px;
  color: var(--app-muted);
}
.msg-in p {
  background: var(--app-tint);
  border-bottom-left-radius: 4px;
}
.msg-out {
  justify-self: end;
  text-align: right;
}
.msg-out p {
  text-align: left;
  background: var(--app-ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.compose {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.compose-box {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  color: var(--app-muted);
}
.compose-send {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--app-ink);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

/* Sections */
.section {
  padding-block: 80px;
}
.on-milk {
  background: var(--milk);
}
.on-blush {
  background: var(--blush);
}
.on-sage {
  background: var(--sage);
}
.on-ink {
  background: var(--ink);
  color: var(--cream);
}
.on-ink a:hover {
  color: var(--blush);
}
.head {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}
.head h2 {
  max-width: 16ch;
}
.head p {
  font-size: 1.125rem;
  color: var(--stone);
}
.on-ink .head p {
  color: #cfc6bb;
}
.on-blush .head p,
.on-sage .head p {
  color: var(--ink-soft);
}
.split {
  display: grid;
  gap: 40px;
}
.split > * {
  min-width: 0;
}
.split .head {
  margin-bottom: 0;
  align-content: start;
}

/* Hero */
.hero {
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 48px;
  padding-block: 32px 72px;
}
.hero-text {
  display: grid;
  gap: 28px;
  align-content: start;
}
.hero h1 {
  max-width: 15ch;
}
.hero h1 span {
  display: block;
}
.hero h1 span + span {
  margin-top: 0.1em;
}
.lede {
  font-size: 1.1875rem;
  color: var(--stone);
}
.hero-demo {
  position: relative;
  isolation: isolate;
  padding-block: 32px;
}
.hero-demo::before {
  content: "";
  position: absolute;
  inset: 0 -100vw 0 16%;
  background: var(--blush);
  border-radius: 32px 0 0 32px;
  z-index: -1;
}
.demo-note {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* The demo studio's timetable, as the app draws it */
.app {
  position: relative;
  width: 100%;
  max-width: 340px;
  background: #fff;
  color: var(--app-text);
  font-family: var(--app-sans);
  font-size: 14px;
  line-height: 1.35;
  border: 1px solid rgb(26 23 20 / 0.12);
  border-radius: 28px;
  overflow: hidden;
}
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 18px 0;
}
.app-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.app-link {
  font-weight: 600;
  font-size: 12.5px;
}
.app-nav {
  display: flex;
  gap: 18px;
  padding: 12px 18px 13px;
  font-size: 13px;
  border-bottom: 1px solid var(--app-line);
}
.app-body {
  padding: 0 12px 18px;
  min-height: 520px;
}
.app-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  letter-spacing: -0.015em;
  margin: 18px 4px 14px;
}

.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  border: 0;
  margin: 0 0 6px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--app-line);
}
.day {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 7px 0 8px;
  border-radius: 14px;
  font-size: 11.5px;
  color: var(--app-muted);
  cursor: pointer;
}
.day b {
  font-size: 18px;
  font-weight: 600;
  color: var(--app-text);
}
.day-dot {
  width: 5px;
  height: 5px;
  margin-top: 3px;
  border-radius: 50%;
  background: #7a7a80;
}
.day:hover {
  background: var(--app-tint);
}
.day-input:checked + .day {
  background: var(--app-ink);
  color: #fff;
}
.day-input:checked + .day b {
  color: #fff;
}
.day-input:checked + .day .day-dot {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #fff;
  width: 7px;
  height: 7px;
}
.day-input:focus-visible + .day {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* Thursday shows by default, and in browsers without :has() */
.day-list {
  display: none;
}
.list-thu {
  display: block;
}
.app:has(.day-input:checked:not(#day-thu)) .list-thu {
  display: none;
}
.app:has(#day-wed:checked) .list-wed,
.app:has(#day-fri:checked) .list-fri,
.app:has(#day-sat:checked) .list-sat,
.app:has(#day-sun:checked) .list-sun {
  display: block;
}

.app-date {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16.5px;
  margin: 14px 6px 4px;
}
.slots {
  list-style: none;
  margin: 0;
  padding: 0;
}
.slot {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 0 10px;
  align-items: start;
  padding: 12px 6px;
  border-bottom: 1px solid var(--app-line);
  border-radius: 0;
}
.slot:last-child {
  border-bottom: 0;
}
.slot-time b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.slot-time span,
.slot-what span,
.slot-left,
.slot-after {
  display: block;
  font-size: 11.5px;
  color: var(--app-muted);
}
.slot-what b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.slot-what .slot-note {
  display: none;
  margin-top: 3px;
  color: #45454b;
}
.slot-act {
  display: grid;
  justify-items: end;
  gap: 6px;
}
.slot-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--app-ink);
  border-radius: 12px;
  background: var(--app-ink);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.slot-button:hover {
  background: #3a3430;
}
.slot-button.is-wait {
  background: #fff;
  color: var(--app-text);
  border-color: #cfcfd4;
}
.slot-button.is-wait:hover {
  background: var(--app-tint);
}
.slot-done,
.slot-after {
  display: none;
}
.slot-left.is-low,
.slot-after.is-low {
  color: var(--app-low);
  font-weight: 600;
}
.tick {
  flex: none;
}

/* Booked: the row is tinted and the button becomes a label */
.slot:has(.slot-input:checked) {
  background: var(--app-tint);
  border-radius: 14px;
  border-bottom-color: transparent;
}
.slot-input:checked ~ .slot-what .slot-note {
  display: block;
}
.slot-input:checked ~ .slot-act .slot-button {
  background: transparent;
  border-color: transparent;
  color: var(--app-text);
  padding-inline: 4px 0;
}
.slot-input:checked ~ .slot-act .slot-to,
.slot-input:checked ~ .slot-act .slot-left {
  display: none;
}
.slot-input:checked ~ .slot-act .slot-done {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.slot-input:checked ~ .slot-act .slot-after {
  display: block;
}
.slot-input:focus-visible ~ .slot-act .slot-button {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* A short confirmation that answers the tap, then goes */
.toast {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--app-ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.slot-input:checked ~ .toast {
  animation: toast 4.2s ease forwards;
}
@keyframes toast {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translateY(10px);
  }
  8% {
    opacity: 1;
    transform: none;
  }
  85% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Real screens from the app */
.screens {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(74%, 300px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.screens:focus-visible {
  outline-offset: 6px;
  border-radius: 8px;
}
.screen {
  scroll-snap-align: start;
  display: grid;
  gap: 14px;
  align-content: start;
}
.screen img,
.desk img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid rgb(26 23 20 / 0.12);
}
.screen img {
  border-radius: 26px;
}
.screen p {
  font-size: 0.9375rem;
  color: var(--stone);
  max-width: 30ch;
}
.on-blush .screen p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
}

/* The admin overview, wide, running off the right edge */
.desk {
  padding-left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  overflow: hidden;
}
.desk img {
  width: max(820px, 100%);
  max-width: none;
  border-radius: 16px 0 0 16px;
  border-right: 0;
}

/* The tour video, straight under the hero */
.section.tour {
  padding-top: 0;
}
.tour-grid {
  display: grid;
  gap: 28px;
}
.tour-text {
  display: grid;
  gap: 16px;
  align-content: end;
}
.tour-text p {
  font-size: 1.125rem;
  color: var(--stone);
  max-width: 40ch;
}
.tour-text .tour-small {
  font-size: 0.9375rem;
}
.nowrap {
  white-space: nowrap;
}
.tour-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid rgb(26 23 20 / 0.12);
  border-radius: 12px;
}

/* The studio's home page, scrolling on a phone, beside its contents */
.site {
  display: grid;
  gap: 32px;
  align-items: start;
}
.site-phone {
  width: min(78%, 300px);
}
.site-phone video,
.site-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgb(26 23 20 / 0.12);
  border-radius: 26px;
}
.site-phone .site-still {
  display: none;
}
.site-parts {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: part;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.site-parts li {
  counter-increment: part;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-block: 11px;
  border-top: 1px solid var(--line);
}
.site-parts li::before {
  content: counter(part, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  color: var(--rose);
}

/* Instagram posts are flat squares and rectangles, not phone screens */
.posts .screen img {
  border-radius: 6px;
}

.points {
  margin: 48px 0 0;
  display: grid;
  gap: 0 40px;
}
.points > div {
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.on-ink .points > div {
  border-top-color: rgb(245 239 230 / 0.25);
}
.on-sage .points > div {
  border-top-color: #aab7a0;
}
.points dt {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.375rem;
  margin-bottom: 6px;
}
.points dd {
  margin: 0;
  color: var(--stone);
}
.on-ink .points dd {
  color: #cfc6bb;
}
.on-sage .points dd {
  color: var(--ink-soft);
}

/* The instructor's register, as the app draws it */
.reg-wrap {
  justify-self: start;
  width: 100%;
  max-width: 360px;
}
.reg {
  position: relative;
  background: #f4f4f6;
  color: var(--app-text);
  font-family: var(--app-sans);
  font-size: 14px;
  line-height: 1.35;
  border: 1px solid rgb(26 23 20 / 0.12);
  border-radius: 28px;
  overflow: hidden;
}
.reg-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 18px 16px;
  background: #fff;
  border-top: 3px solid var(--app-ink);
  border-bottom: 1px solid var(--app-line);
}
.reg-name {
  font-weight: 600;
  font-size: 16px;
}
.reg-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 14px 18px;
  counter-reset: here;
}
.reg-card {
  order: 1;
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  padding: 16px;
}
.people {
  order: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--app-line);
  border-radius: 18px;
}
.reg-when {
  font-size: 12.5px;
  color: var(--app-muted);
}
.reg-class {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin: 2px 0 12px;
}
.reg-count {
  font-size: 14px;
  color: var(--app-muted);
}
.reg-number::before {
  content: counter(here);
  font-size: 30px;
  font-weight: 600;
  color: var(--app-text);
  font-variant-numeric: tabular-nums;
}
.reg-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 10px;
}
.reg-bar i {
  height: 8px;
  border-radius: 4px;
  background: #e4e4e8;
}
/* The bar fills one step for each person marked in (the inputs come first,
   so a chain of checked inputs counts them) */
.here-input:checked ~ .reg-card .reg-bar i:nth-child(1),
.here-input:checked ~ .here-input:checked ~ .reg-card .reg-bar i:nth-child(2),
.here-input:checked
  ~ .here-input:checked
  ~ .here-input:checked
  ~ .reg-card
  .reg-bar
  i:nth-child(3),
.here-input:checked
  ~ .here-input:checked
  ~ .here-input:checked
  ~ .here-input:checked
  ~ .reg-card
  .reg-bar
  i:nth-child(4),
.here-input:checked
  ~ .here-input:checked
  ~ .here-input:checked
  ~ .here-input:checked
  ~ .here-input:checked
  ~ .reg-card
  .reg-bar
  i:nth-child(5) {
  background: var(--app-ink);
}
.person {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--app-line);
}
.person:last-child {
  border-bottom: 0;
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f1f3;
  border: 1px solid var(--app-line);
  font-weight: 600;
  font-size: 13px;
}
.person-name {
  font-weight: 600;
  font-size: 15.5px;
}
.here {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 88px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d4d4d9;
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.here .tick {
  display: none;
}
.here:hover {
  background: var(--app-tint);
}
.here-input:checked {
  counter-increment: here;
}
/* Each input sits before the list; its person's row answers when it's checked */
.here-input:nth-of-type(1):checked ~ .people .person:nth-child(1) .here,
.here-input:nth-of-type(1):checked ~ .people .person:nth-child(1) .avatar,
.here-input:nth-of-type(2):checked ~ .people .person:nth-child(2) .here,
.here-input:nth-of-type(2):checked ~ .people .person:nth-child(2) .avatar,
.here-input:nth-of-type(3):checked ~ .people .person:nth-child(3) .here,
.here-input:nth-of-type(3):checked ~ .people .person:nth-child(3) .avatar,
.here-input:nth-of-type(4):checked ~ .people .person:nth-child(4) .here,
.here-input:nth-of-type(4):checked ~ .people .person:nth-child(4) .avatar,
.here-input:nth-of-type(5):checked ~ .people .person:nth-child(5) .here,
.here-input:nth-of-type(5):checked ~ .people .person:nth-child(5) .avatar {
  background: var(--app-ink);
  border-color: var(--app-ink);
  color: #fff;
}
.here-input:nth-of-type(1):checked ~ .people .person:nth-child(1) .tick,
.here-input:nth-of-type(2):checked ~ .people .person:nth-child(2) .tick,
.here-input:nth-of-type(3):checked ~ .people .person:nth-child(3) .tick,
.here-input:nth-of-type(4):checked ~ .people .person:nth-child(4) .tick,
.here-input:nth-of-type(5):checked ~ .people .person:nth-child(5) .tick {
  display: block;
}
.here-input:nth-of-type(1):focus-visible ~ .people .person:nth-child(1) .here,
.here-input:nth-of-type(2):focus-visible ~ .people .person:nth-child(2) .here,
.here-input:nth-of-type(3):focus-visible ~ .people .person:nth-child(3) .here,
.here-input:nth-of-type(4):focus-visible ~ .people .person:nth-child(4) .here,
.here-input:nth-of-type(5):focus-visible ~ .people .person:nth-child(5) .here {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* Questions the assistant answers */
.asks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}
.asks li {
  justify-self: start;
  max-width: 34ch;
  padding: 14px 20px;
  background: var(--milk);
  border-radius: 22px 22px 22px 6px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.625rem);
  line-height: 1.25;
}
.asks li:nth-child(even) {
  margin-left: clamp(0px, 6vw, 64px);
}
.send {
  margin-top: 72px;
}
.send h3 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.send > p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* Everything included */
.included {
  display: grid;
  gap: 0 40px;
}
.included > div {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-block: 22px 30px;
  border-top: 1px solid var(--ink);
}
.included p {
  color: var(--stone);
}

details.all {
  margin-top: 48px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
details.all summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  line-height: 1.1;
}
details.all summary::-webkit-details-marker {
  display: none;
}
details.all summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--rose);
}
details.all[open] summary::after {
  content: "\2212";
}
.all-body {
  display: grid;
  gap: 48px;
  padding-block: 16px 48px;
}
.group {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.group > * {
  min-width: 0;
}
.group h3 {
  font-size: 1.75rem;
}
.terms {
  margin: 0;
  border-top: 1px solid var(--ink);
}
.terms > div {
  display: grid;
  gap: 4px 32px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.terms dt {
  font-weight: 600;
}
.terms dd {
  margin: 0;
  color: var(--stone);
}

/* Pricing */
.big-line {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 24ch;
  text-wrap: balance;
  margin-bottom: 36px;
}
.price-line {
  margin-bottom: 12px;
}
.price-year {
  color: #cfc6bb;
  font-size: 1.125rem;
}
/* One warm, flat slab on the ink: the founding offer */
.founding {
  margin-block: 48px 36px;
  max-width: 640px;
  padding: 24px 28px;
  background: var(--blush);
  color: var(--ink);
  border-radius: 4px;
}
.founding p {
  margin: 0;
}
.founding .founding-price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.15;
  margin-bottom: 8px;
}

/* Form */
.form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 600;
  font-size: 0.9375rem;
}
.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid #b9ad9f;
  border-radius: 12px;
  padding: 13px 14px;
  width: 100%;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 1px;
}
.hp {
  position: absolute;
  left: -9999px;
}
.notice {
  font-size: 0.9375rem;
  color: var(--stone);
}
.form .button {
  justify-self: start;
}

/* Footer */
.foot {
  background: var(--ink);
  color: var(--cream);
  padding-block: 44px 56px;
  font-size: 0.9375rem;
}
.foot .wrap {
  display: grid;
  gap: 24px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.foot a:hover {
  color: var(--blush);
}

/* Thank you and not found pages */
/* Our story: one readable column, the turning point set apart */
.story {
  max-width: calc(40rem + 2 * var(--gutter));
  padding-block: 56px 104px;
  display: grid;
  gap: 22px;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.story h1 {
  color: var(--ink);
  margin-bottom: 12px;
}
.story-lead {
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1.3;
  color: var(--ink);
}
.story-turn {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding-block: 18px;
}
.story-line {
  width: 100%;
  height: 40px;
  color: var(--rose);
  margin-block: 12px;
}
.story .button {
  justify-self: start;
  margin-top: 12px;
}

.single {
  padding-block: 72px 96px;
  display: grid;
  gap: 20px;
}
.single .button {
  justify-self: start;
  margin-top: 8px;
}

/* How Pulse compares */
.included-more {
  margin-top: 8px;
  font-weight: 600;
}
.compare-top {
  padding-block: 40px 48px;
  display: grid;
  gap: 20px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.compare-top h1 {
  color: var(--ink);
  margin-bottom: 8px;
}
.compare-turn {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 32ch;
}
.compare-body {
  padding-bottom: 72px;
}

/* The table: on a phone it scrolls sideways under a fixed Pulse column,
   with each row's name on its own line above its answers */
.compare-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.compare-scroll:focus-visible {
  outline-offset: 4px;
}
.compare {
  width: 58rem;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 2px 16px 18px;
  font-weight: 400;
}
.compare thead th {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  padding-block: 16px 14px;
}
.compare thead .c-pulse {
  width: 10rem;
  border-top: 3px solid var(--ink);
}
.compare .c-row {
  display: none;
}
.compare .c-label th {
  padding: 16px 16px 6px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.compare .c-label span {
  position: sticky;
  left: 16px;
  display: inline-block;
}
.compare .c-pulse {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--milk);
  box-shadow: inset -1px 0 var(--line);
}
.compare .c-none {
  color: var(--stone);
}
.compare-note {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: var(--stone);
}

.compare-section h2,
.compare-quote h2 {
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  margin-bottom: 20px;
}
.compare-quote p {
  font-size: 1.1875rem;
}
.compare-intro {
  font-size: 1.125rem;
}
.suits {
  display: grid;
  gap: 0 40px;
  margin-top: 28px;
}
.suits p {
  max-width: none;
  padding-block: 20px 26px;
  border-top: 1px solid var(--line);
}
.suits .suits-pulse {
  border-top: 3px solid var(--ink);
}
.not-yet {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  max-width: 62ch;
}
.not-yet li {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}
.compare-section .actions {
  margin-top: 32px;
}
.button-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

@media (max-width: 479px) {
  .nav {
    gap: 14px;
    font-size: 0.875rem;
  }
  .nav .login {
    padding: 8px 14px;
  }
  .mark {
    font-size: 1.5rem;
  }
  .hero-demo .app {
    margin-inline: auto;
  }
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
  body {
    font-size: 18px;
  }
  .nav .more {
    display: inline;
  }
  .section {
    padding-block: 112px;
  }
  .screens {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    overflow: visible;
  }
  .screen:nth-child(2) {
    margin-top: 56px;
  }
  .points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .included {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .terms > div {
    grid-template-columns: 5fr 7fr;
  }
  .site {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 40px;
  }
  .site-phone {
    width: 100%;
  }
  .site-parts {
    grid-template-columns: minmax(0, 1fr);
  }
  .suits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compare-top {
    padding-block: 56px 64px;
  }
}

/* Wide enough for the whole table: row names in their own column */
@media (min-width: 1024px) {
  .compare-scroll {
    overflow: visible;
  }
  .compare {
    width: 100%;
  }
  .compare .c-label {
    display: none;
  }
  .compare .c-row {
    display: table-cell;
    width: 15%;
    font-weight: 600;
  }
  .compare thead .c-pulse {
    width: 16%;
  }
  .compare th,
  .compare td {
    padding: 16px 14px 18px;
    border-top: 1px solid var(--line);
  }
  .compare thead th,
  .compare thead td {
    border-top: 0;
    padding-block: 16px 14px;
  }
  .compare thead .c-pulse {
    border-top: 3px solid var(--ink);
  }
  .compare .c-pulse {
    position: static;
    box-shadow: none;
  }
}

@media (max-width: 879px) {
  .nav .more {
    display: none;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 64px;
    padding-block: 56px 96px;
  }
  .hero-demo {
    padding-block: 48px;
  }
  .hero-demo .app,
  .hero-demo .demo-note {
    margin-left: auto;
  }
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
  }
  .split .head {
    position: sticky;
    top: 32px;
  }
  #teach .reg-wrap {
    justify-self: center;
  }
  .tour-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 64px;
    align-items: end;
  }
  .included {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .group {
    grid-template-columns: 4fr 8fr;
    gap: 64px;
  }
  .desk img {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  /* The scrolling home page becomes a still of its top */
  .site-phone .site-clip {
    display: none;
  }
  .site-phone .site-still {
    display: block;
  }
  .slot-input:checked ~ .toast {
    animation-name: toast-still;
  }
  @keyframes toast-still {
    0%,
    85% {
      opacity: 1;
      visibility: visible;
    }
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
}
