/*
Theme Name: Looma Theme
Theme URI: https://go-looma.com/ 
Author: Looma
Author URI: https://go-looma.com/
Description: Custom theme for Looma landing + pages.
Version: 1.0.0
Text Domain: looma
*/

/**** Looma Brand Logo Font ********/
@font-face {
	font-family: "Monainn";
	/* Path is relative to this CSS file (assets/css/style.css),
	   so ../fonts/ points to assets/fonts/ */
	src: url(../fonts/Monainn2.otf) format("opentype");
}

/* CSS Variables for colours and spacing */
:root {
	--colour-navy: #0b0e32; /* dark navy background */
	--colour-dark: #191942; /* from Branding Style Sheet */
	--colour-turquoise: #0cffc2; /* turquoise from Branding Style Sheet */
	--color-purple: #8330e7; /*purple from Branding Style Sheet */
	--colour-white: #ffffff; /* main copy colour */
	--colour-grey: #eff1ee; /* secondary text from Branding Style Sheet */
	--colour-pink: #e9319a; /* Looma Hot Pink */
	--colour-baby-blue: #01e0ff; /* Looma baby blue from Branding Style Sheet */
	--colour-arancio: #fb6445; /* Looma arancio/terracotta */
	--colour-box-shadow: rgba(0, 0, 0, 0.35);
	--looma-dark-page: #06122c;
	--looma-surface: rgba(255, 255, 255, 0.04);
	--looma-surface-strong: rgba(255, 255, 255, 0.065);
	--looma-border: rgba(255, 255, 255, 0.09);
	--looma-border-strong: rgba(255, 255, 255, 0.15);
	--looma-copy-bright: rgba(255, 255, 255, 0.86);
	--looma-copy-muted: rgba(255, 255, 255, 0.72);
	--looma-gradient: linear-gradient(90deg, #8d45ff 0%, #00d8ff 88%);
	--looma-radius-card: 24px;
	--looma-transition: 280ms cubic-bezier(0.22, 1, 0.36, 1);
	--max-width: 1200px;
	--safe-area-top: 0px;
}

/* iOS Safari translucent toolbar and rubber-band overscroll sample root backgrounds. */
html {
	background: #06122c;
}

/* Global: allow body to grow with Safari’s dynamic viewport */
html,
body {
	min-height: 100%;
	height: auto;
	background-color: #06122c;
	background-attachment: scroll;
}

/**** Safari Safe-Area and Reduced Motion Handling **********/

@supports (padding-top: env(safe-area-inset-top)) {
	:root {
		--safe-area-top: env(safe-area-inset-top);
	}
}

@supports (padding-top: constant(safe-area-inset-top)) {
	:root {
		--safe-area-top: constant(safe-area-inset-top);
	}
}

@supports (-webkit-touch-callout: none) or (-webkit-overflow-scrolling: touch) {
	html,
	body {
		background-attachment: scroll !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition-duration: 0s !important;
		animation-duration: 0s !important;
	}
}

/*** "Beautiful Cookie Banner" Plugin CSS Overrides *****/

.cc-floating.cc-theme-classic {
	border-radius: 1rem !important;
	padding: 0.8rem;
}

.cc-message {
	font-family: "Poppins", sans-serif;
	font-size: 0.95rem;
	text-align: center;
	margin-bottom: 0.5rem !important;
}

.cc-btn {
	border-radius: 2rem !important;
	font-family: "Poppins", sans-serif;
}

@media screen and (max-width: 414px) and (orientation: portrait),
	screen and (max-width: 736px) and (orientation: landscape) {
	.cc-window.cc-floating {
		max-width: 95%;
		width: max-content;
		left: 50%;
		right: auto !important;
		transform: translateX(-50%);
		bottom: 0.5rem !important;
	}
}

/*** Forces consistent scrollbar & prevents 1-2px horizontal “jiggle” on viewport resize *****/
html {
	overflow-y: auto;
}
/* allow the viewport to grow/shrink with the URL bar */
@supports (-webkit-touch-callout: none) {
	html {
		overflow-y: auto;
	}
}

body.home main {
	position: relative;
	z-index: 1;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Inter", sans-serif;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	color: var(--colour-white);
	line-height: 1.6;
	overflow-x: clip;
	overflow-y: auto;
	overscroll-behavior-y: auto;
	padding-top: env(safe-area-inset-top);
}

body:not(.home) {
	padding-top: var(--safe-area-top-fixed, var(--safe-area-top));
}

body.home {
	padding-top: 0;
	background: #06122c;
	position: relative;
	overflow-x: hidden;
}

body.home main > * {
	position: relative;
	z-index: 1;
}

footer {
	background-color: #0b0e32; /* solid base to mask rubber-band */
	background: linear-gradient(
		rgba(11, 14, 50, 0.95),
		rgba(22, 26, 70, 0.85),
		rgba(22, 26, 70, 1)
	);
	position: relative;
	z-index: 1;
	padding-bottom: env(safe-area-inset-bottom);
}

a {
	color: var(--colour-turquoise);
	text-decoration: none;
}

h1,
h2,
h3 {
	margin-top: 0;
	font-weight: 600;
	line-height: 1.2;
}

.grecaptcha-badge {
	visibility: hidden;
}

/***** HTML Sections ******/

.container {
	width: 90%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 2rem 0;
}

@media (max-width: 600px) {
	.container {
		padding: 0.5rem 0;
	}
}

.wpforms-field-label .wpforms-label-looma {
	font-family: "Monainn";
	font-size: 1.4rem;
	color: var(--colour-dark);
}

.wpforms-form .wpforms-field-container .wpforms-required-label {
	display: none;
}

/* Ensure the inner field box has no extra width/padding that pushes the button away */
.wpforms-form .wpforms-field-container > .wpforms-field {
	width: auto !important;
}

/* Remove default inner padding that creates a big gap between input and button */
.wpforms-form .wpforms-field,
.wpforms-form .wpforms-submit-container {
	padding: 0 !important;
	margin: 0 !important;
}

/* Stronger overrides for WPForms defaults */
.wpforms-container .wpforms-form .wpforms-field,
.wpforms-container-full .wpforms-form .wpforms-field {
	padding: 0 !important;
	margin: 0 !important;
}

.wpforms-container .wpforms-form .wpforms-submit-container,
.wpforms-container-full .wpforms-form .wpforms-submit-container {
	padding: 0 !important;
	margin: 0 !important;
}

.wpforms-form .wpforms-submit-container {
	flex: 0 0 auto; /* keep button its natural width */
	display: flex;
	align-items: center;
}

.wpforms-form .wpforms-field-email input[type="email"] {
	background-color: var(--colour-dark);
	box-sizing: border-box;
	border-radius: 2rem;
	color: var(--colour-white) !important;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	display: block;
	font-size: 16px;
	padding: 6px 10px;
	height: 38px;
	width: 100%;
	line-height: 1.3;
}

.wpforms-form .wpforms-field-email input[type="email"]::placeholder {
	color: var(--colour-white) !important;
	font-size: 1rem !important;
}

.wpforms-container .wpforms-form .wpforms-submit {
	background-color: var(--colour-pink) !important;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
	border-radius: 2rem;
}

.wpforms-form .wpforms-submit {
	height: 38px;
	padding: 0 16px;
	line-height: 38px;
}

.wpforms-container .wpforms-form .wpforms-submit:hover {
	background-color: var(--colour-baby-blue) !important;
	color: var(--colour-dark) !important;
}

.wpforms-form p {
	margin: 0 !important;
}

.wpforms-form input[type="email"] {
	max-width: none !important;
}

/* WPForms confirmation box */
.wpforms-container-full .wpforms-confirmation-container-full,
.wpforms-container .wpforms-confirmation-container-full {
	background: transparent !important;
	border-radius: 12px !important;
	padding: 10px 16px !important;
	margin: 10px 0 !important;
}

.wpforms-container.wpforms-container-full.wpforms-render-modern:has(
		> .wpforms-confirmation-container-full:not(:empty)
	) {
	margin: 0 !important;
}

/* Inner container + text */
.wpforms-container-full
	.wpforms-confirmation-container-full
	.wpforms-confirmation-container,
.wpforms-container
	.wpforms-confirmation-container-full
	.wpforms-confirmation-container {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

.wpforms-container-full
	.wpforms-confirmation-container-full
	.wpforms-confirmation-message,
.wpforms-container
	.wpforms-confirmation-container-full
	.wpforms-confirmation-message {
	color: var(--colour-navy) !important;
	margin: 0 !important;
	line-height: 1.5;
}

.wpforms-container-full .wpforms-confirmation-container-full,
.wpforms-container .wpforms-confirmation-container-full {
	position: relative;
}

/* WPForms Force confirmation text colour */
.wpforms-container-full .wpforms-confirmation-container-full,
.wpforms-container .wpforms-confirmation-container-full {
	color: var(--colour-navy) !important;
	text-align: center;
	font-size: 1.2rem;
}

@media (max-width: 600px) {
	.wpforms-container-full .wpforms-confirmation-container-full p {
		color: var(--colour-pink) !important;
		font-weight: 500;
	}
}

/* remove little border around confirmation in dialogue */
div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success]
	> .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
	border: none !important;
}

