/* Pricing Page Styles - v3 Design System */

/* Nav on the pricing pages (/pricing/, /tribute-packages-compared/). Scoped to
   body.pricing-page so these rules never reach the occasion pages, which also load
   this file. Both pages open on a light hero, so the bar starts dark-on-light. */
body.pricing-page .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.pricing-page .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 rgb(var(--rgb-ink) / 0.3);
}

body.pricing-page .nav.scrolled.light-bg {
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgb(var(--rgb-shadow) / 0.1);
}

/* Nav links are dark on light background */
body.pricing-page .nav.scrolled.light-bg .nav-link {
  color: var(--text);
}

body.pricing-page .nav.scrolled.light-bg .nav-link:hover {
  color: var(--text);
  opacity: 0.7;
}

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

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

body.pricing-page .nav.scrolled.light-bg .user-icon {
  stroke: var(--color-dark);
}

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

/* homepage.css hides desktop .nav-items until .nav.scrolled; pricing.js only adds .scrolled after 50px — show bar at load */
@media (min-width: 768px) {
  body.pricing-page .nav:not(.scrolled) .nav-items {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Light hero: transparent nav at top (no scrim above content), dark links */
body.pricing-page .nav:not(.scrolled) {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.pricing-page .nav:not(.scrolled) .nav-link,
body.pricing-page .nav:not(.scrolled) .nav-link-dropdown {
  color: var(--text);
}

body.pricing-page .nav:not(.scrolled) .nav-link:hover {
  color: var(--text);
  opacity: 0.7;
}

body.pricing-page .nav:not(.scrolled) .dropdown-arrow {
  stroke: var(--color-dark);
}

body.pricing-page .nav:not(.scrolled) .user-icon {
  stroke: var(--color-dark);
}

body.pricing-page .nav:not(.scrolled) .mobile-menu-toggle .menu-icon {
  color: var(--color-dark);
}

/* Pricing Hero Section: warm daylight, cream with soft blush, lilac, and apricot light */
.pricing-hero {
  min-height: 100vh;
  padding: calc(5.5rem + 2rem) 1.5rem 2rem;
  text-align: center;
  background-color: var(--color-cream);
  background-image:
    radial-gradient(at 18% 22%, rgb(var(--rgb-peach) / 0.32) 0px, transparent 50%),
    radial-gradient(at 84% 30%, rgb(var(--rgb-sky) / 0.34) 0px, transparent 50%),
    radial-gradient(at 50% 88%, rgb(var(--rgb-apricot) / 0.22) 0px, transparent 55%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.pricing-hero-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  align-self: center;
}

.pricing-hero-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 auto 0.75rem;
  /* homepage.css sets global h1 { max-width: 600px } at 768px+; undo for pricing heroes */
  max-width: none;
  width: 100%;
  color: var(--color-dark);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

/* body-scoped so it outranks the old on-dark color in glass-surfaces.css */
.pricing-hero-subtitle,
body.pricing-page .pricing-hero-subtitle {
  font-size: var(--fs-16);
  line-height: 1.5;
  color: var(--color-ink-muted);
}

/* Pricing Plans Section */
.pricing-plans {
  position: relative;
  padding: var(--space-32) 0 var(--space-48);
  background: transparent;
  margin-top: -5%;
  z-index: 10;
}

.pricing-container {
  max-width: var(--pricing-width, 1200px);
  margin: 0 auto;
}

.pricing-plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

/* Pricing cards container - use flexbox for better control */
.pricing-plans .pricing-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

.pricing-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Pricing Cards */
.pricing-card {
  border-radius: var(--radius-card, 1rem);
  padding: 1.75rem var(--space-20);
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-card-featured {
  transform: none;
  z-index: 5;
}


.pricing-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  transform: none;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-pill);
  font-size: var(--fs-12);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.pricing-badge-best {
  left: 50%;
  transform: translateX(-50%);
}

/* /pricing/ plan cards: warm white glass, and the recommended plan in a warmer
   rose-lilac. body-scoped so they outrank the cooler shared tints in
   glass-surfaces.css on this page; the occasion pages keep the shared layer. */
body.pricing-page .pricing-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgb(var(--rgb-linen) / 0.88) 55%, rgb(var(--rgb-mist) / 0.86));
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-card, 1rem);
  box-shadow: inset 0 1px 0 #ffffff, 0 12px 32px rgb(var(--rgb-shadow) / 0.08);
}

body.pricing-page .pricing-card-featured {
  background: linear-gradient(135deg, #fbeee4, #f4f1ec 55%, var(--color-mist));
  border-color: #e3c9b5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 44px rgb(var(--rgb-shadow) / 0.14);
}

/* The "Best value" badge in plum glass, matching the compare table's tag below. */
@media (prefers-reduced-transparency: reduce) {
  body.pricing-page .pricing-card {
    background: var(--color-flat-light);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.pricing-page .pricing-card-featured {
    background: #f8eee6;
  }

}

.pricing-card-header {
  margin-bottom: var(--space-8);
}

.pricing-card-title {
  font-family: var(--font-ui);
  font-size: var(--fs-24);
  font-weight: var(--weight-medium);
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.3;
  text-align: left;
}

.pricing-card-subtitle {
  font-size: var(--fs-16);
  color: var(--text-muted);
  margin: 0;
}

.pricing-card-price {
  margin-bottom: var(--space-12);
  padding-bottom: 0;
  border-bottom: none;
  position: relative;
}

.pricing-price-row {
  display: flex;
  align-items: flex-end;
  gap: var(--space-8);
}

.pricing-price-left {
  display: flex;
  align-items: flex-end;
  gap: var(--space-8);
}

.pricing-amount {
  font-size: var(--fs-40);
  font-weight: var(--weight-medium);
  color: var(--text);
  display: inline-block;
  line-height: 1.2;
}

.pricing-strikethrough {
  font-size: var(--fs-16);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: var(--space-8);
  display: inline-block;
  padding-bottom: var(--space-2);
}

.pricing-period {
  font-size: var(--fs-16);
  color: var(--text-muted);
  padding-bottom: var(--space-2);
}

.pricing-original {
  display: block;
  font-size: var(--fs-14);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: var(--space-4);
}

.pricing-save-badge {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-14);
  border-radius: var(--radius-pill);
  font-size: var(--fs-12);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-save-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.pricing-card-image {
  margin-bottom: var(--space-16);
  width: 100%;
}

.pricing-card-image img,
.pricing-card-image video {
  width: 35%;
  height: auto;
  border-radius: var(--radius-xs);
  object-fit: contain;
}

/* Video book composite for pricing page */
/* The frame is narrower than the card and centered, so the picture does not make the
   featured card much taller than its neighbors. The video inside is placed in shares of
   the frame, so it follows. */
.pricing-card-image .video-book-frame {
  position: relative;
  width: 78%;
  height: auto;
  margin: 0 auto;
}

.pricing-card-image .video-book-frame .hero-image {
  width: 90%;
  height: auto;
}

/* Pricing-specific GIF positioning - adjust these values as needed */
.pricing-video-book-gif {
  top: 9%;
  left: 49%;
  width: 34%;
}

.pricing-card-description {
  margin-bottom: var(--space-12);
  color: var(--text);
  line-height: 1.6;
  font-size: var(--fs-15);
}

.pricing-card-features {
  margin-bottom: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.pricing-features-title {
  font-weight: var(--weight-semibold);
  color: var(--text);
  font-size: var(--fs-16);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  color: var(--text);
  font-size: var(--fs-15);
  line-height: 1.5;
}

.pricing-feature svg {
  flex-shrink: 0;
  margin-top: var(--space-2);
  color: var(--color-plum);
  width: 20px;
  height: 20px;
}

.pricing-feature-text {
  flex: 1;
}

.pricing-feature-highlight {
  color: var(--color-work-blue);
  font-weight: var(--weight-semibold);
}

.concierge-highlight {
  border-radius: 8px;
  padding: var(--space-16);
  margin: var(--space-8) 0;
  background: linear-gradient(135deg, rgba(250, 238, 228, 0.5), rgba(240, 243, 244, 0.5));
  position: relative;
}

.concierge-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(135deg, #e3c9b5, #cfdeea);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.concierge-highlight .pricing-feature {
  margin-bottom: var(--space-12);
}

.concierge-highlight .pricing-feature:last-child {
  margin-bottom: 0;
}

/* Pay-as-you-go section */
.pricing-card-pay-as-you-go {
  border-radius: var(--radius-sm);
  padding: var(--space-4) 0;
  margin-top: -0.75rem;
  margin-bottom: var(--space-24);
}

.pricing-card-pay-as-you-go .pricing-features-title {
  line-height: 1.3875;
}

.pay-as-you-go-header {
  margin-bottom: var(--space-16);
}

.pay-as-you-go-header h3 {
  font-size: var(--fs-18);
  font-weight: var(--weight-semibold);
  color: var(--text);
  margin-bottom: var(--space-8);
}

.pay-as-you-go-header p {
  font-size: var(--fs-14);
  color: var(--text-muted);
  margin: 0;
}

.pay-as-you-go-table {
  display: flex;
  flex-direction: column;
}

.pay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3125rem 0;
}

.pay-duration {
  color: var(--text);
  font-size: var(--fs-15);
}

.pay-price {
  color: var(--text);
  font-weight: var(--weight-medium);
}

/* Pricing Card Buttons */
.pricing-card-button {
  display: block;
  width: 100%;
  padding: var(--space-16) var(--space-32);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: var(--color-white, #ffffff);
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-button);
  font-weight: var(--weight-medium);
  font-size: var(--fs-16);
  transition: all var(--transition-base);
  border: none;
  box-shadow: 0 4px 15px rgb(var(--rgb-brand) / 0.3);
  will-change: transform, box-shadow;
  cursor: pointer;
  margin-top: auto;
}

.pricing-card-button:hover {
  background: var(--brand-primary-light);
  transform: translateY(-2px);
}

.pricing-card-button-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  box-shadow: 0 4px 15px rgb(var(--rgb-brand) / 0.3);
  will-change: transform, box-shadow;
}

.pricing-card-button-primary:hover {
  background: linear-gradient(135deg, var(--brand-primary-hover) 0%, var(--brand-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(var(--rgb-brand) / 0.4);
}

/* Trust Section */
.pricing-trust {
  padding: var(--space-48) 0;
  background: #ffffff;
  overflow: hidden;
}

.pricing-trust-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-48);
  flex-wrap: nowrap;
  animation: scroll-logos 20s linear infinite;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.pricing-trust-logos img {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  flex-shrink: 0;
}

/* Make Mashable, Forbes, and TechCrunch smaller */
.pricing-trust-logos img:nth-child(2),
.pricing-trust-logos img:nth-child(3),
.pricing-trust-logos img:nth-child(4) {
  height: 22px;
}

/* FAQ Section */

/* Why Choose Cards - part of the 3 column layout */
.pricing-why-choose-card {
  background: transparent;
  border-radius: 0 0 0.5rem 0.5rem;
  padding: var(--space-32);
  box-shadow: none;
  margin-top: 0;
}

.pricing-why-choose-title {
  font-family: var(--font-ui);
  font-size: var(--fs-20);
  font-weight: var(--weight-semibold);
  color: var(--text);
  margin-bottom: var(--space-16);
}

.pricing-why-choose-text {
  font-family: var(--font-ui);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .pricing-hero {
    padding-top: calc(5.5rem + 100px);
    padding-left: var(--space-48);
    padding-right: var(--space-48);
    padding-bottom: var(--space-64);
  }

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

  /* Wider than default 600px so hero subtitle can wrap to ~2 lines at 1.5rem */
  .pricing-hero-content {
    max-width: 56rem;
  }

  .pricing-plans {
    margin-top: -4%;
    padding: var(--space-64) var(--space-48);
  }

  .pricing-hero-title {
    font-size: var(--fs-64);
    line-height: 1.2;
    margin: 0 auto var(--space-24);
    max-width: none;
  }

  .pricing-hero-subtitle {
    font-size: var(--fs-24);
    line-height: 1.6;
  }

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

  .pricing-card-featured {
    transform: scale(1.05);
  }

  .pricing-plans-grid {
    gap: var(--space-32);
    margin-top: var(--space-48);
  }

  .pricing-plans .pricing-container {
    gap: var(--space-32);
    margin-top: var(--space-48);
  }

  .pricing-plans {
    margin-right: auto;
    margin-left: auto;
    padding: var(--space-96) var(--space-48);
  }

  .pricing-plans .pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-32);
  }

  .pricing-column {
    display: flex;
    flex-direction: column;
  }
  
  .pricing-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-32);
  }
  
  .pricing-card-featured {
    transform: scale(1.08);
  }

  .pricing-trust {
    padding: var(--space-64) var(--space-48);
    overflow: visible;
  }

  .pricing-trust-logos {
    gap: var(--space-64);
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    animation: none;
  }

  .pricing-trust-logos img {
    height: 32px;
  }

  /* Make Mashable, Forbes, and TechCrunch smaller on desktop too */
  .pricing-trust-logos img:nth-child(2),
  .pricing-trust-logos img:nth-child(3),
  .pricing-trust-logos img:nth-child(4) {
    height: 25px;
  }
}

