:root {
	--ink: #171717;
	--muted: #686865;
	--paper: #fff;
	--white: #fff;
	--line: rgba(23, 23, 23, 0.12);
	--card: #f6f6f3;
	--blue: #178cf5;
	--blue-action: #178cf5;
	--blue-action-hover: #0b7fdf;
	--radius: 28px;
	--max-width: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 28px;
	overflow-x: hidden;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
summary:focus-visible {
	border-radius: 6px;
	outline: 3px solid var(--blue-action);
	outline-offset: 4px;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-kerning: normal;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

p,
li,
summary {
	text-wrap: pretty;
}

h1 {
	margin-bottom: 28px;
	font-size: clamp(3rem, 4.3vw, 4.3rem);
	font-weight: 740;
	line-height: 0.96;
}

h1 em {
	color: var(--blue);
	font-style: normal;
}

h2 {
	margin-bottom: 24px;
	font-size: clamp(2.35rem, 3.8vw, 3.7rem);
	font-weight: 720;
	line-height: 1.01;
}

h3 {
	margin-bottom: 16px;
	font-size: clamp(1.5rem, 2.1vw, 2.1rem);
	line-height: 1.08;
}

p {
	line-height: 1.6;
}

.skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	transform: translateY(-150%);
}

.skip-link:focus {
	transform: translateY(0);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	font-size: 1.15rem;
	font-weight: 720;
	letter-spacing: -0.03em;
}

.brand img {
	border-radius: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	border-radius: 999px;
	font-weight: 650;
	letter-spacing: -0.02em;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.apple {
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 1.18em;
}

.button-primary {
	padding: 13px 20px;
	background: var(--blue-action);
	box-shadow: 0 14px 28px rgba(23, 140, 245, 0.22);
	color: var(--white);
}

.button-primary:hover {
	background: var(--blue-action-hover);
}

.button-primary .apple {
	font-size: 1.2rem;
}

.button-primary span:last-child {
	font-size: 0.92rem;
	line-height: 1;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
	align-items: center;
	width: min(calc(100% - 48px), var(--max-width));
	min-height: 690px;
	margin: 0 auto 110px;
	padding: 42px 0 30px;
}

.hero-copy {
	position: relative;
	z-index: 3;
}

.hero-logo {
	width: 80px;
	height: 80px;
	margin-bottom: 28px;
	border-radius: 21px;
	box-shadow: 0 4px 14px rgba(23, 23, 23, 0.1);
}

.hero-intro {
	max-width: 560px;
	margin-bottom: 30px;
	color: var(--muted);
	font-size: 1.15rem;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

.hero-visual {
	position: relative;
	height: 610px;
}

.preview {
	position: absolute;
	overflow: visible;
}

.preview img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.preview-front {
	right: 52px;
	bottom: -8px;
	z-index: 3;
	width: 286px;
	height: 620px;
	transform: rotate(1deg);
}

.preview-back {
	top: 54px;
	left: 42px;
	z-index: 1;
	width: 235px;
	height: 510px;
	opacity: 0.92;
	transform: rotate(-4deg);
}

.section {
	width: min(calc(100% - 48px), var(--max-width));
	margin: 0 auto 110px;
}

.section-heading {
	max-width: 820px;
	margin-bottom: 40px;
}

.section-heading > p:last-child {
	max-width: 650px;
	margin-bottom: 0;
	color: var(--muted);
	font-size: 1.12rem;
}

.story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 18px;
}

.story-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 510px;
	padding: 30px;
	border: 1px solid rgba(23, 23, 23, 0.06);
	border-radius: var(--radius);
	background: var(--card);
}

.story-card > p,
.story-card > div > p {
	max-width: 520px;
	color: var(--muted);
}

.story-card > p {
	min-height: 77px;
	margin-bottom: 0;
}

.app-fragment {
	width: 92%;
	max-width: 340px;
	margin: 24px auto -28px;
}

.app-fragment img {
	display: block;
	width: 100%;
	height: auto;
}

.app-fragment img + img {
	margin-top: 8px;
}

.feature-showcase {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	align-items: center;
	gap: 65px;
}

.feature-copy > p {
	color: var(--muted);
	font-size: 1.05rem;
}

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

.check-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 590;
}