/* WPForms error message text */
.wpforms-form em.wpforms-error {
	color: var(--colour-dark) !important;
}

/* WPForms error message box */
.wpforms-form input.wpforms-error {
	border: 2px solid var(--colour-pink) !important;
}

/* WPForms override for focused/error outline */
.wpforms-form .wpforms-field input.wpforms-error:focus,
.wpforms-form .wpforms-field textarea.wpforms-error:focus,
.wpforms-form .wpforms-field select.wpforms-error:focus {
	box-shadow: none !important;
}

/******* Generic page layout *******/
.page-title h1 {
	margin-bottom: 2rem;
	font-size: 2.4rem;
	color: var(--colour-turquoise);
	text-align: center;
}

.page-body {
	max-width: 900px; /* make it wider, consistent column */
	margin: 0 auto 2rem; /* centre it */
	color: var(--colour-grey);
	font-size: 1.05rem;
	padding: 2rem 1rem; /* breathing room on small screens */
	background: linear-gradient(
		rgba(11, 14, 50, 0.95),
		rgba(22, 26, 70, 0.85),
		rgba(33, 38, 90, 0.75),
		rgba(44, 50, 110, 0.65),
		rgba(33, 38, 90, 0.75),
		rgba(22, 26, 70, 0.85),
		rgba(11, 14, 50, 0.95)
	);
	border: 1px solid var(--colour-turquoise);
	border-radius: 16px;
	backdrop-filter: blur(6px);
}

@media (max-width: 600px) {
	.page-body {
		max-width: 85svw;
	}
}

.page-body p {
	margin-bottom: 1rem;
}

.page-body a {
	color: var(--colour-turquoise);
	text-decoration: underline;
}

/* =============================================================
   SITE HEADER & NAV
   ============================================================= */

.site-header {
	background: transparent;
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid transparent;
	transition:
		background-color 260ms ease,
		border-color 260ms ease,
		box-shadow 260ms ease;
}

.site-header--scrolled,
.site-header.is-menu-open {
	background: rgba(248, 248, 252, 0.88);
	border-bottom-color: rgba(25, 25, 66, 0.07);
	box-shadow: 0 10px 30px rgba(11, 14, 50, 0.045);
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
	.site-header--scrolled,
	.site-header.is-menu-open {
		background: rgba(248, 248, 252, 0.82);
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
	}
}

/* .site-header__inner uses the shared .container for max-width. */
.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1rem;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
}

/* Logo: Monainn font, navy colour, no underline */
.site-logo {
	font-family: "Monainn", sans-serif;
	font-size: 3rem;
	color: var(--colour-navy);
	text-decoration: none;
	line-height: 1;
	justify-self: start; /* Prevent grid stretch — clickable area = text only */
}

.site-logo__reg {
	font-size: 0.3em;
	vertical-align: super;
	font-family: "Inter", sans-serif; /* ® in Inter, not Monainn */
}

/* Nav links */
.site-nav {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: clamp(1.2rem, 2.5vw, 2rem);
}

.site-nav__link {
	font-family: "Inter", sans-serif;
	font-size: 0.9rem;
	color: var(--colour-grey);
	text-decoration: none;
	position: relative;
	padding: 0.45rem 0;
	transition:
		color 220ms ease,
		opacity 220ms ease;
}

.site-nav__link:focus-visible,
.site-menu-toggle:focus-visible {
	outline: 2px solid var(--colour-turquoise);
	outline-offset: 4px;
}

/* Mint underline grows left-to-right on hover */
.site-nav__link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--colour-turquoise);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.25s ease;
	border-radius: 1px;
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
	transform: scaleX(1);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
	color: var(--colour-white);
}

.site-nav__link--active {
	color: var(--colour-white);
}

.site-nav__link--register {
	padding: 0.72rem 1.05rem;
	border-radius: 14px;
	background: var(--colour-navy);
	color: #ffffff;
	font-weight: 800;
	box-shadow: 0 14px 34px rgba(25, 25, 66, 0.18);
	transition:
		transform var(--looma-transition),
		box-shadow 260ms ease;
}

.site-nav__link--register::after {
	content: none;
}

.site-nav__link--register:hover,
.site-nav__link--register:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 20px 44px rgba(25, 25, 66, 0.24);
	outline: none;
}

.site-menu-toggle {
	display: none;
}

/* =============================================================
   LOOMA WORDMARK — inline brand name in body copy
   Font only — no colour set, inherits from surrounding text.
   Mint colour is reserved for .site-logo (standalone logo use).
   ============================================================= */

.looma-wordmark {
	font-family: "Monainn", sans-serif;
}

/* =============================================================
   MOBILE NAV — below 768px
   ============================================================= */

@media (max-width: 767px) {
	.site-header--scrolled,
	.site-header.is-menu-open {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-header__inner {
		display: grid;
		grid-template-columns: auto auto;
		justify-content: space-between;
		gap: 1rem;
	}

	.site-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.55rem;
		min-height: 42px;
		padding: 0 0.9rem;
		border: 1px solid rgba(25, 25, 66, 0.12);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.34);
		color: var(--colour-navy);
		font-family: "Inter", sans-serif;
		font-size: 0.82rem;
		font-weight: 800;
		cursor: pointer;
	}

	.site-menu-toggle__icon,
	.site-menu-toggle__icon::before,
	.site-menu-toggle__icon::after {
		display: block;
		width: 14px;
		height: 2px;
		border-radius: 999px;
		background: currentColor;
	}

	.site-menu-toggle__icon {
		position: relative;
	}

	.site-menu-toggle__icon::before,
	.site-menu-toggle__icon::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.site-menu-toggle__icon::before {
		top: -5px;
	}

	.site-menu-toggle__icon::after {
		top: 5px;
	}

	.site-nav {
		grid-column: 1 / -1;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0.25rem;
		max-height: 0;
		padding: 0 0.85rem;
		overflow: hidden;
		border: 1px solid transparent;
		border-radius: 20px;
		background: rgba(255, 255, 255, 0.94);
		box-shadow: 0 18px 46px rgba(11, 14, 50, 0.14);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-6px);
		transition:
			max-height 280ms ease,
			padding 280ms ease,
			opacity 220ms ease,
			transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
			border-color 220ms ease;
	}

	.site-header.is-menu-open .site-nav {
		max-height: 280px;
		padding: 0.85rem;
		border-color: rgba(25, 25, 66, 0.1);
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.site-nav__link {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 0.65rem 0.8rem;
		border-radius: 12px;
		color: var(--colour-navy);
	}

	.site-nav__link::after {
		content: none;
	}

	.site-nav__link--register {
		background: var(--colour-navy);
		color: #ffffff;
	}
}

/* =============================================================
   NEW PAGE SECTIONS — structural layout only
   Visual design (colours, typography, spacing polish) in CSS pass.
   ============================================================= */

/* Shared section spacing */
.section-hero,
.section-opportunity,
.section-insights,
.section-principles,
.section-contact {
	padding-top: 4rem 0;
}

/* Hero: centered column layout — text above, phone below */
.section-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2rem;
}

.section-hero__copy {
	max-width: 980px;
	padding-top: 2rem;
}

.section-hero__visual {
	display: flex;
	justify-content: center;
}

/* Business hero: two-column layout — copy left, screenshot right */
.section-hero__inner--business {
	flex-direction: row;
	align-items: center;
	text-align: left;
	gap: 3rem;
	max-width: none;
}

.section-hero__inner--business .section-hero__copy {
	flex: 1;
	max-width: none;
	padding-top: 0;
}

.section-hero__inner--business .section-hero__subhead {
	margin: 0 0 1.5rem;
}

/* App store badges: side by side, vertically centred */
.app-badges {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 0;
	flex-wrap: wrap;
}

/* Tighten the gap specifically between the hero stage and badges */
.section-hero__inner .app-badges {
	margin-top: -1rem;
}

.app-badge {
	height: 44px;
	width: auto;
}

