/* Kids Tube — site styles */

:root {
	--navy: #23305e;
	--navy-soft: #56618c;
	--navy-faint: #8d96b8;
	--sky: #8fd3ff;
	--sky-light: #e6f6ff;
	--sky-deep: #4fb3f6;
	--sun: #ffd15c;
	--sun-deep: #ffb938;
	--sun-light: #fff4d6;
	--coral: #ff7f6e;
	--coral-deep: #f2605a;
	--coral-light: #ffe7e2;
	--pink: #ff9ecf;
	--pink-light: #ffe8f4;
	--mint: #5bd8b0;
	--mint-deep: #2ebd91;
	--mint-light: #e0f8ef;
	--grape: #9b87f5;
	--grape-deep: #7c66e8;
	--grape-light: #eeeaff;
	--cream: #fffbf3;
	--paper: #ffffff;
	--night: #23305e;

	--font-display: 'Fredoka', 'Arial Rounded MT Bold', 'Helvetica Rounded', sans-serif;
	--font-body: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--radius-xl: 44px;
	--radius-lg: 34px;
	--radius: 26px;
	--radius-sm: 18px;
	--shadow: 0 26px 50px -22px rgba(35, 48, 94, 0.3), 0 8px 16px -8px rgba(35, 48, 94, 0.12);
	--shadow-sm: 0 14px 28px -14px rgba(35, 48, 94, 0.28);
	--bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
	--container: 1200px;
	--gutter: clamp(18px, 5vw, 44px);
	--header-h: 80px;
}

/* ---------- Base ---------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--navy);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

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

img {
	height: auto;
}

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

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

h1,
h2,
h3,
p,
figure {
	margin: 0;
}

::selection {
	background: var(--sun);
	color: var(--navy);
}

:focus-visible {
	outline: 3px solid var(--grape-deep);
	outline-offset: 4px;
	border-radius: 12px;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 18px;
	background: var(--sun);
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 600;
}

.skip-link:focus {
	top: 12px;
}

/* ---------- Shared pieces ---------- */

.tag {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 16px 7px 8px;
	background: var(--paper);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.tag-icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--coral-light);
	color: var(--coral-deep);
}

.tag-icon svg {
	width: 16px;
	height: 16px;
}