/* ── Tribute packages compared (/tribute-packages-compared/) ─────────────── */

/* Full-page radial (fixed) so it continues behind transparent sections — no gray band */
body.tribute-packages-compared-page {
  background-color: var(--color-cream);
  background-image: radial-gradient(125% 125% at 50% 90%, var(--color-cream) 40%, #f3e3d6 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
  body.tribute-packages-compared-page {
    background-attachment: scroll;
  }
}

/* Hero: height follows copy (no min 100dvh — that left a tall empty band above the table). */
.tribute-packages-compared-page .packages-compared-hero.pricing-hero {
  min-height: auto;
  padding-top: calc(5.5rem + 1.75rem + 2.25rem);
  padding-bottom: clamp(1.25rem, 4vw, 2rem);
  align-items: center;
  justify-content: flex-start;
  background: transparent;
}

@media (max-width: 767px) {
  .tribute-packages-compared-page .packages-compared-hero.pricing-hero {
    padding-top: calc(4.5rem + 0.875rem);
    padding-bottom: clamp(0.875rem, 3vw, 1.25rem);
  }

  .tribute-packages-compared-page .packages-compared-hero-pill {
    font-size: var(--fs-13);
    padding: calc(0.375rem + 2px) 1rem 0.375rem;
    margin-bottom: var(--space-12);
  }
}

/* Eyebrow pill — top of hero stack */
.tribute-packages-compared-page .packages-compared-hero-pill {
  margin: 0 auto var(--space-14);
  padding: calc(0.5rem + 2px) 1.25rem 0.5rem;
  width: fit-content;
  max-width: min(100%, 32rem);
  font-family: var(--font-ui);
  font-size: var(--fs-15);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--brand-primary);
  text-align: center;
  background: #fffdfb;
  border-radius: 624.9375rem;
  box-shadow:
    0 1px 2px rgb(var(--rgb-shadow) / 0.05),
    0 6px 16px -4px rgb(var(--rgb-shadow) / 0.12);
}