/* For-business section backgrounds — serpentine colour flow bleeding across boundaries */
.section-opportunity {
	background:
		radial-gradient(
			circle 600px at 10% -5%,
			rgba(131, 48, 231, 0.3) 0%,
			transparent 70%
		),
		radial-gradient(
			circle 600px at 90% 105%,
			rgba(233, 49, 154, 0.28) 0%,
			transparent 70%
		),
		linear-gradient(to bottom, var(--colour-navy), var(--colour-dark) 160px);
}
.section-insights {
	background:
		radial-gradient(
			circle 600px at 90% -5%,
			rgba(233, 49, 154, 0.28) 0%,
			transparent 70%
		),
		radial-gradient(
			circle 600px at 10% 105%,
			rgba(1, 224, 255, 0.28) 0%,
			transparent 70%
		),
		linear-gradient(to bottom, var(--colour-dark), var(--colour-navy) 160px);
}
.section-principles {
	background:
		radial-gradient(
			circle 600px at 90% -5%,
			rgba(12, 255, 194, 0.28) 0%,
			transparent 70%
		),
		radial-gradient(
			circle 600px at 90% 105%,
			rgba(233, 49, 154, 0.28) 0%,
			transparent 70%
		),
		linear-gradient(to bottom, var(--colour-navy), var(--colour-dark) 160px);
}
.section-contact {
	background:
		radial-gradient(
			circle 600px at 90% -5%,
			rgba(233, 49, 154, 0.28) 0%,
			transparent 70%
		),
		radial-gradient(
			ellipse 55% 65% at 50% 60%,
			rgba(12, 255, 194, 0.22) 0%,
			transparent 70%
		),
		linear-gradient(to bottom, var(--colour-dark), var(--colour-navy) 160px);
}

/* Insights: two-column (copy + screenshots) */
.section-insights__inner {
	display: flex;
	gap: 3rem;
	align-items: flex-start;
}

.section-insights__copy {
	flex: 1;
}

.section-insights__visual {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Principles: 2×2 grid */
.principles-list {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.principle {
	flex: 1 1 200px;
}

/* Contact: two-column (copy + form) */
.section-contact__inner {
	display: flex;
	gap: 3rem;
	align-items: flex-start;
}

.section-contact__copy {
	flex: 1;
}

.section-contact__form {
	flex: 1;
}

/* Mobile: stack remaining multi-column layouts */
@media (max-width: 767px) {
	.section-insights__inner,
	.section-contact__inner {
		flex-direction: column;
	}
}

/* --- Global heading style --- */
h1,
h2,
h3,
h4 {
	font-family: "Inter", sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

/* =============================================================
   HERO — For Drivers
   ============================================================= */

.section-hero {
	background: transparent;
	min-height: 75vh;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;
}

/* Green orb — drifts from top-left */
.section-hero::before {
	content: "";
	position: absolute;
	width: 2400px;
	height: 2400px;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(60px);
	z-index: 0;
	background: radial-gradient(
		circle,
		rgba(110, 231, 183, 0.85) 0%,
		rgba(167, 243, 208, 0.5) 40%,
		transparent 70%
	);
	top: -15%;
	left: -15%;
	animation: hero-orb-a 9s ease-in-out infinite alternate;
}

/* Purple orb — drifts from top-right */
.section-hero::after {
	content: "";
	position: absolute;
	width: 2400px;
	height: 2400px;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(60px);
	z-index: 0;
	background: radial-gradient(
		circle,
		rgba(167, 139, 250, 0.42) 0%,
		rgba(196, 181, 253, 0.18) 40%,
		transparent 70%
	);
	top: 20vh;
	right: -15%;
	animation: hero-orb-b 11s ease-in-out infinite alternate;
}

@keyframes hero-orb-a {
	0% {
		transform: translate(0, 0) scale(1);
	}
	30% {
		transform: translate(25%, 30%) scale(1.12);
	}
	65% {
		transform: translate(40%, 12%) scale(0.9);
	}
	100% {
		transform: translate(15%, 40%) scale(1.1);
	}
}

@keyframes hero-orb-b {
	0% {
		transform: translate(0, 0) scale(1);
	}
	35% {
		transform: translate(-25%, -20%) scale(1.15);
	}
	70% {
		transform: translate(-10%, -38%) scale(0.88);
	}
	100% {
		transform: translate(-38%, -14%) scale(1.1);
	}
}

.section-hero .container {
	padding-top: 0;
	padding-bottom: 2.5rem;
	position: relative;
	z-index: 2; /* above the ::before/::after orbs (z-index: 0) */
}

.section-hero__copy h1 {
	font-family: "Inter", sans-serif;
	font-size: clamp(2.4rem, 5vw, 4.375rem);
	font-weight: 800;
	color: var(--colour-navy);
	margin-bottom: 1.25rem;
	line-height: 1.1;
}

.section-hero__subhead {
	font-family: "Inter", sans-serif;
	font-size: clamp(1rem, 2vw, 1.15rem);
	font-weight: 300;
	color: rgba(25, 25, 66, 0.65);
	line-height: 1.7;
	max-width: 520px;
	margin: 0 auto;
}

/* Glow behind the phone mockup — mint core + baby-blue offset */
.section-hero__visual {
	position: relative;
}

.section-hero__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 400px;
	height: 400px;
	background:
		radial-gradient(
			circle at 45% 55%,
			rgba(167, 139, 250, 0.18) 0%,
			transparent 60%
		),
		radial-gradient(
			circle at 55% 45%,
			rgba(110, 231, 183, 0.22) 0%,
			transparent 65%
		);
	z-index: 0;
	pointer-events: none;
}

/* Hero phone carousel — 7 screens crossfading via JS active class */
.hero-phone-carousel {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	border-radius: 42px;
	border: 1.5px solid rgba(0, 0, 0, 0.7);
	background: #000;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.22),
		0 44px 110px rgba(25, 25, 66, 0.3),
		0 0 82px rgba(1, 224, 255, 0.1);
	object-fit: cover;
	overflow: hidden;
}

.hero-phone-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: opacity 0.9s ease-in-out;
}

.hero-phone-slide.active {
	opacity: 1;
}

.homepage-hero__phone-stage .hero-phone-slide:first-child {
	opacity: 1;
}

.homepage-hero__phone-stage .hero-phone-carousel.is-ready .hero-phone-slide:first-child:not(.active) {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.hero-phone-slide {
		transition: none;
	}
	.hero-phone-slide:first-child {
		opacity: 1;
	}
}

/* =============================================================
   HERO STAGE — phone + floating cards layout
   ============================================================= */

.hero-stage {
	position: relative;
	width: 980px;
	max-width: 100%;
	height: 730px;
}

/* Phone carousel re-positioned inside the stage */
.hero-stage .hero-phone-carousel {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	width: 320px;
	height: 695px;
}

@media (max-width: 900px) {
	.hero-stage {
		width: 100%;
		height: auto;
	}
	.hero-stage .hero-phone-carousel {
		position: relative;
		left: auto;
		transform: none;
		margin: 0 auto;
	}
}

/* App store badges */
.app-badges {
	margin-top: 2rem;
}

.app-badge {
	height: 48px;
}

/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
	--footer-link-primary: rgba(255, 255, 255, 0.88);
	--footer-link-secondary: rgba(255, 255, 255, 0.74);
	--footer-copy: rgba(255, 255, 255, 0.62);
	--footer-copyright: rgba(255, 255, 255, 0.64);

	background: var(--colour-navy);
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding-top: 2rem;
	padding-bottom: env(safe-area-inset-bottom);
	color: var(--colour-white);
}

.site-footer .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 2.8rem;
	padding-bottom: 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: auto max-content;
	align-items: center;
	justify-content: start;
	gap: clamp(2rem, 6vw, 5rem);
	margin-bottom: 1.4rem;
}

/* Brand column */
.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-logo {
	font-size: 1.6rem;
	color: var(--colour-white);
	text-decoration: none;
	transition: opacity 220ms ease;
}

.footer-logo:visited {
	color: var(--colour-white);
}

.footer-logo:hover {
	color: var(--colour-white);
	opacity: 0.82;
}

.footer-logo:focus-visible {
	color: var(--colour-white);
	outline: 2px solid rgba(12, 255, 194, 0.75);
	outline-offset: 4px;
}

.footer-copyright {
	font-size: 0.8rem;
	color: var(--footer-copyright);
	margin: 0;
}

.footer-nav-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(3.5rem, 4vw, 4rem);
	width: fit-content;
	max-width: 100%;
	white-space: nowrap;
}

.footer-nav-group {
	display: inline-flex;
	align-items: center;
}

.footer-nav-group--legal {
	gap: clamp(2rem, 2.25vw, 2.25rem);
}

.footer-nav-group--social {
	gap: clamp(2rem, 2.25vw, 2.25rem);
}

.footer-nav-row .site-nav__link,
.footer-nav-row .footer-social__link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	transition: color 220ms ease;
}

.site-footer .footer-nav-row .site-nav__link::after {
	content: none;
}

.site-footer .footer-nav-group--legal .site-nav__link:not(.site-nav__link--register) {
	color: var(--footer-link-secondary);
}

.site-footer .footer-nav-group--social .footer-social__link {
	color: var(--footer-link-primary);
}

.site-footer .footer-nav-row .site-nav__link:not(.site-nav__link--register):visited,
.site-footer .footer-nav-row .footer-social__link:visited {
	color: var(--footer-link-secondary);
}

.site-footer .footer-nav-group--social .footer-social__link:visited {
	color: var(--footer-link-primary);
}

.footer-social__link {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.9rem;
	text-decoration: none;
}

.site-footer .footer-nav-row .site-nav__link:not(.site-nav__link--register):hover,
.site-footer .footer-nav-row .site-nav__link:not(.site-nav__link--register):focus-visible,
.site-footer .footer-nav-row .footer-social__link:hover,
.site-footer .footer-nav-row .footer-social__link:focus-visible {
	color: var(--colour-turquoise);
	text-decoration: none;
}

