/* The design tokens (colors, roles, type, spacing, shape, motion) are in
   v3/shared/tokens.css, generated from tribute/v3/src/design/tokens.json; every page links it
   before this file. Only this file's own variables stay here. */
:root {
  /* Occasions + work-promo: shared gradient field (section-scoped backgrounds) */
  --occasions-work-bg-color: var(--color-deep);
  --occasions-work-bg-image: var(--atmosphere-image);
  --nav-height: 80px;
}

/* The reset sits in the lowest cascade layer (order set in tokens.css: reset, glass), so
   glass-surfaces.css and every page's own rules win over it. */
@layer reset {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-ui);
  line-height: 1.5;
  color: var(--text);
}

/* A page that starts and ends dark (the homepage) paints the area past either end, which a
   fast scroll's bounce reveals, in warm charcoal. The body keeps its cream ground. */
html.page-ends-dark {
  background-color: var(--color-deep);
}

/* Marketing pages sit on warm cream. /manage/ and the account pages also load this file and
   keep their own dark chrome. */
body:not(.manage-page):not(.account-page) {
  background-color: var(--color-cream);
  /* Fraunces's SOFT axis rounds its corners and terminals. The setting inherits, so every
     Fraunces heading gets it; Roboto Flex has no SOFT axis and ignores it. */
  font-variation-settings: "SOFT" 60;
}

/* Hide the default header from base template */
body>header {
  display: none !important;
}

/* Mobile-first base styles */
.nav {
  position: fixed;
  width: 100%;
  display: flex;
  padding: var(--space-16) var(--space-24);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: transparent;
  isolation: isolate;
  transform: translateY(0);
  transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base),
    backdrop-filter var(--transition-base);
}

.nav:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  /* The bar fades in when it appears, but its background is dropped at once when the page
     returns to the top: fading a light bar out over the dark hero flashed white. */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.scrolled {
  opacity: 1;
}

.nav.scrolled.dark-bg {
  background: rgb(var(--rgb-ink) / 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav.light-bg {
  /* White frost: it sits cleanly over white and ivory sections alike. */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgb(var(--rgb-shadow) / 0.08);
}

/* At the top of a light hero (data-surface="light"), the nav lies straight on the page. */
.nav.light-bg:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.nav.light-bg .user-icon {
  color: var(--text);
}

.nav.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* Phones: a fast fling past the hero showed the frost alone, with no logo or menu button.
   iOS Safari drops the drawing of a fixed layer that is moved fully off screen, and while
   the page flings it does not redraw the nav in time when the nav slides back; the blur is
   drawn apart from the nav's content, so it appears at once. On phones the hidden nav stays
   in place and only fades, and the nav keeps its own layer, so its drawing is kept. */
@media (max-width: 767px) {
  .nav {
    will-change: opacity;
  }

  .nav.hidden {
    transform: none;
    pointer-events: none;
  }
}

.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo {
  height: 1.5rem;
  opacity: 1;
  transition: opacity var(--transition-slow);
}

.nav-logo.fade-out {
  opacity: 0;
}

.nav.scrolled .nav-logo {
  height: 1.5rem;
  opacity: 1;
}

.nav-items {
  display: none;
  align-items: center;
  gap: var(--space-48);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base);
}

.nav.scrolled .nav-items {
  opacity: 1;
  visibility: visible;
}

.nav-items.mobile-open {
  display: flex;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: color var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
  display: inline-block;
}

.nav-link:hover {
  color: #ffffff;
  opacity: 0.8;
  transform: translateY(-2px);
}

.nav.light-bg .nav-link {
  color: var(--text);
}

.nav.light-bg .nav-link:hover {
  color: var(--text);
  opacity: 0.7;
  transform: translateY(-2px);
}

.nav.light-bg .nav-link-dropdown {
  color: var(--text);
}

.nav.light-bg .dropdown-arrow {
  stroke: var(--color-dark);
}

.nav-button {
  background: var(--gradient-brand);
  color: var(--color-white);
  padding: var(--space-12) var(--space-24);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-block;
  box-shadow: var(--shadow-sm);
  will-change: transform, box-shadow;
}

.nav-button:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(var(--rgb-brand) / 0.4);
}

/* Navbar dropdown */
.nav-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.dropdown-arrow {
  transition: transform var(--transition-base);
}

