/*
 * Marketing landing pages (/website-seo-checker, /ai-search-visibility-checker)
 * reuse the WordPress theme stylesheets verbatim (Bootstrap 5 + rankyfy-new
 * theme). The app's globals.css still loads Tailwind's preflight in
 * `@layer base`, which resets things the WordPress pages rely on browser
 * defaults for (list bullets, inline images/SVGs, form control borders, …).
 *
 * Every rule here is unlayered — so it beats the layered preflight — but has
 * zero specificity and loads before Bootstrap and the theme, so any real
 * Bootstrap/theme rule still wins. Net effect: the cascade the WordPress pages
 * were designed against (UA defaults → Bootstrap → theme).
 */

:where(.rk-landing) {
  color-scheme: light;
}

:where(.rk-landing) :where(*, ::before, ::after, ::backdrop, ::file-selector-button) {
  margin: revert;
  padding: revert;
  border: revert;
  outline-color: revert;
}

:where(.rk-landing) :where(h1, h2, h3, h4, h5, h6) {
  font-size: revert;
  font-weight: revert;
}

:where(.rk-landing) :where(ol, ul, menu) {
  list-style: revert;
}

:where(.rk-landing) :where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: revert;
  vertical-align: revert;
}

:where(.rk-landing) :where(img, video) {
  max-width: revert;
  height: revert;
}

:where(.rk-landing) :where(button, input, select, optgroup, textarea, ::file-selector-button) {
  font: revert;
  font-feature-settings: revert;
  font-variation-settings: revert;
  letter-spacing: revert;
  color: revert;
  border-radius: revert;
  background-color: revert;
  opacity: revert;
}

:where(.rk-landing) :where(button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button) {
  appearance: revert;
}

:where(.rk-landing) :where(a) {
  color: revert;
  text-decoration: revert;
}

:where(.rk-landing) ::placeholder {
  opacity: revert;
  color: revert;
}

:where(.rk-landing) :where(textarea) {
  resize: revert;
}

:where(.rk-landing) :where(table) {
  text-indent: revert;
  border-color: revert;
  border-collapse: revert;
}