.site-footer .footer-nav-row .site-nav__link:not(.site-nav__link--register):focus-visible,
.site-footer .footer-nav-row .footer-social__link:focus-visible {
	outline: 2px solid rgba(12, 255, 194, 0.75);
	outline-offset: 4px;
}

/* Footer mobile */
@media (max-width: 767px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-nav-row {
		justify-content: center;
		gap: 0.8rem 1.6rem;
		white-space: normal;
	}

	.footer-nav-group {
		flex-wrap: wrap;
		justify-content: center;
	}

	.footer-nav-group--legal {
		gap: 0.55rem 1rem;
	}
}

.footer-legal {
	margin: 0;
	padding-top: 0.95rem;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	font-size: 0.72rem;
	line-height: 1.5;
	color: var(--footer-copy);
}

/* =============================================================
   LEGAL PAGES — shared site chrome with readable article content
   ============================================================= */

.legal-page-template {
	background: #06122c;
	color: var(--colour-white);
}

.legal-page-template .site-main,
.legal-page-template .site-header,
.legal-page-template .site-footer {
	background: #06122c;
}

.legal-page-template .site-logo {
	color: var(--colour-white);
}

.resource-page-template,
.resource-page-template .site-main,
.resource-page-template .site-header,
.resource-page-template .site-footer {
	background: #06122c;
	color: var(--colour-white);
}

.resource-page-template .site-logo,
.resource-page-template .site-nav__link:not(.site-nav__link--register) {
	color: var(--colour-white);
}

.legal-page-template .site-footer {
	border-top-color: rgba(255, 255, 255, 0.07);
}

.legal-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(5rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
	text-align: center;
	background:
		radial-gradient(circle 520px at 78% 20%, rgba(1, 224, 255, 0.12), transparent 70%),
		radial-gradient(circle 520px at 18% 72%, rgba(131, 48, 231, 0.16), transparent 70%);
}

.legal-hero .container {
	max-width: 900px;
}

.legal-hero__eyebrow {
	margin: 0 0 1.1rem;
	color: var(--colour-turquoise);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.legal-hero h1 {
	margin: 0;
	color: var(--colour-white);
	font-size: clamp(3.2rem, 9vw, 6.8rem);
	line-height: 0.95;
	letter-spacing: 0;
}

.legal-hero p:last-child {
	max-width: 680px;
	margin: 1.35rem auto 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.55;
}

.legal-content-section {
	padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
}

.legal-reading {
	width: min(90%, 880px);
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(1rem, 1.3vw, 1.08rem);
	line-height: 1.78;
}

.legal-reading > * {
	margin-top: 0;
	margin-bottom: 0;
}

.legal-reading > * + * {
	margin-top: 1.15rem;
}

.legal-reading h2,
.legal-reading h3 {
	color: var(--colour-white);
	font-family: "Inter", sans-serif;
	letter-spacing: 0;
}

.legal-reading h2 {
	margin-top: clamp(2.8rem, 5vw, 4rem);
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	line-height: 1.12;
}

.legal-reading h3 {
	margin-top: 2.2rem;
	font-size: clamp(1.24rem, 2vw, 1.55rem);
	line-height: 1.22;
}

.legal-reading a {
	color: var(--colour-turquoise);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

.legal-reading ul,
.legal-reading ol {
	padding-left: 1.35rem;
}

.legal-reading li + li {
	margin-top: 0.55rem;
}

.legal-reading details {
	margin-top: 1rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.035);
}

.legal-reading summary {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
	color: var(--colour-white);
	font-weight: 800;
	cursor: pointer;
}

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

.legal-reading summary::after {
	content: "+";
	margin-left: auto;
	color: var(--colour-turquoise);
	font-size: 1.2rem;
	line-height: 1;
}

.legal-reading details[open] summary::after {
	content: "-";
}

.legal-reading details > :not(summary) {
	margin-right: 1.1rem;
	margin-left: 1.1rem;
}

.legal-reading details > :last-child {
	margin-bottom: 1.1rem;
}

.legal-reading .detail-num {
	color: var(--colour-turquoise);
}

.legal-reading strong {
	color: var(--colour-white);
	font-weight: 750;
}

.legal-reading hr,
.legal-reading .wp-block-separator {
	width: 100%;
	height: 1px;
	margin: clamp(2.3rem, 4vw, 3.2rem) 0;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
}

.legal-reading table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1.8rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
}

.legal-reading th,
.legal-reading td {
	padding: 0.9rem 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	text-align: left;
	vertical-align: top;
}

.legal-reading th {
	color: var(--colour-white);
	background: rgba(255, 255, 255, 0.06);
	font-weight: 800;
}

.legal-reading tr:last-child td {
	border-bottom: 0;
}

@media (max-width: 767px) {
	.legal-page-template .site-header__inner {
		min-height: 4.8rem;
		padding-top: 1rem;
		padding-bottom: 0;
	}

	.legal-page-template .site-logo {
		font-size: clamp(2.05rem, 10vw, 2.45rem);
	}

	.legal-hero {
		padding-top: 4.8rem;
		padding-bottom: 3.2rem;
	}

	.legal-reading {
		width: min(88%, 880px);
		line-height: 1.68;
	}

	.legal-reading h2 {
		margin-top: 2.4rem;
	}
}

@media (max-width: 480px) {
	.legal-hero h1 {
		font-size: clamp(2.65rem, 13vw, 3.6rem);
	}

	.legal-hero p:last-child {
		font-size: 1rem;
	}

	.legal-reading {
		font-size: 0.98rem;
	}
}

/* =============================================================
   HERO ENTRANCE SEQUENCE
   Three-beat animation on page load:
     1. Headline, subhead and phone fade in together
     2. App badges arrive last with a gentle rise — the eye lands on the CTA
   ============================================================= */

