/* Asher homepage · built from Figma "Main website · v3 · A day with Asher" (2166:110946 / 2167:102920). */

@font-face {
  font-family: "Recoleta";
  src: url("/assets/fonts/recoleta-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --ink: #242928;
  --text-2: #5d6461;
  --text-3: #4f5653;
  --porcelain: #fcfbf8;
  --paper: #f8f1e7;
  --cream: #fff8ed;
  --oat: #e8dccb;
  --coral: #b9513b;
  --coral-deep: #a8472f;
  --coral-bright: #e77a5f;
  --coral-tint: #f7d5ca;
  --sky: #8dbcd3;
  --sky-tint: #eaf3f7;
  --plans: #336680;
  --success-strong: #0f3d34;
  --sage: #a3b18a;
  --sage-tint: #eff2eb;
  --sage-card: #e4eae0;
  --handbook: #4a613d;
  --lilac: #c7b8d8;
  --lilac-tint: #e6e1f8;
  --sun: #f7c766;

  --serif: "Recoleta", Georgia, "Times New Roman", serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 6vw, 120px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --slab: 12px;
}

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

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

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
  border-radius: 6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

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

#main:focus {
  outline: none;
}

.seg--static .seg__btn {
  min-height: 36px;
}

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

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.display--hero {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.12;
}

.display--section {
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1.16;
}

.display--closing {
  font-size: clamp(34px, 3.6vw, 44px);
  line-height: 1.16;
}

.eyebrow {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--coral);
}

.eyebrow--ink {
  color: var(--ink);
}

