/* First Session — "Kitchen Table" (brand guidelines v1) */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/fonts/caveat-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/fonts/caveat-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f0e6;
  --paper-bright: #fbf8f2;
  --navy: #1f2a44;
  --navy-soft: #3a4560;
  --terracotta: #c2603d;
  --terracotta-deep: #a94e2f;
  --oak: #d9c7a7;
  --oak-soft: #ebe1cd;
  --sage: #7a8b74;

  --serif: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --wide: 1240px;
  --measure: 34em;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --shadow-card: 0 1px 2px rgba(31, 42, 68, 0.08), 0 18px 40px -18px rgba(31, 42, 68, 0.35);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) {
  body {
    font-size: 1.25rem; /* 20px */
  }
}

::selection {
  background: var(--navy);
  color: var(--paper);
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--terracotta);
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

.on-navy :focus-visible {
  outline-color: var(--paper);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--navy);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 60px;
  padding: 0.7em 1.6em;
  border-radius: 999px;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}
.btn:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--terracotta-deep);
  }
}
/* the main buy button: label, crossed-out full price, gift price, arrow */
.btn--buy {
  min-height: 68px;
  padding: 8px 8px 8px 30px;
  gap: 18px;
  font-size: 1.3125rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 14px 26px -14px rgba(169, 78, 47, 0.75);
}
.btn--buy {
  position: relative;
}
.btn-badge {
  position: absolute;
  top: -19px;
  left: -8px;
  padding: 0.2em 0.75em;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 0 0 3px var(--paper);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: rotate(-5deg);
}
.on-navy .btn-badge {
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 0 0 3px var(--navy);
}
.closing .btn-badge {
  box-shadow: 0 0 0 3px var(--oak-soft);
}
.hero .cta {
  margin-top: 44px;
}
.btn-label {
  letter-spacing: -0.005em;
}
.btn-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.btn-price s {
  font-size: 0.82em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration-thickness: 1.5px;
}
.btn-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--terracotta-deep);
  transition: transform 260ms var(--ease-out);
}
.btn-arrow svg {
  width: 24px;
  height: 24px;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn--buy:hover .btn-arrow svg {
    transform: translateX(3px);
  }
}
.btn-label {
  white-space: nowrap;
}
@media (max-width: 440px) {
  .btn--buy {
    width: 100%;
    justify-content: space-between;
    min-height: 62px;
    padding: 7px 7px 7px 20px;
    gap: 8px;
    font-size: 1.0625rem;
  }
  .btn-label {
    text-align: left;
    flex: 1;
  }
  .btn-price {
    gap: 0.35em;
  }
  .btn-arrow {
    width: 46px;
    height: 46px;
  }
}
.save-chip {
  display: inline-block;
  margin-right: 0.45em;
  padding: 0.18em 0.7em;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  vertical-align: 0.06em;
}
.save-chip--light {
  background: var(--terracotta);
  color: #fff;
  font-size: 1.125rem;
  margin: 0;
}
.price-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 0.08em;
}
.price-top .price-was {
  margin-bottom: 0;
}
@media (max-width: 350px) {
  .btn--buy .btn-arrow {
    display: none;
  }
  .btn--buy {
    padding-right: 20px;
  }
}
.self-link {
  font-size: 1.0625rem;
}
.price-band .self-link {
  margin-top: 18px;
  color: var(--oak);
}
.price-band .self-link a {
  color: var(--paper);
}
.price-band .btn--buy {
  margin-top: 32px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}
.closing .self-link {
  margin-top: 8px;
}
.buybar-text s {
  font-family: var(--sans);
  font-size: 0.8em;
  font-weight: 500;
  margin-left: 0.3em;
}
.btn--small .btn-price {
  margin-left: 0.2em;
}
.btn--small {
  white-space: nowrap;
  min-height: 48px;
  padding: 0.5em 1.2em;
  font-size: 1.125rem;
}
.btn .price {
  font-variant-numeric: tabular-nums;
}
.btn .sep {
  width: 1px;
  align-self: stretch;
  margin-block: 0.15em;
  background: rgba(255, 255, 255, 0.5);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--oak);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.logo svg {
  width: 38px;
  height: auto;
  flex: none;
}

.nav {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 1.125rem;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  padding-block: 8px;
}
.nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
}
@media (min-width: 980px) {
  .nav {
    display: flex;
  }
}
.site-header .btn {
  display: none;
}
@media (min-width: 620px) {
  .site-header .btn {
    display: inline-flex;
  }
}

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

.hero {
  padding-block: clamp(28px, 5vw, 72px) clamp(56px, 8vw, 120px);
  overflow: clip;
}
.hero .wrap {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero .lede {
  margin-top: 28px;
  font-size: clamp(1.25rem, 1.6vw, 1.4375rem);
  line-height: 1.5;
  max-width: 27em;
}
.hero .cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero .cta-note {
  font-size: 1.125rem;
  color: var(--navy);
}

.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 46% 50%;
  border-radius: 16px;
  background: var(--oak);
}
@media (min-width: 980px) {
  .hero-photo {
    margin-right: calc(var(--gutter) * -1);
  }
  .hero-photo img {
    aspect-ratio: 7 / 6;
    border-radius: 16px 0 0 16px;
  }
}
@media (min-width: 1500px) {
  .hero-photo {
    margin-right: calc((100vw - var(--wide)) / -2);
  }
}

/* ---------- Section basics ---------- */

.section {
  padding-block: clamp(72px, 10vw, 144px);
}
.section-head {
  max-width: 22em;
}
.section-head h2,
.h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.section-head p {
  margin-top: 20px;
  max-width: var(--measure);
}

/* ---------- The journey ---------- */

.journey {
  padding-top: 0;
}
.journey-list {
  list-style: none;
  margin: clamp(48px, 7vw, 96px) 0 0;
  padding: 0;
  position: relative;
}

/* the thread that runs from today to her first lesson */
.journey-list::before,
.journey-list::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
}
.journey-list::before {
  background: var(--oak);
}
.journey-list::after {
  background: var(--navy);
  transform-origin: top;
  transform: scaleY(1);
}
@media (min-width: 980px) {
  .journey-list::before,
  .journey-list::after {
    left: 15px;
  }
}

.scene {
  position: relative;
  padding-left: 48px;
  padding-bottom: clamp(72px, 9vw, 128px);
}
.scene:last-child {
  padding-bottom: 0;
}
@media (min-width: 980px) {
  .scene {
    padding-left: 88px;
  }
}

.scene-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--navy);
  display: grid;
  place-items: center;
}
.scene-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}
@media (min-width: 980px) {
  .scene-dot {
    width: 32px;
    height: 32px;
    top: 4px;
  }
  .scene-dot::after {
    width: 14px;
    height: 14px;
  }
}

.scene-when {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.scene h3 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  max-width: 18em;
}
.scene-text {
  margin-top: 18px;
  max-width: var(--measure);
}
.scene-text + .scene-text {
  margin-top: 14px;
}

.scene-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 980px) {
  .scene-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

.checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.checks svg {
  width: 26px;
  height: 26px;
  margin-top: 0.18em;
  color: var(--sage);
}

/* receipt: the one thing you do today */
.receipt {
  background: var(--paper-bright);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 36px);
  max-width: 460px;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px dashed var(--oak);
}
.receipt-row:first-child {
  padding-top: 0;
}
.receipt-row:last-of-type {
  border-bottom: 0;
}
.receipt-row dt {
  font-weight: 500;
}
.receipt-row dd {
  white-space: nowrap;
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.receipt dl {
  margin: 0;
}
.receipt-total {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 2px solid var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
}
.receipt-total span:last-child {
  font-size: 2.25rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- Gift card maker ---------- */

.cardmaker {
  margin-top: clamp(32px, 4vw, 48px);
  background: var(--oak-soft);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 56px);
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 980px) {
  .cardmaker {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  }
}

.cardmaker-form {
  display: grid;
  gap: 20px;
}
.cardmaker-form h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-weight: 600;
  font-size: 1.0625rem;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.1875rem;
  color: var(--navy);
  background: var(--paper-bright);
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 12px 14px;
  caret-color: var(--terracotta);
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.45;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #5b6478;
  opacity: 1;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline-offset: 2px;
  border-radius: 10px;
}
.cardmaker-note {
  font-size: 1.0625rem;
}

.card-stage {
  position: relative;
  padding: 4px;
}
.giftcard {
  position: relative;
  background: var(--paper-bright);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: clamp(22px, 3.4vw, 44px);
  aspect-ratio: 7 / 5;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  container-type: inline-size;
  transform: rotate(-1.2deg);
  transform-origin: 50% 60%;
}
.giftcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.giftcard .logo {
  font-size: clamp(0.95rem, 4cqi, 1.25rem);
  gap: 0.5em;
}
.giftcard .logo svg {
  width: 1.7em;
}
.giftcard-sample {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.giftcard-body {
  align-self: center;
  min-width: 0;
}
.giftcard-for {
  font-size: clamp(0.95rem, 3.4cqi, 1.125rem);
  font-weight: 500;
}
.giftcard-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 9.5cqi, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  margin-top: 2px;
}
.giftcard-message {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.95rem, 3.6cqi, 1.1875rem);
  line-height: 1.45;
  margin-top: 0.7em;
  max-width: 24em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.giftcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  font-size: clamp(0.875rem, 3.2cqi, 1.0625rem);
}
.giftcard-from {
  min-width: 0;
  overflow-wrap: anywhere;
}
.giftcard-from strong {
  font-weight: 700;
}
.giftcard-code {
  flex: none;
  border: 1.5px dashed var(--navy);
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 560px) {
  .cardmaker {
    margin-inline: -28px 0;
    padding: 20px 16px 28px;
  }
  .giftcard {
    aspect-ratio: auto;
    min-height: 250px;
    padding: 20px;
    gap: 18px;
  }
  .giftcard-sample {
    font-size: 0.75rem;
    padding: 2px 8px;
  }
  .giftcard-code {
    padding: 5px 9px;
    font-size: 0.8125rem;
  }
}

