/* Golden hour theme for the storefront: home, catalog and plans. Editor, account, auth and gift views keep their own palette. */
#home-view, #lower-home, #plans {
  --mw-night: #2b0f2e; --mw-night-violet: #2b0f2e; --mw-violet: #3a1236;
  --mw-pink: #f6c98a; --mw-pink-soft: #f6c98a;
  --mw-gradient-primary: linear-gradient(115deg, #f6c98a, #f2a65a 50%, #f6c98a);
  --mw-shadow-primary: 0 10px 24px #f2a65a40;
}
body[data-route="home"] .homepage-header, body[data-route="templates"] .homepage-header, body[data-route="plans"] .homepage-header {
  --mw-night: #2b0f2e; --mw-gradient-primary: linear-gradient(115deg, #f6c98a, #f2a65a 50%, #f6c98a);
}
#home-view .hero { background: radial-gradient(ellipse 70% 80% at 85% 0, #f2a65a80, transparent 70%), linear-gradient(160deg, #2b0f2e, #5c1e4a); }
#lower-home { background: radial-gradient(ellipse 80% 22% at 85% 30%, #f2a65a33, transparent 72%), radial-gradient(ellipse 70% 22% at 10% 70%, #e0559a2e, transparent 72%), linear-gradient(180deg, #5c1e4a, #2b0f2e 30%, #3a1236 70%, #2b0f2e); }
#plans { background: radial-gradient(ellipse 70% 40% at 85% 0, #f2a65a4d, transparent 72%), linear-gradient(180deg, #5c1e4a, #2b0f2e 40%) #2b0f2e; }
#lower-home :is(.trust-panel, .how-section) { background: #2a0f2cd9; border-color: #f6c98a40; }

/* Gold actions need dark ink: the pearl text used on violet would fail contrast. */
:is(#home-view, #plans) :is(.button.primary, .plans-primary), .homepage-header .button.primary { color: #3a1405; }
body:not([data-route="home"], [data-route="templates"], [data-route="plans"]) .homepage-header .button.primary { color: var(--mw-pearl); }

:is(#lower-home #home-plans, #plans) .plan-card { border-color: #f6c98a40; background: #2a0f2c; }
:is(#lower-home #home-plans, #plans) :is(.plan-card-header, .plan-premium .plan-card-header, .plan-exclusive .plan-card-header) { background: linear-gradient(120deg, #8a2f5e, #a8512c); }
:is(#lower-home #home-plans, #plans) .plan-premium { border-color: #f6c98a99; box-shadow: 0 24px 56px #14051459, 0 0 0 1px #f6c98a40, 0 0 36px #f2a65a33; }
:is(#lower-home #home-plans, #plans) .plans-free { border-color: #f6c98a80; background-color: transparent; background-image: linear-gradient(105deg, transparent 42%, #fff8f326 50%, transparent 58%), radial-gradient(ellipse at 0 50%, #f2a65a2e, transparent 45%), linear-gradient(115deg, #3a1236, #2a0f2c 55%, #4a1a40); }
:is(#lower-home #home-plans, #plans) .plans-free a { background: linear-gradient(115deg, #f6c98a, #f2a65a 50%, #f6c98a); background-size: 200% 100%; border-color: #f6c98a; box-shadow: 0 8px 20px #f2a65a40; color: #3a1405; }
#plans .plans-table-wrap { border-color: #f6c98a33; background: #2a0f2c; }
#plans .plans-comparison thead th { background: #3a1236; }
:is(#lower-home #home-plans, #plans) .plans-secondary { background: #4a1a40; border-color: #f6c98a66; }
#plans :is(.plans-status, .plans-help) { background: #3a1236; border-color: #f6c98a4d; }
#plans .plans-payment { background: #2a0f2c; border-color: #f6c98a40; }
#templates .occasion-filters button:not([aria-pressed="true"]) { background: #3a1236; border-color: #f6c98a40; }
#templates .template-card, #lower-home .featured-card { background: linear-gradient(145deg, #4a1a40, #2a0f2c); }
body:is([data-route="home"], [data-route="templates"], [data-route="plans"]) .homepage-footer { background: #2b0f2e; border-top-color: #f6c98a33; }
#lower-home #home-plans .plans-primary { color: #3a1405; }

/* Home sections alternate plum tones. The spread shadow paints each band edge to edge without changing the content width. */
#lower-home :is(#featured, #how-it-works, #home-plans, #faq) { --band: #3a1236; max-width: 1150px; border: 0; border-radius: 0; background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
#lower-home #how-it-works { --band: #5c1e4a; }
#lower-home #home-plans { --band: #2b0f2e; }
#lower-home #faq { --band: #4a1a40; }
