:root {
	color-scheme: light;
	--page: #fffdfa;
	--page-soft: #fff5ef;
	--surface: rgba(255, 255, 255, 0.88);
	--surface-solid: #ffffff;
	--text: #111317;
	--muted: #626874;
	--faint: #8f949e;
	--line: rgba(17, 19, 23, 0.1);
	--line-strong: rgba(17, 19, 23, 0.16);
	--red: #ff2c2f;
	--red-dark: #df1f24;
	--peach: #ffe7dc;
	--peach-strong: #ffc9b6;
	--field: #769769;
	--field-soft: #dce9d2;
	--shadow-sm: 0 10px 30px rgba(71, 40, 28, 0.09);
	--shadow-md: 0 24px 70px rgba(71, 40, 28, 0.14);
	--shadow-device: 0 34px 80px rgba(27, 23, 22, 0.2);
	--radius-sm: 16px;
	--radius: 26px;
	--radius-lg: 42px;
	--max: 1220px;
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--page: #101112;
	--page-soft: #181516;
	--surface: rgba(27, 28, 30, 0.9);
	--surface-solid: #1b1c1e;
	--text: #f8f6f3;
	--muted: #b4b0ac;
	--faint: #85827f;
	--line: rgba(255, 255, 255, 0.11);
	--line-strong: rgba(255, 255, 255, 0.18);
	--peach: #291d1b;
	--peach-strong: #462724;
	--field: #91ae83;
	--field-soft: #1f2b1e;
	--shadow-sm: 0 12px 36px rgba(0, 0, 0, 0.28);
	--shadow-md: 0 28px 80px rgba(0, 0, 0, 0.34);
	--shadow-device: 0 38px 90px rgba(0, 0, 0, 0.52);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		color-scheme: dark;
		--page: #101112;
		--page-soft: #181516;
		--surface: rgba(27, 28, 30, 0.9);
		--surface-solid: #1b1c1e;
		--text: #f8f6f3;
		--muted: #b4b0ac;
		--faint: #85827f;
		--line: rgba(255, 255, 255, 0.11);
		--line-strong: rgba(255, 255, 255, 0.18);
		--peach: #291d1b;
		--peach-strong: #462724;
		--field: #91ae83;
		--field-soft: #1f2b1e;
		--shadow-sm: 0 12px 36px rgba(0, 0, 0, 0.28);
		--shadow-md: 0 28px 80px rgba(0, 0, 0, 0.34);
		--shadow-device: 0 38px 90px rgba(0, 0, 0, 0.52);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: var(--page);
}

body {
	margin: 0;
	min-width: 320px;
	color: var(--text);
	background: var(--page);
	font-family: "Avenir Next", Avenir, "SF Pro Display", "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

img {
	max-width: 100%;
}

::selection {
	color: #fff;
	background: var(--red);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.platform-status-badge {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 6px 12px;
	border: 1px solid var(--peach-strong);
	border-radius: 999px;
	color: var(--peach);
	background: var(--red-dark);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	margin-bottom: 12px;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--page) 88%, transparent);
	backdrop-filter: blur(22px) saturate(1.25);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 240px 1fr auto;
	align-items: center;
	gap: 26px;
	min-height: 82px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	width: 190px;
}

.site-brand img {
	display: block;
	width: 100%;
	height: auto;
}

.site-brand__dark {
	display: none !important;
}

:root[data-theme="dark"] .site-brand__light {
	display: none;
}

:root[data-theme="dark"] .site-brand__dark {
	display: block !important;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .site-brand__light {
		display: none;
	}

	:root:not([data-theme]) .site-brand__dark {
		display: block !important;
	}
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	font-size: 14px;
	font-weight: 700;
}

.site-nav a {
	position: relative;
	white-space: nowrap;
	transition: color 180ms ease;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -8px;
	height: 2px;
	background: var(--red);
	transition: right 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--red);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
	right: 0;
}

.site-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.theme-picker {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 4px;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.theme-picker button {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	color: var(--muted);
	background: transparent;
	cursor: pointer;
	transition:
		color 160ms ease,
		background 160ms ease,
		transform 160ms ease;
}

.theme-picker button:hover {
	color: var(--text);
	transform: translateY(-1px);
}

.theme-picker button[aria-pressed="true"] {
	color: #fff;
	background: var(--red);
}

.theme-picker svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 14px;
	color: #fff;
	background: var(--red);
	box-shadow: 0 12px 30px rgba(255, 44, 47, 0.22);
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition:
		transform 180ms ease,
		background 180ms ease,
		box-shadow 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
	background: var(--red-dark);
	box-shadow: 0 16px 34px rgba(255, 44, 47, 0.3);
}

