/* Vitals: landing page */

/* ---------- Small shared pieces ---------- */

.tone {
  color: var(--slate);
}

.sync-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 16%, transparent);
  vertical-align: 1px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 560;
  white-space: nowrap;
  color: var(--ink-2);
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}
.status--overdue { color: var(--rust); }
.status--risk { color: #a15a1c; }
.status--waiting { color: #876a0e; }
.status--ok { color: var(--sage); }
.status--new { color: var(--steel); }

.mock-btn {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 560;
  white-space: nowrap;
  user-select: none;
  transition: transform 140ms var(--ease-soft), background-color 160ms var(--ease-soft);
}
.mock-btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}
.mock-btn--quiet {
  background: transparent;
  box-shadow: none;
  color: var(--slate);
}
.mock-btn.is-pressed {
  transform: scale(0.94);
}

/* The highlighter: a marker stroke behind a name, swept in left to right. */
.hl {
  position: relative;
  z-index: 0;
}
.hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -5px;
  right: -8px;
  top: -0.1em;
  bottom: -0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4.5 5.2C42 3 112 4.7 195.6 2.6l2.9 4.1-1.8 5.6 2.1 5.8-3.9 3.4c-66-1.4-126 1.5-190 .2L2 17.6l1.6-5.5L1.3 7.6z' fill='%23FFE14D'/%3E%3Cpath d='M9 4.6c58-1.5 120-.7 183-1.6l.6 2.2c-63 1.1-125 .6-183.4 1.7z' fill='%23F7CF1F' fill-opacity='.45'/%3E%3Cpath d='M3 7.4 1.6 12l1.8 5.4L6 21c-1.6-4.6-2-10-.4-15.6z' fill='%23F2C200' fill-opacity='.35'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: rotate(-0.7deg);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 560ms cubic-bezier(0.55, 0.06, 0.2, 1);
  pointer-events: none;
}
.is-marked .hl::before {
  clip-path: inset(-4px -4px -4px -4px);
}

/* Inputs with a button inside (hero email, website) */
.capture {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 500px);
  padding: 5px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rule-strong), 0 1px 2px rgba(23, 33, 44, 0.04);
  transition: box-shadow 200ms var(--ease-soft);
}
.capture:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--navy), 0 0 0 4px rgba(17, 17, 17, 0.1);
}
.capture__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
}
.capture__input::placeholder {
  color: #8a949e;
}
.capture__input:focus {
  outline: none;
}
.capture__btn {
  flex: none;
}

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

.hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 7vw, 104px);
}
.hero__title {
  max-width: 12.5em;
  font-size: clamp(44px, 6.2vw, 88px);
}
.hero__line {
  display: block;
}
.hero__lede {
  margin-top: 24px;
  max-width: 31em;
}
.hero .capture,
.hero .cta-row {
  margin-top: 32px;
}

.js .hero__line {
  opacity: 0;
  transform: translateY(0.3em);
  transition:
    opacity 700ms var(--ease-out),
    transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-hero-fade] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 700ms var(--ease-out),
    transform 900ms var(--ease-out);
  transition-delay: calc(260ms + var(--i, 0) * 80ms);
}
.js .stage {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 900ms var(--ease-out) 420ms,
    transform 1200ms var(--ease-out) 420ms;
}
.hero.is-in .hero__line,
.hero.is-in [data-hero-fade],
.hero.is-in .stage {
  opacity: 1;
  transform: none;
}

/* Demo: button pairs where the email forms used to be */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cta-row--center {
  justify-content: center;
}
.btn-ghost-light {
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.btn-ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* ---------- The product stage ---------- */

.stage {
  position: relative;
  margin-top: clamp(44px, 5vw, 72px);
  padding: clamp(14px, 4vw, 56px);
  border-radius: clamp(16px, 2vw, 28px);
  background: var(--mist);
  overflow: hidden;
}
@media (max-width: 860px) {
  /* Room above the window for the Pause button. */
  .stage {
    padding-top: 58px;
  }
}
.stage__frame {
  position: relative;
  /* Height is set from JS so the scaled window keeps its proportions. */
}

/* The app window is laid out at a fixed size and scaled to fit, like a screenshot. */
.app {
  position: relative;
  width: 100%;
  transform-origin: top left;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(23, 33, 44, 0.08),
    0 30px 60px -30px rgba(23, 33, 44, 0.35);
  overflow: hidden;
  font-size: 14px;
  user-select: none;
}
html:not(.js) .stage__frame {
  overflow-x: auto;
}
.app__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: #f8f8f7;
  border-bottom: 1px solid var(--rule);
}
.app__dots {
  position: absolute;
  left: 16px;
  display: flex;
  gap: 7px;
}
.app__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d9dde1;
}
.app__url {
  padding: 4px 14px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule);
  color: var(--slate);
  font-size: 12.5px;
}
.app__body {
  position: relative;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  height: 572px;
  overflow: hidden;
}
.app__side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 12px;
  background: #fafbfc;
  border-right: 1px solid var(--rule);
}
.app__brand {
  display: block;
  margin: 2px 8px 14px;
  color: var(--ink);
}
.app__brand svg {
  display: block;
  width: 74px;
  height: auto;
}
.app__biz {
  display: flex;
  flex-direction: column;
  margin: 0 0 12px;
  padding: 9px 10px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  background: #fff;
  color: var(--slate);
  font-size: 11.5px;
  line-height: 1.3;
}
.app__biz b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
}
.app__nav {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--slate);
  font-size: 13.5px;
}
.app__nav.is-active {
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule), 0 1px 2px rgba(23, 33, 44, 0.05);
  color: var(--ink);
  font-weight: 600;
}
.app__nav--end {
  margin-top: auto;
}
.app__main {
  padding: 24px 28px;
}
.app__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.app__hello {
  font-size: 22px;
  font-weight: 620;
  font-stretch: 92%;
  letter-spacing: -0.014em;
}
.app__sub {
  margin-top: 2px;
  color: var(--slate);
  font-size: 14px;
}
.app__sync {
  padding-top: 6px;
  color: var(--slate);
  font-size: 12.5px;
}