.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  background: rgb(var(--rgb-ink) / 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
  transform: translateX(-50%) translateY(-10px);
  z-index: 1000;
  width: auto;
  min-width: 300px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* User menu specific styling - matches v3 app */
.user-menu {
  background: rgba(25, 25, 25, 0.95); /* Darker background like v3 */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem; /* rounded-box - smaller radius */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content {
  display: flex;
}

.dropdown-left {
  flex: 1;
  padding: var(--space-16);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.user-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* User dropdown: label and arrow hidden on desktop (icon only) */
.nav-user-label,
.nav-dropdown-user .nav-user-arrow {
  display: none;
}

/* User menu dropdown - matches v3 app styling */
.user-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 208px; /* w-52 */
  min-width: 208px;
}

.user-menu .menu-title {
  padding: var(--space-20);
  margin: 0;
}

.user-menu-header {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
}

.user-menu-avatar {
  width: 32px; /* w-8 */
  height: 32px; /* h-8 */
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-menu-avatar .dropdown-user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.user-menu-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.user-menu-name {
  font-size: 0.875rem; /* text-sm */
  font-weight: 600; /* font-semibold */
  color: #ffffff;
  line-height: 1.25rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-email {
  font-size: 0.75rem; /* text-xs */
  color: #ffffff;
  opacity: 0.7; /* opacity-70 */
  line-height: 1rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu .menu-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1875);
  margin: 0 var(--space-8) var(--space-8);
  border: none;
  padding: 0;
  list-style: none;
}

.user-menu > li {
  list-style: none;
  margin: 0;
  padding: 0 var(--space-12);
}

.user-menu-item {
  display: block;
  padding: 0.5rem;
  font-size: 0.875rem; /* text-sm */
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-radius: 0.25rem;
  width: 100%;
  box-sizing: border-box;
}

.user-menu-item:hover,
.user-menu-item:focus {
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

.user-menu-item-last {
  margin-bottom: var(--space-12);
}

/* Signed-in: first name sits to the right of the user icon (desktop only) */
.nav-user-name {
  font-weight: var(--weight-medium);
  white-space: nowrap;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* "Continue your tribute" card at the top of the account menu */
.user-menu.user-menu-has-continue {
  width: 264px;
  min-width: 264px;
}

.user-menu > li.user-menu-continue {
  padding: 0 var(--space-12) var(--space-8);
}

.user-menu-continue-card {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  padding: var(--space-8);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.user-menu-continue-card:hover,
.user-menu-continue-card:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

.user-menu-continue-cover {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 0.375rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-menu-continue-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-menu-continue-cover--placeholder .user-menu-continue-cover-fallback {
  width: 24px;
  height: 24px;
  background-color: #050505;
  opacity: 0.25;
  mask: url("/static/v3/images/icons/placeholder.f25935112574.svg") no-repeat center / contain;
  -webkit-mask: url("/static/v3/images/icons/placeholder.f25935112574.svg") no-repeat center / contain;
}

.user-menu-continue-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 0;
}

.user-menu-continue-label {
  font-size: var(--fs-10);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fca5a5;
  line-height: 0.875rem;
}

.user-menu-continue-title {
  font-size: var(--fs-14);
  font-weight: var(--weight-medium);
  line-height: 1.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-continue-arrow {
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.user-menu-continue-card:hover .user-menu-continue-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* Legacy dropdown-user styles for backwards compatibility */
.dropdown-user-info {
  padding: var(--space-12);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.dropdown-user-avatar-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}

.dropdown-user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.dropdown-user-details {
  flex: 1;
  min-width: 0;
}

.dropdown-user-name {
  font-size: var(--fs-15);
  font-weight: var(--weight-semibold);
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.dropdown-user-email {
  font-size: var(--fs-13);
  color: var(--stone-300);
}

.dropdown-content:has(.dropdown-left):not(:has(.dropdown-right)) .dropdown-left {
  border-right: none;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base), transform var(--transition-base);
  text-decoration: none;
  color: #ffffff;
}

.dropdown-item:has(.dropdown-description) {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-12);
  padding: var(--space-12);
}

.dropdown-item-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}

.dropdown-item:has(.dropdown-description) .dropdown-text {
  display: block;
}

.dropdown-item:has(.dropdown-description) .dropdown-description {
  display: block;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition-base);
}

/* Larger icons for Enterprise dropdown items with descriptions */
.dropdown-item:has(.dropdown-description) .dropdown-item-icon {
  width: 40px;
  height: 40px;
}

.dropdown-item-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--transition-base);
}

.dropdown-item-icon .icon-default {
  opacity: 1;
}

.dropdown-item-icon .icon-hover {
  opacity: 0;
}

/* Scale icon container on hover */
.dropdown-item:hover .dropdown-item-icon {
  transform: scale(1.15);
}

/* If animated version exists, swap it on hover */
.dropdown-item:hover .dropdown-item-icon .icon-default {
  opacity: 0;
}

.dropdown-item:hover .dropdown-item-icon .icon-hover {
  opacity: 1;
}

/* If no animated version exists, keep default visible */
.dropdown-item-icon.no-animated .icon-hover {
  display: none !important;
}

.dropdown-item:hover .dropdown-item-icon.no-animated .icon-default {
  opacity: 1;
}

.dropdown-icon {
  display: none;
}

.dropdown-text {
  font-size: var(--fs-15);
  color: #ffffff;
}

.dropdown-description {
  font-size: var(--fs-13);
  font-weight: var(--weight-regular);
  color: var(--stone-300);
  line-height: 1.4;
}

.dropdown-right {
  flex: 1;
  padding: var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-right h3 {
  font-size: var(--fs-20);
  font-weight: var(--weight-semibold);
  color: #ffffff;
}

.dropdown-right p {
  font-size: var(--fs-14);
  color: var(--stone-300);
  margin-bottom: var(--space-16);
}

.dropdown-image {
  width: 100%;
  max-width: 180px;
  margin-bottom: var(--space-16);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.dropdown-image img {
  width: 100%;
  height: auto;
  display: block;
}

#save-the-date-lottie {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#save-the-date-lottie svg {
  width: 100%;
  height: auto;
}

.dropdown-button {
  background: #ffffff;
  color: var(--color-dark);
  padding: var(--space-10) var(--space-24);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-medium);
  transition: background var(--transition-base), transform var(--transition-base);
  display: inline-block;
  font-size: var(--fs-14);
  text-decoration: none;
  transition: background-color var(--transition-fast);
  display: inline-block;
}

.dropdown-button:hover {
  background: var(--color-gray-light);
  transform: translateY(-2px);
}

/* Desktop dropdown styles */
@media (min-width: 768px) {
  .dropdown-text {
    font-weight: var(--weight-medium);
  }

  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  /* Ensure dropdown is above navbar's isolation layer */
  .nav-dropdown .dropdown-menu {
    z-index: 1001;
  }

  /* Light dropdown styles for white navbar */
  .dropdown-menu.dropdown-light {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-text {
    color: var(--text) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-description {
    color: var(--text-muted) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-item {
    color: var(--text) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-left {
    border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-right h3 {
    color: var(--text) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-right p {
    color: var(--text-muted) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-button {
    background: var(--color-dark) !important;
    color: #ffffff !important;
  }

  .dropdown-menu.dropdown-light .dropdown-button:hover {
    background: var(--color-dark-secondary) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-user-name {
    color: var(--text) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-user-email {
    color: var(--text-muted) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-user-info {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  }

  .dropdown-menu.dropdown-light .dropdown-user-avatar-wrapper {
    background: rgba(0, 0, 0, 0.05) !important;
  }

  /* User/account dropdown: ensure dark text when dropdown-light (white bg) is applied */
  .dropdown-menu.dropdown-light.user-menu,
  .dropdown-menu.dropdown-light .user-menu-name,
  .dropdown-menu.dropdown-light .user-menu-email,
  .dropdown-menu.dropdown-light .user-menu-item {
    color: var(--text) !important;
  }

  .dropdown-menu.dropdown-light .user-menu-email {
    opacity: 0.8 !important;
  }

  .dropdown-menu.dropdown-light .user-menu .menu-divider {
    background-color: rgba(0, 0, 0, 0.1) !important;
  }

  .dropdown-menu.dropdown-light .user-menu-item:hover,
  .dropdown-menu.dropdown-light .user-menu-item:focus {
    background-color: rgba(0, 0, 0, 0.05) !important;
  }

  .dropdown-menu.dropdown-light .user-menu-continue-card {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: var(--text) !important;
  }

  .dropdown-menu.dropdown-light .user-menu-continue-card:hover,
  .dropdown-menu.dropdown-light .user-menu-continue-card:focus-visible {
    background: rgba(0, 0, 0, 0.08) !important;
  }

  .dropdown-menu.dropdown-light .user-menu-continue-label {
    color: var(--brand-primary) !important;
  }

  .dropdown-menu.dropdown-light.user-menu-has-continue,
  #user-dropdown.user-menu-has-continue {
    width: 264px;
    min-width: 264px;
  }

  /* User dropdown - matches v3 app width */
  .user-menu {
    width: 208px;
    min-width: 208px;
  }
  
  #user-dropdown {
    min-width: 208px;
  }

  /* Occasions dropdown - wider for more content */
  #occasions-dropdown {
    min-width: 600px;
  }

  /* Enterprise dropdown - narrower for less content */
  #enterprise-dropdown {
    min-width: 400px;
  }
}

/* Mobile menu overlay - only on mobile */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent !important;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.mobile-menu-toggle[aria-expanded="true"] {
  background: transparent !important;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:focus-visible {
  outline: none;
}

.mobile-menu-toggle .menu-icon {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
  fill: none;
  stroke: currentColor;
  transition: transform var(--transition-base);
}

.nav.light-bg .mobile-menu-toggle .menu-icon {
  color: var(--color-dark);
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon {
  transform: rotate(180deg);
}

/* Mobile dropdown styles */
@media (max-width: 767px) {
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-top: 0;
    min-width: auto;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--transition-base), opacity var(--transition-base);
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    padding: var(--space-16);
    transform: none !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
  }

  /* User dropdown on mobile: always expanded, inlined (no "My Account" row, no expand/collapse) */
  .nav-dropdown-user .nav-link-dropdown {
    display: none;
  }

  .nav-dropdown-user .dropdown-menu,
  .nav-items.mobile-open .nav-dropdown-user .dropdown-menu {
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .nav-dropdown-user .user-menu {
    width: 100%;
    min-width: 0;
  }

  .nav-dropdown-user .user-menu .menu-title {
    padding: var(--space-16) 0;
  }

  .nav-dropdown-user .user-menu-header {
    font-size: var(--fs-18);
  }

  .nav-dropdown-user .user-menu-name {
    font-size: var(--fs-18);
    font-weight: var(--weight-medium);
  }

  .nav-dropdown-user .user-menu-email {
    font-size: var(--fs-16);
    opacity: 0.8;
  }

  .nav-dropdown-user .user-menu .menu-divider {
    margin: var(--space-8) 0;
  }

  .nav-dropdown-user .user-menu > li {
    display: list-item;
    padding: 0;
  }

  .nav-dropdown-user .user-menu-item {
    display: block !important;
    padding: var(--space-16) 0;
    font-size: var(--fs-18);
    color: #ffffff;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
  }

  .nav-dropdown-user .user-menu-item:hover {
    opacity: 0.8;
  }

  .nav-dropdown-user .user-menu > li.user-menu-continue {
    padding: var(--space-4) 0 var(--space-12);
  }

  .nav-dropdown-user .user-menu-continue-card {
    padding: var(--space-12);
  }

  .nav.light-bg .nav-items.mobile-open .nav-dropdown-user .user-menu-continue-card {
    color: var(--text) !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
  }

  .nav.light-bg .nav-items.mobile-open .nav-dropdown-user .user-menu-continue-label {
    color: var(--brand-primary) !important;
  }

  .nav-dropdown-user .nav-user-arrow {
    display: none;
  }

  .dropdown-content {
    flex-direction: column;
    min-height: auto;
  }

  .dropdown-left {
    border: none;
    padding: 0;
    gap: var(--space-2);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-16);
  }

  #enterprise-dropdown .dropdown-left {
    grid-template-columns: 1fr;
  }

  .dropdown-item {
    padding: var(--space-8) 0;
    border: none;
  }

  .dropdown-right {
    padding: var(--space-16) 0 0;
    background: transparent;
    width: 100%;
  }

  .dropdown-right h3 {
    font-size: var(--fs-18);
    margin-bottom: var(--space-6);
  }

  .dropdown-right p {
    font-size: var(--fs-13);
    margin-bottom: 0;
  }

  .dropdown-image {
    max-width: 150px;
    margin-bottom: 0;
  }

  .dropdown-button {
    padding: var(--space-8) var(--space-20);
    font-size: var(--fs-13);
  }
}

/* Mobile menu overlay - only on mobile */
@media (max-width: 767px) {
  .nav-items {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: rgb(var(--rgb-ink) / 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 var(--space-24);
    gap: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity var(--transition-base) 0.1s,
      visibility 0s linear 0.4s,
      padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-items.mobile-open {
    height: 100vh;
    padding: 1.375rem var(--space-24) var(--space-32);
    opacity: 1 !important;
    visibility: visible !important;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity var(--transition-base),
      visibility 0s linear,
      padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    padding-bottom: var(--space-32);
    margin-bottom: var(--space-16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    padding-bottom: var(--space-32);
    margin-bottom: var(--space-16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .mobile-menu-logo {
    height: 1.5rem;
    width: auto;
    margin-top: var(--space-2);
  }

  .nav-items.mobile-open .nav-link {
    font-size: var(--fs-18);
    padding: var(--space-16) 0;
    width: 100%;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    display: block;
  }

  .nav-items.mobile-open .nav-link-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-16) 0;
  }

  /* Hide "My Account" row on mobile; name, email, and links are shown inline below */
  .nav-items.mobile-open .nav-dropdown-user .nav-link-dropdown {
    display: none !important;
  }

  /* Expand user icon to full row with "My Account" label + arrow in mobile slideout (other dropdowns only) */
  .nav-items.mobile-open .nav-user-label,
  .nav-items.mobile-open .nav-dropdown-user .nav-user-arrow {
    display: inline;
  }

  .nav-items.mobile-open .nav-dropdown-user .nav-user-arrow {
    margin-left: auto;
  }

  .nav-items.mobile-open .nav-dropdown.active .nav-link-dropdown {
    border-bottom: none;
  }

  .nav-items.mobile-open .nav-dropdown .dropdown-menu {
    padding-top: var(--space-8);
    margin-top: 0;
  }

  .nav-items.mobile-open .nav-link:hover {
    color: #ffffff;
    opacity: 0.8;
  }

  .nav-items.mobile-open .nav-button {
    width: 100%;
    text-align: center;
    margin-top: var(--space-24);
    padding: var(--space-14) var(--space-24);
    font-size: var(--fs-16);
  }

  /* Light mode styling for mobile menu when nav has light-bg */
  .nav.light-bg .nav-items.mobile-open {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav.light-bg .nav-items.mobile-open .nav-link {
    color: var(--text) !important;
    border-bottom-color: rgba(0, 0, 0, 0.1) !important;
  }

  .nav.light-bg .nav-items.mobile-open .nav-link-dropdown {
    color: var(--text) !important;
  }

  .nav.light-bg .nav-items.mobile-open .dropdown-arrow {
    stroke: var(--color-dark) !important;
  }

  .nav.light-bg .nav-items.mobile-open .dropdown-item {
    color: var(--text) !important;
  }

  .nav.light-bg .nav-items.mobile-open .dropdown-text {
    color: var(--text-muted) !important;
  }

  .nav.light-bg .nav-items.mobile-open .nav-dropdown-user .user-menu-name,
  .nav.light-bg .nav-items.mobile-open .nav-dropdown-user .user-menu-email,
  .nav.light-bg .nav-items.mobile-open .nav-dropdown-user .user-menu-item {
    color: var(--text) !important;
  }

  .nav.light-bg .mobile-menu-header {
    border-bottom-color: rgba(0, 0, 0, 0.1) !important;
  }

  .nav.light-bg .nav-items.mobile-open .nav-link:hover {
    color: var(--text) !important;
  }
}

/* Mobile-first hero styles */
.hero {
  position: relative;
  height: auto;
  min-height: auto;
  display: flex;
  padding: 5rem 0 1rem;
  gap: 1.5rem;
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  contain: layout style;
  border-bottom: none;
  /* Morning light on ivory: peach at the top left, a faint plum haze behind the videos, and
     warm gold low in the middle, echoing the dark sections' atmosphere at a whisper. The
     grain keeps the soft tones from banding. */
  background: var(--color-cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath opacity='.03' filter='url(%23n)' d='M0 0h128v128H0z'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 70% 80% at 12% 18%, #f7dccb8c, transparent 72%),
    radial-gradient(ellipse 62% 78% at 82% 40%, #e6dcea80, transparent 75%),
    radial-gradient(ellipse 60% 60% at 45% 100%, #fbe3b880, transparent 70%);
}

.hero-content {
  flex: 1;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-top: var(--space-20);
}

h1 {
  font-size: var(--fs-40);
  line-height: 1.2;
  margin-bottom: var(--space-12);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-weight: var(--weight-regular);
  max-width: 100%;
  background: var(--gradient-display);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.homepage-root #hero-title {
  background: none;
  color: var(--text);
  font-weight: var(--weight-light);
  -webkit-text-fill-color: currentColor;
}

.homepage-root .hero-title-gradient {
  font-weight: 400;
  background: var(--gradient-display);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* The gradient paints only inside the box, and the tight line height cuts it off above
     the bottom of a g, p or y. The padding gives the descenders room on every line; the
     margin takes the space back where the words are a block. */
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.homepage-root[data-emotional-copy]:not([data-emotional-copy="control"]) .hero-title-gradient {
  display: block;
  width: fit-content;
}

.homepage-root[data-emotional-copy]:not([data-emotional-copy="control"]) .gradient-text {
  background: none;
  color: var(--color-white);
  -webkit-text-fill-color: currentColor;
}

.homepage-root[data-emotional-copy]:not([data-emotional-copy="control"]) .tears-metric .stat-number {
  text-shadow: none;
}

/* Fit the two written lines to the text column, including the split tablet layout. */
.homepage-root[data-emotional-copy]:not([data-emotional-copy="control"]) .hero-content .initial-content {
  container-type: inline-size;
  /* Sized so the longest experiment line fits on one line in Fraunces (about 10.9em wide). */
  --hero-line-fit: 9cqi;
}

.subhead {
  margin-bottom: var(--space-24);
  color: var(--color-ink-muted);
  font-size: var(--fs-16);
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: var(--space-32);
  margin-bottom: 0;
  align-items: center;
}

.start-btn-wrapper {
  position: relative;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.primary-btn {
  width: 100%;
  padding: var(--space-12) var(--space-20);
  border-radius: var(--radius-sm);
  font-size: var(--fs-16);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all var(--transition-base);
  justify-content: center;
  text-align: center;
  line-height: 1.5;
  box-sizing: border-box;
  white-space: nowrap;
}

/* Mobile video thumbnails - simplified horizontal scroll */
.grid-container {
  display: block;
  height: auto;
  width: 100%;
  position: relative;
  z-index: 5;
}

.grid-scroll {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.5rem 0;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none; /* Disabled for smooth auto-scroll */
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto; /* Disable smooth scroll behavior for programmatic scrolling */
}

.grid-scroll::-webkit-scrollbar {
  display: none;
}

.grid-scroll.grabbing {
  cursor: grabbing;
}

.grid-scroll> :nth-child(2n) {
  transform: none;
}

.grid-item {
  position: relative;
  min-width: 86%;
  width: 86%;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  transition: filter var(--transition-base), opacity var(--transition-base);
}

.grid-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-item-content {
  position: absolute;
  inset: 0;
  padding: var(--space-8) var(--space-12);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 2;
}

.grid-item-title {
  font-size: var(--fs-16);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.grid-item-subtitle {
  font-size: var(--fs-14);
  opacity: 0.75;
}

.grid-item.highlighted {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.grid-scroll>.grid-item:nth-child(2n).highlighted {
  transform: translateY(50%);
}

/* Dim sibling thumbnails only on desktop devices with real hover.
   Touch swipes can leave :hover active and must keep every video visible. */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .grid-scroll:hover .grid-item:not(:hover) {
    filter: grayscale(50%);
    opacity: 0.5;
  }
}

/* Desktop styles - Tablet and up (768px+) */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
    padding: 7rem var(--space-48) var(--space-64);
  }

  .hero-content {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .grid-container {
    flex: 1;
  }

  .nav {
    padding: var(--space-24) var(--space-48);
    max-width: 2400px;
  }

  /* Keep the links readable over the videos, fading the frost toward the logo. */
  body.homepage-root .nav:not(.scrolled) {
    background: transparent;
  }

  body.homepage-root .nav:not(.scrolled)::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    /* A 5-degree slope drops about 8.75% of the nav width from left to right. */
    --wedge-depth: min(8.75vw, 210px);
    height: calc(var(--wedge-depth) + 4.75rem);
    pointer-events: none;
    z-index: -1;
    background: rgb(var(--rgb-ink) / 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    --nav-fade: linear-gradient(185deg,
      #000 calc(var(--wedge-depth) - 3.5rem),
      rgb(0 0 0 / 90%) calc(var(--wedge-depth) - 2rem),
      rgb(0 0 0 / 55%) var(--wedge-depth),
      rgb(0 0 0 / 14%) calc(var(--wedge-depth) + 2.5rem),
      transparent calc(var(--wedge-depth) + 4.5rem)
    );
    -webkit-mask-image: var(--nav-fade);
    mask-image: var(--nav-fade);
  }

  .nav-logo {
    height: 2.5rem;
  }

  .nav.scrolled .nav-logo {
    height: 2.25rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .nav-items {
    display: flex !important;
    position: static !important;
    height: auto !important;
    opacity: 0;
    visibility: hidden;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: row !important;
    padding: 0 !important;
    gap: var(--space-48) !important;
    transition: opacity var(--transition-base), visibility var(--transition-base);
  }

  .nav.scrolled .nav-items {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Show desktop nav links at hero scroll 0 */
  .nav:not(.scrolled) .nav-items {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu-header {
    display: none !important;
  }

  /* Fit the desktop hero below the promo banner. */
  .hero {
    height: calc(100vh - var(--promo-banner-height, 0px));
    min-height: calc(100vh - var(--promo-banner-height, 0px));
    padding: calc(5.5rem + 3rem) 3rem 0 3rem; /* Top padding: nav height (5.5rem) + content padding (3rem), no bottom padding */
    gap: 6rem;
    max-width: 2400px;
    margin: 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    flex: 1;
    padding: var(--space-48) 0;
    width: auto;
    max-width: 50%;
    margin-top: -96px;
  }

  .grid-container {
    margin-right: calc(-3rem - ((100vw - 2400px) / 2));
  }

  @media (max-width: 2400px) {
    .grid-container {
      margin-right: -3rem;
    }
  }

  h1 {
    font-size: 4.25rem;
    line-height: 1.2;
    margin-bottom: var(--space-8);
    max-width: 600px;
  }

  .subhead {
    font-size: 1.3875rem;
    margin-bottom: var(--space-48);
    line-height: 1.5;
  }

  .hero-buttons {
    flex-direction: row;
    width: auto;
    gap: var(--space-32);
    margin-bottom: var(--space-32);
  }

  .primary-btn {
    width: auto;
    padding: var(--space-16) var(--space-32);
    font-size: var(--fs-20);
  }

  .start-btn-wrapper {
    position: relative;
    width: auto;
  }

  /* Desktop video grid */
  .grid-container {
    flex: 1;
    height: 100vh;
    overflow: hidden;
    position: relative;
    margin-right: -3rem;
    margin-top: calc(-1 * (5.5rem + 3rem));
    padding-top: 0;
    padding-right: 0;
  }

  .grid-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-16);
    transform: translateY(0);
    padding: 0 var(--space-16) 0 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .grid-scroll> :nth-child(2n) {
    transform: translateY(50%);
  }

  .grid-item {
    min-width: 500px;
    width: auto;
    aspect-ratio: 4/3;
    flex-shrink: 1;
    scroll-snap-align: none;
    border-radius: var(--radius-sm);
  }

  .grid-item-content {
    padding: var(--space-24) var(--space-32);
  }

  .grid-item-title {
    font-size: var(--fs-24);
    margin-bottom: 0;
  }

  .grid-item-subtitle {
    font-size: var(--fs-16);
  }

  .play-overlay {
    width: 4rem;
    height: 4rem;
  }

  .play-overlay svg {
    width: 2rem;
    height: 2rem;
  }

  /* Desktop page margins */
  .reviews-section,
  .how-it-works,
  .tears-section,
  .logo-section-wrapper,
  .keepsakes-section,
  .faq-section,
  .occasions-section {
    padding-left: var(--space-48);
    padding-right: var(--space-48);
  }

  .reviews-section {
    padding-top: var(--space-96);
    padding-bottom: var(--space-96);
  }

  .how-it-works {
    padding-top: var(--space-96);
    padding-bottom: var(--space-96);
  }

  .tears-section {
    padding-top: var(--space-96);
    padding-bottom: var(--space-96);
  }

  .logo-section-wrapper {
    padding-top: var(--space-96);
    padding-bottom: var(--space-96);
  }

  .keepsakes-section {
    padding-top: var(--space-96);
    padding-bottom: var(--space-96);
  }

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

/* Tablet overrides (768px–1079px) — fix nav overflow and carousel dot overlap */
@media (min-width: 768px) and (max-width: 1079px) {
  .nav-items {
    gap: var(--space-24) !important;
  }

  .nav {
    padding: var(--space-24) var(--space-24);
  }

  .nav-button {
    padding: var(--space-8) var(--space-16);
    font-size: var(--fs-14);
  }

  .hero {
    padding-bottom: var(--space-80);
  }
}

.primary-btn {
  outline-color: var(--brand-primary);
  background: var(--gradient-brand);
  color: var(--color-white);
  border: none;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  will-change: transform, box-shadow;
}

/* Keyboard focus ring in the button's own red. Mouse users see nothing change. */
.primary-btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  box-shadow: var(--shadow-md), 0 0 0 6px rgb(var(--rgb-brand) / 0.18);
}

.primary-btn:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.play-icon {
  font-size: 0.8rem;
}

.thumbnail-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-base), transform var(--transition-base);
  z-index: 10;
}

.play-overlay:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.05);
}

.vimeo-player {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.vimeo-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Video Modal Overlay */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Desktop: Overlay with blur only on right side (for hero grid videos) */
@media (min-width: 768px) {
  .video-modal-overlay:not(.tears-video-modal) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .video-modal-overlay:not(.tears-video-modal)::before {
    content: '';
    position: absolute;
    top: var(--hero-top, 0);
    right: 0;
    width: 60%;
    height: var(--hero-height, 100vh);
    /* Darker overlay without backdrop-filter to avoid banding */
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    /* Add gradient mask for smooth transition */
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%);
  }
}

/* Blur the grid container directly when video is playing */
.grid-container.video-playing-blur {
  filter: blur(12px);
  -webkit-filter: blur(12px);
  transition: filter var(--transition-base);
}

/* Tears of joy modal: Full-page blur with darker overlay */
.video-modal-overlay.tears-video-modal {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.video-modal-overlay.tears-video-modal::before {
  display: none;
}

.video-modal-overlay.active {
  visibility: visible;
  pointer-events: all;
}

body.video-modal-open {
  overflow: hidden !important;
}

/* Support widget: hidden until scroll past 400px (when nav appears) */
#support-widget {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

body.support-widget-visible #support-widget {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-content {
  position: relative;
  width: 90vw;
  max-width: 600px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform-origin: center;
  overflow: visible;
}

/* Tears of joy modal: Larger on mobile too */
.video-modal-overlay.tears-video-modal .video-modal-content {
  width: 95vw;
  max-width: 768px;
}

/* Desktop: Position modal on right side, centered in right 50% (for hero grid videos) */
@media (min-width: 768px) {
  .video-modal-overlay:not(.tears-video-modal) .video-modal-content {
    width: 40vw;
    max-width: 700px;
  }
  
  /* Tears of joy modal: Larger and centered */
  .video-modal-overlay.tears-video-modal .video-modal-content {
    width: 75vw;
    max-width: 768px;
  }
}

.video-modal-close {
  position: absolute;
  top: -3.5rem;
  right: 0;
  z-index: 10001;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.9);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.video-modal-close svg {
  width: 20px;
  height: 20px;
}

/* Desktop: move closer to modal corner */
@media (min-width: 768px) {
  .video-modal-close {
    top: -24px;
    right: -24px;
  }
}

/* Match hamburger button size on mobile */
@media (max-width: 767px) {
  .video-modal-close {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.video-modal-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
}

.video-modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-modal-loading {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.video-modal-player {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 3;
  transition: opacity var(--transition-base);
  opacity: 0;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-player > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-player-text-overlay {
  position: absolute;
  inset: 0;
  padding: var(--space-12) var(--space-16);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity var(--transition-slow);
  z-index: 10;
}

.video-player-title {
  font-size: var(--fs-16);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.video-player-subtitle {
  font-size: var(--fs-14);
  opacity: 0.75;
}

@media (min-width: 768px) {
  .video-player-title {
    font-size: var(--fs-24);
    margin-bottom: 0;
  }
  
  .video-player-subtitle {
    font-size: var(--fs-16);
  }
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.video-modal-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Disclaimer bar below the hero wall videos (hidden for the tears-of-joy promo) */
.video-modal-disclaimer {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 0;
  right: 0;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-16);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-13);
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.video-modal-disclaimer strong {
  font-weight: var(--weight-semibold);
}

.video-modal-disclaimer-link {
  color: #fff;
  font-weight: var(--weight-regular);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--transition-fast);
}

.video-modal-disclaimer-link:hover {
  opacity: 0.8;
}

.video-modal-overlay.tears-video-modal .video-modal-disclaimer {
  display: none;
}

/* Form styles */
.hero-form {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-form.active {
  opacity: 1;
  visibility: visible;
}

.form-step {
  opacity: 0;
  transition: opacity var(--transition-base);
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.form-step.active {
  opacity: 1;
  pointer-events: all;
  z-index: 10;
}

.form-step h2 {
  font-size: var(--fs-48);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-32);
  color: #ffffff;
}

.form-input {
  font-size: var(--fs-32);
  border: none;
  border-bottom: 2px solid var(--color-ink-muted);
  padding: var(--space-8) 0;
  margin-bottom: var(--space-32);
  background: transparent;
  width: 100%;
  max-width: 600px;
  color: #ffffff;
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--stone-400);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: var(--fs-36);
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-16);
  transition: color var(--transition-base);
  z-index: 100;
}

.form-close:hover {
  color: #ffffff;
}

.initial-content {
  padding: 0 var(--space-24);
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.initial-content.hidden {
  opacity: 0;
  visibility: hidden;
}

.plane-background-reviews {
  display: none;
}

.how-it-works .plane-background-3 {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 18%;
  z-index: 1;
  pointer-events: none;
  transform: scaleX(-1) !important;
}

@media (min-width: 768px) {
  .initial-content {
    padding: 0;
  }
  .plane-background-reviews {
    display: block;
    position: absolute;
    top: 5%;
    left: 5%;
    width: 40%;
    z-index: 1;
  }

  .how-it-works {
    position: relative;
  }

  .how-it-works .plane-background-3 {
    position: absolute;
    bottom: 4rem;
    left: 0;
  }
}

@media (max-width: 767px) {
  .how-it-works img.plane-background-3 {
    position: absolute;
    top: auto;
    bottom: 0;
    right: 0;
    left: auto;
    width: 20%;
  }
}

/* Video Book section */
/* Video Book Section — mobile-first */
/* Same soft-wash treatment as the pricing band, pitched lilac and rose. */
.video-book-section {
  background-color: #ffffff;
  background-image:
    radial-gradient(at 78% 0%, rgb(var(--rgb-sky) / 0.3) 0px, transparent 55%),
    radial-gradient(at 8% 30%, rgb(var(--rgb-peach) / 0.22) 0px, transparent 52%),
    radial-gradient(at 42% 100%, rgb(var(--rgb-apricot) / 0.2) 0px, transparent 60%);
  padding: var(--space-64) var(--space-24);
  overflow: hidden;
}

.video-book-section .video-book-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-40);
}

.video-book-text {
  color: var(--color-dark-secondary);
}

.video-book-text h3 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  margin-bottom: var(--space-16);
  color: var(--stone-850);
}

.video-book-intro,
.intro-lead {
  font-size: var(--fs-16);
  line-height: 1.7;
}

.video-book-intro {
  color: var(--color-ink-muted);
  margin-bottom: var(--space-32);
}

.video-book-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

.spec-item {
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 0.875rem;
  padding: 1.125rem var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.spec-item:hover {
  border-color: var(--stone-300);
  box-shadow: 0 8px 24px rgba(38, 34, 32, 0.07);
}

.spec-item strong {
  font-size: var(--fs-16);
  font-weight: var(--weight-semibold);
  color: var(--stone-850);
}

.spec-item span {
  font-size: var(--fs-14);
  color: var(--text-muted);
  line-height: 1.5;
}

.video-book-pitch {
  font-size: var(--fs-15);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-32);
}

.video-book-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: flex-start;
}

/* Match how-it-works-pricing-more size/weight; dark text on light Video Book section */
.video-book-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  text-decoration: none;
  font-weight: var(--weight-medium);
  font-size: var(--fs-17);
  border-bottom: none;
  transition: color var(--transition-fast);
}

.video-book-link:hover {
  color: var(--text);
  text-decoration: none;
}

.video-book-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-book-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.video-book-hero-image {
  width: 90%;
  height: auto;
  display: block;
}

.video-book-gif {
  position: absolute;
  z-index: -1;
  top: 9%;
  left: 49%;
  width: 34%;
  height: auto;
  transform: rotate(4deg);
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.video-book-confetti {
  position: absolute;
  width: 110%;
  height: auto;
  left: -10%;
  top: -20%;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
}

/* Tears standalone section (extracted from how-it-works) */
.tears-standalone {
  padding-top: var(--space-48);
  padding-bottom: var(--space-48);
  border-top: none;
}

@media (min-width: 768px) {
  .video-book-section {
    padding: var(--space-96) var(--space-48);
  }

  .video-book-section .video-book-content {
    flex-direction: row;
    align-items: center;
    gap: var(--space-64);
  }

  .video-book-text {
    flex: 1;
  }

  .video-book-text h3 {
    font-size: var(--fs-44);
    margin-bottom: var(--space-20);
  }

  .video-book-intro,
  .intro-lead {
    font-size: var(--fs-18);
  }

  .video-book-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
  }

  .video-book-media {
    flex: 1;
    max-width: 50%;
  }

  .video-book-frame {
    max-width: 100%;
  }

  .video-book-ctas {
    flex-direction: row;
    align-items: center;
    gap: var(--space-24);
  }

  .video-book-link {
    font-size: var(--fs-18);
  }

}

@media (min-width: 1080px) {
  .video-book-section .video-book-content {
    gap: var(--space-96);
  }

  .video-book-text h3 {
    font-size: var(--fs-48);
  }

  .video-book-specs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Press credits between the hero and the Video Book section. */
.press-strip {
  position: relative;
  z-index: 1;
  /* More space under the logos than over the label: the label takes the top of the strip,
     so equal padding left the logos low in it. */
  padding: .875rem 1.5rem 1.75rem;
  background: #fff;
  border-block: 1px solid #ece6df;
  color: var(--color-dark-secondary);
  font-size: .8125rem;
  font-weight: 550;
  text-align: center;
}

.press-strip-logos {
  --logo-gap: clamp(1.125rem, 4vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .65rem var(--logo-gap);
  max-width: 27rem;
  margin: var(--space-8) auto 0;
}

.press-strip img {
  width: calc((100% - 2 * var(--logo-gap)) / 3);
  max-width: 8rem;
  height: 1.55rem;
  object-fit: contain;
  filter: brightness(0);
  opacity: .84;
}

/* The USA Today SVG includes extra space around its wordmark. */
.press-strip img:last-child { height: 1.9rem; }

@media (min-width: 768px) {
  .press-strip-logos { max-width: none; flex-wrap: nowrap; }
}

/* As the hero scrolls away its content fades and goes soft in place. Nothing moves
   (Adam, 2026-11-18: no rising copy, no drifting wall or photos). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .homepage-root .hero { view-timeline-name: --hero-scroll; }
    /* The copy fades line by line as the hero scrolls away: each line fades and goes
       soft, the headline first and the rating row last. It works on phones too, where
       the copy wrapper has no box (display: contents) but its lines do. */
    .homepage-root .hero .initial-content > * {
      animation: hero-copy-away linear both;
      animation-timeline: --hero-scroll;
      animation-range: exit-crossing 0% exit-crossing 70%;
    }
    .homepage-root .hero .initial-content > .subhead { animation-range: exit-crossing 4% exit-crossing 74%; }
    .homepage-root .hero .initial-content > .hero-buttons { animation-range: exit-crossing 8% exit-crossing 78%; }
    .homepage-root .hero .initial-content > .hero-checks { animation-range: exit-crossing 12% exit-crossing 82%; }
    .homepage-root .hero .initial-content > .hero-trust { animation-range: exit-crossing 16% exit-crossing 86%; }
    /* The video wall softens with the copy: a little fade and blur as the hero leaves. */
    .homepage-root .hero .grid-container {
      animation: hero-wall-away linear both;
      animation-timeline: --hero-scroll;
      animation-range: exit-crossing 10% exit-crossing 100%;
    }
    .press-strip { view-timeline-name: --press-scroll; }
    .press-strip img {
      animation: press-logo-settle ease-out both;
      animation-timeline: --press-scroll;
      animation-range: entry 0% cover 30%;
    }
    .press-strip img:nth-of-type(even) { animation-range-end: cover 40%; }

    @keyframes hero-copy-away {
      0%, 25% { opacity: 1; filter: blur(0); }
      100% { opacity: 0.2; filter: blur(4px); }
    }
    @keyframes hero-wall-away {
      from { opacity: 1; filter: blur(0); }
      to { opacity: 0.55; filter: blur(3px); }
    }
    @keyframes press-logo-settle {
      from { translate: 0 .6rem; opacity: .7; }
      to { translate: 0 0; }
    }
  }
}

/* A strip of contributor frames overlaps the reaction photo. */
.homepage-root {
  --reaction-card-radius: 1rem;
}

/* A link inside running marketing copy: the text's own color, with a quiet underline. */
.copy-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.copy-link:hover { text-decoration-thickness: 2px; }

/* One line under the occasion cards that hands off to Tribute for Work below. */
.homepage-root .occasions-bridge {
  margin: var(--space-40) auto 0;
  padding: 0 var(--space-24);
  max-width: 36rem;
  text-align: center;
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-22);
  font-weight: var(--weight-light);
  line-height: 1.35;
  color: var(--stone-300);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .homepage-root .occasions-bridge { margin-top: 3.5rem; font-size: 1.625rem; }
}

/* Occasions runs straight into the Tribute for Work arch. Each painted its own copy of the
   colored glow field, so the two met at different tints. Occasions now fades to the plain
   dark at its foot, and the arch is that same plain dark, so they read as one surface.
   The bridge line sits close to the arch, with no empty band under it. */
.homepage-root .occasions-section { padding-bottom: var(--space-20) !important; }
.homepage-root .occasions-section::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 16rem;
  background: linear-gradient(to bottom, transparent, var(--occasions-work-bg-color));
  pointer-events: none;
}
.homepage-root .work-promo-arch::before { background-image: none; }
/* The section is white under the arch. A dark first few pixels stop a pale hairline from
   showing at the seam when the arch lands between device pixels. */
.homepage-root .work-promo {
  background: linear-gradient(to bottom, var(--occasions-work-bg-color) 0 4px, #fff 4px);
}
@media (min-width: 768px) {
  .homepage-root .occasions-section { padding-bottom: var(--space-32) !important; }
}
/* Where no Tribute for Work arch follows, the section ends like any other. */
.homepage-root .occasions-section.occasions-section--standalone { padding-bottom: var(--space-48) !important; }
@media (min-width: 768px) {
  .homepage-root .occasions-section.occasions-section--standalone { padding-bottom: var(--space-96) !important; }
}

.intro-section {
  /* The same warm lilac wash as How It Works, so the page has one family of light sections. */
  background-color: var(--color-mist);
  background-image:
    radial-gradient(ellipse at 12% 15%, #ffffffd9 0%, transparent 60%),
    radial-gradient(ellipse at 85% 30%, rgb(var(--rgb-peach) / 0.3), transparent 60%),
    radial-gradient(ellipse at 70% 95%, rgb(var(--rgb-apricot) / 0.28), transparent 60%);
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  color: var(--stone-850);
}

.intro-inner {
  display: grid;
  align-items: center;
  gap: var(--space-32);
  max-width: 76rem;
  margin-inline: auto;
}

.intro-copy h2 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-weight: var(--weight-regular);
  text-wrap: balance;
}

.intro-lead {
  max-width: 42ch;
  margin: var(--space-20) 0;
  color: var(--color-ink-muted);
}

.intro-example {
  display: inline-block;
  padding-block: .4rem;
  color: var(--brand-primary-light);
  font-weight: var(--weight-semibold);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.intro-photos {
  padding-left: 4%;
}

.intro-reaction {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--reaction-card-radius);
  filter: saturate(1.22) brightness(1.07);
}

.intro-messages {
  --film-rail: clamp(10px, 1.25vw, 16px);
  --film-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Cpath fill='%232a1a27' fill-rule='evenodd' d='M0 0h24v16H0z M9 4a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1z'/%3E%3C/svg%3E");
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(3px, .4vw, 6px);
  width: min(100%, 35rem);
  margin: -13% 0 0 -3%;
  padding: var(--film-rail) clamp(4px, .5vw, 8px);
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  background:
    var(--film-edge) top / auto var(--film-rail) round no-repeat,
    var(--film-edge) bottom / auto var(--film-rail) round no-repeat,
    linear-gradient(var(--color-plum-tile), var(--color-plum-tile)) center / 100% calc(100% - 2 * var(--film-rail)) no-repeat;
  transform: rotate(-2deg);
  box-shadow: 0 2px 4px #29211c24, 0 10px 18px -5px #29211c3a;
}

.intro-message {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .intro-inner {
    grid-template-columns: 2fr 3fr;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

/* Homepage pricing band. Card vocabulary is lifted from /pricing/ (pricing.css
   is not loaded here, so the values are mirrored rather than shared): white
   card, 1rem radius, 0 8px 20px shadow, yellow "Best Value!" pill, gradient
   button. */
.homepage-pricing {
  background-color: #ffffff;
  background-image:
    radial-gradient(at 15% 0%, rgb(var(--rgb-sky) / 0.18) 0px, transparent 55%),
    radial-gradient(at 85% 10%, rgba(236, 72, 153, 0.06) 0px, transparent 55%),
    radial-gradient(at 50% 100%, rgba(251, 191, 36, 0.09) 0px, transparent 60%);
  padding: 3.5rem var(--space-24) var(--space-64);
  text-align: center;
}

.homepage-pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.homepage-pricing-eyebrow {
  font-size: var(--fs-13);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--space-12);
}

.homepage-pricing h3 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-weight: var(--weight-medium);
  font-size: var(--fs-32);
  line-height: 1.2;
  color: var(--stone-850);
  margin-bottom: var(--space-12);
}

.homepage-pricing-lead {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--color-ink-muted);
  font-size: var(--fs-16);
  line-height: 1.7;
}

.homepage-pricing-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.75rem;
  text-align: left;
}

.homepage-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem var(--space-20);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.homepage-pricing-card--featured {
  z-index: 5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.homepage-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-celebration);
  color: #000000;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-pill);
  font-size: var(--fs-12);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.homepage-pricing-name {
  font-family: var(--font-ui);
  font-size: var(--fs-20);
  font-weight: var(--weight-medium);
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: var(--space-8);
}

.homepage-pricing-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-14);
}

.homepage-pricing-amount {
  font-size: var(--fs-40);
  font-weight: var(--weight-medium);
  color: #1a1a1a;
  line-height: 1.2;
}

.homepage-pricing-was {
  font-size: var(--fs-16);
  color: #888888;
  text-decoration: line-through;
}

.homepage-pricing-period {
  font-size: var(--fs-16);
  color: #888888;
}

.homepage-pricing-save {
  display: inline-flex;
  align-items: center;
  background: #000000;
  color: #ffffff;
  padding: 0.3125rem var(--space-12);
  border-radius: var(--radius-pill);
  font-size: var(--fs-11);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.homepage-pricing-copy {
  color: var(--text-muted);
  font-size: var(--fs-15);
  line-height: 1.6;
  margin-bottom: var(--space-24);
  text-wrap: pretty;
}

.homepage-pricing-button {
  display: block;
  margin-top: auto;
  padding: var(--space-14) var(--space-24);
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--stone-200);
  color: var(--stone-850);
  text-align: center;
  text-decoration: none;
  font-size: var(--fs-16);
  font-weight: var(--weight-semibold);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.homepage-pricing-button:hover {
  background: var(--stone-50);
  border-color: var(--stone-300);
}

.homepage-pricing-button--primary {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.homepage-pricing-button--primary:hover {
  background: var(--gradient-brand-hover);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.homepage-pricing-more {
  display: inline-block;
  margin-top: var(--space-32);
  color: var(--color-ink-muted);
  font-size: var(--fs-16);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.homepage-pricing-more:hover {
  color: var(--stone-850);
  text-decoration: none;
}

@media (min-width: 768px) {
  .homepage-pricing {
    padding: var(--space-80) var(--space-48) 5.5rem;
  }

  .homepage-pricing h3 {
    font-size: var(--fs-40);
  }

  .homepage-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: var(--space-24);
    margin-top: 3.5rem;
  }

  .homepage-pricing-card {
    padding: var(--space-32) var(--space-24);
  }
}

/* Legacy logo section (removed from homepage; keep rules for occasion pages if needed) */
.logo-section-wrapper {
  background: #C4D1E3;
  background-image:
    radial-gradient(at 20% 30%, rgba(171, 156, 164, 0.2) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(124, 106, 116, 0.16) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(171, 156, 164, 0.14) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(255, 255, 255, 0.3) 0px, transparent 50%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--stone-200);
  padding: var(--space-48) var(--space-24) var(--space-48);
}

.logo-section {
  padding: 0;
  max-width: 1125px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-48);
  position: relative;
  z-index: 1;
}

.logo-grid {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-24);
  align-items: center;
  justify-content: center;
  padding-left: 0;
  order: 2;
}

.logo-grid img {
  width: 120px;
  height: 24px;
  object-fit: contain;
  filter: saturate(0) brightness(0.75) sepia(0.75) hue-rotate(180deg) saturate(0.5);
  transition: filter var(--transition-fast);
  cursor: pointer;
}

.logo-grid img.active,
.logo-grid img:hover {
  filter: saturate(1) brightness(1);
}

.quote-section {
  flex: 3;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 150px;
  order: 1;
}

.quote-icon {
  position: absolute;
  width: 300px;
  height: 300px;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: color-burn;
}

.quote-icon-top {
  top: -100px;
  left: -100px;
  transform: rotate(180deg) scaleX(-1);
}

.quote {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.quote.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.quote-text {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-24);
  line-height: 1.3;
  margin-bottom: var(--space-24);
  color: var(--text);
  position: relative;
  z-index: 1;
}

.quote-author {
  font-size: var(--fs-16);
  color: #1a1a1a;
  font-weight: var(--weight-medium);
}

.quote-company {
  font-size: var(--fs-14);
  color: var(--stone-400);
}

@media (min-width: 768px) {
  .logo-section-wrapper {
    padding: 0;
  }

  .logo-section {
    padding: var(--space-96) 0;
    flex-direction: row;
    align-items: center;
    gap: var(--space-96);
  }

  .logo-grid {
    flex-direction: column;
    gap: var(--space-48);
    padding-left: var(--space-48);
    order: 2;
  }

  .logo-grid img {
    width: 200px;
    height: 40px;
  }

  .quote-section {
    order: 1;
    min-height: 200px;
  }

  .quote-icon {
    width: 600px;
    height: 600px;
  }

  .quote-icon-top {
    top: -150px;
    left: -150px;
  }

  .quote-text {
    font-size: var(--fs-40);
    margin-bottom: 2.75rem;
  }

  .quote-author {
    font-size: var(--fs-18);
  }

  .quote-company {
    font-size: var(--fs-16);
  }
}

/* Facebook reviews styles */
/* Mobile-first reviews section */
.reviews-section {
  position: relative;
  padding: var(--space-48) var(--space-24);
  max-width: 2400px;
  background: linear-gradient(135deg, #e7edf3 0%, #f2e5ed 25%, #faf5ec 50%, #f6e9cf 75%, #e7edf3 100%);
  background-size: 200% 200%;
}

/* On the homepage, pricing follows the reviews: the wash fades into the same ivory pricing
   starts on, so the two light sections hand off cleanly instead of meeting as near-matches. */
.homepage-root .reviews-section {
  background:
    linear-gradient(180deg, transparent calc(100% - 10rem), var(--color-cream) 100%) 0 0 / 100% 100% no-repeat,
    linear-gradient(135deg, #e7edf3 0%, #f2e5ed 25%, #faf5ec 50%, #f6e9cf 75%, #e7edf3 100%) 0 0 / 200% 200%;
}
/* Give homepage section titles a little more weight on small screens. */
@media (max-width: 767px) {
  .homepage-root :is(
    .reviews-header h2,
    .intro-copy h2,
    .how-it-works-header h3,
    .video-book-heading,
    .tears-info h2,
    .advanced-editor-heading h2,
    #homepage-pricing-title,
    .keepsakes-text h3,
    .faq-left h3,
    .occasions-content h3,
    .work-promo-title,
    .ideas-title
  ) {
    font-weight: var(--weight-medium);
  }
}

/* Mobile: consistent section padding and heading styles across v3 homepage + occasion pages */
@media (max-width: 767px) {
  .reviews-section,
  .how-it-works,
  .logo-section-wrapper,
  .tears-section,
  .occasions-section,
  .ideas-section,
  .keepsakes-section,
  .faq-section {
    padding-block: var(--space-48);
    padding-inline: var(--space-24);
  }
  .reviews-header h2,
  .reviews-header h3,
  .how-it-works-header h3,
  .faq-left h2,
  .faq-left h3,
  .keepsakes-text h3,
  .occasions-content h3,
  .ideas-title,
  .occasion-group-gift__title,
  .occasion-section-title,
  .occasion-alt-title {
    font-size: var(--fs-32);
    font-weight: var(--weight-regular);
    font-family: var(--font-display);
    font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  }
}

.reviews-header {
  width: 100%;
  max-width: 768px;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

@media (min-width: 768px) {
  .reviews-header {
    margin-left: auto;
    text-align: right;
  }
}

.reviews-header h2,
.reviews-header h3 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  line-height: 1.2;
  margin-bottom: var(--space-16);
  color: var(--text);
  font-weight: var(--weight-regular);
}

.reviews-header p {
  margin-bottom: var(--space-32);
  color: var(--text-body);
  font-size: var(--fs-15);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .reviews-section {
    padding: var(--space-96) var(--space-48);
  }

  .reviews-header h2,
  .reviews-header h3 {
    font-size: var(--fs-52);
    line-height: 1.1;
    margin-bottom: var(--space-24);
  }

  .reviews-header p {
    margin-bottom: var(--space-48);
    font-size: var(--fs-18);
  }
}

.reviews-grid {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
  max-height: 700px;
  /* Mask gradient to fade bottom into background - starts fading at blue line */
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

@media (min-width: 1280px) {
  .reviews-grid {
    position: relative;
    z-index: 9;
    margin-bottom: var(--space-32);
    margin-left: auto;
    margin-right: auto;
    max-height: 750px;
  }
}

/* Macy will handle the layout, but ensure cards don't stretch */
.reviews-grid .review-card {
  width: 100%;
}

.review-card {
  border-radius: var(--radius-card);
  padding: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
  height: auto;
  contain: layout style;
  will-change: transform;
}

.review-card:hover {
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .review-card {
    padding: var(--space-24);
    gap: var(--space-16);
  }
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.review-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .review-avatar {
    width: 60px;
    height: 60px;
  }
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.review-avatar .facebook-avatar-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
}

.review-meta {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-14);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .review-meta {
    font-size: var(--fs-16);
  }
}

.review-author {
  font-weight: var(--weight-semibold);
  color: var(--text);
  margin-bottom: var(--space-4);
}

.review-date {
  color: #65676b;
}

.review-stars {
  color: var(--color-star);
  font-size: var(--fs-16);
  letter-spacing: 1px;
  display: flex;
  gap: var(--space-2);
}

.review-text {
  font-size: var(--fs-14);
  line-height: 1.4;
  color: var(--color-dark-secondary);
  margin: 0;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-32);
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .review-text {
    font-size: var(--fs-16);
  }
}

/* Mobile-first reviews footer */
.reviews-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: flex-start;
}

.facebook-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
  align-items: flex-start;
}

.facebook-logo {
  height: 20px;
}

.facebook-rating {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.rating-stars {
  color: var(--color-star);
  font-size: var(--fs-16);
  letter-spacing: 1px;
}

.rating-text {
  font-weight: var(--weight-semibold);
  color: var(--text);
  font-size: var(--fs-14);
}

.rating-count {
  color: var(--text-subtle);
  font-size: var(--fs-13);
  line-height: 1.4;
}

.review-nav {
  display: flex;
  gap: var(--space-12);
  align-self: flex-end;
}

.review-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: var(--color-dark);
  font-size: var(--fs-16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .reviews-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-32);
  }

  .facebook-info {
    flex-direction: row;
    align-items: center;
    gap: var(--space-12);
    width: auto;
    flex: 1;
  }

  .facebook-logo {
    height: 24px;
  }

  .facebook-rating {
    gap: var(--space-8);
  }

  .rating-stars {
    font-size: var(--fs-20);
  }

  .rating-text {
    font-size: var(--fs-16);
  }

  .rating-count {
    font-size: var(--fs-14);
    margin-left: var(--space-8);
  }

  .review-nav {
    gap: var(--space-12);
    align-self: auto;
    flex-shrink: 0;
  }

  .review-nav-btn {
    width: 48px;
    height: 48px;
  }
}

.review-nav-btn {
  transition: all var(--transition-fast);
}

.review-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* How it works styles */
/* Mobile-first how it works section */
.how-it-works {
  position: relative;
  padding: var(--space-48) var(--space-24) var(--space-48);
  background: var(--color-deep);
  background-image: var(--atmosphere-image);
  border-top: 1px solid var(--color-dark-secondary);
}

.how-it-works-content {
  max-width: 1125px;
  margin: 0 auto;
}

.how-it-works-header {
  width: 100%;
  max-width: 768px;
  margin: 0 auto var(--space-32);
  text-align: center;
}

.how-it-works-header h3 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  line-height: 1.2;
  margin-bottom: var(--space-16);
  color: #ffffff;
  font-weight: var(--weight-regular);
}

.how-it-works-header p {
  color: var(--stone-300);
  font-size: var(--fs-15);
  line-height: 1.5;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  align-items: stretch;
  margin-bottom: 0;
}

.steps {
  flex: 1;
  max-width: 100%;
  position: relative;
  order: 1;
}

.step {
  padding: var(--space-24) 0;
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
}

.step.active {
  opacity: 1;
}

.step[data-step='3']::before {
  display: none;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #A3C1F0;
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-16);
  font-weight: var(--weight-semibold);
  margin-top: 4px;
  z-index: 2;
  flex-shrink: 0;
}

/* Keep previous steps visible */
.step>div {
  opacity: 0.25;
  cursor: pointer;
  transition: all var(--transition-base);
}

/* Make current and previous steps fully visible */
.step.active>div,
.step:has(~ .step.active)>div {
  opacity: 1;
}

.step-content {
  flex: 1;
}

.step h4 {
  font-size: var(--fs-20);
  font-weight: var(--weight-medium);
  color: #ffffff;
  margin-bottom: var(--space-8);
}

.step p {
  color: var(--stone-400);
  font-size: var(--fs-14);
  line-height: 1.5;
}

.step-image {
  flex: 1;
  position: relative;
  height: 450px;
  min-height: 450px;
  max-width: 100%;
  width: 100%;
  order: 2;
  margin-top: var(--space-16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-image img,
.step-image .step-image-wrapper {
  width: 100% !important;
  max-width: 100%;
}

.step-image img,
.step-image .step-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(1rem);
  transition: all var(--transition-base);
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}

.step-image img.active,
.step-image .step-image-wrapper.active {
  opacity: 1;
  transform: translateY(0);
}

/* Step 3 video and frame positioning */
.step-image-wrapper {
  position: relative;
}

.step-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(50% + 1.75rem);
  height: auto;
  object-fit: cover;
  z-index: 1;
}

.step-phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 4;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.step-video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(50% + 1.75rem);
  height: auto;
  aspect-ratio: 9 / 16;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.step-video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.step-video-play-overlay svg {
  margin-left: 4px;
}

.steps .start-btn-wrapper {
  display: inline-flex;
  padding: var(--space-16) var(--space-32) 0;
  z-index: 10;
}

.how-it-works-cta {
  margin-top: var(--space-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .how-it-works {
    padding: var(--space-96) var(--space-48) var(--space-96);
  }

  .how-it-works-header {
    margin: 0 auto var(--space-24);
  }

  .how-it-works-header h3 {
    font-size: var(--fs-52);
    line-height: 1.1;
    margin-bottom: var(--space-20);
  }

  .how-it-works-header p {
    font-size: var(--fs-18);
  }

  .steps-container {
    flex-direction: row;
    gap: var(--space-96);
    align-items: center;
    margin-bottom: 0;
  }

  .steps {
    max-width: 50%;
    order: 1;
  }

  .step {
    padding: var(--space-32) 0;
    gap: 20px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: var(--fs-18);
    margin-top: 9px;
  }

  .step h4 {
    font-size: var(--fs-24);
    margin-bottom: 0;
  }

  .step p {
    font-size: var(--fs-16);
  }

  .step-image {
    height: 600px;
    min-height: 600px;
    max-width: 50%;
    width: auto;
    order: 2;
    margin-top: 0;
  }

  .step-video-bg {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
  }

  .step-video-overlay {
    width: 50%;
  }

  /* On desktop, only show active image/wrapper */
  .step-image img[data-step="1"] {
    opacity: 0;
  }

  .step-image img.active,
  .step-image .step-image-wrapper.active {
    opacity: 1;
  }

  .how-it-works-cta {
    margin-top: var(--space-64);
  }
}

/* 8M videos stat badge in hero - replaces second CTA on video book slide */
.hero-videos-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: auto;
  flex-shrink: 0;
}

.hero-videos-stat .videos-stat-flower {
  width: 28px;
  height: 34px;
  background: linear-gradient(180deg, #FFDAB9 0%, #FFFACD 100%);
}

.hero-videos-stat .videos-stat-number {
  font-size: var(--fs-14);
  font-family: var(--font-ui);
  background: linear-gradient(90deg, #FFDAB9 0%, #FFFACD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-videos-stat .videos-stat-over {
  font-size: var(--fs-10);
  font-weight: var(--weight-medium);
}

.hero-videos-stat .videos-stat-sent {
  font-size: var(--fs-10);
  font-weight: var(--weight-medium);
}

@media (min-width: 768px) {
  .hero-videos-stat {
    gap: 0.4rem;
  }

  .hero-videos-stat .videos-stat-flower {
    width: 40px;
    height: 48px;
  }

  .hero-videos-stat .videos-stat-over {
    font-size: var(--fs-10);
  }

  .hero-videos-stat .videos-stat-number {
    font-size: var(--fs-20);
  }

  .hero-videos-stat .videos-stat-sent {
    font-size: var(--fs-10);
  }
}

/* 8M videos stat badge - larger version of CreateTributeModal graphic (how-it-works - now removed) */
.videos-stat-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-32);
}

.videos-stat-flower {
  width: 48px;
  height: 58px;
  flex-shrink: 0;
  opacity: 0.9;
  background: linear-gradient(180deg, #E8C547 0%, #F5D76E 100%);
}

.videos-stat-flower-left {
  mask: url("/static/v3/images/tribute/flowers-left.d64a82524bc8.svg") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("/static/v3/images/tribute/flowers-left.d64a82524bc8.svg") no-repeat center;
  -webkit-mask-size: contain;
}

.videos-stat-flower-right {
  mask: url("/static/v3/images/tribute/flowers-right.7be8146d5875.svg") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("/static/v3/images/tribute/flowers-right.7be8146d5875.svg") no-repeat center;
  -webkit-mask-size: contain;
}

.videos-stat-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-ui);
}

.videos-stat-over {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ffffff;
}

.videos-stat-number {
  font-size: var(--fs-24);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  color: #F5D76E;
  font-family: var(--font-ui);
  margin: -2px 0;
}

.videos-stat-sent {
  font-size: var(--fs-10);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ffffff;
}

@media (min-width: 768px) {
  .videos-stat-badge {
    gap: var(--space-16);
    margin-bottom: var(--space-40);
  }

  .videos-stat-flower {
    width: 80px;
    height: 96px;
  }

  .videos-stat-over {
    font-size: var(--fs-14);
  }

  .videos-stat-number {
    font-size: var(--fs-40);
  }

  .videos-stat-sent {
    font-size: var(--fs-12);
  }
}

/* Mobile-first Tears of joy section */
.tears-simple-content {
  max-width: 1125px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  align-items: stretch;
}

.tears-image-wrapper {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  min-height: 250px;
  position: relative;
  width: 100%;
  order: 1;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.tears-image-wrapper:hover {
  transform: scale(1.02);
}

.tears-image-wrapper:hover .play-overlay {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.tears-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  z-index: 0;
}

.tissue-box {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 80px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  z-index: 2;
}

/* Larger play button specifically for tears section */
.tears-image-wrapper .play-overlay {
  width: 72px;
  height: 72px;
  z-index: 3;
}

.tears-image-wrapper .play-overlay svg {
  width: 40px;
  height: 40px;
}

.tears-image-wrapper .play-overlay svg path {
  stroke: white;
  stroke-width: 1;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.tears-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  order: 2;
}

.stat-number {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: 3.5rem;
  line-height: 1;
  font-weight: var(--weight-medium);
  background: var(--gradient-display-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-description {
  font-size: var(--fs-20);
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: var(--space-24);
}

.tears-description {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.tears-description p {
  font-size: var(--fs-15);
  line-height: 1.5;
  color: var(--stone-300);
  margin: 0;
}

.tears-cta {
  margin-top: var(--space-40);
  display: flex;
  justify-content: center;
  width: 100%;
}

.tears-cta .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
}

@media (min-width: 768px) {
  .tears-simple-content {
    position: relative;
    flex-direction: row;
    gap: var(--space-64);
    align-items: center;
    z-index: 9;
  }

  .tears-image-wrapper {
    border-radius: var(--radius-sm);
    min-height: 400px;
    order: 1;
  }

  /* Even larger play button on desktop */
  .tears-image-wrapper .play-overlay {
    width: 96px;
    height: 96px;
  }

  .tears-image-wrapper .play-overlay svg {
    width: 48px;
    height: 48px;
  }

  .tears-image-wrapper .play-overlay svg path {
    stroke-width: 1.5;
  }

  .tears-bg-video {
    border-radius: var(--radius-sm);
  }

  .tissue-box {
    bottom: -1.5rem;
    right: -1.5rem;
    width: 128px;
  }

  .tears-info {
    order: 2;
  }

  .stat-number {
    font-size: 6rem;
  }

  .stat-description {
    font-size: var(--fs-24);
    line-height: 1.25;
    margin-bottom: var(--space-32);
  }

  .tears-description {
    gap: var(--space-24);
  }

  .tears-description p {
    font-size: var(--fs-18);
  }

  .tears-cta {
    margin-top: var(--space-80);
  }
}

/* Mobile-first Occasions section */
.occasions-section {
  overflow: hidden;
  background-color: var(--occasions-work-bg-color);
  background-image: var(--occasions-work-bg-image);
  padding: var(--space-48) 0;
  border-top: 1px solid var(--color-dark-secondary);
  position: relative;
}

.plane-background-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 182px;
  height: 274px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  transform: none !important;
}

.occasions-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.occasions-content h3 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  line-height: 1.2;
  padding: 0 var(--space-24);
  margin-bottom: var(--space-32);
  font-weight: var(--weight-regular);
  text-align: center;
}

.occasions-content h3 .white-text {
  color: var(--text);
}

.occasions-content h3 .gradient-text {
  background: var(--gradient-display-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.occasions-grid {
  display: flex;
  flex-direction: row;
  gap: var(--space-16);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}

.occasions-grid::-webkit-scrollbar {
  display: none;
}

.occasion-card {
  position: relative;
  padding: var(--space-24);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  contain: layout style;
  will-change: transform;
  width: 75vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.occasion-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0) 42%,
    rgba(0, 0, 0, 0.04) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.occasion-card > * {
  position: relative;
  z-index: 1;
}

.occasion-card:first-child {
  margin-left: var(--space-24);
}

.occasion-card:last-child {
  margin-right: var(--space-24);
}

/* Gradient backgrounds based on icon colors - lighter, with lighter color top-right */
.occasion-card[data-occasion="birthdays"] {
  background: linear-gradient(315deg, #fff5f5 0%, #fffbf0 100%);
}

.occasion-card[data-occasion="weddings"] {
  background: linear-gradient(315deg, #fff0f5 0%, #fef7ff 100%);
}

.occasion-card[data-occasion="anniversaries"] {
  background: linear-gradient(315deg, #f0fdf4 0%, #dcfce7 100%);
}

.occasion-card[data-occasion="retirements"] {
  background: linear-gradient(315deg, #eff6ff 0%, #dbeafe 100%);
}

.occasion-card[data-occasion="memory"] {
  background: linear-gradient(315deg, #faf5ff 0%, #f3e8ff 100%);
}

.occasion-card[data-occasion="graduations"] {
  background: linear-gradient(315deg, #faf5ff 0%, #e9d5ff 100%);
}

.occasion-card[data-occasion="teacher"] {
  background: linear-gradient(315deg, #fff7ed 0%, #ffedd5 100%);
}

.occasion-card[data-occasion="promotions"] {
  background: linear-gradient(315deg, #fffbeb 0%, #fef3c7 100%);
}

.occasion-card[data-occasion="getwell"] {
  background: linear-gradient(315deg, #fef2f2 0%, #fee2e2 100%);
}

.occasion-card[data-occasion="baby"] {
  background: linear-gradient(315deg, #f0f9ff 0%, #fffbf0 100%);
}

.occasion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.occasion-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-16);
  position: relative;
  transition: transform var(--transition-base);
}

.occasion-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--transition-base);
}

.occasion-icon .icon-default {
  opacity: 1;
}

.occasion-icon .icon-hover {
  opacity: 0;
}

/* Scale icon container on hover */
.occasion-card:hover .occasion-icon {
  transform: scale(1.15);
}

/* If animated version exists, swap it on hover */
.occasion-card:hover .occasion-icon .icon-default {
  opacity: 0;
}

.occasion-card:hover .occasion-icon .icon-hover {
  opacity: 1;
}

/* If no animated version exists, keep default visible and it will scale with the container */
.occasion-icon.no-animated .icon-hover {
  display: none !important;
}

.occasion-card:hover .occasion-icon.no-animated .icon-default {
  opacity: 1;
}

.occasion-card h4 {
  font-size: var(--fs-18);
  font-weight: var(--weight-semibold);
  color: var(--text);
  margin-bottom: var(--space-8);
  line-height: 1.3;
}

.occasion-description {
  font-size: var(--fs-15);
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Desktop and tablet - restore grid layout */
@media (min-width: 768px) {
  .occasions-section {
    padding: var(--space-96) var(--space-48) !important;
  }

  .occasions-content h3 {
    font-size: 3.125rem !important;
    line-height: 1.15 !important;
    margin-bottom: var(--space-48) !important;
    padding: 0;
  }

  .occasions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-16);
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
    align-items: stretch;
  }

  .occasion-card {
    width: auto;
    flex-shrink: 1;
    scroll-snap-align: none;
  }

  .occasion-card:first-child {
    margin-left: 0;
  }

  .occasion-card:last-child {
    margin-right: 0;
  }

  .occasion-card h4 {
    font-size: var(--fs-20);
  }

  .occasion-description {
    font-size: var(--fs-15);
  }
}

/* Mobile sticky CTA bar. The page reserves no space for it: the bar hides once the footer
   CTA comes into view (homepage.js), so it never covers the end of the page, and reserved
   space showed as a cream strip under the dark footer. */
@media (max-width: 767px) {
  /* Sit support FAB above the fixed Start CTA when the bar is visible */
  body.homepage-root:has(.mobile-sticky-cta:not(.is-hidden)) #support-widget {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.mobile-sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  /* Cream frost on the light page, like the scrolled nav. */
  background: rgba(251, 248, 243, 0.94);
  border-top: 1px solid rgb(var(--rgb-ink) / 0.08);
  box-shadow: 0 -4px 16px rgb(var(--rgb-shadow) / 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* visibility flips instantly on the way in, and only after the slide out */
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s;
}

/* visibility (not just opacity) so the off-screen link leaves the tab order
   and the accessibility tree -- otherwise keyboard focus lands on a bar the
   user cannot see. */
.mobile-sticky-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-sticky-cta,
  .mobile-sticky-cta.is-hidden {
    transition: none;
  }
}

.mobile-sticky-cta .primary-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .mobile-sticky-cta {
    display: none !important;
  }

  body.homepage-root {
    padding-bottom: 0;
  }
}

/* Tablet - 3 columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .occasions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large desktop - 4 columns */
@media (min-width: 1024px) and (max-width: 1399px) {
  .occasions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop - 5 columns */
@media (min-width: 1400px) {
  .occasions-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Ideas Section */
.ideas-section {
  /* A calm warm ground between the two dark sections around it: ivory to linen, with a soft
     white light behind the cards and a little warmth at the corners (as in pricing). */
  background:
    radial-gradient(ellipse 65% 50% at 50% 55%, rgba(255, 255, 255, 0.85), transparent 72%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(247, 205, 170, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 40% at 100% 0%, rgb(var(--rgb-peach) / 0.16), transparent 70%),
    linear-gradient(180deg, var(--color-cream) 0%, var(--color-linen) 100%);
  padding: 3rem 0;
}

.ideas-content {
  max-width: 1125px;
  margin: 0 auto;
}

.ideas-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: 1.75rem;
  /* Match .reviews-header h3 / other Fraunces section titles on light backgrounds */
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

.ideas-subtitle {
  padding: 0 var(--space-24);
  margin-top: var(--space-8);
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-ink-muted);
  font-size: var(--fs-15);
  line-height: 1.5;
  max-width: 42rem;
  text-align: center;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.ideas-title-light {
  color: var(--stone-400);
  font-weight: var(--weight-regular);
}

@media (max-width: 767px) {
  .ideas-title {
    font-size: var(--fs-32);
  }
  .ideas-subtitle {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
    box-sizing: border-box;
  }
}

.ideas-grid {
  display: flex;
  flex-direction: row;
  gap: var(--space-16);
  margin-top: var(--space-32);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}

.ideas-grid::-webkit-scrollbar {
  display: none;
}

.idea-card:first-child {
  margin-left: var(--space-24);
}

.idea-card:last-child {
  margin-right: var(--space-24);
}

.idea-card {
  display: block;
  text-decoration: none;
  padding: var(--space-24);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base);
  position: relative;
  background: var(--color-white);
  width: 75vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  contain: layout style;
  will-change: transform;
}

.idea-card:hover {
  transform: translateY(-4px);
}

.idea-card-blue {
  background: #ffffff;
}

.idea-card-red {
  background: #ffffff;
}

.idea-card-yellow {
  background: #ffffff;
}

/* Custom stack colors for yellow card (Video Book) */
.idea-card-red .idea-card-image-bg2 {
  background: #f0e6d8; /* Light warm beige */
}

.idea-card-red .idea-card-image-bg1 {
  background: #e3d5c3; /* Medium warm tan */
}

.idea-card-yellow .idea-card-image-bg2 {
  background: #f5f0e8; /* Light beige */
}

.idea-card-yellow .idea-card-image-bg1 {
  background: #e8dcc8; /* Medium tan */
}

.idea-card-gray {
  background: #ffffff;
}

.idea-card-gray .idea-card-title {
  color: var(--text);
}

.idea-card-gray .idea-card-description {
  color: var(--text-muted);
}

.idea-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-32);
}

.idea-card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  background: #000000;
  color: #ffffff;
  padding: var(--space-6) var(--space-14);
  border-radius: var(--radius-pill);
  font-size: var(--fs-10);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
}

.idea-card-badge svg {
  width: 14px;
  height: 14px;
}

.idea-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #000000;
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
}

.idea-card-image-container {
  margin-bottom: var(--space-24);
  position: relative;
}

.idea-card-image-stack {
  position: relative;
  width: 100%;
  padding-top: 60%;
}

.idea-card-image {
  position: absolute;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
}

.idea-card-image-bg2 {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: var(--stone-200);
}

.idea-card-image-bg1 {
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 100%;
  background: var(--stone-300);
}

.idea-card-image-main {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark-secondary);
  overflow: hidden;
}

.idea-card-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.idea-card-title {
  font-weight: var(--weight-medium);
  color: var(--text);
  margin-bottom: var(--space-8);
  line-height: 1.2;
}

.idea-card-description {
  font-size: var(--fs-15);
  color: var(--color-ink-muted);
  line-height: 1.5;
}

.idea-card-simple .idea-card-header {
  margin-bottom: var(--space-24);
}

.idea-card-simple .idea-card-title {
  margin-bottom: var(--space-4);
}

.idea-card-featured {
  background: var(--color-dark) !important;
  /* The homepage sets --idea-featured-image to a WebP Wagtail rendition when one exists. */
  background-image: var(--idea-featured-image, url("../../images/homepage/idea-birthday-wishes.428f80861eeb.webp")) !important;
  background-size: cover !important;
  background-position: center;
  background-repeat: no-repeat;
  grid-column: span 2;
  position: relative;
}

.idea-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgb(var(--rgb-ink) / 0.9) 0%, transparent 100%);
  border-radius: inherit;
  z-index: 0;
}

.idea-card-featured .idea-card-header,
.idea-card-featured .idea-card-featured-content {
  position: relative;
  z-index: 1;
}

.idea-card-featured .idea-card-title {
  color: #ffffff;
}

.idea-card-featured .idea-card-description {
  color: #ffffff;
  opacity: 0.8;
}

.idea-card-badge-light {
  background: #ffffff;
  color: #000000;
}

.idea-card-arrow-light {
  background: #ffffff;
  color: #000000;
}

.idea-card-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .ideas-section {
    padding: var(--space-96) var(--space-48);
  }

  .ideas-title {
    font-size: var(--fs-48);
    padding: 0;
  }

  .ideas-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-16);
    margin-top: var(--space-64);
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
  }

  .idea-card {
    padding: var(--space-32);
    width: auto;
    flex-shrink: 1;
    scroll-snap-align: none;
  }

  .idea-card:first-child {
    margin-left: 0;
  }

  .idea-card:last-child {
    margin-right: 0;
  }

  .idea-card-image-container {
    margin-bottom: var(--space-32);
  }

  .idea-card-description {
    font-size: var(--fs-16);
  }

  .idea-card:nth-child(1),
  .idea-card:nth-child(2),
  .idea-card:nth-child(3) {
    grid-column: span 4;
  }

  .idea-card:nth-child(4) {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .idea-card:nth-child(5) {
    grid-column: 4 / 7;
    grid-row: 2;
  }

  .idea-card-featured {
    grid-column: 7 / 13;
    grid-row: 2;
  }
}

/* Keepsakes section */
/* Mobile-first keepsakes section */
.keepsakes-section {
  position: relative;
  padding: var(--space-64) var(--space-24);
  background: var(--color-deep);
  background-image: var(--atmosphere-image);
  border-top: 1px solid var(--color-dark-secondary);
  overflow: hidden;
}

.keepsakes-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  height: 100%;
}

.keepsakes-text {
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
  padding: var(--space-32) 0;
}

.keepsakes-text h3 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  line-height: 1.2;
  margin-bottom: var(--space-16);
  font-weight: var(--weight-regular);
}

.keepsakes-text h3 .white-text {
  color: var(--text);
}

.keepsakes-text h3 .gradient-text {
  background: var(--gradient-display-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.keepsakes-text p {
  font-size: var(--fs-15);
  color: var(--text-body);
  margin-bottom: var(--space-24);
  max-width: 100%;
  line-height: 1.5;
}

.keepsakes-buttons {
  display: flex;
  gap: var(--space-16);
  justify-content: center;
}

.keepsakes-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
  pointer-events: none;
}

.keepsakes-image {
  position: absolute;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: transparent;
  will-change: transform;
}

.keepsakes-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Position the images for mobile */
.keepsakes-image-dvd {
  left: -30px;
  top: 15%;
  width: 140px;
  height: 140px;
}

.keepsakes-image-usb {
  left: -20px;
  bottom: 15%;
  width: 160px;
  height: 160px;
}

.keepsakes-image-book {
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
}

@media (min-width: 768px) {
  .keepsakes-section {
    padding: 14rem var(--space-48);
  }

  .keepsakes-text {
    max-width: 600px;
    margin: 0 auto 0;
  }

  .keepsakes-images {
    position: relative;
    height: auto;
    margin-top: 0;
    pointer-events: auto;
  }

  .keepsakes-text h3 {
    font-size: var(--fs-52);
    line-height: 1.1;
    margin-bottom: var(--space-20);
  }

  .keepsakes-text p {
    font-size: var(--fs-20);
    margin-bottom: var(--space-32);
  }

  .keepsakes-images {
    height: auto;
    margin-top: 0;
  }

  .keepsakes-image-dvd {
    left: 0;
    top: 100px;
    width: 300px;
    height: 300px;
  }

  .keepsakes-image-usb {
    left: 0;
    bottom: 100px;
    width: 350px;
    height: 350px;
  }

  .keepsakes-image-book {
    right: 0;
    top: 150px;
    width: 500px;
    height: 500px;
    transform: none;
  }
}

/* FAQ section */
/* Mobile-first FAQ section */
.faq-section {
  padding-block: var(--space-48);
  padding-inline: var(--space-24);
  background: #fff;
  border-top: 1px solid var(--rule);
}

.faq-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.faq-left {
  flex: 1;
  height: fit-content;
  order: 1;
}

.faq-left h2,
.faq-left h3 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  line-height: 1.2;
  margin-bottom: var(--space-24);
  font-weight: var(--weight-regular);
}

.support-card {
  background: var(--color-deep);
  background-image: var(--atmosphere-image);
  color: white;
  padding: var(--space-24);
  border-radius: var(--radius-card);
}

.homepage-root .support-card,
body.pricing-page .support-card {
  /* The deep plum of the hero tiles: a rosier glow at the top, warm amber at the foot. */
  background-color: var(--color-plum-tile);
  background-image:
    radial-gradient(ellipse 90% 80% at 90% 0%, rgba(150, 78, 140, 0.45), transparent 70%),
    radial-gradient(ellipse 80% 70% at 0% 100%, rgba(232, 168, 64, 0.18), transparent 70%),
    linear-gradient(165deg, #3a2034 0%, var(--color-plum-tile) 55%, #221822 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 4px rgba(42, 26, 39, 0.12), 0 16px 36px rgba(42, 26, 39, 0.18);
}
/* Wider screens: a narrower left column that stays pinned while the questions scroll, then
   lifts away (fade, blur, rise) as the section ends, like the hero copy. The homepage and
   /pricing/ share it (Adam, 2026-11-19). */
@media (min-width: 768px) {
  :is(.homepage-root, .pricing-page) .faq-content { gap: var(--space-64); align-items: flex-start; }
  :is(.homepage-root, .pricing-page) .faq-left {
    flex: 0 0 min(34%, 26rem);
    position: sticky;
    top: calc(var(--nav-height) + 2.5rem);
  }
  .homepage-root .support-card p { font-size: var(--fs-18); }
}
@supports (animation-timeline: view()) {
  @media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    :is(.homepage-root, .pricing-page) .faq-section { view-timeline-name: --faq; }
    :is(.homepage-root, .pricing-page) .faq-left {
      animation: faq-left-away linear both;
      animation-timeline: --faq;
      animation-range: exit 0% exit 38%;
    }
    @keyframes faq-left-away {
      0%, 20% { opacity: 1; filter: blur(0); translate: 0 0; }
      100% { opacity: 0; filter: blur(6px); translate: 0 -2rem; }
    }
  }
}

.support-card p {
  font-size: var(--fs-15);
  margin-bottom: var(--space-16);
  line-height: 1.5;
}

.contact-btn {
  background: white;
  color: var(--color-dark);
  border: none;
  padding: var(--space-12) var(--space-20);
  border-radius: var(--radius-button);
  font-weight: var(--weight-medium);
  font-size: var(--fs-14);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  transition: background var(--transition-base), transform var(--transition-base);
  width: fit-content;
  text-decoration: none;
}

.contact-btn:hover {
  background: var(--color-gray-light);
  transform: translateY(-2px);
}

.faq-right {
  flex: 1;
  order: 2;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border-bottom: 1px solid var(--rule);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-16) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--fs-16);
  color: var(--text-body);
  transition: color var(--transition-base), transform var(--transition-base);
}

