:root {
	--flag-bg: #f5f5f7;
	--flag-surface: #ffffff;
	--flag-ink: #111111;
	--flag-muted: #6e6e73;
	--flag-border: #e5e5e7;
	--flag-red: #c8102e;
	--flag-red-soft: #fff1f3;
	--flag-radius-sm: 10px;
	--flag-radius-md: 14px;
	--flag-radius-lg: 18px;
	--flag-shadow-float: 0 12px 40px rgb(0 0 0 / 0.07);
	--flag-container: 1280px;
	--flag-gutter: clamp(18px, 3vw, 40px);
	--flag-section-space: clamp(72px, 10vw, 144px);
	--flag-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--flag-bg);
	color: var(--flag-ink);
	font-family: var(--flag-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.flag-ma-search-open,
body.flag-ma-menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	color: inherit;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 12ch;
	margin-bottom: 24px;
	font-size: clamp(3rem, 7.5vw, 7rem);
	font-weight: 650;
	letter-spacing: -0.055em;
	line-height: 0.94;
}

h2 {
	font-size: clamp(2rem, 4vw, 4rem);
	letter-spacing: -0.04em;
	line-height: 1;
}

.flag-ma-container {
	width: min(100% - (var(--flag-gutter) * 2), var(--flag-container));
	margin-inline: auto;
}

.flag-ma-section {
	padding-block: var(--flag-section-space);
}

.flag-ma-content-shell {
	max-width: 880px;
}

.flag-ma-skip-link {
	position: fixed;
	z-index: 99999;
	top: 12px;
	left: 12px;
	padding: 10px 14px;
	border-radius: var(--flag-radius-sm);
	background: var(--flag-ink);
	color: #fff;
	transform: translateY(-200%);
}

.flag-ma-skip-link:focus {
	transform: translateY(0);
}

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

:focus-visible {
	outline: 3px solid rgb(200 16 46 / 0.35);
	outline-offset: 3px;
}