.eyebrow--light {
  color: var(--coral-bright);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn--primary {
  background: var(--coral);
  color: #fff;
}

.btn--primary:hover {
  background: var(--coral-deep);
}

.btn--secondary {
  background: #fff;
  border-color: var(--oat);
  font-weight: 600;
}

.btn--secondary .icon {
  font-size: 20px;
}

.btn--secondary:hover {
  border-color: var(--ink);
}

.btn--secondary:hover .icon {
  color: var(--coral);
}

.btn__meta {
  color: var(--text-2);
  font-weight: 600;
}

.btn--outline {
  min-height: 48px;
  border-color: var(--coral);
  color: var(--coral);
  background: transparent;
}

.btn--outline:hover {
  background: var(--coral);
  color: #fff;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(252 251 248 / 0.88);
  background: color-mix(in srgb, var(--porcelain) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--oat) 70%, transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: none;
}

.site-nav {
  display: flex;
  gap: 32px;
  margin-inline: auto;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

@media (max-width: 1023px) {
  .site-header__inner {
    min-height: 72px;
  }

  .site-nav {
    margin-inline: auto 0;
  }

  .site-nav__section,
  .site-header__cta {
    display: none;
  }

  .site-nav__trust {
    color: var(--coral);
    font-size: 14px;
  }
}

/* ---------- Shared app primitives ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 700;
  width: fit-content;
}

.chip .icon {
  font-size: 14px;
}

.chip--sm {
  padding: 2px 10px;
  font-size: 12px;
  line-height: 18px;
}

.chip--audience {
  background: var(--paper);
  color: var(--text-2);
  font-weight: 600;
  font-size: 12px;
  padding: 2px 8px;
}

.chip--coral {
  background: var(--coral-tint);
}

.chip--sky {
  background: var(--sky-tint);
  color: var(--plans);
}

.chip--lilac {
  background: var(--lilac-tint);
}

.chip--sage {
  background: var(--sage-tint);
  color: var(--handbook);
}

.bubble {
  position: relative;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 22px;
}

.bubble--user {
  align-self: flex-end;
  max-width: 82%;
  margin-left: auto;
  background: var(--coral-tint);
  border-bottom-right-radius: 6px;
}

.bubble--asher {
  background: var(--paper);
  border-bottom-left-radius: 6px;
}

.bubble__time {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-2);
}

.reply {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.reply__avatar {
  margin-top: 4px;
  width: 28px;
}

.reply .bubble {
  flex: 1;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.avatar--sky { background: var(--sky); }
.avatar--skytint { background: var(--sky-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sky) 45%, transparent); }
.avatar--sun { background: var(--sun); }
.avatar--coral { background: var(--coral-tint); }
.avatar--lilac { background: var(--lilac); }

.people {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-2);
}

.avatar--img {
  overflow: hidden;
  place-items: end center;
}

.avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.people--lg .avatar {
  width: 34px;
  height: 34px;
  box-shadow: 0 0 0 2px var(--lilac-tint);
}

.people--lg .avatar + .avatar {
  margin-left: -6px;
}

.people .avatar + .avatar {
  margin-left: -2px;
}

.people .avatar:last-of-type {
  margin-right: 4px;
}

.hb-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hb-card__label,
.proposal__label,
.script-card__label,
.event-suggest__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hb-card__label {
  color: var(--handbook);
}

.hb-card__label .icon,
.proposal__label .icon {
  font-size: 20px;
  color: var(--ink);
}

.hb-card__type {
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}

.hb-card__title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.hb-card__body {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-3);
}

.hb-card__meta {
  margin-top: 6px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}

.hb-card--inset {
  padding: 20px;
  border-radius: 16px;
  background: var(--sage-card);
}

.script-card {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
}

.type-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--coral-tint);
}

.type-icon .icon {
  font-size: 15px;
}

.script-card__title {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.script-card__body {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-3);
}

.script-card__tools {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 18px;
  color: var(--text-3);
}

.fake-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.fake-btn--coral {
  flex: 1 0 auto;
  background: var(--coral);
  color: #fff;
}

.fake-btn--plans {
  width: 100%;
  background: var(--plans);
  color: #fff;
}

.fake-btn--text {
  color: var(--text-2);
  font-weight: 600;
}

.fake-btn--outline {
  flex: 1 0 auto;
  border: 1px solid var(--oat);
  background: #fff;
  font-weight: 600;
}

/* Vignette card with offset colour slab */

.vcard {
  position: relative;
  padding: 0 var(--slab) var(--slab) 0;
}

.vcard::before {
  content: "";
  position: absolute;
  inset: var(--slab) 0 0 var(--slab);
  border-radius: 24px;
  background: var(--slab-color, var(--coral-bright));
  transition: transform 0.7s var(--ease);
}

.vcard--coral { --slab-color: var(--coral-bright); }
.vcard--sky { --slab-color: var(--sky); }
.vcard--sage { --slab-color: var(--sage); }

.vcard__face {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
  transition: transform 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .vcard:hover .vcard__face {
    transform: translate(-3px, -3px);
  }
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 584fr) minmax(0, 568fr);
  gap: 48px;
  align-items: center;
  padding-block: 48px 64px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__body {
  max-width: 34em;
  font-size: 21px;
  line-height: 30px;
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__note {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-2);
}

.hero__art {
  position: relative;
  max-width: 568px;
  width: 100%;
  justify-self: end;
}

.hero__ask {
  width: min(466px, 88%);
}

.hero__saved {
  position: relative;
  width: min(368px, 66%);
  margin: -28px 0 0 auto;
}

.hero__saved .vcard__face {
  background: var(--sage-card);
  border-radius: 20px;
  padding: 20px;
  gap: 4px;
}

.hero__saved::before {
  border-radius: 20px;
}

/* Hero: the Action Bundle. One message, two explicit instructions handled with View and Undo, then Asher's answer to the question. */

/* The bundle is Asher's reply, so it keeps the reply bubble's paper tone; its rows sit lighter on top. */
.bundle {
  background: var(--paper);
}

.bundle .reply__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundle__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--success-strong);
}

.bundle__done {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-strong);
  color: #fff;
}

.bundle__done .icon {
  font-size: 12px;
  stroke-width: 3;
}

.bundle__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bundle__rows li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  line-height: 20px;
}

.bundle__icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

/* Events, to-dos and groceries all land in Plans, so every row uses the Plans tint. */
.bundle__icon--plans,
.bundle__icon--todo,
.bundle__icon--list { background: var(--sky-tint); color: var(--plans); }

.bundle__text {
  flex: 1;
  min-width: 0;
}

.bundle__text .avatar {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  vertical-align: -5px;
}

.bundle__rows .circle {
  background: var(--success-strong);
  border-color: var(--success-strong);
}

.bundle__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}

.bundle__actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.bundle__actions .fake-btn {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
}

/* The answer to the question in the same message sits below the handled rows. */
.bundle__answer {
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
}

/* Hero: the Handbook note Asher's answer builds on, beside the bundle. */

.hero__saved .note-card {
  gap: 8px;
}

.note-card__source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: var(--handbook);
}

.note-card__source .icon {
  font-size: 16px;
}

.note-card__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}

.note-card__label .avatar {
  width: 28px;
  height: 28px;
}