.accordion-header:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.accordion-icon {
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-16);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* The question is a heading for screen-reader navigation; it must not change
   how the button looks. */
.accordion-heading {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  /* visibility, not just max-height, so a collapsed answer leaves the
     accessibility tree -- otherwise aria-expanded="false" contradicts what a
     screen reader still reads out. Flips in instantly, out after the slide. */
  visibility: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, visibility 0s linear 0.3s;
}

.accordion-item.active .accordion-content {
  max-height: 1600px;
  padding-bottom: var(--space-16);
  visibility: visible;
  transition: max-height var(--transition-base), padding var(--transition-base), visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .accordion-content,
  .accordion-item.active .accordion-content,
  .accordion-icon {
    transition: none;
  }
}

.accordion-content p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: var(--fs-14);
}

.accordion-content ul {
  margin: var(--space-12) 0 var(--space-12) var(--space-20);
  padding-left: var(--space-4);
  color: var(--text-muted);
  line-height: 1.6;
  font-size: var(--fs-14);
}

.accordion-content li {
  margin-bottom: 0.35rem;
}

@media (min-width: 768px) {
  .faq-section {
    padding-block: var(--space-96);
    padding-inline: var(--space-48);
  }

  .faq-content {
    flex-direction: row;
    gap: var(--space-96);
  }

  .faq-left {
    order: 1;
  }

  .faq-left h2,
  .faq-left h3 {
    font-size: var(--fs-64);
    line-height: 1.2;
    margin-bottom: var(--space-32);
  }

  .support-card {
    padding: var(--space-32);
    border-radius: var(--radius-sm);
  }

  .support-card p {
    font-size: var(--fs-20);
    margin-bottom: var(--space-24);
  }

  .contact-btn {
    padding: var(--space-12) var(--space-24);
    font-size: var(--fs-16);
  }

  .faq-right {
    order: 2;
  }

  .accordion {
    gap: var(--space-8);
  }

  .accordion-header {
    padding: var(--space-24) 0;
    font-size: var(--fs-20);
  }

  .accordion-icon {
    margin-left: 0;
  }

  .accordion-item.active .accordion-content {
    max-height: 1600px;
    padding-bottom: var(--space-24);
  }

  .accordion-content p {
    font-size: var(--fs-16);
  }

  .accordion-content ul {
    font-size: var(--fs-16);
  }
}