.app__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.app__card {
  padding: 14px 18px 6px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.app__card-title {
  padding-bottom: 8px;
  font-size: 14.5px;
  font-weight: 620;
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 430px;
  padding: 18px 22px 20px;
  background: #fff;
  box-shadow: -1px 0 0 var(--rule), -30px 0 60px -30px rgba(23, 33, 44, 0.3);
  transform: translateX(104%);
  transition: transform 560ms var(--ease-out);
}
.drawer.is-open {
  transform: none;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  font-size: 15px;
  font-weight: 620;
}
.drawer__close {
  color: var(--slate);
  font-size: 12.5px;
  font-weight: 500;
}
.drawer__fields > div {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 13px;
}
.drawer__fields dt {
  width: 56px;
  color: var(--slate);
}
.drawer__fields dd {
  margin: 0;
}
.drawer__body {
  flex: 1;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.drawer__body p {
  min-height: 9em;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}
.drawer__body p.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--navy);
  animation: caret 900ms steps(1) infinite;
}
@keyframes caret {
  50% { opacity: 0; }
}
.drawer__foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 22px;
  height: 22px;
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}
.cursor-ripple {
  position: absolute;
  z-index: 5;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.22);
  pointer-events: none;
}

/* ---------- How it works ---------- */

.how {
  padding-block: clamp(56px, 7vw, 96px) clamp(80px, 9vw, 128px);
}
.how__title {
  margin-bottom: clamp(32px, 4vw, 52px);
}
.how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.how__steps::before {
  content: "";
  position: absolute;
  left: 20px;
  right: calc((100% - 2 * clamp(28px, 4vw, 64px)) / 3 - 20px);
  top: 20px;
  height: 1px;
  background: var(--rule-strong);
  transform-origin: left;
}
.how__step {
  position: relative;
}
.how__n {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--navy);
  color: var(--navy);
  font-size: 16px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.how__step-title {
  font-size: 21px;
  font-weight: 620;
  font-stretch: 92%;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.how__text {
  margin-top: 8px;
  max-width: 26em;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}
.js .how__steps::before {
  transform: scaleX(0);
  transition: transform 1400ms var(--ease-in-out) 150ms;
}
.js .how__n {
  transition:
    background-color 420ms var(--ease-soft),
    color 420ms var(--ease-soft);
}
.how__steps.is-in::before {
  transform: scaleX(1);
}
.how__steps.is-in .how__n {
  background: var(--navy);
  color: #fff;
}
.how__steps.is-in .how__step:nth-child(1) .how__n { transition-delay: 100ms; }
.how__steps.is-in .how__step:nth-child(2) .how__n { transition-delay: 800ms; }
.how__steps.is-in .how__step:nth-child(3) .how__n { transition-delay: 1500ms; }

@media (max-width: 820px) {
  .how__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .how__steps::before {
    right: auto;
    bottom: 20px;
    width: 1px;
    height: auto;
    transform-origin: top;
  }
  .js .how__steps::before {
    transform: scaleY(0);
  }
  .how__steps.is-in::before {
    transform: scaleY(1);
  }
  .how__step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 18px;
  }
  .how__n {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
  .how__text {
    margin-top: 4px;
  }
}

/* ---------- Features ---------- */

.features {
  padding-block: clamp(80px, 9vw, 132px);
  background: var(--mist);
}
.features__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.features__title {
  max-width: 20em;
  font-size: clamp(32px, 3.6vw, 50px);
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 26px 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 33, 44, 0.06);
  overflow: hidden;
}

.card__title {
  max-width: 24em;
  font-size: 20px;
  font-weight: 620;
  font-stretch: 94%;
  letter-spacing: -0.012em;
  line-height: 1.25;
  text-wrap: pretty;
}
.card__screen {
  flex: 1;
  display: flex;
  align-items: flex-start;
  margin: 24px -26px 0;
  padding: 22px 26px 26px;
  background: var(--mist);
  border-top: 1px solid var(--rule);
}

.mini {
  width: 100%;
  padding: 16px 18px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule), 0 8px 20px -14px rgba(23, 33, 44, 0.3);
  transition:
    transform 500ms var(--ease-out),
    box-shadow 500ms var(--ease-out);
}
@media (hover: hover) {
  .card:hover .mini {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px var(--rule), 0 20px 36px -20px rgba(23, 33, 44, 0.38);
  }
}

/* Small segmented control used inside the cards */
.seg-mini {
  position: relative;
  display: inline-flex;
  padding: 3px;
  margin-bottom: 14px;
  border-radius: 9px;
  background: var(--mist);
}
.seg-mini button {
  position: relative;
  z-index: 1;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--slate);
  font-size: 13px;
  font-weight: 560;
  transition: color 200ms var(--ease-soft);
}
.seg-mini button[aria-checked="true"] {
  color: var(--ink);
}
.seg-mini__thumb {
  position: absolute;
  top: 3px;
  left: 0;
  height: 30px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 33, 44, 0.12), 0 0 0 1px rgba(23, 33, 44, 0.04);
  transition:
    transform 380ms var(--ease-out),
    width 380ms var(--ease-out);
}
html:not(.js) .seg-mini button[aria-checked="true"] {
  background: #fff;
}