.note-card__body {
  font-size: 16px;
  line-height: 24px;
}

/* ---------- Overview ---------- */

.overview {
  padding-block: 48px 72px;
}

.overview .display {
  margin-bottom: 32px;
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.ocard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  min-height: 100%;
}

.ocard--ask { background: var(--coral-tint); }
.ocard--plans { background: var(--sky-tint); }
.ocard--handbook { background: var(--sage-tint); }

.ocard__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.ocard__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-2);
}

.ocard__caption {
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}

.ocard--handbook .bubble--asher {
  background: var(--cream);
}

.sample {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
}

.ocard--ask .bubble--asher {
  background: var(--cream);
}

.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--oat);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.action-row .icon {
  font-size: 18px;
}

.action-row:hover {
  border-color: var(--coral);
  background: var(--cream);
}

.action-row[aria-expanded="true"] {
  display: none;
}

.script-card[data-entering] {
  animation: rise-in 0.5s var(--ease) both;
}

/* Segmented control */

.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--sky-tint);
}

.seg__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s;
}

.seg__btn .icon {
  font-size: 14px;
}

.seg__btn[aria-selected="true"] {
  background: #fff;
  color: var(--plans);
  box-shadow: 0 1px 2px rgb(36 41 40 / 0.08);
}

.seg--static .seg__btn {
  cursor: default;
}

.seg__panel {
  min-height: 262px;
}

.seg__panel:not([hidden]) {
  animation: fade-in 0.35s var(--ease);
}

.agenda {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}

.agenda__item {
  display: grid;
  grid-template-columns: 40px 28px 1fr;
  gap: 10px;
  align-items: start;
}

.agenda__time {
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}

.agenda__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sky-tint);
  font-size: 16px;
}

.agenda__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  line-height: 22px;
}

.agenda__meta {
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}

.agenda__main .people {
  margin-top: 4px;
}

.agenda__todo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.circle {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #7d837f;
  color: #fff;
}

.circle .icon {
  font-size: 12px;
  stroke-width: 3;
  opacity: 0;
}

.is-done .circle,
.a-check .circle {
  background: var(--plans);
  border-color: var(--plans);
}

.is-done .circle .icon,
.a-check .circle .icon {
  opacity: 1;
}

.list-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
}

.checklist--compact {
  margin-top: 12px;
}

.checklist--compact li {
  min-height: 40px;
  background: var(--porcelain);
}

.sample--plans .chip {
  margin-top: 4px;
}

.map {
  position: relative;
  height: 140px;
  border-radius: 14px;
  background: #e3eef3;
  overflow: hidden;
}

.map--tall {
  height: 180px;
}

.map__road {
  position: absolute;
  background: #fff;
  border-radius: 8px;
}

.map__road--a { left: -10%; right: -10%; top: 30%; height: 10px; transform: rotate(-12deg); }
.map__road--b { left: 20%; top: -20%; bottom: -20%; width: 9px; transform: rotate(28deg); }
.map__road--c { left: 55%; right: -20%; top: 62%; height: 7px; transform: rotate(18deg); }

.map__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -100%);
  font-size: 30px;
  color: var(--plans);
}

.map__pin .icon {
  fill: var(--plans);
  stroke: #fff;
  stroke-width: 1.6;
}

.map__open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.stops {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
}

.stops strong {
  color: var(--ink);
  margin-right: 6px;
}

/* ---------- A day with Asher ---------- */

.day {
  background: var(--paper);
  padding-block: 72px;
}

.day__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.day__desc {
  max-width: 36em;
  font-size: 20px;
  line-height: 29px;
  color: var(--text-2);
}

.day__watch {
  margin-top: 4px;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
}

.timeline__line {
  position: absolute;
  top: 32px;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 14%, transparent);
  overflow: hidden;
}

.timeline__fill {
  position: absolute;
  inset: 0;
  background: var(--coral-bright);
  transform-origin: top;
  transform: scaleY(var(--progress, 1));
}

.js .timeline__fill {
  transform: scaleY(var(--progress, 0));
}

.stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  align-items: center;
}

