:root {
	--sand-50: #f6f4ee;
	--sand-100: #ebe7da;
	--sand-300: #d2c9ac;
	--card-light: #fffdf8;
	--gold: #8b7b4b;
	--gold-deep: #645836;
	--ink: #1b1f2d;
	--navy: #20273c;
	--navy-soft: #2c354e;
	--accent: #3b539b;
	--accent-light: #a8b7e6;
	--text-muted: #4f5464;
	--text-on-dark: #eef0f5;
	--muted-on-dark: #c3c9d8;
	--radius: 5px;
	--font-head: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--font-body: "Roboto", Arial, Helvetica, sans-serif;
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--sand-50);
}

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

h1,
h2,
h3 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

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

a:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 2px;
}

address {
	font-style: normal;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 10;
	padding: 0.6rem 1rem;
	background: var(--sand-50);
	color: var(--ink);
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 1rem;
}

.page-width {
	width: min(100% - 2.5rem, 68rem);
	margin-inline: auto;
}

.top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.1rem 0;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: inherit;
	text-decoration: none;
}

.brand-mark {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.brand-name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.1em;
}

.lang-switch {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	flex-shrink: 0;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.band-dark .lang-switch a,
.lang-switch a {
	padding: 0.25rem 0.55rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: var(--text-on-dark);
	text-decoration: none;
}

.band-dark .lang-switch a:hover {
	border-color: var(--muted-on-dark);
}

.band-dark .lang-switch .lang-current {
	background: var(--sand-300);
	color: var(--ink);
}

.lang-dot {
	color: var(--muted-on-dark);
}

.band {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.band::before {
	content: attr(data-initial);
	position: absolute;
	top: -0.12em;
	right: -0.04em;
	z-index: 0;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(14rem, 48vw, 34rem);
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.band > * {
	position: relative;
	z-index: 1;
}

.band-dark {
	background: var(--navy);
	color: var(--text-on-dark);
}

.band-dark::before {
	color: rgba(246, 244, 238, 0.045);
}

.band-dark a {
	color: var(--accent-light);
}

.band-light {
	background: var(--sand-50);
	color: var(--ink);
}

.band-light::before {
	color: rgba(139, 123, 75, 0.09);
}

.band-eyebrow {
	margin-bottom: 0.8rem;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.band-light .band-eyebrow {
	color: var(--gold-deep);
}

.band-dark .band-eyebrow {
	color: var(--sand-300);
}

.band-title {
	font-size: clamp(1.55rem, 4vw, 2.3rem);
	max-width: 36rem;
}

.band-lead {
	max-width: 40rem;
	font-size: 1.07rem;
}

.band-light .band-lead {
	color: var(--text-muted);
}

.band-dark .band-lead {
	color: var(--muted-on-dark);
}

.action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.8rem;
}

.band .action-button {
	display: inline-block;
	padding: 0.8rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}

.band-dark .action-filled {
	background: var(--sand-300);
	color: var(--ink);
}

.band-dark .action-filled:hover {
	background: var(--sand-50);
}

.band-dark .action-outline {
	border-color: var(--muted-on-dark);
	color: var(--text-on-dark);
}

.band-dark .action-outline:hover {
	border-color: var(--sand-300);
}

.band-light .action-filled {
	background: var(--accent);
	color: var(--sand-50);
}

.band-light .action-filled:hover {
	background: var(--navy);
}

.site-footer {
	padding: 3.5rem 0 2rem;
	background: var(--ink);
	color: var(--text-on-dark);
	text-align: center;
}

.site-footer a {
	color: var(--accent-light);
}

.footer-mark {
	width: 40px;
	height: 40px;
	margin: 0 auto 1.2rem;
}

.footer-contacts {
	display: grid;
	justify-items: center;
	gap: 0.35rem;
	max-width: 30rem;
	margin: 0 auto;
	padding: 1.6rem 1.2rem;
	border: 1px solid rgba(210, 201, 172, 0.25);
	border-radius: var(--radius);
	overflow-wrap: anywhere;
}

.footer-name {
	font-family: var(--font-head);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--sand-50);
}

.footer-registry {
	font-size: 0.85rem;
	color: var(--muted-on-dark);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.4rem;
	margin: 2rem 0 1.5rem;
	padding: 0;
	list-style: none;
	font-size: 0.92rem;
}

.footer-links a {
	text-decoration: none;
}

.footer-links a:hover {
	text-decoration: underline;
}

.footer-legal {
	margin: 0;
	font-size: 0.85rem;
	color: var(--muted-on-dark);
}

.policy-head {
	padding-top: 0;
}

.policy-head-inner {
	padding-top: clamp(2rem, 6vw, 3.5rem);
}

.policy-title {
	font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.policy-date {
	margin: 0;
	color: var(--muted-on-dark);
}

.policy-content {
	max-width: 46rem;
}

.policy-section {
	margin-bottom: 2.2rem;
}

.policy-section h2 {
	font-size: 1.25rem;
	color: var(--navy);
}

.policy-section p,
.policy-section li {
	color: var(--text-muted);
}

.policy-section ul {
	padding-left: 1.2rem;
}

.policy-card {
	padding: 1.3rem 1.4rem;
	background: var(--card-light);
	border-left: 4px solid var(--gold);
	border-radius: var(--radius);
	color: var(--ink);
}

.policy-card p {
	margin: 0;
	color: var(--ink);
}

@media (max-width: 420px) {
	.brand-name {
		font-size: 0.95rem;
		letter-spacing: 0.06em;
	}

	.brand-mark {
		width: 30px;
		height: 30px;
	}
}