.btn-mini {
  height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 560;
  transition: background-color 160ms var(--ease-soft), transform 120ms var(--ease-soft);
}
.btn-mini:active {
  transform: scale(0.96);
}
.btn-mini--primary {
  background: var(--navy);
  box-shadow: none;
  color: #fff;
}
.btn-mini--primary:hover {
  background: var(--navy-hover);
}

/* ---------- Start with your website ---------- */

.start {
  padding-block: clamp(80px, 9vw, 128px);
  background: var(--navy-deep);
  color: #fff;
}
.start__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.start__title {
  max-width: 16em;
  color: #fff;
  font-size: clamp(32px, 4vw, 54px);
}
.start__text {
  margin: 16px 0 30px;
  font-family: var(--serif);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
}
.capture--dark {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.capture--dark:focus-within {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7), 0 0 0 4px rgba(255, 255, 255, 0.1);
}
.capture--dark .capture__input {
  color: #fff;
}
.capture--dark .capture__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 520px) {
  .capture {
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
  }
  .capture__btn {
    width: 100%;
  }
}

/* ---------- Questions ---------- */

.faq {
  padding-block: clamp(88px, 9vw, 132px);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
}
.faq__item {
  border-top: 1px solid var(--rule);
}
.faq__item:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 560;
  font-stretch: 94%;
  letter-spacing: -0.008em;
  -webkit-tap-highlight-color: transparent;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:focus-visible {
  outline-offset: 2px;
}
.faq__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink-2);
  transition: transform 360ms var(--ease-out);
}
.faq__icon::after {
  transform: rotate(90deg);
}
.faq__item[open]:not(.is-closing) .faq__icon::after {
  transform: rotate(0deg);
}
.faq__answer {
  overflow: hidden;
}
.faq__answer p {
  max-width: 58ch;
  padding: 0 40px 24px 0;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq__item summary {
    font-size: 17.5px;
  }
  .faq__answer p {
    padding-right: 0;
  }
}

/* ---------- Your morning (scroll-driven) ---------- */

.morning {
  padding-block: clamp(96px, 10vw, 150px) clamp(40px, 6vw, 80px);
}
.morning__title {
  max-width: 17em;
  margin-bottom: clamp(8px, 2vw, 24px);
}
.morning__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.morning__steps {
  position: relative;
}
.morning__step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78vh;
  max-width: 26em;
  opacity: 0.28;
  transition: opacity 600ms var(--ease-soft);
}

.morning__step.is-active {
  opacity: 1;
}
html:not(.js) .morning__step {
  opacity: 1;
}
.morning__time {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 620;
}
.morning__step-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 620;
  font-stretch: 90%;
  letter-spacing: -0.016em;
  line-height: 1.12;
}
.morning__text {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.morning__sticky {
  position: sticky;
  top: max(96px, calc(50vh - 260px));
  align-self: start;
  margin-top: 8vh;
}
.morning__caption {
  display: none;
}
.morning__panel {
  position: relative;
  height: 520px;
  border-radius: 24px;
  background: var(--mist);
  overflow: hidden;
}
.morning__progress {
  position: absolute;
  top: 24px;
  left: 32px;
  right: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(23, 33, 44, 0.08);
  overflow: hidden;
}
.morning__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--navy);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.scene {
  position: absolute;
  inset: 56px 32px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 450ms var(--ease-soft),
    transform 800ms var(--ease-out);
  pointer-events: none;
}
.scene.is-current {
  opacity: 1;
  transform: none;
  transition-delay: 120ms;
}

.win {
  width: 100%;
  max-width: 470px;
  padding: 18px 20px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule), 0 26px 50px -30px rgba(23, 33, 44, 0.4);
}
.win__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}
.win__title {
  font-size: 15px;
  font-weight: 620;
}
.win__meta {
  color: var(--slate);
  font-size: 13px;
}
.win__meta b {
  color: var(--rust);
  font-weight: 620;
}

/* Scene 0 */

/* Scene 1 */

/* Scene 2 */

/* Scene 3 */

@media (max-width: 900px) {
  .morning__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .morning__sticky {
    order: -1;
    top: 70px;
    z-index: 2;
    margin: 12px calc(var(--gutter) * -1) 0;
    padding: 8px var(--gutter) 12px;
    background: #fff;
  }
  .morning__panel {
    height: 380px;
    border-radius: 18px;
  }
  .scene {
    inset: 44px 14px 14px;
  }
  .morning__progress {
    top: 18px;
    left: 16px;
    right: 16px;
  }
  /* On phones the steps become scroll spacers and the active one is shown as a caption under the panel. */
  .morning__step,
  .morning__step:first-child,
  .morning__step:last-child {
    min-height: 62vh;
  }
  .js .morning__step,
  .js .morning__step.is-active {
    opacity: 0;
  }
  .js .morning__caption {
    display: block;
    min-height: 150px;
    padding: 20px 2px 0;
  }
  .morning__caption .morning__step-title {
    font-size: 24px;
  }
  .morning__caption .morning__text {
    font-size: 17px;
  }
  .win {
    padding: 14px 14px 10px;
  }
  
  
}

