:root {
	--ink: #17202a;
	--muted: #5f6f7b;
	--line: #d9e3ea;
	--paper: #ffffff;
	--soft: #eef5f8;
	--navy: #102235;
	--teal: #0f8b8d;
	--blue: #2f6f9f;
	--yellow: #f2c94c;
	--danger: #b83b3b;
	--shadow: 0 18px 45px rgba(16, 34, 53, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
}

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

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1.2rem;
}

h1,
h2,
h3 {
	margin: 0 0 1rem;
	line-height: 1.1;
	letter-spacing: 0;
}

h1 {
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	font-weight: 900;
	max-width: 9ch;
}

h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 900;
}

h3 {
	font-size: 1.15rem;
	font-weight: 900;
}

ol,
ul {
	margin: 0;
	padding-left: 1.15rem;
}

.inner {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1rem max(20px, calc((100vw - 1120px) / 2));
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(14px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.brand img {
	width: 2rem;
	height: 2rem;
}

.site-header nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	color: var(--muted);
	font-weight: 700;
}

.site-header nav a:hover {
	color: var(--teal);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.72fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	min-height: min(560px, calc(100vh - 260px));
	padding: clamp(2rem, 5vw, 4.5rem) max(20px, calc((100vw - 1120px) / 2)) 2.6rem;
	background:
		linear-gradient(135deg, rgba(238, 245, 248, 0.96), rgba(255, 255, 255, 0.92)),
		radial-gradient(circle at 15% 20%, rgba(15, 139, 141, 0.18), transparent 34%);
}

.hero-copy {
	max-width: 720px;
}

.lead {
	max-width: 38rem;
	color: var(--muted);
	font-size: 1.22rem;
}

.eyebrow {
	margin-bottom: 0.85rem;
	color: var(--teal);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.65rem 1.1rem;
	border: 2px solid var(--navy);
	border-radius: 6px;
	color: var(--navy);
	font-weight: 900;
}

.button.primary {
	background: var(--navy);
	color: #ffffff;
}

.button:hover {
	border-color: var(--teal);
	color: var(--teal);
}

.button.primary:hover {
	background: var(--teal);
	color: #ffffff;
}

.hero-media img {
	width: min(360px, 100%);
	margin: 0 auto;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.topic-hero {
	padding: clamp(3rem, 7vw, 5.5rem) 0;
	background:
		linear-gradient(135deg, rgba(238, 245, 248, 0.96), rgba(255, 255, 255, 0.92)),
		radial-gradient(circle at 15% 20%, rgba(15, 139, 141, 0.18), transparent 34%);
}

.topic-hero h1 {
	max-width: 12ch;
}

.topic-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
}

.topic-summary {
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: var(--shadow);
}

.topic-summary h2 {
	margin-bottom: 1rem;
	font-size: 1.35rem;
}

.topic-summary ul {
	display: grid;
	gap: 0.85rem;
	padding-left: 0;
	list-style: none;
}

.topic-summary li {
	color: var(--muted);
}

.topic-summary strong {
	color: var(--ink);
}

.topic-toc {
	padding: 1.35rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.topic-toc .eyebrow {
	margin-bottom: 0.75rem;
}

.topic-toc nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.topic-toc a {
	display: inline-flex;
	align-items: center;
	min-height: 2.4rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #ffffff;
	color: var(--navy);
	font-weight: 900;
}

.topic-toc a:hover {
	border-color: var(--teal);
	color: var(--teal);
}

.topic-section {
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.topic-content {
	max-width: 820px;
}

.topic-content p {
	color: var(--muted);
}

.band {
	background: var(--soft);
}

.intro {
	padding: 3rem 0;
}

.two-column,
.guide-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
}

.note {
	padding: 1.25rem;
	border-left: 6px solid var(--yellow);
	background: #ffffff;
	box-shadow: var(--shadow);
}

.note strong,
.note span {
	display: block;
}

.section {
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-heading {
	max-width: 720px;
	margin-bottom: 2rem;
}

.section-heading p {
	color: var(--muted);
}

.checklist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.checklist label {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	min-height: 4.4rem;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #ffffff;
	font-weight: 700;
	box-shadow: 0 10px 30px rgba(16, 34, 53, 0.07);
}

.checklist input {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.25rem;
	accent-color: var(--teal);
	flex: 0 0 auto;
}

.tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.tile {
	display: flex;
	flex-direction: column;
	min-height: 13.5rem;
	padding: 1.2rem;
	border-radius: 8px;
	background: var(--navy);
	color: #ffffff;
	box-shadow: var(--shadow);
}

.tile:nth-child(2n) {
	background: var(--blue);
}

.tile:nth-child(3n) {
	background: var(--teal);
}

.tile span {
	margin-bottom: auto;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 900;
}

.tile h3 {
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	font-size: 1.35rem;
}

.tile p {
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
}

.tile:hover {
	transform: translateY(-3px);
}

.guide-section {
	padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.guide-section p {
	color: var(--muted);
}

.steps,
.warning-list {
	display: grid;
	gap: 0.8rem;
	padding-left: 0;
	list-style: none;
	counter-reset: step;
}

.steps li,
.warning-list li {
	position: relative;
	padding: 0.95rem 1rem 0.95rem 3.1rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(16, 34, 53, 0.07);
	font-weight: 700;
}

.steps li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	display: grid;
	place-items: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 50%;
	background: var(--teal);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 900;
}

.warning-list li::before {
	content: "!";
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	display: grid;
	place-items: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--ink);
	font-weight: 900;
}

.emergency {
	padding: clamp(3rem, 7vw, 5.5rem) 0;
	background: var(--navy);
	color: #ffffff;
}

.emergency .eyebrow {
	color: var(--yellow);
}

.emergency-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.emergency-grid div {
	padding: 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
}

.emergency-grid p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
}

.site-footer {
	padding: 2rem 0;
	background: #071522;
	color: rgba(255, 255, 255, 0.78);
}

.site-footer .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-footer p {
	margin: 0;
}

.site-footer a {
	color: #ffffff;
	font-weight: 900;
}

@media (max-width: 900px) {
	.hero,
	.topic-hero-grid,
	.two-column,
	.guide-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: auto;
	}

	.hero-media {
		max-width: 420px;
	}

	.tiles,
	.emergency-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.site-header {
		align-items: center;
		flex-direction: row;
		flex-wrap: wrap;
		padding-block: 0.8rem;
	}

	.site-header nav {
		width: 100%;
		font-size: 0.95rem;
	}

	h1 {
		font-size: 2.2rem;
		max-width: 25ch;
	}

	.lead {
		font-size: 1.08rem;
	}

	.hero {
		gap: 1.2rem;
		padding-top: 1.2rem;
		padding-bottom: 1.2rem;
	}

	.hero-media {
		max-width: 350px;
	}

	.hero-actions {
		gap: 0.5rem;
		margin-top: 1rem;
	}

	.hero-actions .button {
		width: auto;
		min-height: 2.75rem;
		padding-inline: 0.8rem;
	}

	.checklist,
	.tiles,
	.emergency-grid {
		grid-template-columns: 1fr;
	}

	.site-footer .inner {
		align-items: stretch;
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.hero-actions .button {
		width: auto;
	}
}