/* ---------- Lesson preview ---------- */

.lesson {
  margin: 0;
}
.lesson-screen {
  background: var(--paper-bright);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.lesson-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--oak);
}
.lesson-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--oak);
}
.lesson-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.lesson figcaption {
  margin-top: 14px;
  font-size: 1.0625rem;
}

/* ---------- What's included ---------- */

.included .wrap {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
}
@media (min-width: 980px) {
  .included .wrap {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
  }
  .included .section-head {
    position: sticky;
    top: 120px;
  }
}
.included-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.included-list li {
  padding-block: 28px;
  border-top: 1px solid var(--oak);
}
.included-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.included-list h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}
.included-list p {
  margin-top: 10px;
  max-width: var(--measure);
}

/* ---------- Price ---------- */

.price-band {
  background: var(--navy);
  color: var(--paper);
}
.price-band ::selection {
  background: var(--paper);
  color: var(--navy);
}
.price-band .wrap {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (min-width: 980px) {
  .price-band .wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}
.price-figure {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(6rem, 17vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums;
}
.price-was {
  display: block;
  font-size: 0.3em;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--oak);
  text-decoration: line-through;
  text-decoration-thickness: 0.07em;
  margin-bottom: 0.25em;
}
.price-line {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.price-line + p {
  margin-top: 20px;
}
.price-band p + p {
  margin-top: 18px;
}
.price-band .muted {
  color: var(--oak);
  max-width: var(--measure);
}
.price-band .btn {
  margin-top: 32px;
}
.promise {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(217, 199, 167, 0.4);
  max-width: var(--measure);
}
.promise strong {
  color: var(--paper);
}

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

.faq .wrap {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
}
@media (min-width: 980px) {
  .faq .wrap {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    align-items: start;
  }
}
.faq-list {
  border-top: 1px solid var(--oak);
}
.faq-list details {
  border-bottom: 1px solid var(--oak);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 20px;
  align-items: center;
  padding-block: 24px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  width: 28px;
  height: 28px;
  transition: transform 220ms var(--ease-out);
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-answer {
  padding-bottom: 28px;
  max-width: var(--measure);
}
.faq-answer p + p {
  margin-top: 14px;
}

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

.closing {
  background: var(--oak-soft);
}
/* The last word on the page: one centred column, no picture. */
.closing .wrap {
  text-align: center;
}
.closing p {
  margin-top: 20px;
  max-width: 28em;
  margin-inline: auto;
}
.closing .btn {
  margin-top: 32px;
}
.closing .cta-note {
  margin-top: 16px;
  font-size: 1.125rem;
}

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

.site-footer {
  background: var(--navy);
  color: var(--oak);
  padding-block: 56px 112px;
  font-size: 1.125rem;
}
.site-footer ::selection {
  background: var(--paper);
  color: var(--navy);
}
@media (min-width: 620px) {
  .site-footer {
    padding-bottom: 56px;
  }
}
.site-footer .wrap {
  display: grid;
  gap: 32px;
}
@media (min-width: 880px) {
  .site-footer .wrap {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}
.footer-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--paper);
}
.site-footer p {
  margin-top: 12px;
  max-width: 30em;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  align-content: start;
}
.footer-links a {
  display: inline-block;
  padding-block: 8px;
  color: var(--paper);
}
.footer-small {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(217, 199, 167, 0.3);
  font-size: 1rem;
}
.footer-small p {
  max-width: 52em;
  margin-top: 0;
}
.footer-small p + p {
  margin-top: 10px;
}

/* ---------- Mobile buy bar ---------- */

.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--paper);
  border-top: 1px solid var(--oak);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(110%);
  transition: transform 320ms var(--ease-out);
}
.buybar.is-on {
  transform: translateY(0);
}
.buybar-text {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 500;
}
.buybar-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
}
@media (min-width: 620px) {
  .buybar {
    display: none;
  }
}

/* ---------- Document pages (refunds, terms, privacy, contact) ---------- */

.doc {
  padding-block: clamp(40px, 6vw, 88px) clamp(72px, 10vw, 128px);
}
.doc-inner {
  max-width: 40em;
}
.doc-inner--center {
  margin-inline: auto;
}
.doc h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.doc .updated {
  margin-top: 16px;
  font-size: 1.0625rem;
}
.doc h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  margin-top: 56px;
}
.doc p,
.doc ul {
  margin-top: 16px;
}
.doc ul {
  padding-left: 1.2em;
}
.doc li + li {
  margin-top: 8px;
}
.doc .lede {
  font-size: 1.375rem;
  line-height: 1.5;
  margin-top: 24px;
}
.doc .back {
  display: inline-block;
  margin-top: 56px;
  font-weight: 600;
}
.callout {
  margin-top: 28px;
  background: var(--oak-soft);
  border-radius: 14px;
  padding: 24px 28px;
}
.callout p:first-child {
  margin-top: 0;
}

/* ---------- Motion ----------
   Everything is visible by default. Motion is only added when JavaScript is
   running and the visitor has not asked for reduced motion. */

@media (prefers-reduced-motion: no-preference) {
  .js .hero-photo img {
    animation: settle 1100ms var(--ease-out) both;
  }
  @keyframes settle {
    from {
      opacity: 0;
      transform: scale(1.035);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* the thread draws itself as you read down the journey */
  @supports (animation-timeline: view()) {
    .js .journey-list::after {
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 35% exit 55%;
    }
    @keyframes draw {
      from {
        transform: scaleY(0);
      }
      to {
        transform: scaleY(1);
      }
    }
  }

  .js .scene-dot::after {
    transform: scale(0);
    transition: transform 520ms var(--ease-out) 120ms;
  }
  .js .scene.is-in .scene-dot::after {
    transform: scale(1);
  }

  /* the gift card comes out of the printer, then settles on the table */
  .js .giftcard {
    clip-path: inset(0 0 100% 0 round 12px);
    transform: translateY(-28px) rotate(0deg);
    transition: clip-path 1300ms var(--ease-in-out), transform 1300ms var(--ease-in-out);
  }
  .js .cardmaker.is-in .giftcard {
    clip-path: inset(-60px -60px -80px -60px round 12px);
    transform: translateY(0) rotate(-1.2deg);
  }
  .js .giftcard-body,
  .js .giftcard-foot {
    opacity: 0;
    transition: opacity 600ms ease 900ms;
  }
  .js .cardmaker.is-in .giftcard-body,
  .js .cardmaker.is-in .giftcard-foot {
    opacity: 1;
  }
  .js .cardmaker.is-in .giftcard-foot {
    transition-delay: 1150ms;
  }

  .giftcard-name.is-typing::after {
    content: "";
    display: inline-block;
    width: 0.06em;
    height: 0.9em;
    margin-left: 0.06em;
    vertical-align: -0.06em;
    background: var(--terracotta);
    animation: caret 900ms steps(1) infinite;
  }
  @keyframes caret {
    50% {
      opacity: 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .buybar,
  .btn,
  .faq-list summary svg {
    transition: none;
  }
}

@media print {
  .site-header,
  .buybar,
  .site-footer {
    display: none;
  }
}

/* =====================================================================
   Hero with the phone, the "who is it for" choice, trust row, questions
   ===================================================================== */

@media (min-width: 980px) {
  .hero .wrap:first-child {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}
.hero {
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
}
.hero-for {
  margin-top: 0.35em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.15;
  color: var(--terracotta);
  overflow-wrap: anywhere;
}
.hero .lede {
  margin-top: 24px;
}

.who-pick {
  margin-top: 32px;
}
.who-pick-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  min-height: 48px;
  padding: 0.35em 1.15em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--navy);
  color: var(--navy);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.chip:active {
  transform: scale(0.97);
}
.chip[aria-pressed="true"] {
  background: var(--navy);
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .chip[aria-pressed="false"]:hover {
    background: var(--oak-soft);
  }
}
.chip-input input {
  height: 48px;
  width: 11.5em;
  max-width: 100%;
  padding: 0 1.15em;
  border: 0;
  border-radius: 999px;
  background: var(--paper-bright);
  box-shadow: inset 0 0 0 2px var(--oak);
  color: var(--navy);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  caret-color: var(--terracotta);
}
.chip-input input::placeholder {
  color: #5b6478;
  font-weight: 500;
  opacity: 1;
}
.chip-input input:focus-visible,
.chip-input input:not(:placeholder-shown) {
  box-shadow: inset 0 0 0 2px var(--navy);
}
.chip-input input:focus-visible {
  border-radius: 999px;
}
.hero .cta {
  margin-top: 40px;
}

/* ---------- Phone ---------- */

.phone-fig {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.phone {
  width: min(330px, 82vw);
  aspect-ratio: 9 / 18;
  padding: 10px;
  border-radius: 48px;
  background: var(--navy);
  box-shadow: 0 2px 4px rgba(31, 42, 68, 0.2), 0 40px 70px -30px rgba(31, 42, 68, 0.55);
}
@media (min-width: 980px) {
  .phone {
    transform: rotate(2.5deg);
  }
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  background: var(--paper-bright);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.35;
}
.phone-top {
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 22px 0;
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.phone-island {
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: var(--navy);
}
.phone-bars {
  justify-self: end;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.phone-bars i {
  width: 3px;
  border-radius: 1px;
  background: var(--navy);
}
.phone-bars i:nth-child(1) { height: 4px; }
.phone-bars i:nth-child(2) { height: 6px; }
.phone-bars i:nth-child(3) { height: 9px; }
.phone-bars i:nth-child(4) { height: 12px; }

.phone-contact {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 14px 16px 14px;
  border-bottom: 1px solid var(--oak-soft);
  font-size: 0.9375rem;
  font-weight: 600;
}
.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}
.phone-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread {
  position: absolute;
  inset: 138px 0 0 0;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
}
.msg {
  max-width: 86%;
  margin: 0;
  padding: 9px 14px;
  border-radius: 18px;
  background: var(--oak-soft);
  overflow-wrap: anywhere;
}
.msg--in {
  border-bottom-left-radius: 6px;
}
.msg--out {
  align-self: flex-end;
  background: var(--navy);
  color: var(--paper);
  border-bottom-right-radius: 6px;
}
.msg--shot {
  padding: 10px;
  background: var(--paper-bright);
  box-shadow: inset 0 0 0 2px var(--oak);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.875rem;
}
.shot-q {
  margin: 0;
  justify-self: end;
  max-width: 92%;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
}
.shot-a {
  margin: 0;
  padding: 0 2px 2px;
}
.msg-note,
.msg-day {
  align-self: center;
  margin: 0 0 4px;
  font-size: 0.875rem;
  font-weight: 600;
}
.msg-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--terracotta);
  color: var(--terracotta-deep);
}
.msg-note svg {
  width: 15px;
  height: 15px;
}

/* only one thread shows at a time */
.phone[data-state="before"] .thread--after,
.phone[data-state="after"] .thread--before {
  visibility: hidden;
  opacity: 0;
}

.phone-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--oak-soft);
}
.phone-toggle button {
  min-height: 44px;
  padding: 0.3em 1.1em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.phone-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--paper);
}
.phone-fig figcaption {
  font-size: 0.9375rem;
  text-align: center;
}

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

.trust {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--oak);
}
.trust li {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--oak);
  display: grid;
  gap: 2px;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.trust strong {
  font-family: var(--serif);
  font-size: 1.1875rem;
}
@media (min-width: 880px) {
  .trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .trust li {
    padding: 24px 24px 24px 0;
  }
  .trust li + li {
    padding-left: 24px;
    border-left: 1px solid var(--oak);
  }
}

