/* Nunito is served from this site rather than Google Fonts, so visitors' addresses never
   reach a third party. One variable file per character range covers every weight. */
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("/fonts/nunito-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("/fonts/nunito-latin.woff2") format("woff2");
	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;
}

:root {
	--text: #15171C;
	--text-muted: #4A5060;
	--text-body: #353A46;
	--line: #E4E7EE;
	--link: #4B34C7;
	--link-hover: #2F1F8A;
	--footer: #F6F7FA;
	--content-width: 1080px;
}

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

body {
	margin: 0;
	font-family: "Nunito", system-ui, -apple-system, sans-serif;
	color: var(--text);
	background: #FFFFFF;
	-webkit-text-size-adjust: 100%;
	/* A page shorter than the window still fills it, so the footer sits at the bottom. */
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }

h1, h2, h3, p { margin: 0; }
img { display: block; }

/* Hero: a blue gradient with three faint rings centred behind the app icon. */
.hero {
	position: relative;
	overflow: hidden;
	padding: 16px 24px 128px;
	color: #FFFFFF;
	background:
		radial-gradient(circle at 50% 46%, rgba(255,255,255,0.09) 0 clamp(120px, 15vw, 210px), transparent clamp(121px, 15.1vw, 211px)),
		radial-gradient(circle at 50% 46%, rgba(255,255,255,0.06) 0 clamp(210px, 27vw, 380px), transparent clamp(211px, 27.1vw, 381px)),
		radial-gradient(circle at 50% 46%, rgba(255,255,255,0.04) 0 clamp(310px, 40vw, 580px), transparent clamp(311px, 40.1vw, 581px)),
		linear-gradient(180deg, #5A92F2 0%, #3F73DD 100%);
}

.top-nav {
	max-width: var(--content-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	min-height: 56px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 800;
	font-size: 18px;
}
.brand:hover { color: #FFFFFF; }
.brand img { width: 30px; height: 30px; }

.hero-body {
	max-width: 720px;
	margin: 0 auto;
	padding-top: clamp(48px, 7vw, 88px);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.app-icon {
	width: clamp(132px, 15vw, 176px);
	height: auto;
	filter: drop-shadow(0 16px 32px rgba(18,36,110,0.28));
}

.hero h1 {
	margin-top: 32px;
	font-size: clamp(48px, 7vw, 80px);
	line-height: 1;
	font-weight: 900;
	letter-spacing: -0.025em;
}

.tagline {
	margin-top: 16px;
	max-width: 520px;
	font-size: clamp(19px, 2.2vw, 24px);
	line-height: 1.4;
	font-weight: 700;
}

.store-button {
	margin-top: 36px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 14px;
	background: #111216;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 800;
	font-size: 17px;
}
.store-button:hover { color: #FFFFFF; background: #000000; }
/* The Apple glyph's leaf makes its box taller than the apple itself, so a box centred on
   the text leaves the apple sitting low. Lifting it puts the apple level with the capitals. */
.store-button svg {
	flex: none;
	position: relative;
	top: -2px;
}

/* Content: a white sheet with rounded top corners that overlaps the bottom of the hero. */
.content {
	flex: 1;
	position: relative;
	margin-top: -40px;
	background: #FFFFFF;
	border-radius: 32px 32px 0 0;
	padding: clamp(56px, 7vw, 96px) 24px clamp(48px, 6vw, 80px);
}

.content-inner {
	max-width: var(--content-width);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(64px, 8vw, 112px);
}

.features h2 {
	margin-bottom: 24px;
	font-size: clamp(28px, 3.2vw, 36px);
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.015em;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	column-gap: 56px;
}

.feature {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 28px 0;
	border-top: 1px solid var(--line);
}
.feature img {
	flex: 0 0 auto;
	width: 76px;
	height: 76px;
	object-fit: contain;
}
.feature div {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.feature h3 {
	font-size: 20px;
	font-weight: 800;
}
.feature p,
.feature-note {
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-muted);
}

.feature-note {
	padding-top: 24px;
	border-top: 1px solid var(--line);
	text-align: center;
	text-wrap: balance;
}
.feature-note strong {
	color: var(--text);
	font-weight: 800;
}

/* Data source: the heading sits beside the text on wide screens and above it on narrow ones. */
.data-source {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 56px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.data-source h2 {
	flex: 1 1 200px;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 800;
}
.data-source div {
	flex: 999 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.data-source p {
	font-size: 16px;
	line-height: 1.65;
	color: var(--text-body);
}

/* Document pages (support) use a narrower column and a shorter header than the home page. */
.document-page { --content-width: 760px; }

.page-header {
	position: relative;
	overflow: hidden;
	padding: 16px 24px 88px;
	color: #FFFFFF;
	background:
		radial-gradient(circle at 85% 0%, rgba(255,255,255,0.08) 0 220px, transparent 221px),
		radial-gradient(circle at 85% 0%, rgba(255,255,255,0.05) 0 400px, transparent 401px),
		linear-gradient(180deg, #5A92F2 0%, #3F73DD 100%);
}

.page-header .top-nav {
	justify-content: space-between;
	gap: 16px;
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	opacity: 0.9;
}
.lang-switch:hover {
	color: #FFFFFF;
	opacity: 1;
	text-decoration: underline;
}

.page-header-body {
	max-width: var(--content-width);
	margin: 0 auto;
	padding-top: clamp(32px, 5vw, 56px);
}

.page-header h1 {
	font-size: clamp(40px, 6vw, 60px);
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.025em;
}

.lead {
	margin-top: 14px;
	max-width: 520px;
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.45;
	font-weight: 700;
}

.document-page .content {
	padding: clamp(40px, 5vw, 64px) 24px clamp(64px, 8vw, 104px);
}

.contact {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.contact h2 {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5B6170;
}
.contact-email {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: clamp(24px, 3.4vw, 32px);
	line-height: 1.2;
	font-weight: 900;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.contact p {
	font-size: 16px;
	line-height: 1.65;
	color: var(--text-muted);
}

.site-footer {
	background: var(--footer);
	padding: 28px 24px 36px;
}
.site-footer-inner {
	max-width: var(--content-width);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	font-size: 15px;
}
.copyright {
	color: var(--text-muted);
	font-weight: 600;
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 28px;
	font-weight: 700;
}
.footer-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