@keyframes hero-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes hero-fade-up {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Beat 1 — content materialises */
.section-hero__copy h1,
.section-hero__subhead,
.section-hero__visual {
	animation: hero-fade 2.5s ease-out both;
	animation-delay: 0.3s;
}

/* Beat 2 — badges / CTA rise up into position, last thing the eye catches */
.section-hero .app-badges {
	animation: hero-fade-up 0.8s ease-out both;
	animation-delay: 1.2s;
}

.homepage-hero .section-hero__copy h1,
.homepage-hero .section-hero__subhead,
.homepage-hero .section-hero__visual,
.homepage-hero .app-badges {
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.section-hero__copy h1,
	.section-hero__subhead,
	.section-hero__visual,
	.section-hero .app-badges {
		animation: none;
	}
}

/* =============================================================
   SCROLL REVEAL — desktop enhancement, visible by default
   Content stays visible unless JS confirms reveal can run safely.
   ============================================================= */

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

[data-reveal] {
	opacity: 1;
	transform: none;
}

html.reveal-disabled [data-reveal],
html.reveal-ready.reveal-disabled [data-reveal] {
	opacity: 1;
	transform: none;
	transition: none;
}

html.reveal-ready [data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.7s ease-out,
		transform 0.7s ease-out;
}

html.reveal-ready [data-reveal].is-revealed {
	opacity: 1;
	transform: translateY(0);
}

/* Keep mobile fail-open unless JS opts into the lightweight mobile reveal. */
@media (max-width: 767px) {
	html.reveal-ready .home [data-reveal],
	html.reveal-disabled .home [data-reveal],
	html.mobile-reveal-off .home [data-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	html.mobile-reveal-ready:not(.mobile-reveal-off) .home [data-reveal]:not(.is-revealed) {
		opacity: 0.78;
		transform: translateY(14px);
		transition:
			opacity 380ms ease-out,
			transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	html.mobile-reveal-ready:not(.mobile-reveal-off) .home [data-reveal].is-revealed {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	html.reveal-ready [data-reveal],
	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* =============================================================
   MOBILE — homepage sections
   ============================================================= */

@media (max-width: 767px) {
	.section-hero {
		min-height: auto;
		padding: 2.5rem 0;
	}

	.section-hero__inner {
		gap: 2rem;
	}

	/* Stack business hero to single column on mobile */
	.section-hero__inner--business {
		flex-direction: column;
		text-align: center;
	}

	.section-hero__inner--business .section-hero__subhead {
		margin: 0 auto 1.5rem;
	}

	.section-hero__copy h1 {
		max-width: 100%;
		font-size: clamp(2rem, 7vw, 2.4rem);
	}

	.section-hero__subhead {
		max-width: 100%;
	}

	/* Shrink the phone carousel on mobile */
	.hero-phone-carousel {
		width: 240px;
		height: 520px;
	}

}

/* =============================================================
   HOMEPAGE REDESIGN — approved 2026 mock-up
   Scoped overrides for front-page.php only.
   ============================================================= */

.home .site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	margin-bottom: calc(-1 * (2.15rem + clamp(2.5rem, 4vw, 3.4rem)));
	pointer-events: none;
}

.home .site-header__inner {
	padding-top: 2.15rem;
	padding-bottom: 0;
}

.home .site-header a,
.home .site-header button {
	pointer-events: auto;
}

.home .site-logo {
	color: var(--colour-navy);
	font-size: clamp(2.5rem, 4vw, 3.4rem);
}

.home .site-nav__link:not(.site-nav__link--register) {
	color: rgba(11, 14, 50, 0.74);
}

.home .site-nav__link:not(.site-nav__link--register):hover,
.home .site-nav__link:not(.site-nav__link--register):focus-visible {
	color: rgba(11, 14, 50, 0.96);
}

.resource-page-template .site-header--scrolled,
.resource-page-template .site-header.is-menu-open,
.legal-page-template .site-header--scrolled,
.legal-page-template .site-header.is-menu-open {
	background: rgba(6, 18, 44, 0.9);
	border-bottom-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.homepage-hero {
	position: relative;
	min-height: 760px;
	padding: 9.4rem 0 3.85rem;
	overflow: hidden;
	background:
		radial-gradient(circle 620px at 92% 38%, rgba(1, 224, 255, 0.2), transparent 68%),
		radial-gradient(circle 560px at 61% 88%, rgba(131, 48, 231, 0.14), transparent 72%),
		radial-gradient(circle 560px at 6% 4%, rgba(255, 255, 255, 0.9), transparent 62%),
		linear-gradient(118deg, #fbfcff 0%, #f7f4ff 50%, #edf9ff 100%);
}

.homepage-hero::before {
	content: "";
	position: absolute;
	top: 4%;
	right: -12%;
	z-index: 0;
	width: min(46vw, 640px);
	height: min(46vw, 640px);
	border-radius: 50%;
	pointer-events: none;
	background:
		radial-gradient(circle at 42% 42%, rgba(1, 224, 255, 0.18), transparent 58%),
		radial-gradient(circle at 64% 60%, rgba(12, 255, 194, 0.12), transparent 64%);
	filter: blur(54px);
	opacity: 0.46;
	transform: translate3d(0, 0, 0) scale(1);
	animation: homepage-ambient-cyan 36s ease-in-out infinite alternate;
}

.homepage-hero::after {
	content: "";
	position: absolute;
	left: 12%;
	bottom: 8%;
	z-index: 0;
	width: min(50vw, 700px);
	height: min(38vw, 520px);
	border-radius: 50%;
	pointer-events: none;
	background:
		radial-gradient(circle at 46% 48%, rgba(131, 48, 231, 0.14), transparent 60%),
		radial-gradient(circle at 62% 58%, rgba(255, 23, 161, 0.08), transparent 66%);
	filter: blur(58px);
	opacity: 0.42;
	transform: translate3d(0, 0, 0) scale(1);
	animation: homepage-ambient-purple 42s ease-in-out infinite alternate;
}

.homepage-hero .container {
	position: relative;
	z-index: 2;
}

@keyframes homepage-ambient-cyan {
	0% {
		transform: translate3d(-2%, -1%, 0) scale(1.02);
	}

	50% {
		transform: translate3d(3%, 2%, 0) scale(1.06);
	}

	100% {
		transform: translate3d(-1%, 4%, 0) scale(1.04);
	}
}

@keyframes homepage-ambient-purple {
	0% {
		transform: translate3d(2%, 1%, 0) scale(1.02);
	}

	50% {
		transform: translate3d(-4%, 3%, 0) scale(1.07);
	}

	100% {
		transform: translate3d(1%, -2%, 0) scale(1.04);
	}
}

.homepage-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
	align-items: center;
	gap: clamp(2.5rem, 8vw, 8rem);
	text-align: left;
}

.homepage-hero__copy {
	max-width: 650px;
	padding-top: 0;
}

.homepage-hero__copy h1 {
	margin: 0;
	color: var(--colour-navy);
	font-family: "Inter", sans-serif;
	font-size: clamp(2.75rem, 5.35vw, 5.05rem);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.02;
}

.homepage-hero__gradient {
	margin: 1.35rem 0 1.95rem;
	padding-bottom: 0.08em;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.9rem, 3.25vw, 3.15rem);
	font-weight: 850;
	line-height: 1.08;
	background: var(--looma-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.homepage-hero__copy .section-hero__subhead {
	max-width: 540px;
	margin: 0;
	color: rgba(11, 14, 50, 0.9);
	font-size: clamp(1.08rem, 1.6vw, 1.42rem);
	font-weight: 500;
	line-height: 1.55;
}

.homepage-hero__badges {
	justify-content: flex-start;
	margin-top: 2.2rem;
}

.homepage-hero .homepage-hero__badges {
	margin-top: 2.2rem;
}

.homepage-hero__badges .app-badge {
	height: 58px;
}

.homepage-hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
}

.homepage-hero__visual::before {
	content: none;
}

.homepage-hero__phone-stage {
	width: 320px;
	height: 695px;
}

.homepage-hero__phone-stage .hero-phone-carousel {
	position: relative;
	inset: auto;
	left: auto;
	top: auto;
	transform: none;
	width: 100%;
	height: 100%;
	border-radius: 44px;
	box-shadow:
		0 34px 68px rgba(11, 14, 50, 0.24),
		0 0 76px rgba(131, 48, 231, 0.2);
}

.homepage-hero__phone-stage .hero-phone-slide {
	object-fit: contain;
}

.homepage-dark {
	position: relative;
	margin-top: -1px;
	overflow: hidden;
	background:
		radial-gradient(circle 760px at 12% 12%, rgba(131, 48, 231, 0.09), transparent 68%),
		radial-gradient(circle 820px at 92% 46%, rgba(1, 224, 255, 0.07), transparent 72%),
		var(--looma-dark-page);
	color: #ffffff;
}

.homepage-dark::before {
	content: none;
}

.homepage-section {
	position: relative;
	z-index: 1;
	padding: clamp(4.5rem, 8vw, 6.6rem) 0;
}

.homepage-features {
	padding-top: clamp(5.25rem, 9vw, 7.5rem);
}

.homepage-section__heading {
	max-width: 920px;
	margin: 0 auto clamp(3rem, 6vw, 4.5rem);
	text-align: center;
}

.homepage-section__heading h2 {
	margin: 0 0 1.1rem;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(2.05rem, 4vw, 3.35rem);
	font-weight: 850;
	line-height: 1.05;
}

.homepage-section__heading h2 span {
	background: var(--looma-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.homepage-section__heading p {
	max-width: 820px;
	margin: 0 auto;
	color: var(--looma-copy-bright);
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.55;
}

.homepage-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.75rem, 4vw, 4.25rem);
	max-width: 1050px;
	margin: 0 auto;
}

.homepage-feature-card {
	position: relative;
	--accent: #7f3cff;
	text-align: center;
	transition: transform var(--looma-transition);
}

.homepage-feature-card::after {
	content: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
	.homepage-features .homepage-feature-grid > .homepage-feature-card {
		transition: transform var(--looma-transition);
	}

	.homepage-features .homepage-feature-grid > .homepage-feature-card:hover {
		transform: translateY(-6px) scale(1.01) !important;
	}

	.homepage-features .homepage-feature-grid > .homepage-feature-card:hover .homepage-feature-card__media {
		border-color: color-mix(in srgb, var(--accent) 34%, rgba(255, 255, 255, 0.14));
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
			rgba(255, 255, 255, 0.04);
		box-shadow:
			0 20px 46px rgba(0, 0, 0, 0.18),
			0 0 34px color-mix(in srgb, var(--accent) 13%, transparent),
			inset 0 0 24px rgba(255, 255, 255, 0.045);
	}
}

.homepage-feature-card__media {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: min(100%, 210px);
	height: 178px;
	margin: 0 auto 1.65rem;
	padding: 0.45rem;
	overflow: hidden;
	border-radius: var(--looma-radius-card);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
		var(--looma-surface);
	color: var(--accent);
	border: 1px solid color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, 0.1));
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.12),
		0 0 26px color-mix(in srgb, var(--accent) 8%, transparent),
		inset 0 0 24px rgba(255, 255, 255, 0.035);
	transition:
		background 280ms ease,
		border-color 280ms ease,
		box-shadow 280ms ease;
}

.homepage-feature-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 18px;
}

.homepage-feature-card__media--compare img {
	object-position: 50% 36%;
}

.homepage-feature-card__media--together img {
	object-position: 50% 40%;
}

.homepage-feature-card__media--time img {
	object-position: 50% 50%;
}

.homepage-feature-card__media--control img {
	justify-self: start;
	width: 135%;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.homepage-feature-card h3 {
	min-height: 3.1rem;
	margin: 0 0 1rem;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	font-weight: 850;
	line-height: 1.2;
}

.homepage-feature-card p {
	max-width: 245px;
	margin: 0 auto;
	color: var(--looma-copy-bright);
	font-size: clamp(0.96rem, 1.2vw, 1.1rem);
	line-height: 1.6;
}

.homepage-feature-card--purple {
	--accent: #7f3cff;
}

.homepage-feature-card--pink {
	--accent: #ff2c91;
}

.homepage-feature-card--cyan {
	--accent: #02d8ff;
}

.homepage-feature-card--green {
	--accent: #10f0b8;
}

.homepage-divider {
	height: 1px;
	width: 100%;
	margin: 0 0 1.8rem;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.homepage-seen,
.homepage-team,
.homepage-final-cta {
	padding-top: 0;
}

.homepage-seen h2 {
	margin: 0 0 2.45rem;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(2rem, 3.3vw, 2.75rem);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.05;
	text-align: center;
}

.homepage-seen h2::after {
	content: none;
}

.homepage-logo-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: clamp(1.25rem, 3.4vw, 2.75rem);
	max-width: 1040px;
	margin: 0 auto;
}

.homepage-logo-strip a,
.homepage-logo-strip img,
.homepage-logo-card {
	border: 0;
}

.homepage-logo-strip > img,
.homepage-logo-card {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 270px;
	height: 112px;
	padding: 1.45rem 1.6rem;
	margin: 0 auto;
	object-fit: contain;
	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: var(--looma-radius-card);
	background: var(--looma-surface);
	box-shadow: none;
	opacity: 0.96;
	filter: none;
	transition:
		opacity 320ms ease,
		filter 320ms ease,
		transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
		background-color 320ms ease,
		border-color 320ms ease,
		box-shadow 320ms ease;
}

.homepage-logo-strip > img:nth-child(1) {
	max-width: 245px;
	padding: 1rem 1.25rem;
}

.homepage-logo-strip > img:nth-child(2) {
	max-width: 280px;
	padding: 1.6rem 1.7rem;
}

.homepage-logo-card--insurtech {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 275px;
	padding: 1rem 1.3rem;
}

.homepage-logo-card__plate {
	display: flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 220px;
	padding: 1.25rem 1.35rem;
	border-radius: 18px;
	background: #fafbfc;
	box-shadow: 0 1px 2px rgba(25, 25, 66, 0.06);
}

.homepage-logo-card__plate img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.homepage-logo-carousel-dots {
	display: none;
}

@media (hover: hover) {
	.homepage-logo-strip > img:hover,
	.homepage-logo-card:hover {
		opacity: 1;
		transform: translateY(-2px);
		border-color: rgba(255, 255, 255, 0.13);
		background: rgba(255, 255, 255, 0.05);
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	}
}

.homepage-section__heading--compact {
	margin-bottom: 2rem;
}

.homepage-section__heading--compact h2 {
	font-size: clamp(1.65rem, 2.7vw, 2.25rem);
}

.homepage-founder-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 245px));
	justify-content: center;
	gap: clamp(2.6rem, 7vw, 6.25rem);
}

