/* =========================
   GLOBAL FOUNDATION
   Applies tokens to the document
   ========================= */

/* =========================
   RESET / NORMALIZATION
   ========================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
	color: inherit;
	margin: 0;
}

/* Remove default tap highlight (mobile polish) */
*,
*::before,
*::after {
	-webkit-tap-highlight-color: transparent;
}

/* =========================
   DOCUMENT BASE
   ========================= */

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--rv-bg-site);
	color: var(--rv-text-primary);
	font-family: var(--rv-font-body);
	line-height: 1.5;
	overflow-x: hidden;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* =========================
   TYPOGRAPHY DEFAULTS
   ========================= */

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--rv-font-heading);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--rv-text-primary);
}

p {
	margin: 0;
	color: var(--rv-text-secondary);
}

small {
	color: var(--rv-text-muted);
}

/* =========================
   LINKS
   ========================= */

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: none;
}

/* =========================
   LISTS
   ========================= */

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* =========================
   FORM BASELINE
   ========================= */

input,
textarea,
select {
	background: transparent;
	border: none;
	outline: none;
}

/* Remove default browser styles */
button {
	background: none;
	border: none;
	cursor: pointer;
}

/* Remove default focus artifacts (we will reintroduce controlled focus later) */
button:focus,
button:focus-visible,
input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible {
	outline: none;
	box-shadow: none;
}

/* =========================
   MEDIA + EMBEDS
   ========================= */

iframe {
	border: none;
	display: block;
	max-width: 100%;
}

/* =========================
   GLOBAL UTIL BEHAVIOR
   ========================= */

/* Prevent scroll when menu open */
body.rv-mobile-menu-open {
	overflow-x: hidden;
}

/* Prevent scroll bounce artifacts on iOS */
html, body {
	overscroll-behavior-y: auto;
}

/* =========================
   THEME BASE OVERRIDES (ASTRA)
   ========================= */

.site-header,
.main-header-bar {
	border-bottom: 2px solid var(--rv-color-gray-700) !important;
}

.site-footer {
	border-top: 1.5px solid var(--rv-color-gray-700) !important;
}

/* Remove Astra scroll-to-top */
.ast-scroll-top,
#ast-scroll-top,
.scroll-to-top,
#scroll-to-top {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* =========================
   LOGO BASELINE
   ========================= */

.custom-logo {
	display: block;
	width: 160px;
	height: auto;
}


html {
	background: #000000;
}