/* Footer padding to match other sections */
.footer-section {
  padding: var(--space-48) var(--space-24);
}

.footer-section .container.medium {
  padding: 0;
}

.footer-grid {
  padding: 0;
  align-items: start;
}

.footer-section .footer {
  padding: 0;
  margin: 0;
}

.footer-section .image-18 {
  margin-left: 0;
  margin-bottom: var(--space-24);
  width: 140px !important;
  height: auto !important;
  padding-top: 15px;
}

.footer-nav-wrapper,
.event-nav-wrapper {
  padding-top: 15px;
}

.social-link-container {
  padding-top: 15px;
}

@media (min-width: 768px) {
  .footer-section {
    padding: var(--space-64) var(--space-48);
  }

  .footer-section .image-18 {
    width: 160px !important;
  }
}

/* Social icons - remove backgrounds, just show icons */
.social-link {
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 var(--space-8) !important;
}

.social-link:first-child {
  margin-left: 0 !important;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  display: block;
}
/* Footer links hover effect */
.footer-nav-link,
.event-nav-link,
.link-4,
.link-5 {
  display: inline-block;
  transition: color var(--transition-base), transform var(--transition-base);
}

.footer-nav-link:hover,
.event-nav-link:hover,
.link-4:hover,
.link-5:hover {
  color: rgb(var(--rgb-ink) / 1) !important;
  transform: translateY(-2px);
}

/* Plyr player custom styling */
.plyr {
  --plyr-color-main: #FB4332;
}

.plyr__progress__played,
.plyr__volume__progress {
  background: #FB4332;
}

.plyr__control--overlaid {
  background: #FB4332;
}

.plyr__control:hover {
  background: #FB4332;
}

.plyr__control[aria-expanded="true"] {
  background: #FB4332;
}

#hw-chat {
  background: #A3C1F0 !important;
  opacity: 0.8 !important;
}

#hw-chat:hover {
  opacity: 1.0 !important;
}



/* Trust chips — below intro, above steps (glass pills) */
.how-it-works-trust-row {
  width: 100%;
  max-width: 768px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.how-it-works-trust-row .how-it-works-pricing-rows {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .how-it-works-trust-row {
    margin-bottom: var(--space-32);
  }
}

.how-it-works-pricing-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
}

.how-it-works-pricing-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--space-8) var(--space-10);
}

.how-it-works-pricing-chips--checks {
  justify-content: center;
}

.how-it-works-pricing-chips li {
  margin: 0;
  padding: 0;
}

.how-it-works-pricing-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: var(--space-8) 0.9rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-15);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  color: var(--color-gray-light);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 24px rgba(0, 0, 0, 0.25);
}

.how-it-works-pricing-chips--checks .how-it-works-pricing-chip {
  font-weight: var(--weight-medium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.how-it-works-pricing-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  font-size: 0.7rem;
  line-height: 1;
  border-radius: var(--radius-pill);
  background: rgba(34, 197, 94, 0.25);
  color: #86efac;
  flex-shrink: 0;
}

.how-it-works-pricing-chips--checks .how-it-works-pricing-chip-icon {
  border-radius: 0;
  background: transparent;
  width: 1.25rem;
  height: 1.25rem;
}

.how-it-works-pricing-chips--checks .how-it-works-pricing-chip-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.how-it-works-pricing-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-17);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-bottom: none;
  transition: color var(--transition-fast);
}

.how-it-works-pricing-more:hover {
  color: #ffffff;
}

.how-it-works-pricing-more-arrow {
  display: inline-block;
  margin-left: 0.1rem;
}

@media (min-width: 900px) {
  .how-it-works-pricing-chips--checks {
    flex-wrap: nowrap;
  }
}

@media (min-width: 768px) {

  .how-it-works-pricing-chips--checks .how-it-works-pricing-chip {
    font-size: var(--fs-16);
    padding: 0.45rem 0.65rem;
  }

  .how-it-works-pricing-more {
    font-size: var(--fs-18);
  }

  .how-it-works-pricing-rows {
    gap: var(--space-14);
  }

  .how-it-works-pricing-chips {
    gap: var(--space-10) var(--space-12);
  }

  .how-it-works-pricing-chip {
    padding: 0.55rem var(--space-16);
    font-size: var(--fs-16);
  }
}

/* ============================================================
   Tribute for Work promo (homepage, below "Creative Ways…")
   Dark arched top (even viewport-wide curve via a giant circle);
   image straddles the curve; logos + text below on white.
   ============================================================ */
.work-promo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  padding: 50px var(--space-24) var(--space-96);
  text-align: center;
}
/* Sleek diagonal edge-lit line spanning the whole section (white + dark arch).
   mix-blend-mode lets the seam read on both halves. Sits above the backgrounds
   (z-index 1) but below the image (3) and text (2). */
.work-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
  background: linear-gradient(
    127deg,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.16) 49.9%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.08) 50.1%,
    rgba(255, 255, 255, 0.08) 100%
  );
  /* fade the overlay in below the top so it doesn't create an edge at the
     occasions/promo boundary */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 200px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 200px);
}
/* A huge circle anchored at the top — only its gentle bottom arc shows,
   giving one even, un-warped curve stretched across the viewport. */
.work-promo-arch {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  overflow: hidden;
  background-color: var(--occasions-work-bg-color);
  /* clip the bottom to an even, viewport-wide convex curve (giant-circle mask) */
  -webkit-mask: radial-gradient(150vw 150vw at 50% calc(210px - 150vw), #000 calc(100% - 1px), transparent 100%);
  mask: radial-gradient(150vw 150vw at 50% calc(210px - 150vw), #000 calc(100% - 1px), transparent 100%);
}
/* Viewport-sized layer, absolutely positioned — not fixed (fixed escapes overflow
   clipping and bleeds behind the footer). Anchored to the arch top so gradient
   blobs use viewport-scale coordinates inside the masked curve. */
.work-promo-arch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translateX(-50%);
  background-color: var(--occasions-work-bg-color);
  background-image: var(--occasions-work-bg-image);
  pointer-events: none;
}

/* Image placeholder straddling the curve */
.work-promo-media {
  position: relative;
  z-index: 3;
  width: min(640px, 100%);
  margin: 0 auto 2.75rem;
}
.work-promo-hero {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: 18px;
  background: var(--color-deep-raised);
  box-shadow: 0 26px 56px rgb(var(--rgb-shadow) / 0.25);
  overflow: hidden;
  cursor: pointer;
}
.work-promo-hero iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.work-promo-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-promo-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  transition: transform 0.18s ease;
}
.work-promo-yt-bg {
  fill: #212121;
  fill-opacity: 0.85;
  transition: fill 0.18s ease, fill-opacity 0.18s ease;
}
.work-promo-hero:hover .work-promo-yt { transform: translate(-50%, -50%) scale(1.06); }
.work-promo-hero:hover .work-promo-yt-bg { fill: #ff0000; fill-opacity: 1; }
.work-promo-play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
}
.work-promo-play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-left: 18px solid var(--brand-primary);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.work-promo-media-label {
  position: absolute;
  bottom: 10px; right: 12px;
  font-size: 0.65rem; font-weight: var(--weight-semibold); letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.28);
  padding: 3px 8px; border-radius: 6px;
}
.work-promo-pip {
  position: absolute;
  left: -18px; top: 14%;
  z-index: 1;
  width: 118px;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  border: 3px solid #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}
.work-promo-pip-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-promo-pip-cam {
  position: absolute;
  top: 7px; left: 7px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
.work-promo-pip-time {
  position: absolute;
  right: 7px; bottom: 6px;
  font-size: 0.62rem; font-weight: var(--weight-semibold);
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 5px; border-radius: 5px;
}

/* Content below the curve — dark on white */
.work-promo-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.work-promo-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 2.25rem;
  margin-bottom: 2.25rem;
}
.work-promo-logos .wp-logo {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.92;
}
.wp-logo-lego { height: 50px; }
.wp-logo-kaiser { height: 42px; }
.wp-logo-godaddy { height: 24px; }
.work-promo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: #fff;
  border: 1px solid #f6c9c4;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.1rem;
}
.work-promo-eyebrow svg { color: var(--brand-primary); }
.work-promo-title {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-weight: var(--weight-semibold);
  font-size: var(--fs-40);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  -webkit-text-fill-color: var(--color-dark);
  background: none;
  margin: 0 auto 0.85rem;
  max-width: 20ch;
}
.work-promo-accent { color: var(--brand-primary); }
.work-promo-copy {
  font-size: var(--fs-17);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}
.work-promo-btn {
  display: inline-block;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: var(--weight-medium);
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 8px 22px rgb(var(--rgb-brand) / 0.30);
  transition: all var(--transition-base);
}
.work-promo-btn:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgb(var(--rgb-brand) / 0.40);
}

@media (max-width: 768px) {
  .work-promo { padding: 34px var(--space-20) 4.5rem; }
  .work-promo-media { margin-bottom: 2.25rem; }
  .work-promo-pip { width: 92px; left: -10px; }
  .work-promo-logos { gap: var(--space-8) var(--space-24); margin-bottom: 1.75rem; }
  .work-promo-logos .wp-logo { height: 28px; }
  .wp-logo-lego { height: 42px; }
  .wp-logo-kaiser { height: 36px; }
  .wp-logo-godaddy { height: 20px; }
  .work-promo-title { font-size: 1.9rem; }
  .work-promo-copy { font-size: var(--fs-16); }
}

/* Carry the Advanced Video Editor's white glass surfaces through the homepage.
   Scope these shared selectors so occasion and pricing pages keep their layouts. */
.homepage-root :is(.spec-item, .review-card, .homepage-pricing-card) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 24px rgb(var(--rgb-shadow) / 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.homepage-root :is(.spec-item, .review-card):hover {
  border-color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 28px rgb(var(--rgb-shadow) / 0.08);
}

.homepage-root .homepage-pricing-card--featured {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.65));
  border-color: #ffffff;
  box-shadow: inset 0 1px 0 #ffffff, 0 12px 28px rgba(77, 61, 100, 0.12);
}

/* Give the glass a visible color wash and let the keepsake lead the composition. */
/* Warm charcoal, like a living room in the evening. A lamp glow behind the shelf and a
   quiet violet at the left mark where the keepsake begins. */
.homepage-root .video-book-section {
  background-color: var(--color-deep);
  background-image:
    radial-gradient(ellipse at 78% 50%, rgba(232, 178, 118, 0.2), transparent 55%),
    radial-gradient(ellipse at 10% 30%, rgba(89, 69, 124, 0.24), transparent 58%),
    radial-gradient(ellipse at 40% 100%, rgba(58, 48, 44, 0.5), transparent 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.homepage-root .video-book-section { position: relative; overflow: hidden; }
.homepage-root .video-book-section .video-book-intro { color: var(--text-body); }
.homepage-root .video-book-section .video-book-link,
.homepage-root .video-book-section .video-book-link:hover { color: var(--text); }
/* Short copy: one paragraph, one line that lands, and the specs kept small. */
.homepage-root .video-book-intro { font-size: var(--fs-17); line-height: 1.65; margin-bottom: var(--space-20); }
.homepage-root .video-book-kicker {
  margin: 0 0 var(--space-20);
  color: var(--text);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-22);
  line-height: 1.3;
}
.homepage-root .video-book-specline { margin: 0 0 var(--space-32); color: #b8afa8; font-size: var(--fs-13); line-height: 1.6; }
@media (min-width: 768px) {
  .homepage-root .video-book-intro { font-size: var(--fs-18); }
  .homepage-root .video-book-kicker { font-size: var(--fs-24); }
}

/* The Video Book on its shelf: a rendered frame sequence, drawn to the canvas as you scroll.
   The frames are transparent, so the book stands on the section itself. */
.homepage-root .vb-stage { width: 100%; }
.homepage-root .vb-seq {
  position: relative;
  width: 116%;
  margin-left: -8%;
  aspect-ratio: 1080 / 440;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.45));
}
.homepage-root .vb-frame,
.homepage-root .vb-canvas { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; }
/* The canvas takes over from the still once the script has frames to draw. */
.homepage-root .vb-canvas { opacity: 0; }
.homepage-root .vb-stage.is-live .vb-canvas { opacity: 1; }
.homepage-root .vb-stage.is-live .vb-frame { opacity: 0; }
/* The video lies under the frames at full frame size. The script bends it onto the screen
   window of the frame on show, so it plays while the cover swings past in front of it. */
.homepage-root .vb-screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform-origin: 0 0;
  opacity: 0;
}
.homepage-root .vb-stage.is-live .vb-screen { opacity: 1; }
@media (min-width: 1080px) {
  .homepage-root .vb-seq { width: 124%; margin-left: -6%; }
}

.homepage-root .video-book-heading {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  font-weight: var(--weight-regular);
  line-height: 1.2;
  grid-column: 1 / -1;
}
.homepage-root .video-book-section .video-book-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1200px;
  gap: var(--space-40);
}
.homepage-root .video-book-media { max-width: none; min-width: 0; position: relative; z-index: 2; pointer-events: none; }
.homepage-root .video-book-text { align-self: start; }
@media (max-width: 767px) {
  .homepage-root .video-book-content > .section-eyebrow { order: -3; }
  .homepage-root .video-book-heading { order: -2; }
  .homepage-root .video-book-media { order: -1; }
}
@media (min-width: 768px) {
  .homepage-root .video-book-heading { font-size: var(--fs-44); }
  .homepage-root .video-book-section .video-book-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-20) 3.5rem;
    align-items: start;
  }
  /* The copy stacks in the left column; the scene sits beside all of it, centered. */
  .homepage-root .video-book-heading { grid-column: 1; text-wrap: balance; }
  .homepage-root .video-book-media { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}
@media (min-width: 1080px) {
  .homepage-root .video-book-heading { font-size: var(--fs-48); }
  .homepage-root .video-book-media { justify-content: flex-start; }
  .homepage-root .video-book-frame { width: 120%; max-width: none; flex-shrink: 0; }
}

/* "Add it to any Tribute": the three plans as small tiles, the bundle lit in peach. The
   facts match the pricing page's compare table (add-on, add-on, included). */
.homepage-root .video-book-plans { margin: 0 0 var(--space-24); }
.homepage-root .video-book-plans-title {
  margin: 0 0 var(--space-10);
  color: var(--text);
  font-size: var(--fs-15);
  font-weight: var(--weight-semibold);
}
.homepage-root .video-book-plans-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.homepage-root .video-book-plans-list li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-10) var(--space-14);
  border: 1px solid var(--rule);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
}
.homepage-root .video-book-plan-name {
  color: var(--text);
  font-size: var(--fs-15);
  font-weight: var(--weight-medium);
  line-height: 1.3;
}
.homepage-root .video-book-plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  color: var(--color-on-deep-muted);
  font-size: var(--fs-13);
  line-height: 1.3;
}
.homepage-root .video-book-plans-list li.is-included {
  border-color: rgba(242, 195, 165, 0.45);
  background: rgba(242, 195, 165, 0.1);
}
.homepage-root .video-book-plans-list li.is-included .video-book-plan-tag { color: var(--color-peach); font-weight: var(--weight-medium); }

/* More presence on wide screens: a taller section, a wider stage, and the book a size up
   (its frames are 1080px wide, so it stays at or under that). */
@media (min-width: 1080px) {
  .homepage-root .video-book-section { padding-top: 8rem; padding-bottom: 8rem; }
  .homepage-root .video-book-section .video-book-content {
    max-width: 1320px;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    column-gap: var(--space-48);
  }
  /* Up to about 1600px wide the content nearly fills the window, so the shelf must end
     inside it; wider windows have margin to spare, and the book takes it. */
  .homepage-root .vb-seq { width: 104%; max-width: 1080px; margin-left: -2%; }
}
@media (min-width: 1600px) {
  .homepage-root .vb-seq { width: 118%; margin-left: -4%; }
}

/* An intimate reaction story, with the tissue box and flight trail as accents. */
.homepage-root .tears-standalone {
  background: radial-gradient(ellipse at 20% 45%, rgba(94, 116, 175, 0.18), transparent 55%),
    radial-gradient(ellipse at 86% 75%, rgba(232, 178, 118, 0.12), transparent 55%), var(--color-deep);
}
.homepage-root .tears-simple-content {
  max-width: 1200px;
  gap: var(--space-48);
}
.homepage-root .tears-image-wrapper {
  /* No rim: the footage and its glow carry the edge. */
  border: 0;
  border-radius: var(--reaction-card-radius);
  background: transparent;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  min-height: 0;
}
.homepage-root .tears-bg-video { border-radius: inherit; }
.homepage-root .tears-image-wrapper .play-overlay {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.homepage-root .tears-image-wrapper .play-overlay svg { width: 30px; height: 30px; }
.homepage-root .tears-image-wrapper:hover { transform: none; }
.homepage-root .tears-image-wrapper:hover .play-overlay { background: rgba(255, 255, 255, 0.26); }
.homepage-root .tears-image-wrapper .play-overlay:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.homepage-root .tears-eyebrow {
  margin: 0 0 var(--space-12);
  color: var(--color-peach);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-13);
  font-weight: var(--weight-bold);
}
.homepage-root .tears-info h2 {
  margin: 0 0 1.75rem;
  color: var(--text);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  font-weight: var(--weight-regular);
}
.homepage-root .tears-metric {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  padding: var(--space-20) 0;
  margin-bottom: var(--space-24);
  border: 0;
}
.homepage-root .tears-metric .stat-number {
  font-size: clamp(3.5rem, 5vw, 4.5rem);
  flex-shrink: 0;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
  text-shadow: none;
}
.homepage-root .tears-metric .stat-description { margin: 0; font-size: var(--fs-16); line-height: 1.5; color: var(--color-dark-secondary); }
.homepage-root .tears-description p { font-size: var(--fs-16); line-height: 1.7; color: var(--text-body); }
.homepage-root .tears-cta { margin-top: 1.75rem; justify-content: flex-start; }
.homepage-root .tears-standalone .tissue-box {
  width: clamp(84px, 9vw, 130px);
  right: -1rem;
  bottom: -1.75rem;
  pointer-events: none;
  filter: drop-shadow(0 18px 22px #00000080) drop-shadow(0 4px 6px #00000040);
  transform-origin: center bottom;
}
@media (prefers-reduced-motion: no-preference) {
  .homepage-root .tears-standalone .tissue-box__tissue { animation: tissue-breathe 6s ease-in-out infinite; }
}
/* The tissue box is two layers of one size: the box, which stands still, and the tissue. */
.homepage-root .tissue-box__box,
.homepage-root .tissue-box__tissue {
  display: block;
  width: 100%;
  height: auto;
}
.homepage-root .tissue-box__tissue {
  position: absolute;
  inset: 0;
  /* The slot in the box: the tissue grows from this line, so its foot stays in the slot. */
  transform-origin: 50% 37.8%;
}
/* The tissue rises a little out of the slot, leans, and settles again. */
@keyframes tissue-breathe {
  0%, 100% { transform: scaleY(1) rotate(0deg); }
  50% { transform: scaleY(1.1) rotate(2deg); }
}
@media (min-width: 768px) {
  .homepage-root .tears-simple-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-80); }
}
@media (max-width: 767px) {
  .homepage-root .tears-info { padding-top: var(--space-8); }
}