.dayslider__input {
  position: relative;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.dayslider__input:focus {
  outline: none;
}
.dayslider__input::-webkit-slider-runnable-track {
  height: 44px;
  background: transparent;
}
.dayslider__input::-moz-range-track {
  height: 44px;
  background: transparent;
}
.dayslider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--navy), 0 4px 10px rgba(23, 33, 44, 0.25);
  transition: transform 160ms var(--ease-soft);
}
.dayslider__input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--navy), 0 4px 10px rgba(23, 33, 44, 0.25);
}
.dayslider__input:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
.dayslider__input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 2px var(--navy), 0 0 0 6px rgba(17, 17, 17, 0.2);
}
.dayslider__input:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 2px var(--navy), 0 0 0 6px rgba(17, 17, 17, 0.2);
}


/* =====================================================================
   Home services version
   ===================================================================== */

.hero__fine {
  margin-top: 16px;
  color: var(--slate);
  font-size: 14px;
}
.stage__note {
  margin-top: 12px;
  color: var(--slate);
  font-size: 13px;
  text-align: right;
}
.stage__replay {
  position: absolute;
  right: clamp(14px, 2.4vw, 28px);
  top: clamp(14px, 2.4vw, 22px);
  z-index: 8;
  height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px var(--rule), 0 6px 16px -8px rgba(23, 33, 44, 0.3);
  color: var(--ink);
  font-size: 13px;
  font-weight: 560;
}
.stage__replay:hover {
  background: #fff;
}

/* The scaled canvas holds the app window and the phone. */
.canvas {
  position: relative;
  width: 1120px;
  transform-origin: top left;
}

/* ---------- Status pills and verdicts ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
  transition:
    background-color 300ms var(--ease-soft),
    color 300ms var(--ease-soft);
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.pill--healthy { background: #e3f1eb; color: #0c5a44; }
.pill--watch { background: #fbf0d9; color: #7a4a00; }
.pill--problem { background: #b42318; color: #ffffff; }
.pill--neutral { background: var(--mist); color: var(--ink-2); }
.pill--checking { background: var(--mist); color: var(--slate); }
.pill--checking::before {
  animation: pill-pulse 1s ease-in-out infinite;
}
@keyframes pill-pulse {
  50% { opacity: 0.25; }
}
.pill.is-pop {
  animation: pill-pop 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pill-pop {
  0% { transform: scale(0.7); }
  100% { transform: scale(1); }
}

.verdict {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--rule);
  background: #fff;
  transition: background-color 400ms var(--ease-soft);
}
.verdict.is-watch {
  background: #fffbf1;
}
.verdict__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.verdict__main {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.verdict__sub {
  color: var(--slate);
  font-size: 13px;
}
.verdict--panel,
.verdict--card {
  margin-top: 0;
}
.verdict--card {
  min-height: 112px;
}

/* ---------- Forecast chart ---------- */

.app__card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.fc__legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--slate);
  font-size: 12px;
}
.key {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-radius: 3px;
  vertical-align: -1px;
}
.key--booked { background: var(--navy); }
.key--likely { background: #c4c4bf; }
.key--cap { height: 0; border-top: 2px dashed var(--ink-2); border-radius: 0; vertical-align: 3px; }

.fc {
  --max: 18;
  position: relative;
  height: 276px;
  margin-top: 10px;
}
.fc__cols {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 22px;
}
.fc__col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.fc__col em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  color: var(--slate);
  font-size: 11.5px;
  font-style: normal;
  text-align: center;
}
.fc__b,
.fc__l {
  display: block;
  transform-origin: bottom;
}
.fc__b {
  height: calc(var(--b) / var(--max) * 100%);
  border-radius: 0 0 4px 4px;
  background: var(--navy);
}
.fc__l {
  height: calc(var(--l) / var(--max) * 100%);
  border-radius: 4px 4px 0 0;
  background: #c4c4bf;
}
.fc__col[style*="--l:0"] .fc__b {
  border-radius: 4px;
}
.fc__cap {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: calc(22px + (100% - 22px) * var(--cap, 15) / var(--max));
  z-index: 2;
  border-top: 2px dashed var(--ink-2);
  transform-origin: left;
}
.fc__cap span {
  position: absolute;
  left: 4px;
  top: -20px;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 560;
}
.fc__gap {
  position: absolute;
  left: calc(var(--from, 50%) - 2px);
  right: -4px;
  top: 0;
  bottom: 22px;
  z-index: 0;
  border-radius: 6px;
  background: rgba(255, 225, 77, 0.38);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 700ms cubic-bezier(0.55, 0.06, 0.2, 1);
}
.fc__gap-label {
  position: absolute;
  right: 8px;
  top: 6px;
  color: #6b5208;
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
  transition: opacity 160ms var(--ease-soft);
}
/* The tooltip says the same thing for the week under the cursor. */
.fc.is-hovering .fc__gap-label {
  opacity: 0;
}
.fc.is-gap .fc__gap {
  clip-path: inset(0 0 0 0);
}

/* Build-up animation (hero and card) */
.js .fc .fc__b,
.js .fc .fc__l {
  transform: scaleY(0);
  transition: transform 800ms var(--ease-out);
}
.js .fc .fc__cap {
  transform: scaleX(0);
  transition: transform 900ms var(--ease-in-out);
}
.fc.is-in .fc__b {
  transform: none;
}
.fc.is-in.is-likely .fc__l {
  transform: none;
}
.fc.is-cap .fc__cap {
  transform: none;
}
.fc__col:nth-child(2) > span { transition-delay: 50ms; }
.fc__col:nth-child(3) > span { transition-delay: 100ms; }
.fc__col:nth-child(4) > span { transition-delay: 150ms; }
.fc__col:nth-child(5) > span { transition-delay: 200ms; }
.fc__col:nth-child(6) > span { transition-delay: 250ms; }
.fc__col:nth-child(7) > span { transition-delay: 300ms; }
.fc__col:nth-child(8) > span { transition-delay: 350ms; }
html:not(.js) .fc .fc__gap {
  clip-path: none;
}