/* ---------- Everyone has a first question ---------- */

.who {
  padding-top: clamp(64px, 8vw, 112px);
}
.who .section-head {
  max-width: 26em;
}
.questions {
  list-style: none;
  margin: clamp(36px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  column-gap: clamp(24px, 4vw, 56px);
}
@media (min-width: 680px) {
  .questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  .questions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.q {
  width: 100%;
  height: 100%;
  padding: 26px 0 30px;
  border: 0;
  border-top: 2px solid var(--oak);
  background: transparent;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  align-content: space-between;
  gap: 18px;
  transition: border-color 200ms ease;
}
.q-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 2.1vw, 1.625rem);
  line-height: 1.3;
  text-wrap: balance;
}
.q-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.q-name::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--navy);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.q[aria-pressed="true"] {
  border-top-color: var(--navy);
}
.q[aria-pressed="true"] .q-name::before {
  background: var(--terracotta);
  box-shadow: inset 0 0 0 2px var(--terracotta);
}
@media (hover: hover) and (pointer: fine) {
  .q[aria-pressed="false"]:hover {
    border-top-color: var(--navy-soft);
  }
}
.who-line {
  margin-top: clamp(40px, 6vw, 72px);
  max-width: 21em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.625rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ---------- Box photo, now in the "in the box" section ---------- */

.box-photo {
  display: block;
  margin-top: 32px;
}
.box-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 46% 50%;
  border-radius: 16px;
  background: var(--oak);
}

/* ---------- Price countdown ---------- */

.price-figure [data-countdown] {
  font-variant-numeric: tabular-nums lining-nums;
}
.closing h2 [data-person],
.scene h3 [data-person] {
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: no-preference) {
  .js .thread {
    transition: opacity 320ms ease, visibility 0s linear 320ms;
  }
  .js .phone[data-state="after"] .thread--after,
  .js .phone[data-state="before"] .thread--before {
    transition: opacity 320ms ease 200ms, visibility 0s;
  }
  /* the after texts arrive one by one */
  .js .thread--after > * {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out);
  }
  .js .phone[data-state="after"] .thread--after > * {
    opacity: 1;
    transform: translateY(0);
  }
  .js .phone[data-state="after"] .thread--after > :nth-child(2) { transition-delay: 450ms; }
  .js .phone[data-state="after"] .thread--after > :nth-child(3) { transition-delay: 1200ms; }
  .js .phone[data-state="after"] .thread--after > :nth-child(4) { transition-delay: 2100ms; }
  .js .phone[data-state="after"] .thread--after > :nth-child(5) { transition-delay: 2900ms; }

  .js .phone {
    animation: phone-in 900ms var(--ease-out) both;
  }
  @keyframes phone-in {
    from {
      opacity: 0;
      translate: 0 24px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  /* the saving appears once the count has landed */
  .js .price-band .save-chip--light {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 360ms ease, transform 420ms var(--ease-out);
  }
  .js .price-band.is-counted .save-chip--light {
    opacity: 1;
    transform: scale(1);
  }
}

/* =====================================================================
   Trust band, lessons band, three-step panel, card section, price card
   ===================================================================== */

/* ---------- Trust band (navy, with icons) ---------- */

.hero {
  padding-bottom: 0;
}
.trustband {
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--navy);
  color: var(--oak);
}
.hero .trustband .wrap {
  display: block;
}
.trustband .trust {
  margin: 0;
  border-top: 0;
}
.trustband .trust li {
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(217, 199, 167, 0.22);
  font-size: 1rem;
}
.trustband .trust svg {
  width: 28px;
  height: 28px;
  color: var(--terracotta);
  filter: brightness(1.25);
}
.trustband .trust span {
  display: grid;
  gap: 1px;
}
.trustband .trust strong {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--paper);
}
@media (min-width: 880px) {
  .trustband .trust li {
    border-bottom: 0;
    padding-block: 26px;
  }
  .trustband .trust li + li {
    border-left: 1px solid rgba(217, 199, 167, 0.22);
  }
}

/* ---------- Lessons band ---------- */

.lessons {
  background: var(--navy);
  color: var(--oak);
  padding-block: clamp(72px, 9vw, 128px);
}
.lessons ::selection {
  background: var(--paper);
  color: var(--navy);
}
.lessons .wrap {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (min-width: 980px) {
  .lessons .wrap {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}
.lessons h2 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.05;
  color: var(--paper);
}
.lessons-copy > p {
  margin-top: 22px;
  max-width: 30em;
}
.lesson-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgba(217, 199, 167, 0.3);
}
.lesson-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(217, 199, 167, 0.3);
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.1875rem, 1.8vw, 1.375rem);
  line-height: 1.25;
  color: var(--paper);
}
.lesson-tag {
  flex: none;
  padding: 0.25em 0.8em;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--oak);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oak);
}

.lessons .lesson-screen {
  background: #141b2e;
  box-shadow: 0 0 0 1px rgba(217, 199, 167, 0.25), 0 40px 70px -30px rgba(0, 0, 0, 0.7);
  padding: 0 10px 10px;
}
.lesson-bar {
  justify-content: flex-start;
  gap: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.lessons .lesson-bar {
  border-bottom: 0;
  color: var(--paper);
  padding-inline: 6px;
}
.lesson-dots {
  display: inline-flex;
  gap: 7px;
}
.lesson-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--oak);
}
.lessons .lesson-dots i {
  background: #3a4560;
}
.lessons .lesson-shot {
  border-radius: 8px;
}
.lessons .lesson figcaption {
  margin-top: 16px;
  color: var(--oak);
}
.btn--play {
  margin-top: 22px;
  border: 0;
  cursor: pointer;
  padding-left: 10px;
  gap: 14px;
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.8);
}
.play-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--terracotta-deep);
}
.play-dot svg {
  width: 22px;
  height: 22px;
}

/* ---------- Three steps ---------- */

.how .section-head {
  max-width: 26em;
}
.stepper {
  margin-top: clamp(32px, 5vw, 56px);
  background: var(--navy);
  color: var(--oak);
  border-radius: 20px;
  padding: clamp(20px, 3.4vw, 44px);
  box-shadow: 0 40px 70px -40px rgba(31, 42, 68, 0.6);
}
.stepper ::selection {
  background: var(--paper);
  color: var(--navy);
}
.stepper-top {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stepper-progress {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stepper-progress li {
  display: grid;
  gap: 10px;
  color: rgba(217, 199, 167, 0.75);
}
.stepper-progress li.is-active,
.stepper-progress li.is-done {
  color: var(--paper);
}
.stepper-progress span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stepper-progress i {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: rgba(217, 199, 167, 0.25);
  overflow: hidden;
}
.stepper-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--terracotta);
  filter: brightness(1.2);
  transform: scaleX(0);
  transform-origin: left;
}
.stepper-progress li.is-done i::after,
.stepper-progress li.is-active i::after {
  transform: scaleX(1);
}
.stepper-pause {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(217, 199, 167, 0.5);
  color: var(--paper);
  cursor: pointer;
}
.stepper-pause svg {
  width: 22px;
  height: 22px;
}
.stepper-pause .i-play,
.stepper-pause[aria-pressed="true"] .i-pause {
  display: none;
}
.stepper-pause[aria-pressed="true"] .i-play {
  display: block;
}
.stepper:not(.is-auto) .stepper-pause {
  visibility: hidden;
}