.button--secondary {
	color: var(--red);
	background: transparent;
	border-color: var(--red);
	box-shadow: none;
}

.button--secondary:hover {
	color: #fff;
}

.button svg {
	width: 19px;
	height: 19px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--red) 48%, transparent);
	outline-offset: 3px;
}

.home-main {
	overflow: clip;
}

.hero {
	position: relative;
	min-height: 770px;
	padding: 84px 0 118px;
	background: radial-gradient(circle at 78% 28%, color-mix(in srgb, var(--peach) 75%, transparent), transparent 33%), var(--page);
}

/* .hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 160px;
	background-image: url("/assets/marketing/farm-background.png");
	background-size: cover;
	background-position: center bottom;
	opacity: 0.88;
	pointer-events: none;
} */

:root[data-theme="dark"] .hero::after,
:root[data-theme="dark"] .farm-band {
	filter: brightness(0.48) saturate(0.85);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .hero::after,
	:root:not([data-theme]) .farm-band {
		filter: brightness(0.48) saturate(0.85);
	}
}

.hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
	align-items: center;
	gap: 54px;
}

.hero__copy {
	padding-bottom: 74px;
}

.hero h1,
.section-heading,
.secondary-intro h1 {
	margin: 0;
	font-size: clamp(48px, 6vw, 84px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.hero h1 span {
	color: var(--red);
}

.hero__lede {
	max-width: 620px;
	margin: 26px 0 0;
	color: var(--muted);
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.65;
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.platform-line {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
}

.platform-line__icons {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.platform-line__icons span {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--red);
	background: var(--surface);
	box-shadow: 0 5px 16px rgba(71, 40, 28, 0.08);
}

.platform-line__icons svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.product-cluster {
	position: relative;
	min-height: 575px;
}

.device {
	position: absolute;
	display: block;
	margin: 0;
	filter: drop-shadow(var(--shadow-device));
}

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

.device--mac {
	left: 17%;
	top: 0;
	width: 50%;
	z-index: 1;
	transform: rotate(-1deg);
}

.device--iphone {
	left: 3%;
	bottom: 16px;
	width: 28%;
	z-index: 3;
	transform: rotate(-2.5deg);
}

.device--ipad {
	right: -3%;
	bottom: 8px;
	width: 50%;
	z-index: 2;
	transform: rotate(1.8deg);
}

.float-gif {
	position: absolute;
	z-index: 4;
	width: 132px;
	padding: 8px 8px 7px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 19px;
	background: var(--surface-solid);
	box-shadow: var(--shadow-md);
	transform: rotate(var(--tilt, -4deg));
	animation: gif-drift 6s ease-in-out infinite alternate;
}

.float-gif::before {
	content: "";
	display: block;
	width: 100%;
	aspect-ratio: 1.12;
	border-radius: 12px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--peach-strong) 75%, transparent), color-mix(in srgb, var(--field-soft) 80%, transparent));
}

.float-gif img {
	position: absolute;
	top: 8px;
	left: 8px;
	width: calc(100% - 16px);
	aspect-ratio: 1.12;
	object-fit: cover;
	border-radius: 12px;
}

.float-gif__label {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 27px;
	padding: 5px 3px 0;
	color: var(--text);
	font-size: 11px;
	font-weight: 800;
}

.float-gif__label::before {
	content: "";
	width: 13px;
	height: 13px;
	background: url("/assets/marketing/gifbarn-app-icon.png") center / cover;
	border-radius: 3px;
}

.hero .float-gif--one {
	right: max(160px, calc(50% - 710px));
	top: 330px;
	--tilt: -3deg;
	animation-delay: -1s;
}

.hero .float-gif--two {
	right: max(12px, calc(50% - 730px));
	top: 92px;
	--tilt: 7deg;
	animation-delay: -2s;
}

.hero .float-gif--three {
	right: max(18px, calc(50% - 720px));
	bottom: 134px;
	--tilt: -4deg;
	animation-delay: -4s;
}

.platform-ribbon {
	position: relative;
	z-index: 3;
	margin-top: -42px;
	padding: 30px 34px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(16px);
}

.platform-ribbon__intro {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 24px;
}