.homepage-founder {
	text-align: center;
}

.homepage-founder__portrait {
	--founder-portrait-size: clamp(190px, 19vw, 245px);

	display: block;
	width: var(--founder-portrait-size);
	height: var(--founder-portrait-size);
	aspect-ratio: 1 / 1;
	margin: 0 auto 1rem;
	border-radius: 50%;
	overflow: hidden;
	object-fit: cover;
	object-position: center;
	border: 2px solid rgba(126, 61, 255, 0.76);
	box-shadow:
		0 0 35px rgba(126, 61, 255, 0.35),
		0 20px 50px rgba(0, 0, 0, 0.22);
	filter: grayscale(1) brightness(1.04) contrast(1.04);
	transition:
		transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 360ms ease,
		border-color 360ms ease;
}

@media (hover: hover) {
	.homepage-founder:hover .homepage-founder__portrait {
		transform: translateY(-4px);
		border-color: rgba(1, 224, 255, 0.68);
		box-shadow:
			0 0 42px rgba(126, 61, 255, 0.32),
			0 24px 58px rgba(0, 0, 0, 0.26);
	}
}

.homepage-founder h3 {
	margin: 0 0 0.2rem;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: 1.1rem;
	font-weight: 850;
}

.homepage-founder p {
	margin: 0;
	color: var(--looma-copy-bright);
	font-size: 0.96rem;
}

.homepage-final-cta {
	padding-bottom: clamp(5.25rem, 9vw, 7.25rem);
}

.homepage-final-cta__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(0.5rem, 2vw, 1.5rem);
	text-align: center;
}

.homepage-final-cta h2 {
	margin: 0 0 clamp(2.2rem, 3.8vw, 2.75rem);
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(2.4rem, 4.9vw, 4.15rem);
	font-weight: 850;
	line-height: 1.05;
}

@media (min-width: 900px) {
	.homepage-final-cta h2 {
		white-space: nowrap;
	}
}

.homepage-final-cta h2 span {
	background: var(--looma-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.homepage-final-cta p {
	max-width: 620px;
	margin: 0 auto 1.9rem;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.45;
}

.homepage-final-cta__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	overflow: visible;
}

.app-badge-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	cursor: pointer;
	overflow: visible;
	transition:
		transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
		filter 320ms ease;
}

.app-badge-link .app-badge {
	display: block;
	flex: 0 0 auto;
	pointer-events: none;
}

.homepage-final-cta .app-badge {
	height: 66px;
}

@media (hover: hover) {
	.app-badge-link:hover,
	.app-badge-link:focus-visible {
		transform: translateY(-2px);
		filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.22));
	}
}

/* =============================================================
   RESOURCES — index, article and homepage preview
   ============================================================= */

.homepage-resources-preview {
	padding-top: clamp(4.5rem, 8vw, 6.5rem);
}

#how-it-works,
#team {
	scroll-margin-top: 96px;
}

.homepage-resources-preview__link {
	margin: clamp(4.25rem, 7vw, 5.5rem) 0 0;
	text-align: center;
}

.homepage-resources-preview__link a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: rgba(255, 255, 255, 0.78);
	font-weight: 800;
	text-decoration: none;
	transition:
		color 240ms ease,
		transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
	.homepage-resources-preview__link a:hover,
	.homepage-resources-preview__link a:focus-visible {
		color: var(--colour-turquoise);
		transform: translateY(-1px);
		outline: none;
	}
}

.resources-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(6.25rem, 10vw, 9rem) 0 clamp(4.75rem, 8vw, 7rem);
	text-align: center;
	background:
		radial-gradient(circle 680px at 76% 12%, rgba(1, 224, 255, 0.11), transparent 68%),
		radial-gradient(circle 620px at 18% 84%, rgba(131, 48, 231, 0.14), transparent 70%),
		var(--looma-dark-page);
}

.resources-hero .container {
	max-width: 940px;
}

.resources-hero__eyebrow {
	margin: 0 0 1rem;
	color: var(--colour-turquoise);
	font-size: 0.75rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.resources-hero h1 {
	margin: 0;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(3.2rem, 8vw, 6.25rem);
	font-weight: 850;
	line-height: 0.98;
	letter-spacing: 0;
}

.resources-hero p:last-child {
	max-width: 720px;
	margin: 1.4rem auto 0;
	color: var(--looma-copy-bright);
	font-size: clamp(1.05rem, 1.8vw, 1.28rem);
	line-height: 1.55;
}

.resources-hero--article .container > p:not(.resources-hero__eyebrow) {
	max-width: 720px;
	margin: 1.4rem auto 0;
	color: var(--looma-copy-bright);
	font-size: clamp(1.05rem, 1.8vw, 1.22rem);
	line-height: 1.58;
}

.resources-index-section,
.resource-article-section,
.resources-related {
	background: var(--looma-dark-page);
	color: #ffffff;
}

.resources-index-section {
	padding: clamp(4.75rem, 8vw, 7rem) 0 clamp(5.5rem, 9vw, 7.5rem);
}

.resources-related {
	padding: 0 0 clamp(5rem, 9vw, 7rem);
}

.resources-section-heading {
	max-width: 760px;
	margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}

.resources-section-heading h2 {
	margin: 0 0 0.9rem;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.85rem, 3.5vw, 2.65rem);
	font-weight: 850;
	line-height: 1.06;
}

.resources-section-heading p {
	margin: 0 auto;
	color: var(--looma-copy-muted);
	font-size: 1.02rem;
	line-height: 1.55;
}

.resource-card-grid {
	counter-reset: resource-card;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2.2vw, 1.45rem);
	align-items: stretch;
	grid-auto-rows: 1fr;
	max-width: 1040px;
	margin: 0 auto;
}

.resource-card-grid--preview {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1120px;
	gap: clamp(1rem, 2vw, 1.55rem);
}

.resource-card-grid--index {
	max-width: 1060px;
	gap: clamp(1.15rem, 2.6vw, 1.8rem);
}

.resource-card-grid--related {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 760px;
}

.resource-card {
	counter-increment: resource-card;
	display: flex;
	min-width: 0;
}