.stop__copy {
  grid-column: 1;
  justify-self: end;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stop__screen {
  grid-column: 3;
  justify-self: start;
  width: min(414px, 100%);
}

.stop--flip .stop__copy {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.stop--flip .stop__screen {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.stop__dot {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.stop__dot.is-reached,
html:not(.js) .stop__dot {
  background: var(--coral-bright);
}

.js .stop__dot.is-reached {
  animation: dot-pop 0.5s var(--ease);
}

.stop__time {
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stop__title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

.stop__body {
  font-size: 18px;
  line-height: 27px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.day__disclosure {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
}

/* Stop vignette contents */

.email {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: var(--porcelain);
  font-size: 15px;
  line-height: 22px;
}

.email__source {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

.email__subject {
  font-size: 17px;
  font-weight: 700;
}

.email__from {
  font-size: 13px;
  color: var(--text-2);
}

.suggest {
  padding: 16px;
  border-radius: 16px;
  background: var(--porcelain);
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
}

.suggest__status {
  font-size: 13px;
  font-weight: 700;
  color: var(--plans);
}

.suggest__title {
  margin: 4px 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.suggest__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.suggest__rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.suggest__rows dt {
  color: var(--text-2);
}

.suggest__missing {
  color: var(--plans);
  font-weight: 700;
  padding: 0 6px;
  margin-right: -6px;
  border-radius: 6px;
}

.suggest__actions,
.proposal__actions,
.digest__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.event-suggest {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  background: var(--sky-tint);
}

.event-suggest__label {
  margin-bottom: 4px;
  font-size: 13px;
}

.event-suggest__label .icon {
  font-size: 16px;
}

.event-suggest__title {
  font-size: 18px;
  font-weight: 700;
}

.event-suggest__meta {
  font-size: 15px;
  color: var(--text-2);
}

.event-suggest__status {
  margin: 4px 0 8px;
  font-size: 12px;
  color: var(--text-2);
}

.event {
  align-items: center;
  text-align: center;
  gap: 6px;
}

.event__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sage-tint);
  font-size: 24px;
}

.event__title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

.event__when,
.event__weather {
  font-size: 15px;
  color: var(--text-3);
}

.event__weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event__place {
  font-size: 15px;
  color: var(--plans);
  font-weight: 600;
}

.event .map {
  width: 100%;
  margin-top: 6px;
}

.event__subhead {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
}

.travel {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  font-size: 15px;
  line-height: 20px;
}

.travel .avatar {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.travel__eta {
  display: block;
  font-size: 14px;
  color: var(--plans);
}

.event__note {
  align-self: flex-start;
  text-align: left;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-2);
}

.proposal {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--oat) 60%, transparent);
}

.proposal__more {
  margin-left: auto;
}

.notif {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(36 41 40 / 0.06);
}

.notif__app {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.notif__title {
  font-size: 15px;
  font-weight: 700;
}

.notif__body {
  font-size: 14px;
  color: var(--text-3);
}

.digest {
  padding: 16px;
  border-radius: 16px;
  background: var(--sky-tint);
}

.digest__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.digest__body {
  font-size: 15px;
  line-height: 22px;
}

.digest__meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-2);
}

/* ---------- Family ---------- */

.family {
  display: grid;
  grid-template-columns: minmax(0, 548fr) minmax(0, 560fr);
  gap: 64px 92px;
  align-items: center;
  padding-block: 72px;
}

.family__copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.family__body {
  font-size: 18px;
  line-height: 27px;
  color: var(--text-2);
}

.family__note {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-2);
}

.family__art {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.space {
  padding: 24px;
  border-radius: 24px;
}

.space--shared {
  background: var(--lilac-tint);
}

.space--private {
  border: 1.5px dashed color-mix(in srgb, #e3d2b7 80%, transparent);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.space__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
}

.space__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.space__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-2);
}

.space__list strong {
  display: block;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink);
}

.space__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font-size: 18px;
}

.space__icon--coral {
  color: var(--coral);
}

/* ---------- Trust ---------- */

.trust {
  background: var(--ink);
  color: var(--porcelain);
}

.trust__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: center;
  padding-block: 72px;
}

.trust__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.trust__body {
  font-size: 18px;
  line-height: 27px;
  color: rgb(252 251 248 / 0.82);
  color: color-mix(in srgb, var(--porcelain) 82%, transparent);
}

.trust__topics li + li {
  border-top: 1px solid rgb(232 220 203 / 0.25);
  border-top: 1px solid color-mix(in srgb, var(--oat) 25%, transparent);
}

.trust__topics {
  border-block: 1px solid rgb(232 220 203 / 0.25);
  border-block: 1px solid color-mix(in srgb, var(--oat) 25%, transparent);
}