.check-list span {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--blue);
}

.screenshot-stack {
	position: relative;
	height: 650px;
}

.screen {
	position: absolute;
	top: 38px;
	overflow: visible;
	width: 235px;
	height: 545px;
	margin: 0;
}

.screen img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.screen-left {
	left: 0;
	z-index: 1;
	transform: rotate(-8deg) translateY(52px);
}

.screen-center {
	left: 50%;
	z-index: 3;
	transform: translateX(-50%);
}

.screen-right {
	right: 0;
	z-index: 2;
	transform: rotate(8deg) translateY(52px);
}

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

.tool-card {
	position: relative;
	overflow: hidden;
	min-height: 520px;
	padding: 30px;
	border: 1px solid rgba(23, 23, 23, 0.06);
	border-radius: var(--radius);
	background: var(--card);
}

.tool-clarity,
.tool-choices {
	display: flex;
	flex-direction: column;
	height: 520px;
}

.tool-copy {
	position: relative;
	z-index: 2;
	max-width: 520px;
}

.tool-copy h3 {
	min-height: 72px;
}

.tool-copy p {
	color: var(--muted);
}

.tool-privacy {
	color: var(--ink);
}

.tool-privacy .tool-copy {
	max-width: none;
}

.tool-privacy .tool-copy > p {
	color: var(--muted);
}

.tool-image {
	display: grid;
	flex: 1;
	place-items: center;
	min-height: 0;
}

.tool-image img {
	width: auto;
	height: auto;
	max-width: min(82%, 460px);
	max-height: 100%;
}

.tool-clarity .tool-image img {
	transform: rotate(1deg);
}

.privacy-points {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.privacy-points li {
	padding: 15px;
	border: 1px solid var(--line);
	border-radius: 15px;
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.35;
}

.privacy-points b {
	display: block;
	margin-bottom: 3px;
	color: var(--ink);
	font-size: 1.3rem;
}

.faq {
	display: grid;
	grid-template-columns: 0.7fr 1.3fr;
	gap: 70px;
}

.faq-list {
	border-top: 1px solid var(--line);
}

.faq details {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 25px 0;
	cursor: pointer;
	font-size: 1.08rem;
	font-weight: 650;
	list-style: none;
}

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

.faq summary span {
	position: relative;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: transparent;
}

.faq summary span::before,
.faq summary span::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 1.5px;
	border-radius: 2px;
	background: var(--ink);
	content: "";
	transform: translate(-50%, -50%);
	transition: opacity 180ms ease;
}

.faq summary span::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] summary span::after {
	opacity: 0;
}

.faq details p {
	max-width: 670px;
	margin: -8px 50px 25px 0;
	color: var(--muted);
}

.download-section {
	position: relative;
	overflow: hidden;
	width: min(calc(100% - 32px), 1370px);
	min-height: 500px;
	margin: 0 auto 20px;
	border: 1px solid rgba(23, 23, 23, 0.06);
	border-radius: 38px;
	background: var(--card);
	color: var(--ink);
}

.download-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 760px;
	margin: 0 auto;
	padding: 78px 20px;
	text-align: center;
}

.download-content > img {
	margin-bottom: 30px;
	border-radius: 23px;
}

.download-content h2 {
	margin-bottom: 18px;
}

.download-content > p {
	margin-bottom: 28px;
	color: var(--muted);
	font-size: 1.05rem;
}

footer {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	width: min(calc(100% - 48px), var(--max-width));
	margin: 0 auto;
	padding: 70px 0 32px;
}

