/* DreamReach · Dark theme (October 15, 2026).
   Loaded on every page next to styles.css; every rule here is scoped to
   <html data-theme="dark">. Dark is the live default since October 15, 2026.
   Preview Light on any URL with ?theme=light, Dark with ?theme=dark.

   Same six brand tokens as Light, same type. Only the block-to-color mapping changes:

     Light                      Dark
     nav        white           midnight-deep, cream lockup, cream links
     hero       cream           midnight, coral button
     benefits   mint            mint (unchanged), now directly under the hero
     strip      midnight        midnight (unchanged), below the mint band for now
     included   white           cream, midnight-deep cards with cream titles
     how        cream           midnight-deep, off-white cards
     pricing    white           cream, white card with a deep price panel on top
     faq        cream           midnight-deep, the accordion on one off-white card
     final      midnight        midnight (unchanged)
     footer     midnight-deep   midnight-deep (unchanged)

   Coral stays coral everywhere: every button is coral in Dark. Headings on dark
   backgrounds are cream, not white (Tom, October 15, 2026). */

[data-theme="dark"] body { background: var(--midnight); color: var(--white); }
[data-theme="dark"] .h1,
[data-theme="dark"] .h2,
[data-theme="dark"] h3 { color: var(--cream); }
[data-theme="dark"] ::selection { background: var(--coral); color: var(--white); }

/* Nav: the footer color, the cream lockup, coral button */
[data-theme="dark"] .nav-wrap,
[data-theme="dark"] .nav { background: var(--midnight-deep); }
[data-theme="dark"] .nav__links a:not(.btn) { color: var(--cream); }
[data-theme="dark"] .nav__links a:not(.btn):hover { color: var(--coral); }

/* The nav holds both lockups; the theme decides which one shows. */
.mark picture + picture { display: none; }
[data-theme="dark"] .mark picture { display: none; }
[data-theme="dark"] .mark picture + picture { display: block; }

/* Hero: a midnight vignette, lighter at the top center, deeper at the edges; coral button like
   everywhere else. Depth pass, Tom, October 19, 2026. */
[data-theme="dark"] .hero { background: radial-gradient(90% 130% at 50% 0%, color-mix(in srgb, var(--midnight), white 7%) 0%, var(--midnight) 55%, var(--midnight-deep) 100%); }
[data-theme="dark"] .hero .btn--primary {
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--coral), white 22%) 0%, var(--coral) 55%, var(--coral-hover) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 4px rgba(239, 61, 52, 0.45), 0 8px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .hero .btn--primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 2px 6px rgba(239, 61, 52, 0.5), 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* Client strip: stays midnight with white logos, same as Light (Tom, October 19, 2026).
   The strip markup still holds a second, midnight AIG PNG for a light strip; it stays hidden.
   To put the strip on cream again: background cream, label coral, .strip__logo midnight,
   and swap the AIG images with the two rules below. */
.strip__logo--aig img + img { display: none; }

/* Benefit band: stays mint, with ink text and checks, same as Light */

/* What's included: cream section, deep cards with cream titles */
[data-theme="dark"] #included { background: var(--cream); color: var(--ink); }
[data-theme="dark"] #included .h2 { color: var(--ink); }
[data-theme="dark"] .inc-card {
  background: linear-gradient(180deg, color-mix(in srgb, var(--midnight-deep), white 5%) 0%, var(--midnight-deep) 45%, var(--midnight-deep) 100%);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 6px rgba(18, 32, 44, 0.18), 0 14px 36px rgba(18, 32, 44, 0.24);
}

/* Why LinkedIn (new, October 19, 2026): cream like What's Included, deep cards. The difference block is a
   cream band in Light so it goes deep here; The Work is a plain section, midnight, with off-white cards. */
[data-theme="dark"] #why { background: var(--cream); color: var(--ink); }
[data-theme="dark"] #why .h2 { color: var(--ink); }

/* How it works and FAQ share the cream band in Light; both go deep midnight here.
   Phase cards are off-white with ink text. */
[data-theme="dark"] .band--cream { background: var(--midnight-deep); }
[data-theme="dark"] .phase {
  background: var(--white); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.25), 0 16px 40px rgba(0, 0, 0, 0.32);
}
[data-theme="dark"] .phase h3 { color: var(--ink); }

/* Pricing: the one light island, so the price reads as the brightest thing on the page */
[data-theme="dark"] #pricing { background: var(--cream); color: var(--ink); }
[data-theme="dark"] #pricing .h2 { color: var(--ink); }
[data-theme="dark"] .pr { background: var(--white); box-shadow: 0 2px 6px rgba(18, 32, 44, 0.08), 0 16px 40px rgba(18, 32, 44, 0.14); }
[data-theme="dark"] .pr__head {
  background: linear-gradient(180deg, color-mix(in srgb, var(--midnight-deep), white 5%) 0%, var(--midnight-deep) 45%, var(--midnight-deep) 100%);
  color: var(--white);
}
[data-theme="dark"] .pr__num { color: var(--cream); }
[data-theme="dark"] .pr__body { background: var(--white); }

/* FAQ (Tom, October 19, 2026): the accordion sits on one off-white card, like the phase cards,
   so the questions read on the deep band. Ink text, ink hairlines and icons. */
[data-theme="dark"] .faq {
  background: var(--white); color: var(--ink);
  padding: 6px 32px; border-top: 0; border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.25), 0 16px 40px rgba(0, 0, 0, 0.32);
}
[data-theme="dark"] .faq__item { border-color: var(--hairline); }
[data-theme="dark"] .faq__item:last-child { border-bottom: 0; }
[data-theme="dark"] .faq__icon::before,
[data-theme="dark"] .faq__icon::after { background: var(--ink); }
@media (max-width: 560px) { [data-theme="dark"] .faq { padding: 4px 20px; } }

/* From the founder (Tom, October 19, 2026): the text column is an off-white card beside the photo. */
[data-theme="dark"] #why-us .sec-head:not(.sec-head--center) {
  background: var(--white); color: var(--ink);
  padding: 36px; border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(0, 0, 0, 0.25), 0 16px 40px rgba(0, 0, 0, 0.32);
}
@media (max-width: 560px) { [data-theme="dark"] #why-us .sec-head:not(.sec-head--center) { padding: 28px 22px; } }

/* Final CTA: the same midnight vignette as the hero, cream headline. Deep FAQ above, deep footer below. */
[data-theme="dark"] .final { background: radial-gradient(90% 130% at 50% 0%, color-mix(in srgb, var(--midnight), white 7%) 0%, var(--midnight) 55%, var(--midnight-deep) 100%); }
[data-theme="dark"] .final .h1 { color: var(--cream); }

/* Get Started: the FAQ card rules above cover the three groups; the application card is the
   pricing card, so its body is white and the inputs sit on it. */
[data-theme="dark"] #apply .pr { color: var(--ink); }
[data-theme="dark"] #apply .pr__body { background: var(--white); }

/* Deck sales letter (November 17, 2026): the deck's hairline frame and focus ring are drawn in its
   text color, so on the Dark hero that is cream. The slides carry their own tones and do not change. */
[data-theme="dark"] [data-deck] { color: var(--cream); }