.resource-card__link {
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	height: 100%;
	padding: clamp(1.35rem, 2.8vw, 2rem);
	overflow: hidden;
	border: 1px solid var(--looma-border);
	border-radius: var(--looma-radius-card);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.026)),
		radial-gradient(circle 360px at 92% -18%, rgba(1, 224, 255, 0.11), transparent 62%),
		radial-gradient(circle 320px at 0% 100%, rgba(131, 48, 231, 0.12), transparent 64%);
	color: #ffffff;
	text-decoration: none;
	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	transition:
		transform var(--looma-transition),
		border-color 280ms ease,
		background-color 280ms ease,
		box-shadow 280ms ease;
}

.resource-card:nth-child(2n) .resource-card__link {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.026)),
		radial-gradient(circle 340px at 90% -16%, rgba(12, 255, 194, 0.1), transparent 64%),
		radial-gradient(circle 320px at 4% 106%, rgba(255, 23, 161, 0.1), transparent 66%);
}

.resource-card__link::before {
	content: counter(resource-card) ".";
	margin-bottom: clamp(1rem, 2.2vw, 1.45rem);
	color: var(--colour-turquoise);
	font-size: 0.78rem;
	font-weight: 850;
	line-height: 1;
	letter-spacing: 0.08em;
}

.resource-card__body {
	display: block;
	max-width: 35rem;
	margin-bottom: clamp(1.35rem, 2.8vw, 2rem);
	overflow-wrap: anywhere;
}

.resource-card__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.76);
	background: rgba(255, 255, 255, 0.045);
	font-weight: 800;
	line-height: 1;
	transition:
		transform 260ms ease,
		color 260ms ease,
		border-color 260ms ease,
		background-color 260ms ease;
}

.resource-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: auto;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.92rem;
	font-weight: 820;
	line-height: 1;
}

.resource-card__link h3 {
	margin: 0 0 0.85rem;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.32rem, 2.05vw, 1.78rem);
	font-weight: 850;
	line-height: 1.08;
}

.resource-card__link p {
	margin: 0;
	color: var(--looma-copy-muted);
	font-size: clamp(0.94rem, 1.15vw, 1rem);
	line-height: 1.55;
}

.resource-card--preview .resource-card__link {
	padding: clamp(1.25rem, 2.4vw, 1.65rem);
}

.resource-card--preview .resource-card__link h3 {
	font-size: clamp(1.15rem, 1.75vw, 1.45rem);
}

.resource-card--related .resource-card__link {
	padding: 1.25rem;
	border-radius: 20px;
}

.resource-card--related .resource-card__link h3 {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

@media (hover: hover) and (pointer: fine) {
	.resource-card__link:hover,
	.resource-card__link:focus-visible {
		transform: translateY(-5px);
		border-color: rgba(1, 224, 255, 0.22);
		background: rgba(255, 255, 255, 0.05);
		box-shadow:
			0 24px 70px rgba(0, 0, 0, 0.18),
			0 0 34px rgba(1, 224, 255, 0.06),
			inset 0 1px 0 rgba(255, 255, 255, 0.06);
		outline: 1px solid rgba(12, 255, 194, 0.18);
		outline-offset: 3px;
	}

	.resource-card__link:hover .resource-card__arrow,
	.resource-card__link:focus-visible .resource-card__arrow {
		color: #ffffff;
		border-color: rgba(12, 255, 194, 0.24);
		background: rgba(12, 255, 194, 0.08);
		transform: translateX(2px);
	}
}

.resource-breadcrumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin-bottom: 1.3rem;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.88rem;
}

.resource-breadcrumb a {
	color: var(--looma-copy-bright);
	text-decoration: none;
}

.resource-breadcrumb a:hover,
.resource-breadcrumb a:focus-visible {
	color: var(--colour-turquoise);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	outline: none;
}

.resources-hero--article h1 {
	max-width: 880px;
	margin-right: auto;
	margin-left: auto;
	font-size: clamp(2.45rem, 6vw, 4.65rem);
	line-height: 1.02;
}

.resources-hero--article {
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.resource-article-meta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.6rem;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.64);
	font-size: 0.82rem;
	font-weight: 750;
	letter-spacing: 0.02em;
}

.resource-article-section {
	padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.resource-reading {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2rem);
	color: rgba(255, 255, 255, 0.8);
	font-size: clamp(1.02rem, 1.25vw, 1.14rem);
	line-height: 1.82;
}

.resource-contents {
	margin: 0 0 clamp(2.75rem, 6vw, 4rem);
	padding: 0 0 clamp(1.75rem, 4vw, 2.25rem);
	border-bottom: 1px solid var(--looma-border);
}

.resource-contents p {
	margin: 0 0 1rem;
	color: #ffffff;
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.resource-contents ol {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.resource-contents a {
	color: var(--looma-copy-muted);
	text-decoration: none;
	transition: color 220ms ease;
}

.resource-contents a:hover,
.resource-contents a:focus-visible {
	color: var(--colour-turquoise);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	outline: none;
}

.resource-reading__content {
	position: relative;
}

.resource-reading h2 {
	margin: clamp(3.25rem, 6vw, 4.25rem) 0 1rem;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.65rem, 2.7vw, 2.12rem);
	font-weight: 850;
	line-height: 1.14;
	scroll-margin-top: 96px;
}

.resource-reading h2:first-child {
	margin-top: 0;
}

.resource-reading h3 {
	margin: 2.4rem 0 0.85rem;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.22rem, 2vw, 1.5rem);
	font-weight: 850;
	line-height: 1.2;
}

.resource-reading p,
.resource-reading ul,
.resource-reading ol {
	margin: 0 0 1.25rem;
}

.resource-reading ul,
.resource-reading ol {
	padding-left: 1.35rem;
}

.resource-reading li {
	margin-bottom: 0.7rem;
}

.resource-reading a {
	color: var(--colour-turquoise);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.home .site-footer .container,
.legal-page-template .site-footer .container,
.resource-page-template .site-footer .container {
	display: block;
}

.home .site-footer,
.legal-page-template .site-footer,
.resource-page-template .site-footer {
	background: #06122c;
	border-top-color: transparent;
}

.home .footer-grid,
.legal-page-template .footer-grid,
.resource-page-template .footer-grid {
	grid-template-columns: auto max-content;
	justify-content: start;
	align-items: center;
	max-width: 1125px;
	margin-right: auto;
	margin-left: auto;
	gap: clamp(4rem, 9vw, 7rem);
}

.home .footer-brand,
.legal-page-template .footer-brand,
.resource-page-template .footer-brand {
	align-items: flex-start;
	text-align: left;
}

.home .footer-nav-row,
.legal-page-template .footer-nav-row,
.resource-page-template .footer-nav-row {
	justify-self: start;
}

.home .footer-legal,
.legal-page-template .footer-legal,
.resource-page-template .footer-legal {
	max-width: 1125px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.home .site-footer .container > .footer-legal,
.legal-page-template .site-footer .container > .footer-legal,
.resource-page-template .site-footer .container > .footer-legal {
	width: 100%;
}

@media (max-width: 1100px) {
	.homepage-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
		gap: 3rem;
	}

	.homepage-hero__phone-stage {
		width: 280px;
		height: 608px;
	}

	.homepage-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 3.5rem;
		max-width: 720px;
	}

	.resource-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 900px;
	}

	.resource-card-grid--preview {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 100%;
	}

	.homepage-feature-card__media {
		width: min(100%, 228px);
		height: 190px;
	}

	.homepage-feature-card::after {
		content: none;
	}
}

@media (min-width: 768px) and (max-width: 900px) {
	.homepage-hero {
		padding-bottom: 4.75rem;
	}

	.homepage-hero__inner {
		grid-template-columns: 1fr;
		gap: 3.5rem;
		text-align: center;
	}

	.homepage-hero__copy {
		max-width: 680px;
		margin: 0 auto;
	}

	.homepage-hero__copy .section-hero__subhead {
		margin: 0 auto;
	}

	.homepage-hero__badges {
		justify-content: center;
	}

	.homepage-hero__phone-stage {
		width: 285px;
		height: auto;
		aspect-ratio: 320 / 695;
	}

	.resource-card-grid--preview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 680px;
	}
}