/* ---------- Hero app content ---------- */

.money li,
.unquoted li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--rule);
}
.money div,
.unquoted div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.money strong,
.unquoted strong {
  font-size: 14px;
  font-weight: 600;
}
.money div > span,
.unquoted div > span {
  color: var(--slate);
  font-size: 12.5px;
}
.money b,
.unquoted b {
  font-size: 14.5px;
  font-weight: 620;
}
.unquoted li {
  grid-template-columns: minmax(0, 1fr) auto;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 360ms var(--ease-soft),
    transform 500ms var(--ease-out);
}
.unquoted li.is-in {
  opacity: 1;
  transform: none;
}
.drawer__intro {
  padding-bottom: 10px;
  color: var(--slate);
  font-size: 13px;
}
.drawer__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 13.5px;
}

/* ---------- The real story ---------- */

.morning__intro {
  max-width: 34em;
  margin-top: 14px;
}
.morning__close {
  max-width: 30em;
  margin-top: clamp(24px, 4vw, 48px);
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink);
}
.bignum,
.dotsbox {
  width: 100%;
  max-width: 470px;
  padding: 24px 24px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule), 0 26px 50px -30px rgba(23, 33, 44, 0.4);
}
.bignum__label {
  color: var(--slate);
  font-size: 14px;
}
.bignum__value {
  margin: 6px 0 18px;
  color: var(--ink);
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 640;
  font-stretch: 84%;
  letter-spacing: -0.03em;
  line-height: 1;
}
.split {
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: #efcbbd;
}
.split--even {
  background: #e2e7eb;
}
.split__a {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--navy);
  transition: width 1100ms var(--ease-in-out) 200ms;
}
.scene.is-played .split__a {
  width: calc(var(--w) * 100%);
}
.split__legend,
.dots__legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--slate);
  font-size: 13px;
}
.dots {
  display: grid;
  gap: 5px;
  margin-top: 16px;
}
.dots--200 {
  grid-template-columns: repeat(20, minmax(0, 1fr));
}
.dots--51 {
  grid-template-columns: repeat(17, minmax(0, 1fr));
  gap: 8px;
}
.dots i,
.dots__legend i {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy);
  transition:
    background-color 300ms var(--ease-soft),
    box-shadow 300ms var(--ease-soft),
    transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dots i.is-off,
.dots__legend .dot-off {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--rule-strong);
}
.dots i.is-spam,
.dots__legend .dot-spam {
  background: #efcbbd;
  transform: scale(0.8);
}
.dots__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dots__legend i {
  width: 10px;
  height: 10px;
}

/* ---------- Feature cards ---------- */

.card--half { grid-column: span 3; }
.card--third { grid-column: span 2; }
.card--goal {
  grid-column: span 4;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 28px;
  padding-bottom: 26px;
}
.card--goal .card__screen {
  margin: 0;
  padding: 18px;
  border: 0;
  border-radius: 14px;
}
.card--texts {
  grid-column: span 2;
}
.tag {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fbefc8;
  color: #725609;
  font-size: 12px;
  font-weight: 620;
  font-stretch: 100%;
  letter-spacing: 0;
  vertical-align: 3px;
  white-space: nowrap;
}
.mini__note {
  margin-top: 10px;
  color: var(--slate);
  font-size: 13px;
  min-height: 1.5em;
}
.mini--flush {
  padding: 6px;
}

/* Layer toggles */
.layers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.layer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px 0 6px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  color: var(--slate);
  font-size: 13px;
  font-weight: 560;
  transition:
    box-shadow 200ms var(--ease-soft),
    color 200ms var(--ease-soft),
    transform 140ms var(--ease-soft);
}
.layer:active {
  transform: scale(0.96);
}
.layer.is-on {
  box-shadow: inset 0 0 0 1.5px var(--navy);
  color: var(--ink);
}

/* Money left on the table */
.leak {
  display: flex;
  flex-direction: column;
}
.leak__item {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  text-align: left;
  transition:
    background-color 200ms var(--ease-soft),
    color 200ms var(--ease-soft);
}
.leak__item:hover {
  background: var(--mist);
}
.leak__item b {
  color: var(--ink);
  font-weight: 620;
}
.leak__item[aria-checked="true"] {
  background: #fff8db;
  color: var(--ink);
  font-weight: 560;
}
.leak__detail {
  min-height: 4.6em;
  margin: 6px 6px 4px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Lead requests */
.reqs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reqs button {
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: var(--mist);
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 14.5px;
  font-style: italic;
  text-align: left;
  transition:
    background-color 200ms var(--ease-soft),
    box-shadow 200ms var(--ease-soft),
    color 200ms var(--ease-soft);
}
.reqs button:hover {
  color: var(--ink);
}
.reqs button[aria-checked="true"] {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--navy);
  color: var(--ink);
}
.score {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.score__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  color: var(--slate);
  font-size: 13.5px;
}
.score__row b {
  color: var(--ink);
  font-weight: 620;
}
.score__meter {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
}
.score__meter span {
  display: block;
  width: calc(var(--f) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
  transition:
    width 700ms var(--ease-out),
    background-color 300ms var(--ease-soft);
}
.score.is-spam .score__meter span {
  background: var(--rust);
}

/* What's working */
.workbars li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
}
.workbars li > span:first-child {
  overflow: hidden;
  color: var(--ink);
  font-weight: 540;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.workbars .wb {
  height: 10px;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
}
.workbars .wb > span {
  display: block;
  width: calc(var(--f) * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--navy);
  transform-origin: left;
  animation: wb-grow 700ms var(--ease-out) both;
}
.workbars li:nth-child(2) .wb > span { animation-delay: 60ms; }
.workbars li:nth-child(3) .wb > span { animation-delay: 120ms; }
.workbars li:nth-child(4) .wb > span { animation-delay: 180ms; }
@keyframes wb-grow {
  from { transform: scaleX(0); }
}
.workbars b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
}
.workbars__note {
  margin-top: 8px;
  color: var(--slate);
  font-size: 12.5px;
}

