/* landing-dark-shadows.v1.css -- dark mode: no light behind the buttons (2026-11-16,
 * patches/landing_dark_glow; the operator: "fix this light behind the grey discord
 * button and below all other buttons that are affected").
 * Served max-age=604800: never edit in place, ship a new name.
 *
 * THE CAUSE. The landing's shadows are written in the token --deep
 * (hsl(var(--deep) / .1) and so on). In the light scheme --deep is the ink, so
 * they are shadows. landing-dark.v2.css turns --deep into the dark BUTTON FILL
 * (240 3% 18%), which is lighter than the dark page (240 4% 8%): every one of
 * those shadows became a pale haze under its button, tile or card. The glass
 * buttons (.glass: Discord, See features, the menus) also kept the white glass's
 * top hairline at 95% white, a bright rim on a dark pill.
 *
 * THE FIX. Dark scheme only: the same shadows, same offsets and sizes, cast in
 * black; the top hairline at the strength the dark glass panels already use
 * (landing-dark.v2.css, .glass-plain in #pricing: 8%). The light scheme is not
 * touched, nothing moves, no markup changes.
 * To take it out: drop the <link> from index.html. */

/* the glass buttons and menus: Discord, See features, the language and phone menus */
html[data-theme="dark"] .glass {
  box-shadow: 0 1px 1px hsl(0 0% 0% / .28), 0 10px 34px hsl(0 0% 0% / .30),
              inset 0 1px hsl(0 0% 100% / .08), inset 0 -1px hsl(0 0% 0% / .22);
}
/* the dark pills under the liquid metal: Try for free, Start now */
html[data-theme="dark"] .glass-deep {
  box-shadow: 0 1px 1px hsl(0 0% 0% / .30), 0 10px 30px hsl(0 0% 0% / .38),
              inset 0 1px hsl(0 0% 100% / .14);
}

/* the hero's photo tiles */
html[data-theme="dark"] .jpa-hero-tile { box-shadow: 0 10px 30px hsl(0 0% 0% / .30); }
html[data-theme="dark"] .jpa-hc-tile { box-shadow: 0 1px 2px hsl(0 0% 0% / .30), 0 14px 28px -14px hsl(0 0% 0% / .55); }

/* the dashboard picture's frame and the feature cards */
html[data-theme="dark"] #interface .ss-card {
  box-shadow: 0 1px 2px hsl(0 0% 0% / .30), 0 14px 34px -10px hsl(0 0% 0% / .45), 0 44px 90px -30px hsl(0 0% 0% / .50);
}
html[data-theme="dark"] #features .fx-grid > .fx-card,
html[data-theme="dark"] #features .fx-grid > .fx-card:hover {
  box-shadow: 0 1px 2px hsl(0 0% 0% / .30), 0 14px 34px -10px hsl(0 0% 0% / .45);
}

/* the dashboard picture's controls: the notes, the Light / Dark / Features switch */
html[data-theme="dark"] .sc-box {
  box-shadow: 0 1px 1px hsl(0 0% 0% / .28), 0 8px 22px hsl(0 0% 0% / .34), inset 0 1px 0 hsl(0 0% 100% / .08);
}
html[data-theme="dark"] .sc-list li {
  box-shadow: 0 1px 1px hsl(0 0% 0% / .28), 0 5px 14px hsl(0 0% 0% / .30), inset 0 1px 0 hsl(0 0% 100% / .08);
}
html[data-theme="dark"] .ss-fx.is-on {
  box-shadow: 0 1px 2px hsl(0 0% 0% / .40), 0 6px 18px hsl(0 0% 0% / .34), inset 0 1px hsl(0 0% 100% / .14);
}
html[data-theme="dark"] .ss-theme {
  box-shadow: 0 1px 1px hsl(0 0% 0% / .28), 0 6px 18px hsl(0 0% 0% / .30), inset 0 1px hsl(0 0% 100% / .08);
}
html[data-theme="dark"] .ss-theme-btn.is-on {
  box-shadow: 0 1px 2px hsl(0 0% 0% / .40), inset 0 1px hsl(0 0% 100% / .14);
}
