/* ZOOMRIYA home page. Loaded after site.css, which keeps the shared parts
   (header, footer, buttons, form, FAQ, editor). Everything here is for
   index.html only. Motion is calm and stops for prefers-reduced-motion. */

:root {
	--glow-cyan: #22d3ee;
	--glow-blue: #4f6bff;
	--glow-violet: #a855f7;
	--hero-grad: linear-gradient(100deg, #38bdf8 0%, #6366f1 48%, #c084fc 100%);
	--glass: rgba(255, 255, 255, 0.72);
	--glass-line: rgba(74, 99, 232, 0.18);
	--card-hi: linear-gradient(160deg, #ffffff 0%, #f3f5ff 100%);
	--card-line: #dfe3f6;
	--spot: rgba(74, 99, 232, 0.1);
	--ok-bright: #16a34a;
	--ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);
}

[data-theme='dark'] {
	--glass: rgba(16, 20, 44, 0.6);
	--glass-line: rgba(123, 147, 255, 0.3);
	--card-hi: linear-gradient(160deg, rgba(45, 58, 150, 0.42) 0%, rgba(12, 15, 36, 0.72) 70%);
	--card-line: rgba(110, 130, 255, 0.28);
	--spot: rgba(123, 147, 255, 0.16);
	--ok-bright: #34d399;
}

.btn svg {
	flex: none;
}

.btn--lg {
	min-height: 54px;
	padding: 0 28px;
	font-size: 16.5px;
	gap: 10px;
}

/* ---------- Spotlight: a soft light that follows the pointer (site.js) ---------- */

[data-spot] {
	position: relative;
	isolation: isolate;
}

[data-spot]::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 45%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

[data-spot]:hover::after {
	opacity: 1;
}

/* Children of a [data-stagger] group arrive one after another. */
[data-stagger] > .reveal {
	transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal {
	transform: translateY(26px);
	filter: blur(4px);
	transition:
		opacity 0.8s var(--ease-out),
		transform 0.8s var(--ease-out),
		filter 0.8s var(--ease-out);
}

.reveal.is-visible,
.no-js .reveal {
	filter: none;
}

/* ---------- Hero ---------- */

.hx {
	position: relative;
	padding: 92px 0 clamp(40px, 6vw, 72px);
	background: var(--paper);
	overflow: hidden;
}

.hx__stage {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 30px;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(60% 50% at 50% 0%, rgba(99, 102, 241, 0.16), transparent 70%),
		linear-gradient(180deg, #eef1ff 0%, #f6f7fb 60%);
	border: 1px solid var(--line);
}

[data-theme='dark'] .hx__stage {
	background:
		radial-gradient(55% 45% at 50% 0%, rgba(79, 107, 255, 0.32), transparent 70%),
		radial-gradient(40% 40% at 85% 30%, rgba(168, 85, 247, 0.16), transparent 70%),
		linear-gradient(180deg, #0b1030 0%, #080a18 55%, #080a10 100%);
	border-color: rgba(123, 147, 255, 0.16);
}

.hx__copy {
	position: relative;
	z-index: 2;
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(36px, 5vw, 64px) 20px 0;
	text-align: center;
}

.hx__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	background: var(--glass);
	border: 1px solid var(--glass-line);
	backdrop-filter: blur(10px);
}

.hx__badge svg {
	color: var(--accent);
}

.hx h1 {
	margin-top: 22px;
	font-size: clamp(40px, 6.6vw, 84px);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1.02;
}

[data-theme='dark'] .hx h1 {
	color: #fff;
}

.hx__glow {
	position: relative;
	display: inline-block;
	padding-bottom: 0.12em;
	background: var(--hero-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-style: italic;
	padding-inline: 0.06em;
}

/* The swoosh under "back home", drawn in once the words are in. */
.hx__glow::after {
	content: '';
	position: absolute;
	left: 12%;
	right: 4%;
	bottom: 0;
	height: 5px;
	border-radius: 999px;
	background: var(--hero-grad);
	transform-origin: left;
	animation: hx-line 1.1s 1s var(--ease-out) both;
	box-shadow: 0 0 18px rgba(168, 85, 247, 0.55);
}

@keyframes hx-line {
	from {
		transform: scaleX(0);
	}
}

.hx__lead {
	max-width: 660px;
	margin: 22px auto 0;
	font-size: clamp(17px, 1.8vw, 20px);
	color: var(--muted);
}

[data-theme='dark'] .hx__lead {
	color: rgba(235, 240, 255, 0.86);
}

.hx__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 30px;
}

.hx .btn--primary {
	background: linear-gradient(100deg, #0ea5e9 0%, #4f6bff 50%, #a855f7 100%);
	background-size: 160% 100%;
	box-shadow:
		0 10px 30px -8px rgba(79, 107, 255, 0.65),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition:
		background-position 0.5s ease,
		transform 0.2s ease,
		box-shadow 0.3s ease;
}

.hx .btn--primary:hover {
	background-position: 100% 0;
	transform: translateY(-1px);
	box-shadow: 0 14px 40px -8px rgba(168, 85, 247, 0.7);
}

[data-theme='dark'] .hx .btn--ghost {
	color: #fff;
	background: rgba(10, 12, 30, 0.35);
	border-color: rgba(190, 200, 255, 0.4);
	backdrop-filter: blur(8px);
}

.hx__note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	font-size: 14px;
	color: var(--dim);
}

.hx__note svg {
	color: var(--glow-cyan);
}

[data-theme='dark'] .hx__note {
	color: rgba(220, 228, 255, 0.72);
}

/* The desk scene sits under the words, its top fading into the room's dark,
   and drifts closer as the page scrolls (--hx, set by site.js). */
.hx__scene {
	position: relative;
	z-index: 1;
	order: 2;
	margin-top: clamp(-70px, -4.5vw, -20px);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 86%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 86%, transparent 100%);
	pointer-events: none;
}

/* The desk and its live monitor move as one. */
.hx__art {
	position: relative;
	transform: scale(calc(1 + var(--hx, 0) * 0.07)) translateY(calc(var(--hx, 0) * -24px));
	transform-origin: 50% 70%;
	animation: hx-scene 1.8s 0.15s var(--ease-out) both;
	will-change: transform;
}

.hx__art > img {
	display: block;
	width: 100%;
	height: auto;
}

/* The monitor's screen in the desk picture (tools/make_scenes.py MONITOR,
   443,145 to 934,434 of 1376 x 768). ZOOMRIYA OS's desktop stays behind;
   each app slides in from the right, stays, slides out to the left, and the
   desktop shows alone before the next. Four apps, 3.6 s each (0.55 s in,
   2.1 s on screen, 0.45 s out, 0.5 s of desktop alone), then again. */
.hx__screen {
	position: absolute;
	left: 32.195%;
	top: 18.88%;
	width: 35.683%;
	height: 37.63%;
	overflow: hidden;
	border-radius: 0.4%;
	background: #0b0f1d;
}

.hx__screen img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 0 0;
}

.hx__desk {
	position: absolute;
	inset: 0;
}

/* The desktop is 16:10 and the monitor a little wider: fit it whole, so
   the top bar and the dock both show (a 6% stretch, unseen at this size). */
.hx__desk img {
	object-fit: fill;
}

.hx__win {
	position: absolute;
	left: 5%;
	top: 8.5%;
	width: 68%;
	height: 78%;
	overflow: hidden;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.7);
	transform: translateX(150%);
	animation: hx-win 14.4s cubic-bezier(0.22, 1, 0.36, 1) infinite both;
}

.hx__win:nth-child(2) { animation-delay: 2s; }
.hx__win:nth-child(3) { animation-delay: 5.6s; }
.hx__win:nth-child(4) { animation-delay: 9.2s; }
.hx__win:nth-child(5) { animation-delay: 12.8s; }

.hx__screen.is-paused .hx__win {
	animation-play-state: paused;
}

@keyframes hx-win {
	0% {
		transform: translateX(150%);
		animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	}
	3.8% {
		transform: translateX(0);
	}
	18.4% {
		transform: translateX(0);
		animation-timing-function: cubic-bezier(0.55, 0, 0.75, 0.2);
	}
	21.5% {
		transform: translateX(-115%);
	}
	100% {
		transform: translateX(-115%);
	}
}

@keyframes hx-scene {
	from {
		opacity: 0;
		transform: scale(1.12);
		filter: blur(10px);
	}
}

.hx-in {
	animation: hx-up 0.9s var(--ease-out) both;
}

.hx__badge.hx-in { animation-delay: 0.1s; }
.hx h1.hx-in { animation-delay: 0.2s; }
.hx__lead.hx-in { animation-delay: 0.38s; }
.hx__actions.hx-in { animation-delay: 0.5s; }
.hx__note.hx-in { animation-delay: 0.62s; }
.promise-bar.hx-in { animation-delay: 0.9s; }

@keyframes hx-up {
	from {
		opacity: 0;
		transform: translateY(22px);
		filter: blur(6px);
	}
}

/* The five promises: a glass bar over the bottom of the scene. */
.promise-bar {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	max-width: 1060px;
	margin: clamp(-80px, -6vw, -40px) auto 0;
	padding: 22px 10px;
	list-style: none;
	border-radius: 24px;
	background: var(--glass);
	border: 1px solid var(--glass-line);
	backdrop-filter: blur(18px) saturate(1.3);
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
	box-shadow:
		0 30px 60px -30px rgba(20, 30, 90, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.promise-bar li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 4px 14px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--text);
}

.promise-bar li + li {
	border-left: 1px solid var(--line-strong);
}

.promise-bar svg {
	color: var(--blue);
}

[data-theme='dark'] .promise-bar svg {
	color: #8fa3ff;
	filter: drop-shadow(0 0 8px rgba(99, 120, 255, 0.6));
}

.promise-bar li:nth-child(odd) svg {
	color: var(--glow-violet);
}

[data-theme='dark'] .promise-bar li:nth-child(odd) svg {
	color: #a78bfa;
}

[data-theme='dark'] .promise-bar li:nth-child(3) svg,
[data-theme='dark'] .promise-bar li:nth-child(4) svg {
	color: #67e8f9;
}

/* ---------- Section rhythm ---------- */

main > .section {
	padding-block: clamp(56px, 7.5vw, 96px);
}

[data-theme='dark'] #why,
[data-theme='dark'] #apps,
[data-theme='dark'] #myira,
[data-theme='dark'] #editor,
[data-theme='dark'] #how,
[data-theme='dark'] #box {
	background: var(--paper);
}

.section--flush {
	padding-top: 0;
}

#editor {
	padding-top: clamp(40px, 6vw, 72px);
}

.eyebrow--lined {
	display: inline-flex;
	align-items: center;
	gap: 16px;
}

.eyebrow--lined::before,
.eyebrow--lined::after {
	content: '';
	width: clamp(40px, 12vw, 160px);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent));
}