@media (min-width: 768px) {
  .tribute-packages-compared-page .packages-compared-hero-pill {
    font-size: var(--fs-17);
    padding: calc(0.5625rem + 2px) 1.375rem 0.5625rem;
    margin-bottom: var(--space-24);
  }
}

/* Solid headline — no gradient clip (pricing hero defaults use gradient text) */
.tribute-packages-compared-page .packages-compared-hero .pricing-hero-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: var(--weight-regular);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: var(--space-6);
  margin-bottom: var(--space-16);
  color: var(--text);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--color-dark);
}

.tribute-packages-compared-page .packages-compared-hero .pricing-hero-title .packages-compared-hero-title-line {
  display: block;
}

.tribute-packages-compared-page .packages-compared-hero .pricing-hero-title strong.packages-compared-hero-title-line {
  font-weight: var(--weight-semibold);
}

/* Long H1: base pricing hero uses max-width 600px until 768px — too narrow for this headline */
.tribute-packages-compared-page .packages-compared-hero .pricing-hero-content {
  max-width: min(56rem, 100%);
}

@media (min-width: 768px) {
  .tribute-packages-compared-page .packages-compared-hero.pricing-hero {
    padding-top: calc(5.5rem + 2.5rem + 2.25rem);
    padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  }
}

.tribute-packages-compared-page .packages-compared-intro {
  margin: var(--space-20) auto 0;
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
  max-width: 44rem;
  font-family: var(--font-ui);
  font-size: var(--fs-17);
  line-height: 1.7;
  color: var(--color-ink-muted);
  text-align: left;
}

@media (min-width: 768px) {
  .tribute-packages-compared-page .packages-compared-intro {
    font-size: var(--fs-18);
    text-align: center;
  }
}

/* Table band — small overlap; extra hero padding carries intro→chart breathing room */
.tribute-packages-compared-page .packages-compared-table-section {
  position: relative;
  z-index: 5;
  margin-top: -0.5rem;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) 1rem clamp(1rem, 2.5vw, 1.75rem);
  background: transparent;
}

@media (min-width: 768px) {
  .tribute-packages-compared-page .packages-compared-table-section {
    margin-top: -0.75rem;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
  }
}

.tribute-packages-compared-page .packages-compared-table-shell {
  max-width: 72rem;
  margin: clamp(0.25rem, 1vw, 0.625rem) auto 0;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-card);
  background-color: var(--color-deep);
  background-image:
    radial-gradient(at 18% 12%, rgba(184, 52, 79, 0.26) 0px, transparent 52%),
    radial-gradient(at 88% 78%, rgb(var(--rgb-work-blue) / 0.3) 0px, transparent 48%),
    radial-gradient(at 66% 24%, rgb(var(--rgb-apricot) / 0.08) 0px, transparent 45%);
  box-shadow:
    0 18px 44px rgb(var(--rgb-shadow) / 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* The table shell is this page's one plum (evening) surface. body-scoped so it
   outranks the blue/violet glass layer in glass-surfaces.css. */
body.tribute-packages-compared-page .packages-compared-table-shell {
  background-color: var(--color-deep);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01) 55%, transparent),
    radial-gradient(ellipse at 18% 12%, rgba(184, 52, 79, 0.26), transparent 60%),
    radial-gradient(ellipse at 88% 78%, rgb(var(--rgb-work-blue) / 0.3), transparent 60%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 18px 44px rgb(var(--rgb-shadow) / 0.22);
}

@media (prefers-reduced-transparency: reduce) {
  body.tribute-packages-compared-page .packages-compared-table-shell {
    background: var(--color-deep-raised);
  }
}

.tribute-packages-compared-page .packages-compared-table-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-16);
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .tribute-packages-compared-page .packages-compared-table-intro {
    margin-bottom: var(--space-20);
  }
}

.tribute-packages-compared-page .packages-compared-table-intro-title {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: var(--weight-medium);
  line-height: 1.25;
  margin: 0 0 var(--space-10);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.tribute-packages-compared-page .packages-compared-table-intro-sub {
  font-family: var(--font-ui);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--color-on-deep-muted);
  margin: 0;
}

.tribute-packages-compared-page .packages-compared-table-container.pricing-container {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
}

.tribute-packages-compared-page .packages-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: var(--space-2) var(--space-2) var(--space-8);
}

.tribute-packages-compared-page .packages-compare-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow:
    0 4px 20px rgba(14, 12, 11, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  min-width: min(100%, 38rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tribute-packages-compared-page .packages-compare-table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: var(--fs-14);
  line-height: 1.45;
}

@media (max-width: 767px) {
  .tribute-packages-compared-page .packages-compared-table-section {
    padding-left: 0;
    padding-right: 0;
  }

  .tribute-packages-compared-page .packages-compared-table-shell {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: clamp(0.25rem, 1vw, 0.625rem);
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: clamp(1.25rem, 4vw, 1.5rem) 0 clamp(1rem, 3vw, 1.25rem);
    box-shadow: 0 4px 24px rgb(var(--rgb-shadow) / 0.24);
  }

  .tribute-packages-compared-page .packages-compared-table-intro,
  .tribute-packages-compared-page .packages-compare-legend {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }

  .tribute-packages-compared-page .packages-compare-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    /* Inset white table from full-bleed plum shell (~10px) */
    padding: 0 0.625rem 0.5rem;
    margin: 0;
    box-sizing: border-box;
  }

  .tribute-packages-compared-page .packages-compare-table-wrapper {
    border-radius: var(--radius-sm);
    overflow-x: visible;
    overflow-y: visible;
    min-width: max-content;
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
}

.tribute-packages-compared-page .packages-compare-table caption {
  padding: 0;
}

.tribute-packages-compared-page .packages-compare-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tribute-packages-compared-page .packages-compare-table thead th {
  padding: 1.125rem var(--space-14) var(--space-16);
  font-weight: var(--weight-semibold);
  color: var(--text);
  text-align: center;
  vertical-align: bottom;
  background: #f9f6f2;
  border-bottom: 1px solid var(--rule);
}

.tribute-packages-compared-page .packages-compare-table thead th:first-child {
  text-align: left;
  font-size: var(--fs-15);
  font-weight: var(--weight-semibold);
  color: var(--text);
}

.tribute-packages-compared-page .packages-compare-head-spacer {
  display: block;
  height: 1.375rem;
  margin: 0 auto var(--space-2);
}

.tribute-packages-compared-page .packages-compare-head-plan {
  display: block;
  font-size: var(--fs-11);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.tribute-packages-compared-page .packages-compare-col-name {
  display: block;
  margin-top: var(--space-6);
  font-size: var(--fs-13);
  font-weight: var(--weight-semibold);
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
}

.tribute-packages-compared-page .packages-compare-col-badge {
  display: inline-block;
  padding: var(--space-4) 0.6rem;
  border-radius: 624.9375rem;
  font-size: var(--fs-10);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #a33a48, var(--color-deep-raised) 65%, var(--color-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgb(var(--rgb-shadow) / 0.18);
}

.tribute-packages-compared-page .packages-compare-table thead th.packages-compare-col-spotlight {
  vertical-align: middle;
  background: linear-gradient(180deg, #f8efe6 0%, var(--color-mist) 120%);
  border-bottom-color: #e3c9b5;
  box-shadow: inset 1px 0 0 rgba(163, 58, 72, 0.14);
}

.tribute-packages-compared-page .packages-compare-table tbody th {
  padding: var(--space-16) var(--space-14);
  text-align: left;
  font-weight: var(--weight-semibold);
  color: var(--text);
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
  max-width: 12rem;
}

.tribute-packages-compared-page .packages-compare-table tbody td {
  padding: var(--space-16) var(--space-14);
  text-align: center;
  vertical-align: middle;
  color: var(--text-body);
  border-bottom: 1px solid var(--rule);
  font-weight: var(--weight-medium);
}

.tribute-packages-compared-page .packages-compare-table .packages-compare-cell-long {
  text-align: left;
  font-size: var(--fs-13);
  line-height: 1.55;
  font-weight: var(--weight-medium);
  color: var(--color-dark-secondary);
}

.tribute-packages-compared-page .packages-compare-table tbody tr:last-child th,
.tribute-packages-compared-page .packages-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.tribute-packages-compared-page .packages-compare-col-spotlight {
  background: linear-gradient(
    90deg,
    rgba(250, 238, 228, 0.45) 0%,
    rgba(240, 243, 244, 0.45) 100%
  );
  box-shadow: inset 1px 0 0 rgba(163, 58, 72, 0.1);
}

.tribute-packages-compared-page .packages-compare-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto;
  padding: 0.3125rem;
  box-sizing: border-box;
  border-radius: 624.9375rem;
  line-height: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #6f9f7a, #557f61);
  flex-shrink: 0;
}

.tribute-packages-compared-page .packages-compare-check-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.tribute-packages-compared-page .packages-compare-self {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto;
  padding: 0.3125rem;
  box-sizing: border-box;
  border-radius: 624.9375rem;
  line-height: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #9f3b3b, #3a3330);
  flex-shrink: 0;
}

.tribute-packages-compared-page .packages-compare-wrench-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.tribute-packages-compared-page .packages-compare-legend {
  margin: 0 auto var(--space-20);
  padding: 0 var(--space-4);
  max-width: 100%;
}

.tribute-packages-compared-page .packages-compare-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-10) var(--space-20);
  font-family: var(--font-ui);
  font-size: var(--fs-13);
  line-height: 1.35;
  color: var(--color-on-deep-muted);
}