/* The number on the left; its meaning and its source stacked beside it, as one centered block. */
.homepage-root .tears-metric .stat-number { line-height: .9; }
.homepage-root .tears-metric .stat-text { display: grid; gap: .3rem; }
.homepage-root .tears-metric .stat-description { font-weight: var(--weight-medium); line-height: 1.35; color: var(--color-dark-secondary); }
.homepage-root .tears-metric .stat-source {
  margin: 0;
  font-size: var(--fs-11);
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--text-muted);
}
.homepage-root .tears-image-wrapper { isolation: isolate; }
.homepage-root .tears-video-glow {
  position: absolute;
  inset: -7%;
  width: 114%;
  height: 114%;
  filter: blur(42px) saturate(1.45);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}
/* The flight trail sits low on the right, under the checklist, and leaves by the right edge. */
.homepage-root .tears-trail {
  position: absolute;
  right: 0;
  bottom: 2rem;
  width: max(300px, calc((100vw - 1200px) / 2 + 200px));
  height: auto;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
.homepage-root .tears-standalone .how-it-works-content { position: relative; z-index: 1; }
/* The keepsakes trail loops under the call to action, between the DVD and the book. */
.homepage-root .keepsakes-trail {
  position: absolute;
  left: 30%;
  bottom: 1.25rem;
  width: 270px;
  height: auto;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 767px) {
  .homepage-root .tears-trail { width: 170px; bottom: 1rem; opacity: 0.5; }
  .homepage-root .keepsakes-trail { display: none; }
  .homepage-root .tears-video-glow { filter: blur(28px) saturate(1.45); }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-root .tears-video-glow { display: none; }
}

/* The three-step introduction, on the page's soft light wash. The dark phone is the focus. */
.homepage-root #how-it-works {
  /* A faint plum haze ties it to the hero above, with warm apricot behind the phone. */
  background-color: #f3f0f2;
  background-image:
    radial-gradient(ellipse at 12% 48%, rgba(204, 168, 200, 0.3), transparent 60%),
    radial-gradient(ellipse at 80% 22%, rgba(251, 214, 176, 0.28), transparent 55%),
    radial-gradient(ellipse at 68% 40%, rgba(247, 205, 170, 0.3), transparent 60%),
    radial-gradient(ellipse at 95% 92%, rgba(150, 78, 140, 0.12), transparent 55%);
  border-top: 0;
  overflow: hidden;
}
.homepage-root #how-it-works .how-it-works-header h3,
.homepage-root #how-it-works .step h4 { color: var(--stone-850); }
.homepage-root #how-it-works .how-it-works-header p { color: var(--color-ink-muted); }
.homepage-root #how-it-works .how-it-works-content { max-width: 1040px; }
.homepage-root #how-it-works .how-it-works-header { margin-bottom: var(--space-40); }
.homepage-root #how-it-works .steps-container {
  display: grid;
  gap: var(--space-40);
  justify-items: center;
  align-items: center;
}
.homepage-root #how-it-works .how-copy { width: 100%; max-width: 27rem; }
.homepage-root #how-it-works .steps { display: grid; gap: var(--space-4); max-width: none; }

/* One step is open at a time. The others keep their title and step back. */
.homepage-root #how-it-works .step {
  padding: var(--space-12) 0;
  gap: var(--space-16);
  border: 0;
  background: none;
  box-shadow: none;
  cursor: pointer;
  opacity: .5;
  transition: opacity .4s ease;
}
.homepage-root #how-it-works .step.active,
.homepage-root #how-it-works .step:hover,
.homepage-root #how-it-works .step:focus-within { opacity: 1; }
.homepage-root #how-it-works .step > div { opacity: 1; }
.homepage-root #how-it-works .step-content { padding-top: .6875rem; }
.homepage-root #how-it-works .step h4 { font-size: var(--fs-20); line-height: 1.3; margin-bottom: 0; }
.homepage-root #how-it-works .step-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
}
.homepage-root #how-it-works .step.active .step-body { grid-template-rows: 1fr; }
.homepage-root #how-it-works .step-body > div { overflow: hidden; min-height: 0; }
/* The words never get sliced by the collapsing row: closing, they fade, soften and lift
   away first, and the space folds after them; opening, the space opens first and the words
   come into focus, with the same blur and fade as the hero copy. */
.homepage-root #how-it-works .step-body {
  transition: grid-template-rows .45s cubic-bezier(.16, 1, .3, 1) .14s;
}
.homepage-root #how-it-works .step.active .step-body {
  transition: grid-template-rows .5s cubic-bezier(.16, 1, .3, 1);
}
.homepage-root #how-it-works .step-body > div > * {
  opacity: 0;
  filter: blur(6px);
  translate: 0 -.375rem;
  transition: opacity var(--transition-fast), filter var(--transition-fast), translate var(--transition-fast);
}
.homepage-root #how-it-works .step.active .step-body > div > * {
  opacity: 1;
  filter: blur(0);
  translate: 0 0;
  transition: opacity .5s cubic-bezier(.16, 1, .3, 1) .16s, filter .55s cubic-bezier(.16, 1, .3, 1) .16s,
    translate .55s cubic-bezier(.16, 1, .3, 1) .16s;
}
.homepage-root #how-it-works .step-number {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.homepage-root #how-it-works .step p {
  color: var(--color-ink-muted);
  margin: 0;
  padding-top: .4rem;
  font-size: var(--fs-16);
  line-height: 1.55;
}
.homepage-root #how-it-works .step-number {
  width: 48px;
  height: 48px;
  font-size: var(--fs-20);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgb(var(--rgb-shadow) / 0.08);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffffcc, #ffffff73); border: 1px solid #ffffffe6; color: var(--color-plum); margin-top: 0;
}
.homepage-root #how-it-works .step:nth-child(2) .step-number { color: #b13a4b; }
.homepage-root #how-it-works .step:nth-child(3) .step-number { color: #a0611c; }
.homepage-root #how-it-works .step.active .step-number {
  color: #fff;
  background: linear-gradient(135deg, #3a2034, var(--color-plum-tile));
  border-color: var(--color-plum-tile);
  box-shadow: inset 0 1px 0 #ffffff26, 0 10px 24px rgba(38, 34, 32, 0.22);
}
.homepage-root #how-it-works .step-select {
  border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.homepage-root #how-it-works .step-select::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-card); }
.homepage-root #how-it-works .step-select:focus-visible { outline: 2px solid var(--color-plum-tile); outline-offset: 5px; border-radius: 4px; }

.homepage-root #how-it-works .how-cta { margin-top: var(--space-16); text-align: center; }
/* Small screens already have the sticky Start a Tribute bar. */
.homepage-root #how-it-works .how-cta .primary-btn { display: none; }
.homepage-root #how-it-works .how-cta-note { margin: var(--space-14) 0 0; color: var(--text-muted); font-size: var(--fs-14); text-wrap: balance; }
/* The reassurance row under the button (includes/cta_reassurance.html): centered on phones,
   where the sticky bar carries the button, and set under the button on wider screens. */
.homepage-root #how-it-works .how-cta .cta-reassurance {
  /* What you get, stacked in one quiet glass card under the button: a plum chip per line,
     hairline rules between lines. Centered on phones, where the sticky bar holds the button. */
  flex-direction: column;
  flex-basis: auto;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin: 1.25rem auto 0;
  padding: 0.25rem 1.125rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.6));
  box-shadow: inset 0 1px 0 #fff, var(--shadow-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.9375rem;
  color: var(--text-body);
}
.homepage-root #how-it-works .how-cta .cta-reassurance li {
  gap: var(--space-12);
  padding: var(--space-10) 0;
}
.homepage-root #how-it-works .how-cta .cta-reassurance li:not(:first-child) {
  border-top: 1px solid rgb(var(--rgb-shadow) / 0.08);
}
.homepage-root #how-it-works .how-cta .cta-reassurance svg {
  width: 16px;
  height: 16px;
  padding: 7px;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, rgba(138, 63, 122, 0.16), rgba(184, 52, 79, 0.1));
}
@media (prefers-reduced-transparency: reduce) {
  .homepage-root #how-it-works .how-cta .cta-reassurance { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* Phones: no card. The list reads as a quiet coda to the steps: each chip sits centered
   under the 48px step tiles, and each line starts where the step text starts (88px). */
@media (max-width: 767px) {
  .homepage-root #how-it-works .how-cta .cta-reassurance {
    width: auto;
    margin: var(--space-24) 0 0 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .homepage-root #how-it-works .how-cta .cta-reassurance li { gap: 25px; padding: var(--space-6) 0; }
  .homepage-root #how-it-works .how-cta .cta-reassurance li:not(:first-child) { border-top: 0; }
}

/* The phone. Everything inside the screen is sized in cqw, so it scales as one piece. */
.homepage-root #how-it-works .how-stage {
  position: relative;
  order: -1;
  display: flex;
  justify-content: center;
  width: 100%;
  isolation: isolate;
}
.homepage-root #how-it-works .how-stage::before {
  content: '';
  position: absolute;
  inset: 8% -10%;
  border-radius: 50%;
  /* A soft glow behind the phone, in the plum and apricot of its screen. */
  background: radial-gradient(ellipse, #c99ac033, #f3c9a51f 45%, transparent 70%);
  pointer-events: none;
}
.homepage-root #how-it-works .how-phone {
  --how-w: 212px;
  --how-play: paused;
  position: relative;
  width: var(--how-w);
  aspect-ratio: 9 / 18.9;
  /* Frame (.011) plus black bezel (.027). */
  padding: calc(var(--how-w) * .038);
  border-radius: calc(var(--how-w) * .15);
  /* A dark titanium band: one quiet sweep of light, a crisp bright rim outside and a hard
     dark line where it meets the glass. Thin and sharp, like the real frame. */
  background: linear-gradient(145deg, #85868c 0%, #3d3e44 16%, #25262a 50%, #404147 84%, #6f7076 100%);
  box-shadow:
    inset 0 0 0 1px #8a8b9180,
    inset 0 0 0 calc(var(--how-w) * .011) #33343980,
    inset 0 0 0 calc(var(--how-w) * .013) #000,
    0 1px 2px rgba(38, 34, 32, 0.3),
    0 calc(var(--how-w) * .06) calc(var(--how-w) * .1) calc(var(--how-w) * -.02) rgba(38, 34, 32, 0.28),
    0 calc(var(--how-w) * .16) calc(var(--how-w) * .22) calc(var(--how-w) * -.06) rgba(38, 34, 32, 0.3);
}
/* Side buttons: action, volume up and volume down on the left, power on the right. */
.homepage-root #how-it-works .how-btn {
  position: absolute;
  z-index: -1;
  width: calc(var(--how-w) * .012);
  border-radius: 1.5px;
  background: linear-gradient(to right, #17181b, #4a4b51 55%, #2a2b2f);
}
.homepage-root #how-it-works .how-btn--action { left: calc(var(--how-w) * -.007); top: 17.2%; height: 3.6%; }
.homepage-root #how-it-works .how-btn--up { left: calc(var(--how-w) * -.007); top: 24%; height: 6.6%; }
.homepage-root #how-it-works .how-btn--down { left: calc(var(--how-w) * -.007); top: 32.4%; height: 6.6%; }
.homepage-root #how-it-works .how-btn--power { right: calc(var(--how-w) * -.007); top: 27%; height: 10.5%; background: linear-gradient(to left, #17181b, #4a4b51 55%, #2a2b2f); }
.homepage-root #how-it-works.is-playing .how-phone { --how-play: running; }
.homepage-root #how-it-works .how-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--how-w) * .112);
  /* The black glass bezel around the display. */
  box-shadow: 0 0 0 calc(var(--how-w) * .027) #000;
  /* A deep plum Tribute theme, the same family as the hero's tiles: a rosier plum glow at
     the top and a warm amber one at the foot. (Was dark indigo; moved to plum 2026-11-17 so
     it sits with the hero above and the Video Book below.) */
  background: radial-gradient(ellipse at 88% 6%, #9a4c8a8c 0%, transparent 55%),
    radial-gradient(ellipse at 6% 96%, #e8a8403d 0%, transparent 58%),
    linear-gradient(170deg, #3a2034 0%, var(--color-plum-tile) 55%, #221822 100%);
  color: #ffffffd9;
  container-type: inline-size;
  isolation: isolate;
}
/* Dynamic Island, with the faint glint of the camera lens. */
.homepage-root #how-it-works .how-phone-screen::before {
  content: '';
  position: absolute;
  z-index: 5;
  top: 3cqw;
  left: 50%;
  width: 30cqw;
  height: 8.8cqw;
  margin-left: -15cqw;
  border-radius: 99px;
  background: radial-gradient(circle at 79% 50%, #1b2440 0, #0a0d18 1.1cqw, #000 1.5cqw);
}
/* The glass: a soft sheen from the top left and a hairline of light at the edge. */
.homepage-root #how-it-works .how-phone-screen::after {
  content: '';
  position: absolute;
  z-index: 6;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, #ffffff14 0%, #ffffff05 26%, transparent 42%);
  box-shadow: inset 0 0 0 1px #ffffff12;
  pointer-events: none;
}
/* iOS status bar and home indicator: small, but they are what makes a screen read as a phone. */
.homepage-root #how-it-works .how-statusbar {
  position: absolute;
  z-index: 5;
  top: 3cqw;
  left: 0;
  right: 0;
  height: 8.8cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.4cqw 0 9.6cqw;
  color: #fff;
  font-size: 4.1cqw;
  font-weight: var(--weight-semibold);
  letter-spacing: -.01em;
  pointer-events: none;
}
.homepage-root #how-it-works .how-statusbar-icons { display: flex; align-items: center; gap: 1.5cqw; }
.homepage-root #how-it-works .how-statusbar-icons svg { display: block; height: 3.2cqw; width: auto; }
.homepage-root #how-it-works .how-home {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 2.2cqw;
  width: 35cqw;
  height: 1.35cqw;
  margin-left: -17.5cqw;
  border-radius: 99px;
  background: #ffffffd9;
  pointer-events: none;
}
.homepage-root #how-it-works .how-screen {
  position: absolute;
  inset: 0;
  padding: 15.5cqw 6cqw 8cqw;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility 0s .5s;
}
.homepage-root #how-it-works .how-screen.active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-slow);
}
.homepage-root #how-it-works .how-screen ul { list-style: none; margin: 0; padding: 0; }
.homepage-root #how-it-works .how-screen p { margin: 0; }
.homepage-root #how-it-works .how-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The screens follow the v3 Tribute page: themed background, dashed edit fields, media grid.
   The story matches the step 3 video: a Christmas Tribute for Dad. */
.homepage-root #how-it-works .how-nav {
  display: flex;
  align-items: center;
  gap: 2.6cqw;
  height: 9cqw;
}
.homepage-root #how-it-works .how-nav img { width: auto; height: 6.4cqw; margin-right: auto; object-fit: contain; }
.homepage-root #how-it-works .how-status {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 1.6cqw;
  font-size: 3.3cqw;
  font-weight: var(--weight-medium);
  color: #fff;
}
.homepage-root #how-it-works .how-status i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #22c55e; }
.homepage-root #how-it-works .how-status span { grid-area: 1 / 2; }
.homepage-root #how-it-works .how-status span:first-of-type:not(:only-of-type) { opacity: 0; }
.homepage-root #how-it-works .how-publish {
  position: relative;
  padding: 1.9cqw 3.2cqw;
  border-radius: 2.2cqw;
  background: #fff;
  color: var(--color-plum-tile);
  font-size: 3.3cqw;
  font-weight: var(--weight-medium);
}
.homepage-root #how-it-works .how-field {
  padding: .5cqw 2.6cqw;
  border: 1px dashed #ffffff4d;
  border-radius: 2.4cqw;
  background: #ffffff17;
}
.homepage-root #how-it-works .how-field > span { display: inline-block; }

/* Step 1: add the photo, fill in the page, publish. */
.homepage-root #how-it-works .how-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .8;
  margin-top: 4.4cqw;
  overflow: hidden;
  border: 1px dashed #ffffff4d;
  border-radius: 4cqw;
  background: #ffffff12;
  color: #ffffff8c;
}
.homepage-root #how-it-works .how-cover > svg { width: 9cqw; height: 9cqw; }
.homepage-root #how-it-works .how-cover img { position: absolute; inset: 0; object-position: 50% 30%; }
.homepage-root #how-it-works .how-title {
  margin-top: 5cqw !important;
  font-size: 8.8cqw;
  font-weight: var(--weight-semibold);
  line-height: 1.5;
  letter-spacing: -.015em;
  color: #fff;
}
.homepage-root #how-it-works .how-due { margin-top: 3.6cqw !important; font-size: 3.5cqw; font-weight: var(--weight-medium); line-height: 1.9; }
.homepage-root #how-it-works .how-due .how-field { display: inline-block; margin-left: 1cqw; padding: .7cqw 2.8cqw; }
.homepage-root #how-it-works .how-message {
  margin-top: 3.4cqw !important;
  padding: 4cqw 4.4cqw;
  border: 1px dashed #ffffff4d;
  border-radius: 2.8cqw;
  background: #ffffff17;
  font-size: 3.5cqw;
  font-weight: var(--weight-regular);
  line-height: 1.5;
}

/* Step 2: the link goes out, and their people arrive in the media grid. */
.homepage-root #how-it-works .how-invite-head { display: flex; align-items: center; gap: 3.4cqw; margin-top: 4.4cqw; }
.homepage-root #how-it-works .how-invite-head img { width: 15cqw; height: 15cqw; border-radius: 3cqw; flex: none; }
.homepage-root #how-it-works .how-invite-head p { font-size: 5.3cqw; font-weight: var(--weight-semibold); line-height: 1.2; color: #fff; }
.homepage-root #how-it-works .how-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4.4cqw;
  padding: 1.5cqw 1.5cqw 1.5cqw 3.4cqw;
  border: 1px solid #ffffff2e;
  border-radius: 3cqw;
  background: #ffffff17;
  font-size: 3.2cqw;
}
.homepage-root #how-it-works .how-link-action {
  position: relative;
  display: grid;
  padding: 1.8cqw 3.4cqw;
  border-radius: 2.2cqw;
  background: #fff;
  color: var(--color-plum-tile);
  font-weight: var(--weight-medium);
}
.homepage-root #how-it-works .how-media-label {
  margin-top: 5cqw !important;
  font-size: 3.3cqw;
  font-weight: var(--weight-semibold);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.homepage-root #how-it-works .how-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2cqw;
  margin-top: 2.8cqw !important;
}
.homepage-root #how-it-works .how-tile {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2.6cqw;
  background: #ffffff17 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff' fill-opacity='.22'%3E%3Ccircle cx='12' cy='9' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center / 56% no-repeat;
}
.homepage-root #how-it-works .how-tile--add {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1cqw;
  border: 1px dashed #ffffff59;
  background: #ffffff0f;
  font-size: 2.7cqw;
  font-weight: var(--weight-medium);
  color: #fff;
}
.homepage-root #how-it-works .how-tile--add svg { width: 6cqw; height: 6cqw; }

.homepage-root #how-it-works .how-record {
  position: absolute;
  left: 6cqw;
  right: 6cqw;
  bottom: 9cqw;
  padding: 3.6cqw 0;
  border-radius: 2.6cqw;
  background: #fff;
  box-shadow: 0 2cqw 6cqw #05081280;
  color: var(--color-plum-tile);
  font-size: 4cqw;
  font-weight: var(--weight-medium);
  text-align: center;
}

/* Step 3: the finished video plays. */
.homepage-root #how-it-works .how-screen--watch { padding: 0; background: #1e1219; color: #fff; }
.homepage-root #how-it-works .how-screen--watch video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* One grade for the video and the stills cut from it, so the faces stay warm and match. */
.homepage-root #how-it-works .how-screen--watch video,
.homepage-root #how-it-works .how-tile img { filter: saturate(1.32) contrast(1.1) brightness(1.05); }
.homepage-root #how-it-works .how-watch-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 26cqw 6cqw 9cqw;
  background: linear-gradient(to top, #05080fd9, #05080f80 55%, transparent);
}
.homepage-root #how-it-works .how-watch-title { font-size: 6.2cqw; font-weight: var(--weight-semibold); line-height: 1.2; }
.homepage-root #how-it-works .how-watch-from { margin-top: 1.4cqw !important; font-size: 3.7cqw; color: #ffffffcc; }
.homepage-root #how-it-works .how-watch-progress {
  display: block;
  height: 1cqw;
  margin-top: 4.4cqw;
  overflow: hidden;
  border-radius: 99px;
  background: #ffffff40;
}
.homepage-root #how-it-works .how-watch-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  transform-origin: left;
}
.homepage-root #how-it-works .how-hearts { position: absolute; inset: 0; pointer-events: none; }
.homepage-root #how-it-works .how-heart {
  position: absolute;
  right: calc(7cqw + var(--i) * 4.5cqw);
  bottom: 44cqw;
  width: calc(6cqw + var(--i) * .6cqw);
  opacity: 0;
  color: #fda4af;
}
.homepage-root #how-it-works .how-heart:nth-child(even) { right: calc(5cqw + var(--i) * 2.5cqw); color: #fff; }
.homepage-root #how-it-works .how-heart svg { display: block; width: 100%; fill: currentColor; }

/* The tap: a soft dot that lands where a finger would. */
.homepage-root #how-it-works .how-cover::after,
.homepage-root #how-it-works .how-publish::after,
.homepage-root #how-it-works .how-link-action::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 13cqw;
  height: 13cqw;
  margin: -6.5cqw 0 0 -6.5cqw;
  border-radius: 50%;
  background: #ffffff73;
  box-shadow: 0 0 0 1px #ffffff59, 0 1cqw 3cqw #00000040;
  opacity: 0;
  pointer-events: none;
}

/* A small hello when the phone first comes into view: a buzz that settles. Runs once,
   because .is-playing is added once. */
@keyframes how-buzz {
  0%, 100% { transform: rotate(0); }
  12% { transform: rotate(-3.2deg) translateX(-2px); }
  28% { transform: rotate(3deg) translateX(2px); }
  44% { transform: rotate(-2.2deg) translateX(-1px); }
  60% { transform: rotate(1.6deg) translateX(1px); }
  76% { transform: rotate(-.8deg); }
  90% { transform: rotate(.3deg); }
}
@keyframes how-tap {
  0% { opacity: 0; transform: scale(.4); }
  30% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}