.trust__topics a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  color: rgb(252 251 248 / 0.72);
  color: color-mix(in srgb, var(--porcelain) 72%, transparent);
}

.trust__topics a > .icon:first-child {
  font-size: 20px;
  color: var(--coral-bright);
}

.trust__topics strong {
  display: block;
  font-size: 16px;
  line-height: 24px;
  color: var(--porcelain);
}

.trust__topics span {
  flex: 1;
}

.trust__arrow {
  font-size: 20px;
  color: var(--porcelain);
  transition: transform 0.25s var(--ease);
}

.trust__topics a:hover .trust__arrow,
.trust__topics a:focus-visible .trust__arrow {
  transform: translateX(4px);
}

.trust__topics a:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trust :focus-visible {
  outline-color: var(--coral-bright);
}

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

.closing {
  background: var(--sage-tint);
}

.closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 416px);
  gap: 48px 64px;
  align-items: center;
  padding-block: 72px;
}

.closing__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.closing__body {
  font-size: 18px;
  line-height: 27px;
  color: var(--text-2);
}

.closing__art {
  position: relative;
}

.steam {
  position: absolute;
  left: 17.5%;
  top: -15%;
  width: 12%;
  height: 22%;
  pointer-events: none;
}

.steam i {
  position: absolute;
  bottom: 0;
  left: calc(var(--i) * 30%);
  width: 3px;
  height: 60%;
  border-radius: 3px;
  background: linear-gradient(to top, transparent, color-mix(in srgb, var(--ink) 18%, transparent), transparent);
  opacity: 0;
}

.steam i:nth-child(1) { --i: 0.4; }
.steam i:nth-child(2) { --i: 1.3; animation-delay: 1.4s !important; }
.steam i:nth-child(3) { --i: 2.2; animation-delay: 2.8s !important; }

.closing__art.is-in .steam i {
  animation: steam 4.2s ease-in-out infinite;
}

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

.site-footer {
  padding-block: 48px;
  background: var(--porcelain);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
  margin-bottom: 24px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 15px;
  color: var(--text-2);
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__fine {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-2);
}

.site-footer__fine + .site-footer__fine {
  margin-top: 12px;
}

/* ---------- Video dialog ---------- */

.video-dialog {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  color: var(--porcelain);
  overflow: hidden;
}

.video-dialog::backdrop {
  background: rgb(36 41 40 / 0.72);
  backdrop-filter: blur(4px);
}

.video-dialog[open] {
  animation: dialog-in 0.35s var(--ease);
}

.video-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 20px;
}

.video-dialog__title {
  font-size: 16px;
  font-weight: 700;
}

.video-dialog__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--porcelain);
  font-size: 22px;
  cursor: pointer;
}

.video-dialog__close:hover {
  background: rgb(255 255 255 / 0.1);
}

.video-dialog video {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 100px);
  background: #000;
}

/* ---------- Motion: plays once on reveal; JS adds .is-in ---------- */

.js [data-anim] .a-item,
.js [data-anim] .a-reply,
.js [data-anim] .a-drop,
.js [data-anim] .a-save,
.js .ocard[data-anim] .a-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-anim] .a-drop {
  transform: translateY(-18px) scale(0.98);
}

.js [data-anim] .a-save {
  transform: translateY(24px) scale(0.97);
}

.js [data-anim] .vcard::before {
  transform: translate(calc(-1 * var(--slab)), calc(-1 * var(--slab)));
}

.js [data-anim] .reply__text {
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 750ms);
}

.typing {
  position: absolute;
  left: 16px;
  top: 16px;
  display: none;
  gap: 4px;
}

.js [data-anim] .typing {
  display: flex;
  opacity: 0;
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-2);
  animation: bob 0.9s ease-in-out infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

.js [data-anim] .a-check .circle {
  background: transparent;
  border-color: #7d837f;
  transition: background-color 0.3s var(--ease), border-color 0.3s;
  transition-delay: 1100ms;
}

.js [data-anim] .a-check .circle .icon {
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s, transform 0.4s var(--ease);
  transition-delay: 1150ms;
}

/* Revealed state */

.js [data-anim].is-in .a-item,
.js [data-anim].is-in .a-reply,
.js [data-anim].is-in .a-drop,
.js [data-anim].is-in .a-save,
.js .ocard[data-anim].is-in .a-item {
  opacity: 1;
  transform: none;
}

.js [data-anim].is-in .vcard::before {
  transform: none;
  transition-delay: calc(var(--d, 0ms) + 150ms);
}