.platform-ribbon h2 {
	margin: 0;
	font-size: clamp(27px, 3vw, 38px);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.platform-ribbon p {
	margin: 0;
	color: var(--muted);
}

.platform-ribbon__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--line);
}

.platform-ribbon__item {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 20px 20px 4px 0;
}

.platform-ribbon__item + .platform-ribbon__item {
	padding-left: 24px;
	border-left: 1px solid var(--line);
}

.platform-ribbon__item strong {
	display: block;
	font-size: 18px;
}

.platform-ribbon__item div > span {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 14px;
}

.platform-ribbon__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid color-mix(in srgb, var(--red) 22%, var(--line));
	border-radius: 14px;
	color: var(--red);
	background: color-mix(in srgb, var(--red) 7%, var(--surface-solid));
}

.platform-ribbon__icon svg {
	width: 28px;
	height: 32px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.platform-ribbon__item:first-child .platform-ribbon__icon svg {
	width: 34px;
}

.story-section {
	position: relative;
	padding: 140px 0;
}

.story-section .float-gif--story {
	left: max(18px, calc(50% - 750px));
	top: 74px;
	--tilt: 6deg;
}

.story-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
	align-items: center;
	gap: 86px;
}

.story-section__media {
	position: relative;
	min-height: 610px;
}

.story-section__media .device--story-mac {
	left: 12%;
	top: 0;
	width: 64%;
	transform: rotate(-1.5deg);
}

.section-heading {
	font-size: clamp(42px, 5vw, 68px);
}

.section-copy {
	margin: 24px 0 0;
	color: var(--muted);
	font-size: 19px;
}

.feature-list {
	display: grid;
	gap: 16px;
	padding: 0;
	margin: 32px 0 0;
	list-style: none;
}

.feature-list li {
	display: flex;
	align-items: center;
	gap: 13px;
	font-weight: 800;
}

.feature-list__gif {
	position: relative;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	overflow: hidden;
	border: 2px solid var(--surface-solid);
	border-radius: 12px;
	background: linear-gradient(135deg, var(--peach-strong), var(--field-soft));
	box-shadow: 0 6px 18px rgba(71, 40, 28, 0.13);
}

.feature-list__gif img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.learn-more-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
	color: var(--red);
	font-weight: 800;
}

.learn-more-link span {
	transition: transform 180ms ease;
}

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

.platform-main {
	overflow: clip;
}

.platform-hero {
	padding: 92px 0 108px;
	background: radial-gradient(circle at 76% 30%, color-mix(in srgb, var(--peach) 78%, transparent), transparent 36%), var(--page);
}

.platform-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
	align-items: center;
	gap: 76px;
}