@keyframes how-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes how-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes how-dot-live { from { background: var(--stone-400); } to { background: #22c55e; } }
@keyframes how-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes how-rise { from { opacity: 0; transform: translateY(3cqw); } to { opacity: 1; transform: none; } }
@keyframes how-arrive { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes how-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes how-heart {
  0% { opacity: 0; transform: translateY(0) scale(.7); }
  20% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-62cqw) translateX(calc((var(--i) - 2) * 2.5cqw)) scale(1.1); }
}

/* Final states sit in the base rules. Motion runs only in the active screen, and waits
   (paused on its first frame) until the phone is in view. */
@media (prefers-reduced-motion: no-preference) {
  .homepage-root #how-it-works.is-playing .how-phone { animation: how-buzz .85s ease-in-out both; }
  .homepage-root #how-it-works .how-screen.active :is(.how-cover, .how-publish, .how-link-action)::after {
    animation: how-tap .75s ease-out .5s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen.active .how-publish::after { animation-delay: 4.9s; }
  .homepage-root #how-it-works .how-screen.active .how-cover img {
    animation: how-fade .6s ease .75s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen.active .how-title .how-field > span {
    animation: how-type .6s steps(9, jump-none) 1.7s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen.active .how-title .how-field ~ .how-field > span { animation-delay: 2.5s; animation-duration: .3s; animation-timing-function: steps(4, jump-none); }
  .homepage-root #how-it-works .how-screen.active .how-due {
    animation: how-rise .5s ease 3.1s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen.active .how-message {
    animation: how-rise .5s ease 3.7s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen--start.active .how-status i {
    animation: how-dot-live .3s ease 5.2s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen--start.active .how-status span:first-of-type {
    animation: how-fade-out .25s ease 5.15s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen--start.active .how-status span:last-of-type {
    animation: how-fade .25s ease 5.25s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen.active .how-tile img {
    animation: how-arrive .5s ease calc(1.3s + var(--i) * .5s) both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen.active .how-watch-caption p {
    animation: how-rise .6s ease .3s both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen.active .how-watch-progress span {
    animation: how-progress 6.5s linear both;
    animation-play-state: var(--how-play);
  }
  .homepage-root #how-it-works .how-screen.active .how-heart {
    animation: how-heart 3.8s ease-out calc(.8s + var(--i) * .75s) infinite;
    animation-play-state: var(--how-play);
  }
}
@media (min-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .homepage-root #how-it-works .how-stage {
    /* A gentle rise and fall with the scroll. No tilt: a rotated phone loses its crisp edges. */
    transform: translateY(var(--phone-drift, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-root #how-it-works .step,
  .homepage-root #how-it-works .step-body,
  .homepage-root #how-it-works .step.active .step-body,
  .homepage-root #how-it-works .step-body > div > *,
  .homepage-root #how-it-works .step.active .step-body > div > *,
  .homepage-root #how-it-works .step-number,
  .homepage-root #how-it-works .how-screen { transition: none; }
  .homepage-root #how-it-works .step-body > div > * { filter: none; translate: none; }
}

@media (min-width: 768px) {
  .homepage-root #how-it-works .how-it-works-header { margin-bottom: 3.5rem; }
  .homepage-root #how-it-works .steps-container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-48);
  }
  .homepage-root #how-it-works .how-copy { justify-self: end; }
  .homepage-root #how-it-works .how-stage { order: 0; }
  .homepage-root #how-it-works .how-phone { --how-w: 272px; }
  .homepage-root #how-it-works .step h4 { font-size: var(--fs-22); }
  /* The button lines up with the step tiles, one step-gap below the last step. */
  .homepage-root #how-it-works .how-cta { margin-top: var(--space-24); padding-left: 0; text-align: left; }
  .homepage-root #how-it-works .how-cta .primary-btn { display: inline-block; width: auto; min-width: 13rem; text-align: center; }
  .homepage-root #how-it-works .how-cta .cta-reassurance { margin-left: 0; }
}
@media (min-width: 1080px) {
  .homepage-root #how-it-works .steps-container { gap: var(--space-80); }
  .homepage-root #how-it-works .how-cta-note { text-wrap: nowrap; }
  .homepage-root #how-it-works .how-stage { justify-content: flex-start; }
  .homepage-root #how-it-works .how-phone { --how-w: 296px; }
}

@media (prefers-reduced-motion: no-preference) {
  .homepage-root .review-card.review-awaiting { opacity: 0; }
  .homepage-root .review-card.review-awaiting:focus-within { opacity: 1; }
}

/* Quiet glass surfaces and a single image plane for gift inspiration. */
.homepage-root .ideas-title {
  color: var(--text);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: var(--weight-regular);
  line-height: 1.12;
}
.homepage-root .ideas-grid { gap: var(--space-20); }
.homepage-root .idea-card {
  padding: var(--space-20);
  border-radius: var(--radius-card);
  border: 1px solid #ffffffcc;
  background: linear-gradient(135deg, #ffffffb3, #ffffff66);
  box-shadow: inset 0 1px 0 #ffffff, 0 12px 32px #29211c0d;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  will-change: auto;
}
.homepage-root .idea-card-header { margin-bottom: var(--space-16); }
.homepage-root .idea-card-badge { background: none; color: var(--stone-500); padding: 0; font-size: var(--fs-11); }
.homepage-root .idea-card-arrow { background: #ffffff66; border: 1px solid #ffffffaa; color: var(--text-body); }
.homepage-root .idea-card-image-container { margin-bottom: var(--space-20); }
.homepage-root .idea-card-image { border-radius: .75rem; }
.homepage-root .idea-card-title { font-size: var(--fs-18); line-height: 1.35; }
.homepage-root .idea-card-description { font-size: var(--fs-15); line-height: 1.6; }
.homepage-root .idea-card-featured { background-color: var(--color-deep); }
.homepage-root .idea-card-featured .idea-card-badge { color: #f5ece4; }
.homepage-root .idea-card:focus-visible { outline: 2px solid var(--color-dark); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .homepage-root .idea-card.review-awaiting { opacity: 0; }
  .homepage-root .idea-card.review-awaiting:focus { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-root .idea-card { transition: none; }
  .homepage-root .idea-card:hover { transform: none; }
}

.homepage-root .tears-metric {
  padding: var(--space-20) var(--space-24);
  border: 1px solid #ffffffe6;
  border-radius: var(--reaction-card-radius);
  background: linear-gradient(135deg, #ffffff, #faf4ef 65%, #f4ebe3);
  box-shadow: inset 0 1px 0 #ffffff, var(--shadow-soft);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (max-width: 767px) {
  .homepage-root .tears-metric { padding: var(--space-16); gap: var(--space-16); }
  .homepage-root .tears-metric .stat-number { font-size: var(--fs-48); }
}

/* A fine rim on hero videos; keep the footage crisp. */
.homepage-root .hero .grid-item::after {
  border-radius: inherit;
}
/* Play: a frosted glass disc (soft veil) with a dark, rounded triangle. The disc lets the
   footage show through; the triangle carries the contrast. */
.homepage-root .hero .play-overlay {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -10px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.homepage-root .hero .play-overlay svg {
  width: 2.125rem;
  height: 2.125rem;
  /* Optical center: a triangle's weight sits left of its box. */
  margin-left: 0.1875rem;
  fill: var(--color-dark);
  overflow: visible;
}
/* A stroke in the fill color, joined round, softens the triangle's corners. */
.homepage-root .hero .play-overlay svg path {
  stroke: var(--color-dark);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.homepage-root .hero .grid-item:hover .play-overlay,
.homepage-root .hero .play-overlay:hover {
  background: rgba(255, 255, 255, 0.62);
  transform: translate(-50%, -50%) scale(1.05);
}
.homepage-root .hero .play-overlay:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (min-width: 1080px) {
  .homepage-root .hero .play-overlay { width: 4.25rem; height: 4.25rem; }
  .homepage-root .hero .play-overlay svg { width: 2.25rem; height: 2.25rem; }
}
@media (max-width: 767px) {
  .homepage-root .hero .play-overlay { width: 3.25rem; height: 3.25rem; }
  .homepage-root .hero .play-overlay svg { width: 1.75rem; height: 1.75rem; margin-left: 0.125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-root .hero .grid-item:hover .play-overlay,
  .homepage-root .hero .play-overlay:hover { transform: translate(-50%, -50%); }
}

/* Small dark rooms on the light hero: each tile is a deep plum card lit like the dark
   sections lower on the page (a rosier plum at the top, amber at the foot), with a white
   caption. The shadow is short enough to fit the 1rem gap between stacked tiles, so the
   next tile never cuts it off. */
.homepage-root .hero .grid-item {
  --tile-caption-height: 4.5rem;
  padding: 6px;
  /* Soft veil (2026-11-18): no rim, the card radius, and the veil's warm tint over the plum. */
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  background-color: var(--color-plum-tile);
  background-image:
    var(--glass-dark),
    radial-gradient(ellipse 90% 70% at 85% 0%, rgba(150, 78, 140, 0.45), transparent 70%),
    radial-gradient(ellipse 80% 60% at 10% 100%, rgba(232, 168, 64, 0.24), transparent 70%),
    linear-gradient(165deg, #3a2034 0%, var(--color-plum-tile) 50%, #221822 100%);
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1px 2px rgba(42, 26, 39, 0.14),
    0 8px 16px -8px rgba(42, 26, 39, 0.4);
}
.homepage-root .hero .grid-item::before {
  content: '';
  position: absolute;
  inset: -24px;
  z-index: -1;
  /* A soft halo in the tile's own color (views.py HOMEPAGE_HERO_TILE_COLORS). */
  background: var(--tile-color, transparent);
  filter: blur(28px);
  opacity: .18;
  pointer-events: none;
}
.homepage-root .hero .grid-item::after {
  background: none;
  border: 0;
  box-shadow: none;
}
.homepage-root .hero .thumbnail-container {
  height: calc(100% - var(--tile-caption-height));
  border-radius: calc(var(--radius-card) - 6px);
  overflow: hidden;
  /* Shown until the portrait-mode still (images/homepage/hero-soft/) loads. */
  background: var(--tile-color, #f6dccb);
}
.homepage-root .hero .grid-item-content {
  top: auto;
  height: var(--tile-caption-height);
  padding: var(--space-8) var(--space-16);
  justify-content: center;
  gap: var(--space-4);
}
.homepage-root .hero .grid-item-title { font-size: var(--fs-16); line-height: 1.2; color: #fff; }
.homepage-root .hero .grid-item-subtitle { font-size: var(--fs-12); line-height: 1.3; color: var(--color-on-deep-muted); opacity: 1; }
@media (min-width: 1080px) {
  .homepage-root .hero .grid-item-title { font-size: var(--fs-18); }
  .homepage-root .hero .grid-item-subtitle { font-size: var(--fs-14); }
}
/* Desktop: the right column sits half a tile lower, so it leaves a half-tile hole at the top,
   and the shorter column leaves one at the bottom. A plain card fills each, drawn by the
   grid's own pseudo-elements: decorative only (not clickable, not read out, and the scroll
   script never sees them). Each is half a tile tall (4:3 tile, so 8:3), so it reads as a
   card running off the edge without changing how far the wall scrolls. */
@media (min-width: 768px) {
  .homepage-root .hero .grid-scroll {
    position: relative;
    /* One column: (width - 1rem right padding - 1rem gap) / 2, but never under the
       tiles' 500px minimum, which widens the columns past the grid box on most screens. */
    --hero-col: max(500px, calc((100% - 2rem) / 2));
  }
  .homepage-root .hero .grid-scroll::before,
  .homepage-root .hero .grid-scroll::after {
    content: '';
    position: absolute;
    width: var(--hero-col);
    aspect-ratio: 8 / 3;
    border: 1px solid transparent;
    background-color: var(--color-plum-tile);
    background-image:
      var(--glass-dark),
      radial-gradient(ellipse 90% 90% at 85% 0%, rgba(150, 78, 140, 0.4), transparent 70%),
      linear-gradient(165deg, #3a2034 0%, var(--color-plum-tile) 60%, #221822 100%);
    pointer-events: none;
  }
  /* Top of the right column: the foot of a card above the first one there. */
  .homepage-root .hero .grid-scroll::before {
    top: -1rem;
    left: calc(var(--hero-col) + 1rem);
    border-top: 0;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
  }
  /* Bottom of the shorter column: the head of a card below the last one there. */
  .homepage-root .hero .grid-scroll::after {
    bottom: 0;
    left: calc(var(--hero-col) + 1rem);
    border-bottom: 0;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
  }
  /* An even count: the left column is the shorter one, and its hole starts one gap below
     the grid box (the right column hangs half a tile past it). */
  .homepage-root .hero .grid-scroll--even::after { left: 0; top: calc(100% + 1rem); bottom: auto; }
}

/* Phones: a short caption, so the video still gets most of the tile. */
@media (max-width: 767px) {
  .homepage-root .hero .grid-item { --tile-caption-height: 3rem; }
  .homepage-root .hero .grid-item-content { padding: var(--space-2) var(--space-10) var(--space-4); gap: .0625rem; }
  .homepage-root .hero .grid-item-title {
    margin-bottom: 0;
    font-size: var(--fs-15);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .homepage-root .hero .grid-item-subtitle { line-height: 1.2; }
}

/* Pricing: one calm, solid ground and one card recipe (Impeccable polish, 2026-11-17).
   The reviews wash above fades into the same ivory this section starts on, and a fine warm
   rule marks the hand-off, so the two light sections no longer meet as near-matches. */
.homepage-root .homepage-pricing {
  /* A soft white light behind the cards over the ivory-to-linen ground, so the section
     reads lit rather than flat. */
  background:
    radial-gradient(ellipse 60% 45% at 50% 62%, rgba(255, 255, 255, 0.9), transparent 72%),
    radial-gradient(ellipse 45% 35% at 50% 18%, rgba(255, 255, 255, 0.55), transparent 70%),
    linear-gradient(180deg, var(--color-cream) 0%, var(--color-linen) 100%);
  border-top: 1px solid rgb(var(--rgb-shadow) / 0.07);
}
.homepage-root .homepage-pricing h3 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: var(--weight-regular);
  line-height: 1.12;
  color: var(--text);
  text-wrap: balance;
}
.homepage-root .homepage-pricing-lead { color: var(--text-body); text-wrap: pretty; }
.homepage-root .homepage-pricing-copy { color: var(--text-body); }
/* Every plan is the same solid white card on a warm hairline; the recommended one adds a
   fine plum outline and a deeper shadow, so it leads without a tint. */
.homepage-root .homepage-pricing .homepage-pricing-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--rule-card);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.homepage-root .homepage-pricing .homepage-pricing-card--featured {
  /* It leads by its lift, a deeper shadow and the badge, not an outline. */
  border-color: var(--rule-card);
  box-shadow: var(--shadow-card-lift);
}
.homepage-root .homepage-pricing-badge {
  /* The celebration gold, with depth: a gentle gradient, a lit top edge, a fine darker
     rim and a soft warm shadow, so it reads as a seal rather than a flat sticker. */
  padding: 0.4375rem 1rem;
  background: var(--gradient-seal);
  border: 1px solid var(--rule-seal);
  color: var(--color-seal-ink);
  box-shadow: var(--shadow-seal);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
}
.homepage-root .homepage-pricing-deal {
  /* The struck price and the saving, centered on each other; the pair sits on the big
     price's baseline (its first line is the struck price). */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.homepage-root .homepage-pricing-save {
  /* Soft plum, with the plan checks; the only green on the page is gone. */
  background: var(--color-plum-wash);
  border: 1px solid color-mix(in srgb, var(--color-plum) 16%, transparent);
  color: var(--color-plum-ink);
  box-shadow: none;
  padding: 0.25rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}
.homepage-root .homepage-pricing-name { color: var(--stone-850); font-size: var(--fs-18); font-weight: var(--weight-semibold); }
.homepage-root .homepage-pricing-amount {
  color: var(--text);
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
}
.homepage-root .homepage-pricing-tiers li { font-variant-numeric: lining-nums tabular-nums; }
.homepage-root .homepage-pricing-was,
.homepage-root .homepage-pricing-period { color: var(--text-muted); }
/* Buttons: weight 500 (brand rule). The two other plans get a real outlined pill, solid
   white with a warm border and ink text, plum-tinted on hover: clearly buyable, clearly
   second to the red one. */
.homepage-root .homepage-pricing-button { border-radius: var(--radius-button); font-weight: var(--weight-medium); }
.homepage-root .homepage-pricing-button:not(.homepage-pricing-button--primary) {
  background: #ffffff;
  border: 1px solid var(--rule-button);
  color: var(--color-dark);
  box-shadow: 0 1px 2px rgb(var(--rgb-shadow) / 0.06);
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), box-shadow var(--transition-fast);
}
.homepage-root .homepage-pricing-button:not(.homepage-pricing-button--primary):hover {
  background: #f8f0f5;
  border-color: #a9819c;
  color: var(--color-plum-tile);
  box-shadow: 0 2px 8px rgba(122, 58, 108, 0.12);
}
.homepage-root .homepage-pricing-button:not(.homepage-pricing-button--primary):active {
  background: #f1e4ed;
}
/* The reassurance reads once, under the recommended plan. Under every card it was noise. */
.homepage-root .homepage-pricing-card:not(.homepage-pricing-card--featured) .cta-reassurance {
  display: none;
}
/* Each card takes its own height, so the other two end right after their button instead of
   stretching to the recommended plan with an empty gap above it. The button follows its
   content with the same space everywhere. The shorter cards sit centered on the taller
   recommended plan (Adam, 2026-11-17). */
@media (min-width: 768px) {
  .homepage-root .homepage-pricing-grid { align-items: center; }
}
.homepage-root .homepage-pricing-card:not(.homepage-pricing-card--featured) .homepage-pricing-button {
  margin-top: var(--space-24);
}
/* Phones read the section left-aligned; the eyebrow follows its heading. */
@media (max-width: 767px) {
  .homepage-root .homepage-pricing .section-eyebrow { text-align: left; }
}
.homepage-root .homepage-pricing-more { color: var(--text-body); text-underline-offset: 4px; }
.homepage-root .homepage-pricing-more:hover { color: var(--text); text-decoration: underline; text-decoration-color: rgba(122, 58, 108, 0.4); }
.homepage-root .homepage-pricing-button:focus-visible { outline: 2px solid var(--color-dark); outline-offset: 4px; }

/* The lead under the occasions heading carries the keyword once, so the cards can each say
   one short line. It tucks up under the heading's large bottom margin. */
.occasions-lead {
  max-width: 40rem;
  margin: -1rem auto var(--space-32);
  padding: 0 var(--space-24);
  color: var(--color-on-deep-muted);
  font-size: var(--fs-17);
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .occasions-lead { margin: -1.75rem auto 2.75rem; padding: 0; }
}
/* The same content width as the intro above (76rem), so the grid lines up with the page. */
.homepage-root .occasions-content { max-width: 76rem; }
/* Lighter cards: a little less padding and a smaller icon now that each holds one line. */
.homepage-root .occasion-card { padding: var(--space-20) 1.125rem 1.375rem; }
.homepage-root .occasion-icon { width: 52px; height: 52px; margin-bottom: var(--space-12); }
.homepage-root .occasion-card h4 { margin-bottom: var(--space-4); }
.homepage-root .occasion-description {
  font-size: 0.9375rem;
  line-height: 1.4;
  text-wrap: balance;
  /* Two lines on every card, so the grid reads even when a line comes up short. */
  min-height: calc(2 * 1.4em);
}
/* Phones read the section left-aligned; the lead follows its heading. */
@media (max-width: 767px) {
  .occasions-lead { text-align: left; }
}

/* Dark glass for the occasion collection: one neutral color on every card. */
.homepage-root .occasion-card {
  /* Soft veil glass, like every frosted card (tokens.css --glass-dark). */
  background: var(--glass-dark);
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  box-shadow: var(--glass-shadow-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  will-change: auto;
}
.homepage-root .occasion-card::before { background: linear-gradient(145deg, #ffffff08, transparent 45%); }
.homepage-root .occasion-card h4 { color: var(--color-gray-light); }
.homepage-root .occasion-description { color: var(--stone-300); }
.homepage-root .occasion-card:hover { border-color: rgba(255, 255, 255, .16); }
.homepage-root .occasion-card:focus-visible { outline: 2px solid var(--color-gray-light); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .homepage-root .occasion-card.review-awaiting { opacity: 0; }
  .homepage-root .occasion-card.review-awaiting:focus { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-root .occasion-card, .homepage-root .occasion-icon { transition: none; }
  .homepage-root .occasion-card:hover, .homepage-root .occasion-card:hover .occasion-icon { transform: none; }
}

.homepage-root #how-it-works .step {
  opacity: .4;
  transition: opacity .25s ease;
}
.homepage-root #how-it-works .step:is(.active, :hover, :focus-within) { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .homepage-root #how-it-works .step { transition: none; }
}

.homepage-root .work-promo-title { font-weight: var(--weight-regular); }
/* The line that hands off from the occasions to Tribute for Work: the question in weight
   500, the answer under it, both a size up, and close to the video that follows. */
.homepage-root .occasions-bridge strong { display: block; font-weight: var(--weight-medium); color: var(--text); }
.homepage-root .occasions-bridge span { display: block; }
.homepage-root .occasions-bridge { font-size: var(--fs-24); margin-top: 3.25rem; }
.homepage-root .occasions-section:not(.occasions-section--standalone) { padding-bottom: var(--space-8) !important; }
.homepage-root .work-promo { padding-top: var(--space-24); }
@media (min-width: 768px) {
  .homepage-root .occasions-bridge { font-size: 1.875rem; margin-top: var(--space-80); max-width: 40rem; }
}
/* The hand-off to Tribute for Work is a card, not the old half circle (Adam, 2026-11-17):
   a white panel framed in white and lifted off the dark with a shadow, like the
   recordings over the Zappos video. The dark room runs around it and ends in a straight
   line under it; the video straddles its top edge. */
.homepage-root .work-promo {
  --wp-edge: 170px;
  --wp-inset: clamp(0.75rem, 3vw, 3rem);
  --wp-foot: clamp(1.25rem, 4vw, 4rem);
  background: var(--occasions-work-bg-color);
  padding-bottom: calc(6rem + var(--wp-foot));
}
/* The section's own ground is the dark now; the arch layer would paint over the card. */
.homepage-root .work-promo-arch { display: none; }
.homepage-root .work-promo::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: var(--wp-edge);
  bottom: var(--wp-foot);
  left: max(var(--wp-inset), calc((100% - 1240px) / 2));
  right: max(var(--wp-inset), calc((100% - 1240px) / 2));
  border: 3px solid #fff;
  border-radius: calc(var(--radius-card) + 4px);
  /* Linen at the top, so the white frame reads, then plain white. */
  background: linear-gradient(to bottom, var(--color-linen) 0, #fff 14rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 4px 12px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}
/* The diagonal light seam belonged to the arch; on the card it only muddies the dark. */
.homepage-root .work-promo::after { display: none; }
@media (max-width: 767px) {
  /* The card hugs the screen; the copy keeps about 1.25rem of room inside it. */
  .homepage-root .work-promo {
    --wp-edge: 120px;
    --wp-inset: 0.5rem;
    padding: 1.5rem 1.875rem calc(4rem + var(--wp-foot));
  }
  .homepage-root .work-promo::before { border-radius: var(--radius-card); }
}

/* The second recording: lower right, a little larger than the first. */
.homepage-root .work-promo-pip--2 {
  top: auto;
  left: auto;
  right: -22px;
  bottom: 9%;
  width: 136px;
}
@media (max-width: 767px) {
  .homepage-root .work-promo-pip--2 { width: 104px; right: -10px; }
  /* Phones read the section left-aligned; the eyebrow follows its heading. */
  .homepage-root .work-promo .section-eyebrow { text-align: left; }
}
/* For teams and HR: work is blue, a brand rule (Adam, 2026-11-17). The navy of the
   Tribute for Work page, apart from the red of Start a Tribute. */
.homepage-root .work-promo .section-eyebrow { color: var(--color-work-blue); }
html body.homepage-root .work-promo .work-promo-btn {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #1e2a44, var(--color-work-navy));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 2px 4px rgba(11, 18, 32, 0.2), 0 10px 24px rgba(11, 18, 32, 0.18);
  outline-color: var(--color-work-navy);
}
html body.homepage-root .work-promo .work-promo-btn:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #2a3a5c, var(--color-work-navy-raised));
}
html body.homepage-root .work-promo .work-promo-btn:focus-visible {
  outline: 2px solid var(--color-work-navy);
  outline-offset: 2px;
}
.homepage-root .work-promo-eyebrow {
  color: #a33a48;
  font-size: var(--fs-13);
  font-weight: var(--weight-semibold);
  background: linear-gradient(115deg, #fdeee2b3, #eef3f5b3 55%, #fdeee099);
  border: 1px solid #ffffffdd;
  box-shadow: inset 0 1px 0 #ffffff, 0 3px 16px #a33a4814, 0 0 0 1px #e8ddd366;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-8) var(--space-16);
}

.homepage-root .tears-standalone { padding-top: 3.75rem; padding-bottom: 3.75rem; }
@media (min-width: 768px) {
  .homepage-root .tears-standalone { padding-top: 7rem; padding-bottom: 7rem; }
}

/* Float the proof point above the video, balanced by the tissue box below. */
.homepage-root .tears-image-wrapper .tears-metric {
  position: absolute;
  top: -2rem;
  left: -1.25rem;
  right: auto;
  z-index: 5;
  margin: 0;
  padding: var(--space-16) 1.4rem var(--space-16) var(--space-20);
  background: linear-gradient(135deg, #ffffff, #fbf1ea);
  border-color: #ffffffe6;
  gap: var(--space-16);
  box-shadow: inset 0 1px 0 #ffffff, 0 12px 32px #29211c24;
}
.homepage-root .tears-image-wrapper .stat-number { font-size: 3.4rem; }
.homepage-root .tears-image-wrapper .stat-description { font-size: var(--fs-14); }
.homepage-root .tears-info { align-self: center; }
@media (max-width: 767px) {
  .homepage-root .tears-image-wrapper .tears-metric { left: .5rem; right: auto; top: -1.5rem; padding: var(--space-12) var(--space-16); }
  .homepage-root .tears-image-wrapper .stat-number { font-size: var(--fs-40); }
  .homepage-root .tears-image-wrapper .stat-description { font-size: var(--fs-12); }
}

/* The 83.4% figure is a speech bubble, the same shape as on the occasion pages' video
   (.occasion-hero-bubble in occasion.css): lit from above, dark text, one square corner
   for the tail, and a slight lean. White of the tissue, shading to a soft blush. */
.homepage-root .tears-image-wrapper .tears-metric {
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-card) var(--radius-card) var(--radius-card) 0.375rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbf5ef 55%, #f6e6d8 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -0.1875rem 0.375rem rgba(190, 120, 90, 0.16),
    0 0.125rem 0.125rem rgb(var(--rgb-shadow) / 0.14),
    0 0.75rem 1.75rem rgb(var(--rgb-shadow) / 0.2);
  transform: rotate(-3deg);
}
.homepage-root .tears-image-wrapper .tears-metric .stat-number {
  color: var(--text);
  text-shadow: none;
}
.homepage-root .tears-image-wrapper .tears-metric .stat-description { color: var(--color-dark-secondary); }
.homepage-root .tears-image-wrapper .tears-metric .stat-source { color: var(--text-muted); }

/* One reading alignment for mobile homepage sections. */
@media (max-width: 767px) {
  .homepage-root :is(
    .hero-content, .hero-text, .reviews-header, .intro-section,
    .how-it-works-header, .video-book-heading, .video-book-text,
    .tears-info, .advanced-editor-heading, .homepage-pricing-inner,
    .keepsakes-text, .faq-left, .occasions-content h3,
    .work-promo-inner, .ideas-title, .ideas-subtitle, .footer-cta-content
  ) {
    text-align: left;
  }

  .homepage-root :is(.intro-lead, .work-promo-title, .work-promo-copy) {
    margin-left: 0;
  }

  .homepage-root :is(.video-book-ctas, .keepsakes-buttons, .tears-cta) {
    justify-content: flex-start;
  }
}

/* Shared marketing and account primary buttons: warm satin (Adam, 2026-11-18). The brand
   red as a ribbon gradient warmed toward coral at the top, one faint top highlight, and a
   soft red glow instead of a glass gloss and a dark drop. Softly rounded corners
   (--radius-button), not full pills. Tokens: --gradient-brand, --shadow-button.
   Use explicit button classes to keep social, secondary, and editor controls separate. */
html body :is(
  .primary-btn,
  .nav-button,
  .homepage-pricing-button--primary,
  .pricing-card-button-primary,
  .occasion-btn-primary,
  .compare-btn-primary,
  .packages-compared-closing-cta,
  .footer-cta-button,
  .account-page .account-btn--primary,
  .help-page .help-btn--primary,
  .qvc-cta-button,
  .tfw-btn,
  .work-promo-btn,
  .manage-tabbar-cta
) {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  border-radius: var(--radius-button);
  box-shadow: var(--shadow-button);
}

html body :is(
  .primary-btn,
  .nav-button,
  .homepage-pricing-button--primary,
  .pricing-card-button-primary,
  .occasion-btn-primary,
  .compare-btn-primary,
  .packages-compared-closing-cta,
  .footer-cta-button,
  .account-page .account-btn--primary,
  .help-page .help-btn--primary,
  .qvc-cta-button,
  .tfw-btn,
  .work-promo-btn,
  .manage-tabbar-cta
):hover {
  background: var(--gradient-brand-hover);
  box-shadow: var(--shadow-button-hover);
}

html body :is(
  .primary-btn,
  .nav-button,
  .homepage-pricing-button--primary,
  .pricing-card-button-primary,
  .occasion-btn-primary,
  .compare-btn-primary,
  .packages-compared-closing-cta,
  .footer-cta-button,
  .account-page .account-btn--primary,
  .help-page .help-btn--primary,
  .qvc-cta-button,
  .tfw-btn,
  .work-promo-btn,
  .manage-tabbar-cta
) {
  /* The outline's resting color is the button red, not its white text color. With `transition: all`,
     focus would otherwise animate the ring from white to red. */
  outline-color: var(--brand-primary);
}

html body :is(
  .primary-btn,
  .nav-button,
  .homepage-pricing-button--primary,
  .pricing-card-button-primary,
  .occasion-btn-primary,
  .compare-btn-primary,
  .packages-compared-closing-cta,
  .footer-cta-button,
  .account-page .account-btn--primary,
  .help-page .help-btn--primary,
  .qvc-cta-button,
  .tfw-btn,
  .work-promo-btn,
  .manage-tabbar-cta
):is(:focus-visible, :active) {
  /* The ring matches the button: its own red, with a soft red halo (white read as a glitch on light pages). */
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  box-shadow: var(--shadow-button-focus);
}

html body :is(
  .primary-btn,
  .nav-button,
  .homepage-pricing-button--primary,
  .pricing-card-button-primary,
  .occasion-btn-primary,
  .compare-btn-primary,
  .packages-compared-closing-cta,
  .footer-cta-button,
  .account-page .account-btn--primary,
  .help-page .help-btn--primary,
  .qvc-cta-button,
  .tfw-btn,
  .work-promo-btn,
  .manage-tabbar-cta
):active {
  transform: translateY(0);
}

/* ---------- CRO audit (Oct 2026): cost and payment beside the actions ---------- */
.hero-pricing-note {
  margin: var(--space-16) 0 0;
  color: var(--stone-400);
  font-size: var(--fs-14);
  line-height: 1.5;
}
.hero-pricing-link {
  color: var(--brand-primary);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.hero-pricing-link:hover {
  color: var(--brand-primary-hover);
}
.reviews-cta {
  flex-direction: column;
  align-items: center;
}
.reviews-cta-proof {
  /* Directly under the button, now that no list stands between them. */
  margin: 0.875rem 0 0;
  color: var(--color-ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.stat-source {
  margin-top: -1rem;
  margin-bottom: var(--space-20);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-12);
}
.homepage-pricing-tiers {
  list-style: none;
  margin: -0.5rem 0 var(--space-12);
  padding: 0;
  border-top: 1px solid var(--rule);
}
.homepage-pricing-tiers li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text-body);
  font-size: var(--fs-15);
}
.homepage-pricing-tiers li span:last-child {
  font-weight: var(--weight-medium);
  color: var(--stone-850);
}
/* The recommended plan sits in the middle and stands out, as on the pricing page. */
@media (min-width: 768px) {
  .homepage-root .homepage-pricing-card--featured {
    transform: scale(1.04);
    z-index: 5;
  }
}

/* Plan art: the Video Book on the bundle. */
.homepage-pricing-book {
  position: relative;
  isolation: isolate;
  width: 82%;
  max-width: 300px;
  margin: 0 auto var(--space-16);
}
.homepage-pricing-book-cover {
  display: block;
  width: 90%;
  height: auto;
}
.homepage-pricing-book-screen {
  position: absolute;
  z-index: -1;
  top: 9%;
  left: 49%;
  width: 34%;
  height: auto;
  transform: rotate(4deg);
  border-radius: var(--radius-sm);
  object-fit: cover;
}
/* Concierge's editor tasks: checked rows, ruled like DIY's price rows beside it. */
.homepage-pricing-checks {
  list-style: none;
  margin: -0.5rem 0 var(--space-24);
  padding: 0;
  border-top: 1px solid var(--rule);
}
.homepage-pricing-checks li {
  position: relative;
  padding: var(--space-8) 0 var(--space-8) 1.625rem;
  border-bottom: 1px solid var(--rule);
  color: var(--text-body);
  font-size: var(--fs-15);
  line-height: 1.4;
}
.homepage-pricing-checks li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.8rem;
  width: 0.875rem;
  height: 0.5rem;
  border-left: 2px solid var(--color-plum);
  border-bottom: 2px solid var(--color-plum);
  transform: rotate(-45deg);
}
/* Says what the DIY rows are: the price follows the finished video's length. */
.homepage-pricing-tiers-title {
  margin: -0.5rem 0 var(--space-8);
  color: var(--stone-850);
  font-size: var(--fs-14);
  font-weight: var(--weight-medium);
}
.homepage-pricing-tiers-title + .homepage-pricing-tiers {
  margin-top: 0;
}


/* ==========================================================================
   Homepage hero, left column: the Remento-style stack (Oct 2026).
   Headline, lede, two buttons side by side, four check lines, a trust row.
   ========================================================================== */

.homepage-root .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-12);
  width: 100%;
  margin-bottom: var(--space-24);
}

.homepage-root .start-btn-wrapper {
  width: auto;
  flex: 0 0 auto;
}

.homepage-root .hero-buttons .primary-btn {
  width: auto;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-17);
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  margin: 0 0 var(--space-24);
  padding: 0;
  list-style: none;
}

.hero-checks li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
  font-size: var(--fs-15);
  line-height: 1.45;
  color: var(--text-body);
}

.hero-checks svg {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--color-plum);
}

.hero-checks .hero-pricing-link {
  margin-left: var(--space-4);
}

@media (max-width: 479px) {
  .homepage-root .start-btn-wrapper,
  .homepage-root .hero-buttons .primary-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust__divider {
    display: none;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-10);
  font-size: var(--fs-15);
  color: var(--color-ink-muted);
}

.hero-trust__stars {
  color: var(--color-star);
  font-size: var(--fs-16);
  letter-spacing: 0.08em;
}

.hero-trust__text strong {
  color: var(--text);
  font-weight: var(--weight-semibold);
}

.hero-trust__divider {
  width: 1px;
  height: 1rem;
  background: rgb(var(--rgb-ink) / 0.2);
}

@media (min-width: 768px) {
  .homepage-root .subhead {
    margin-bottom: var(--space-32);
  }

  .homepage-root .hero-buttons {
    gap: var(--space-16);
    margin-bottom: 1.75rem;
  }

  .homepage-root .hero-buttons .primary-btn {
    min-height: 3.5rem;
    padding: 0 var(--space-32);
    font-size: var(--fs-18);
  }

  .hero-checks li {
    font-size: var(--fs-16);
  }
}

/* Keep the headline compact on phones and tablets. */
.homepage-root #hero-title {
  font-size: min(var(--fs-36), var(--hero-line-fit, var(--fs-36)));
  margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .homepage-root #hero-title {
    font-size: min(3.125rem, var(--hero-line-fit, 3.125rem));
    line-height: 1.15;
    margin-bottom: var(--space-24);
  }
}

@media (min-width: 768px) {
  .homepage-root .hero {
    /* Let the copy set the minimum space it needs below the navigation. */
    height: auto;
    padding-bottom: 0;
  }

  .homepage-root .hero-content {
    margin-top: 0;
    padding-block: var(--space-24);
  }

  .homepage-root .hero .grid-container {
    /* The scrolling tiles fill the hero without making it taller. */
    contain: size;
    align-self: stretch;
    height: auto;
  }
}

/* Phones: the scrolling video tiles sit between the intro and the Start button, so faces come
   before the ask. The tiles live outside the copy block in the markup, so on phones the two
   copy wrappers step aside (display: contents) and every piece is ordered in the hero itself. */
@media (max-width: 767px) {
  .homepage-root .hero { gap: 0; }
  .homepage-root .hero .hero-content,
  .homepage-root .hero .initial-content { display: contents; }
  .homepage-root .hero .initial-content > * { order: 5; width: 100%; padding-inline: var(--space-24); }
  /* The copy wrapper has no box here, so it cannot be the container the experiment headlines
     size against. Give them the same fit from the viewport: the text column is 100vw - 3rem. */
  .homepage-root[data-emotional-copy]:not([data-emotional-copy="control"]) .hero .initial-content {
    --hero-line-fit: calc((100vw - 3rem) * .09);
  }
  .homepage-root .hero .initial-content > .section-eyebrow { order: 1; margin-top: var(--space-8); }
  .homepage-root .hero .initial-content > #hero-title { order: 2; }
  .homepage-root .hero .initial-content > .subhead { order: 3; margin-bottom: var(--space-16); }
  .homepage-root .hero .grid-container { order: 4; margin-bottom: var(--space-24); }
  /* The first tile lines up with the copy's left margin. The space is inside the scroller,
     so once the row moves the tiles run to the screen edge. */
  .homepage-root .hero .grid-scroll { padding-inline: var(--space-24); scroll-padding-inline: 1.5rem; }
  /* The scroller clips what spills past it, so give the tiles' shadows room above and below
     and take the space back with margins. */
  .homepage-root .hero .grid-scroll { padding-block: var(--space-12) var(--space-20); margin-block: -0.75rem -1.25rem; }
  .homepage-root .hero .initial-content > .hero-checks { order: 6; }
  .homepage-root .hero .initial-content > .hero-trust { order: 7; }
}

/* The hero's top padding (8.5rem) clears the navigation, so the copy was centered in the
   space below it and sat low. The navigation is see-through over the hero, so on wide
   windows center the copy in the whole hero instead. A negative top margin moves a centered
   flex item by half its size, so a 7.75rem margin lifts the copy by half that, which is the measured offset.
   Shorter windows get less lift, so the copy keeps clear of the navigation. */
@media (min-width: 1280px) {
  .homepage-root .hero-content {
    margin-top: calc(-1 * clamp(0px, 100vh - 46.25rem, 7.75rem));
  }
}

@media (min-width: 1024px) {
  .homepage-root .hero-content .initial-content {
    container-type: inline-size;
  }

  .homepage-root #hero-title {
    /* The control has the longest accent line; variants have their own fit limit. */
    font-size: min(4rem, calc(var(--hero-line-fit, max(3rem, 8.15cqi)) + 0.25rem));
    /* Borrow part of the 6rem gap before the video grid. */
    width: calc(100% + 4rem);
    max-width: none;
  }

  .homepage-root .hero-title-gradient {
    display: block;
    width: fit-content;
  }
}

/* Use one display size for section headings across the homepage. */
/* One section-headline size on phones (wider screens set their own below). */
.homepage-root { --section-title-size: 2.125rem; }
.homepage-root .intro-copy h2,
.homepage-root .how-it-works-header h3,
.homepage-root .reviews-header h2,
.homepage-root #tears-heading,
.homepage-root .video-book-heading,
.homepage-root .faq-left h3,
.homepage-root .occasions-section .occasions-content > h3,
.homepage-root .work-promo-title,
.homepage-root .keepsakes-text > h3,
.homepage-root .ideas-title {
  font-size: var(--section-title-size);
  line-height: 1.15;
}

@media (min-width: 768px) {
  .homepage-root .intro-copy h2,
  .homepage-root .how-it-works-header h3,
  .homepage-root .reviews-header h2,
  .homepage-root #tears-heading,
  .homepage-root .video-book-heading,
  .homepage-root .faq-left h3,
  .homepage-root .occasions-section .occasions-content > h3,
  .homepage-root .work-promo-title,
  .homepage-root .keepsakes-text > h3,
  .homepage-root .ideas-title {
    font-size: 3.125rem;
    line-height: 1.15;
    white-space: normal;
  }
}


/* One eyebrow for every section title on the homepage. Red on light sections, peach on
   dark ones (the --eyebrow role); it inherits the heading's alignment from the container. */
.homepage-root .section-eyebrow {
  margin: 0 0 var(--space-12);
  font-family: var(--font-ui);
  font-size: var(--fs-13);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--eyebrow);
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: block;
}

/* Match each heading's alignment */
.homepage-root .reviews-header .section-eyebrow { text-align: right; }
.homepage-root .how-it-works-header .section-eyebrow,
.homepage-root .homepage-pricing .section-eyebrow,
.homepage-root .occasions-content > .section-eyebrow,
.homepage-root .work-promo .section-eyebrow,
.homepage-root .keepsakes-text > .section-eyebrow,
.homepage-root .ideas-content > .section-eyebrow { text-align: center; }


/* ==========================================================================
   Reassurance under a Start button (includes/cta_reassurance.html): three short
   true claims, each with its icon in a small tinted disc, so nobody has to wonder
   what clicking commits them to. Always its own full-width row under the button.
   ========================================================================== */
.cta-reassurance {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 100%;
  width: 100%;
  gap: var(--space-8) var(--space-24);
  margin: var(--space-16) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-ui);
  font-size: var(--fs-14);
  font-weight: var(--weight-medium);
  line-height: 1.3;
  color: var(--text-muted);
  text-align: left;
}

.cta-reassurance li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  white-space: nowrap;
}

.cta-reassurance svg {
  flex: 0 0 auto;
  box-sizing: content-box;
  width: 14px;
  height: 14px;
  padding: 5px;
  border-radius: 999px;
  /* Soft plum on light, peach on dark: not a success green. */
  background: var(--icon-chip);
  color: var(--icon);
}

.cta-reassurance--center {
  justify-content: center;
}

/* Button rows that lay out as a flex row must let the reassurance wrap under them */
.tears-cta,
.keepsakes-buttons,
.video-book-ctas,
.reviews-cta,
.how-it-works-cta,
.occasion-videos-cta,
.footer-cta-content {
  flex-wrap: wrap;
}

/* Inside the pricing cards the row sits tight under the button and stacks */
.homepage-pricing-card .cta-reassurance,
.pricing-card .cta-reassurance {
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  margin: var(--space-14) auto 0;
  gap: 0.4rem;
  font-size: var(--fs-13);
}

.footer-cta-content .cta-reassurance {
  margin: var(--space-16) auto var(--space-24);
  justify-content: center;
}

/* Narrow text columns stack the row so it never breaks two-and-one */
.tears-cta .cta-reassurance,
.occasion-alt-content .cta-reassurance,
.occasion-group-gift .cta-reassurance,
.packages-compared-closing-copy .cta-reassurance {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-8);
}

/* ==========================================================================
   Hero start form (v3/includes/hero_start_form.html): the three questions of
   /start/ on the page, on the homepage and the occasion pages. Both heroes are
   dark. The form shows one question at a time.
   ========================================================================== */

/* The form sits straight on the dark hero, with no card around it. */
.hero-start-form {
  position: relative;
  width: 100%;
  max-width: 34rem;
  text-align: left;
}

.hero-start-form__free {
  margin: var(--space-12) 0 0;
  color: var(--text-body);
  font-size: var(--fs-15);
}

/* Out of sight and out of the tab order: only a bot fills it. */
.hero-start-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.homepage-pricing-offer {
  margin: var(--space-12) 0 0;
  font-size: var(--fs-17);
}

/* Phones: the proof row is one line: "★★★★★ 4.9 7,700+ reviews | 8M+ messages". */
@media (max-width: 767px) {
  .hero-trust {
    flex-wrap: nowrap;
    gap: var(--space-8);
    font-size: var(--fs-13);
    white-space: nowrap;
  }
  .hero-trust .hero-trust__stars { font-size: var(--fs-14); letter-spacing: 0.04em; }
  .hero-trust .hero-trust__wide { display: none; }
  .hero-trust .hero-trust__divider { display: block; flex: none; }
  /* "Pricing" alone fits on the last check's line. */
  .hero-checks .hero-pricing-link { margin-left: 0; text-transform: capitalize; }
  .hero-checks .hero-pricing-link__see { display: none; }
  .hero-checks li { gap: var(--space-8); }
}
/* Narrow phones: a smaller size keeps "Pricing" on that line. */
@media (max-width: 389px) {
  .hero-checks li { font-size: var(--fs-14); }
}

/* Proof closes the form, under the button. */
.hero-start-form__proof {
  margin-top: var(--space-20);
}

/* Ad visits: the menu keeps the logo, Login or the account, and the Start button. */
.nav--focused .nav-items > .nav-dropdown:not(.nav-dropdown-user),
.nav--focused .nav-items > .nav-link:not(#login-link) {
  display: none;
}

.hero-start-form__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-14);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Stepper: only the active step is in the flow, so the first paint already shows
   one question. The others lie on top, hidden. hero-start-form.js sets the height
   and adds .is-animated on the first move, so nothing animates on load. A step
   waits on the right, and leaves to the left. Without JavaScript the <noscript>
   style in the include stacks the steps. */
.hero-start-form__steps {
  position: relative;
}

.hero-start-form__step:not(.is-active) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(1.5rem);
}

.hero-start-form__step.is-before {
  transform: translateX(-1.5rem);
}

.hero-start-form.is-animated .hero-start-form__steps {
  transition: height 0.25s ease;
}

.hero-start-form.is-animated .hero-start-form__step {
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.hero-start-form.is-animated .hero-start-form__step.is-active {
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.hero-start-form__question {
  /* Room at the right for the step count (and the Back arrow). */
  padding: 0 7rem 0 0;
  color: var(--text);
  font-family: 'Fraunces', serif;
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

/* Phones: the question is a field label there, not a headline. The step count's row
   keeps the height of one line of it. */
@media (max-width: 767px) {
  .hero-start-form .hero-start-form__question {
    /* Room for the Back arrow only: the step count is not shown on phones. */
    padding-right: 2.25rem;
    font-size: 1.1875rem;
  }
  /* The count stays in the page for screen readers (it is the live region that says
     which step this is), but takes no room. */
  .hero-start-form .hero-start-form__count {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .hero-start-form .hero-start-form__nav { min-height: 1.5rem; }
}

.hero-start-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  width: 100%;
}

/* 1rem text at least: iOS zooms the page on focus when a field's text is under 16px. */
.hero-start-form__input {
  flex: 1 1 12rem;
  min-width: 0;
  /* 52px: the height of the homepage hero's Start button, so every hero's main control
     matches (Adam, 2026-11-21). */
  height: 3.25rem;
  padding: 0 var(--space-16);
  border: 1px solid rgb(var(--rgb-ink) / 0.16);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--color-dark);
  color-scheme: light;
  font: inherit;
  font-size: var(--fs-17);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.hero-start-form__input::placeholder {
  color: var(--stone-500);
}

.hero-start-form__input:hover {
  border-color: rgb(var(--rgb-ink) / 0.3);
}

/* Focus is the same quiet state as the v3 account fields: a brighter border and a soft
   ring, with no offset outline. */
.hero-start-form__input:focus {
  outline: none;
  border-color: rgb(var(--rgb-ink) / 0.45);
  box-shadow: 0 0 0 3px rgb(var(--rgb-ink) / 0.08);
  background-color: #ffffff;
}

/* Validation, as on the start page: a short message under the field. Red is for this
   state only. */
.hero-start-form__error {
  margin: -0.375rem 0 0;
  color: #b42318;
  font-size: var(--fs-14);
}

.hero-start-form__input[aria-invalid="true"] {
  border-color: #d64545;
}

.hero-start-form__input[aria-invalid="true"]:focus {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(241, 113, 117, 0.2);
}

/* The occasion and the date each have a button that looks like a field and opens a
   list or a calendar under it (hero-start-form.js). The native select and date field
   it stands in for stay in the form, out of sight, and hold the value. */
.hero-start-form .is-replaced {
  display: none;
}

.hero-start-form__picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  color: var(--stone-500);
  text-align: left;
  cursor: pointer;
}

.hero-start-form__picker[hidden] {
  display: none;
}

.hero-start-form__picker.has-value {
  color: var(--color-dark);
}

.hero-start-form__picker svg {
  flex: 0 0 auto;
  color: var(--stone-500);
}

.hero-start-form__picker [data-picker-label] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-start-form__picker[data-picker-trigger="occasion"] { anchor-name: --hero-start-occasion; }
.hero-start-form__picker[data-picker-trigger="date"] { anchor-name: --hero-start-date; }

/* The popover: a dark card in the top layer. By default the browser centers it on the
   screen, which is right for phones and for browsers without anchor positioning. Where
   anchor positioning works, on wider screens, it drops from its button. */
.hero-start-popover {
  max-width: calc(100vw - 2rem);
  padding: var(--space-12);
  border: 1px solid rgb(var(--rgb-ink) / 0.1);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--color-dark);
  box-shadow: 0 1.5rem 3rem rgb(var(--rgb-shadow) / 0.18);
  opacity: 0;
  transform: translateY(-0.375rem);
  transition: opacity 0.16s ease, transform 0.16s ease, overlay 0.16s allow-discrete, display 0.16s allow-discrete;
}

.hero-start-popover:popover-open {
  opacity: 1;
  transform: none;
}

@starting-style {
  .hero-start-popover:popover-open {
    opacity: 0;
    transform: translateY(-0.375rem);
  }
}

.hero-start-popover::backdrop {
  background-color: rgb(var(--rgb-ink) / 0.2);
}

@supports (anchor-name: --a) {
  @media (min-width: 480px) {
    .hero-start-popover {
      inset: auto;
      top: anchor(bottom);
      left: anchor(left);
      margin: var(--space-8) 0 0;
      position-try-fallbacks: flip-block;
    }

    .hero-start-popover--occasion {
      position-anchor: --hero-start-occasion;
      min-width: anchor-size(width);
    }

    /* As wide as its field, like the occasion list. The days spread to fill it. */
    .hero-start-popover--date {
      position-anchor: --hero-start-date;
      min-width: anchor-size(width);
    }

    .hero-start-popover::backdrop {
      background-color: transparent;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-start-popover {
    transform: none;
    transition: none;
  }
}

/* The occasion list. */
.hero-start-popover--occasion {
  width: 18rem;
  max-height: min(22rem, 60vh);
  overflow-y: auto;
  padding: var(--space-8);
}

.hero-start-popover__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.75rem;
  padding: 0 var(--space-12);
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--color-dark);
  font: inherit;
  font-size: var(--fs-16);
  text-align: left;
  cursor: pointer;
}

.hero-start-popover__option:hover,
.hero-start-popover__option:focus-visible {
  outline: none;
  background-color: var(--color-linen);
}

.hero-start-popover__option[aria-selected="true"] {
  background-color: #fbeee4;
  font-weight: var(--weight-semibold);
}

.hero-start-popover__option[aria-selected="true"]::after {
  content: '';
  width: 0.75rem;
  height: 0.375rem;
  border-bottom: 2px solid var(--brand-primary);
  border-left: 2px solid var(--brand-primary);
  transform: rotate(-45deg) translateY(-2px);
}

.hero-start-popover__heading {
  margin: var(--space-8) 0 var(--space-4);
  padding: var(--space-8) var(--space-12) 0;
  border-top: 1px solid rgb(var(--rgb-ink) / 0.08);
  color: var(--stone-500);
  font-size: var(--fs-12);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* The calendar (Cally). White marks the chosen day, as white marks the chosen
   occasion. Days that cannot be chosen are faint. */
.hero-start-popover calendar-date {
  --color-accent: var(--brand-primary);
  --color-text-on-accent: #fff;
  display: block;
  /* Fill the popover, so the days sit centered in it at any field width. */
  width: 100%;
  color: var(--color-dark);
}

.hero-start-popover calendar-date::part(header) {
  margin-bottom: var(--space-8);
}

.hero-start-popover calendar-date::part(heading) {
  font-size: var(--fs-15);
  font-weight: var(--weight-semibold);
}

.hero-start-popover calendar-date::part(button) {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--color-dark);
  cursor: pointer;
}

.hero-start-popover calendar-date::part(button):hover {
  background-color: var(--color-linen);
}

.hero-start-popover calendar-date::part(disabled) {
  opacity: 0.3;
  cursor: default;
}

/* The month's own heading repeats the one between the arrows. */
.hero-start-popover calendar-month::part(heading) {
  display: none;
}

.hero-start-popover calendar-month {
  display: block;
  width: 100%;
}

.hero-start-popover calendar-month::part(table) {
  width: 100%;
}

.hero-start-popover calendar-month::part(td) {
  text-align: center;
}

.hero-start-popover calendar-month::part(th) {
  padding-bottom: var(--space-4);
  color: var(--stone-500);
  font-size: var(--fs-12);
  font-weight: var(--weight-medium);
}

.hero-start-popover calendar-month::part(button) {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  color: var(--color-dark);
  font-size: var(--fs-15);
  cursor: pointer;
}

.hero-start-popover calendar-month::part(button):hover {
  background-color: var(--color-linen);
}

.hero-start-popover calendar-month::part(today) {
  box-shadow: inset 0 0 0 1px rgb(var(--rgb-ink) / 0.35);
}

.hero-start-popover calendar-month::part(selected) {
  background-color: var(--brand-primary);
  color: #fff;
  font-weight: var(--weight-semibold);
}

.hero-start-popover calendar-month::part(disallowed),
.hero-start-popover calendar-month::part(disabled),
.hero-start-popover calendar-month::part(outside) {
  opacity: 0.3;
  cursor: default;
}

.hero-start-form .primary-btn {
  flex: 0 0 auto;
  width: auto;
  min-height: 3.25rem;
  padding: 0 1.75rem;
  font-family: inherit;
  font-size: var(--fs-17);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  cursor: pointer;
}

/* The occasion select looks like the other fields, with its own arrow. */
.hero-start-form__select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c6a74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 1.25rem;
  cursor: pointer;
}

/* The open list is drawn by the browser: give it readable colors on every system. */
.hero-start-form__select option,
.hero-start-form__select optgroup {
  background-color: #ffffff;
  color: var(--color-dark);
}

.hero-start-form__skip,
.hero-start-form__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-body);
  font: inherit;
  font-size: var(--fs-15);
  font-weight: var(--weight-medium);
  cursor: pointer;
}

/* Centered under the date row, and close to it. */
.hero-start-form__skip {
  display: flex;
  width: fit-content;
  min-height: 2.5rem;
  margin: -0.5rem auto 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-start-form__skip:hover,
.hero-start-form__back:hover {
  color: var(--text);
}

.hero-start-form__skip:focus-visible,
.hero-start-form__back:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* Where the visitor is, over the question: "Step 1 of 3". From the second step, Back
   comes in front of it. */
.hero-start-form__nav {
  /* On the question's own line, at its right end. The question keeps clear of it. */
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* The height of one line of the question (1.5rem at 1.25). */
  min-height: 1.875rem;
}

/* Back is an arrow here: its word stays for screen readers, and takes no room. */
.hero-start-form__nav .hero-start-form__back {
  justify-content: center;
  min-width: 1.5rem;
  min-height: 1.5rem;
  gap: 0;
  font-size: 0;
}

.hero-start-form__back:disabled {
  display: none;
}

.hero-start-form__count {
  color: var(--text-muted);
  font-size: var(--fs-12);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* "No occasion yet? Buy it now, give it later": a plain line under the form, with the
   link in the hero's warm accent, so it reads as a second way in and not as a field.
   .hero-later is the same line under the homepage's Start button (visits not from an ad). */
.hero-start-form__later {
  margin: var(--space-16) 0 0;
  color: var(--text-body);
  font-size: var(--fs-16);
}

/* Its own row in the hero's button row, under the Start button. */
.hero-later {
  flex: 1 0 100%;
  margin: 0;
  color: var(--text-body);
  font-size: var(--fs-16);
}

.hero-start-form__later a,
.hero-later a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  /* The blue the headline's gradient starts on. */
  color: var(--brand-primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero-start-form__later a svg,
.hero-later a svg {
  transition: transform var(--transition-fast);
}

.hero-start-form__later a:hover svg,
.hero-later a:hover svg {
  transform: translateX(3px);
}

.hero-start-form__later a:focus-visible,
.hero-later a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

@media (max-width: 479px) {
  .hero-start-form__row .primary-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-start-form__step:not(.is-active),
  .hero-start-form__step.is-before {
    transform: none;
  }

  .hero-start-form.is-animated .hero-start-form__steps,
  .hero-start-form.is-animated .hero-start-form__step,
  .hero-start-form.is-animated .hero-start-form__step.is-active {
    transition: none;
  }
}

/* Phones: the announcement banner's spacer already moves the hero down by the banner's
   height, and nav.html adds that height to the hero's top padding once more. On phones the
   banner wraps to three lines, so the hero keeps its own 5rem, and the eyebrow sits the
   same distance under the menu with or without the banner, as on the occasion pages. */
@media (max-width: 767px) {
  body.homepage-root.promo-banner-visible:not(.offer-banner-visible) .hero.hero--dark {
    padding-top: var(--space-80);
  }
}

/* Phones, ad visits: the form comes before the video, so the first question is on the
   first screen. (The base order is set with the hero's phone layout above.) */
@media (max-width: 767px) {
  .homepage-root .hero--focused .initial-content > .hero-buttons { order: 4; }
  /* A term-matched hero has no eyebrow, so the headline takes its top space. */
  .homepage-root .hero .initial-content > #hero-title:first-child { margin-top: var(--space-20); }
}


/* ==========================================================================
   Hero feature video: ad visits see one video for the occasion the ad named,
   in place of the scrolling tiles. It opens in the video modal.
   ========================================================================== */

.hero-feature {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-inline: var(--space-24);
}

/* The video is a rounded card, the same card as the Video Book photo: a thin light
   border and a deep shadow. The edges of two more cards show under it, each a little
   narrower and fainter, so it reads as the top one of many videos. */
.hero-feature__stack {
  position: relative;
  isolation: isolate;
  padding-bottom: 1.375rem;
}

.hero-feature__stack::before,
.hero-feature__stack::after {
  content: '';
  position: absolute;
  z-index: 0;
  height: 4rem;
  border: 1px solid rgb(var(--rgb-ink) / 0.06);
  border-radius: var(--radius-card);
}

.hero-feature__stack::before {
  right: 4.5%;
  bottom: 0.6875rem;
  left: 4.5%;
  background-color: #e9e0d8;
}

.hero-feature__stack::after {
  right: 9%;
  bottom: 0;
  left: 9%;
  z-index: -1;
  background-color: #f1ebe5;
}

.hero-feature__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-card);
  background-color: var(--color-deep-raised);
  box-shadow: 0 1.75rem 3.5rem rgb(var(--rgb-shadow) / 0.22);
}

.hero-feature__video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero-feature__video img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-feature__video:hover img {
  transform: scale(1.025);
}

/* The play button is frosted glass, not a black disc. */
.hero-feature__video .play-overlay {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

.hero-feature__video:hover .play-overlay {
  background: rgba(255, 255, 255, 0.3);
}

.hero-feature__video:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -6px;
  border-radius: var(--radius-card);
}

/* The title lies over the foot of the picture, on a dark wash that fades upward. */
.hero-feature__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 3.5rem var(--space-24) var(--space-20);
  background: linear-gradient(
    to top,
    rgb(var(--rgb-ink) / 0.82) 0%,
    rgb(var(--rgb-ink) / 0.5) 50%,
    rgb(var(--rgb-ink) / 0) 100%
  );
  color: var(--stone-200);
  font-size: var(--fs-15);
  pointer-events: none;
}

.hero-feature__caption strong {
  display: block;
  color: #fff;
  font-size: var(--fs-17);
  font-weight: var(--weight-semibold);
}

@media (max-width: 479px) {
  .hero-feature__caption {
    padding: var(--space-40) var(--space-16) var(--space-14);
    font-size: var(--fs-14);
  }

  .hero-feature__caption strong {
    font-size: var(--fs-15);
  }
}

/* An ad-visit headline has two parts, matched to a term or not. Where the copy column is wide enough, each
   part is one line: "A Birthday Group Video Card" / "From Everyone Who Loves Them".
   The type scales with the column so the longest part still fits (6cqi fits 31
   characters of Fraunces). In a narrower column the type stops shrinking at 1.625rem,
   each part wraps, and the browser evens out its lines. */
.homepage-root .hero--focused #hero-title {
  text-wrap: balance;
}

.homepage-root .hero--focused #hero-title .hero-title-gradient {
  display: block;
}

@media (min-width: 768px) {
  /* One video needs less room than the scrolling tiles, so the copy takes more. */
  .homepage-root .hero--focused .hero-content {
    flex: 0 0 54%;
    max-width: 54%;
  }

  /* The standard hero keeps a wide gap before the scrolling tiles. One framed video
     sits closer to the copy, so it can be larger. */
  .homepage-root .hero.hero--focused {
    gap: var(--space-40);
  }

  .homepage-root .hero--focused .hero-content .initial-content {
    container-type: inline-size;
  }

  /* Every ad-visit headline takes this size, matched or not: the standard homepage
     size is too heavy beside one video. */
  .homepage-root .hero--focused #hero-title {
    width: 100%;
    font-size: clamp(1.625rem, 6cqi, 3.5rem);
  }

  @container (min-width: 27rem) {
    .homepage-root .hero--focused #hero-title {
      white-space: nowrap;
    }
  }
}

/* Ad visits: the hero is only as tall as its content, not a full screen. The space
   under the navigation (5.5rem tall) equals the space at the foot, so the copy and
   the video sit in the middle of what is left. */
@media (min-width: 768px) {
  .homepage-root .hero.hero--focused {
    height: auto;
    min-height: 0;
    padding-top: 7.5rem;
    padding-bottom: var(--space-32);
  }
}

/* Ad visits: the copy is not lifted toward the navigation. The standard hero lifts
   it to center against the tall video tiles, which are not here. */
@media (min-width: 1280px) {
  .homepage-root .hero--focused .hero-content {
    margin-top: 0;
  }
}

/* Phones: the video comes after the form, like the tiles it replaces. */
@media (max-width: 767px) {
  .homepage-root .hero .hero-feature { order: 5; margin-bottom: var(--space-24); }
  /* Meta ad visits: the video comes first, above the headline (views.py hero_video_first). */
  .homepage-root .hero--video-first .hero-feature { order: 0; margin-top: 0; margin-bottom: var(--space-24); }
  .homepage-root .hero.hero--video-first .initial-content > #hero-title:first-child { margin-top: 0; }
  /* The video leads there, so the headline is a size smaller than the standard 2.125rem. */
  .homepage-root .hero.hero--video-first #hero-title { font-size: var(--fs-28); line-height: 1.15; margin-bottom: var(--space-12); }
  /* The video is the top of the page there: edge to edge, square, and up against the
     offer bar. The logo and the menu button lie over it. */
  .homepage-root .hero.hero--video-first { padding-top: 0; }
  .homepage-root .hero--video-first .hero-feature { padding-inline: 0; }
  .homepage-root .hero--video-first .hero-feature__frame {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  /* A shade at the top of the picture, so the logo and the menu button stay readable. */
  .homepage-root .hero--video-first .hero-feature__frame::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 6rem;
    background: linear-gradient(180deg, rgb(var(--rgb-ink) / 0.7) 0%, rgb(var(--rgb-ink) / 0) 100%);
    pointer-events: none;
  }
}

/* Meta ad visits on phones: the video's caption is a small frosted bubble in the lower
   right corner, with its two lines set to the right, in place of the dark band across
   the foot of the picture. */
@media (max-width: 767px) {
  .homepage-root .hero--video-first .hero-feature__caption {
    right: 0.875rem;
    bottom: 0.875rem;
    left: auto;
    max-width: calc(100% - 1.75rem);
    padding: var(--space-8) var(--space-14) 0.5625rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.875rem;
    background: rgb(var(--rgb-ink) / 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--color-gray-light);
    font-size: var(--fs-13);
    line-height: 1.35;
    text-align: right;
  }
  .homepage-root .hero--video-first .hero-feature__caption strong {
    font-size: var(--fs-15);
  }
}

/* Meta ad visits on phones: at the top of the page only the logo lies over the video.
   The menu button comes with the bar that follows the visitor down the page. */
@media (max-width: 767px) {
  .nav.nav--video-first:not(.scrolled) .mobile-menu-toggle {
    visibility: hidden;
    pointer-events: none;
  }
}

/* Meta ad visits, every width: the whole headline is one ink color, with no gradient on
   its second line. (The class is on the hero for every Meta ad visit: views.py.) */
.homepage-root .hero--video-first #hero-title,
.homepage-root .hero--video-first #hero-title .hero-title-gradient {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--text);
  -webkit-text-fill-color: var(--color-dark);
}

