:root {
	color-scheme: light;
	--ground: #edf1fa;
	--paper: #fff;
	--ink: #142039;
	--muted: #374560;
	--rule: #d9e2f1;
	--blue: #244bb3;
	--blue-deep: #193b96;
	--wordmark: #dce7ff;
	font-family: "Instrument Sans", system-ui, sans-serif;
	line-height: 1.6;
}

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

body {
	display: grid;
	align-content: center;
	min-block-size: 100vh;
	margin: 0;
	padding: clamp(1rem, 4vw, 4rem);
	background: var(--ground);
	color: var(--ink);
}

.notice {
	inline-size: min(100%, 69rem);
	margin-inline: auto;
	background: var(--paper);
	border: 1px solid var(--rule);
	border-radius: 1.25rem;
}

.masthead {
	padding: clamp(2.65rem, 7.5vw, 5.9rem) 1rem;
	border-start-start-radius: calc(1.25rem - 1px);
	border-start-end-radius: calc(1.25rem - 1px);
	background: var(--ink);
	color: var(--wordmark);
	text-align: center;
}

.masthead h1 {
	margin: 0;
	font-size: clamp(2.75rem, 10vw, 7.75rem);
	font-weight: 700;
	line-height: 1.03;
	letter-spacing: -0.055em;
	overflow-wrap: anywhere;
}

.languages { display: grid; }

.message {
	display: flex;
	flex-direction: column;
	min-inline-size: 0;
	padding: clamp(1.25rem, 4vw, 3.25rem);
}

.message + .message { border-block-start: 1px solid var(--rule); }

.message[lang="ar"] {
	font-family: "Noto Sans Arabic", Tahoma, "Geeza Pro", system-ui, sans-serif;
	line-height: 1.8;
}

.message h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.65rem, 3vw, 2.4rem);
	font-weight: 725;
	line-height: 1.3;
}

.message p {
	max-inline-size: 47ch;
	margin: 0 0 0.65rem;
	color: var(--muted);
	overflow-wrap: anywhere;
}

a {
	color: var(--blue);
	text-underline-offset: 0.18em;
}

a:focus-visible {
	outline: 3px solid var(--blue-deep);
	outline-offset: 3px;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-block-start: auto;
	padding-block-start: 0.8rem;
}

.action {
	display: block;
	max-inline-size: 100%;
	min-block-size: 2.85rem;
	padding: 0.6rem 0.95rem;
	border: 1px solid var(--blue);
	border-radius: 0.55rem;
	font-weight: 650;
	line-height: 1.55;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.action-primary { background: var(--blue); color: var(--paper); }
.action-primary:hover { background: var(--blue-deep); }
.action-secondary:hover { background: var(--ground); }

@media (min-width: 54rem) {
	.languages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.message + .message {
		border-block-start: 0;
		border-left: 1px solid var(--rule);
	}
}