.tribute-packages-compared-page .packages-compare-legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
}

/* Status markers: sage for "done for you", dusty rose for "do it yourself".
   body-scoped so they outrank the green/blue markers in glass-surfaces.css. */
body.tribute-packages-compared-page .packages-compare-yes,
body.tribute-packages-compared-page .packages-compare-legend .packages-compare-yes.packages-compare-legend-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #6f9f7a, #557f61);
}

body.tribute-packages-compared-page .packages-compare-self,
body.tribute-packages-compared-page .packages-compare-legend .packages-compare-self.packages-compare-legend-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #9f3b3b, #3a3330);
}

body.tribute-packages-compared-page .packages-compare-yes,
body.tribute-packages-compared-page .packages-compare-self,
body.tribute-packages-compared-page .packages-compare-legend-dash {
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 5px rgb(var(--rgb-shadow) / 0.12);
}

.tribute-packages-compared-page .packages-compare-legend-icon {
  margin: 0;
  width: 1.375rem;
  height: 1.375rem;
  padding: var(--space-4);
  flex-shrink: 0;
}

.tribute-packages-compared-page .packages-compare-legend-dash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
  border-radius: 624.9375rem;
  background: #4a4340;
  color: #f5efe8;
  font-weight: var(--weight-semibold);
  font-size: var(--fs-15);
  line-height: 1;
}

.tribute-packages-compared-page .packages-compare-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-400);
  font-weight: var(--weight-semibold);
  font-size: var(--fs-18);
  line-height: 1;
}

/* Nested in `.packages-compared-table-section` so width matches `.packages-compared-table-shell` */
.tribute-packages-compared-page .packages-compared-table-section .packages-compared-closing {
  width: 100%;
  max-width: 72rem;
  margin: clamp(1rem, 2.5vw, 1.75rem) auto 0;
  padding: clamp(0.5rem, 2vw, 1rem) 0 0;
  background: transparent;
  box-sizing: border-box;
}

.tribute-packages-compared-page .packages-compared-closing-card {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  background: transparent;
  color: var(--text);
  padding: clamp(0.25rem, 1.5vw, 0.75rem) 0 clamp(1rem, 2.5vw, 1.5rem);
  box-sizing: border-box;
}

.tribute-packages-compared-page .packages-compared-closing-copy {
  flex: 1 1 18rem;
  min-width: 0;
  text-align: left;
}

.tribute-packages-compared-page .packages-compared-closing h2 {
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: clamp(1.75rem, 4.25vw, 2.375rem);
  font-weight: var(--weight-medium);
  color: var(--text);
  margin: 0 0 var(--space-14);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tribute-packages-compared-page .packages-compared-closing-body {
  font-family: var(--font-ui);
  font-size: var(--fs-15);
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 var(--space-12);
}

.tribute-packages-compared-page .packages-compared-closing-body:last-of-type {
  margin-bottom: var(--space-20);
}

.tribute-packages-compared-page .packages-compared-closing-body strong {
  color: var(--text);
  font-weight: var(--weight-semibold);
}

.tribute-packages-compared-page .packages-compared-closing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius-button);
  background: var(--gradient-brand);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-weight: var(--weight-medium);
  font-size: var(--fs-17);
  text-decoration: none;
  border: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  will-change: transform, box-shadow;
}

.tribute-packages-compared-page .packages-compared-closing-cta:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
}

.tribute-packages-compared-page .packages-compared-closing-visual {
  flex: 1 1 16rem;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tribute-packages-compared-page .packages-compared-closing-visual img {
  width: min(100%, 28rem);
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .tribute-packages-compared-page .packages-compared-table-section .packages-compared-closing {
    padding-left: clamp(1.25rem, 5vw, 1.875rem);
    padding-right: clamp(1.25rem, 5vw, 1.875rem);
  }

  .tribute-packages-compared-page .packages-compared-closing-card {
    flex-direction: column;
    align-items: center;
    gap: var(--space-16);
    text-align: center;
  }

  .tribute-packages-compared-page .packages-compared-closing-visual {
    order: -1;
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
  }

  .tribute-packages-compared-page .packages-compared-closing-visual img {
    width: min(68%, 14.5rem);
    max-width: 232px;
  }

  .tribute-packages-compared-page .packages-compared-closing-copy {
    text-align: center;
  }

  .tribute-packages-compared-page .packages-compared-closing-cta {
    align-self: center;
  }
}

@media (min-width: 768px) {
  .tribute-packages-compared-page .packages-compared-closing-visual {
    justify-content: flex-end;
  }

  .tribute-packages-compared-page .packages-compare-table {
    font-size: var(--fs-15);
  }

  .tribute-packages-compared-page .packages-compare-table thead th,
  .tribute-packages-compared-page .packages-compare-table tbody th,
  .tribute-packages-compared-page .packages-compare-table tbody td {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }

  .tribute-packages-compared-page .packages-compare-table .packages-compare-cell-long {
    font-size: var(--fs-14);
  }

  .tribute-packages-compared-page .packages-compared-table-shell {
    border-radius: var(--radius-card);
    padding: clamp(2.25rem, 4vw, 3rem);
  }

  .tribute-packages-compared-page .packages-compare-table-wrapper {
    border-radius: 1.125rem;
  }
}

/* ---------- Plan comparison at the top (CRO audit, Oct 2026) ---------- */
/* A plain table in its own blush section, between the cream hero and the white press logos. */
.pricing-compare-section {
  padding: clamp(3rem, 5vw, 4.5rem) 1.5rem 0; /* bottom space comes from .plan-compare-more */
  background: var(--color-linen);
}
.plan-compare {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--color-dark-secondary);
  text-align: left;
}
.plan-compare .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.plan-compare-title {
  margin: 0 0 var(--space-20);
  text-align: center;
  color: var(--text);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--weight-regular);
  line-height: 1.2;
}
/* A table card: row labels in a real first column, values centered under their plan, and
   the recommended plan's column tinted like its featured card. */