/* Meta ad visits: the video stands alone, with no edges of other cards under it, and it
   is as wide as the column. */
.homepage-root .hero--video-first .hero-feature__stack { padding-bottom: 0; }
.homepage-root .hero--video-first .hero-feature__stack::before,
.homepage-root .hero--video-first .hero-feature__stack::after { display: none; }

/* The video fills its side of the hero. The hero already has side padding there. */
@media (min-width: 768px) {
  .hero-feature {
    flex: 1;
    align-self: center;
    padding-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature__video img {
    transition: none;
  }
}

/* The Video Book version of the feature video, for ads that name the Video Book or a
   video card: the photo of the book open on a living room shelf, with the video
   playing in the book's own screen.

   The photo sits in a rounded card, with the video's title on the shelf in its lower
   left. It is shown a little larger than its box and cut to the book (.hero-photo is the
   window, .hero-photo__scene is the whole photo). */
@media (min-width: 768px) {
  .homepage-root .hero--focused.hero--book .hero-content {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.hero-photo-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-card);
  background-color: var(--color-deep-raised);
  box-shadow: 0 1.75rem 3.5rem rgb(var(--rgb-shadow) / 0.2);
}

.hero-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

/* What the video is, and who it is from: dark text across the foot of the photo. A
   soft warm-white wash rises behind it and fades out, so the text reads on the wood
   grain and its shadows. */
.hero-photo-card__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: var(--space-48) var(--space-24) 1.125rem;
  background: linear-gradient(
    to top,
    rgba(255, 250, 242, 0.82) 0%,
    rgba(255, 250, 242, 0.6) 40%,
    rgba(255, 250, 242, 0.22) 72%,
    rgba(255, 250, 242, 0) 100%
  );
  color: var(--color-dark-secondary);
  font-size: var(--fs-15);
  pointer-events: none;
}