@media (max-width: 767px) {
	.home .site-header {
		position: sticky;
		margin-bottom: -4.8rem;
	}

	.home .site-header__inner {
		align-items: center;
		justify-content: space-between;
		min-height: 4.8rem;
		padding-top: 1rem;
		padding-bottom: 0;
	}

	.home .site-logo {
		font-size: clamp(2.05rem, 10vw, 2.45rem);
	}

	.homepage-hero {
		min-height: auto;
		padding: 6.2rem 0 3.75rem;
	}

	.homepage-hero__inner {
		grid-template-columns: 1fr;
		gap: 2.65rem;
		text-align: center;
	}

	.homepage-hero__copy {
		max-width: 560px;
		margin: 0 auto;
	}

	.homepage-hero__copy .section-hero__subhead {
		margin: 0 auto;
	}

	.homepage-hero__badges {
		justify-content: center;
		margin-top: 1.8rem;
	}

	.homepage-hero__badges .app-badge {
		height: 52px;
	}

	.homepage-hero__phone-stage {
		width: min(255px, 74vw);
		height: auto;
		aspect-ratio: 320 / 695;
	}

	.homepage-hero__phone-stage .hero-phone-carousel {
		box-shadow: 0 18px 36px rgba(11, 14, 50, 0.18);
	}

	.homepage-dark {
		overflow: visible;
	}

	.homepage-section {
		padding: 4rem 0;
	}

	.homepage-features {
		padding-top: 5rem;
	}

	.homepage-feature-grid,
	.homepage-logo-strip,
	.homepage-founder-grid,
	.resource-card-grid,
	.resource-card-grid--related {
		grid-template-columns: 1fr;
	}

	.resource-card-grid {
		max-width: 420px;
	}

	.resources-hero {
		padding-top: 5.5rem;
	}

	.resources-hero h1 {
		font-size: clamp(2.45rem, 12vw, 3.4rem);
	}

	.resource-reading {
		line-height: 1.68;
	}

	.homepage-logo-strip {
		gap: 1rem;
		max-width: 380px;
	}

	.homepage-logo-strip > img,
	.homepage-logo-card {
		max-width: 320px;
		height: 92px;
		padding: 1.15rem 1.3rem;
	}

	.homepage-feature-card {
		max-width: 330px;
		margin: 0 auto;
		transform: none;
		filter: none;
		transition: none;
	}

	.homepage-feature-card__media {
		box-shadow:
			0 8px 22px rgba(0, 0, 0, 0.1),
			inset 0 0 18px rgba(255, 255, 255, 0.025);
		transition: none;
	}

	.homepage-logo-strip > img,
	.homepage-logo-card,
	.homepage-logo-carousel-dot,
	.homepage-logo-carousel-dot::before,
	.app-badge-link,
	.app-badge-link .app-badge {
		transition: none;
	}

	.homepage-logo-strip > img,
	.homepage-logo-card {
		box-shadow: none;
		filter: none;
	}

	.homepage-founder__portrait {
		box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
		transition: none;
	}

	.app-badge-link {
		transform: none;
		filter: none;
	}

	.home .footer-grid,
	.legal-page-template .footer-grid,
	.resource-page-template .footer-grid {
		grid-template-columns: 1fr;
		max-width: 620px;
		text-align: center;
	}

	.home .footer-brand,
	.legal-page-template .footer-brand,
	.resource-page-template .footer-brand {
		grid-column: 1 / -1;
		align-items: center;
		text-align: center;
	}

	.home .footer-nav-row,
	.legal-page-template .footer-nav-row,
	.resource-page-template .footer-nav-row {
		justify-self: center;
		justify-content: center;
	}

	.homepage-founder-grid {
		gap: 2.4rem;
	}

	.homepage-final-cta__actions {
		flex-direction: column;
	}

}

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

	.homepage-hero::before,
	.homepage-hero::after {
		animation: none;
		transform: none;
	}

	.site-header,
	.homepage-feature-card,
	.homepage-feature-card__media,
	.homepage-logo-strip > img,
	.homepage-logo-card,
	.homepage-logo-carousel-dot,
	.homepage-logo-carousel-dot::before,
	.homepage-founder__portrait,
	.resource-card__link,
	.resource-card__arrow,
	.resource-contents a,
	.app-badge-link,
	.app-badge-link .app-badge {
		transition: none;
	}

	.homepage-feature-card:hover,
	.homepage-feature-card:hover .homepage-feature-card__media,
	.homepage-logo-strip > img:hover,
	.homepage-logo-card:hover,
	.homepage-founder:hover .homepage-founder__portrait,
	.resource-card__link:hover,
	.resource-card__link:focus-visible,
	.app-badge-link:hover,
	.app-badge-link:focus-visible,
	.footer-logo:hover,
	.footer-logo:focus-visible {
		transform: none;
	}
}

@media (max-width: 480px) {
	.homepage-hero__copy h1 {
		font-size: clamp(2.05rem, 10vw, 2.55rem);
		line-height: 1.04;
	}

	.homepage-hero__gradient {
		margin: 1.1rem 0 1.45rem;
		font-size: clamp(1.5rem, 8vw, 2rem);
		line-height: 1.12;
	}

	.homepage-hero__copy .section-hero__subhead {
		font-size: 1rem;
		line-height: 1.55;
	}

	.homepage-section {
		padding: 3.35rem 0;
	}

	.homepage-features {
		padding-top: 4.2rem;
	}

	.homepage-section__heading {
		margin-bottom: 2.6rem;
	}

	.homepage-section__heading h2,
	.homepage-final-cta h2 {
		font-size: clamp(1.85rem, 8.5vw, 2.35rem);
		line-height: 1.08;
	}

	.homepage-section__heading p,
	.homepage-final-cta p {
		font-size: 0.98rem;
	}

	.homepage-final-cta h2 {
		font-size: clamp(2.05rem, 9vw, 2.55rem);
	}

	.homepage-feature-card__media {
		width: min(100%, 228px);
		height: 184px;
		margin-bottom: 1.35rem;
		border-radius: 22px;
	}

	.homepage-feature-card h3 {
		min-height: 0;
	}

	.resource-card__link {
		border-radius: 20px;
	}

	.homepage-founder-grid {
		gap: 2.1rem;
	}

	.homepage-founder__portrait {
		--founder-portrait-size: 128px;
	}

	.homepage-final-cta {
		padding-bottom: 4.5rem;
	}

	.homepage-final-cta .app-badge {
		height: 58px;
	}

	.home .footer-grid,
	.legal-page-template .footer-grid,
	.resource-page-template .footer-grid {
		grid-template-columns: 1fr;
		max-width: 320px;
		text-align: center;
	}

	.home .footer-nav-row,
	.legal-page-template .footer-nav-row,
	.resource-page-template .footer-nav-row {
		align-items: center;
	}

	.home .footer-legal,
	.legal-page-template .footer-legal,
	.resource-page-template .footer-legal {
		max-width: 34rem;
		font-size: 0.7rem;
	}
}

@media (max-width: 767px) {
	.homepage-seen {
		overflow: hidden;
	}

	.homepage-logo-strip {
		display: flex;
		grid-template-columns: none;
		width: 100vw;
		max-width: none;
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
		padding: 0 max(1.5rem, calc((100vw - min(86vw, 360px)) / 2)) 0;
		gap: 1rem;
		overflow-x: auto;
		overflow-y: visible;
		scroll-padding-inline: max(1.5rem, calc((100vw - min(86vw, 360px)) / 2));
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.homepage-logo-strip::-webkit-scrollbar {
		display: none;
	}

	.homepage-logo-strip > img,
	.homepage-logo-strip > img:nth-child(1),
	.homepage-logo-strip > img:nth-child(2),
	.homepage-logo-card {
		flex: 0 0 min(86vw, 360px);
		width: min(86vw, 360px);
		max-width: min(86vw, 360px);
		height: 112px;
		margin: 0;
		scroll-snap-align: center;
		scroll-snap-stop: always;
	}

	.homepage-logo-card__plate {
		max-width: 220px;
	}

	.homepage-logo-carousel-dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.55rem;
		margin-top: 1.2rem;
	}

	.homepage-logo-carousel-dot {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 20px;
		height: 20px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: transparent;
		cursor: pointer;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}

	.homepage-logo-carousel-dot::before {
		content: "";
		display: block;
		width: 7px;
		height: 7px;
		border-radius: 999px;
		background: rgba(154, 176, 210, 0.36);
		transition:
			width 260ms ease,
			background-color 260ms ease,
			box-shadow 260ms ease,
			opacity 260ms ease;
	}

	.homepage-logo-carousel-dot.is-active::before {
		width: 20px;
		background: linear-gradient(90deg, #0cffc2 0%, #01e0ff 100%);
		box-shadow: 0 0 16px rgba(1, 224, 255, 0.28);
	}
}

@media (max-width: 430px) {
	.homepage-hero {
		padding-top: 5.85rem;
	}
}

@media (max-width: 767px) {
	.home .homepage-section,
	.home .homepage-feature-card__media,
	.home .homepage-logo-strip,
	.home .homepage-logo-strip > img,
	.home .homepage-logo-card,
	.home .homepage-founder__portrait,
	.home .app-badge-link {
		visibility: visible !important;
		opacity: 1 !important;
		filter: none !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}

	.home .homepage-hero__phone-stage .hero-phone-carousel,
	.home .homepage-feature-card__media,
	.home .homepage-logo-strip > img,
	.home .homepage-logo-card {
		box-shadow: none !important;
	}

	.home .homepage-founder__portrait {
		filter: grayscale(1) !important;
		box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
	}

	.home .homepage-logo-strip {
		scroll-behavior: auto !important;
	}

	.home .homepage-logo-carousel-dot,
	.home .homepage-logo-carousel-dot::before {
		transition: none !important;
		box-shadow: none !important;
	}
}