.eyebrow--lined::after {
	transform: scaleX(-1);
}

.section--why {
	background:
		radial-gradient(50% 40% at 50% 0%, rgba(79, 107, 255, 0.1), transparent 70%),
		var(--paper);
}

[data-theme='dark'] .section--why {
	background:
		radial-gradient(50% 32% at 50% 4%, rgba(79, 107, 255, 0.2), transparent 70%),
		var(--paper);
}

/* ---------- Why: four pillars and three figures ---------- */

.pillars {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.pillar {
	padding: 26px 22px 24px;
	border-radius: 22px;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
	box-shadow: var(--shadow-sm);
	transition:
		transform 0.35s var(--ease-out),
		border-color 0.35s ease,
		box-shadow 0.35s ease,
		opacity 0.8s var(--ease-out),
		filter 0.8s var(--ease-out);
}

.pillar:hover {
	transform: translateY(-4px);
	border-color: var(--accent-line);
	box-shadow: 0 24px 50px -24px rgba(79, 107, 255, 0.45);
}

.pillar__icon {
	display: inline-grid;
	place-items: center;
	color: var(--violet);
	margin-bottom: 16px;
}

[data-theme='dark'] .pillar__icon {
	color: #9b8cff;
	filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.65));
}

.pillar:nth-child(even) .pillar__icon {
	color: var(--blue);
}

[data-theme='dark'] .pillar:nth-child(even) .pillar__icon {
	color: #60a5fa;
}

.pillar h3 {
	font-size: 20px;
	font-weight: 750;
}

.pillar__lead {
	margin-top: 4px;
	font-weight: 600;
	color: var(--accent);
}

.ticks-sm {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--muted);
}

.ticks-sm li {
	position: relative;
	padding-left: 24px;
}

.ticks-sm li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 16px;
	height: 16px;
	background: var(--ok-bright);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.risk-label {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: clamp(40px, 6vw, 64px) 0 20px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--accent);
}

.risk-label::before,
.risk-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent-line));
}

.risk-label::after {
	transform: scaleX(-1);
}

.risks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.risk {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 24px;
	border-radius: 22px;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
}

.risk__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: var(--tint);
}

.risk__icon--blue { color: #3b82f6; }
.risk__icon--violet { color: #8b5cf6; }
.risk__icon--cyan { color: #06b6d4; }

[data-theme='dark'] .risk__icon {
	background: rgba(123, 147, 255, 0.1);
	filter: drop-shadow(0 0 12px currentColor);
}

[data-theme='dark'] .risk__icon--cyan { color: #22d3ee; }

.risk__number {
	display: block;
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.risk__label {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	color: var(--muted);
}

.risk__source {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.risk__source::after {
	content: ' ↗';
}

/* ---------- Apps: the showcase ---------- */

.showcase {
	display: grid;
	grid-template-columns: minmax(300px, 380px) 1fr;
	gap: clamp(20px, 3vw, 40px);
	align-items: center;
}

.showcase__list {
	display: grid;
	gap: 6px;
}

.showcase__tab {
	position: relative;
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 14px;
	align-items: start;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: 18px;
	background: none;
	color: var(--muted);
	font: inherit;
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	transition:
		background 0.3s ease,
		border-color 0.3s ease,
		color 0.3s ease;
}

.showcase__tab:hover {
	background: var(--tint);
}

.showcase__tab[aria-selected='true'] {
	background: var(--card-hi);
	border-color: var(--card-line);
	color: var(--text);
	box-shadow: var(--shadow-sm);
}

.showcase__tab .app-tile {
	width: 40px;
	height: 40px;
	transition: transform 0.3s var(--ease-out);
}

.showcase__tab[aria-selected='true'] .app-tile {
	transform: scale(1.06);
}

.showcase__text {
	display: grid;
	grid-template-rows: auto 0fr 0fr;
	transition: grid-template-rows 0.45s var(--ease-out);
}

.showcase__text strong {
	align-self: center;
	min-height: 40px;
	display: flex;
	align-items: center;
	font-size: 17px;
	font-weight: 700;
	color: inherit;
}

.showcase__text > span,
.showcase__text > em {
	overflow: hidden;
	min-height: 0;
}

.showcase__text > span {
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
}

.showcase__text > em {
	justify-self: start;
	margin-top: 10px;
	font-style: normal;
}

.showcase__tab[aria-selected='true'] .showcase__text {
	grid-template-rows: auto 1fr auto;
}

.showcase__tab:not([aria-selected='true']) .showcase__text > em {
	display: none;
}

/* The time until the showcase moves on, filling along the bottom. */
.showcase__bar {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--hero-grad);
	transform: scaleX(0);
	transform-origin: left;
}

.showcase.is-auto .showcase__tab[aria-selected='true'] .showcase__bar {
	animation: bar-fill 6.5s linear forwards;
}

.showcase.is-paused .showcase__bar {
	animation-play-state: paused !important;
}

@keyframes bar-fill {
	to {
		transform: scaleX(1);
	}
}

.showcase__screen {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line-strong);
	box-shadow:
		0 40px 90px -40px rgba(30, 40, 120, 0.5),
		0 0 0 6px var(--tint);
}

[data-theme='dark'] .showcase__screen {
	border-color: rgba(123, 147, 255, 0.25);
	box-shadow:
		0 50px 120px -40px rgba(79, 107, 255, 0.55),
		0 0 0 6px rgba(123, 147, 255, 0.06);
}

.showcase__chrome {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 14px;
	border-bottom: 1px solid var(--line);
	background: var(--mist);
}

.showcase__chrome span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--line-strong);
}

.showcase__chrome em {
	margin-inline: auto;
	padding-right: 50px;
	font-size: 12.5px;
	font-style: normal;
	color: var(--dim);
}

.showcase__panes {
	aspect-ratio: 1440 / 900;
	position: relative;
}

.showcase__pane {
	position: absolute;
	inset: 0;
	margin: 0;
	animation: pane-in 0.7s var(--ease-out) both;
}

.showcase__pane img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}

@keyframes pane-in {
	from {
		opacity: 0;
		transform: scale(1.025);
		filter: blur(6px);
	}
}

.showcase__pane--chat {
	display: grid;
	place-items: center;
	padding: clamp(16px, 4vw, 48px);
	background:
		radial-gradient(60% 60% at 80% 10%, rgba(228, 127, 152, 0.12), transparent 70%),
		var(--white);
}

.showcase__pane--chat[hidden] {
	display: none;
}

.chatmock {
	display: grid;
	gap: 12px;
	width: min(100%, 520px);
	font-size: clamp(13px, 1.3vw, 16px);
}

.chatmock .bubble {
	animation: hx-up 0.6s var(--ease-out) both;
}

.chatmock .bubble:nth-child(2) { animation-delay: 0.35s; }
.chatmock .bubble:nth-child(3) { animation-delay: 0.7s; }

.more-apps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: clamp(40px, 5vw, 64px);
}

.mini {
	display: flex;
	gap: 16px;
	padding: 22px;
	border-radius: 20px;
	background: var(--white);
	border: 1px solid var(--line);
}

[data-theme='dark'] .mini {
	background: #0c0f19;
}

.mini .icon-tile {
	flex: none;
}

.mini h3 {
	margin-top: 8px;
	font-size: 17px;
}

.mini .status + h3 {
	margin-top: 10px;
}

.mini > div > h3:first-child {
	margin-top: 8px;
}

.mini p {
	margin-top: 6px;
	font-size: 14.5px;
	color: var(--muted);
}

.mini__note {
	padding-top: 10px;
	border-top: 1px solid var(--line);
	font-size: 13px !important;
	color: var(--dim) !important;
}

/* ---------- Myira: a dark island in both themes ---------- */

.myira {
	--m-text: #f2f4ff;
	--m-muted: rgba(220, 226, 255, 0.78);
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	grid-template-areas:
		'copy window'
		'looks looks'
		'points points';
	gap: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
	padding: clamp(28px, 5vw, 60px);
	border-radius: 32px;
	overflow: hidden;
	isolation: isolate;
	color: var(--m-text);
	background:
		radial-gradient(70% 60% at 0% 100%, rgba(59, 130, 246, 0.35), transparent 60%),
		radial-gradient(60% 60% at 100% 70%, rgba(168, 85, 247, 0.38), transparent 60%),
		radial-gradient(50% 40% at 60% 0%, rgba(79, 107, 255, 0.25), transparent 70%),
		#070a1f;
	border: 1px solid rgba(123, 147, 255, 0.22);
	box-shadow: 0 50px 120px -60px rgba(79, 107, 255, 0.7);
}

/* Two slow ribbons of light across the panel. */
.myira::before,
.myira::after {
	content: '';
	position: absolute;
	z-index: -1;
	left: -20%;
	right: -20%;
	height: 260px;
	border-radius: 50%;
	border-top: 2px solid rgba(120, 140, 255, 0.55);
	filter: blur(1px);
	box-shadow: 0 -30px 80px -20px rgba(99, 102, 241, 0.45);
	animation: ribbon 14s ease-in-out infinite alternate;
	pointer-events: none;
}

.myira::before {
	top: 38%;
	transform: rotate(-6deg);
}

.myira::after {
	top: 46%;
	border-top-color: rgba(192, 132, 252, 0.5);
	transform: rotate(5deg);
	animation-duration: 18s;
}

@keyframes ribbon {
	to {
		translate: 4% -18px;
	}
}

.myira .eyebrow {
	color: #a5b4fc;
}

.myira__copy {
	grid-area: copy;
	align-self: center;
}