.stepper-body {
  margin-top: clamp(20px, 3vw, 36px);
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
@media (min-width: 980px) {
  .stepper-body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}
.stepper-steps {
  display: grid;
  gap: 6px;
  align-content: start;
}
.step {
  display: grid;
  grid-template-columns: 2.2em 1fr;
  gap: 4px;
  padding: 20px 22px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 0.6;
  transition: background-color 220ms ease, opacity 220ms ease;
}
.step[aria-selected="true"] {
  background: rgba(245, 240, 230, 0.09);
  box-shadow: inset 0 0 0 1px rgba(217, 199, 167, 0.22);
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  .step[aria-selected="false"]:hover {
    opacity: 0.85;
  }
}
.step-num {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--terracotta);
  filter: brightness(1.3);
  padding-top: 0.15em;
}
.step-copy {
  display: grid;
  gap: 4px;
}
.step-when {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.step-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.step-text {
  font-size: 1.0625rem;
  line-height: 1.5;
}

.stepper-stage {
  background: var(--paper);
  color: var(--navy);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 40px);
  display: grid;
  place-items: center;
  min-height: 340px;
}
.stage {
  width: 100%;
  display: grid;
  justify-items: center;
}
.stage[hidden] {
  display: none;
}
.stage .receipt {
  width: 100%;
}
.stage .giftcard {
  width: min(100%, 460px);
}
.stage .lesson-screen {
  width: 100%;
  max-width: 520px;
}
.stage .lesson-shot {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* the card in the step panel is a still picture of the one below */
.giftcard.giftcard--static,
.js .giftcard.giftcard--static {
  clip-path: none;
  transform: rotate(-1.2deg);
  transition: none;
}
.js .giftcard--static .giftcard-body,
.js .giftcard--static .giftcard-foot {
  opacity: 1;
  transition: none;
}

/* ---------- Card section ---------- */

.cardsec {
  padding-top: 0;
}
.cardsec .section-head {
  max-width: 26em;
}

/* ---------- Price card ---------- */

.price {
  padding-top: 0;
}
.price-card {
  display: grid;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-bright);
  box-shadow: 0 1px 2px rgba(31, 42, 68, 0.08), 0 40px 70px -40px rgba(31, 42, 68, 0.5);
}
@media (min-width: 900px) {
  .price-card {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}
.price-wrap {
  position: relative;
  background: var(--navy);
  color: var(--oak);
  padding: clamp(96px, 11vw, 150px) clamp(24px, 4vw, 48px) clamp(40px, 5vw, 64px);
  padding-left: clamp(96px, 12vw, 150px);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  overflow: hidden;
}
.ribbon {
  position: absolute;
  background: var(--terracotta);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.ribbon--v {
  top: 0;
  bottom: 0;
  left: clamp(40px, 6vw, 64px);
  width: clamp(22px, 2.6vw, 30px);
}
.ribbon--h {
  left: 0;
  right: 0;
  top: clamp(46px, 6vw, 68px);
  height: clamp(22px, 2.6vw, 30px);
}
.bow {
  position: absolute;
  left: clamp(40px, 6vw, 64px);
  top: clamp(46px, 6vw, 68px);
  width: clamp(88px, 10vw, 118px);
  transform: translate(calc(-50% + clamp(11px, 1.3vw, 15px)), calc(-38% + clamp(11px, 1.3vw, 15px)));
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}
.price-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oak);
}
.price-old {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1;
  color: var(--oak);
}
.price-old s {
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 3px;
}
.price-card .price-figure {
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.06em;
  font-size: clamp(6.5rem, 15vw, 11rem);
  line-height: 0.95;
  color: var(--paper);
}
.price-cur {
  font-size: 0.42em;
  line-height: 1.5;
  color: var(--terracotta);
}
.price-save {
  margin-top: 18px;
}
.price-save span {
  display: inline-block;
  padding: 0.5em 1.2em;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 600;
  font-size: 1.0625rem;
}
.price-save strong {
  color: var(--terracotta-deep);
}
.price-once {
  margin-top: 16px;
  font-size: 1rem;
}
.price-info {
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  align-content: center;
  justify-items: start;
}
.checks--price {
  margin-top: 28px;
  gap: 14px;
}
.checks--price svg {
  padding: 4px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  stroke-width: 3.2;
}
.price-info .btn--buy {
  margin-top: 36px;
  max-width: 100%;
}
.btn--person .btn-label {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
.price-small {
  margin-top: 18px;
  font-size: 1.0625rem;
}
.price-small a {
  font-weight: 600;
}
.price-info .self-link {
  margin-top: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  /* the bar of the current step fills while it is on screen */
  .js .stepper.is-auto .stepper-progress li.is-active i::after {
    animation: step-fill 6500ms linear both;
  }
  .js .stepper.is-auto.is-paused .stepper-progress li.is-active i::after,
  .js .stepper.is-auto.is-offscreen .stepper-progress li.is-active i::after {
    animation-play-state: paused;
  }
  @keyframes step-fill {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  .js .stage.is-active {
    animation: stage-in 480ms var(--ease-out) both;
  }
  @keyframes stage-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .js .price-save span {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 360ms ease, transform 420ms var(--ease-out);
  }
  .js .price-card.is-counted .price-save span {
    opacity: 1;
    transform: scale(1);
  }
}

/* small-screen fixes for the new blocks */
@media (max-width: 640px) {
  .stepper-progress span {
    display: none;
  }
  .cardsec .cardmaker {
    margin-inline: 0;
  }
}

/* ---------- Snow behind the hero ---------- */

.hero {
  position: relative;
}
.hero > .wrap,
.hero > .trustband {
  position: relative;
  z-index: 1;
}
.snow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.snow i {
  position: absolute;
  top: -12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(217, 199, 167, 0.9), 0 1px 3px rgba(31, 42, 68, 0.12);
  animation: snowfall linear infinite;
  will-change: transform;
}
.snow.is-paused i {
  animation-play-state: paused;
}
@keyframes snowfall {
  from {
    transform: translate3d(0, -20px, 0);
  }
  to {
    transform: translate3d(var(--drift, 0px), 900px, 0);
  }
}
@media (max-width: 979px) {
  @keyframes snowfall {
    from {
      transform: translate3d(0, -20px, 0);
    }
    to {
      transform: translate3d(var(--drift, 0px), 1700px, 0);
    }
  }
}

/* ---------- Night hero: the same dark ground as the demo ---------- */

.hero--night {
  background: var(--navy);
  color: var(--oak);
}
.hero--night ::selection {
  background: var(--paper);
  color: var(--navy);
}
.hero--night h1,
.hero--night .lede {
  color: var(--paper);
}
.hero--night .who-pick-label,
.hero--night .cta-note,
.hero--night .self-link,
.hero--night .phone-fig figcaption {
  color: var(--oak);
}
.hero--night .self-link a {
  color: var(--paper);
}
.hero--night .chip {
  box-shadow: inset 0 0 0 2px rgba(217, 199, 167, 0.7);
  color: var(--paper);
}
.hero--night .chip[aria-pressed="true"] {
  background: var(--paper);
  box-shadow: inset 0 0 0 2px var(--paper);
  color: var(--navy);
}
@media (hover: hover) and (pointer: fine) {
  .hero--night .chip[aria-pressed="false"]:hover {
    background: rgba(245, 240, 230, 0.12);
  }
}
.hero--night .chip-input input {
  background: rgba(245, 240, 230, 0.08);
  box-shadow: inset 0 0 0 2px rgba(217, 199, 167, 0.45);
  color: var(--paper);
}
.hero--night .chip-input input::placeholder {
  color: var(--oak);
}
.hero--night .chip-input input:focus-visible,
.hero--night .chip-input input:not(:placeholder-shown) {
  box-shadow: inset 0 0 0 2px var(--paper);
}
.hero--night .btn--buy {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 18px 30px -16px rgba(0, 0, 0, 0.7);
}
.hero--night .phone {
  background: #0e1424;
  box-shadow: 0 0 0 1.5px rgba(217, 199, 167, 0.4), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.hero--night .phone-screen {
  color: var(--navy);
}
.hero--night .phone-toggle {
  background: rgba(245, 240, 230, 0.12);
}
.hero--night .phone-toggle button {
  color: var(--paper);
}
.hero--night .phone-toggle button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--navy);
}
.hero--night .trustband {
  background: #161d33;
}
.hero--night .snow i {
  background: #fff;
  box-shadow: none;
}
.hero--night .hero-for {
  color: #e08560;
}

/* ---------- Lesson frame: animated preview, then the real video ---------- */

/* Without JavaScript the real video simply shows. */
.preview {
  display: none;
}
.js [data-lesson-frame]:not(.is-playing) .preview {
  display: block;
}
.js [data-lesson-frame]:not(.is-playing) video {
  display: none;
}

.preview {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  container-type: inline-size;
}
.pv-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: 3.5cqi;
  aspect-ratio: 16 / 9;
  padding: 3.5cqi 3.5cqi 13cqi;
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  font-size: clamp(0.6875rem, 2.5cqi, 1rem);
  line-height: 1.35;
}
.pv-bill {
  align-self: start;
  display: grid;
  padding: 2.6cqi;
  border-radius: 1.6cqi;
  background: #fff;
  box-shadow: 0 1px 2px rgba(31, 42, 68, 0.1), 0 10px 24px -14px rgba(31, 42, 68, 0.35);
}
.pv-bill-head,
.pv-row,
.pv-total {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.pv-bill-head {
  padding-bottom: 1.6cqi;
  border-bottom: 2px solid var(--navy);
  font-size: 1.1em;
}
.pv-row {
  padding-block: 1.3cqi;
  border-bottom: 1px dashed var(--oak);
  font-variant-numeric: tabular-nums;
}
.pv-row--fee {
  position: relative;
  font-weight: 700;
}
.pv-row--fee::after {
  content: "";
  position: absolute;
  inset: 0 -1.4cqi;
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--terracotta);
}
.pv-total {
  padding-top: 1.8cqi;
  font-weight: 700;
  font-size: 1.1em;
  font-variant-numeric: tabular-nums;
}
.pv-chat {
  display: grid;
  align-content: start;
  gap: 1.8cqi;
}
.pv-q,
.pv-a {
  padding: 1.8cqi 2.2cqi;
  border-radius: 1.8cqi;
}
.pv-q {
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
}
.pv-a {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--oak);
}
.pv-caption {
  position: absolute;
  left: 3.5cqi;
  right: 3.5cqi;
  bottom: 3.5cqi;
  display: flex;
  align-items: center;
  gap: 1.8cqi;
  padding: 1.8cqi 2.4cqi;
  border-radius: 1.6cqi;
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
}
.pv-wave {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 1.2em;
}
.pv-wave i {
  width: 2px;
  height: 40%;
  border-radius: 2px;
  background: var(--terracotta);
}
.pv-wave i:nth-child(2) { height: 90%; }
.pv-wave i:nth-child(3) { height: 60%; }
.pv-wave i:nth-child(4) { height: 30%; }
.pv-progress {
  display: block;
  height: 4px;
  margin: 12px 6px 4px;
  border-radius: 4px;
  background: #3a4560;
  overflow: hidden;
}
.pv-progress i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: var(--terracotta);
  transform: scaleX(0.4);
  transform-origin: left;
}
.preview:focus-visible {
  outline-offset: 4px;
  border-radius: 10px;
}