.plan-compare-table {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card, 1rem);
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(var(--rgb-shadow) / 0.05), 0 16px 40px rgb(var(--rgb-shadow) / 0.09);
  overflow: hidden;
}
.plan-compare-row {
  display: grid;
  grid-template-columns: minmax(9rem, 1.15fr) repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  font-size: var(--fs-15);
  line-height: 1.35;
  color: var(--text);
}
.plan-compare-row > * {
  padding: var(--space-16) var(--space-20);
}
.plan-compare-head {
  border-top: 0;
  background: var(--color-linen);
  font-weight: var(--weight-semibold);
}
.plan-compare-head > * {
  padding-top: var(--space-24);
  padding-bottom: var(--space-16);
  font-size: var(--fs-16);
}
.plan-compare-label {
  color: var(--text);
  font-weight: var(--weight-medium);
}
.plan-compare-cell {
  text-align: center;
  color: var(--color-dark-secondary);
}
.plan-compare-head .plan-compare-cell {
  color: var(--text);
}
/* The recommended plan's column, tinted rose-lilac like its featured card above, with
   deep plum text. On the white card it is the one column the eye goes to. */
.plan-compare-pick {
  font-weight: var(--weight-medium);
}
.plan-compare-head .plan-compare-cell.plan-compare-pick {
  color: var(--color-deep);
}
/* The rules between rows run through the tinted column as faint plum lines. */

.plan-compare-head .plan-compare-pick {
  box-shadow: none;
}
.plan-compare-tag {
  display: block;
  width: fit-content;
  margin: 0 auto var(--space-6);
  padding: var(--space-2) var(--space-10);
  border-radius: var(--radius-pill);
  font-size: var(--fs-11);
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
}
.plan-compare-pay {
  margin: var(--space-20) 0 0;
  text-align: center;
  color: var(--color-ink-muted);
  font-size: var(--fs-15);
  line-height: 1.5;
}
.plan-compare-more {
  display: flex;
  justify-content: center;
  padding: 2rem 0 clamp(3rem, 5vw, 4.5rem);
}
.plan-compare-button {
  display: inline-block;
  padding: var(--space-14) 1.75rem;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-button);
  background: #ffffff;
  color: var(--color-dark);
  font-size: var(--fs-16);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.plan-compare-button:hover {
  border-color: var(--stone-400);
  box-shadow: 0 2px 8px rgb(var(--rgb-shadow) / 0.08);
}
.plan-compare-button:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 3px;
}

/* Tighter plan lists (CRO audit follow-up): shorter cards, same content. */
.pricing-page .pricing-card-features,
.occasion-page .pricing-card-features {
  gap: var(--space-8);
  margin-bottom: var(--space-24);
}
.pricing-page .pay-row,
.occasion-page .pay-row {
  padding: var(--space-6) 0;
}

/* Concierge card: the gold service bell (as in the v3 package modals) and the editor's tasks. */
/* Top right, centered on the title-and-price block beside it. The art carries a floor shadow
   under the bell, so the box sits a little high to put the bell itself at that center. */
.pricing-card-bell {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  pointer-events: none;
}
.pricing-card-bell img {
  display: block;
  width: auto;
  height: 108px;
  /* the bell's shadow and sparkle sit on its right; nudge it to look centered */
  transform: translateX(4.5%);
}
.pricing-feature--group {
  align-items: flex-start;
}
.pricing-feature--group > svg {
  margin-top: var(--space-2);
}
.pricing-feature-sublist {
  margin: var(--space-4) 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: var(--space-2);
  color: var(--color-ink-muted);
  font-size: var(--fs-14);
  line-height: 1.4;
}
.pricing-feature-sublist li::marker {
  color: var(--stone-400);
}

/* Phones: the row label sits on its own line above the three values, so all three plan
   columns keep their width at 390px. Kept last so it overrides the table rules above. */
@media (max-width: 600px) {
  .plan-compare-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: var(--fs-14);
  }
  .plan-compare-row > * {
    padding: var(--space-10) var(--space-8);
  }
  /* The label's line stops short of the tinted column, and the row paints that column's
     share, so the column runs unbroken from the head to the foot of the table. */
  .plan-compare-row {
    border-top-color: transparent;
    box-shadow: inset 0 1px 0 var(--rule);
  }
  .plan-compare-head { box-shadow: none; }
  .plan-compare-row .plan-compare-pick {
    box-shadow: none;
  }
  .plan-compare-row:not(.plan-compare-head) .plan-compare-cell {
    grid-row: 2;
  }
  .plan-compare-label {
    grid-column: 1 / 3;
    grid-row: 1;
    padding-bottom: 0;
    color: var(--text-muted);
    font-size: var(--fs-12);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .plan-compare-head .plan-compare-label {
    display: none;
  }
  .plan-compare-head > * {
    padding-top: var(--space-16);
    font-size: var(--fs-14);
  }
}

/* The three reassurances, once, under the three plan cards (they stood in each card). */
.pricing-plans-reassurance {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0 var(--space-24);
}
.pricing-plans-reassurance .cta-reassurance {
  margin-top: 0;
}

/* ==========================================================================
   /pricing/ (body.pricing-page--warm): the plum evening hero of the homepage, with the white
   plan cards on it, then the Highlight Reel add-on back on cream (Adam, 2026-11-18).
   Colors follow each section's data-surface; /tribute-packages-compared/ keeps its own hero.
   ========================================================================== */
body.pricing-page--warm .pricing-hero {
  --cards-cream: 160px;
  min-height: 0;
  padding: calc(var(--nav-height) + var(--space-32)) var(--space-24) 0;
}
@media (min-width: 768px) {
  body.pricing-page--warm .pricing-hero { --cards-cream: 420px; padding-top: calc(var(--nav-height) + var(--space-64)); }
}
/* The plum fills the whole first screen (Adam, 2026-11-19); the cream starts at the fold, so
   the plan cards still cross from plum onto the cream that carries on into the add-on. */
body.pricing-page--warm .pricing-hero { min-height: 100vh; min-height: 100svh; }
body.pricing-page--warm .pricing-hero[data-surface="dark"]::after {
  content: "";
  position: absolute;
  inset: 100vh 0 0;
  inset: 100svh 0 0;
  background: var(--color-cream);
  z-index: 0;
  pointer-events: none;
}
/* Phones: the plan cards swipe side by side in one tall row, so the cream would cut across
   them halfway. The plum runs to the end of the section, and the cream starts with the add-on
   (Adam, 2026-11-21). */