.myira__copy h2 {
	margin-top: 12px;
	font-size: clamp(32px, 4.4vw, 54px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.06;
}

.myira .gradient-text {
	background: linear-gradient(100deg, #60a5fa, #a78bfa 50%, #e879f9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.myira__copy p {
	margin-top: 18px;
	max-width: 480px;
	font-size: 17px;
	color: var(--m-muted);
}

.myira__window {
	grid-area: window;
	display: grid;
	grid-template-columns: 170px 1fr;
	min-height: 300px;
	border-radius: 22px;
	overflow: hidden;
	background: rgba(14, 18, 44, 0.66);
	border: 1px solid rgba(150, 170, 255, 0.28);
	backdrop-filter: blur(14px);
	box-shadow:
		0 30px 70px -30px rgba(0, 0, 0, 0.8),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
	transition: transform 0.8s var(--ease-out);
}

.myira:hover .myira__window {
	transform: none;
}

.myira__side {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 10px;
	border-right: 1px solid rgba(150, 170, 255, 0.14);
	font-size: 13.5px;
	color: var(--m-muted);
}

.myira__side > span {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
}

.myira__side .myira__brand {
	margin-bottom: 8px;
	font-weight: 700;
	color: var(--m-text);
}

.myira__side .is-on {
	color: #fff;
	background: linear-gradient(100deg, rgba(79, 107, 255, 0.85), rgba(124, 58, 237, 0.75));
	box-shadow: 0 6px 20px -6px rgba(79, 107, 255, 0.8);
}

.myira__chat {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	font-size: 14px;
}

.myira__ask {
	align-self: flex-end;
	max-width: 80%;
	padding: 10px 14px;
	border-radius: 16px 16px 4px 16px;
	background: rgba(99, 120, 255, 0.28);
	border: 1px solid rgba(150, 170, 255, 0.35);
}

.myira__reply {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.myira__face {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(167, 139, 250, 0.9);
	box-shadow: 0 0 18px rgba(139, 92, 246, 0.7);
	transition: opacity 0.25s ease;
}

.myira__face.is-swapping {
	opacity: 0;
}

.myira__bubble {
	position: relative;
	flex: 1;
	padding: 12px 14px;
	border-radius: 4px 16px 16px 16px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(150, 170, 255, 0.22);
}

.myira__typing {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	gap: 5px;
	opacity: 0;
	pointer-events: none;
}

.myira__typing i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #a5b4fc;
	animation: dot 1s ease-in-out infinite;
}

.myira__typing i:nth-child(2) { animation-delay: 0.15s; }
.myira__typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes dot {
	50% {
		transform: translateY(-4px);
		opacity: 0.4;
	}
}

.myira__thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 10px;
}

.myira__thumbs img {
	aspect-ratio: 4 / 3;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 10px;
}

/* The conversation: shown whole until site.js starts it playing on screen. */
.myira.is-playing .myira__ask {
	animation: hx-up 0.6s 0.2s var(--ease-out) both;
}

.myira.is-playing .myira__typing {
	animation: typing-show 1.9s 0.7s both;
}

.myira.is-playing .myira__answer,
.myira.is-playing .myira__thumbs img {
	animation: hx-up 0.6s var(--ease-out) both;
	animation-delay: 2.5s;
}

.myira.is-playing .myira__thumbs img:nth-child(2) { animation-delay: 2.7s; }
.myira.is-playing .myira__thumbs img:nth-child(3) { animation-delay: 2.9s; }

@keyframes typing-show {
	0%,
	100% {
		opacity: 0;
	}
	12%,
	85% {
		opacity: 1;
	}
}

/* Choosing a look. */
.looks {
	grid-area: looks;
	margin: 0;
	padding: clamp(18px, 3vw, 28px);
	border-radius: 24px;
	border: 1px solid rgba(150, 170, 255, 0.24);
	background: rgba(14, 18, 44, 0.55);
	backdrop-filter: blur(12px);
	min-width: 0;
}

.looks__head {
	float: left;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 6px 14px;
	width: 100%;
	padding: 0;
	text-align: center;
}

.looks__head strong {
	font-size: clamp(19px, 2.2vw, 24px);
	font-weight: 750;
}

.looks__head span {
	flex-basis: 100%;
	order: 3;
	font-size: 15px;
	color: var(--m-muted);
}

.looks__head .status {
	order: 2;
	color: #c4b5fd;
	background: rgba(139, 92, 246, 0.18);
}

.looks__row {
	clear: both;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(10px, 2vw, 20px);
	max-width: 820px;
	margin: 20px auto 0;
}

.look {
	position: relative;
	border-radius: 20px;
	padding: 3px;
	background: rgba(255, 255, 255, 0.06);
	cursor: pointer;
	transition:
		transform 0.3s var(--ease-out),
		background 0.3s ease,
		box-shadow 0.3s ease;
}

.look:hover {
	transform: translateY(-4px);
}

.look input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.look img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 17px;
}