/* Goal calculator */
.goal__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.goal__control label {
  display: block;
  color: var(--slate);
  font-size: 14px;
}
.goal__value {
  display: block;
  margin: 2px 0 10px;
  font-size: clamp(36px, 3.6vw, 46px);
  font-weight: 640;
  font-stretch: 86%;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.goal__range {
  height: 36px;
  --pct: 36%;
}
.goal__range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--navy) var(--pct), #dde3e8 var(--pct));
}
.goal__range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--navy) var(--pct), #dde3e8 var(--pct));
}
.goal__range::-webkit-slider-thumb {
  margin-top: -7px;
}
.goal__scale {
  display: flex;
  justify-content: space-between;
  color: var(--slate);
  font-size: 12.5px;
}
.goal__mini {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.goal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.need {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: box-shadow 300ms var(--ease-soft), background-color 300ms var(--ease-soft);
}
.need span {
  color: var(--slate);
  font-size: 13px;
}
.need b {
  font-size: 26px;
  font-weight: 640;
  font-stretch: 88%;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.need em {
  font-size: 12.5px;
  font-style: normal;
  color: var(--sage);
  font-weight: 560;
}
.need.is-short {
  background: #fff8f4;
  box-shadow: inset 0 0 0 1.5px #e9b8a6;
}
.need.is-short em {
  color: var(--rust);
}
.bottleneck {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--mist);
}
.bottleneck__label {
  font-size: 14px;
}
.bottleneck__label b {
  font-weight: 640;
}
.bottleneck__text {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Text alerts */
.card__screen--sms {
  align-items: center;
}
.sms {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.sms__from {
  color: var(--slate);
  font-size: 12px;
  font-weight: 560;
}
.sms__bubble {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule);
  font-size: 14px;
  line-height: 1.4;
}
.sms__bubble--me {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: var(--navy);
  box-shadow: none;
  color: #fff;
  font-weight: 560;
}
.js .sms__bubble {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 400ms var(--ease-soft),
    transform 600ms var(--ease-out);
}
.sms.is-in .sms__bubble {
  opacity: 1;
  transform: none;
}
.sms.is-in .sms__bubble--me {
  transition-delay: 900ms;
}

@media (max-width: 1020px) {
  .card--half,
  .card--goal {
    grid-column: span 6;
  }
  .card--third,
  .card--texts {
    grid-column: span 3;
  }
}
@media (max-width: 680px) {
  .bento {
    gap: 12px;
  }
  .card--half,
  .card--third,
  .card--goal,
  .card--texts {
    grid-column: span 6;
  }
  .card--goal {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .card {
    padding: 22px 18px 0;
  }
  .card--goal {
    padding-bottom: 18px;
  }
  .card__screen {
    margin-inline: -18px;
    padding: 18px;
  }
  .card--goal .card__screen {
    margin: 0 -6px;
    padding: 12px;
  }
}

/* ---------- How it's different ---------- */

.diff {
  padding-block: clamp(88px, 9vw, 132px) clamp(56px, 6vw, 88px);
}
.diff__title {
  max-width: 18em;
}
.diff__intro {
  max-width: 38em;
  margin: 16px 0 clamp(28px, 4vw, 44px);
}
.compare {
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.compare__row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  border-top: 1px solid var(--rule);
}
.compare__row:first-child {
  border-top: 0;
}
.compare__row > span {
  padding: 15px 20px;
  font-size: 15px;
  line-height: 1.45;
}
.compare__row > span:first-child {
  color: var(--slate);
  font-size: 14px;
}
.compare__row > span:nth-child(2) {
  color: var(--ink-2);
}
.compare__row > span:nth-child(3) {
  background: #f7f9fb;
  color: var(--ink);
  font-weight: 560;
}
.compare__row--head > span {
  padding-block: 12px;
  color: var(--slate);
  font-size: 13.5px;
  font-weight: 600;
}
.compare__row--head > span:nth-child(3) {
  color: var(--navy);
}
@media (max-width: 760px) {
  .compare__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .compare__row > span:first-child {
    grid-column: 1 / -1;
    padding-bottom: 0;
    color: var(--ink);
    font-weight: 600;
  }
  .compare__row--head > span:first-child {
    display: none;
  }
  .compare__row > span {
    padding: 12px 16px;
    font-size: 14px;
  }
}

.how {
  border-top: 1px solid var(--rule);
}

/* ---------- Pricing and status ---------- */

.pricing {
  padding-block: clamp(88px, 9vw, 132px);
  background: var(--mist);
}
.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.price {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 33, 44, 0.06), 0 30px 60px -40px rgba(23, 33, 44, 0.35);
}
.price__title {
  font-size: 18px;
  font-weight: 620;
}
.price__amount {
  margin: 10px 0 8px;
  color: var(--slate);
  font-size: 17px;
}
.price__amount span {
  margin-right: 6px;
  color: var(--ink);
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 640;
  font-stretch: 84%;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price__text {
  margin-bottom: 24px;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}
.status-list__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 620;
}
.status-list li {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-strong);
}
.status-list li:last-child {
  border-bottom: 1px solid var(--rule-strong);
}
.status-list .pill {
  justify-self: start;
}
.status-list p {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .pricing__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .status-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

/* ---------- Hero demo: hover details and "your turn" mode ---------- */

.fc__tip {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 132px;
  padding: 8px 10px 9px;
  border-radius: 9px;
  background: var(--navy-deep);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 10px 24px -10px rgba(17, 17, 17, 0.6);
  opacity: 0;
  transform: translate(-50%, calc(-100% - 6px)) scale(0.96);
  transform-origin: bottom center;
  transition:
    opacity 160ms var(--ease-soft),
    transform 260ms var(--ease-out);
  pointer-events: none;
}
.fc__tip.is-on {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 10px));
}
.fc__tip b {
  font-weight: 620;
}
.fc__tip span {
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}
.fc__tip em {
  color: var(--highlight);
  font-style: normal;
  font-weight: 560;
}
.fc__tip em:empty {
  display: none;
}
.fc .fc__col {
  transition: opacity 200ms var(--ease-soft);
}
.fc.is-hovering .fc__col:not(.is-hot) {
  opacity: 0.45;
}
.app .money li,
.app .unquoted li {
  margin-inline: -8px;
  padding-inline: 8px;
  border-radius: 8px;
  transition: background-color 200ms var(--ease-soft);
}
.app .money li.is-hot,
.app .unquoted li.is-hot {
  background: var(--mist);
}
.app .money li {
  padding-block: 14px;
}