@media (max-width: 767px) {
  body.pricing-page--warm .pricing-hero[data-surface="dark"]::after { content: none; }
}
body.pricing-page--warm .pricing-hero { position: relative; }
body.pricing-page--warm .pricing-hero > * { position: relative; z-index: 1; }
body.pricing-page--warm .pricing-hero-content { max-width: 60rem; }
body.pricing-page--warm .pricing-hero .pricing-hero-title { margin-bottom: var(--space-16); letter-spacing: -0.015em; }
body.pricing-page--warm .pricing-hero .pricing-hero-subtitle {
  max-width: 48rem;
  margin: 0 auto;
  font-size: var(--fs-18);
  line-height: 1.55;
  text-wrap: balance;
}
.pricing-hero-proof {
  margin: var(--space-20) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6) var(--space-8);
  font-size: var(--fs-14);
  color: var(--text-muted);
}
.pricing-hero-proof > span { white-space: nowrap; }
.pricing-hero-proof b { color: var(--text); font-weight: var(--weight-semibold); }
.pricing-hero-stars { color: var(--color-star); letter-spacing: 0.06em; }
.pricing-hero-dot { width: 4px; height: 4px; border-radius: var(--radius-pill); background: currentColor; opacity: 0.5; margin-inline: var(--space-6); }
body.pricing-page--warm .pricing-hero[data-surface="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"),
    var(--ground-plum-image);
}
body.pricing-page--warm .pricing-hero .pricing-hero-title { color: var(--text); }
body.pricing-page--warm .pricing-hero .pricing-hero-subtitle { color: var(--text-body); }
body.pricing-page--warm .pricing-hero[data-surface="dark"] .pricing-card { box-shadow: var(--shadow-card-on-dark); }
/* Plan cards on any dark band: the glass sits on solid white, so the plum never greys it. */
body [data-surface="dark"] .pricing-card { background-color: #fff; }
body.pricing-page--warm .pricing-plans {
  margin-top: 0;
  padding: var(--space-48) 0 var(--space-16);
}
/* Phones: the first card sits 32px under the rating line, so the copy and the plans read as
   one block (it was 72px: this padding plus the cards' 24px top margin). */
@media (max-width: 767px) {
  /* Full width: the hero lines its children up at the start, so the plans would shrink to
     their content, and the plan picker's row is placed from this box's middle. */
  body.pricing-page--warm .pricing-plans { padding-top: var(--space-32); align-self: stretch; }
  body.pricing-page--warm .pricing-plans .pricing-container { margin-top: 0; }
  /* 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 that left a wide empty band under the menu: keep the hero's own space. */
  body.pricing-page--warm.promo-banner-visible:not(.offer-banner-visible) .pricing-hero {
    padding-top: calc(var(--nav-height) + var(--space-32));
  }
}
@media (min-width: 768px) {
  body.pricing-page--warm .pricing-plans { padding: var(--space-64) var(--space-48) var(--space-24); }
}
.pricing-hero-accent {
  /* "Pricing" in the --accent-text role: the lamp light on the plum hero. The padding keeps
     the descender of the g inside the painted box. */
  display: inline-block;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  background: var(--accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* The nav at the top of the plum hero: white logo (pricing.js) and white links. */
body.pricing-page--warm .nav:not(.scrolled) .nav-link,
body.pricing-page--warm .nav:not(.scrolled) .nav-link-dropdown,
body.pricing-page--warm .nav:not(.scrolled) .nav-link:hover { color: #fff; }
body.pricing-page--warm .nav:not(.scrolled) .dropdown-arrow,
body.pricing-page--warm .nav:not(.scrolled) .user-icon { stroke: #fff; }
body.pricing-page--warm .nav:not(.scrolled) .mobile-menu-toggle .menu-icon { color: #fff; }

/* The Highlight Reel add-on on cream, under the plum hero. Its text, rules and chips read
   the role tokens, so it would also work as a dark band. */
.pricing-addon-section {
  position: relative;
  padding: 4.5rem 1.5rem 5rem;
  background-color: var(--color-cream);
  background-image:
    radial-gradient(ellipse 60% 70% at 85% 0%, color-mix(in srgb, var(--color-plum) 7%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgb(var(--rgb-apricot) / 0.16), transparent 70%);
}
@media (min-width: 768px) {
  .pricing-addon-section {
    padding: 6rem 1.5rem 6.5rem;
  }
}
/* The press logos as a slim plum strip, so the light compare table and the FAQ are not
   one long white run. The logo files are dark: drawn white at 70%. */
body.pricing-page--warm .pricing-trust {
  background-color: var(--color-deep);
  background-image: var(--ground-plum-image);
  border: 0;
}
body.pricing-page--warm .pricing-trust-logos img {
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

/* ==========================================================================
   Glass for this page (moved from shared/glass-surfaces.css, November 2026: that file
   now holds only the shared surfaces, in @layer glass). Kept last, as before.
   ========================================================================== */

/* Dark glass frame and clear feature-status markers for package comparison. */
.tribute-packages-compared-page .packages-compared-table-shell {
  background-image:
    linear-gradient(135deg, #ffffff12, #ffffff03 55%, transparent),
    radial-gradient(ellipse at 18% 12%, #4778ba38, transparent 60%),
    radial-gradient(ellipse at 88% 78%, #9a7cb52e, transparent 60%);
  border-color: #ffffff40;
  box-shadow: inset 0 1px 1px #ffffff40, inset 0 -1px 0 #ffffff0d, 0 16px 40px #18243b33;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.tribute-packages-compared-page .packages-compare-yes,
.tribute-packages-compared-page .packages-compare-legend .packages-compare-yes.packages-compare-legend-icon {
  color: #fff;
  background: linear-gradient(135deg, #168362, #106247);
}
.tribute-packages-compared-page .packages-compare-self,
.tribute-packages-compared-page .packages-compare-legend .packages-compare-self.packages-compare-legend-icon {
  color: #fff;
  background: linear-gradient(135deg, #376bb5, #28518d);
}
@media (prefers-reduced-transparency: reduce) {
  .tribute-packages-compared-page .packages-compared-table-shell { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.tribute-packages-compared-page .packages-compared-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff80;
  border-radius: var(--radius-card);
  background: var(--stone-850);
  box-shadow: 0 12px 32px #17203326;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.tribute-packages-compared-page .packages-compared-video img {
  width: 100%; max-width: none; height: 100%; object-fit: cover;
}
.packages-compared-video-play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 72px; height: 72px;
  border-radius: 50%; border: 1px solid #ffffff99; color: #fff;
  background: #1e1a1980; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #ffffff40, 0 8px 24px #00000033;
  font-size: 26px;
}
.packages-compared-video:focus-visible { outline: 3px solid var(--color-dark); outline-offset: 5px; }

/* ==========================================================================
   Plan cards: the homepage's pricing recipe (Adam, 2026-11-18: "it should all feel
   consistent"), on /pricing/ and the occasion pages, light grounds and plum alike.
   Solid white cards on a warm hairline; the recommended one leads by its lift and the gold
   seal; a soft plum saving; red only on the recommended button, white outlined pills on
   the others. `body .pricing-container` outranks the older body.pricing-page rules.
   ========================================================================== */
body .pricing-container .pricing-card {
  background: #fff;
  border: 1px solid var(--rule-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body .pricing-container .pricing-card-featured {
  border-color: var(--rule-card);
  box-shadow: var(--shadow-card-lift);
}
body [data-surface="dark"] .pricing-container .pricing-card { box-shadow: var(--shadow-card-on-dark); border-color: transparent; }
body [data-surface="dark"] .pricing-container .pricing-card-featured {
  box-shadow: 0 0 0 1px rgb(var(--rgb-peach) / 0.35), 0 24px 60px rgba(12, 6, 12, 0.45);
}
body .pricing-container .pricing-badge-best {
  /* A plain gold pill across the card's top edge, the same as the homepage plan badge
     (Adam, 2026-11-21: the laurels were too busy). */
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-14);
  border-radius: var(--radius-pill);
  background: var(--gradient-seal);
  border: 1px solid var(--rule-seal);
  box-shadow: var(--shadow-seal);
  color: var(--color-seal-ink);
  font-size: var(--fs-13);
  font-weight: var(--weight-semibold);
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
body .pricing-container .pricing-save-badge {
  /* Soft plum, like the plan checks. */
  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: var(--space-4) var(--space-10);
  border-radius: var(--radius-pill);
  font-size: var(--fs-13);
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}
body .pricing-container .pricing-card-title { color: var(--stone-850); font-weight: var(--weight-semibold); }
body .pricing-container .pricing-amount { color: var(--color-dark); letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
body .pricing-container :is(.pricing-strikethrough, .pricing-original, .pricing-period) { color: var(--stone-500); }
/* Buttons: pills at weight 500. Red on the recommended plan only; the others are solid white
   outlined pills with ink text, plum-tinted on hover. */
body .pricing-container .pricing-card-button {
  border-radius: var(--radius-button);
  font-weight: var(--weight-medium);
  background: #fff;
  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);
}
body .pricing-container .pricing-card-button:hover {
  background: var(--color-plum-wash);
  border-color: color-mix(in srgb, var(--color-plum) 55%, white);
  color: var(--color-plum-tile);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-plum) 12%, transparent);
  transform: none;
}
/* The recommended plan's button is the shared glass-red primary (homepage.css, the
   `html body :is(… .pricing-card-button-primary …)` rule), like every Start button. */
body .pricing-container .pricing-card-button:not(.pricing-card-button-primary):focus-visible { outline: 2px solid var(--color-dark); outline-offset: 4px; }
/* On /pricing/ the cards end on the cream below the plum, so they keep the light-ground
   shadows; the deep on-plum shadow would smudge the cream. */
body.pricing-page--warm .pricing-hero .pricing-container .pricing-card {
  border-color: var(--rule-card);
  box-shadow: 0 1px 2px rgb(var(--rgb-shadow) / 0.05), 0 16px 40px rgb(var(--rgb-shadow) / 0.12);
}
body.pricing-page--warm .pricing-hero .pricing-container .pricing-card-featured {
  box-shadow: 0 2px 4px rgb(var(--rgb-shadow) / 0.06), 0 22px 48px rgb(var(--rgb-shadow) / 0.16), 0 44px 80px rgb(var(--rgb-shadow) / 0.1);
}

/* ==========================================================================
   Highlight Reel add-on (2026-11-18): one white card in the plan cards' recipe. The story
   and what you get on the left; the price by Tribute length on a linen panel at the right.
   Plain ink title: accent gradients are for headline accent words only.
   ========================================================================== */
.pricing-addon { max-width: var(--pricing-width); margin: 0 auto; }
body.pricing-page .pricing-addon-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--rule-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: left;
}
.pricing-addon-main { padding: var(--space-48); min-width: 0; }
body.pricing-page .pricing-addon-eyebrow {
  display: block;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 0 var(--space-12);
  font-size: var(--fs-13);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
body.pricing-page .pricing-addon-title {
  margin: 0 0 var(--space-16);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-40);
  font-weight: var(--weight-regular);
  line-height: 1.1;
  color: var(--text);
}
body.pricing-page .pricing-addon-desc {
  margin: 0 0 var(--space-24);
  max-width: 34rem;
  font-size: var(--fs-17);
  line-height: 1.6;
  color: var(--text-body);
}
body.pricing-page .pricing-addon-features {
  display: grid;
  gap: var(--space-10);
  margin: 0 0 var(--space-24);
  padding: 0;
  list-style: none;
}
body.pricing-page .pricing-addon-features li {
  position: relative;
  padding-left: var(--space-32);
  font-size: var(--fs-16);
  color: var(--text);
}
body.pricing-page .pricing-addon-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--icon-chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a3a6c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
body.pricing-page .pricing-addon-note { margin: 0; font-size: var(--fs-14); line-height: 1.5; color: var(--text-muted); }
body.pricing-page .pricing-addon-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-48) var(--space-40);
  background: var(--color-linen);
  border: 0;
  border-left: 1px solid var(--rule-card);
  border-radius: 0;
  box-shadow: none;
}
body.pricing-page .pricing-addon-price-note { margin: 0 0 var(--space-4); font-size: var(--fs-14); color: var(--text-muted); }
body.pricing-page .pricing-addon-price-amount {
  margin: 0 0 var(--space-20);
  font-family: var(--font-display);
  font-variation-settings: var(--font-display-axes, "SOFT" 60, "opsz" 48);
  font-size: var(--fs-44);
  font-weight: var(--weight-regular);
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: lining-nums tabular-nums;
}
body.pricing-page .pricing-addon-table { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--rule-card); }
body.pricing-page .pricing-addon-table-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--rule-card);
  font-size: var(--fs-15);
}
body.pricing-page .pricing-addon-table-row:last-child { border-bottom: 0; }
body.pricing-page .pricing-addon-table-dur { color: var(--text-body); }
body.pricing-page .pricing-addon-table-price { color: var(--text); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  body.pricing-page .pricing-addon-card { grid-template-columns: 1fr; }
  .pricing-addon-main { padding: var(--space-32) var(--space-24); }
  body.pricing-page .pricing-addon-aside { padding: var(--space-32) var(--space-24); border-left: 0; border-top: 1px solid var(--rule-card); }
  body.pricing-page .pricing-addon-title { font-size: var(--fs-32); }
}

/* ==========================================================================
   Compare table: the recommended plan's column is our plum (the hero's tiles), with the
   gold seal, so it reads as the same "best value" as the featured card above.
   ========================================================================== */
.plan-compare-row .plan-compare-pick,
.plan-compare-head .plan-compare-cell.plan-compare-pick {
  background: var(--color-plum-tile);
  color: #fff;
  font-weight: var(--weight-semibold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.plan-compare-head .plan-compare-cell.plan-compare-pick {
  background:
    radial-gradient(ellipse 90% 90% at 85% 0%, color-mix(in srgb, var(--color-plum) 55%, transparent), transparent 70%),
    var(--color-plum-tile);
  box-shadow: none;
}
.plan-compare-tag {
  margin-bottom: var(--space-8);
  padding: var(--space-4) var(--space-10);
  background: var(--gradient-seal);
  border: 1px solid var(--rule-seal);
  color: var(--color-seal-ink);
  box-shadow: var(--shadow-seal);
  font-size: var(--fs-12);
  font-weight: var(--weight-semibold);
}
@media (max-width: 600px) {
  .plan-compare-row { background: linear-gradient(to right, transparent calc(200% / 3), var(--color-plum-tile) calc(200% / 3)); }
  .plan-compare-head { background: linear-gradient(to right, var(--color-linen) calc(200% / 3), var(--color-plum-tile) calc(200% / 3)); }
  .plan-compare-row .plan-compare-pick,
  .plan-compare-head .plan-compare-cell.plan-compare-pick { background: transparent; box-shadow: none; }
}

/* ==========================================================================
   /pricing/ rhythm (2026-11-18): one content width for every section (cards, add-on,
   compare table, FAQ), and one cream ground from the cards down to the plum press strip,
   so light panels never sit beige on beige.
   ========================================================================== */
body.pricing-page { --pricing-width: 1200px; }
body.pricing-page .plan-compare,
body.pricing-page .plan-compare-table { max-width: var(--pricing-width); }
body.pricing-page .faq-section .faq-content { max-width: var(--pricing-width); }
body.pricing-page .pricing-addon-section,
body.pricing-page .pricing-compare-section { background: var(--color-cream); }
body.pricing-page .pricing-addon-section { padding-bottom: 0; }
body.pricing-page .plan-compare-head { background: #fff; }

/* The add-on (2026-11-18): the story sits straight on the cream, and the price table is a
   white card in the plan cards' recipe, so it reads like a small fourth price, not a panel. */
body.pricing-page .pricing-addon-card {
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
  gap: var(--space-48);
  align-items: center;
}
body.pricing-page .pricing-addon-main { padding: 0; }
body.pricing-page .pricing-addon-aside {
  padding: var(--space-32) var(--space-32) var(--space-24);
  background: #fff;
  border: 1px solid var(--rule-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
@media (max-width: 860px) {
  body.pricing-page .pricing-addon-card { gap: var(--space-24); }
  body.pricing-page .pricing-addon-main { padding: 0; }
  body.pricing-page .pricing-addon-aside { padding: var(--space-24); border: 1px solid var(--rule-card); }
}

/* The 8M mark: gold laurels around three stacked lines (docs/brand/interface.md). */
.pricing-8m {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  margin: 0 auto var(--space-20);
}
.pricing-8m-sprig {
  width: 40px;
  height: 48px;
  flex: none;
  opacity: 0.9;
  background: var(--gradient-seal);
  -webkit-mask: url("/static/v3/images/tribute/flowers-left.d64a82524bc8.svg") no-repeat center / contain;
  mask: url("/static/v3/images/tribute/flowers-left.d64a82524bc8.svg") no-repeat center / contain;
}
.pricing-8m-sprig--right {
  -webkit-mask-image: url("/static/v3/images/tribute/flowers-right.7be8146d5875.svg");
  mask-image: url("/static/v3/images/tribute/flowers-right.7be8146d5875.svg");
}
.pricing-8m-text { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.pricing-8m-text small { font-size: var(--fs-10); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); opacity: 0.9; }
.pricing-8m-text b {
  font-size: var(--fs-20);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: var(--gradient-display-on-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Row rules live on the cells, not the row, so the plum column draws its own faint line
   instead of a light rule cutting across it. */
.plan-compare-row { border-top: 0; }
.plan-compare-row:not(.plan-compare-head) > * { border-top: 1px solid var(--rule); }
.plan-compare-row:not(.plan-compare-head) > .plan-compare-pick { border-top-color: rgba(255, 255, 255, 0.08); }
.plan-compare-row .plan-compare-pick,
.plan-compare-head .plan-compare-cell.plan-compare-pick { box-shadow: none; }
@media (max-width: 600px) {
  .plan-compare-row:not(.plan-compare-head) > * { border-top: 0; }
  .plan-compare-row:not(.plan-compare-head) {
    box-shadow: none;
    background:
      linear-gradient(to right, var(--rule), var(--rule)) top left / calc(200% / 3) 1px no-repeat,
      linear-gradient(to right, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) top right / calc(100% / 3) 1px no-repeat,
      linear-gradient(to right, transparent calc(200% / 3), var(--color-plum-tile) calc(200% / 3));
  }
}
@media (max-width: 600px) {
  body.pricing-page .plan-compare-head, body .plan-compare-head { background: linear-gradient(to right, #fff calc(200% / 3), var(--color-plum-tile) calc(200% / 3)); }
}


/* ==========================================================================
   Plan picker (phones; plan_cards.html with plan_picker=True, plan-picker.js). A segmented
   control names each plan with its price, so all three prices are on the first screen, and
   one card shows at a time below it. The selected tab is white, like the card it opens.
   ========================================================================== */
.plan-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  padding: var(--space-4);
  margin-bottom: var(--space-8);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--color-white) 8%, transparent);
  border: 1px solid var(--rule);
}
.plan-picker[hidden] { display: none; }
/* It sticks under the nav while the card shows (plan-picker.js sets --plan-picker-top from the
   nav), and the cards' container lets it go when the card ends. Held over the card, it turns
   into solid frosted plum, so the card's words do not show through. */
.plan-picker-on > .plan-picker {
  position: sticky;
  top: var(--plan-picker-top, var(--space-8));
  z-index: 20;
  transition: background-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard),
    opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}
/* Near the card's end it fades out, so it never covers the card's button. */
.plan-picker-on > .plan-picker.plan-picker--clear {
  opacity: 0;
  transform: translateY(calc(-1 * var(--space-8)));
  pointer-events: none;
}
.plan-picker-on > .plan-picker.plan-picker--stuck {
  background: color-mix(in srgb, var(--color-deep) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card-on-dark);
}
/* Without the control (wide screens, no script) the row has no box: the cards are the
   container's own columns, as before. */
.plan-track { display: contents; }
.plan-picker-on { width: 100%; }
/* Phones: the cards sit in a row that snaps each card to the middle. The row runs edge to edge
   so the neighbors peek in at the sides; the side cards shrink and dim, and slide to the middle
   when picked. Every card takes the tallest one's height, so the buttons line up. */
.plan-picker-on > .plan-track {
  --plan-peek: var(--space-32);
  --plan-gap: var(--space-12);
  display: flex;
  gap: var(--plan-gap);
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: calc(-1 * var(--space-8));
  /* Room for the badge above the middle card and the cards' shadows below. */
  padding: var(--space-16) calc(var(--plan-peek) + var(--plan-gap)) var(--space-32);
  /* Positioned, so plan-picker.js reads the cards' offsets from the row itself. */
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.plan-picker-on > .plan-track::-webkit-scrollbar { display: none; }
.plan-picker-on > .plan-track > .pricing-column {
  flex: 0 0 calc(100vw - 2 * (var(--plan-peek) + var(--plan-gap)));
  /* The base height: 100% has no row height to resolve against and stops the stretch. */
  height: auto;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: transform var(--duration-base) var(--ease-standard), opacity var(--duration-base) var(--ease-standard);
}
.plan-picker-on > .plan-track > .pricing-column:not(.plan-panel--shown) {
  transform: scale(0.94);
  opacity: 0.55;
  cursor: pointer;
}
.plan-picker-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  padding: var(--space-10) var(--space-4);
  border: 0;
  border-radius: calc(var(--radius-card) - var(--space-4));
  background: transparent;
  color: var(--text-body);
  font: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.plan-picker-name {
  font-size: var(--fs-13);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  white-space: nowrap;
}
.plan-picker-price {
  font-size: var(--fs-18);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.plan-picker-tab[aria-selected="true"] {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  cursor: default;
}
.plan-picker-tab[aria-selected="true"] .plan-picker-name { color: var(--color-plum-ink); }
.plan-picker-tab[aria-selected="true"] .plan-picker-price { color: var(--color-dark); }
.plan-picker-tab:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .plan-picker-on > .plan-track > .pricing-column { transition: none; }
}