.title {
	margin: 20px 0 16px;
	font-family: var(--font-display);
	font-size: clamp(34px, 4.4vw, 58px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.06;
}

.wavy {
	white-space: nowrap;
	text-decoration: underline wavy var(--sun-deep);
	text-decoration-thickness: 0.09em;
	text-underline-offset: 0.2em;
	text-decoration-skip-ink: none;
}

.wavy-coral {
	text-decoration-color: var(--coral);
}

.wavy-mint {
	text-decoration-color: var(--mint);
}

.lead {
	max-width: 640px;
	color: var(--navy-soft);
	font-size: clamp(17px, 1.5vw, 19px);
	font-weight: 300;
	line-height: 1.7;
}

.section {
	position: relative;
	padding: clamp(72px, 10vw, 120px) 0;
}

.section-head {
	max-width: 760px;
	margin: 0 auto clamp(40px, 5vw, 60px);
	text-align: center;
}

.section-head .lead {
	margin-inline: auto;
}

.wave {
	position: absolute;
	left: 0;
	width: 100%;
	height: clamp(40px, 6vw, 80px);
	pointer-events: none;
}

.wave-top {
	top: -1px;
	transform: scaleY(-1);
}

.wave-bottom {
	bottom: -1px;
}

.blob {
	display: grid;
	place-items: center;
	border-radius: 42% 58% 62% 38% / 45% 39% 61% 55%;
	transition: border-radius 0.6s ease, transform 0.5s var(--bounce);
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 58px;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, #ff9583, var(--coral-deep));
	box-shadow:
		inset 0 -4px 0 rgba(0, 0, 0, 0.12),
		inset 0 2px 0 rgba(255, 255, 255, 0.45),
		0 14px 24px -12px rgba(242, 96, 90, 0.75);
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	transition: transform 0.3s var(--bounce), box-shadow 0.3s ease;
}

.btn svg {
	width: 21px;
	height: 21px;
	flex: none;
}

.btn:hover {
	transform: translateY(-3px) scale(1.03);
}

.btn:active {
	transform: translateY(1px) scale(0.96);
}

.btn-soft {
	background: var(--paper);
	box-shadow:
		inset 0 -4px 0 rgba(35, 48, 94, 0.06),
		var(--shadow-sm);
	color: var(--navy);
}

.btn-sun {
	background: linear-gradient(180deg, #ffe08a, var(--sun-deep));
	box-shadow:
		inset 0 -4px 0 rgba(0, 0, 0, 0.08),
		inset 0 2px 0 rgba(255, 255, 255, 0.55),
		0 14px 24px -12px rgba(255, 185, 56, 0.8);
	color: var(--navy);
}

.btn-sm {
	min-height: 48px;
	padding: 10px 20px;
	font-size: 16px;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 0 rgba(35, 48, 94, 0.06);
	transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
	box-shadow: 0 12px 30px -18px rgba(35, 48, 94, 0.35);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.brand img {
	width: 52px;
	height: 52px;
	transition: transform 0.5s var(--bounce);
}

.brand:hover img {
	transform: rotate(-8deg) translateY(-2px);
}

.wordmark {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.wordmark span:nth-child(1) {
	color: var(--coral);
}

.wordmark span:nth-child(2) {
	color: var(--sun-deep);
}

.wordmark span:nth-child(3) {
	color: var(--mint-deep);
}

.wordmark span:nth-child(4) {
	color: var(--grape-deep);
}

.wordmark b {
	margin-left: 0.12em;
	font-weight: 700;
	color: var(--navy);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.site-nav > a:not(.btn) {
	padding: 10px 14px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav > a:not(.btn):hover {
	background: var(--sky-light);
	color: var(--grape-deep);
}

.site-nav .btn {
	margin-left: 10px;
}

.menu-toggle {
	display: none;
	width: 50px;
	height: 50px;
	place-items: center;
	padding: 0;
	background: var(--sky-light);
	border: 0;
	border-radius: 18px;
}

.menu-toggle svg {
	width: 24px;
	height: 24px;
}

/* ---------- Hero (morning sky) ---------- */

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 6vw, 80px) 0 clamp(150px, 15vw, 220px);
	background: linear-gradient(180deg, #9ed9ff 0%, #c4eaff 55%, #e6f6ff 100%);
}

.hero-sun {
	position: absolute;
	top: clamp(-30px, -2vw, 0px);
	right: clamp(-40px, 3vw, 60px);
	width: clamp(140px, 16vw, 220px);
	animation: sun-bob 6s ease-in-out infinite;
	pointer-events: none;
}

.cloud {
	position: absolute;
	left: 0;
	width: var(--w, 150px);
	opacity: var(--o, 0.95);
	animation: drift var(--t, 70s) linear infinite;
	animation-delay: var(--d, 0s);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
}

.hero h1 {
	margin: 24px 0 20px;
	font-family: var(--font-display);
	font-size: clamp(48px, 6.2vw, 88px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.hero h1 span {
	display: block;
	color: var(--coral-deep);
}

.hero .lead {
	color: var(--navy);
	font-weight: 400;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.hero-badges li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 6px;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 500;
}

.hero-badges span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--paper);
}

.hero-badges li:nth-child(1) span {
	background: var(--coral);
}

.hero-badges li:nth-child(2) span {
	background: var(--grape);
}

.hero-badges li:nth-child(3) span {
	background: var(--mint-deep);
}

.hero-badges svg {
	width: 16px;
	height: 16px;
}

.hero-hills {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: 100%;
	min-width: 900px;
	pointer-events: none;
}

.sticker {
	position: absolute;
	z-index: 3;
	width: var(--s, 44px);
	animation: bob 4s ease-in-out infinite;
	animation-delay: var(--d, 0s);
	pointer-events: none;
	filter: drop-shadow(0 8px 10px rgba(35, 48, 94, 0.15));
}

.sticker svg {
	width: 100%;
	height: auto;
}

/* The TV in the hero: a mini Kids Tube app you can click through. */
.hero-tv {
	position: relative;
	padding: 46px 6px 34px;
}

.tv {
	position: relative;
	padding: clamp(12px, 1.6vw, 18px);
	background: linear-gradient(180deg, #ff9a7e, var(--coral-deep));
	border-radius: clamp(28px, 3vw, 40px);
	box-shadow:
		inset 0 3px 0 rgba(255, 255, 255, 0.35),
		inset 0 -6px 0 rgba(0, 0, 0, 0.1),
		0 30px 50px -24px rgba(35, 48, 94, 0.5);
}

.tv-antenna {
	position: absolute;
	top: -42px;
	width: 6px;
	height: 52px;
	background: var(--navy);
	border-radius: 3px;
	transform-origin: bottom center;
}

.tv-antenna::after {
	content: '';
	position: absolute;
	top: -12px;
	left: 50%;
	width: 22px;
	height: 22px;
	margin-left: -11px;
	border-radius: 50%;
	background: var(--sun);
}

.tv-antenna-l {
	left: 34%;
	transform: rotate(-28deg);
	animation: wiggle-l 3s ease-in-out infinite;
}

.tv-antenna-r {
	right: 34%;
	transform: rotate(28deg);
	animation: wiggle-r 3s ease-in-out infinite;
}

.tv-antenna-r::after {
	background: var(--mint);
}

.tv-legs {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -30px;
	display: flex;
	justify-content: center;
	gap: 34%;
}

.tv-legs span {
	width: 16px;
	height: 34px;
	background: var(--navy);
	border-radius: 8px;
	position: relative;
}

.tv-legs span::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	width: 36px;
	height: 16px;
	margin-left: -18px;
	border-radius: 50%;
	background: var(--grape);
}

.tv-screen {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: clamp(18px, 2vw, 28px);
	background: linear-gradient(180deg, #f4fbff, #e3f4ff);
	container-type: inline-size;
}

.app {
	display: flex;
	flex-direction: column;
	gap: 2.4cqw;
	height: 100%;
	padding: 3cqw 3.4cqw;
}

.app-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2cqw;
}

.app-logo {
	display: flex;
	align-items: center;
	gap: 1.2cqw;
	font-family: var(--font-display);
	font-size: max(3.6cqw, 13px);
	font-weight: 700;
	line-height: 1;
}

.app-logo img {
	width: 6.4cqw;
	height: 6.4cqw;
}

.app-hello {
	display: flex;
	align-items: center;
	gap: 1.4cqw;
	font-family: var(--font-display);
	font-size: max(2.6cqw, 10px);
	font-weight: 500;
	color: var(--navy-soft);
}

.app-hello span {
	display: grid;
	place-items: center;
	width: 5.4cqw;
	height: 5.4cqw;
	border-radius: 50%;
	background: var(--sun);
	color: var(--navy);
}

.app-hello svg {
	width: 3.2cqw;
	height: 3.2cqw;
}

.app-tabs {
	display: flex;
	gap: 1cqw;
	overflow-x: auto;
	scrollbar-width: none;
}

.app-tabs::-webkit-scrollbar {
	display: none;
}

.app-tab {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 0.9cqw;
	padding: max(1cqw, 5px) max(1.8cqw, 10px);
	background: var(--paper);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 0.6cqw 1.4cqw -0.6cqw rgba(35, 48, 94, 0.3);
	color: var(--navy);
	font-family: var(--font-display);
	font-size: max(2.2cqw, 11px);
	font-weight: 600;
	transition: transform 0.3s var(--bounce), background-color 0.2s ease, color 0.2s ease;
}

.app-tab i {
	width: 1.6cqw;
	height: 1.6cqw;
	border-radius: 50%;
	background: var(--dot, var(--coral));
}

.app-tab:hover {
	transform: translateY(-0.4cqw);
}

.app-tab[aria-selected='true'] {
	background: var(--navy);
	color: var(--paper);
	transform: scale(1.06);
}

.app-stage {
	display: grid;
	flex: 1;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 2.2cqw;
	min-height: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-stage.is-switching {
	opacity: 0;
	transform: translateY(1.6cqw);
}

.app-feature {
	position: relative;
	overflow: hidden;
	border-radius: 3cqw;
	box-shadow: 0 1.2cqw 2.4cqw -1.2cqw rgba(35, 48, 94, 0.45);
}

.app-feature img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.app-feature-info {
	position: absolute;
	left: 2cqw;
	right: 2cqw;
	bottom: 2cqw;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.4cqw;
	padding: 1.4cqw 1.4cqw 1.4cqw 2.2cqw;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
}

.app-feature-info strong {
	font-family: var(--font-display);
	font-size: max(2.7cqw, 11px);
	font-weight: 600;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.app-play {
	display: inline-flex;
	align-items: center;
	gap: 0.6cqw;
	flex: none;
	padding: 0.9cqw 1.8cqw;
	background: var(--coral);
	border-radius: 999px;
	color: var(--paper);
	font-family: var(--font-display);
	font-size: max(2.2cqw, 10px);
	font-weight: 600;
}

.app-play svg {
	width: 2.2cqw;
	height: 2.2cqw;
	fill: currentColor;
}

.app-side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 2.2cqw;
	min-height: 0;
}

.app-card {
	position: relative;
	overflow: hidden;
	border-radius: 2.4cqw;
	box-shadow: 0 1cqw 2cqw -1cqw rgba(35, 48, 94, 0.4);
}

.app-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.app-card span {
	position: absolute;
	left: 1.2cqw;
	bottom: 1.2cqw;
	padding: 0.5cqw 1.4cqw;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: max(2cqw, 9.5px);
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- What's on ---------- */

.topic-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topic {
	overflow: hidden;
	background: var(--paper);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	transition: transform 0.4s var(--bounce);
}

.topic:hover {
	transform: translateY(-6px) rotate(-0.6deg);
}

.topic:hover .blob {
	border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%;
	transform: rotate(-8deg) scale(1.06);
}

.topic-head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 24px 24px 18px;
	background: var(--tint);
}

.topic-head .blob {
	width: 58px;
	height: 58px;
	background: var(--tone);
	color: var(--paper);
}

.topic-head .blob svg {
	width: 28px;
	height: 28px;
}

.topic h3 {
	font-family: var(--font-display);
	font-size: 25px;
	font-weight: 600;
	line-height: 1.1;
}

.topic-head p {
	color: var(--navy-soft);
	font-size: 15px;
	line-height: 1.45;
}

.topic-shows {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 18px 20px 22px;
	list-style: none;
}

.topic-shows img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 14px;
}

.topic-shows span {
	display: block;
	margin-top: 8px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
}

.topic-tune {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 20px 22px;
	padding: 11px 16px;
	background: var(--tint);
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	transition: transform 0.3s var(--bounce), background-color 0.2s ease;
}

.topic-tune svg {
	width: 17px;
	height: 17px;
}

.topic-tune:hover {
	transform: translateY(-2px);
	background: var(--tone);
	color: var(--paper);
}

.t-grape {
	--tint: var(--grape-light);
	--tone: var(--grape);
}

.t-pink {
	--tint: var(--pink-light);
	--tone: #f57fb9;
}

.t-sun {
	--tint: var(--sun-light);
	--tone: var(--sun-deep);
}

.t-mint {
	--tint: var(--mint-light);
	--tone: var(--mint-deep);
}

.t-coral {
	--tint: var(--coral-light);
	--tone: var(--coral);
}

.t-sky {
	--tint: var(--sky-light);
	--tone: var(--sky-deep);
}

/* ---------- Made for kids ---------- */

.kids {
	background: var(--sun-light);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feature {
	padding: 34px 26px 30px;
	background: var(--paper);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	text-align: center;
	transition: transform 0.4s var(--bounce);
}

.feature:hover {
	transform: translateY(-6px);
}

.feature:hover .blob {
	border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%;
	transform: scale(1.08) rotate(6deg);
}

.feature .blob {
	width: 84px;
	height: 84px;
	margin: 0 auto 22px;
	background: var(--tone);
	color: var(--paper);
}

.feature .blob svg {
	width: 38px;
	height: 38px;
}

.feature h3 {
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.feature p {
	color: var(--navy-soft);
	font-size: 16px;
	font-weight: 300;
}

/* ---------- Parents ---------- */

.parents {
	background: var(--sky-light);
}

.parents-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: clamp(40px, 6vw, 88px);
}

.parents-art {
	position: relative;
	display: grid;
	place-items: center;
	padding: 60px 20px 20px;
}

.parents-art::before {
	content: '';
	position: absolute;
	inset: 8% 4% 2%;
	z-index: 0;
	background: var(--paper);
	border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
	box-shadow: var(--shadow);
}

.parents-art > img {
	position: relative;
	z-index: 1;
	width: min(300px, 80%);
	animation: bob 5s ease-in-out infinite;
}

.speech {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 6%;
	padding: 12px 20px;
	background: var(--sun);
	border-radius: 24px 24px 24px 6px;
	box-shadow: var(--shadow-sm);
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	transform: rotate(4deg);
}

.heart {
	position: absolute;
	z-index: 2;
	color: var(--pink);
	animation: float-up 4s ease-in-out infinite;
	animation-delay: var(--d, 0s);
}

.heart svg {
	width: var(--s, 30px);
	height: var(--s, 30px);
	fill: currentColor;
}

.checklist {
	display: grid;
	gap: 14px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 16px 18px;
	background: var(--paper);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
}

.checklist .tick {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--mint);
	color: var(--paper);
}

.checklist .tick svg {
	width: 18px;
	height: 18px;
	stroke-width: 3;
}

.checklist strong {
	display: block;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.checklist span {
	color: var(--navy-soft);
	font-size: 15.5px;
	font-weight: 300;
}

.checklist a {
	color: var(--grape-deep);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tips {
	margin-top: 28px;
	padding: 26px 26px 24px;
	background: var(--paper);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.tips h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 600;
}

.tips h3 svg {
	width: 24px;
	height: 24px;
	color: var(--sun-deep);
}

.tips ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: tip;
}

.tips li {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 15.5px;
	line-height: 1.4;
}

.tips li::before {
	counter-increment: tip;
	content: counter(tip);
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--sun-light);
	color: var(--navy);
	font-family: var(--font-display);
	font-weight: 700;
}

/* ---------- How to watch ---------- */

.steps-wrap {
	position: relative;
}

.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps-path {
	position: absolute;
	top: 16px;
	left: 12%;
	right: 12%;
	width: 76%;
	height: 60px;
	color: var(--navy-faint);
	pointer-events: none;
}

.step {
	position: relative;
	padding: 0 24px 30px;
	background: var(--paper);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	text-align: center;
	margin-top: 46px;
}

.step-num {
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	margin: -46px auto 18px;
	border: 8px solid var(--cream);
	border-radius: 50%;
	background: var(--tone);
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 38px;
	font-weight: 700;
	box-shadow: var(--shadow-sm);
}

.step h3 {
	margin-bottom: 8px;
	font-family: var(--font-display);
	font-size: 23px;
	font-weight: 600;
}

.step p {
	color: var(--navy-soft);
	font-size: 16px;
	font-weight: 300;
}

.devices {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(40px, 5vw, 56px);
}

.device {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px 10px 10px;
	background: var(--paper);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 500;
}

.device span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--tint);
	color: var(--tone);
}

.device svg {
	width: 20px;
	height: 20px;
}

.devices-note {
	margin-top: 18px;
	color: var(--navy-faint);
	font-size: 14px;
	text-align: center;
}

/* ---------- FAQ ---------- */

.faq {
	background: var(--paper);
}

.faq-list {
	display: grid;
	gap: 14px;
	max-width: 840px;
	margin: 0 auto;
}

.faq-item {
	position: relative;
	overflow: hidden;
	background: var(--cream);
	border-radius: var(--radius);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
	background: var(--paper);
	box-shadow: var(--shadow);
}

.faq-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 8px;
	background: var(--tone, var(--coral));
	opacity: 0;
	transition: opacity 0.25s ease;
}

.faq-item[open]::before {
	opacity: 1;
}

.faq-item:nth-child(6n + 1) {
	--tone: var(--coral);
}

.faq-item:nth-child(6n + 2) {
	--tone: var(--sun-deep);
}

.faq-item:nth-child(6n + 3) {
	--tone: var(--mint);
}

.faq-item:nth-child(6n + 4) {
	--tone: var(--sky-deep);
}

.faq-item:nth-child(6n + 5) {
	--tone: var(--grape);
}

.faq-item:nth-child(6n) {
	--tone: var(--pink);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 24px 22px 30px;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: clamp(18px, 1.7vw, 21px);
	font-weight: 600;
	line-height: 1.3;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-toggle {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--paper);
	box-shadow: var(--shadow-sm);
	color: var(--tone);
	transition: transform 0.4s var(--bounce), background-color 0.25s ease, color 0.25s ease;
}

.faq-toggle svg {
	width: 20px;
	height: 20px;
	stroke-width: 3;
}

.faq-item[open] .faq-toggle {
	background: var(--tone);
	color: var(--paper);
	transform: rotate(135deg);
}

.faq-answer {
	padding: 0 30px 24px;
	color: var(--navy-soft);
	font-weight: 300;
}

.faq-answer a {
	color: var(--grape-deep);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Contact ---------- */

.contact {
	padding-top: 0;
	padding-bottom: clamp(40px, 5vw, 64px);
	background: var(--paper);
}

.contact-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: clamp(32px, 4vw, 56px);
	overflow: hidden;
	padding: clamp(36px, 5.5vw, 68px);
	background: linear-gradient(135deg, #a996ff 0%, var(--grape-deep) 60%, #6a54d8 100%);
	border-radius: var(--radius-xl);
	box-shadow: 0 34px 60px -30px rgba(124, 102, 232, 0.9);
	color: var(--paper);
}

.contact-panel .tag {
	color: var(--navy);
}

.contact-panel .tag-icon {
	background: var(--grape-light);
	color: var(--grape-deep);
}

.contact-panel .title {
	font-size: clamp(36px, 4.6vw, 60px);
}

.contact-panel .lead {
	color: rgba(255, 255, 255, 0.88);
}

.contact-stars {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
		radial-gradient(circle at 46% 12%, rgba(255, 255, 255, 0.7) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 88% 30%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
		radial-gradient(circle at 70% 86%, rgba(255, 255, 255, 0.6) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px);
}

.contact-panel > :not(.contact-stars) {
	position: relative;
	z-index: 1;
}

.email-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.email-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 62px;
	padding: 12px 26px 12px 12px;
	background: var(--paper);
	border-radius: 999px;
	box-shadow: 0 16px 30px -16px rgba(35, 48, 94, 0.6);
	color: var(--navy);
	font-family: var(--font-display);
	font-size: clamp(16px, 1.6vw, 20px);
	font-weight: 600;
	transition: transform 0.3s var(--bounce);
}

.email-link span {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sun);
	color: var(--navy);
}

.email-link svg {
	width: 20px;
	height: 20px;
}

.email-link:hover {
	transform: translateY(-3px) scale(1.02);
}

.btn-copy {
	min-height: 62px;
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
	color: var(--paper);
}

.btn-copy.is-copied {
	background: var(--mint);
	box-shadow: none;
}

.contact-cards {
	display: grid;
	gap: 14px;
}

.contact-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: var(--paper);
	border-radius: 22px;
	box-shadow: 0 16px 30px -18px rgba(35, 48, 94, 0.6);
	color: var(--navy);
	transition: transform 0.3s var(--bounce);
}

.contact-card:hover {
	transform: translateX(4px) scale(1.02);
}

.contact-card .blob {
	width: 48px;
	height: 48px;
	background: var(--tone);
	color: var(--paper);
}

.contact-card .blob svg {
	width: 22px;
	height: 22px;
}

.contact-card strong {
	display: block;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
}

.contact-card small {
	display: block;
	color: var(--navy-soft);
	font-size: 14px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.contact-card > svg {
	width: 20px;
	height: 20px;
	color: var(--navy-faint);
}

/* ---------- Footer (bedtime sky) ---------- */

.footer-horizon {
	display: block;
	width: 100%;
	height: auto;
	min-width: 900px;
	margin-bottom: -2px;
}

.footer-horizon-wrap {
	overflow: hidden;
	background: var(--paper);
}

.legal-page .footer-horizon-wrap,
.lost-page .footer-horizon-wrap {
	background: var(--cream);
}

.site-footer {
	position: relative;
	overflow: hidden;
	padding: 30px 0 30px;
	background: var(--night);
	color: var(--paper);
}

.night-sky {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1.4px, transparent 2px),
		radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.6px);
	background-size:
		140px 120px,
		90px 80px;
	background-position:
		10px 20px,
		50px 60px;
	opacity: 0.6;
	-webkit-mask-image: linear-gradient(to bottom, #000 0, #000 60px, transparent 260px);
	mask-image: linear-gradient(to bottom, #000 0, #000 60px, transparent 260px);
}

.twinkle {
	position: absolute;
	width: var(--s, 18px);
	color: var(--sun);
	animation: twinkle 3s ease-in-out infinite;
	animation-delay: var(--d, 0s);
	pointer-events: none;
}

.twinkle svg {
	width: 100%;
	height: auto;
	fill: currentColor;
}

.moon {
	position: absolute;
	top: 28px;
	right: clamp(24px, 8vw, 120px);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	box-shadow: 16px -8px 0 0 var(--sun);
	transform: rotate(-10deg);
	pointer-events: none;
}

.site-footer .container {
	position: relative;
	z-index: 1;
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.2fr);
	gap: 40px 28px;
	padding-top: 30px;
}

.footer-brand .wordmark b {
	color: var(--paper);
}

.footer-brand p {
	max-width: 280px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 16px;
	font-weight: 300;
}

.footer-col h3 {
	margin-bottom: 14px;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	color: var(--sun);
}

.footer-col ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 15px;
	overflow-wrap: anywhere;
	transition: color 0.2s ease;
}