.look:has(input:checked) {
	background: linear-gradient(140deg, #22d3ee, #6366f1 50%, #d946ef);
	box-shadow: 0 0 30px -4px rgba(139, 92, 246, 0.8);
}

.look:has(input:checked)::after {
	content: '';
	position: absolute;
	top: 12px;
	right: 12px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
		#4f46e5;
	box-shadow: 0 0 0 2px #fff;
}

.look:has(input:focus-visible) {
	outline: 3px solid #a5b4fc;
	outline-offset: 3px;
}

.myira__points {
	grid-area: points;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.myira__points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	line-height: 1.35;
	color: var(--m-text);
}

.myira__pi {
	flex: none;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	border: 1px solid currentColor;
	background: rgba(255, 255, 255, 0.04);
}

.myira__pi--blue { color: #60a5fa; }
.myira__pi--violet { color: #c084fc; }
.myira__pi--green { color: #34d399; }
.myira__pi--orange { color: #fb923c; }

.myira__pi svg {
	filter: drop-shadow(0 0 6px currentColor);
}

/* ---------- Everyday: three steps along a line ---------- */

.everyday__list li {
	transition-property: opacity, transform, filter;
}

.steps3 {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: clamp(48px, 6vw, 72px) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.steps3::before {
	content: '';
	position: absolute;
	top: 22px;
	left: 16.66%;
	right: 16.66%;
	height: 2px;
	background: linear-gradient(90deg, var(--blue), var(--violet));
	opacity: 0.4;
}

.steps3 li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.steps3__n {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border-radius: 50%;
	font-weight: 800;
	color: #fff;
	background: var(--btn);
	box-shadow:
		0 0 0 6px var(--ice),
		0 10px 24px -8px rgba(79, 107, 255, 0.8);
}

[data-theme='dark'] .steps3__n {
	box-shadow:
		0 0 0 6px #0b0d15,
		0 10px 24px -8px rgba(79, 107, 255, 0.8);
}

.steps3 strong {
	font-size: 18px;
}

.steps3 span:last-child {
	margin-top: 6px;
	max-width: 320px;
	font-size: 15px;
	color: var(--muted);
}

/* ---------- How it works: the family's town ---------- */

.routes-switch {
	display: flex;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto clamp(20px, 3vw, 32px);
	padding: 5px;
	gap: 4px;
	border-radius: 999px;
	background: var(--mist);
	border: 1px solid var(--line);
	overflow-x: auto;
	scrollbar-width: none;
}

.routes-switch button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--muted);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.3s ease,
		color 0.3s ease,
		box-shadow 0.3s ease;
}

.routes-switch button[aria-selected='true'] {
	color: #fff;
	background: var(--btn);
	box-shadow: 0 8px 22px -8px rgba(79, 107, 255, 0.8);
}

/* The map of the three ways in. Shared parts dim unless the chosen way
   uses them (data-in); each way's lines, locks and numbers live in their
   own group and fade in when chosen (data-active, set by site.js). */
.tw {
	--tw-zone: rgba(74, 99, 232, 0.04);
	--tw-zone-line: #d6dbef;
	--tw-dev: #e9ecf8;
	--tw-dev-line: #b9c0da;
	--tw-dim: #9aa3bf;
	--tw-green: #16a34a;
	--tw-blue: #2563eb;
	--tw-violet: #7c3aed;
	--tw-orange: #ea6c0e;
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
	gap: clamp(20px, 3vw, 44px);
	align-items: center;
	margin: 0;
}

[data-theme='dark'] .tw {
	--tw-zone: rgba(123, 147, 255, 0.04);
	--tw-zone-line: rgba(123, 147, 255, 0.18);
	--tw-dev: #1b2033;
	--tw-dev-line: #3b4466;
	--tw-dim: #5d6683;
	--tw-green: #22c55e;
	--tw-blue: #60a5fa;
	--tw-violet: #a78bfa;
	--tw-orange: #fb923c;
}

.tw__map {
	position: relative;
	margin-top: 22px;
}

.tw__svg {
	width: 100%;
	height: auto;
	overflow: visible;
}

.tw-zone {
	fill: var(--tw-zone);
	stroke: var(--tw-zone-line);
	stroke-width: 2;
	transition: fill 0.5s ease, stroke 0.5s ease;
}

.tw[data-active='home'] .tw-zone--home,
.tw[data-active='away'] .tw-zone--away,
.tw[data-active='guest'] .tw-zone--guest,
.tw[data-active='tunnel'] .tw-zone--away,
.tw[data-active='tunnel'] .tw-zone--guest {
	fill: rgba(74, 99, 232, 0.08);
	stroke: var(--accent);
	stroke-dasharray: none;
}

[data-in] {
	opacity: 0.3;
	transition: opacity 0.5s ease;
}

.tw[data-active='home'] [data-in~='home'],
.tw[data-active='away'] [data-in~='away'],
.tw[data-active='guest'] [data-in~='guest'],
.tw[data-active='tunnel'] [data-in~='tunnel'] {
	opacity: 1;
}

.tw-places use {
	color: var(--muted);
}

.tw-net circle,
.tw-net ellipse,
.tw-net path {
	fill: none;
	stroke: var(--tw-dim);
	stroke-width: 2;
}

.tw-net circle {
	fill: var(--tw-zone);
}

.tw-node rect {
	fill: url(#tw-node);
	filter: drop-shadow(0 10px 24px rgba(79, 107, 255, 0.45));
}

.tw-node use,
.tw-cf use {
	color: #fff;
}

/* With your own Cloudflare Tunnel, Cloudflare takes the relay's place. */
.tw-cf rect {
	fill: url(#tw-cf);
	filter: drop-shadow(0 10px 24px rgba(234, 108, 14, 0.45));
}

.tw-cf,
.tw-tag--cf {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s;
}

.tw[data-active='tunnel'] .tw-cf,
.tw[data-active='tunnel'] .tw-tag--cf {
	opacity: 1;
	visibility: visible;
}

.tw[data-active='tunnel'] .tw-node,
.tw[data-active='tunnel'] .tw-tag--relay:not(.tw-tag--cf) {
	opacity: 0;
	visibility: hidden;
}

.tw-tag--cf.is-on {
	border-color: var(--tw-orange);
}

.tw-dev__body {
	fill: var(--tw-dev);
	stroke: var(--tw-dev-line);
	stroke-width: 2;
}

.tw-dev__ant {
	stroke: var(--tw-dev-line);
	stroke-width: 4;
	stroke-linecap: round;
}

.tw-dev__led {
	fill: var(--tw-green);
}

.tw-dev__bar {
	fill: var(--tw-dev-line);
	opacity: 0.45;
}

.tw-dev__url {
	fill: var(--tw-dev-line);
	opacity: 0.7;
}

.tw-avatar {
	fill: var(--blue);
}

.tw-avatar__icon {
	color: #fff;
}

.tw-box__glow {
	fill: rgba(79, 107, 255, 0.35);
	filter: blur(10px);
}

.tw-box__edge {
	fill: rgba(255, 255, 255, 0.18);
}

.tw-box__led {
	fill: #60a5fa;
	filter: url(#tw-glow);
}

.tw-app {
	transition: opacity 0.5s ease, filter 0.5s ease;
}

.tw-app--photos { fill: #5b72ee; }
.tw-app--vault { fill: #8b6cf0; }
.tw-app--chat { fill: #e47f98; }
.tw-app--tracker { fill: #2fae73; }

/* A guest reaches Photos only; the other apps stay shut. */
.tw[data-active='guest'] .tw-app:not(.tw-app--photos) {
	opacity: 0.18;
}

.tw[data-active='guest'] .tw-app--photos {
	filter: drop-shadow(0 0 8px #a78bfa);
}

/* Each way's own lines */
.tw-route {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s;
}

.tw[data-active='home'] .tw-route--home,
.tw[data-active='away'] .tw-route--away,
.tw[data-active='guest'] .tw-route--guest,
.tw[data-active='tunnel'] .tw-route--tunnel {
	opacity: 1;
	visibility: visible;
}

.tw-line {
	fill: none;
	stroke-width: 5;
	stroke-linecap: round;
}

.tw-line--direct,
.tw-line--wifi {
	stroke: var(--tw-green);
	filter: url(#tw-glow);
}

.tw-line--wifi {
	stroke-width: 4;
	stroke-dasharray: 2 10;
	animation: tw-flow 0.9s linear infinite;
}

.tw-line--relay {
	stroke: var(--tw-blue);
	stroke-dasharray: 12 9;
	animation: tw-flow 1.1s linear infinite;
}

.tw-line--guest {
	stroke: var(--tw-violet);
	filter: url(#tw-glow);
}

/* The relay as a guest's last resort: there, but faint. */
.tw-line--last {
	opacity: 0.45;
}

.tw-own {
	margin-top: 18px;
	font-size: 13.5px;
	color: var(--dim);
}

.tw-line--tunnel {
	stroke: var(--tw-orange);
	filter: url(#tw-glow);
}

.tw-line--sealed {
	stroke-dasharray: 12 9;
	animation: tw-flow 1.1s linear infinite;
}

.tw-line--find {
	stroke: var(--tw-dim);
	stroke-width: 3;
	stroke-dasharray: 1 9;
}

.tw-line--off {
	stroke: var(--tw-dim);
	stroke-width: 3;
	stroke-dasharray: 8 10;
}

@keyframes tw-flow {
	to {
		stroke-dashoffset: -42;
	}
}

.tw-cut circle {
	fill: var(--paper);
	stroke: var(--tw-dim);
	stroke-width: 2;
}

.tw-cut path {
	stroke: var(--tw-dim);
	stroke-width: 3;
	stroke-linecap: round;
}

.tw-pkt--green { fill: var(--tw-green); filter: url(#tw-glow); }
.tw-pkt--blue { fill: var(--tw-blue); filter: url(#tw-glow); }
.tw-pkt--violet { fill: var(--tw-violet); filter: url(#tw-glow); }
.tw-pkt--orange { fill: var(--tw-orange); filter: url(#tw-glow); }

.tw-lock circle {
	fill: var(--paper);
	stroke-width: 2.5;
}

.tw-lock--green { color: var(--tw-green); }
.tw-lock--blue { color: var(--tw-blue); }
.tw-lock--violet { color: var(--tw-violet); }
.tw-lock--orange { color: var(--tw-orange); }

.tw-lock circle {
	stroke: currentColor;
}

.tw-badge circle {
	stroke: var(--paper);
	stroke-width: 3;
}

.tw-badge text {
	fill: #fff;
	font-size: 17px;
	font-weight: 800;
	text-anchor: middle;
}

.tw-badge--green circle { fill: var(--tw-green); }
.tw-badge--blue circle { fill: var(--tw-blue); }
.tw-badge--violet circle { fill: var(--tw-violet); }
.tw-badge--grey circle { fill: var(--tw-dim); }
.tw-badge--orange circle { fill: var(--tw-orange); }

/* Labels: HTML over the drawing, so they stay readable on phones. */
.tw-tag {
	position: absolute;
	translate: -50% -50%;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: clamp(10px, 1.05vw, 13.5px);
	font-weight: 650;
	line-height: 1.25;
	white-space: nowrap;
	text-align: center;
	color: var(--text);
	background: var(--glass);
	border: 1px solid var(--glass-line);
	backdrop-filter: blur(8px);
	opacity: 0.45;
	transition: opacity 0.4s ease, border-color 0.4s ease;
}

.tw-tag.is-on,
.tw-tag--key {
	opacity: 1;
	border-color: var(--accent-line);
}

.tw-tag--key {
	color: #fff;
	background: var(--btn);
	border-color: transparent;
}

.tw-tag--relay strong {
	display: block;
	font-weight: 750;
}

.tw-tag--relay {
	font-weight: 500;
	color: var(--muted);
	border-radius: 14px;
}

.tw-tag--relay.is-on {
	border-color: var(--tw-blue);
}

.tw-tag--home { left: 23%; top: 37%; }
.tw-tag--wifi { left: 15%; top: 53%; }
.tw-tag--box { left: 30.5%; top: 91.5%; }
.tw-tag--relay { left: 56%; top: 2.5%; }
.tw-tag--net { left: 59%; top: 47%; }
.tw-tag--away { left: 83.5%; top: 8.5%; }
.tw-tag--guest { left: 83.5%; top: 60.5%; }
.tw-tag--album { left: 83.5%; top: 91.5%; }

/* The steps beside the map */
.tw__panel {
	animation: hx-up 0.5s var(--ease-out) both;
}

.tw__panel h3 {
	font-size: 22px;
}

.tw-steps {
	display: grid;
	gap: 14px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.tw-steps li {
	display: grid;
	grid-template-columns: 30px 1fr;
	gap: 12px;
	align-items: start;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--muted);
}

.tw-n {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 800;
	color: #fff;
}

.tw-n--green { background: var(--tw-green); }
.tw-n--blue { background: var(--tw-blue); }
.tw-n--violet { background: var(--tw-violet); }
.tw-n--grey { background: var(--tw-dim); }
.tw-n--orange { background: var(--tw-orange); }

.tw-legend {
	display: grid;
	gap: 8px;
	margin: 24px 0 0;
	padding: 18px 0 0;
	list-style: none;
	border-top: 1px solid var(--line);
	font-size: 13.5px;
	color: var(--muted);
}

.tw-legend li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tw-key {
	flex: none;
	width: 30px;
	height: 4px;
	border-radius: 4px;
}

.tw-key--direct { background: var(--tw-green); }
.tw-key--relay { background: repeating-linear-gradient(90deg, var(--tw-blue) 0 8px, transparent 8px 13px); }
.tw-key--guest { background: var(--tw-violet); }
.tw-key--tunnel { background: repeating-linear-gradient(90deg, var(--tw-orange) 0 8px, transparent 8px 13px); }
.tw-key--find { background: repeating-linear-gradient(90deg, var(--tw-dim) 0 3px, transparent 3px 9px); }

/* Privacy you can check */
.check {
	margin-top: clamp(64px, 9vw, 112px);
	scroll-margin-top: 80px;
}

.check__head {
	max-width: 720px;
	margin: 0 auto clamp(32px, 5vw, 48px);
	text-align: center;
}

.check__head h2 {
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 800;
	letter-spacing: -0.045em;
}

.check__head p {
	margin-top: 14px;
	color: var(--muted);
	font-size: 18px;
}

.check__grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: clamp(20px, 3vw, 36px);
	align-items: start;
}

.seen {
	overflow-x: auto;
	border-radius: 20px;
	border: 1px solid var(--card-line);
	background: var(--card-hi);
}

.seen table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 15px;
}

.seen caption {
	padding: 18px 20px 6px;
	text-align: left;
	font-size: 18px;
	font-weight: 750;
}

.seen th,
.seen td {
	padding: 12px 20px;
	text-align: left;
	vertical-align: top;
	border-top: 1px solid var(--line);
	line-height: 1.5;
}

.seen thead th {
	border-top: 0;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
}

.seen tbody th {
	font-weight: 650;
	white-space: nowrap;
}

.seen td {
	color: var(--muted);
}

.seen--never td:last-child {
	color: var(--text);
}

.seen--never tbody td:last-child::before {
	content: '✕ ';
	color: var(--error);
	font-weight: 700;
}

[data-theme='dark'] .seen--never tbody td:last-child::before {
	color: #f87171;
}

.seen tr.is-us {
	background: var(--tint);
}

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

.proofs2 li {
	display: flex;
	gap: 16px;
	padding: 18px 20px;
	border-radius: 18px;
	background: var(--white);
	border: 1px solid var(--line);
	font-size: 15px;
	color: var(--muted);
}

[data-theme='dark'] .proofs2 li {
	background: #0c0f19;
}

.proofs2 .icon-tile {
	flex: none;
}

.proofs2 strong {
	display: block;
	margin-bottom: 2px;
	font-size: 17px;
	color: var(--text);
}

.check .privacy-caveat {
	margin-top: 18px;
	text-align: center;
}

.check .privacy-caveat + .privacy-caveat {
	margin-top: 6px;
}

/* ---------- ZOOMRIYA OS: the screen tips flat as it arrives ---------- */

[data-tilt] {
	--tilt: 0;
}

.os-stage {
	position: relative;
	perspective: 1600px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.os-stage::before {
	content: '';
	position: absolute;
	inset: 10% 8% -6%;
	z-index: 0;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(99, 102, 241, 0.35), transparent);
	filter: blur(40px);
	opacity: calc(1 - var(--tilt));
}

.os-stage .os-shot {
	position: relative;
	transform: rotateX(calc(var(--tilt) * 24deg)) scale(calc(1 - var(--tilt) * 0.08)) translateY(calc(var(--tilt) * 40px));
	transform-origin: 50% 100%;
	will-change: transform;
}

.everyday__shot[data-tilt] {
	transform: perspective(1400px) rotateY(calc(var(--tilt) * 14deg)) rotateX(calc(var(--tilt) * 6deg)) scale(calc(1 - var(--tilt) * 0.05));
	transform-origin: 0% 50%;
	will-change: transform;
}

.os-point {
	overflow: hidden;
	transition:
		transform 0.35s var(--ease-out),
		border-color 0.35s ease,
		opacity 0.8s var(--ease-out),
		filter 0.8s var(--ease-out);
}

.os-point:hover {
	transform: translateY(-4px);
	border-color: var(--accent-line);
}

/* ---------- Roadmap: one line across ---------- */

.track {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.track::before,
.track::after {
	content: '';
	position: absolute;
	top: 11px;
	left: 12px;
	right: 12px;
	height: 2px;
	background: var(--line-strong);
}

/* "Now" is a little way along: the filled part grows in once seen. */
.track::after {
	right: auto;
	width: 18%;
	background: var(--hero-grad);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 1.4s 0.3s var(--ease-out);
}

.track.is-visible::after,
.no-js .track::after {
	transform: none;
}

.track li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 40px;
	font-size: 15px;
	color: var(--muted);
}

.track__dot {
	position: absolute;
	top: 0;
	left: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--paper);
	border: 2px solid var(--line-strong);
}

.track li.is-now .track__dot {
	border-color: var(--accent);
	background: radial-gradient(circle, var(--accent) 0 5px, var(--paper) 6px);
	box-shadow: 0 0 0 6px var(--tint);
	animation: now 2.2s ease-in-out infinite;
}

@keyframes now {
	50% {
		box-shadow: 0 0 0 10px transparent;
	}
}

.track__when {
	font-size: 14px;
	font-weight: 700;
	color: var(--accent);
}

.track strong {
	font-size: 17px;
	color: var(--text);
}

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

@media (max-width: 1080px) {
	.pillars {
		grid-template-columns: repeat(2, 1fr);
	}

	.myira {
		grid-template-columns: 1fr;
		grid-template-areas: 'copy' 'window' 'looks' 'points';
	}

	.myira__window {
		transform: none;
	}

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

@media (max-width: 900px) {
	.promise-bar {
		grid-template-columns: repeat(3, 1fr);
		row-gap: 18px;
	}

	.promise-bar li:nth-child(4) {
		border-left: 0;
	}

	.showcase {
		grid-template-columns: 1fr;
	}

	/* Phones and tablets: the apps become a row of chips over the screen. */
	.showcase__list {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		scrollbar-width: none;
		padding: 2px 2px 6px;
		scroll-snap-type: x mandatory;
	}

	.showcase__tab {
		flex: none;
		grid-template-columns: 28px auto;
		align-items: center;
		gap: 8px;
		width: auto;
		padding: 8px 14px 8px 8px;
		border-radius: 999px;
		border-color: var(--line);
		scroll-snap-align: start;
	}

	.showcase__tab .app-tile {
		width: 28px;
		height: 28px;
	}

	.showcase__text,
	.showcase__tab[aria-selected='true'] .showcase__text {
		grid-template-rows: auto;
	}

	.showcase__text strong {
		min-height: 0;
		font-size: 15px;
		white-space: nowrap;
	}

	.showcase__text > span,
	.showcase__text > em {
		display: none;
	}

	.showcase__bar {
		left: 14px;
		right: 14px;
	}

	.more-apps,
	.risks {
		grid-template-columns: 1fr;
	}

	.check__grid,
	.tw {
		grid-template-columns: 1fr;
	}

	.track {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.track::before,
	.track::after {
		top: 12px;
		bottom: 12px;
		left: 11px;
		right: auto;
		width: 2px;
		height: auto;
	}

	.track::after {
		height: 20%;
		bottom: auto;
		transform-origin: top;
		transform: scaleY(0);
	}

	.track li {
		padding: 0 0 0 44px;
	}
}

@media (max-width: 700px) {
	.hx {
		padding-top: 76px;
	}

	.hx__stage {
		border-radius: 22px;
	}

	.hx__scene {
		margin-top: -10px;
	}

	.hx__note {
		display: block;
		max-width: 300px;
		margin-inline: auto;
	}

	.hx__note svg {
		display: inline;
		margin-right: 6px;
		vertical-align: -3px;
	}

	.promise-bar {
		grid-template-columns: repeat(2, 1fr);
		margin-top: 16px;
		padding: 16px 6px;
	}

	.promise-bar li {
		flex-direction: row;
		text-align: left;
		font-size: 14px;
		gap: 10px;
		padding: 4px 10px;
		border-left: 0 !important;
	}

	.promise-bar li svg {
		width: 22px;
		height: 22px;
		flex: none;
	}

	.promise-bar li:last-child {
		grid-column: 1 / -1;
		justify-content: center;
	}

	.pillars,
	.steps3 {
		grid-template-columns: 1fr;
	}

	.steps3::before {
		display: none;
	}

	.myira__window {
		grid-template-columns: 1fr;
	}

	.myira__side {
		display: none;
	}

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

	.myira__points {
		grid-template-columns: 1fr;
	}

	.tw__map {
		margin-inline: -6px;
	}

	.routes-switch {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
		border-radius: 22px;
	}

	.routes-switch button {
		flex: 1 1 0;
		justify-content: center;
		padding: 9px 6px;
		font-size: 13.5px;
		line-height: 1.2;
		text-align: center;
	}

	.routes-switch button svg {
		display: none;
	}

	.tw-tag {
		padding: 2px 6px;
		font-size: 9.5px;
	}

	.tw-tag--net,
	.tw-tag--wifi {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		filter: none;
	}

	.hx__art,
	.os-stage .os-shot,
	.everyday__shot[data-tilt] {
		transform: none;
	}

	.hx__win {
		animation: none;
	}

	.hx__win:nth-child(2) {
		transform: none;
	}

	.myira::before,
	.myira::after,
	.tw-line {
		animation: none;
	}

	.tw-pkt {
		display: none;
	}

	.track::after {
		transform: none;
		transition: none;
	}
}

/* ---------- Header: seven links ----------
   The menu folds into the button below 960 px (site.css). Above that, the
   less-used links (Myira, then FAQ; both also in the footer) step aside
   as room runs out, so the header always stays on one line. */

@media (min-width: 961px) and (max-width: 1279px) {
	.site-nav {
		gap: 20px;
	}

	.site-nav a[href$='#myira'] {
		display: none;
	}
}

@media (min-width: 961px) and (max-width: 1099px) {
	.site-nav a[href$='#faq'] {
		display: none;
	}
}

@media (min-width: 961px) and (max-width: 1599px) {
	:lang(fr) .site-nav {
		gap: 18px;
	}

	:lang(fr) .site-nav a[href$='#myira'] {
		display: none;
	}
}

@media (min-width: 961px) and (max-width: 1365px) {
	:lang(fr) .site-nav a[href$='#faq'] {
		display: none;
	}
}

@media (min-width: 961px) and (max-width: 1199px) {
	:lang(fr) .header-cta__long {
		display: none;
	}

	:lang(fr) .header-cta__short {
		display: inline;
	}
}

@media (min-width: 961px) and (max-width: 1099px) {
	:lang(fr) .site-nav a[href$='#apps'] {
		display: none;
	}
}

/* ---------- Inner pages: technical details and the privacy notice ----------
   The same width, header, footer and cards as the home page. */

.pg-hero {
	padding: 92px 0 0;
	background: var(--paper);
}

.pg-hero__stage {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
	border-radius: 30px;
	text-align: center;
	border: 1px solid var(--line);
	background:
		radial-gradient(60% 70% at 50% 0%, rgba(99, 102, 241, 0.16), transparent 70%),
		linear-gradient(180deg, #eef1ff 0%, #f6f7fb 100%);
}

[data-theme='dark'] .pg-hero__stage {
	border-color: rgba(123, 147, 255, 0.16);
	background:
		radial-gradient(55% 70% at 50% 0%, rgba(79, 107, 255, 0.3), transparent 70%),
		radial-gradient(40% 60% at 90% 100%, rgba(168, 85, 247, 0.16), transparent 70%),
		linear-gradient(180deg, #0b1030 0%, #080a18 100%);
}

.pg-hero h1 {
	margin-top: 16px;
	font-size: clamp(36px, 5.6vw, 68px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.05;
	animation: hx-up 0.9s 0.1s var(--ease-out) both;
}

.pg-hero__stage > p {
	max-width: 640px;
	margin: 18px auto 0;
	font-size: clamp(17px, 1.8vw, 20px);
	color: var(--muted);
	animation: hx-up 0.9s 0.25s var(--ease-out) both;
}

.pg-chips,
.pv-promises {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	animation: hx-up 0.9s 0.4s var(--ease-out) both;
}

.pg-chips a,
.pv-promises li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--text);
	background: var(--glass);
	border: 1px solid var(--glass-line);
	backdrop-filter: blur(10px);
	transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.pg-chips a:hover {
	transform: translateY(-2px);
	border-color: var(--accent);
}

.pg-chips svg,
.pv-promises svg {
	color: var(--accent);
}

.pg-more {
	margin-top: 22px;
	text-align: center;
	font-size: 15px;
	color: var(--dim);
}

.pg-h2 {
	margin-top: 12px;
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.1;
}

.pg-h3 {
	font-size: 22px;
}

.pg-sub {
	margin-top: 12px;
	color: var(--muted);
}

.split-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
	margin-top: clamp(40px, 5vw, 64px);
}

.split-2--center {
	align-items: center;
	margin-top: 0;
}

/* The software, as tiles */
.stack {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stack__tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 18px;
	border-radius: 18px;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
	transition: transform 0.35s var(--ease-out), border-color 0.35s ease, opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

.stack__tile:hover {
	transform: translateY(-4px);
	border-color: var(--accent-line);
}

.stack__tile strong {
	font-size: 18px;
	font-weight: 750;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stack__tile span {
	font-size: 14px;
	line-height: 1.45;
	color: var(--muted);
}

.ways3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.ways3 .mini h3 {
	margin-top: 0;
}

.ways3 .status + h3 {
	margin-top: 10px;
}

/* Four ways in */
.ways4 {
	display: grid;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.way {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: 16px;
	background: var(--white);
	border: 1px solid var(--line);
}

[data-theme='dark'] .way {
	background: #0c0f19;
}

.way__n {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-weight: 800;
	font-size: 14px;
	color: #fff;
	background: var(--btn);
}

.way--cf .way__n {
	background: linear-gradient(135deg, #fbad41, #ea6c0e);
}

.way--default {
	border-color: var(--accent-line);
	background: var(--tint);
}

.way strong {
	display: block;
	font-size: 16px;
}

.way em {
	display: block;
	margin-top: 2px;
	font-size: 14.5px;
	font-style: normal;
	color: var(--muted);
}

/* Encryption */
.locks {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
}

.lockcard {
	padding: 22px 20px;
	border-radius: 20px;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
	transition: transform 0.35s var(--ease-out), opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

.lockcard:hover {
	transform: translateY(-4px);
}

.lockcard svg {
	color: var(--violet);
}

[data-theme='dark'] .lockcard svg {
	color: #a78bfa;
	filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.lockcard h3 {
	margin-top: 14px;
	font-size: 17px;
}

.lockcard p {
	margin-top: 6px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--muted);
}

/* Open code */
.repos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.repo {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	border-radius: 22px;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
	color: var(--muted);
	font-size: 15px;
	transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

.repo:hover {
	transform: translateY(-4px);
	border-color: var(--accent-line);
	box-shadow: 0 24px 50px -24px rgba(79, 107, 255, 0.45);
}

.repo__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--accent);
}

.repo__top em {
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	background: var(--tint);
}

.repo strong {
	margin-top: 6px;
	font-size: 20px;
	color: var(--text);
}

.repo__go {
	margin-top: auto;
	padding-top: 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--accent);
}

.repo__go::after {
	content: ' →';
}

/* What leaves home: a drawing of Box Desktop's network page */
.pg-tip {
	display: flex;
	gap: 12px;
	margin-top: 22px;
	padding: 14px 16px;
	border-radius: 14px;
	font-size: 15px;
	color: var(--muted);
	background: var(--tint);
}

.pg-tip svg {
	flex: none;
	margin-top: 3px;
	color: var(--accent);
}

.netpanel {
	border-radius: 22px;
	overflow: hidden;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
	box-shadow: 0 40px 90px -40px rgba(30, 40, 120, 0.5);
}

.netpanel__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	background: var(--mist);
}

.netpanel__bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--line-strong);
}

.netpanel__bar em {
	margin-left: 10px;
	font-size: 13.5px;
	font-weight: 700;
	font-style: normal;
	color: var(--text);
}

.netpanel__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
}

.netpanel__row:last-child {
	border-bottom: 0;
}

.netpanel__row strong {
	display: block;
	font-size: 15.5px;
}

.netpanel__row small {
	font-size: 13.5px;
	color: var(--muted);
}

.netpanel__row--strict {
	background: var(--tint);
}

.toggle {
	flex: none;
	position: relative;
	width: 46px;
	height: 26px;
	border-radius: 999px;
	background: var(--line-strong);
	transition: background 0.3s ease;
}

.toggle::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	transition: transform 0.3s var(--ease-out);
}

.toggle.is-on {
	background: var(--ok-bright);
}

.toggle.is-on::after {
	transform: translateX(20px);
}

/* The switches flick into place as the panel arrives. */
.netpanel.is-visible .toggle.is-on {
	animation: flick-bg 0.6s 0.5s both;
}

.netpanel.is-visible .toggle.is-on::after {
	animation: flick 0.6s 0.5s var(--ease-out) both;
}

@keyframes flick {
	from {
		transform: none;
	}
}

@keyframes flick-bg {
	from {
		background: var(--line-strong);
	}
}

/* Honest limits */
.limits {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.limits li {
	position: relative;
	padding: 18px 20px 18px 50px;
	border-radius: 18px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
	background: var(--white);
	border: 1px solid var(--line);
}

[data-theme='dark'] .limits li {
	background: #0c0f19;
}

.limits li::before {
	content: '!';
	position: absolute;
	left: 16px;
	top: 18px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, #f59e0b, #ea6c0e);
}

.limits strong {
	display: block;
	margin-bottom: 2px;
	color: var(--text);
}

/* Privacy notice */
.pv-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.pv-card {
	padding: clamp(22px, 3vw, 32px);
	border-radius: 22px;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
	color: var(--muted);
	font-size: 16px;
}

.pv-card--wide {
	grid-column: 1 / -1;
}

.pv-card h2 {
	margin: 14px 0 10px;
	font-size: 22px;
	color: var(--text);
}

.pv-card p + p,
.pv-card ul + p {
	margin-top: 12px;
}

.pv-card ul {
	margin: 10px 0 0;
	padding-left: 20px;
}

.pv-card li + li {
	margin-top: 6px;
}

.pv-card a {
	color: var(--accent);
	text-decoration: underline;
}

@media (max-width: 1080px) {
	.stack {
		grid-template-columns: repeat(3, 1fr);
	}

	.locks {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.ways3,
	.repos,
	.split-2,
	.pv-grid {
		grid-template-columns: 1fr;
	}

	.stack,
	.locks {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.stack,
	.locks {
		grid-template-columns: 1fr;
	}

	.pg-hero {
		padding-top: 76px;
	}
}

/* Spec-sheet headings on the technical page */
.pg-title {
	margin-bottom: clamp(20px, 3vw, 32px);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.04em;
	text-align: center;
}

.pg-title--left {
	margin-bottom: 0;
	text-align: left;
}

.pg-note {
	margin-top: 14px;
	text-align: center;
	font-size: 14.5px;
	color: var(--dim);
}

.pg-hero + .section {
	padding-top: clamp(48px, 6vw, 72px);
}

.seen table caption {
	caption-side: top;
}

/* Images on the technical page */
.pg-hero__stage--split {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(20px, 4vw, 48px);
	align-items: center;
	text-align: left;
}

.pg-hero__stage--split .pg-hero__text > p {
	margin: 18px 0 0;
	max-width: 520px;
	font-size: clamp(17px, 1.8vw, 20px);
	color: var(--muted);
	animation: hx-up 0.9s 0.25s var(--ease-out) both;
}

.pg-hero__stage--split .pg-chips {
	justify-content: flex-start;
}

.pg-hero__box {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 30px 50px rgba(30, 40, 120, 0.35));
	animation: hx-scene 1.6s 0.2s var(--ease-out) both;
}

[data-theme='dark'] .pg-hero__box {
	filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.45));
}

.pg-shot {
	margin: 0 auto clamp(24px, 3vw, 36px);
	max-width: 1000px;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--line-strong);
	box-shadow: 0 40px 90px -40px rgba(30, 40, 120, 0.5);
}

.pg-shot img {
	width: 100%;
	height: auto;
}

.pg-shot[data-tilt] {
	transform: perspective(1400px) rotateX(calc(var(--tilt) * 14deg)) scale(calc(1 - var(--tilt) * 0.05));
	transform-origin: 50% 100%;
}

.pg-shot--small {
	margin: 0;
}

.split-2--wide {
	margin-top: 0;
	align-items: center;
}

@media (max-width: 900px) {
	.pg-hero__stage--split {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.pg-hero__stage--split .pg-hero__text > p {
		margin-inline: auto;
	}

	.pg-hero__stage--split .pg-chips {
		justify-content: center;
	}

	.pg-hero__box {
		max-width: 420px;
		margin: 0 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pg-shot[data-tilt] {
		transform: none;
	}
}

/* Long words (French, product names) wrap instead of pushing past a phone's edge. */
.mini > div,
.proofs2 li > span,
.way > span,
.pv-card,
.limits li {
	min-width: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 480px) {
	.tw-tag {
		white-space: normal;
		max-width: 34%;
	}

	.tw-tag--album,
	.tw-tag--guest,
	.tw-tag--away {
		left: 82%;
	}
}

/* Grid cards may shrink below their longest word on the narrowest phones. */
.more-apps > *,
.risks > *,
.pillars > *,
.ways3 > *,
.repos > *,
.stack > *,
.locks > *,
.pv-grid > *,
.check__grid > *,
.split-2 > * {
	min-width: 0;
}

/* The technical page's photo hero: a dark panel in both themes. */
.pg-hero__stage--photo {
	position: relative;
	isolation: isolate;
	min-height: clamp(420px, 44vw, 560px);
	display: flex;
	align-items: center;
	text-align: left;
	color: #fff;
	background: #070a1f;
	border-color: rgba(123, 147, 255, 0.22);
}

.pg-hero__photo {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 40%;
	animation: drift 24s ease-in-out infinite alternate;
}

/* Darker on the left, where the words sit; a violet wash from below. */
.pg-hero__stage--photo::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 8, 24, 0.94) 0%, rgba(6, 8, 24, 0.78) 38%, rgba(6, 8, 24, 0.15) 75%, rgba(6, 8, 24, 0.05) 100%),
		radial-gradient(60% 80% at 20% 110%, rgba(124, 58, 237, 0.4), transparent 70%);
}

@keyframes drift {
	from {
		transform: scale(1.04);
	}
	to {
		transform: scale(1.12) translate(-1.5%, -1%);
	}
}

.pg-hero__stage--photo .pg-hero__text {
	max-width: 620px;
}

.pg-hero__stage--photo .eyebrow {
	color: #a5b4fc;
}

.pg-hero__stage--photo h1 {
	color: #fff;
}

.pg-hero__stage--photo .gradient-text {
	background: linear-gradient(100deg, #60a5fa, #a78bfa 50%, #e879f9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.pg-hero__stage--photo .pg-hero__text > p {
	margin: 18px 0 0;
	max-width: 520px;
	font-size: clamp(17px, 1.8vw, 20px);
	color: rgba(230, 236, 255, 0.85);
	animation: hx-up 0.9s 0.25s var(--ease-out) both;
}

.pg-hero__stage--photo .pg-chips {
	justify-content: flex-start;
}

.pg-hero__stage--photo .pg-chips a {
	color: #fff;
	background: rgba(14, 18, 44, 0.55);
	border-color: rgba(150, 170, 255, 0.3);
}

.pg-hero__stage--photo .pg-chips svg {
	color: #a5b4fc;
}

@media (max-width: 700px) {
	.pg-hero__stage--photo {
		align-items: flex-end;
		min-height: 520px;
	}

	.pg-hero__photo {
		object-position: 75% 30%;
	}

	.pg-hero__stage--photo::before {
		background: linear-gradient(180deg, rgba(6, 8, 24, 0.2) 0%, rgba(6, 8, 24, 0.75) 45%, rgba(6, 8, 24, 0.95) 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pg-hero__photo {
		animation: none;
	}
}

/* The photo hero runs edge to edge, from the very top, behind the header:
   no rounded corners and no page background around it. The words still
   line up with the page's content column. */
.pg-hero:has(.pg-hero__stage--photo) {
	padding-top: 0;
	background: none;
}

.pg-hero:has(.pg-hero__stage--photo) > .container {
	max-width: none;
	padding-inline: 0;
}

.pg-hero__stage--photo {
	border: 0;
	border-radius: 0;
	min-height: clamp(520px, 50vw, 680px);
	padding-top: calc(76px + clamp(32px, 5vw, 64px));
	padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}

@media (max-width: 700px) {
	.pg-hero__stage--photo {
		min-height: 600px;
	}
}

/* ---------- Full-bleed hero and Myira (landing page) ----------
   Both run edge to edge with square corners; their content keeps the
   page's column. The promise bar stays a rounded glass card. */

.hx {
	padding-top: 0;
}

.hx__stage {
	border: 0;
	border-radius: 0;
}

.hx__copy {
	padding-top: calc(76px + clamp(28px, 5vw, 64px));
}

/* The desk fades out at its sides too, so wide screens see one room. */
.hx__scene {
	max-width: 1500px;
	width: 100%;
	margin-inline: auto;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
	mask-composite: intersect;
}

.myira {
	border-radius: 0;
	border-inline: 0;
	padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
	padding-block: clamp(48px, 7vw, 96px);
	box-shadow: none;
}

@media (max-width: 700px) {
	.hx__stage {
		border-radius: 0;
	}

	.hx__scene {
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 86%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 86%, transparent 100%);
	}
}

/* Myira: no border lines; the dark panel fades in and out at its top and
   bottom so it blends into the sections around it. The fade is shorter
   than the padding, so the content itself never fades. */
.myira {
	--fade: clamp(40px, 6vw, 90px);
	border: 0;
	padding-block: calc(var(--fade) + clamp(24px, 4vw, 40px));
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}

/* Footer: the brand column says what ZOOMRIYA is, with its key promises. */
.footer-grid > div:first-child p.footer-lead {
	margin-top: 16px;
	font-size: 16px;
	font-weight: 650;
	color: #e2e7f5;
}

.footer-grid > div:first-child p.footer-about {
	max-width: 360px;
	margin-top: 8px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #a9b1c3;
}

.footer-badges {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px !important;
	margin-top: 18px !important;
}

.footer-badges li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	color: #c9d0e4;
	background: rgba(123, 147, 255, 0.1);
	border: 1px solid rgba(123, 147, 255, 0.22);
}

.footer-badges svg {
	color: #8fa3ff;
}

/* Footer promises as icons only, in one row; their words are in the
   tooltip and for screen readers. */
.footer-badges {
	flex-wrap: nowrap;
	gap: 10px !important;
}

.footer-badges li {
	position: relative;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 12px;
}

/* ---------- Privacy you can check: four tries, then who sees what ---------- */
.tries {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.try {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 24px 22px;
	border-radius: 22px;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
	transition: transform 0.35s var(--ease-out), border-color 0.35s ease, opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

.try:hover {
	transform: translateY(-4px);
	border-color: var(--accent-line);
}

.try__n {
	position: absolute;
	top: 18px;
	right: 20px;
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--accent);
	opacity: 0.18;
}

.try__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 6px;
	border-radius: 16px;
	color: #fff;
	background: var(--btn);
	box-shadow: 0 10px 24px -10px rgba(79, 107, 255, 0.8);
}

.try strong {
	font-size: 17.5px;
	color: var(--text);
}

.try__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: auto;
	padding-top: 4px;
}

.try .status {
	align-self: flex-start;
	margin-top: auto;
	font-style: normal;
}

.sees-title {
	margin: clamp(40px, 5vw, 56px) 0 18px;
	text-align: center;
	font-size: clamp(22px, 2.4vw, 28px);
}

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

.sees li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 18px 20px;
	border-radius: 18px;
	background: var(--white);
	border: 1px solid var(--line);
	font-size: 14.5px;
	line-height: 1.45;
}

[data-theme='dark'] .sees li {
	background: #0c0f19;
}

.sees strong {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15.5px;
	color: var(--text);
}

.sees strong svg {
	flex: none;
	color: var(--accent);
}

.sees__yes,
.sees__no {
	position: relative;
	padding-left: 26px;
	color: var(--muted);
}

.sees__yes::before,
.sees__no::before {
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 800;
	color: #fff;
}

.sees__yes::before {
	content: '✓';
	background: var(--ok-bright);
}

.sees__no::before {
	content: '✕';
	background: #ef4444;
}

.sees__yes {
	font-weight: 500;
}

.sees__no {
	color: var(--text);
	font-weight: 600;
}

.check .privacy-caveat {
	margin-top: 28px;
}

@media (max-width: 1080px) {
	.tries,
	.sees {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.tries,
	.sees {
		grid-template-columns: 1fr;
	}
}

/* The hero's intro: one sentence per line. */
.hx__lead {
	max-width: 860px;
}

.hx__lead span {
	display: block;
}

@media (min-width: 900px) {
	.hx__copy {
		max-width: 1040px;
	}

	.hx__lead {
		max-width: 1000px;
		font-size: clamp(17px, 1.45vw, 19.5px);
	}

	.hx__lead span {
		white-space: nowrap;
	}
}

@media (min-width: 900px) and (max-width: 1240px) {
	.hx__lead span {
		white-space: normal;
	}
}

/* A quiet link onward, with an arrow that nudges on hover. */
.more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 650;
	color: var(--accent);
	background: var(--tint);
	border: 1px solid var(--accent-line);
	transition: background 0.25s ease, transform 0.25s var(--ease-out);
}

.more-link::after {
	content: '→';
	transition: transform 0.25s var(--ease-out);
}

.more-link:hover {
	transform: translateY(-1px);
}

.more-link:hover::after {
	transform: translateX(4px);
}

/* ---------- Tighter rhythm between sections ---------- */
main > .section {
	padding-block: clamp(40px, 4.5vw, 64px);
}

/* Myira carries its own space in its fade; the sections next to it don't add more. */
#myira {
	padding-block: 0;
}

.myira {
	padding-block: calc(var(--fade) + clamp(12px, 2vw, 24px));
}

#editor {
	padding-top: clamp(16px, 2vw, 28px);
}

.check {
	margin-top: clamp(48px, 6vw, 80px);
}

/* ---------- A shorter footer on phones ----------
   Apps and Learn side by side, ZOOMRIYA's links in two columns below,
   and tighter spacing. Nothing is hidden. */
@media (max-width: 680px) {
	.site-footer {
		padding-top: 40px;
		padding-bottom: 24px;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 26px 16px;
	}

	.footer-grid > div:first-child,
	.footer-grid > div:last-child {
		grid-column: 1 / -1;
	}

	.footer-grid > div:last-child ul {
		grid-template-columns: 1fr 1fr;
		column-gap: 16px;
	}

	.footer-grid h4 {
		margin-bottom: 10px;
	}

	.footer-grid ul {
		gap: 7px;
		font-size: 14.5px;
	}

	.footer-grid > div:first-child p.footer-lead {
		margin-top: 12px;
	}

	.footer-badges {
		margin-top: 14px !important;
	}

	.footer-bottom {
		margin-top: 28px;
		padding-top: 16px;
		gap: 6px;
		font-size: 13px;
	}
}

/* ---------- Back to top ---------- */
.to-top {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 40;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #fff;
	background: var(--btn);
	box-shadow: 0 12px 30px -10px rgba(79, 107, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(0.9);
	transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s, box-shadow 0.25s ease;
}

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

.to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px -10px rgba(168, 85, 247, 0.8);
}

.to-top:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

@media (min-width: 900px) {
	.to-top {
		right: 28px;
		bottom: 28px;
		width: 52px;
		height: 52px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.to-top {
		transition: none;
	}
}

/* ---------- Cloud vs. home: two journeys for the same photo ---------- */
.vs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: clamp(32px, 5vw, 56px);
}

.vs > * {
	min-width: 0;
}

.vs__card {
	position: relative;
	overflow: hidden;
	padding: clamp(22px, 3vw, 32px);
	border-radius: 24px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--muted);
	font-size: 15.5px;
}

[data-theme='dark'] .vs__card {
	background: #0c0f19;
}

.vs__card--home {
	border-color: var(--accent-line);
	background: var(--card-hi);
	box-shadow: 0 30px 70px -40px rgba(79, 107, 255, 0.7);
}

[data-theme='dark'] .vs__card--home {
	background: var(--card-hi);
}

.vs__label {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dim);
}

.vs__card--home .vs__label {
	color: var(--accent);
}

.vs__card h3 {
	margin-top: 8px;
	font-size: clamp(20px, 2.2vw, 26px);
	letter-spacing: -0.03em;
	color: var(--text);
}

.vs__flow {
	display: flex;
	align-items: center;
	margin: 26px 0 14px;
}

.vs__node {
	flex: none;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	color: var(--muted);
	background: var(--mist);
	border: 1px solid var(--line-strong);
}

.vs__card--cloud .vs__node--end {
	width: 64px;
	height: 64px;
	color: #94a3b8;
}

.vs__card--home .vs__node {
	color: #fff;
	background: var(--btn);
	border-color: transparent;
}

.vs__card--home .vs__node--end {
	width: 64px;
	height: 64px;
	box-shadow: 0 0 0 6px var(--tint), 0 12px 30px -8px rgba(79, 107, 255, 0.8);
	animation: home-glow 3s ease-in-out infinite;
}

@keyframes home-glow {
	50% {
		box-shadow: 0 0 0 10px transparent, 0 12px 30px -8px rgba(168, 85, 247, 0.8);
	}
}

/* The wire, with two dots travelling along it */
.vs__wire {
	position: relative;
	flex: 1;
	height: 2px;
	margin: 0 6px;
	background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px);
}

.vs__card--home .vs__wire {
	background: linear-gradient(90deg, var(--blue), var(--violet));
	opacity: 1;
}

.vs__wire i {
	position: absolute;
	top: 50%;
	left: 0;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-radius: 50%;
	background: #94a3b8;
	animation: travel 2.6s linear infinite;
}

.vs__wire i + i {
	animation-delay: 1.3s;
}

.vs__card--home .vs__wire i {
	background: #fff;
	box-shadow: 0 0 10px var(--glow-blue);
}

@keyframes travel {
	from {
		left: 0;
		opacity: 0;
	}
	15%,
	85% {
		opacity: 1;
	}
	to {
		left: calc(100% - 8px);
		opacity: 0;
	}
}

.vs__path {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--dim);
}

.vs__card--home .vs__path {
	color: var(--accent);
}

.vs__path + p {
	margin-top: 10px;
	line-height: 1.55;
}

/* ---------- What ZOOMRIYA doesn't do ---------- */
.nots {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nots li {
	position: relative;
	min-width: 0;
	padding: 20px 22px 20px 62px;
	border-radius: 20px;
	background: var(--white);
	border: 1px solid var(--line);
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
}

[data-theme='dark'] .nots li {
	background: #0c0f19;
}

.nots li::before {
	content: '✕';
	position: absolute;
	left: 20px;
	top: 20px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	background: #ef4444;
	box-shadow: 0 6px 16px -6px rgba(239, 68, 68, 0.8);
}

.nots strong {
	display: block;
	margin-bottom: 4px;
	font-size: 16.5px;
	color: var(--text);
}

@media (max-width: 760px) {
	.vs,
	.nots {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vs__wire i,
	.vs__card--home .vs__node--end {
		animation: none;
	}

	.vs__wire i {
		display: none;
	}
}

/* A section intro set as separate lines, one idea each. */
.section-head:has(.lines3) {
	max-width: 960px;
}

.lines3 span {
	display: block;
}

@media (min-width: 1100px) {
	.lines3 span {
		white-space: nowrap;
	}
}

.lines3__hl {
	font-weight: 750;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Each card's subtitle stays on one line when the four cards share a row:
   in English it scales with the card's width; longer French may wrap. */
.pillar {
	container-type: inline-size;
}

@media (min-width: 1081px) {
	:lang(en) .pillar__lead {
		white-space: nowrap;
		font-size: min(16px, 7.2cqi);
	}
}

.vs__warn {
	font-weight: 750;
	color: #dc2626;
}

[data-theme='dark'] .vs__warn {
	color: #f87171;
}

/* =================== Private personal computing (2026-11-15) =================== */

/* Hero: three promises, each with a short line */
.promise-bar--3 {
	grid-template-columns: repeat(3, 1fr);
	max-width: 980px;
}

.promise-bar--3 li {
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
	padding: 6px 22px;
	text-align: left;
}

.promise-bar--3 li svg {
	flex: none;
	margin-top: 2px;
}

.promise-bar--3 strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
}

.promise-bar--3 small {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--muted);
}

@media (max-width: 900px) {
	.promise-bar--3 {
		grid-template-columns: 1fr;
		row-gap: 8px;
	}

	.promise-bar--3 li {
		border-left: 0 !important;
	}

	.promise-bar--3 li:last-child {
		grid-column: auto;
		justify-content: flex-start;
	}
}

/* Meet ZOOMRIYA: the platform as layers */
.platform {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.platform > * {
	min-width: 0;
}

.layers {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	max-width: 520px;
	width: 100%;
	margin-inline: auto;
}

.layer {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--text);
}

[data-theme='dark'] .layer {
	background: #0c0f19;
}

/* Midnight: the plain layers stay dark, but these keep their own look */
[data-theme='dark'] .layer--use {
	background: var(--card-hi);
}

[data-theme='dark'] .layer--os {
	background: var(--btn);
	box-shadow: 0 16px 44px -16px rgba(79, 107, 255, 0.95);
}

[data-theme='dark'] .layer--box {
	background: linear-gradient(160deg, #1d2338 0%, #121626 100%);
	border-color: rgba(143, 163, 255, 0.4);
}

[data-theme='dark'] .layer--home {
	background: rgba(123, 147, 255, 0.14);
	border-color: rgba(143, 163, 255, 0.4);
}

.layer svg {
	flex: none;
	color: var(--accent);
}

.layer strong {
	display: block;
	font-size: 16px;
}

.layer small {
	display: block;
	font-size: 13.5px;
	color: var(--muted);
}

.layer--you {
	align-self: center;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 650;
}

.layer__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.layer--use {
	background: var(--card-hi);
	border-color: var(--accent-line);
}

.layer--os {
	color: #fff;
	background: var(--btn);
	border-color: transparent;
	box-shadow: 0 16px 40px -18px rgba(79, 107, 255, 0.9);
}

.layer--os svg,
.layer--os small {
	color: rgba(255, 255, 255, 0.85);
}

.layer--box {
	border-color: var(--line-strong);
	border-radius: 16px 16px 6px 6px;
}

.layer--home {
	justify-content: center;
	padding: 8px;
	border-top: 0;
	border-radius: 0 0 16px 16px;
	font-size: 13.5px;
	font-weight: 650;
	color: var(--muted);
	background: var(--tint);
}

.layer--connect {
	margin-top: 14px;
	border-style: dashed;
	border-color: var(--accent-line);
}

/* The links between layers, with a dot flowing down */
.layer__link {
	position: relative;
	align-self: center;
	width: 2px;
	height: 26px;
	background: linear-gradient(180deg, var(--blue), var(--violet));
	opacity: 0.6;
}

.layer__link i {
	position: absolute;
	left: -3px;
	top: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 8px var(--glow-blue);
	animation: drop 1.8s linear infinite;
}

@keyframes drop {
	from {
		top: -4px;
		opacity: 0;
	}
	20%,
	80% {
		opacity: 1;
	}
	to {
		top: calc(100% - 4px);
		opacity: 0;
	}
}

.platform__copy h3 {
	font-size: clamp(24px, 2.8vw, 34px);
	letter-spacing: -0.035em;
	line-height: 1.15;
}

.platform__copy p {
	margin-top: 14px;
	font-size: 17px;
	color: var(--muted);
}

/* When the internet goes down */
.offline {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 860px;
	margin: clamp(28px, 4vw, 44px) auto 0;
	padding: 20px 24px;
	border-radius: 20px;
	background: var(--card-hi);
	border: 1px solid var(--card-line);
}

.offline__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	color: #fff;
	background: var(--btn);
}

.offline p {
	color: var(--muted);
	font-size: 15.5px;
}

.offline strong {
	display: block;
	margin-bottom: 4px;
	font-size: clamp(17px, 1.8vw, 20px);
	color: var(--text);
}

/* Privacy you can check: the closing line */
.verify {
	margin-top: clamp(28px, 4vw, 44px);
	text-align: center;
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 800;
	letter-spacing: -0.04em;
}

#check .check {
	margin-top: 0;
}

/* Myira's motto */
.myira__motto {
	margin-top: 16px !important;
	font-size: 19px !important;
	font-weight: 650;
	font-style: italic;
	color: #c4b5fd !important;
}

/* ZOOMRIYA OS: six short points */
.os-points--6 {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
	.os-points--6 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.os-points--6 {
		grid-template-columns: 1fr;
	}
}

/* Built in Canada, and the vision */
.canada {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.canada > * {
	min-width: 0;
}

.canada__copy h2 {
	margin-top: 12px;
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.1;
}

.canada__copy > p {
	margin-top: 16px;
	font-size: 17px;
	color: var(--muted);
}

.canada__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.canada__chips li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	background: var(--white);
	border: 1px solid var(--line);
}

[data-theme='dark'] .canada__chips li {
	background: #0c0f19;
}

.canada__chips svg {
	color: var(--accent);
}

.canada__chips .made-in__flag {
	width: 22px;
	height: 11px;
	border-radius: 2px;
}

.vision {
	position: relative;
	overflow: hidden;
	padding: clamp(26px, 4vw, 44px);
	border-radius: 26px;
	color: #f2f4ff;
	background:
		radial-gradient(70% 70% at 0% 100%, rgba(59, 130, 246, 0.35), transparent 60%),
		radial-gradient(60% 60% at 100% 0%, rgba(168, 85, 247, 0.35), transparent 60%),
		#070a1f;
	border: 1px solid rgba(123, 147, 255, 0.22);
}

.vision__big {
	font-size: clamp(24px, 2.8vw, 32px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.15;
}

.vision__lines {
	display: grid;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	font-size: 16.5px;
	color: rgba(220, 226, 255, 0.85);
}

.vision__lines li {
	position: relative;
	padding-left: 22px;
}

.vision__lines li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #60a5fa, #c084fc);
}

.vision__sign {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgba(150, 170, 255, 0.2);
	font-size: 15px;
	color: rgba(220, 226, 255, 0.75);
}

.vision__sign strong {
	margin-right: 8px;
	font-size: 18px;
	letter-spacing: 0.04em;
	color: #fff;
}

@media (max-width: 900px) {
	.platform,
	.canada {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.layer__pair {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.layer__link i {
		display: none;
	}
}

/* The hero's three promises: wider bar, each line on one row on desktop. */
.promise-bar--3 {
	max-width: 1160px;
}

@media (min-width: 1100px) {
	.promise-bar--3 li {
		padding-inline: 20px;
	}

	.promise-bar--3 small {
		white-space: nowrap;
	}
}

/* The longer hero headline: "Your family's private computer" on one line on
   desktop, then "for everyday life." under it. */
@media (min-width: 1000px) {
	.hx__copy {
		max-width: 1160px;
	}

	.hx h1 {
		font-size: clamp(48px, 5.4vw, 80px);
	}
}

/* "for everyday life." always starts its own line. */
.hx h1 .hx__glow {
	display: table;
	margin-inline: auto;
}

@media (min-width: 1000px) {
	.hx h1 {
		font-size: clamp(46px, 5.2vw, 78px);
	}
}

@media (min-width: 1000px) {
	.hx h1 {
		font-size: clamp(46px, 5.2vw, 72px);
	}
}

/* Family Health: a drawn preview of its Today page (the app isn't built yet). */
.showcase__pane--health {
	display: grid;
	place-items: center;
	padding: clamp(14px, 3vw, 40px);
	background:
		radial-gradient(60% 60% at 85% 10%, rgba(45, 212, 191, 0.14), transparent 70%),
		var(--white);
}

.showcase__pane--health[hidden] {
	display: none;
}

.healthmock {
	display: grid;
	gap: 10px;
	width: min(100%, 560px);
	font-size: clamp(12px, 1.25vw, 15px);
}

.healthmock__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
}

.healthmock__head strong {
	font-size: 1.35em;
	color: var(--text);
}

.healthmock__head span {
	margin-left: auto;
	font-size: 0.85em;
	color: var(--dim);
}

.healthmock__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 14px;
	background: var(--mist);
	border: 1px solid var(--line);
	animation: hx-up 0.6s var(--ease-out) both;
}

.healthmock__row:nth-child(3) { animation-delay: 0.12s; }
.healthmock__row:nth-child(4) { animation-delay: 0.24s; }
.healthmock__row:nth-child(5) { animation-delay: 0.36s; }

.healthmock__row > span:nth-child(2) {
	flex: 1;
	min-width: 0;
}

.healthmock__row strong {
	display: block;
	color: var(--text);
}

.healthmock__row small {
	color: var(--muted);
}

.healthmock__row em {
	flex: none;
	font-style: normal;
	font-size: 0.85em;
	font-weight: 600;
	color: var(--dim);
}

.healthmock__who {
	flex: none;
	display: grid;
	place-items: center;
	width: 2.2em;
	height: 2.2em;
	border-radius: 50%;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, #2dd4bf, #0f8f86);
}

.healthmock .healthmock__done {
	color: var(--ok-bright);
}

.healthmock .healthmock__due {
	padding: 4px 10px;
	border-radius: 999px;
	color: #fff;
	background: linear-gradient(135deg, #2dd4bf, #0f8f86);
}

.healthmock__head img {
	flex: none;
	width: 28px !important;
	height: 28px !important;
	object-fit: contain !important;
}

/* ---------- Second review ---------- */
.vs__card h3 {
	font-size: clamp(24px, 2.8vw, 34px);
}

.vs__their {
	color: #94a3b8;
	text-decoration: line-through;
	text-decoration-color: rgba(239, 68, 68, 0.7);
	text-decoration-thickness: 3px;
}

.vs__yours {
	background: var(--hero-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.vs__big {
	margin: clamp(4px, 1vw, 12px) 0 clamp(8px, 2vw, 20px);
	text-align: center;
	font-size: clamp(21px, 2.4vw, 30px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.1;
}

.myira__lives {
	margin-top: 16px !important;
	font-size: 18px !important;
	color: var(--m-text) !important;
}

.myira__lives strong {
	background: linear-gradient(100deg, #60a5fa, #a78bfa 50%, #e879f9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.apps-motto {
	font-size: clamp(19px, 2vw, 23px) !important;
	font-weight: 700;
	color: var(--text) !important;
}

.apps-motto + p {
	margin-top: 8px !important;
}

.cta-tagline {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
}

.pg-note--lead {
	margin: -8px 0 22px;
}

.vs__their {
	text-decoration: none;
	color: var(--dim);
}

/* Hero: "Your family's private" a little smaller, then the gradient line. */
.hx h1 .hx__pre {
	display: block;
	font-size: calc(1em - 10px);
}

/* ---------- Keeping it safe: drives, mirror and backups ---------- */

.keep-note {
	margin-top: 22px;
	padding-left: 14px;
	border-left: 3px solid var(--accent-line);
	color: var(--muted);
	font-size: 15px;
}

.steps strong .status {
	margin-left: 8px;
	vertical-align: 2px;
}

.keep-art {
	margin: 0;
}

.keep-art img {
	display: block;
	width: 100%;
	height: auto;
}