.platform-eyebrow {
	margin: 0 0 16px;
	color: var(--red);
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.platform-hero h1 {
	margin: 0;
	font-size: clamp(48px, 6vw, 82px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.platform-hero__lede {
	max-width: 620px;
	margin: 26px 0 0;
	color: var(--muted);
	font-size: clamp(18px, 2vw, 21px);
}

.platform-hero__lede--coming-soon {
	border: 2px solid var(--red-dark);
	padding: 15px;
	background: var(--peach);
	font-weight: 600;
	color: var(--text);
}

.platform-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.platform-hero__media {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 600px;
}

.platform-hero__media img {
	display: block;
	width: min(72%, 430px);
	height: auto;
	filter: drop-shadow(var(--shadow-device));
}

.platform-hero__media--mobile {
	grid-template-columns: 0.72fr 1.28fr;
	align-items: end;
	gap: 16px;
}

.platform-hero__media--mobile img {
	width: 100%;
}

.platform-hero__media--mobile img:first-child {
	position: relative;
	z-index: 2;
	transform: rotate(-2deg);
}

.platform-hero__media--mobile img:last-child {
	transform: rotate(1.5deg);
}

.platform-features {
	padding: 112px 0;
}

.platform-section-heading {
	max-width: 760px;
	margin: 0;
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1.02;
	letter-spacing: -0.02em;
}

.platform-section-copy {
	max-width: 690px;
	margin: 20px 0 0;
	color: var(--muted);
	font-size: 18px;
}

.platform-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 54px;
}

.platform-feature-card {
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.platform-feature-card h3 {
	margin: 0;
	font-size: 21px;
	letter-spacing: -0.025em;
}

.platform-feature-card p {
	margin: 10px 0 0;
	color: var(--muted);
}

.platform-flow {
	padding: 110px 0;
	background: var(--peach);
}

.platform-flow__grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
	gap: 70px;
	align-items: start;
}

.platform-flow ol {
	display: grid;
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
	counter-reset: platform-steps;
}

.platform-flow li {
	position: relative;
	padding: 22px 24px 22px 68px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	counter-increment: platform-steps;
}

.platform-flow li::before {
	content: counter(platform-steps);
	position: absolute;
	left: 22px;
	top: 21px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: #fff;
	background: var(--red);
	font-weight: 900;
}

.platform-flow li strong,
.platform-flow li span {
	display: block;
}

.platform-flow li span {
	margin-top: 4px;
	color: var(--muted);
}

.mobile-section {
	position: relative;
	padding: 128px 0;
	background: var(--peach);
}

.mobile-section .float-gif--mobile {
	right: max(18px, calc(50% - 750px));
	bottom: 58px;
	--tilt: -7deg;
	animation-delay: -2.5s;
}

.mobile-section__grid {
	display: grid;
	grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.12fr);
	align-items: center;
	gap: 72px;
}

.mobile-media {
	position: relative;
	min-height: 650px;
}

.mobile-media .device--iphone-mobile {
	left: 3%;
	bottom: 8px;
	width: 34%;
	z-index: 2;
	transform: rotate(-2deg);
}

.mobile-media .device--ipad-mobile {
	right: 0;
	top: 0;
	width: 72%;
	z-index: 1;
	transform: rotate(1.5deg);
}

.steps-section {
	position: relative;
	padding: 132px 0 150px;
	text-align: center;
}

.steps-section .section-heading {
	margin-bottom: 68px;
}

.steps-trail {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.steps-trail::before {
	content: "";
	position: absolute;
	left: 16.67%;
	right: 16.67%;
	top: 28px;
	border-top: 2px dashed color-mix(in srgb, var(--red) 65%, transparent);
}

.step {
	position: relative;
}

.step__number {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 25px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--page-soft);
	box-shadow: var(--shadow-sm);
	font-size: 20px;
	font-weight: 900;
}

.step h3 {
	margin: 0;
	font-size: 21px;
	letter-spacing: -0.02em;
}

.step p {
	max-width: 290px;
	margin: 10px auto 0;
	color: var(--muted);
}

.closing-cta {
	position: relative;
	min-height: 580px;
	display: grid;
	align-items: center;
	overflow: hidden;
	background: var(--page-soft);
}

.farm-band {
	position: absolute;
	inset: 0;
	background: url("/assets/marketing/farm-background.png") center bottom / cover no-repeat;
	opacity: 0.98;
}

.closing-cta__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 150px minmax(0, 560px);
	align-items: normal;
	justify-content: center;
	gap: 64px;
	padding: 90px 0 150px;
}

.closing-cta__icon {
	display: block;
	width: 132px;
	height: 132px;
	object-fit: contain;
	border-radius: 28px;
	filter: drop-shadow(var(--shadow-device));
}

.closing-cta h2 {
	margin: 0;
	font-size: clamp(44px, 5vw, 68px);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.closing-cta p {
	margin: 20px 0 28px;
	color: var(--muted);
	font-size: 19px;
}

.app-store-badge {
	display: inline-block;
	width: 180px;
	line-height: 0;
	transition:
		transform 180ms ease,
		filter 180ms ease;
}

.app-store-badge:hover {
	transform: translateY(-2px);
	filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.2));
}

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

.site-footer {
	padding: 46px 0 36px;
	border-top: 1px solid var(--line);
	background: var(--page);
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: start;
	gap: 40px;
}

.site-footer__brand {
	width: 164px;
}

.site-footer__tagline {
	max-width: 430px;
	margin: 16px 0 0;
	color: var(--muted);
}

.site-footer__links {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 10px 34px;
	font-size: 14px;
	font-weight: 700;
}

.site-footer__links a:hover {
	color: var(--red);
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 32px;
	margin-top: 34px;
	border-top: 1px solid var(--line);
	color: var(--faint);
	font-size: 12px;
}

@keyframes gif-drift {
	from {
		transform: translateY(-4px) rotate(var(--tilt, -4deg));
	}
	to {
		transform: translateY(9px) rotate(var(--tilt, -4deg));
	}
}

@media (max-width: 1220px) {
	.hero > .float-gif,
	.story-section > .float-gif,
	.mobile-section > .float-gif {
		display: none;
	}

	.hero__grid {
		grid-template-columns: minmax(0, 0.78fr) minmax(470px, 1.22fr);
	}
}