/* ---------- Watch it / read it ---------- */

.formats {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
@media (min-width: 620px) {
  .formats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}
.formats li {
  display: grid;
  gap: 6px;
  align-content: start;
  padding-top: 16px;
  border-top: 2px solid var(--terracotta);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.formats strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
  /* one loop of the preview: the question is typed, the fee is circled,
     the answers arrive, then it starts again */
  .js .pv-q {
    animation: pv-q 11s var(--ease-out) infinite both;
  }
  .js .pv-row--fee::after {
    animation: pv-ring 11s var(--ease-out) infinite both;
  }
  .js .pv-a1 {
    animation: pv-a1 11s var(--ease-out) infinite both;
  }
  .js .pv-a2 {
    animation: pv-a2 11s var(--ease-out) infinite both;
  }
  .js .pv-progress i {
    animation: pv-bar 11s linear infinite both;
  }
  .js .pv-wave i {
    animation: pv-wave 900ms ease-in-out infinite alternate;
  }
  .js .pv-wave i:nth-child(2) { animation-delay: -300ms; }
  .js .pv-wave i:nth-child(3) { animation-delay: -600ms; }
  .js .pv-wave i:nth-child(4) { animation-delay: -150ms; }

  @keyframes pv-q {
    0%, 6% { opacity: 0; transform: translateY(8px); }
    12%, 94% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(0); }
  }
  @keyframes pv-ring {
    0%, 20% { opacity: 0; transform: scale(1.08); }
    27%, 94% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
  }
  @keyframes pv-a1 {
    0%, 36% { opacity: 0; transform: translateY(8px); }
    43%, 94% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(0); }
  }
  @keyframes pv-a2 {
    0%, 58% { opacity: 0; transform: translateY(8px); }
    65%, 94% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(0); }
  }
  @keyframes pv-bar {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
  @keyframes pv-wave {
    from { transform: scaleY(0.5); }
    to { transform: scaleY(1.25); }
  }
}

/* ---------- Type: Bricolage Grotesque headings, Caveat handwriting ---------- */

h1,
h2,
h3 {
  letter-spacing: -0.025em;
}
h1 {
  font-weight: 800;
}
.hero-for,
.q-text,
.giftcard-message {
  font-family: var(--hand);
  font-style: normal;
  font-weight: 700;
}
.hero-for {
  margin-top: 0.2em;
  font-size: clamp(2.75rem, 4.8vw, 4rem);
  line-height: 1;
  transform: rotate(-2deg);
  transform-origin: 0 50%;
}
.q-text {
  font-size: clamp(1.75rem, 2.6vw, 2.125rem);
  line-height: 1.1;
}
.giftcard-message {
  font-size: clamp(1.25rem, 4.8cqi, 1.625rem);
  line-height: 1.2;
}

/* ---------- Who is it for: chips with faces ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 5px 20px 5px 6px;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.chip-face {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 300ms var(--ease-out);
}
.chip[aria-pressed="true"] .chip-face {
  transform: scale(1.06) rotate(-6deg);
}
.hero--night .chip {
  background: rgba(245, 240, 230, 0.07);
  box-shadow: inset 0 0 0 1.5px rgba(245, 240, 230, 0.28);
}
.hero--night .chip[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1.5px var(--paper), 0 16px 28px -16px rgba(0, 0, 0, 0.8);
}
@media (max-width: 620px) {
  .chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .chip {
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 0;
    padding: 10px 2px;
    border-radius: 14px;
    font-size: 0.9375rem;
  }
  .chip-face {
    width: 46px;
    height: 46px;
  }
  .chip-input {
    grid-column: 1 / -1;
  }
  .chip-input input {
    width: 100%;
    border-radius: 14px;
  }
}

/* ---------- Gift button: ribbon, bow and a price tag ---------- */

.btn.btn--gift {
  position: relative;
  overflow: hidden;
  justify-content: flex-start;
  min-height: 68px;
  padding: 0 14px 0 78px;
  gap: 16px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 18px 30px -16px rgba(7, 13, 26, 0.6);
}
.btn.btn--gift::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, var(--terracotta-deep) 0, var(--terracotta) 22%, #d27551 50%, var(--terracotta) 78%, var(--terracotta-deep) 100%);
}
.btn-bow {
  position: absolute;
  left: 11px;
  top: 50%;
  width: 52px;
  height: 36px;
  margin-top: -18px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  transition: transform 300ms var(--ease-out);
}
.btn--gift .btn-price {
  margin-left: auto;
  align-items: center;
  height: 40px;
  padding: 0 13px;
  border-radius: 9px;
  background: rgba(245, 240, 230, 0.16);
  font-weight: 800;
}
.on-navy .btn.btn--gift {
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 24px 40px -18px rgba(0, 0, 0, 0.7);
}
.on-navy .btn--gift .btn-price {
  background: var(--navy);
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .btn.btn--gift:hover {
    background: #17203a;
  }
  .on-navy .btn.btn--gift:hover {
    background: #fff;
  }
  .btn--gift:hover .btn-bow {
    transform: scale(1.08);
  }
}
@media (max-width: 440px) {
  .btn.btn--gift {
    width: 100%;
    min-height: 62px;
    padding: 0 11px 0 72px;
    gap: 10px;
    font-size: 1.125rem;
  }
  .btn.btn--gift::before {
    left: 27px;
  }
  .btn-bow {
    left: 8px;
  }
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}
.was {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.was-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.was s {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #aab3cb;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 3px;
}
.was-off {
  padding: 0.15em 0.65em;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}
.was-note {
  font-size: 1rem;
  font-weight: 500;
  color: var(--oak);
}
.hero .buy-row + .cta-note {
  margin-top: 18px;
}

/* ---------- Phone: the tech-help tally ---------- */

.phone {
  position: relative;
}
.tally {
  position: absolute;
  left: -34px;
  top: 24%;
  z-index: 8;
  width: 158px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 24px 44px -18px rgba(0, 0, 0, 0.7);
}
.tally small {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #5b6478;
}
.tally small i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(194, 96, 61, 0.22);
}
.tally-n {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--terracotta);
  transition: color 600ms ease;
}
.phone[data-state="after"] .tally-n {
  color: var(--navy);
}
.tally-n span {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.tally-n em {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: #5b6478;
}
@media (max-width: 979px) {
  .tally {
    left: -8px;
    top: 15%;
    width: 128px;
    padding: 10px 12px;
  }
  .tally small {
    font-size: 0.6875rem;
    gap: 6px;
  }
  .tally-n {
    font-size: 2.5rem;
    margin-top: 4px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .tally-n span.is-bump {
    animation: tally-bump 450ms var(--ease-out);
  }
  @keyframes tally-bump {
    from { transform: translateY(0.3em) scale(0.8); opacity: 0.2; }
    to { transform: none; opacity: 1; }
  }
}

/* =====================================================================
   Header and hero, taken from the reference demo (Nov 2026).
   Everything is prefixed hx- so the older hero rules above cannot leak in.
   The phone plays a short text conversation on its own: before Christmas
   (missed calls, tech questions), a gift wrap, then after Christmas.
   ===================================================================== */

.hx-nav,
.hx {
  --hx-navy: #1f2a44;
  --hx-navy-d: #141c30;
  --hx-navy-dd: #0e1424;
  --hx-paper: #fbf8f2;
  --hx-terra: #c2603d;
  --hx-terra-l: #eba585;
  --hx-terra-d: #9c4829;
  --hx-mute: #5a6480;
  --hx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- top bar ---------- */

.hx-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 20px 0;
}
.hx-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hx-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hx-paper);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.3125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
/* The way in for people who already have the course, beside the gift button. */
.hx-nav-end {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
}
.hx-signin {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--hx-paper);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: rgb(251 248 242 / 0.45);
  text-underline-offset: 5px;
  white-space: nowrap;
}
.hx-signin:hover {
  text-decoration-color: currentColor;
}
.hx-logo svg {
  width: 30px;
  height: 30px;
  flex: none;
}