.footer-col a:hover {
	color: var(--sun);
}

.footer-col small {
	display: block;
	color: rgba(255, 255, 255, 0.5);
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 500;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.64);
	font-size: 14px;
}

.footer-bottom strong {
	color: var(--paper);
	font-weight: 500;
}

.footer-bottom .goodnight {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 500;
	color: var(--sun);
}

.footer-bottom .goodnight svg {
	width: 18px;
	height: 18px;
}

.footer-bottom a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--paper);
	font-family: var(--font-display);
	font-weight: 500;
}

.footer-bottom a:hover {
	color: var(--sun);
}

.footer-bottom a svg {
	width: 16px;
	height: 16px;
}

/* ---------- Legal pages ---------- */

.legal-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(44px, 6vw, 76px) 0 clamp(90px, 10vw, 130px);
	background: linear-gradient(180deg, #9ed9ff 0%, #d4efff 100%);
}

.legal-hero .container {
	position: relative;
	z-index: 1;
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 500;
	color: var(--navy-soft);
}

.crumbs li + li::before {
	content: '•';
	margin-right: 10px;
	color: var(--coral);
}

.crumbs a:hover {
	color: var(--grape-deep);
}

.legal-hero h1 {
	font-family: var(--font-display);
	font-size: clamp(44px, 6.6vw, 84px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.legal-hero .lead {
	margin-top: 16px;
	color: var(--navy);
	font-weight: 400;
}

.legal-switch {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 26px;
	padding: 6px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 999px;
}

.legal-switch a {
	padding: 10px 20px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	color: var(--navy-soft);
}

.legal-switch a.is-active {
	background: var(--paper);
	box-shadow: var(--shadow-sm);
	color: var(--coral-deep);
}

.legal-hero .cloud {
	--w: 130px;
}

.legal-body {
	padding: clamp(20px, 3vw, 40px) 0 clamp(64px, 8vw, 100px);
}

.legal-grid {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	align-items: start;
	gap: clamp(36px, 5vw, 72px);
}

.legal-aside {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: grid;
	gap: 20px;
}

.toc {
	background: var(--paper);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 22px 12px;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
}

.toc summary::-webkit-details-marker {
	display: none;
}

.toc summary svg {
	width: 20px;
	height: 20px;
	transition: transform 0.3s var(--bounce);
}

.toc[open] summary svg {
	transform: rotate(180deg);
}

.toc ol {
	max-height: calc(100vh - var(--header-h) - 340px);
	min-height: 160px;
	overflow: auto;
	margin: 0;
	padding: 0 12px 14px;
	list-style: none;
	counter-reset: toc;
}

.toc a {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	padding: 8px 10px;
	border-radius: 14px;
	color: var(--navy-soft);
	font-size: 12.5px;
	line-height: 1.4;
	transition: background-color 0.2s ease;
}

.toc a::before {
	counter-increment: toc;
	content: counter(toc);
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--sky-light);
	color: var(--navy);
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
}

.toc a:hover {
	background: var(--cream);
	color: var(--navy);
}

.toc a.is-active {
	background: var(--sun-light);
	color: var(--navy);
}

.toc a.is-active::before {
	background: var(--sun-deep);
	color: var(--paper);
}

.legal-help {
	padding: 24px 22px;
	background: var(--mint-light);
	border-radius: var(--radius);
	text-align: center;
}

.legal-help img {
	width: 64px;
	margin: 0 auto 10px;
}

.legal-help h2 {
	margin-bottom: 6px;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.legal-help p {
	margin-bottom: 16px;
	color: var(--navy-soft);
	font-size: 15px;
	line-height: 1.5;
}

.legal-help .btn {
	width: 100%;
	min-height: 50px;
	font-size: 16px;
}

.legal-help-email {
	display: block;
	margin-top: 12px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	color: var(--mint-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.legal-content {
	max-width: 780px;
	padding: clamp(26px, 4vw, 48px);
	background: var(--paper);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	color: var(--navy-soft);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.8;
	overflow-wrap: break-word;
}

.legal-content > p {
	margin-bottom: 20px;
}

.legal-content .effective {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
	padding: 8px 18px 8px 8px;
	background: var(--sun-light);
	border-radius: 999px;
	color: var(--navy);
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.legal-content .effective::before {
	content: '';
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--sun-deep);
	box-shadow: inset 0 0 0 7px var(--sun);
}

.legal-content h2 {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 50px 0 16px;
	color: var(--navy);
	font-family: var(--font-display);
	font-size: clamp(19px, 2vw, 23px);
	font-weight: 600;
	line-height: 1.3;
	scroll-margin-top: calc(var(--header-h) + 20px);
}

.legal-content h2::before {
	content: '';
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 0.36em;
	border-radius: 50%;
	background: var(--dot, var(--coral));
}

.legal-content h2:nth-of-type(5n + 2) {
	--dot: var(--sun-deep);
}

.legal-content h2:nth-of-type(5n + 3) {
	--dot: var(--mint);
}

.legal-content h2:nth-of-type(5n + 4) {
	--dot: var(--sky-deep);
}

.legal-content h2:nth-of-type(5n) {
	--dot: var(--grape);
}

.legal-content ul {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.legal-content li {
	position: relative;
	margin-bottom: 12px;
	padding-left: 30px;
}

.legal-content li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 0.7em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--mint);
}

.legal-content a {
	color: var(--grape-deep);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.read-progress {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 60;
	height: 6px;
	background: linear-gradient(90deg, var(--coral), var(--sun), var(--mint), var(--sky-deep), var(--grape));
	border-radius: 0 999px 999px 0;
	transform: scaleX(0);
	transform-origin: left center;
	pointer-events: none;
}

.to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(180deg, #ffe08a, var(--sun-deep));
	box-shadow: var(--shadow-sm);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(0.8);
	transition: opacity 0.25s ease, transform 0.35s var(--bounce), visibility 0.25s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top svg {
	width: 24px;
	height: 24px;
}

/* ---------- 404 ---------- */

.lost {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 100px);
	text-align: center;
}

.lost img {
	width: min(220px, 60%);
	margin: 0 auto 26px;
	animation: bob 5s ease-in-out infinite;
}

.lost h1 {
	font-family: var(--font-display);
	font-size: clamp(36px, 5.4vw, 64px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.05;
}

.lost .lead {
	margin: 16px auto 30px;
}

.lost .hero-actions {
	justify-content: center;
}

/* ---------- Motion ---------- */

@keyframes drift {
	from {
		transform: translateX(-30vw);
	}
	to {
		transform: translateX(110vw);
	}
}

@keyframes bob {
	50% {
		transform: translateY(-10px);
	}
}

@keyframes sun-bob {
	50% {
		transform: translateY(8px) rotate(6deg);
	}
}

@keyframes wiggle-l {
	50% {
		transform: rotate(-20deg);
	}
}

@keyframes wiggle-r {
	50% {
		transform: rotate(20deg);
	}
}

@keyframes float-up {
	0%,
	100% {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
	50% {
		transform: translateY(-14px) scale(1.1);
		opacity: 0.85;
	}
}

@keyframes twinkle {
	50% {
		transform: scale(0.6) rotate(20deg);
		opacity: 0.4;
	}
}

@keyframes rise {
	from {
		transform: translateY(26px);
	}
}

.hero-copy {
	animation: rise 0.9s var(--bounce) both;
}

.hero-tv {
	animation: rise 0.9s 0.1s var(--bounce) both;
}

.js [data-reveal] {
	opacity: 0;
	transform: translateY(30px) scale(0.98);
	transition: opacity 0.7s ease, transform 0.8s var(--bounce);
	transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1140px) {
	.site-nav > a:not(.btn) {
		padding: 10px 10px;
		font-size: 16px;
	}

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

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

	.footer-top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-brand,
	.footer-col--email {
		grid-column: 1 / -1;
	}

	.footer-col--email ul {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}

@media (max-width: 960px) {
	.menu-toggle {
		display: grid;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 14px var(--gutter) 24px;
		background: var(--paper);
		box-shadow: 0 24px 30px -20px rgba(35, 48, 94, 0.35);
		border-radius: 0 0 28px 28px;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav > a:not(.btn) {
		padding: 14px 14px;
		font-size: 20px;
	}

	.site-nav .btn {
		margin: 10px 0 0;
	}

	.hero-grid,
	.parents-grid,
	.contact-panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-tv {
		max-width: 620px;
		width: 100%;
		margin: 0 auto;
	}

	.parents-art {
		max-width: 460px;
		width: 100%;
		margin: 0 auto;
	}

	.steps {
		grid-template-columns: minmax(0, 1fr);
		max-width: 520px;
		margin: 0 auto;
	}

	.steps-path {
		display: none;
	}

	.steps-wrap .steps {
		max-width: 520px;
	}

	.legal-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.legal-aside {
		position: static;
	}

	.toc ol {
		max-height: 300px;
	}
}

@media (max-width: 640px) {
	:root {
		--header-h: 70px;
	}

	body {
		font-size: 16px;
	}

	.brand img {
		width: 44px;
		height: 44px;
	}

	.wordmark {
		font-size: 26px;
	}

	.hero h1 {
		font-size: clamp(42px, 12.4vw, 58px);
	}

	.hero-actions .btn {
		flex: 1 1 100%;
	}

	.hero-tv {
		padding: 40px 0 30px;
	}

	.tv-antenna {
		top: -34px;
		height: 42px;
		width: 5px;
	}

	.tv-antenna::after {
		width: 18px;
		height: 18px;
		margin-left: -9px;
		top: -10px;
	}

	.sticker {
		display: none;
	}

	.topic-grid,
	.feature-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tips ol {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact-panel {
		padding: 36px 22px 26px;
		border-radius: 32px;
	}

	.email-link,
	.btn-copy {
		width: 100%;
		justify-content: center;
	}

	.email-link {
		padding-right: 18px;
		font-size: 16px;
	}

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

	.footer-col--email ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.legal-content {
		font-size: 16px;
	}

	.to-top {
		right: 14px;
		bottom: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}
