/* ==========================================================================
   SEREN – darkmode.css
   Dark theme. The <html> element gets data-theme="dark" from index.js, and
   only the colour variables from style.css are re-defined here.
   Palette: Sage Green x Warm Ivory, taken to a near-black forest base.
   Contrast (WCAG): ivory text 16:1+, muted text 11:1+, sage accent 10.9:1+,
   button text on sage 11.7:1 - every text colour is well above the 4.5:1 minimum.
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;                      /* native inputs/scrollbars follow the theme */

  --bg: #060B07;                           /* page background  – near-black forest   */
  --surface: #0D150F;                      /* cards, footer    – deep moss           */
  --accent: #B4CEA8;                       /* buttons, links   – light sage          */
  --secondary: #6F8F66;                    /* mid sage (decorative lines/dots only)  */
  --text: #F6F0DE;                         /* headings + body  – warm ivory          */
  --muted: #C2CBB5;                        /* captions         – soft ivory-sage     */
  --border: #23332A;                       /* hairlines        – dark moss           */
  --glow: rgba(180, 206, 168, 0.30);       /* focus rings, hover halos, bubbles       */
  --glow-2: rgba(180, 206, 168, 0.14);     /* soft shadows                            */
}
/* ==========================================================================
   Pricing Section 3 (mattress size pricing) - dark theme details.
   Everything else in that section already follows the colour variables above.
   ========================================================================== */
/* Quilt-stitch border on the photo: light stitches on a dark theme, so they stay visible */
html[data-theme="dark"] .szr-frame::after { border-color: var(--text); opacity: 0.5; }

/* Foam bubbles: a light rim instead of a dark one */
html[data-theme="dark"] .szr-bub { border-color: var(--accent); }

/* Digit wheels: the crease is a touch brighter so the flip-board look survives on dark moss */
html[data-theme="dark"] .szr-wheel::after { background: var(--secondary); }