/* ---------- gift button: navy/cream box, ribbon, bow, price tag ---------- */

.hx-gift {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 24px 0 74px;
  border-radius: 14px;
  background: var(--hx-paper);
  color: var(--hx-navy);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 24px 40px -18px rgba(0, 0, 0, 0.7);
  transition: transform 300ms var(--hx-ease), box-shadow 300ms var(--hx-ease);
}
.hx-gift::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, var(--hx-terra-d) 0, var(--hx-terra) 22%, #d27551 50%, var(--hx-terra) 78%, var(--hx-terra-d) 100%);
}
.hx-gift::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 900ms var(--hx-ease);
  pointer-events: none;
}
.hx-bow {
  position: absolute;
  left: 11px;
  top: 50%;
  width: 52px;
  height: 36px;
  margin-top: -18px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  transition: transform 400ms var(--hx-ease);
}
.hx-p {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--hx-navy);
  color: var(--hx-paper);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hx-gift:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .hx-gift:hover {
    transform: translateY(-2px);
  }
  .hx-gift:hover::after {
    transform: translateX(120%);
  }
  .hx-gift:hover .hx-bow {
    transform: scale(1.1);
  }
}
.hx-gift--sm {
  min-height: 46px;
  padding: 0 14px 0 50px;
  border-radius: 12px;
  gap: 10px;
  font-size: 1rem;
}
.hx-gift--sm::before {
  left: 20px;
  width: 9px;
}
.hx-gift--sm .hx-bow {
  left: 6px;
  width: 37px;
  height: 26px;
  margin-top: -13px;
}
.hx-gift--sm .hx-p {
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
}

/* ---------- the hero ---------- */

.hx {
  position: relative;
  overflow: hidden;
  padding: 136px 0 0;
  color: var(--hx-paper);
  background:
    radial-gradient(1100px 680px at 80% 42%, #31416b 0%, rgba(49, 65, 107, 0) 62%),
    radial-gradient(900px 600px at 0% 100%, #26335a 0%, rgba(38, 51, 90, 0) 60%),
    linear-gradient(180deg, var(--hx-navy-dd) 0%, var(--hx-navy-d) 40%, var(--hx-navy) 100%);
}
.hx ::selection {
  background: var(--hx-terra);
  color: #fff;
}
.hx-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(245, 240, 230, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 62%, rgba(245, 240, 230, 0.55) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 44% 12%, rgba(245, 240, 230, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 30%, rgba(245, 240, 230, 0.5) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 71% 8%, rgba(245, 240, 230, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 22%, rgba(245, 240, 230, 0.6) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 94% 58%, rgba(245, 240, 230, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 78%, rgba(245, 240, 230, 0.45) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 36% 88%, rgba(245, 240, 230, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 74%, rgba(245, 240, 230, 0.4) 50%, transparent 51%);
}
.hx .snow {
  z-index: 0;
}
.hx .snow i {
  background: rgba(245, 240, 230, 0.75);
  box-shadow: none;
}
.hx-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: 32px;
  align-items: center;
}
.hx-copy {
  padding-bottom: 104px;
}
.hx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(235, 165, 133, 0.3);
  border-radius: 999px;
  background: rgba(194, 96, 61, 0.12);
  color: var(--hx-terra-l);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hx-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--hx-terra);
}
.hx-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: hx-ping 2.2s var(--hx-ease) infinite;
}
@keyframes hx-ping {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(3.2); opacity: 0; }
}
.hx h1 {
  margin: 26px 0 18px;
  color: var(--hx-paper);
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.9rem, 6.1vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hx-u {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hx-u svg {
  position: absolute;
  left: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.26em;
  overflow: visible;
}
.hx-u path {
  fill: none;
  stroke: var(--hx-terra);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: hx-draw 1.1s 0.7s var(--hx-ease) forwards;
}
@keyframes hx-draw {
  to { stroke-dashoffset: 0; }
}
.hx-for {
  margin: 0 0 20px;
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2.75rem, 4.8vw, 4rem);
  line-height: 1;
  color: var(--hx-terra-l);
  rotate: -2deg;
  transform-origin: 0 50%;
  overflow-wrap: anywhere;
}
.hx-swp {
  display: inline-block;
  transition: transform 380ms var(--hx-ease), opacity 300ms;
}
.hx-swp.is-out {
  transform: translateY(-0.3em) rotate(-3deg);
  opacity: 0;
}
.hx-swp.is-pre {
  transform: translateY(0.35em) rotate(3deg);
  opacity: 0;
  transition: none;
}
.hx-sub {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.125rem, 1.55vw, 1.3125rem);
  line-height: 1.5;
  color: #d3d8e6;
}
.hx-sub b {
  color: var(--hx-paper);
  font-weight: 600;
}

/* who is it for */
.hx-pick {
  margin-top: 28px;
}
.hx-pick-label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9da7c2;
}
.hx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hx-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 5px 20px 5px 6px;
  border: 1px solid rgba(245, 240, 230, 0.2);
  border-radius: 999px;
  background: rgba(245, 240, 230, 0.06);
  color: var(--hx-paper);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 300ms var(--hx-ease), color 300ms var(--hx-ease), border-color 300ms var(--hx-ease), transform 300ms var(--hx-ease), box-shadow 300ms var(--hx-ease);
}
.hx-chip img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  transition: transform 400ms var(--hx-ease);
}
.hx-chip:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .hx-chip:hover {
    transform: translateY(-2px);
    background: rgba(245, 240, 230, 0.12);
  }
}
.hx-chip[aria-pressed="true"] {
  background: var(--hx-paper);
  border-color: var(--hx-paper);
  color: var(--hx-navy);
  box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.8);
}
.hx-chip[aria-pressed="true"] img {
  transform: scale(1.06) rotate(-6deg);
}
.hx-name {
  display: block;
  margin-top: 10px;
}
.hx-name input {
  width: 100%;
  max-width: 300px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(245, 240, 230, 0.2);
  border-radius: 999px;
  background: rgba(245, 240, 230, 0.06);
  color: var(--hx-paper);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  caret-color: var(--hx-terra-l);
}
.hx-name input::placeholder {
  color: #aab3cb;
  font-weight: 500;
  opacity: 1;
}
.hx-name input:focus-visible,
.hx-name input:not(:placeholder-shown) {
  border-color: var(--hx-terra-l);
  background: rgba(245, 240, 230, 0.12);
}

/* buy row */
.hx-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 30px;
}
.hx-was {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  line-height: 1.15;
}
.hx-was-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hx-was s {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: #9da7c2;
  text-decoration-color: var(--hx-terra);
  text-decoration-thickness: 3px;
}
.hx-off {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--hx-terra);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.hx-was-note {
  font-size: 0.875rem;
  font-weight: 500;
  color: #b9c1d6;
}
.hx-small {
  margin: 18px 0 0;
  font-size: 0.9375rem;
  color: #b9c1d6;
}
.hx-small a {
  color: var(--hx-paper);
  text-underline-offset: 3px;
}

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .hx-copy > * {
    animation: hx-up 700ms var(--hx-ease) both;
  }
  .hx-copy > :nth-child(2) { animation-delay: 80ms; }
  .hx-copy > :nth-child(3) { animation-delay: 160ms; }
  .hx-copy > :nth-child(4) { animation-delay: 240ms; }
  .hx-copy > :nth-child(5) { animation-delay: 320ms; }
  .hx-copy > :nth-child(n + 6) { animation-delay: 400ms; }
  .hx-stage {
    animation: hx-up 900ms 250ms var(--hx-ease) both;
  }
}
@keyframes hx-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- the stage: phone, tally, handwritten note ---------- */