.js [data-anim].is-in .reply__text {
  opacity: 1;
}

.js [data-anim].is-in .typing {
  animation: typing-show 0.8s var(--d, 0ms) both;
}

.js [data-anim].is-in .a-check .circle {
  background: var(--plans);
  border-color: var(--plans);
}

.js [data-anim].is-in .a-check .circle .icon {
  opacity: 1;
  transform: none;
}

/* The bundle's rows tick off one after another. */
.js [data-anim] .bundle__rows .a-check .circle {
  transition-delay: var(--cd, 1100ms);
}

.js [data-anim] .bundle__rows .a-check .circle .icon {
  transition-delay: calc(var(--cd, 1100ms) + 50ms);
}

.js [data-anim].is-in .bundle__rows .a-check .circle {
  background: var(--success-strong);
  border-color: var(--success-strong);
}

.js [data-anim].is-in .a-pulse {
  animation: pulse 1.4s var(--d, 0ms) var(--ease) both;
}

.js [data-anim].is-in .map__pin--drop {
  animation: pin-drop 0.6s 0.55s var(--ease) both;
}

@keyframes typing-show {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-3px); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { background: transparent; }
  35% { background: color-mix(in srgb, var(--sky) 45%, transparent); }
}

@keyframes pin-drop {
  0% { transform: translate(-50%, -160%); opacity: 0; }
  60% { transform: translate(-50%, -92%); opacity: 1; }
  100% { transform: translate(-50%, -100%); }
}

@keyframes dot-pop {
  50% { transform: scale(1.35); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
}

@keyframes steam {
  0% { opacity: 0; transform: translateY(10%) scaleY(0.7); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-45%) scaleY(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-anim] .a-item,
  .js [data-anim] .a-reply,
  .js [data-anim] .a-drop,
  .js [data-anim] .a-save,
  .js [data-anim] .reply__text {
    opacity: 1;
    transform: none;
  }

  .js [data-anim] .vcard::before {
    transform: none;
  }

  .js [data-anim] .typing {
    display: none;
  }

  .js [data-anim] .a-check .circle {
    background: var(--plans);
    border-color: var(--plans);
  }

  .js [data-anim] .a-check .circle .icon {
    opacity: 1;
    transform: none;
  }

  .js .timeline__fill {
    transform: scaleY(1);
  }

  .stop__dot {
    background: var(--coral-bright);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 32px;
  }

  .hero__art {
    justify-self: center;
  }

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

  .ocard--handbook {
    grid-column: 1 / -1;
  }

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

  .family__copy,
  .family__art {
    grid-column: 1;
    grid-row: auto;
  }

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

  .closing__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  }
}

@media (max-width: 1180px) {
  .stop {
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  }

  .vcard__face {
    padding: 20px;
  }
}

@media (max-width: 860px) {
  .timeline {
    gap: 56px;
    padding-left: 36px;
  }

  .timeline__line {
    left: 7px;
    margin-left: 0;
  }

  .stop,
  .stop--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .stop__copy,
  .stop--flip .stop__copy,
  .stop__screen,
  .stop--flip .stop__screen {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
  }

  .stop__screen {
    max-width: 440px;
  }

  .stop__dot {
    position: absolute;
    left: -36px;
    top: 10px;
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .hero__actions .btn {
    width: 100%;
  }

  .hero__ask {
    width: 94%;
  }

  /* Give the bundle's rows the width on phones. */
  .hero__ask .vcard__face {
    padding: 16px;
  }

  .hero__ask .reply__avatar {
    display: none;
  }

  .bundle__rows li {
    gap: 8px;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 18px;
  }

  .bundle__icon {
    width: 24px;
    height: 24px;
  }

  .hero__saved {
    width: 82%;
  }

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

  .day {
    padding-block: 56px;
  }

  .day__intro {
    align-items: flex-start;
    text-align: left;
  }

  .day__desc {
    font-size: 18px;
    line-height: 27px;
  }

  .day__disclosure {
    text-align: left;
  }

  .stop__time {
    font-size: 24px;
    line-height: 32px;
  }

  .vcard__face {
    padding: 18px;
  }

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

  .closing__copy .btn {
    width: 100%;
  }

  .family,
  .overview,
  .trust__inner,
  .closing__inner {
    padding-block: 56px;
  }
}

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

  .suggest__actions .fake-btn {
    min-height: 44px;
  }
}
