/**
 * Reference shell base — resets ALL legacy Tiragena visual layers on marketing pages.
 * Loads immediately after ref-tokens.css; BEFORE component CSS.
 */
@import url("tiragena-surfaces.css");

html.tir-ref-shell,
html.tir-ref-shell.tir-proteros-shell {
  color-scheme: light;
}

html.tir-ref-shell .utility-bar {
  display: none !important;
}

html.tir-ref-shell body {
  margin: 0;
  padding: 0 !important;
  font-family: var(--pr-font) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  letter-spacing: normal !important;
  color: var(--color-text-secondary) !important;
  background: var(--color-bg-page) !important;
  -webkit-font-smoothing: antialiased;
}

/* Destroy legacy gradient / noise overlays */
html.tir-ref-shell body::before,
html.tir-ref-shell body::after,
html.tir-ref-shell.index-home body::before,
html.tir-ref-shell.index-home body::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

/* Force light reference presentation even if theme-boot sets dark */
html.tir-ref-shell[data-theme="dark"] body,
html.tir-ref-shell[data-theme="dark"] .tir-head {
  background: transparent !important;
  color: var(--ref-ink) !important;
}

html.tir-ref-shell *,
html.tir-ref-shell *::before,
html.tir-ref-shell *::after {
  box-sizing: border-box;
}

html.tir-ref-shell img,
html.tir-ref-shell video {
  max-width: 100%;
  height: auto;
  display: block;
}

html.tir-ref-shell a {
  color: inherit;
}

html.tir-ref-shell h1,
html.tir-ref-shell h2,
html.tir-ref-shell h3,
html.tir-ref-shell h4,
html.tir-ref-shell h5,
html.tir-ref-shell h6 {
  font-family: var(--pr-font);
  color: var(--color-text-primary);
}

html.tir-ref-shell main {
  background: var(--color-bg-page);
}

/* Neutralize legacy button chrome — variants in tiragena-surfaces.css */
html.tir-ref-shell .btn,
html.tir-ref-shell .btn-primary,
html.tir-ref-shell .btn-ghost,
html.tir-ref-shell .ix-btn {
  border-radius: 0 !important;
  font-family: var(--pr-font) !important;
  box-shadow: none !important;
  background-image: none !important;
}