.hero-photo-card__caption strong {
  display: block;
  color: var(--stone-850);
  font-size: var(--fs-17);
  font-weight: var(--weight-semibold);
}

@media (max-width: 479px) {
  .hero-photo-card__caption {
    padding: 2.25rem var(--space-16) var(--space-12);
    font-size: var(--fs-14);
  }

  .hero-photo-card__caption strong {
    font-size: var(--fs-15);
  }
}

/* The whole photo, 130% of the window. The window shows it from 14% across and 20% down,
   which trims the wall above the books and the underside of the shelf. */
.hero-photo__scene {
  position: absolute;
  top: -29.1%;
  left: -18.2%;
  width: 130%;
  aspect-ratio: 1200 / 896;
}

.hero-photo__img {
  display: block;
  width: 100%;
  height: 100%;
}

/* The book's screen in the photo. Its corners are at (54.17%, 35.85%), (75.92%, 35.25%),
   (75.83%, 58.56%), and (54.08%, 56.62%) of the photo: the box around them, cut to
   that four-sided shape. The screen is seen almost straight on, so the picture needs
   no bending. */
.hero-photo__screen {
  position: absolute;
  top: 35.25%;
  left: 54.08%;
  width: 21.84%;
  height: 23.31%;
  background: #0b0d12;
  clip-path: polygon(0.4% 2.6%, 100% 0%, 99.6% 100%, 0% 91.7%);
}

.hero-photo__video,
.hero-photo__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* The video is a little larger than the screen and cut by it. Some Tribute videos
   carry a thin black column at one edge, which would show as a dark line here. */
.hero-photo__video {
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
}

/* The band of sunlight that crosses the screen in the photo. */
.hero-photo__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 244, 222, 0) 58%, rgba(255, 244, 222, 0.16) 72%, rgba(255, 244, 222, 0) 88%);
  pointer-events: none;
}

.hero-photo__play {
  z-index: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero-photo__play .play-overlay {
  width: 52px;
  height: 52px;
  transition: opacity var(--transition-base), background-color var(--transition-fast);
}

.hero-photo__play:hover .play-overlay {
  background: rgba(0, 0, 0, 0.8);
}

/* While the video plays, the button is still there to pause it, without its icon. */
.hero-photo.is-playing .play-overlay {
  opacity: 0;
}

.hero-photo__play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* Phones: the card keeps the hero's side margins. */
@media (max-width: 767px) {
  .homepage-root .hero .hero-feature--book {
    margin-top: var(--space-8);
  }
}

/* ==========================================================================
   Blog landing page (/start/gift-idea/, templates/v3/blog_landing.html). It is
   the homepage's ad-visit hero and sections, plus the two pieces here: the
   offer line and the "buy it now, give it later" section. (The short form of
   that offer is a line under the start form: .hero-start-form__later.)
   ========================================================================== */

/* The blog reader's offer, over the form. */
.hero-offer {
  margin: -0.5rem 0 var(--space-20);
  color: var(--color-ink-muted);
  font-size: var(--fs-15);
}

.hero-offer strong {
  color: var(--brand-primary);
  font-weight: var(--weight-semibold);
}

@media (max-width: 767px) {
  .homepage-root .hero .initial-content > .hero-offer { order: 3; margin: 0 0 var(--space-16); }
}

/* The same offer in full, lower on the page. */
.later-band {
  padding: var(--space-64) var(--space-24);
  border-top: 1px solid var(--rule);
  background-color: #fff;
  background-image:
    radial-gradient(at 12% 10%, rgb(var(--rgb-peach) / 0.22) 0px, transparent 55%),
    radial-gradient(at 90% 90%, rgb(var(--rgb-sky) / 0.26) 0px, transparent 55%);
  color: var(--stone-850);
}

.later-band__inner {
  display: grid;
  gap: var(--space-40);
  max-width: 1200px;
  margin: 0 auto;
}

.later-band__title {
  margin: 0;
  color: var(--stone-850);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-32);
  font-weight: var(--weight-regular);
  line-height: 1.2;
  text-wrap: balance;
}

.later-band__text {
  max-width: 34rem;
  margin: var(--space-16) 0 0;
  color: var(--color-ink-muted);
  font-size: var(--fs-17);
  line-height: 1.55;
}

.later-band .later-band__btn {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 3.25rem;
  margin-top: 1.75rem;
  padding: 0 1.75rem;
}

.later-band__list {
  display: grid;
  gap: var(--space-12);
  margin: 0;
  padding: 0;
  list-style: none;
}

.later-band__list li {
  padding: var(--space-16) var(--space-20);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background-color: #fff;
}

.later-band__list strong {
  display: block;
  font-size: var(--fs-17);
  font-weight: var(--weight-semibold);
}

.later-band__list span {
  display: block;
  margin-top: var(--space-4);
  color: var(--color-ink-muted);
  font-size: var(--fs-15);
}

@media (min-width: 768px) {
  .later-band {
    padding: var(--space-96) var(--space-48);
  }

  .later-band__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3.5rem;
  }

  .later-band__title {
    font-size: var(--fs-44);
  }
}

/* ==========================================================================
   Warm palette, shared pieces (Nov 2026). Most buyers are women: soft shapes,
   warm light grounds, and warm charcoal dark sections. Tokens are in :root.
   ========================================================================== */

/* Every marketing primary action is a pill. (/manage/ keeps its own tab bar button.) */
html body :is(
  .primary-btn,
  .nav-button,
  .homepage-pricing-button--primary,
  .pricing-card-button-primary,
  .occasion-btn-primary,
  .compare-btn-primary,
  .packages-compared-closing-cta,
  .footer-cta-button,
  .help-page .help-btn--primary,
  .qvc-cta-button,
  .tfw-btn,
  .work-promo-btn
) {
  border-radius: var(--radius-button);
}

/* A light hero on wide windows: the frosted wedge behind the links turns to cream, so the
   ink links stay readable where they cross the video tiles. */
@media (min-width: 768px) {
  body.homepage-root .nav.light-bg:not(.scrolled)::after {
    background: rgba(255, 255, 255, 0.85);
  }
}


/* ==========================================================================
   Homepage hero on warm charcoal (Adam's pick, 2026-11-17): the Video Book section's
   ground with its lighting mirrored: the lamp glow behind the headline at the left,
   a plum glow behind the videos at the right that blends into the plum tiles.
   Ad visits keep the light hero, because the start form is styled for light.
   ========================================================================== */
.homepage-root .hero.hero--dark {
  background-color: var(--color-deep);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath opacity='.045' filter='url(%23n)' d='M0 0h128v128H0z'/%3E%3C/svg%3E"),
    radial-gradient(ellipse var(--hero-lamp, 60% 70% at 18% 35%), rgba(232, 178, 118, 0.12), transparent 70%),
    radial-gradient(ellipse var(--hero-plum, 75% 95% at 82% 50%), rgba(120, 58, 108, 0.4), transparent 72%),
    radial-gradient(ellipse var(--hero-corner, 50% 50% at 100% 0%), rgba(96, 48, 88, 0.35), transparent 70%),
    radial-gradient(ellipse 70% 60% at 45% 100%, rgba(62, 38, 56, 0.55), transparent 70%),
    linear-gradient(var(--hero-angle, 160deg), #221c1b 0%, #1f1a1c 50%, #1c161b 100%);
}
/* Phones stack the videos under the copy, so the light is even across the width: the lamp
   glow along the top, the plum glow behind the videos, and no diagonal. */
@media (max-width: 767px) {
  .homepage-root .hero.hero--dark {
    --hero-lamp: 140% 38% at 50% 8%;
    --hero-plum: 160% 40% at 50% 80%;
    --hero-corner: 160% 24% at 50% 0%;
    --hero-angle: 180deg;
  }
}
.homepage-root .hero--dark #hero-title { color: var(--text); }
.homepage-root .hero--dark .hero-title-gradient {
  /* Peach to warm gold: the lamp light. */
  background: var(--gradient-display-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
}
.homepage-root .hero--dark .subhead { color: var(--text-body); }
.homepage-root .hero--dark .hero-checks li { color: var(--text-body); }
.homepage-root .hero--dark .hero-checks svg { color: var(--color-peach); }
.homepage-root .hero--dark .hero-pricing-link { color: #f6c39b; }
.homepage-root .hero--dark .hero-pricing-link:hover { color: #fde3a7; }
.homepage-root .hero--dark .hero-trust { color: #b8afa8; }
.homepage-root .hero--dark .hero-trust__text strong { color: var(--text); }
.homepage-root .hero--dark .hero-trust__divider { background: rgba(255, 255, 255, 0.25); }
/* On the dark ground the veil's top highlight and a deeper shadow stand the tiles off it;
   no rim (soft veil). */
.homepage-root .hero--dark .grid-item {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}
.homepage-root .hero--dark .grid-item::before { opacity: 0.22; }

/* ==========================================================================
   How it works: the reassurances float at the phone's edges (Adam's pick,
   2026-11-17). The column keeps the steps and the button; phones keep the card.
   ========================================================================== */

/* Frosted pills at the phone's edges. They sit on the stage, not the phone, so they follow
   its scroll drift but never its buzz. The stage lays out a box the phone's size for them. */
.homepage-root #how-it-works .how-chips { display: none; }
@media (min-width: 768px) {
  .homepage-root #how-it-works .how-cta--chips .cta-reassurance {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .homepage-root #how-it-works .how-chips {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    /* The phone is centered on the stage here, 272px wide (its --how-w). */
    left: 50%;
    width: 272px;
    translate: -50% 0;
    z-index: 4;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
  }
  .homepage-root #how-it-works .how-chips li {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-10);
    padding: 0.4375rem var(--space-16) 0.4375rem 0.4375rem;
    border: 1px solid #fff;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgb(var(--rgb-shadow) / 0.06), 0 12px 28px rgb(var(--rgb-shadow) / 0.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--color-dark);
    font: 500 0.9375rem/1.2 'Roboto Flex', sans-serif;
    white-space: nowrap;
  }
  .homepage-root #how-it-works .how-chips svg {
    flex: 0 0 auto;
    box-sizing: content-box;
    width: 16px;
    height: 16px;
    padding: 7px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, rgba(138, 63, 122, 0.16), rgba(184, 52, 79, 0.1));
    color: var(--color-plum);
  }
  @media (min-width: 1080px) {
    /* The phone sits at the stage's left edge here, 296px wide. */
    .homepage-root #how-it-works .how-chips { left: 0; width: 296px; translate: none; }
  }
  /* Anchored to the phone's edges, so only a sliver of each chip overlaps the frame. */
  .homepage-root #how-it-works .how-chips li:nth-child(1) { top: 12%; right: calc(100% - 2.25rem); }
  .homepage-root #how-it-works .how-chips li:nth-child(2) { top: 50%; left: calc(100% - 2rem); }
  .homepage-root #how-it-works .how-chips li:nth-child(3) { bottom: 13%; right: calc(100% - 1.75rem); }
  /* Narrower desktops: the phone sits near the window's right edge, so the middle chip moves
     to its left side too and all three stagger down that edge. */
  @media (max-width: 1079px) {
    .homepage-root #how-it-works .how-chips li:nth-child(2) { left: auto; right: calc(100% - 2.5rem); }
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .homepage-root #how-it-works .how-chips li { animation: how-chip-float 6s ease-in-out infinite; }
  .homepage-root #how-it-works .how-chips li:nth-child(2) { animation-delay: -2s; }
  .homepage-root #how-it-works .how-chips li:nth-child(3) { animation-delay: -4s; }
  @keyframes how-chip-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
  }
}

/* "No date yet? Buy it now, use it later" under each plan's button (homepage, /pricing/,
   occasion pages, blog landing). It replaced the three reassurances that repeated under
   every card. A quiet plum text link, so the red button stays the one action. */
.plan-buy-later {
  margin: var(--space-14) 0 0;
  text-align: center;
  font-size: var(--fs-14);
  line-height: 1.4;
  color: var(--text-muted);
}
.plan-buy-later a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: var(--space-2);
  color: var(--link);
  font-weight: var(--weight-medium);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition-fast);
}
.plan-buy-later a svg { transition: translate var(--transition-fast); }
.plan-buy-later a:hover { text-decoration-color: currentColor; }
.plan-buy-later a:hover svg { translate: 2px 0; }
.plan-buy-later a:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .plan-buy-later a svg { transition: none; }
}

/* Headline accent words: the display gradient on light, the lamp light on dark (the
   --accent-text role follows data-surface). Text only, never a box. */
.accent-text {
  background: var(--accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.08em;
}

/* The start form on a dark hero (occasion pages): its link takes the dark surface's link color,
   since brand red on plum is too dim to read. Fields and popovers stay white. */
[data-surface="dark"] :is(.hero-start-form__later, .hero-later) a { color: var(--link); }

/* ==========================================================================
   Phones: one section-head pattern (Adam, 2026-11-18). Every eyebrow sits left over its
   headline, 12px above it; every headline is 34px with 16px to its lede; every lede is
   16px. The list names each head's wrapper so this outranks the per-section rules
   (several are three classes deep). The hero keeps its own type.
   ========================================================================== */
@media (max-width: 767px) {
  html body.homepage-root :is(.how-it-works-header, .video-book-content, .reviews-header, .homepage-pricing-inner, .tears-info, .occasions-content, .work-promo-inner, .faq-left, .keepsakes-text, .ideas-content) > .section-eyebrow {
    margin-bottom: var(--space-12);
    text-align: left;
  }
  html body.homepage-root :is(.how-it-works-header, .video-book-content, .reviews-header, .homepage-pricing-inner, .tears-info, .occasions-content, .work-promo-inner, .faq-left, .keepsakes-text, .ideas-content) > .section-eyebrow + :is(h2, h3) {
    margin-top: 0;
    margin-bottom: var(--space-16);
    font-size: var(--section-title-size);
    line-height: 1.15;
    text-align: left;
  }
  html body.homepage-root :is(.how-it-works-header, .video-book-content, .reviews-header, .homepage-pricing-inner, .tears-info, .occasions-content, .work-promo-inner, .faq-left, .keepsakes-text, .ideas-content) > .section-eyebrow + :is(h2, h3) + p {
    margin-top: 0;
    font-size: var(--fs-16);
    text-align: left;
  }
  /* The Video Book column spaces its parts with a 40px flex gap; pull the headline back up
     to the eyebrow so the pair keeps the shared 12px. */
  html body.homepage-root .video-book-content > .section-eyebrow { margin-bottom: calc(var(--space-12) - var(--space-40)); }
  /* Occasions and Ideas run full-bleed (their cards scroll edge to edge); the headline carries
     the 24px page inset, so the eyebrow takes it too. */
  html body.homepage-root :is(.occasions-content, .ideas-content) > .section-eyebrow { padding-inline: var(--space-24); }
  /* The Work bridge line under the occasion cards reads left like the heads above it. */
  html body.homepage-root .occasions-bridge { margin-inline: 0; text-align: left; }
  /* Keepsakes: the head spans the column like every other section, not a centered 280px box. */
  html body.homepage-root .keepsakes-text { max-width: none; margin-inline: 0; text-align: left; }
}

/* Phones: two and a half occasion cards in view, so the row reads as a collection to swipe.
   Each card snaps to the 24px page edge. */
@media (max-width: 767px) {
  html body.homepage-root .occasions-grid { scroll-padding-inline: var(--space-24); }
  html body.homepage-root .occasion-card {
    width: calc((100vw - var(--space-24) - 2 * var(--space-16)) / 2.5);
    padding: var(--space-16) var(--space-10) var(--space-16);
    scroll-snap-align: start;
  }
  html body.homepage-root .occasion-icon { width: 40px; height: 40px; margin-bottom: var(--space-10); }
  html body.homepage-root .occasion-card h4 { font-size: var(--fs-15); line-height: 1.25; }
  html body.homepage-root .occasion-description { font-size: var(--fs-13); line-height: 1.35; min-height: calc(3 * 1.35em); }
}