.hx-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 640px;
}
.hx-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(235, 165, 133, 0.34), rgba(235, 165, 133, 0));
  opacity: 0;
  transition: opacity 1.2s var(--hx-ease);
  pointer-events: none;
}
.hx-stage.is-after .hx-glow {
  opacity: 1;
}
.hx-phone {
  position: relative;
  width: 322px;
  height: 620px;
  margin-bottom: -22px;
  padding: 11px 11px 0;
  border-radius: 48px 48px 0 0;
  background: #0b1020;
  box-shadow: 0 0 0 2px #3a4666, 0 0 0 3px #0b1020, 0 40px 90px -20px rgba(0, 0, 0, 0.7);
  transform: rotate(-2deg);
  transform-origin: 50% 100%;
}
.hx-screen {
  position: relative;
  height: 100%;
  border-radius: 38px 38px 0 0;
  background: #f3eee3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--hx-navy);
  font-family: var(--sans);
}
.hx-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #e7e5e2;
  opacity: 0;
  transition: opacity 900ms var(--hx-ease);
}
.hx-stage.is-before .hx-screen::before {
  opacity: 1;
}
.hx-island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 6;
  width: 92px;
  height: 26px;
  margin-left: -46px;
  border-radius: 14px;
  background: #0b1020;
}
.hx-sbar {
  position: relative;
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 13px 26px 0;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hx-sbar svg {
  width: auto;
  height: 11px;
}
.hx-chead {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 16px 10px;
  border-bottom: 1px solid rgba(31, 42, 68, 0.1);
  background: rgba(251, 248, 242, 0.7);
}
.hx-chead b {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
}
.hx-av {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1cdbb;
  color: var(--hx-terra-d);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 0 0 3px #fff;
}
.hx-av img {
  width: 100%;
  height: 100%;
  display: block;
}
.hx-av.is-pop {
  animation: hx-avpop 500ms var(--hx-ease);
}
@keyframes hx-avpop {
  from { transform: scale(0.7); opacity: 0.3; }
  to { transform: none; opacity: 1; }
}
.hx-msgs {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 12px 12px 18px;
  overflow: hidden;
}
.hx-m {
  flex: none;
  align-self: flex-start;
  max-width: 84%;
  margin: 0;
  padding: 9px 13px;
  border-radius: 19px;
  border-bottom-left-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(31, 42, 68, 0.08);
  font-size: 15.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  animation: hx-pop 500ms var(--hx-ease) both;
}
.hx-m--me {
  align-self: flex-end;
  border-radius: 19px;
  border-bottom-right-radius: 6px;
  background: var(--hx-navy);
  color: #fff;
}
.hx-m--call {
  align-self: center;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: #fbe4da;
  box-shadow: none;
  color: var(--hx-terra-d);
  font-size: 13.5px;
  font-weight: 700;
}
.hx-m--call svg {
  width: 20px;
  height: 20px;
}
.hx-m--day {
  align-self: center;
  max-width: none;
  padding: 2px 0;
  background: none;
  box-shadow: none;
  color: #6b7389;
  font-size: 12px;
  font-weight: 600;
}
.hx-m--big {
  max-width: 92%;
  font-size: 17px;
  font-weight: 700;
}
.hx-m .hx-ic {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 3px;
  vertical-align: -4px;
}
.hx-m--shot {
  width: 232px;
  max-width: none;
  padding: 6px;
  border-radius: 16px;
  border-bottom-left-radius: 6px;
}
.hx-m--typing {
  display: flex;
  gap: 4px;
  padding: 13px 14px;
}
.hx-m--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9afbf;
  animation: hx-tdot 1s infinite;
}
.hx-m--typing i:nth-child(2) { animation-delay: 0.15s; }
.hx-m--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hx-tdot {
  0%, 60%, 100% { transform: none; opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes hx-pop {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hx-msgs.is-out .hx-m {
  animation: hx-away 500ms var(--hx-ease) both;
}
@keyframes hx-away {
  to { opacity: 0; transform: translateY(-40px); }
}

/* the AI screenshot inside a text */
.hx-ss {
  overflow: hidden;
  border: 1px solid rgba(31, 42, 68, 0.14);
  border-radius: 11px;
  background: var(--hx-paper);
  font-size: 11.5px;
  line-height: 1.35;
}
.hx-ss-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: var(--hx-navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hx-ss-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hx-terra);
}
.hx-ss-b {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px;
}
.hx-ss-q {
  align-self: flex-end;
  max-width: 90%;
  padding: 5px 9px;
  border-radius: 9px 9px 2px 9px;
  background: #ebe3d2;
  font-weight: 600;
  line-height: 1.25;
}
.hx-ss-a {
  padding: 7px 9px;
  border: 1px solid rgba(31, 42, 68, 0.1);
  border-radius: 9px 9px 9px 2px;
  background: #fff;
}
.hx-ss-a .hx-ln {
  display: block;
  height: 4px;
  margin-top: 5px;
  border-radius: 2px;
  background: #e4dfd3;
}
.hx-ss-a .hx-ln:last-child {
  width: 60%;
}

/* the gift wrap that turns "before" into "after Christmas" */
.hx-wrapfx {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
}
.hx-wrapfx::before,
.hx-wrapfx::after {
  content: "";
  position: absolute;
  z-index: 1;
}
.hx-wrapfx::before {
  left: 50%;
  top: 0;
  width: 34px;
  height: 100%;
  margin-left: -17px;
  transform: scaleY(0);
  transform-origin: 50% 0;
  background: linear-gradient(90deg, var(--hx-terra-d), var(--hx-terra) 30%, #d8795a 50%, var(--hx-terra) 70%, var(--hx-terra-d));
}
.hx-wrapfx::after {
  left: 0;
  top: 44%;
  width: 100%;
  height: 34px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(180deg, var(--hx-terra-d), var(--hx-terra) 30%, #d8795a 50%, var(--hx-terra) 70%, var(--hx-terra-d));
}
.hx-paper {
  position: absolute;
  inset: 0;
  background-color: var(--hx-navy);
  background-image: radial-gradient(rgba(245, 240, 230, 0.16) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
}
.hx-bw {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 2;
  width: 150px;
  height: 104px;
  margin: -35px 0 0 -75px;
  opacity: 0;
}
.hx-lb {
  position: absolute;
  left: 0;
  right: 0;
  top: 66%;
  z-index: 2;
  margin: 0;
  text-align: center;
  color: var(--hx-paper);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 34px;
  opacity: 0;
}
.hx-wrapfx.is-go { animation: hx-wfx 2.3s ease both; }
.hx-wrapfx.is-go::before { animation: hx-rv 2.3s var(--hx-ease) both; }
.hx-wrapfx.is-go::after { animation: hx-rh 2.3s var(--hx-ease) both; }
.hx-wrapfx.is-go .hx-bw { animation: hx-bw 2.3s var(--hx-ease) both; }
.hx-wrapfx.is-go .hx-lb { animation: hx-lb 2.3s var(--hx-ease) both; }
@keyframes hx-wfx { 0% { opacity: 0; } 12%, 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hx-rv { 0%, 8% { transform: scaleY(0); } 36%, 100% { transform: scaleY(1); } }
@keyframes hx-rh { 0%, 16% { transform: scaleX(0); } 44%, 100% { transform: scaleX(1); } }
@keyframes hx-bw { 0%, 36% { opacity: 0; transform: scale(0.7); } 52%, 100% { opacity: 1; transform: none; } }
@keyframes hx-lb { 0%, 46% { opacity: 0; transform: translateY(10px); } 60%, 100% { opacity: 1; transform: none; } }

/* tally card and handwritten note beside the phone */
.hx-tally {
  position: absolute;
  left: -34px;
  top: 150px;
  z-index: 8;
  width: 158px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--hx-paper);
  color: var(--hx-navy);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset, 0 24px 44px -18px rgba(0, 0, 0, 0.7);
}
.hx-tally small {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hx-mute);
}
.hx-n {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 0;
  color: var(--hx-terra);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  transition: color 600ms;
}
.hx-stage.is-after .hx-n {
  color: var(--hx-navy);
}
.hx-n span {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.hx-n span.is-bump {
  animation: hx-bump 450ms var(--hx-ease);
}
@keyframes hx-bump {
  from { opacity: 0.2; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.hx-n em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hx-mute);
}
.hx-callout {
  position: absolute;
  right: -30px;
  top: 96px;
  z-index: 8;
  width: 140px;
  margin: 0;
  color: var(--hx-terra-l);
  font-family: var(--hand);
  font-weight: 700;
  font-size: 29px;
  line-height: 1.05;
  text-align: center;
  transform: rotate(5deg);
  transition: opacity 400ms var(--hx-ease);
}
.hx-callout svg {
  width: 60px;
  height: 42px;
  margin: 4px 0 0 8px;
}
.hx-callout.is-swap {
  opacity: 0;
}

/* trust row right under the hero */
.hx-trust {
  position: relative;
  z-index: 3;
  margin-top: 0;
  background: var(--hx-navy-dd, #0e1424);
  border-top: 1px solid rgba(245, 240, 230, 0.1);
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hx-tally { left: -12px; }
  .hx-callout { right: -14px; }
}
@media (max-width: 900px) {
  .hx-nav { padding: 14px 0; }
  .hx-logo { font-size: 1.1875rem; }
  .hx-logo svg { width: 27px; height: 27px; }
  .hx-gift-label { display: none; }
  .hx { padding-top: 86px; }
  .hx-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hx-copy { padding-bottom: 0; }
  .hx h1 { margin: 18px 0 14px; font-size: clamp(2.75rem, 12.6vw, 5rem); }
  .hx-eyebrow { font-size: 0.72rem; letter-spacing: 0.1em; padding: 6px 12px 6px 10px; }
  .hx-for { font-size: 2.75rem; margin-bottom: 14px; }
  .hx-pick { margin-top: 20px; }
  .hx-pick-label { font-size: 0.72rem; margin-bottom: 10px; }
  .hx-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .hx-chip {
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 0;
    padding: 10px 2px;
    border-radius: 14px;
    font-size: 0.9rem;
  }
  .hx-chip img { width: 46px; height: 46px; }
  .hx-name input { max-width: none; }
  .hx-buy { gap: 14px 18px; margin-top: 22px; }
  .hx-stage { min-height: 0; padding-top: 16px; }
  .hx-phone { width: 292px; height: 548px; margin-bottom: -18px; }
  .hx-tally { left: -6px; top: 86px; width: 128px; padding: 10px 12px; }
  .hx-tally small { font-size: 10px; gap: 6px; }
  .hx-n { font-size: 40px; margin-top: 4px; }
  .hx-n em { font-size: 12px; }
  .hx-callout { right: -10px; top: 170px; width: 100px; font-size: 23px; }
  .hx-callout svg { width: 44px; height: 32px; margin-left: 0; }
}
@media (max-width: 560px) {
  .hx-buy .hx-gift {
    width: 100%;
    justify-content: space-between;
    padding: 0 14px 0 62px;
    font-size: 1.125rem;
  }
  .hx-buy .hx-gift::before { left: 26px; }
  .hx-buy .hx-gift .hx-bow { left: 7px; }
}
@media (max-width: 380px) {
  .hx-phone { width: 270px; height: 520px; }
  .hx-m--shot { width: 214px; }
  .hx-tally { width: 112px; }
  .hx-n { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-dot::after { display: none; }
  .hx-u path { animation: none; stroke-dashoffset: 0; }
  .hx-m, .hx-av.is-pop, .hx-n span.is-bump { animation: none; }
  .hx-swp, .hx-glow, .hx-screen::before, .hx-callout { transition: none; }
}
@media (max-width: 420px) {
  .hx-eyebrow { font-size: 0.66rem; letter-spacing: 0.06em; gap: 7px; }
}

/* Narrow phones: the logo, the way in and the gift button all fit on one line. */
@media (max-width: 420px) {
  .hx-nav .wrap { gap: 10px; }
  .hx-nav-end { gap: 10px; }
  .hx-logo { font-size: 1.0625rem; gap: 8px; }
  .hx-logo svg { width: 24px; height: 24px; }
  .hx-signin { font-size: 0.9375rem; }
}

/* Get it for yourself: monthly, the Christmas gift in the middle, yearly */
.doc-inner--plans {
  max-width: 62em;
}
.doc-inner--plans > p,
.doc-inner--plans > h2 {
  max-width: 40rem;
}
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0 8px;
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.plan {
  background: var(--paper-bright);
  border: 1px solid rgba(31, 42, 68, 0.14);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.doc .plan h2 {
  margin-top: 0;
}
.doc .plan-price {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin: 4px 0 12px;
}
.plan-price span {
  font-size: 1.125rem;
  font-weight: 500;
}
.doc .plan p:last-of-type {
  margin-bottom: 24px;
}
.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}
.plan--gift {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper-bright);
}
.doc .plan--gift h2,
.doc .plan--gift .plan-price {
  color: var(--paper-bright);
}
.plan--gift {
  position: relative;
}
.doc .plan-badge {
  position: absolute;
  top: -16px;
  right: 20px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--terracotta, #C2603D);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  box-shadow: 0 6px 14px -8px rgba(31, 42, 68, 0.6);
}
.doc .plan--gift .plan-price s {
  font-size: 1.375rem;
  font-weight: 500;
  opacity: 0.8;
  margin-right: 6px;
}

/* Share and earn: the page for affiliates. A night sky, one big sum that moves, then plain facts. */
.pt-hero {
  position: relative;
  background: radial-gradient(110% 80% at 85% 0%, #2b3a5e 0%, var(--navy) 45%, #141b2e 100%);
  color: var(--paper);
  overflow: hidden;
}
.pt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(245, 240, 230, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 110px 140px, rgba(245, 240, 230, 0.35), transparent 60%),
    radial-gradient(2px 2px at 170px 70px, rgba(245, 240, 230, 0.42), transparent 60%);
  background-size: 220px 220px;
}
.pt-hero-in {
  position: relative;
  display: grid;
  gap: 40px;
  padding-block: clamp(48px, 8vw, 112px);
  align-items: center;
}
@media (min-width: 980px) {
  .pt-hero-in {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
  }
}
.pt-eye {
  font-family: var(--hand);
  font-size: 1.75rem;
  line-height: 1.1;
  color: #e59c7c;
  margin: 0 0 12px;
}
.pt-hero h1 {
  font-size: clamp(2.9rem, 8.4vw, 5.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 0;
  text-wrap: balance;
}
.pt-half {
  position: relative;
  white-space: nowrap;
}
.pt-half::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.02em;
  height: 0.1em;
  border-radius: 999px;
  background: var(--terracotta);
  transform: rotate(-0.8deg);
}
.pt-lead {
  font-size: 1.3rem;
  line-height: 1.5;
  max-width: 34em;
  margin: 28px 0 0;
  color: rgba(245, 240, 230, 0.86);
  text-wrap: pretty;
}
.pt-lead strong {
  color: #fff;
}
.pt-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 32px;
}
.pt-hero-cta p {
  margin: 0;
  font-size: 1.0625rem;
  color: rgba(245, 240, 230, 0.78);
}
/* the sum */
.pt-calc {
  background: var(--paper);
  color: var(--navy);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75);
}
.pt-calc p {
  margin: 0;
}
.pt-calc-q {
  font-size: 1.125rem;
  color: var(--navy-soft);
}
.pt-calc-n {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 4px !important;
}
.pt-calc-n span {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
}
.pt-range {
  --at: 9%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  margin: 10px 0 18px;
  background: transparent;
  cursor: pointer;
}
.pt-range::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terracotta) var(--at), var(--oak) var(--at));
}
.pt-range::-moz-range-track {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terracotta) var(--at), var(--oak) var(--at));
}
.pt-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 36px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--navy);
  border: 5px solid var(--paper-bright);
  box-shadow: 0 4px 12px rgba(31, 42, 68, 0.4);
}
.pt-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  border: 5px solid var(--paper-bright);
  box-shadow: 0 4px 12px rgba(31, 42, 68, 0.4);
}
.pt-range:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
  border-radius: 12px;
}
.pt-calc-you {
  font-family: var(--hand);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--terracotta-deep);
}
.pt-calc-sum {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(4rem, 13vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--terracotta-deep);
  font-variant-numeric: tabular-nums;
}
.pt-calc-how {
  margin-top: 10px !important;
  font-size: 1.0625rem;
  color: var(--navy-soft);
}
/* plain sections */
.pt-sec {
  padding-block: clamp(56px, 8vw, 104px);
}
.pt-sec--oak {
  background: var(--oak-soft);
}
.pt h2 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.pt-p {
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 36em;
  margin: 0 0 16px;
}
.pt-small {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--navy-soft);
  max-width: 44em;
  margin: 24px 0 0;
}
.pt-two {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .pt-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }
  .pt-two--top {
    align-items: start;
  }
}
.pt-box {
  margin: 0;
}
.pt-box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}
.pt-ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 14px;
  max-width: 36em;
}
.pt-ticks li {
  position: relative;
  padding-left: 34px;
  font-size: 1.125rem;
  line-height: 1.5;
}
.pt-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terracotta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
/* what you earn */
.pt-earn {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 820px) {
  .pt-earn {
    grid-template-columns: 1.25fr 1fr 1fr;
    align-items: stretch;
  }
}
.pt-earn-card {
  background: var(--paper-bright);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(31, 42, 68, 0.12);
}
.pt-earn-card p {
  margin: 0;
}
.pt-earn-card--gift {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}
.pt-earn-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.pt-earn-price {
  font-size: 1.0625rem;
  margin-top: 4px !important;
  opacity: 0.82;
}
.pt-earn-you {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 22px !important;
  color: var(--terracotta-deep);
  font-variant-numeric: tabular-nums;
}
.pt-earn-card--gift .pt-earn-you {
  color: #e59c7c;
  font-size: 3.6rem;
}
.pt-earn-you span {
  display: block;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0;
  margin-bottom: 2px;
}
/* get your link */
.pt-join {
  background: var(--navy);
  color: var(--paper);
  padding-block: clamp(56px, 8vw, 104px);
  scroll-margin-top: 80px;
}
.pt-join h2,
.pt-close h2 {
  color: var(--paper);
}
.pt-join-in {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 980px) {
  .pt-join-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}
