:root {
	--blue: #1568d6;
	--blue-deep: #0b4ea8;
	--cyan: #1aa8c4;
	--green: #43a047;
	--orange: #f57c16;
	--navy: #0b2744;
	--ink: #16324f;
	--muted: #4d647a;
	--paper: #f7fbfe;
	--sky-top: #d7eefc;
	--sky-mid: #eef7fd;
	--white: #ffffff;
	--radius: 18px;
	--shadow: 0 24px 60px rgba(11, 39, 68, 0.12);
	--font: "Outfit", "Segoe UI", sans-serif;
	--serif: "Source Serif 4", Georgia, serif;
	--pad: clamp(1.1rem, 4.5vw, 1.5rem);
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-right: env(safe-area-inset-right, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
	--safe-left: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html,
body {
	max-width: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.6;
	-webkit-tap-highlight-color: rgba(21, 104, 214, 0.18);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--blue);
}

.skip-link {
	position: absolute;
	left: max(1rem, var(--safe-left));
	top: -4rem;
	z-index: 10;
	padding: 0.6rem 0.9rem;
	background: var(--navy);
	color: var(--white);
	border-radius: 8px;
	text-decoration: none;
}

.skip-link:focus {
	top: max(1rem, var(--safe-top));
}

.container {
	min-height: 100vh;
	min-height: 100dvh;
}

.sky {
	position: relative;
	min-height: 100svh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: calc(3.25rem + var(--safe-top)) calc(var(--pad) + var(--safe-right)) calc(4.25rem + var(--safe-bottom)) calc(var(--pad) + var(--safe-left));
	text-align: center;
	overflow-x: clip;
	background:
		radial-gradient(ellipse 80% 55% at 50% -10%, rgba(21, 104, 214, 0.18), transparent 58%),
		radial-gradient(ellipse 45% 40% at 12% 88%, rgba(245, 124, 22, 0.16), transparent 62%),
		radial-gradient(ellipse 40% 36% at 90% 80%, rgba(26, 168, 196, 0.16), transparent 60%),
		linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 48%, var(--white) 100%);
}

.sky::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 6px;
	background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 32%, var(--green) 58%, var(--orange) 100%);
}

#logo {
	position: relative;
	display: inline-flex;
	width: min(100%, 560px);
	filter: drop-shadow(0 18px 28px rgba(11, 78, 168, 0.12));
	transition: transform 0.35s ease;
}

#logo:focus-visible {
	transform: translateY(-3px);
}

#logo img {
	width: 100%;
	height: auto;
}

#slogan {
	position: relative;
	margin: 1.1rem 0 0;
	max-width: 100%;
	padding: 0 0.25rem;
	font-family: var(--serif);
	font-size: clamp(1.02rem, 4.2vw, 1.55rem);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.35;
	color: var(--ink);
	overflow-wrap: break-word;
}

.slogan-break {
	display: block;
}

#keepreading {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	margin-top: 1.75rem;
	min-height: 44px;
	min-width: 44px;
	padding: 0.85rem 1.1rem;
	color: var(--blue-deep);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

#keepreading svg {
	width: 22px;
	height: 22px;
	animation: bob 1.8s ease-in-out infinite;
}

#keepreading:focus-visible {
	color: var(--blue);
}

@keyframes bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(5px); }
}

#about {
	background: var(--white);
	scroll-margin-top: 0.5rem;
}

.intro {
	width: min(920px, calc(100% - (var(--pad) * 2) - var(--safe-left) - var(--safe-right)));
	margin: 0 auto;
	padding: 3rem 0 3.5rem;
}

.lede {
	margin: 0 auto 2.25rem;
	max-width: 38rem;
	text-align: center;
	font-family: var(--serif);
	font-size: clamp(1.12rem, 4.4vw, 1.65rem);
	line-height: 1.45;
	color: var(--ink);
	overflow-wrap: break-word;
}

.pillars {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pillars li {
	padding: 1.2rem 1.15rem 1.25rem;
	background: var(--paper);
	border: 1px solid rgba(21, 104, 214, 0.08);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--muted);
	font-size: 0.98rem;
}

.pillars strong {
	display: block;
	margin: 0.55rem 0 0.4rem;
	color: var(--ink);
	font-size: 1.05rem;
	letter-spacing: 0.01em;
}

.swatch {
	display: block;
	width: 2.4rem;
	height: 6px;
	border-radius: 999px;
}

.swatch-blue { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.swatch-cyan { background: linear-gradient(90deg, var(--cyan), var(--green)); }
.swatch-green { background: linear-gradient(90deg, var(--green), var(--orange)); }

.footer {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.78);
	padding-bottom: var(--safe-bottom);
}

.layCenter {
	width: min(920px, calc(100% - (var(--pad) * 2) - var(--safe-left) - var(--safe-right)));
	margin: 0 auto;
	padding: 2.3rem 0 2rem;
	text-align: center;
}

#contact {
	margin: 0 0 1rem;
	color: var(--white);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

#twitter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.7rem 1.15rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
	transition: background 0.2s ease, border-color 0.2s ease;
}

#twitter svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

#twitter:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.4);
}

#copyright {
	margin: 1.25rem 0 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
	.pillars {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}

	.intro {
		padding: 4.5rem 0 5rem;
	}

	.lede {
		margin-bottom: 3rem;
	}

	.pillars li {
		padding: 1.35rem 1.3rem 1.4rem;
	}
}

@media (min-width: 900px) {
	.slogan-break {
		display: inline;
	}

	#slogan {
		white-space: nowrap;
	}
}

@media (hover: hover) and (pointer: fine) {
	#logo:hover {
		transform: translateY(-3px);
	}

	#keepreading:hover {
		color: var(--blue);
	}

	#twitter:hover {
		background: rgba(255, 255, 255, 0.08);
		border-color: rgba(255, 255, 255, 0.4);
	}
}

@media (max-height: 540px) and (orientation: landscape) {
	.sky {
		min-height: auto;
		padding: calc(1.5rem + var(--safe-top)) calc(var(--pad) + var(--safe-right)) calc(1.75rem + var(--safe-bottom)) calc(var(--pad) + var(--safe-left));
	}

	#logo {
		width: min(52vw, 420px);
	}

	#slogan {
		margin-top: 0.7rem;
		font-size: 1.05rem;
	}

	.slogan-break {
		display: inline;
	}

	#keepreading {
		margin-top: 0.85rem;
		padding: 0.45rem 0.8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	#logo,
	#keepreading svg {
		animation: none;
		transition: none;
	}
}
