/* ATracker landing page — wonderapps.se/ATracker/
   Hand-written CSS, no framework. Values follow the 2021 page (measured 2026-11-24).
   Fluid sizes run from a 375-px to a 1440-px wide window. */

@layer reset, base, layout, components, utilities;

/* ---------- font ---------- */
@font-face {
	font-family: "Rubik";
	src: url("fonts/rubik-latin.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */
:root {
	/* colours */
	/* "App Store look" draft: the palette of the App Store screenshots (ATracker_SC layout.json) */
	--c-text: #515c6f;       /* blue-grey body text: 5.9:1 on the pale blue, 6.8:1 on white */
	--c-heading: #16233f;    /* the shots' navy ink */
	--c-navy: #16233f;
	--c-nav: #16233f;
	--c-ice: #e8f0f9;        /* the shots' pale blue background */
	--c-ice-deep: #d6e4f6;   /* the darker round shape */
	--c-ice-light: #f2f7fc;  /* the lighter round shape */
	--c-chip-line: #cfe1f8;
	--c-sky: #1d6fe0;        /* brand blue: icons, play button, focus ring; 4.8:1 on white */
	--c-sky-strong: #1d6fe0; /* behind white text: 4.8:1 */
	--c-pill-bg: #e5f1fb;    /* tinted capsule, as in the refresh draft ... */
	--c-pill-text: #005f9e;  /* ... 5.8:1 on it */
	--c-link: #1559b8;       /* links on the pale blue: 5.8:1 */
	--shadow-device: drop-shadow(0 24px 32px rgb(22 44 90 / .18));
	--c-green: #0a9b3c;      /* ticks: 3.4:1 on the grey pricing background (was #0fbc49) */
	--c-green-text: #087f30; /* "iOS" text: 4.8:1 */
	--c-table-head: #212529;
	--c-line: #dee2e6;
	--c-card-border: #dfe9f7;
	--c-smoke: #e8f0f9;
	--c-snow: #f8fbfe;
	--c-light: #f3f7fc;
	--c-unit: #757575;       /* price units; was #878787 (3.6:1), now 4.6:1 */
	--shadow-card: 0 10px 22px 0 rgb(21 73 140 / .07);
	--shadow-plan: 0 15px 30px 0 rgb(21 73 140 / .08);
	--shadow-bar: 0 2px 3px rgb(96 96 96 / .1);

	/* type: clamp(min at 375 px, fluid, max at 1440 px) */
	--fs-hero: clamp(28px, calc(28px + 32 * (100vw - 375px) / 1065), 60px);
	--fs-hero-p: clamp(16.8px, calc(16.8px + 4.8 * (100vw - 375px) / 1065), 21.6px);
	--fs-h2: clamp(26px, calc(26px + 24 * (100vw - 375px) / 1065), 50px);
	--fs-title: clamp(26px, calc(26px + 28 * (100vw - 375px) / 1065), 54px);
	--fs-lead: clamp(16px, calc(16px + 3 * (100vw - 375px) / 1065), 19px);
	--fs-h3: clamp(18px, calc(18px + 6 * (100vw - 375px) / 1065), 24px);
	--fs-author: clamp(17px, calc(17px + 3 * (100vw - 375px) / 1065), 20px);
	--fs-plan: clamp(18px, calc(18px + 3 * (100vw - 375px) / 1065), 21px);
	--fs-price: clamp(40px, calc(40px + 14 * (100vw - 375px) / 1065), 54px);
	--fs-price-cur: clamp(27px, calc(27px + 9 * (100vw - 375px) / 1065), 36px);
	--fs-price-dec: clamp(32px, calc(32px + 12 * (100vw - 375px) / 1065), 44px);
	--fs-small: clamp(15px, calc(15px + 3 * (100vw - 375px) / 1065), 18px);
	--fs-compare: clamp(24px, calc(24px + 18 * (100vw - 375px) / 1065), 42px);
	--fs-pill: clamp(13.2px, calc(13.2px + 2.4 * (100vw - 375px) / 1065), 15.6px);

	/* spacing */
	--section-top: clamp(80px, calc(80px + 20 * (100vw - 768px) / 224), 100px);
	--section-bottom: clamp(40px, calc(40px + 20 * (100vw - 768px) / 224), 60px);
	--title-gap: clamp(45px, calc(45px + 25 * (100vw - 375px) / 1065), 70px);
	--gutter: 24px;
	--container: 100%;
	--header-h: 80px;
}
@media (min-width: 576px)  { :root { --container: 540px; } }
@media (min-width: 768px)  { :root { --container: 720px; } }
@media (min-width: 992px)  { :root { --container: 960px; --header-h: 70px; } }
@media (min-width: 1200px) { :root { --container: 1140px; } }
@media (min-width: 1400px) { :root { --container: 1320px; } }

/* ---------- reset ---------- */
@layer reset {
	*, *::before, *::after { box-sizing: border-box; }
	* { margin: 0; }
	img, svg { display: block; max-width: 100%; }
	img { height: auto; }
	ul { list-style: none; padding: 0; }
	button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
	table { border-collapse: collapse; }
}

/* ---------- base ---------- */
@layer base {
	html {
		-webkit-text-size-adjust: 100%;
		scroll-padding-top: var(--header-h);
		@media (prefers-reduced-motion: no-preference) { scroll-behavior: smooth; }
	}
	body {
		font-family: "Rubik", "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 16px;
		line-height: 1.6666;
		font-weight: 400;
		color: var(--c-text);
		background: #fff;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
	main { overflow-x: clip; } /* the slide-in animations start 60 px to the side */
	h1, h2, h3 {
		color: var(--c-heading);
		font-weight: 600;
		letter-spacing: -0.75px;
		text-wrap: balance;
	}
	h1, h2 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
	h3 { line-height: 1.3; }
	p { text-wrap: pretty; }
	a { color: inherit; text-decoration: none; }
	b { font-weight: 500; }
	:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 3px; border-radius: 4px; }
}

/* ---------- layout ---------- */
@layer layout {
	.container {
		width: 100%;
		max-width: var(--container);
		margin-inline: auto;
		padding-inline: 12px;
	}

	/* two columns: text and picture; one column on phones */
	.split {
		display: grid;
		gap: 40px var(--gutter);
		align-items: center;
	}
	@media (min-width: 768px) {
		.split { grid-template-columns: 5fr 7fr; }        /* picture left */
		.split-text-first { grid-template-columns: 7fr 5fr; } /* picture right */
	}
	@media (min-width: 992px) {
		.split, .split-text-first { grid-template-columns: 1fr 1fr; }
	}
	.media { text-align: center; }
	.media img { margin-inline: auto; }

	.section-title {
		text-align: center;
		font-size: var(--fs-title);
		margin-bottom: var(--title-gap);
	}
}

/* ---------- components ---------- */
@layer components {

	/* header */
	.scroll-sentinel { position: absolute; inset: 0 0 auto; height: 80px; pointer-events: none; }
	.far-sentinel { position: absolute; inset: 0 0 auto; height: 600px; pointer-events: none; }

	.site-header {
		position: fixed;
		inset: 0 0 auto;
		z-index: 50;
		background: #fff;
		box-shadow: 0 1px 0 rgb(22 44 90 / .1);
	}
	/* Kept at the top level, not nested in the rule above: Safari 17.0 drops a rule's own declarations
	   (position: fixed among them) when an @supports block is nested inside it, so the header vanished on scroll
	   (found 2026-11-25 on iOS 17.0). */
	@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
		.site-header {
			background: rgb(255 255 255 / .8);
			-webkit-backdrop-filter: saturate(1.6) blur(16px);
			backdrop-filter: saturate(1.6) blur(16px);
		}
	}
	.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: var(--header-h);
		max-width: 1164px;
		margin-inline: auto;
		padding-inline: 18px 6px;
	}
	.brand img { height: 36px; width: auto; }
	.brand .logo-light { display: none; }

	.menu-toggle {
		position: relative;
		width: 56px; height: 56px;
		& span, & span::before, & span::after {
			position: absolute; left: 15px;
			height: 3px; background: var(--c-navy); border-radius: 1px;
		}
		& span { top: 50%; margin-top: -1.5px; width: 22px; }
		& span::before, & span::after { content: ""; left: 0; }
		& span::before { top: -7px; width: 26px; }
		& span::after { top: 7px; width: 20px; }
	}

	/* phone and tablet: the menu is a popover panel from the right */
	.site-nav {
		position: fixed;
		z-index: 60;
		inset: 0 0 0 auto;
		width: min(290px, 85vw);
		height: 100dvh;
		max-height: none;
		margin: 0;
		padding: 0;
		border: 0;
		background: #fff;
		overflow: visible;
		color: var(--c-navy);
		&::backdrop { background: rgb(0 0 0 / .45); }
		& ul { height: 100%; overflow-y: auto; }
		& li a {
			display: block;
			font-size: 19px;
			font-weight: 500;
			line-height: 50px;
			padding: 7px 32px 6px 20px;
			border-bottom: 1px solid var(--c-card-border);
		}
		& li:first-child a, & li a:hover { background: var(--c-ice); }
		.btn-login { background: var(--c-ice); border: 1px solid var(--c-navy); color: var(--c-navy); }
	}
	.menu-close {
		position: absolute;
		left: -64px; top: 10px;
		width: 56px; height: 56px;
		display: grid; place-items: center;
		color: #fff;
		& svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; }
	}
	@media (prefers-reduced-motion: no-preference) {
		.site-nav:popover-open { animation: slide-in .3s ease-out; }
	}
	@keyframes slide-in { from { translate: 100% 0; } }

	/* browsers without the Popover API (Safari < 17): site.js toggles .is-open */
	@supports not selector(:popover-open) {
		@media (max-width: 991.98px) {
			.site-nav:not(.is-open) { display: none; }
			.site-nav.is-open { box-shadow: 0 0 0 100vmax rgb(0 0 0 / .45); }
		}
	}

	/* desktop: transparent bar over the pale hero, frosted white once the page scrolls */
	@media (min-width: 992px) {
		.site-header {
			background: transparent;
			-webkit-backdrop-filter: none;
			backdrop-filter: none;
			box-shadow: none;
			padding-block: 20px;
			transition: background-color .45s ease-in-out, padding .45s ease-in-out, box-shadow .45s ease-in-out;
		}
		.header-inner { padding-inline: 27px; }
		.brand img { height: 38px; }
		.menu-toggle, .menu-close { display: none; }

		.site-nav {
			display: block;
			position: static;
			inset: auto;
			width: auto;
			height: auto;
			background: none;
			color: var(--c-nav);
			& ul { display: flex; align-items: center; overflow: visible; }
			& li a {
				font-size: clamp(16px, calc(16px + 1 * (100vw - 1024px) / 416), 17px);
				line-height: 50px;
				margin-inline: 7px;
				/* the full menu needs ~792 px; between 992 and 1000 px it did not fit and "Live demo" and "Log in"
				   broke onto two lines. Items never wrap now, and their side padding eases from 11 px at 992 px to
				   15 px at 1100 px, so the menu fits with room to spare; from 1100 px up nothing changes. */
				padding: 10px clamp(11px, calc(11px + 4 * (100vw - 992px) / 108), 15px);
				white-space: nowrap;
				border: 0;
			}
			& li:first-child a, & li a:hover { background: none; }
			& li a:hover { color: var(--c-link); }
			.btn-login {
				font-size: 16.5px;
				line-height: 30px;
				margin: 0 0 0 12px;
				padding: 5px 30px;
				background: none;
				border: 1px solid var(--c-navy);
				border-radius: 999px;
				color: var(--c-navy);
				transition: background-color .3s, border-color .3s, color .3s;
				&:hover { background: var(--c-sky-strong); border-color: var(--c-sky-strong); color: #fff; }
			}
		}

		.site-header[data-scrolled] {
			background: #fff;
			padding-block: 0;
			box-shadow: var(--shadow-bar);
		}
		@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
			.site-header[data-scrolled] {
				background: rgb(255 255 255 / .8);
				-webkit-backdrop-filter: saturate(1.6) blur(16px);
				backdrop-filter: saturate(1.6) blur(16px);
			}
		}
	}

	/* hero */
	/* the shots' background: pale blue with two large soft round shapes */
	.hero, .band, .panel {
		--r1: clamp(190px, 34vw, 500px);
		--r2: clamp(150px, 24vw, 350px);
		background:
			radial-gradient(circle at 92% 2%, var(--c-ice-deep) calc(var(--r1) - 1px), transparent var(--r1)),
			radial-gradient(circle at 2% 82%, var(--c-ice-light) calc(var(--r2) - 1px), transparent var(--r2)),
			var(--c-ice);
	}
	.hero {
		position: relative;
		padding-top: calc(var(--header-h) + 50px);
		margin-bottom: 50px;
		@media (min-width: 992px) { padding-top: 140px; }
		@media (min-width: 1200px) { padding-top: 150px; }
		.container { position: relative; z-index: 1; }
	}
	.hero-split { row-gap: 0; }
	.hero-text {
		text-align: center;
		padding-bottom: 40px;
		& h1 { font-size: var(--fs-hero); margin-bottom: 15px; }
		& p { font-size: var(--fs-hero-p); margin-bottom: 30px; padding-inline: 5%; }
		@media (min-width: 768px) {
			text-align: left;
			padding: 0 0 0 15px;
			& h1 { margin-bottom: 25px; }
			& p { padding: 0 5% 0 0; margin-bottom: 35px; }
		}
	}
	.hero-media {
		position: relative;
		clip-path: inset(-100px -100px 0 -100px); /* the picture is cut at its bottom edge: no shadow below the cut */
		@media (min-width: 768px) { order: -1; }
		& img { width: 100%; max-width: 636px; margin-inline: auto; filter: var(--shadow-device); }
	}
	.wave {
		position: absolute;
		left: 0; bottom: 0;
		width: 100%;
		height: auto;
		aspect-ratio: 1440 / 285;
	}

	.store-badges {
		display: flex;
		flex-wrap: wrap;
		gap: 12px 16px;
		justify-content: center;
		@media (min-width: 768px) { justify-content: flex-start; }
		& img { height: clamp(44px, calc(44px + 6 * (100vw - 375px) / 1065), 50px); width: auto; }
	}
	.hero-text .store-badges { padding-top: 10px; @media (min-width: 768px) { padding-top: 24px; } }

	/* the round play button over the hero picture */
	.play-btn {
		--size: clamp(70px, calc(70px + 50 * (100vw - 375px) / 1065), 120px);
		position: absolute;
		top: 50%; left: 50%;
		width: var(--size); height: var(--size);
		margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
		border-radius: 50%;
		background: var(--c-sky);
		color: #fff;
		box-shadow: 0 0 0 4px rgb(255 255 255 / .85), 0 12px 28px rgb(21 73 140 / .3);
		display: grid;
		place-items: center;
		& svg { width: 58%; height: 58%; fill: currentColor; transition: scale .4s ease-in-out; } /* the triangle sits 1.2/24 right of centre: optically centred (owner 2026-11-25; was 8 % margin + 1.5/24) */
		&::before {
			content: "";
			position: absolute;
			inset: -5px;
			border-radius: 50%;
			background: rgb(29 111 224 / .22);
			opacity: 0;
			transition: inset .4s ease-in-out, opacity .4s ease-in-out;
		}
		&:hover::before, &:focus-visible::before { inset: calc(var(--size) * -.27); opacity: .75; }
		&:hover svg { scale: .95; }
	}

	/* recognition: a laurel around "Featured App", and five stars over the downloads line.
	   Every size is a multiple of --u (1 px from a 750-px window up), so the whole row
	   shrinks in proportion on phones: half size at 375 px. */
	.brands { padding-bottom: 60px; } /* was 30 px + 30 px under each item */
	.brands-row {
		--u: clamp(.4px, 100vw / 750, 1px);
		display: flex;
		justify-content: center;
		align-items: flex-start; /* the laurel's top is level with the stars' top */
		gap: clamp(calc(80 * var(--u)), calc(80px + (100vw - 750px) * 80 / 450), 160px); /* owner 2026-11-25: 160 px from 1200 px up, 80 at 750, phones as before (40 at 375); first 37, then 80 */
	}
	.brands-laurel { /* one image: the laurel and "Featured App" drawn as shapes, named by aria-label (owner 2026-11-25) */
		flex: none;
		width: calc(195.1 * var(--u)); /* 18 u between "Featured" and the nearest leaf; "Featured App" 22 u (owner 2026-11-25: gap was 12, text 20) */
		height: calc(77.6 * var(--u));
		fill: #f6a712; /* the stars' orange (owner 2026-11-25) */
	}
	.brands-rating {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.brands-stars {
		display: flex;
		gap: calc(6 * var(--u));
		& svg {
			width: calc(36.4 * var(--u));
			height: calc(34.8 * var(--u));
			fill: #f6a712;
		}
		.star-rest { fill: #dfe5ee; }
	}
	.brands-downloads {
		margin-top: calc(19 * var(--u)); /* 22 u from the stars to the top of the letters; the baseline lands 1 u under the laurel's foot */
		color: var(--c-heading);
		font-size: calc(30 * var(--u));
		line-height: 1;
		font-weight: 600;
		white-space: nowrap;
	}

	/* text blocks in the content sections */
	.text-block {
		& h2 { font-size: var(--fs-h2); margin-bottom: clamp(16px, calc(16px + 10 * (100vw - 375px) / 1065), 26px); }
		& p { font-size: var(--fs-lead); margin-bottom: 16px; }
		& p:last-child { margin-bottom: 0; }
	}

	/* Easy and Powerful: the light panel */
	.panel {
		--r1: clamp(150px, 22vw, 320px);
		--r2: clamp(110px, 16vw, 220px);
		border-radius: 16px;
		padding: 48px 20px;
		margin-inline: -12px;
		border-radius: 0;
		@media (min-width: 576px) { margin-inline: 0; border-radius: 28px; padding: 48px 32px; }
		@media (min-width: 992px) { padding: 90px 55px; }
		@media (min-width: 1200px) { padding: 90px 70px; }
		& img { width: 350px; filter: var(--shadow-device); }
	}

	/* Keep track of your time */
	.content-2 { padding-block: var(--section-top) calc(var(--section-bottom) + 40px); }
	.content-2 .media img { width: 350px; filter: var(--shadow-device); }

	/* Key Features */
	.features {
		background: var(--c-snow);
		padding-block: var(--section-top) var(--section-bottom);
	}
	.feature-grid {
		display: grid;
		gap: 0 var(--gutter);
		@media (min-width: 768px) { grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
		@media (min-width: 992px) { gap: 0 var(--gutter); }
	}
	.feature {
		text-align: center;
		margin-bottom: 40px;
		container-type: inline-size;
		& h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
		& p { font-size: var(--fs-lead); padding-inline: 5%; @media (min-width: 768px) { padding-inline: 0; } }
	}
	.feature-img {
		margin: 0 12% 70px;
		padding: 40px 10% 40px;
		border-radius: 24px;
		background-image: linear-gradient(180deg, var(--c-ice) 50%, rgb(232 240 249 / .05) 100%);
		& img { margin: 0 auto -80px; }
		@container (min-width: 300px) { margin-inline: 8%; padding-inline: 10%; padding-bottom: 45px; }
		@container (min-width: 400px) { margin-inline: 0; padding: 40px 18% 50px; }
	}

	/* Testimonials */
	.testimonials { padding-block: var(--section-top); }
	.testimonials .section-title { margin-bottom: clamp(40px, calc(40px + 20 * (100vw - 375px) / 1065), 60px); }
	.carousel {
		position: relative;
		@media (min-width: 480px) { padding-block: clamp(40px, calc(40px + 30 * (100vw - 480px) / 960), 70px) clamp(30px, calc(30px + 30 * (100vw - 480px) / 960), 60px); }
		&::before {
			content: "";
			position: absolute;
			inset: 0 12%;
			border-radius: 28px;
			background: var(--c-smoke);
			z-index: -1;
			@media (max-width: 479.98px) { display: none; }
		}
	}
	.carousel-track {
		--per-view: 1;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - 20px * (var(--per-view) - 1)) / var(--per-view));
		gap: 20px;
		align-items: start;
		padding: 0 10px 44px;
		scroll-padding-inline: 10px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		&::-webkit-scrollbar { display: none; }
		@media (min-width: 768px) { --per-view: 2; }
		@media (prefers-reduced-motion: no-preference) { scroll-behavior: smooth; }
	}
	.review {
		scroll-snap-align: start;
		background: #fff;
		border: 1px solid var(--c-card-border);
		border-radius: 20px;
		box-shadow: var(--shadow-card);
		padding: 25px 30px;
		@media (min-width: 768px) { padding: 35px 30px; }
		@media (min-width: 992px) { padding: 40px 35px; }
		@media (min-width: 1200px) { padding: 40px; }
		& h3 { font-size: 20px; margin-bottom: 8px; }
		& p { font-size: var(--fs-lead); }
		& b { font-weight: 700; }
	}
	.review-author {
		margin-top: 30px;
		padding-left: 15px;
		font-size: var(--fs-author);
		font-weight: 500;
		line-height: 1;
		letter-spacing: -0.75px;
		color: var(--c-heading);
		& p { font-size: inherit; }
	}
	.review-badges {
		display: flex;
		align-items: center;
		gap: 10px;
		padding-top: 20px;
		letter-spacing: 0;
		& img { width: 80px; height: 80px; }
		& img:first-child { border-radius: 50%; }
	}
	.carousel-dots {
		display: flex;
		justify-content: center;
		margin-top: 10px;
		& button {
			width: 24px; height: 20px;
			display: grid; place-items: center;
			&::before { content: ""; width: 10px; height: 10px; border-radius: 30px; background: #b9cdea; transition: background-color .2s; }
			&[aria-current="true"]::before, &:hover::before { background: var(--c-sky); }
		}
	}

	/* Pricing */
	.pricing {
		background: var(--c-light);
		padding-block: var(--section-top) var(--section-bottom);
		.section-title { margin-bottom: clamp(45px, calc(45px + 35 * (100vw - 375px) / 1065), 80px); }
	}
	.plans {
		display: grid;
		gap: 0 var(--gutter);
		@media (min-width: 768px) { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto 1fr; }
		@media (min-width: 992px) { padding-inline: 25px; }
	}
	.plan {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 3;
		row-gap: 0;
		min-height: 510px;
		margin: 0 3% 40px;
		padding: 30px 40px 35px;
		text-align: center;
		background: #fff;
		border: 1px solid var(--c-card-border);
		border-radius: 24px;
		box-shadow: var(--shadow-plan);
		@media (min-width: 768px) { margin: 0 0 40px; padding: 30px 20px 35px; text-align: left; }
		@media (min-width: 992px) { padding: 30px 25px 35px; }
		@media (min-width: 1200px) { padding: 35px 40px 20px; }
	}
	.plan-head {
		position: relative;
		text-align: left;
		border-bottom: 1px solid var(--c-chip-line);
		padding-bottom: 20px;
		margin-bottom: 25px;
		& h3 { font-size: var(--fs-plan); }
	}
	.plan-pill {
		position: absolute;
		right: -5px; top: -6px;
		padding: 6px 14px;
		border-radius: 999px;
		background: var(--c-pill-bg); /* owner 2026-11-25: the refresh draft's style */
		color: var(--c-pill-text);
		font-size: clamp(13.5px, calc(13.5px + 1.5 * (100vw - 375px) / 1065), 15px);
		font-weight: 500;
		line-height: 1.3;
		letter-spacing: 0.2px;
		@media (min-width: 768px) and (max-width: 991.98px) { font-size: 12.5px; letter-spacing: 0; padding: 5px 10px; right: -8px; }
		@media (min-width: 1200px) { right: -3px; top: -3px; }
	}
	.plan-price { padding-bottom: 25px; }
	.price {
		position: relative; /* keeps the hidden price text inside the card */
		color: var(--c-navy);
		font-weight: 500;
		line-height: 1;
		white-space: nowrap;
		& + & { margin-top: 15px; }
		.cur { font-size: var(--fs-price-cur); position: relative; top: -7px; margin-right: 3px; vertical-align: baseline; }
		.int { font-size: var(--fs-price); letter-spacing: -0.5px; }
		.dec { font-size: var(--fs-price-dec); position: relative; left: -2px; letter-spacing: -0.5px; }
		.unit { font-size: 1.2rem; font-weight: 400; color: var(--c-unit); }
	}
	.price-word { display: inline-block; padding-top: 4px; }
	.plan-features {
		border-top: 1px solid var(--c-chip-line);
		padding-top: 25px;
		& li { font-size: clamp(16px, calc(16px + 2 * (100vw - 375px) / 1065), 18px); line-height: 1.6666; margin-bottom: 5px; }
		.plan-note { font-size: .8rem; line-height: 1rem; margin-bottom: 4px; }
		.plan-note:first-of-type { padding-top: 10px; }
	}

	.compare {
		margin-top: 40px;
		@media (min-width: 992px) { padding-inline: 40px; }
		@media (min-width: 1200px) { margin-top: 60px; }
		& h3 { text-align: center; font-size: var(--fs-compare); line-height: 1.2; }
	}
	.table-scroll { position: relative; overflow-x: auto; margin: clamp(40px, calc(40px + 10 * (100vw - 1200px) / 240), 50px) 0 25px; container-type: inline-size; }
	.compare table {
		width: 100%;
		min-width: 540px;
		text-align: center;
		color: var(--c-table-head);
		/* separate, not collapsed: collapsed borders stay behind when a sticky cell moves */
		border-collapse: separate;
		border-spacing: 0;
		& th, & td { padding: 8px; border-bottom: 1px solid var(--c-line); }
		/* the feature names stay in view while the plan columns scroll sideways under them (phones) */
		& tbody th, & thead td { position: sticky; left: 0; z-index: 1; background: var(--c-light); }
		/* a soft edge on the fixed column, only when the table is wider than the screen */
		@container (max-width: 539px) {
			& tbody th, & thead td { box-shadow: 8px 0 8px -8px rgb(29 41 63 / .28); }
		}
		& thead th, & thead td { border-bottom: 2px solid var(--c-table-head); }
		& th { font-weight: 700; }
		& thead td { width: 34%; }
		& thead th { width: 22%; }
		& tbody th { text-align: left; }
		& td { color: var(--c-green-text); }
		& .tick { color: var(--c-green); }
		.tick { width: 15px; height: 15px; margin-inline: auto; }
	}
	.tax-note {
		text-align: center;
		color: var(--c-text);
		font-size: var(--fs-small);
		padding-inline: 5%;
		margin: 15px 0 40px;
		@media (min-width: 992px) { padding-inline: 10%; margin-top: 25px; }
	}

	/* Download band */
	.download {
		margin-bottom: 65px;
		@media (min-width: 768px) { padding-top: 100px; margin-bottom: 0; }
	}
	.band { --r1: clamp(170px, 26vw, 400px); }
	.download-split { row-gap: 30px; }
	.download .text-block {
		text-align: center;
		padding: 80px 4% 0;
		& p { margin-bottom: 5px; }
		@media (min-width: 768px) { text-align: left; padding: 0; margin-top: 30px; & p { margin-bottom: 16px; } }
		.store-badges { margin-top: 15px; @media (min-width: 992px) { margin-top: 20px; } }
	}
	.download-media {
		margin-bottom: -65px;
		clip-path: inset(-100px -100px 0 -100px); /* the picture is cut at its bottom edge: no shadow below the cut */
		@media (min-width: 768px) { order: -1; margin: -60px 0 0; align-self: start; }
		@media (min-width: 1200px) { margin-top: -80px; }
		& img { width: 100%; max-width: 636px; filter: var(--shadow-device); }
	}

	/* footer */
	.site-footer {
		background: var(--c-ice);
		border-top: 1px solid var(--c-chip-line);
		text-align: center;
		color: var(--c-navy);
		& p { font-size: 14.4px; line-height: 1.6666; padding: 4px 10px 10px; }
	}
	.footer-links {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 2px 32px;
		padding: 12px 16px 0;
		font-size: 14.4px;
		line-height: 1.8;
		& a { color: var(--c-link); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(21 89 184 / .45); }
		& a:hover { text-decoration-color: var(--c-link); }
	}

	/* back-to-top button: as on the old page (44 px circle, fades in after 600 px) */
	.to-top {
		position: fixed;
		right: 25px; bottom: 30px;
		z-index: 40;
		width: 44px; height: 44px;
		border-radius: 50%;
		display: grid; place-items: center;
		background: rgb(22 35 63 / .45);
		color: #fff;
		opacity: 0;
		visibility: hidden;
		transition: opacity .2s, visibility .2s, background-color .4s ease-in-out;
		&[data-visible] { opacity: 1; visibility: visible; }
		&:hover { background: rgb(22 35 63 / .65); }
		& svg { width: 16px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
	}

	/* video dialog */
	.video-dialog {
		/* centred: the reset's "* { margin: 0 }" removes the browser's own "margin: auto" for dialogs, which left the
		   player in the top left corner with its close button above the screen (found 2026-11-26). The third width
		   keeps the player and the close button on screen on a phone held sideways. */
		margin: auto;
		width: min(900px, 92vw, calc((100vh - 120px) * 16 / 9));
		max-width: none;
		padding: 0;
		border: 0;
		background: #000;
		overflow: visible;
		&::backdrop { background: rgb(11 11 11 / .8); }
	}
	.video-frame { aspect-ratio: 16 / 9; & iframe { width: 100%; height: 100%; border: 0; display: block; } }
	.dialog-close {
		position: absolute;
		right: -6px; top: -48px;
		width: 44px; height: 44px;
		display: grid; place-items: center;
		color: #fff;
		& svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
	}
}

/* ---------- motion ---------- */
/* Short play-once reveal (decided 2026-11-24, after the NN/g "Scroll Fading 101" guidance):
   pictures and cards fade in and rise 16 px over 0.35 s the first time they come into view.
   Only on screens 768 px and wider, never in the first screen, never with Reduce motion.
   site.js adds .reveal-on to <html> and .is-in to each item; without the script nothing is hidden. */
@layer components {
	@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
		.reveal-on .reveal {
			opacity: 0;
			translate: 0 16px;
			transition: opacity .35s ease-out, translate .35s ease-out;
		}
		.reveal-on .reveal.is-in { opacity: 1; translate: none; }
		/* cards in a row follow each other slightly */
		.reveal-on :is(.feature-grid, .plans) > .reveal:nth-child(3n+2) { transition-delay: .06s; }
		.reveal-on :is(.feature-grid, .plans) > .reveal:nth-child(3n+3) { transition-delay: .12s; }
	}
}

/* ---------- utilities ---------- */
@layer utilities {
	.sr-only, .sprite {
		position: absolute !important;
		width: 1px; height: 1px;
		margin: -1px; padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}
	.skip-link {
		position: fixed;
		left: 12px; top: -60px;
		z-index: 100;
		padding: 10px 16px;
		border-radius: 6px;
		background: var(--c-navy);
		color: #fff;
		&:focus { top: 12px; }
	}
}


/* Cookie notice on phones. The library (cookieconsent 3.1.1) always shows a floating box on phones:
   at most 24em wide, 1em above the bottom, rounded, with the button under the text; only its own rule
   for screens up to 414 pt wide stretches it across the bottom. Here it becomes a full-width bar at the
   bottom on every phone, with "Got it!" beside the text as on computers, so it takes less height.
   Unlayered and more specific than the library's rules, which load after this stylesheet. */
.cc-window.cc-floating.cc-bottom {
	left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0;
	flex-direction: row; align-items: center; gap: 1em; padding: 1em 1.2em;
}
.cc-window.cc-floating.cc-bottom.cc-type-info .cc-message { flex: 1 1 auto; margin: 0; }
.cc-window.cc-floating.cc-bottom.cc-type-info .cc-compliance { flex: none; }
.cc-window.cc-floating.cc-bottom.cc-type-info .cc-btn { min-width: 0; padding: .6em 1em; white-space: nowrap; }

/* No fade-in on phones: Safari tints the area under its floating address bar only once the notice is fully
   visible, so the library's 1-second fade-in showed a light strip below the bar first. The fade-out stays
   (a transition takes its timing from the new state), because the library hides the notice when it ends. */
.cc-window.cc-floating.cc-bottom:not(.cc-invisible) { transition: none; }
