/* ==========================================================================
   TONES — the homepage's background ladder and run order (2026-11-17, her notes:
   "the bg colors should vary in shades" and "I don't like three light long sections").
   Runs (max two sections each): hero D | system L | results D strip | build + featured L |
   problem + day D | how + teaser L (teaser stays a dark card) | fit + pricing D lifted |
   task + faq L | closing D. Each section carries its own shade and fades into its
   neighbour; every light/dark edge lands on a lifted tone. Loads after home-sections.css.
   Light ladder: L1 #fcfbfe → L0 #f7f6fa → L2 #f1eff6 → L3 #ebe9f2
   Dark ladder:  D2 #14111b (lifted, purple-tinted) → D1 #0c0a11 → D0 #050505
   ========================================================================== */

:root { --L1: #fcfbfe; --L0: #f7f6fa; --L2: #f1eff6; --L3: #ebe9f2; --D2: #14111b; --D1: #0c0a11; --D0: #050505; --seam: 180px; }

.light, .dark { background: transparent; }

/* ---- run 1: the proof system, light ------------------------------------------ */
.light .system   { background: linear-gradient(180deg, #e7e4ee 0, var(--L1) 140px, var(--L1) calc(100% - var(--seam)), var(--L2) 100%); }

/* ---- run 2: the numbers, a dark strip ---------------------------------------- */
.dark .results   { background: linear-gradient(180deg, var(--D2) 0, var(--D0) 45%, var(--D0) 70%, var(--D1) 100%); padding: 100px 0 110px; }

/* ---- run 3: what I build + also shipped, light in two shades ----------------- */
.light .build    { background: linear-gradient(180deg, #e7e4ee 0, var(--L1) 120px, var(--L1) calc(100% - var(--seam)), var(--L0) 100%); padding-top: 110px; }
.light .featured { background: linear-gradient(180deg, var(--L0) 0, var(--L2) 40%, var(--L3) 100%); }

/* ---- run 4: the pain and the day, dark in two shades ------------------------- */
.dark .problem   { background: linear-gradient(180deg, var(--D2) 0, var(--D2) 40%, var(--D1) 100%); }
.dark .dayin     { background: linear-gradient(180deg, var(--D1) 0, var(--D0) 100%); }

/* ---- run 5: how I work + the about teaser, light; the teaser stays a dark card */
.light .how      { background: linear-gradient(180deg, #e7e4ee 0, var(--L1) 120px, var(--L1) calc(100% - var(--seam)), var(--L0) 100%); padding-top: 110px; }
.light .teaser   { background: linear-gradient(180deg, var(--L0) 0, var(--L2) 100%); }
.light .how-step .stepnum { color: rgba(23, 20, 31, .08); }
.light .how-list .new { color: #6b21a8; background: rgba(126, 34, 206, .08); border-color: rgba(126, 34, 206, .25); }
.light .teaser .bezel { border-color: rgba(23, 20, 31, .12); box-shadow: 0 30px 70px -36px rgba(23, 20, 31, .55); }
.light .teaser .bezel > .core { background: linear-gradient(180deg, #110f15, #0b0a0e); box-shadow: none; }
.light .teaser h2, .light .teaser h3 { color: #fff; }
.light .teaser p { color: #b8b2c4; }
.light .teaser .eyebrow { background: rgba(255, 255, 255, .06); color: #d8d2e3; }
.light .teaser .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22); }
.light .teaser .btn-ghost:hover { border-color: rgba(217, 70, 239, .6); }

/* ---- run 6: who this is for + pricing, lifted dark --------------------------- */
.dark .fitfor    { background: linear-gradient(180deg, var(--D2) 0, var(--D2) 50%, var(--D1) 100%); }
.dark .pricing   { background: linear-gradient(180deg, var(--D1) 0, var(--D1) 60%, var(--D2) 100%); }
.dark .price .tier, .dark .price .rules { background: var(--surface-2); border-color: var(--hairline); box-shadow: none; }
.dark .price .tier .k { color: #d8b4fe; }
.dark .fit > div { background: var(--surface-2); border-color: var(--hairline); box-shadow: none; }
.dark .fit h3 { color: #fff; }

/* ---- run 7: the written door + faq, light ------------------------------------ */
.light .task     { background: linear-gradient(180deg, #e7e4ee 0, var(--L1) 120px, var(--L1) calc(100% - var(--seam)), var(--L2) 100%); padding-top: 110px; }
.light .faq      { background: linear-gradient(180deg, var(--L2) 0, var(--L3) calc(100% - var(--seam)), #e4e1ec 100%); }

/* ---- closing: the card floats inside a lifted band that settles into the footer */
.cta-band { padding: 110px 0 130px; background: linear-gradient(180deg, var(--D2) 0, var(--D1) 55%, var(--D0) 100%); }
footer.site { background: var(--D0); }

@media (max-width: 700px) {
  :root { --seam: 110px; }
  .cta-band { padding: 72px 0 96px; }
  .dark .results { padding: 72px 0 80px; }
  .light .build, .light .how, .light .task { padding-top: 80px; }
}
