/* everything below the catalog goes light, on one continuous stone. */
#quality, #wholesale, #affiliates, #faq, #explore, #contact, .site-footer {
  --bg: #FFFFFF;
  --bg-2: #F4F3F5;
  --surface: #FFFFFF;
  --surface-2: #F3F3F6;
  --border: #D3D4DB;
  --border-strong: #B3B6C2;
  --text: #1F2330;
  --text-muted: #4A5162;
  --cyan: #0B6E82;
  --violet: #5B2FD6;
  --accent-text: #2A3370;
  color: var(--text);
  color-scheme: light;
}

/* One slab of stone from the catalog to the bottom of the page: it sits behind everything once, so it never
   restarts or changes colour between sections. The hero and the bars above it keep their own dark backgrounds. */
body { background: #ECEBEE url("/assets/stone-bg.jpg") center top / 1540px auto repeat; }
#catalog, #quality, #wholesale, #affiliates, #faq, #explore, #contact, .site-footer { background: none; border-top: 0; }

/* Paragraphs resting directly on the veined stone get a soft frosted backing */
#quality .section-head, #contact .cta-inner > div:first-child, #affiliates .section-head, #wholesale .ws-merge, #faq .section-head {
  padding: var(--space-5); border-radius: var(--radius);
  background: rgba(255, 255, 255, .78); box-shadow: 0 10px 30px -18px rgba(31, 35, 48, .45);
}
#affiliates .partner-grid > div:first-child, #affiliates .partner-faq, #faq .faq-list, .site-footer > .container::before {
  padding: var(--space-5); border-radius: var(--radius);
  background: rgba(255, 255, 255, .84); box-shadow: 0 10px 30px -18px rgba(31, 35, 48, .45);
}

/* Small phones: the six level boxes keep their room inside the backing */
@media (max-width: 479px) { #wholesale .ws-merge { padding: 20px 10px; } #wholesale .ws-club-tiers { gap: 6px; } #wholesale .ws-club-tiers div { padding-inline: 4px; } #wholesale .ws-club-tiers b { font-size: 17px; } #wholesale .ws-club-tiers .tier-name { font-size: 9.5px; padding-inline: 4px !important; } }
#faq .faq-wrap { align-items: start; }
#faq .faq-list { border: 0; padding-block: var(--space-3); }
/* Footer: the same backing as one panel behind all of it */
.site-footer > .container { position: relative; z-index: 0; padding-block: var(--space-6); }
.site-footer > .container::before { content: ""; position: absolute; z-index: -1; inset: 0 var(--space-3); padding: 0; }
@media (max-width: 767px) { .site-footer > .container { padding-inline: var(--space-5); } .site-footer > .container::before { inset-inline: var(--space-2); } }
/* Section labels: dark words in the pink frame, like the catalog heading */
#quality .eyebrow-pop, #wholesale .eyebrow-pop, #affiliates .eyebrow-pop, #faq .eyebrow-pop, #contact .eyebrow-pop {
  -webkit-text-fill-color: #1F2330; text-shadow: none;
}