@media (max-width: 980px) {
	.site-header__inner {
		grid-template-columns: 190px 1fr auto;
		gap: 14px;
	}

	.site-nav {
		gap: 16px;
	}

	.site-actions > .button {
		display: none;
	}

	.hero {
		padding-top: 62px;
	}

	.hero__grid,
	.story-section__grid,
	.mobile-section__grid {
		grid-template-columns: 1fr;
	}

	.hero__copy {
		max-width: 760px;
		padding-bottom: 0;
	}

	.product-cluster {
		width: min(700px, 100%);
		margin: 10px auto 0;
	}

	.story-section__copy {
		grid-row: 1;
	}

	.story-section__media {
		min-height: 560px;
	}

	.mobile-section__copy {
		max-width: 660px;
	}

	.mobile-media {
		width: min(700px, 100%);
		margin: 0 auto;
	}

	.platform-hero__grid,
	.platform-flow__grid {
		grid-template-columns: 1fr;
	}

	.platform-hero__copy {
		max-width: 760px;
	}

	.platform-hero__media {
		width: min(700px, 100%);
		margin: 0 auto;
	}
}

@media (max-width: 760px) {
	.site-shell {
		width: min(100% - 32px, var(--max));
	}

	.site-header__inner {
		grid-template-columns: 1fr auto;
		min-height: 70px;
	}

	.site-brand {
		width: 154px;
	}

	.site-nav {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
		gap: 15px;
		font-size: 13px;
		overflow-x: auto;
		padding: 0 0 13px;
		scrollbar-width: none;
	}

	.site-actions {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}

	.site-nav::-webkit-scrollbar {
		display: none;
	}

	.theme-picker button {
		width: 28px;
		height: 28px;
	}

	.hero {
		min-height: 0;
		padding: 56px 0 94px;
	}

	.hero h1,
	.secondary-intro h1 {
		font-size: clamp(46px, 14vw, 68px);
	}

	.hero__buttons .button {
		width: 100%;
	}

	.platform-line {
		align-items: flex-start;
	}

	.product-cluster {
		min-height: 440px;
	}

	.device--mac {
		left: 20%;
		width: 55%;
	}

	.device--iphone {
		left: 0;
		width: 31%;
	}

	.device--ipad {
		right: -2%;
		width: 54%;
	}

	.platform-ribbon {
		padding: 26px 22px;
	}

	.platform-ribbon__intro {
		display: block;
	}

	.platform-ribbon__intro p {
		margin-top: 9px;
	}

	.platform-ribbon__list {
		grid-template-columns: 1fr;
	}

	.platform-ribbon__item,
	.platform-ribbon__item + .platform-ribbon__item {
		padding: 16px 0;
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.story-section,
	.mobile-section,
	.steps-section {
		padding: 92px 0;
	}

	.story-section__media {
		min-height: 470px;
	}

	.story-section__media .device--story-mac {
		left: 19%;
		width: 62%;
	}

	.mobile-media {
		min-height: 470px;
	}

	.steps-section .section-heading {
		margin-bottom: 42px;
	}

	.steps-trail {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.steps-trail::before {
		display: none;
	}

	.closing-cta__inner {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: center;
	}

	.closing-cta__icon {
		width: 112px;
		height: 112px;
		border-radius: 24px;
		margin: 0 auto;
	}

	.site-footer__top {
		grid-template-columns: 1fr;
	}

	.site-footer__links {
		justify-content: start;
	}

	.site-footer__bottom {
		flex-direction: column;
	}

	.platform-hero,
	.platform-features,
	.platform-flow {
		padding: 82px 0;
	}

	.platform-hero__media {
		min-height: 470px;
	}

	.platform-hero__actions .button {
		width: 100%;
	}

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

@media (max-width: 480px) {
	.site-shell {
		width: min(100% - 24px, var(--max));
	}

	.site-brand {
		width: 136px;
	}

	.theme-picker button {
		width: 26px;
		height: 26px;
	}

	.product-cluster {
		min-height: 365px;
	}

	.story-section__media {
		min-height: 390px;
	}

	.mobile-media {
		min-height: 390px;
	}

	.mobile-media .device--iphone-mobile {
		width: 38%;
	}

	.mobile-media .device--ipad-mobile {
		width: 76%;
	}

	.platform-hero__media {
		min-height: 390px;
	}
}

@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;
	}
}
