/* Heebo self-hosted, unicode-subset per Google's own distribution */
@font-face {
	font-family: 'Heebo';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/heebo/heebo-hebrew.woff2') format('woff2');
	unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
	font-family: 'Heebo';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/heebo/heebo-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Heebo';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/heebo/heebo-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-family-base);
	font-weight: var(--fw-regular);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--color-text-primary);
	background: var(--color-neutral-0);
	direction: rtl;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, svg, video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-teal-700);
	text-decoration: none;
	transition: opacity var(--motion-fast) var(--motion-ease);
}
a:hover {
	opacity: .8;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--font-family-base);
	font-weight: var(--fw-bold);
	color: var(--color-text-primary);
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--fw-extrabold); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }

p { margin: 0 0 var(--space-4); }

/* Skip link */
.skip-link {
	position: absolute;
	top: -100px;
	right: var(--space-4);
	z-index: 10000;
	background: var(--color-navy-950);
	color: var(--color-neutral-0);
	padding: var(--space-3) var(--space-4);
	border-radius: var(--radius-sm);
	transition: top var(--motion-standard) var(--motion-ease);
}
.skip-link:focus {
	top: var(--space-4);
}

/* Focus visibility, per accessibility requirement (19_ACCESSIBILITY.md) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
	outline: var(--focus-outline);
	outline-offset: 2px;
	box-shadow: var(--focus-ring);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Container utility, per containers scale in tokens.css */
.site-container {
	width: 100%;
	max-width: var(--container-desktop);
	margin-inline: auto;
	padding-inline: var(--container-padding-mobile);
}
@media (min-width: 768px) {
	.site-container {
		padding-inline: var(--container-padding-tablet);
	}
}
@media (min-width: 1440px) {
	.site-container {
		max-width: var(--container-wide);
		padding-inline: var(--container-padding-wide);
	}
}
.site-container--article {
	max-width: var(--container-article);
}