.pt-steps {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 18px;
  max-width: 34em;
}
.pt-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 54px;
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.88);
}
.pt-steps li strong {
  color: #fff;
}
.pt-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e59c7c;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.pt-steps a {
  color: #fff;
}
.pt-form-card {
  background: var(--paper);
  color: var(--navy);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75);
}
.pt-form-card label {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.pt-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pt-form-row input {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 60px;
  border-radius: 16px;
  border: 2px solid rgba(31, 42, 68, 0.35);
  background: #fff;
  color: var(--navy);
  font: 1.1875rem var(--sans);
  padding: 0 16px;
}
.pt-form-row input:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
  border-color: var(--navy);
}
.pt-form-row input[aria-invalid="true"] {
  border-color: #a12a1c;
}
.pt-form-row .btn {
  flex: 1 0 auto;
  border: 0;
  cursor: pointer;
}
.pt-form-row .btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.pt-form-note {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--navy-soft);
  margin: 14px 0 0;
}
.pt-form-note.is-bad {
  color: #8f2417;
  font-weight: 600;
}
.pt-done-hi {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  outline: none;
}
.pt-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 16px;
  padding: 10px 10px 10px 16px;
}
.pt-link code,
.pt-form-note code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
.pt-link code {
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.pt-copy {
  flex: none;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  background: var(--navy);
  color: var(--paper);
  font: 700 1.0625rem var(--sans);
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.pt-copy:active,
.pt-again:active {
  transform: scale(0.97);
}
.pt-again {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: 600 1rem var(--sans);
  text-decoration: underline;
  min-height: 44px;
  cursor: pointer;
}
/* words you can use */
.pt-words {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .pt-words {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pt-word {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--paper-bright);
  border: 1px solid rgba(31, 42, 68, 0.14);
  border-radius: 22px;
  padding: 22px;
}
.pt-word p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pt-word [data-link] {
  font-weight: 700;
  color: var(--terracotta-deep);
}
.pt-word .pt-copy {
  margin-top: auto;
  align-self: flex-start;
}
.pt-qa {
  margin: 20px 0 0;
  display: grid;
  gap: 4px;
  max-width: 34em;
}
.pt-qa dt {
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 12px;
}
.pt-qa dd {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
}
.pt-close {
  background: radial-gradient(110% 120% at 15% 100%, #2b3a5e 0%, var(--navy) 50%, #141b2e 100%);
  text-align: center;
  padding-block: clamp(64px, 9vw, 120px);
}
.pt-close h2 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .pt .site-header .nav {
    display: none;
  }
}