/* Narrow screens: the same window stacked, so it barely has to shrink. */
.canvas.is-compact .app__body {
  grid-template-columns: minmax(0, 1fr);
  height: auto;
}
.canvas.is-compact .app__side,
.canvas.is-compact .app__sync {
  display: none;
}
.canvas.is-compact .app__main {
  padding: 18px 18px 20px;
}
.canvas.is-compact .app__cols {
  grid-template-columns: minmax(0, 1fr);
}
.canvas.is-compact .fc {
  height: 236px;
}
.canvas.is-compact .app__card-head {
  flex-wrap: wrap;
  row-gap: 6px;
}
.canvas.is-compact .app__card-head .app__card-title {
  white-space: nowrap;
}
.canvas.is-compact .drawer {
  width: 100%;
}
.app__main {
  transition: opacity 300ms var(--ease-soft);
}
.app__body.has-drawer .app__main {
  opacity: 0.35;
}
.drawer__close {
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--slate);
  font-size: 12.5px;
  font-weight: 500;
}
.drawer__close.is-pressed,
.drawer__close:hover {
  background: var(--mist);
  color: var(--ink);
}
.unquoted b.is-spam {
  color: var(--rust);
  font-size: 13px;
}

/* When a mouse is over the demo, it becomes a small working app. */
.stage.is-user .app,
.stage.is-user .app * {
  user-select: none;
}
.stage.is-user .fc__col,
.stage.is-user .mock-btn,
.stage.is-user .drawer__close,
.stage.is-user .unquoted li {
  cursor: pointer;
}
.stage:not(.is-user) .app {
  pointer-events: none;
}
.stage:not(.is-user) .stage__frame {
  cursor: pointer;
}
.stage__hint {
  position: absolute;
  left: 50%;
  top: clamp(14px, 2.4vw, 22px);
  z-index: 8;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--navy-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 560;
  line-height: 32px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -6px);
  transition:
    opacity 240ms var(--ease-soft),
    transform 400ms var(--ease-out);
  pointer-events: none;
}
.stage.is-user .stage__hint {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (hover: none) {
  .stage__hint {
    display: none;
  }
}

.only-touch {
  display: none;
}
@media (hover: none) {
  .only-hover {
    display: none;
  }
  .only-touch {
    display: inline;
  }
}

/* ---------- Header logo: the same mark as the dashboard ---------- */

.wordmark--logo svg {
  width: 74px;
  height: auto;
}
.site-footer .wordmark--logo svg {
  width: 60px;
}

/* ---------- Leads vs. crew capacity pendulum (hero and verdict card) ---------- */

.pend {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.pend__seg {
  opacity: 0.32;
  transition: opacity 500ms var(--ease-soft);
}
.pend__seg.is-lit {
  opacity: 1;
}
.pend__beam {
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
}
.pend__arm {
  transform-origin: 300px 26px;
}
.pend__swing {
  transform-origin: 300px 26px;
}
.pend__arm line {
  stroke: var(--ink);
  stroke-width: 3.5;
  stroke-linecap: round;
}
.pend__arm circle {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 5;
}
.pend__pivot {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 4;
}
.pend-word {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  transition: color 300ms var(--ease-soft);
}
.pend-word--watch { color: #7a4a00; }
.pend-word--problem { color: #b42318; }
.pend-word--healthy { color: #0c5a44; }
.pend-word--checking { color: var(--slate); }
.pend-zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 640;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pend-zones span:nth-child(1) { color: #b42318; }
.pend-zones span:nth-child(2) { color: #0c5a44; text-align: center; }
.pend-zones span:nth-child(3) { color: #a8480c; text-align: right; }
.pend-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.pend-stats div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pend-stats span {
  color: var(--slate);
  font-size: 11.5px;
}
.pend-stats b {
  font-size: 17px;
  font-weight: 640;
  letter-spacing: -0.01em;
}

/* In the hero window */
.app__card--pend {
  display: flex;
  flex-direction: column;
  padding-bottom: 14px;
}
.app__card--pend .pend-word {
  margin: 2px 0 2px;
}
.app__card--pend .pend {
  width: 88%;
  margin: 0 auto;
}
.app__card--pend .mock-btn {
  align-self: flex-start;
  margin-top: 12px;
}
.app__card--pend .pend__arm.is-resting {
  opacity: 0.3;
}
.app__card--pend .pend__arm {
  transition: opacity 400ms var(--ease-soft);
}

/* In the verdict card */
.gauge {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.gauge .pend {
  width: min(100%, 320px);
  margin: 4px auto 0;
}
.gauge .pend-zones {
  width: min(100%, 360px);
  margin-inline: auto;
}
.gauge .pend-word {
  font-size: 22px;
  text-align: center;
}

/* ---------- Will the schedule fill? (card) ---------- */

.key--quotes { background: #85857f; }
.key--leads { background: #c4c4bf; }
.key--open { background: rgba(255, 225, 77, 0.55); box-shadow: inset 0 0 0 1px #d6b52a; }
.wk {
  --max: 200;
  position: relative;
  height: 232px;
  margin-top: 8px;
}
.wk__cap {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--slate);
  font-size: 12px;
}
.wk__gap-label {
  position: absolute;
  right: 0;
  top: 0;
  color: #6b5208;
  font-size: 12.5px;
  font-weight: 640;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 260ms var(--ease-soft),
    transform 400ms var(--ease-out);
}
.wk.show-open .wk__gap-label {
  opacity: 1;
  transform: none;
}
.wk__cols {
  position: absolute;
  inset: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 20px;
}
.wk__col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.wk__col em {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -19px;
  color: var(--slate);
  font-size: 11px;
  font-style: normal;
  text-align: center;
  white-space: nowrap;
}
.wk__track {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: calc(var(--cap) / var(--max) * 100%);
  border-radius: 6px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  overflow: hidden;
  transition: background-color 400ms var(--ease-soft), box-shadow 400ms var(--ease-soft);
}
.wk.show-open .wk__track {
  background: rgba(255, 225, 77, 0.42);
  box-shadow: inset 0 0 0 1px #d6b52a;
}
.wk__s {
  display: block;
  flex: none;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 700ms var(--ease-out);
}
.wk__b { height: calc(var(--b) / var(--cap) * 100%); background: var(--navy); }
.wk__q { height: calc(var(--q) / var(--cap) * 100%); background: #85857f; }
.wk__l { height: calc(var(--l) / var(--cap) * 100%); background: #c4c4bf; }
.wk.show-booked .wk__b,
.wk.show-quotes .wk__q,
.wk.show-leads .wk__l {
  transform: none;
}
html:not(.js) .wk__s {
  transform: none;
}
.wk__col:nth-child(2) .wk__s { transition-delay: 40ms; }
.wk__col:nth-child(3) .wk__s { transition-delay: 80ms; }
.wk__col:nth-child(4) .wk__s { transition-delay: 120ms; }
.wk__col:nth-child(5) .wk__s { transition-delay: 160ms; }
.wk__col:nth-child(6) .wk__s { transition-delay: 200ms; }
.wk__col:nth-child(7) .wk__s { transition-delay: 240ms; }
.wk__col:nth-child(8) .wk__s { transition-delay: 280ms; }

/* ---------- Lead scoring note ---------- */

.score__note {
  margin-top: 8px;
  color: var(--slate);
  font-size: 12.5px;
}

/* ---------- Goal: over capacity ---------- */

.bottleneck {
  transition: background-color 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft);
}
.bottleneck.is-over {
  background: #fff1ee;
  box-shadow: inset 0 0 0 1.5px #e9b8a6;
}
.bottleneck.is-over .bottleneck__label {
  color: #8f1c13;
}

/* ---------- Daily email ---------- */

.mail {
  width: 100%;
  padding: 14px 16px 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule), 0 8px 20px -14px rgba(23, 33, 44, 0.3);
}
.mail__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--slate);
  font-size: 12px;
}
.mail__from {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 640;
}
.mail__from::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}
.mail__subject {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.mail__preview {
  margin-top: 4px;
  color: var(--slate);
  font-size: 13px;
}
.js .mail {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 400ms var(--ease-soft),
    transform 600ms var(--ease-out);
}
.mail.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 680px) {
  .wk {
    height: 210px;
  }
  .wk__cols {
    gap: 5px;
  }
  .wk__col em {
    font-size: 9.5px;
  }
  .wk__cap {
    font-size: 11px;
  }
}


/* ---------- What owners told us: logo banner and quotes ---------- */

.voices {
  padding-block: 0 clamp(64px, 7vw, 104px);
}
.voices__title {
  margin: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 36px);
}
.voices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--rule), 0 26px 50px -36px rgba(23, 33, 44, 0.35);
}
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
  color: var(--ink);
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex: none;
}
.quote figcaption img.is-round {
  border-radius: 50%;
}
.quote figcaption span {
  display: flex;
  flex-direction: column;
  color: var(--slate);
  font-size: 14px;
}
.quote figcaption b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 620;
}
@media (max-width: 1020px) {
  .voices__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Demo: keep "I'm interested" and "View dashboard" inside the gutter on small phones */
@media (max-width: 430px) {
  .site-header__inner {
    gap: 12px;
  }
  .site-header__login {
    font-size: 14px;
  }
  .site-header__cta {
    margin-left: 0;
  }
}

/* Comparison table: yes/no rows */
.compare__row--mark > span:nth-child(2),
.compare__row--mark > span:nth-child(3) {
  display: flex;
  align-items: center;
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.mark--no {
  background: #fcecea;
  color: #b42318;
}
.mark--yes {
  background: #e3f1eb;
  color: #0c5a44;
}
.compare__row--mark > span:first-child {
  color: var(--ink);
  font-weight: 600;
}