/* Panels */
#quality .panel, #affiliates .signup, #contact .signup, #faq .panel {
  background: #FFFFFF; border-color: #D3D4DB;
  box-shadow: 0 16px 40px -22px rgba(31, 35, 48, .55);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.vip-bulk { background: #FFFFFF; box-shadow: 0 0 0 1px rgba(139, 92, 246, .25), 0 20px 50px -24px rgba(91, 47, 214, .5); animation: none; }
.vip-amount, .grad-text { color: var(--text); }
#wholesale .case-photo { background: #E6E5E9; border-color: #D3D4DB; box-shadow: 0 24px 60px -30px rgba(31, 35, 48, .6); }

/* Wholesale tiers: all three cards share one background; only the Noir name pill is black */
.ws-club-tiers div { background: #FFFFFF; }
.ws-merge .ws-club-tiers div { border-color: #C6C8D1; }

/* Partner number cards */
/* Affiliate number cards: dark graphite (same family as the product cards) with a soft pink glow at the top */
.partner-stats div {
  border-color: rgba(255, 79, 176, .45);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 45, 149, .16), transparent 65%), linear-gradient(165deg, #2E3240, #1D2029);
  box-shadow: 0 16px 34px -18px rgba(20, 22, 30, .75), 0 0 0 1px rgba(255, 255, 255, .03) inset; animation: none;
}
.partner-stats dt { color: #FFFFFF; }
.partner-stats span { color: #BFC4D2; }
/* Big numbers (15% / 5% / 30-day / Monthly): one solid bright pink so they read sharp on the dark card */
.partner-stats dd.grad-text {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: #FF4FB0; -webkit-text-fill-color: #FF4FB0; filter: none; text-shadow: 0 0 18px rgba(255, 79, 176, .28);
  font-weight: 700; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

/* Numbered steps */
#affiliates .steps li::before { animation-name: stepLightPink; color: var(--accent-text); background: #FFFFFF; box-shadow: none; }
@keyframes stepLightPink {
  0%, 30%, 100% { color: #2A3370; border-color: #B3B6C2; background: #FFFFFF; box-shadow: none; }
  8%, 20% { color: #FFFFFF; border-color: #FF1493; background: #FF1493; box-shadow: 0 0 18px rgba(255, 20, 147, .75); }
}
@media (prefers-reduced-motion: reduce) { #affiliates .steps li::before { animation: none; } }

/* Buttons and small controls */
#quality .btn-ghost, #wholesale .btn-ghost, #affiliates .btn-ghost, #faq .btn-ghost, #contact .btn-ghost { background: #FFFFFF; color: var(--text); border-color: var(--border-strong); }
.nova-link { color: #1F2330; background: rgba(255, 45, 149, .1); }
.nova-link:hover { background: rgba(255, 45, 149, .2); }
.linkish { color: var(--text); }

/* Links keep the dark colour on hover (the dark theme sends them to white) */
#faq .faq-list summary:hover, #contact .contact-list a:hover, .site-footer li a:hover, .site-footer .linkish:hover, #wholesale .vip-mail:hover, #wholesale .ws-merge-login a:hover { color: #5B2FD6; }

/* Form fields */
#quality input, #affiliates input, #affiliates select, #affiliates textarea, #contact input, #contact select, #contact textarea {
  background: #FFFFFF; color: var(--text); border-color: var(--border-strong);
}
#quality input::placeholder, #affiliates input::placeholder, #affiliates textarea::placeholder, #contact input::placeholder, #contact textarea::placeholder { color: #666D7E; }
.check input { accent-color: #5B2FD6; }

/* Tables and footer details */
#quality th, #quality td { border-color: var(--border); color: var(--text); }
.disclaimer { background: #F6F5F7; }
.cta-dna { display: none; }
.site-footer .brand-name, .site-footer .brand-name b, .site-footer .grad-text { background: none; color: #1F2330; -webkit-text-fill-color: #1F2330; animation: none; filter: none; }
.site-footer .brand img { mix-blend-mode: normal; border-radius: 8px; background: #05060F; padding: 2px; }

/* Home: boxes for the other pages, and the pages themselves */
#explore a { background: rgba(255, 255, 255, .9); border-color: #D3D4DB; box-shadow: 0 16px 40px -22px rgba(31, 35, 48, .55); }
#explore .ex-ico { color: #E0087F; }
#wholesale .ws-how { background: rgba(255, 255, 255, .84); border-color: transparent; box-shadow: 0 10px 30px -18px rgba(31, 35, 48, .45); }
#wholesale .steps li::before { color: #2A3370; background: #FFFFFF; border-color: #B3B6C2; box-shadow: none; }
#quality .coa-list > li { background: #FFFFFF; }