.footer-brand p {
	margin: 16px 0 0;
	color: var(--muted);
	font-size: 0.88rem;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.footer-links div {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links strong {
	margin-bottom: 4px;
	font-size: 0.82rem;
}

.footer-links a {
	color: var(--muted);
	font-size: 0.82rem;
}

.footer-links a:hover {
	color: var(--blue-action);
}

.copyright {
	grid-column: 1 / -1;
	margin: 70px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.78rem;
}

@media (max-width: 1050px) {
	.hero {
		grid-template-columns: 0.9fr 1.1fr;
	}

	.hero-visual {
		transform: scale(0.86);
		transform-origin: center right;
	}

	.feature-showcase {
		gap: 24px;
	}

	.screenshot-stack {
		transform: scale(0.86);
		transform-origin: center right;
	}
}

@media (max-width: 820px) {
	h1 {
		font-size: clamp(3rem, 10vw, 4.3rem);
	}

	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-top: 52px;
		text-align: center;
	}

	.hero-copy {
		max-width: 680px;
		margin: 0 auto;
	}

	.hero-logo {
		margin-right: auto;
		margin-left: auto;
	}

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

	.hero-intro {
		margin-right: auto;
		margin-left: auto;
	}

	.hero-visual {
		width: min(100%, 640px);
		height: 610px;
		margin: 10px auto 0;
		transform: none;
	}

	.story-grid,
	.tool-grid,
	.faq {
		grid-template-columns: 1fr;
	}

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

	.feature-copy {
		max-width: 680px;
	}

	.screenshot-stack {
		width: min(100%, 680px);
		margin: 0 auto;
		transform: none;
	}

	.tool-card {
		min-height: 520px;
	}

	.tool-copy h3 {
		min-height: 0;
	}

	.tool-privacy {
		min-height: 420px;
	}

	.faq {
		gap: 10px;
	}

	.faq .section-heading {
		margin-bottom: 0;
	}

	footer {
		grid-template-columns: 1fr;
		gap: 50px;
	}
}

@media (max-width: 600px) {
	:root {
		--radius: 22px;
	}

	.hero,
	.section,
	footer {
		width: min(calc(100% - 32px), var(--max-width));
	}

	.hero {
		padding-top: 46px;
	}

	h1 {
		font-size: clamp(2.6rem, 11.5vw, 3.4rem);
	}

	h2 {
		font-size: clamp(2.2rem, 10vw, 3.2rem);
	}

	.hero-intro {
		font-size: 1rem;
	}

	.hero-actions {
		flex-direction: column;
		gap: 18px;
	}

	.hero-visual {
		height: 485px;
		margin-top: 28px;
	}

	.preview-front {
		right: auto;
		left: 50%;
		width: 220px;
		height: 478px;
		transform: translateX(-38%) rotate(1deg);
	}

	.preview-back {
		top: 52px;
		left: 50%;
		width: 180px;
		height: 390px;
		opacity: 0.72;
		transform: translateX(-75%) rotate(-4deg);
	}

	.section {
		margin-bottom: 105px;
	}

	.section-heading {
		margin-bottom: 34px;
	}

	.section-heading > p:last-child {
		font-size: 1rem;
	}

	.story-card {
		height: 440px;
		padding: 26px;
	}

	.app-fragment {
		width: 94%;
		margin-right: auto;
		margin-left: auto;
	}

	.screenshot-stack {
		height: 535px;
	}

	.screen {
		width: 190px;
		height: 450px;
	}

	.screen-left {
		left: -8px;
	}

	.screen-right {
		right: -8px;
	}

	.tool-card {
		min-height: 400px;
		padding: 24px;
	}

	.tool-clarity,
	.tool-choices {
		height: 400px;
	}

	.tool-image {
		width: 100%;
	}

	.tool-image img {
		max-width: 62%;
	}

	.tool-wheel-image img {
		height: auto;
		max-width: min(58%, 190px);
	}

	.tool-privacy {
		min-height: 410px;
	}

	.download-section {
		min-height: 480px;
		border-radius: 26px;
	}

	.download-content {
		padding-top: 75px;
	}

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

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
