/* Hyperfox site styles. Flat colors only.
   Layout works without JS or Tailwind (stacked, readable); Tailwind CDN and GSAP only enhance. */

@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/dm-sans-latin.woff2') format('woff2');
}

:root {
	--ink: #111111;
	--paper: #f5f2eb;
	--paper-2: #ece7db;
	--fox: #148348;
	--muted: #5b5851;
	--line: #d9d4c8;
	--on-dark: #d8d2c4;
	--display:
		'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img,
svg {
	max-width: 100%;
	height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
	margin: 0;
}
ul,
ol {
	padding: 0;
	list-style: none;
}
a {
	color: inherit;
	text-decoration-color: var(--fox);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
a:hover {
	text-decoration-color: currentColor;
}
:focus-visible {
	outline: 3px solid var(--fox);
	outline-offset: 3px;
}
.section-dark :focus-visible,
.site-footer :focus-visible,
.marquee :focus-visible {
	outline-color: var(--paper);
}
.svg-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	background: var(--ink);
	color: var(--paper);
	padding: 0.75rem 1rem;
	border-radius: 0.25rem;
}
.skip-link:focus {
	top: 1rem;
}

.container-hf {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}
@media (min-width: 640px) {
	.container-hf {
		padding-inline: 2rem;
	}
}

.display {
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 0.96;
}
.text-fox {
	color: var(--fox);
}
.eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1rem;
}
.eyebrow-light {
	color: var(--on-dark);
}
.lead {
	font-size: 1.1875rem;
	line-height: 1.55;
	color: var(--muted);
	max-width: 40rem;
	margin-top: 1.5rem;
}
.lead-light {
	color: var(--on-dark);
}
.h1 {
	font-size: clamp(2.6rem, 7vw, 5rem);
}
.h2 {
	font-size: clamp(2.4rem, 6vw, 4.75rem);
}

/* Buttons: solid dark, solid fox, or outline */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border: 2px solid var(--ink);
	border-radius: 999px;
	font: 600 1rem/1.2 var(--body);
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
}
.btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: 3px 3px 0 var(--ink);
}
.btn:active {
	transform: translate(0, 0);
	box-shadow: none;
}
.btn-dark {
	background: var(--ink);
	color: var(--paper);
}
.btn-dark:hover {
	box-shadow: 3px 3px 0 var(--fox);
}
.btn-fox {
	background: var(--fox);
	color: var(--ink);
}
.btn-outline {
	background: transparent;
	color: var(--ink);
}
.btn-sm {
	padding: 0.55rem 1.1rem;
	font-size: 0.9375rem;
}
.btn-lg {
	padding: 1rem 1.75rem;
	font-size: 1.0625rem;
	width: 100%;
}
.section-dark .btn-fox {
	border-color: var(--paper);
}
.section-dark .btn-fox:hover {
	box-shadow: 3px 3px 0 var(--paper);
}

.chip {
	display: inline-block;
	background: var(--ink);
	color: var(--paper);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	line-height: 1.3;
}
.price-card .chip {
	align-self: flex-start;
}
.chip-outline {
	background: transparent;
	color: var(--ink);
	border: 1.5px solid currentColor;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-bottom: 2px solid var(--ink);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 4.25rem;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
}
.brand-word {
	font-family: var(--display);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: -0.04em;
}
.nav-desktop,
.nav-cta {
	display: none;
}
.nav-desktop ul {
	display: flex;
	gap: 0.25rem;
}
.nav-desktop a {
	display: block;
	padding: 0.5rem 0.85rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current='true'] {
	border-bottom-color: var(--fox);
}
.nav-mobile {
	margin-left: auto;
}
.nav-mobile summary {
	list-style: none;
	cursor: pointer;
	font-weight: 600;
	padding: 0.5rem 1.1rem;
	border: 2px solid var(--ink);
	border-radius: 999px;
}
.nav-mobile summary::-webkit-details-marker {
	display: none;
}
.nav-mobile[open] summary {
	background: var(--ink);
	color: var(--paper);
}
.nav-mobile nav {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--paper);
	border-bottom: 2px solid var(--ink);
	padding: 0.75rem 1.25rem 1.5rem;
}
.nav-mobile li a:not(.btn) {
	display: block;
	padding: 0.6rem 0;
	font: 700 1.75rem/1.2 var(--display);
	letter-spacing: -0.03em;
	text-decoration: none;
	border-bottom: 1.5px solid var(--line);
}
.nav-mobile li:last-child {
	margin-top: 1rem;
}
.nav-mobile .btn {
	width: 100%;
}
@media (min-width: 900px) {
	.nav-desktop {
		display: block;
		margin-left: auto;
	}
	.nav-cta {
		display: inline-flex;
	}
	.nav-mobile {
		display: none;
	}
}

/* Hero */
.hero {
	padding: 2.5rem 0 3.5rem;
}
.hero-grid {
	display: grid;
	gap: 3rem;
	align-items: center;
}
.hero-title {
	font-size: clamp(2.7rem, 6.6vw, 5.6rem);
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}
@media (min-width: 1024px) {
	.hero {
		padding: 4rem 0 5rem;
	}
	.hero-grid {
		grid-template-columns: 1.05fr 1fr;
		gap: 3rem;
	}
}

.collage {
	position: relative;
	width: 100%;
	max-width: 38rem;
	aspect-ratio: 1 / 1;
	margin-inline: auto;
}
.tile {
	position: absolute;
	width: 33%;
	aspect-ratio: 1 / 1;
	background: #fff;
	border: 2px solid var(--ink);
	overflow: hidden;
	transition: scale 0.25s ease;
}
.tile svg {
	display: block;
	width: 100%;
	height: 100%;
}
.tile:hover {
	scale: 1.06;
	z-index: 10;
}
.tile-sand {
	background: var(--paper-2);
}
.tile-paper {
	background: #fff;
}
.tile-ink {
	background: var(--ink);
}
.tile-fox {
	background: var(--fox);
}
.f-ink {
	fill: var(--ink);
}
.f-fox {
	fill: var(--fox);
}
.f-paper {
	fill: #fff;
}
.f-sand {
	fill: var(--paper-2);
}
.tile .chip {
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 0;
	z-index: 2;
}
.t1 {
	left: 0;
	top: 6%;
	rotate: -4deg;
}
.t2 {
	left: 28%;
	top: 0;
	rotate: 3deg;
	width: 40%;
	z-index: 3;
}
.t3 {
	left: 65%;
	top: 8%;
	rotate: -2deg;
	width: 34%;
}
.t4 {
	left: 3%;
	top: 37%;
	rotate: 3deg;
	width: 30%;
}
.t5 {
	left: 35%;
	top: 36%;
	rotate: -3deg;
	width: 29%;
	z-index: 4;
}
.t6 {
	left: 67%;
	top: 41%;
	rotate: 2deg;
	width: 31%;
}
.t7 {
	left: 9%;
	top: 67%;
	rotate: -2deg;
	width: 30%;
}
.t8 {
	left: 41%;
	top: 67%;
	rotate: 3deg;
	width: 30%;
}
.badge-spin {
	position: absolute;
	left: 74%;
	top: 74%;
	width: 25%;
	aspect-ratio: 1 / 1;
	z-index: 5;
}
.badge-spin > svg:first-child {
	display: block;
	width: 100%;
	height: 100%;
	animation: hf-spin 20s linear infinite;
}
.badge-spin circle {
	fill: var(--ink);
}
.badge-text {
	fill: var(--paper);
	font: 700 11.5px var(--display);
	letter-spacing: 0.1em;
}
.badge-mark {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 30%;
	height: auto;
	transform: translate(-50%, -50%);
}
@keyframes hf-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Ticker */
.marquee {
	overflow: hidden;
	background: var(--ink);
	color: var(--paper);
	border-block: 2px solid var(--ink);
}
.marquee-track {
	display: flex;
	width: max-content;
	animation: hf-marquee 38s linear infinite;
}
.marquee-group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 2rem;
	padding: 1rem 2rem 1rem 0;
}
.marquee-group li {
	font: 700 clamp(1.5rem, 3.4vw, 2.5rem)/1 var(--display);
	letter-spacing: -0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}
.marquee-group .sep {
	color: var(--fox);
}
@keyframes hf-marquee {
	to {
		transform: translateX(-50%);
	}
}

/* Facts / big numbers */
.facts {
	border-bottom: 2px solid var(--ink);
}
.facts-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.facts-grid > div {
	padding: 2rem 1rem 2rem 0;
	border-bottom: 1.5px solid var(--line);
}
.big-num {
	font: 800 clamp(3.5rem, 9vw, 7rem)/0.9 var(--display);
	letter-spacing: -0.05em;
}
.fact-label {
	margin-top: 0.75rem;
	font-size: 0.9375rem;
	color: var(--muted);
	max-width: 15rem;
}
@media (min-width: 1024px) {
	.facts-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	.facts-grid > div {
		border-bottom: 0;
		border-right: 1.5px solid var(--line);
		padding: 3rem 1.5rem;
	}
	.facts-grid > div:first-child {
		padding-left: 0;
	}
	.facts-grid > div:last-child {
		border-right: 0;
	}
}

/* Sections */
.section {
	padding: 4.5rem 0;
}
.section-alt {
	background: var(--paper-2);
}
.section-dark {
	background: var(--ink);
	color: var(--paper);
}
.section-dark a {
	text-decoration-color: var(--fox);
}
.section-head {
	margin-bottom: 3rem;
}
@media (min-width: 1024px) {
	.section {
		padding: 7rem 0;
	}
}

.steps {
	display: grid;
	gap: 1.5rem;
}
.step {
	border-top: 2px solid var(--ink);
	padding: 1.25rem 1rem 1.75rem;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}
.step-num {
	display: block;
	font: 800 4.5rem/1 var(--display);
	letter-spacing: -0.05em;
	margin-bottom: 2.5rem;
	transition: color 0.2s ease;
}
.step h3 {
	font: 700 1.5rem/1.15 var(--display);
	letter-spacing: -0.02em;
	margin-bottom: 0.5rem;
}
.step p {
	color: var(--muted);
}
.step:hover {
	background: var(--ink);
	color: var(--paper);
}
.step:hover p {
	color: var(--on-dark);
}
.step:hover .step-num {
	color: var(--fox);
}
@media (min-width: 640px) {
	.steps {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.steps {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}
}

.price-grid {
	display: grid;
	gap: 1rem;
}
.price-card {
	border: 2px solid var(--ink);
	background: var(--paper);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}
.price-card h3 {
	font: 700 1.375rem/1.2 var(--display);
	letter-spacing: -0.02em;
	margin-top: 1rem;
}
.price {
	font: 800 3.5rem/1 var(--display);
	letter-spacing: -0.05em;
	margin-top: 1rem;
}
.price-tba {
	font: 700 1.25rem/1.2 var(--display);
	letter-spacing: -0.02em;
	margin-top: 1rem;
}
.price-note {
	color: var(--muted);
	font-size: 0.9375rem;
}
.price-card:hover {
	background: var(--ink);
	color: var(--paper);
}
.price-card:hover .price-note {
	color: var(--on-dark);
}
.price-card:hover .chip-outline {
	color: var(--paper);
}
@media (min-width: 640px) {
	.price-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 1024px) {
	.price-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
.fineprint {
	margin-top: 2rem;
	display: grid;
	gap: 0.5rem;
	max-width: 52rem;
	font-size: 0.9375rem;
	color: var(--muted);
}
.fineprint li {
	padding-left: 1.25rem;
	position: relative;
}
.fineprint li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--fox);
}

/* FAQ */
.faq-grid {
	display: grid;
	gap: 2rem;
}
.faq-list details {
	border-bottom: 2px solid var(--ink);
}
.faq-list details:first-child {
	border-top: 2px solid var(--ink);
}
.faq-list summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 0;
	font: 700 1.25rem/1.25 var(--display);
	letter-spacing: -0.02em;
}
.faq-list summary::-webkit-details-marker {
	display: none;
}
.faq-list summary::after {
	content: '+';
	font: 500 2rem/1 var(--body);
	flex-shrink: 0;
	transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
	transform: rotate(45deg);
}
.faq-list summary:hover {
	color: var(--fox);
}
.faq-list details p {
	padding: 0 0 1.5rem;
	color: var(--muted);
	max-width: 40rem;
}
@media (min-width: 1024px) {
	.faq-grid {
		grid-template-columns: 1fr 1.4fr;
		gap: 5rem;
	}
	.faq-grid .section-head {
		margin-bottom: 0;
	}
}

/* Waitlist */
.waitlist-grid {
	display: grid;
	gap: 3rem;
	align-items: start;
}
@media (min-width: 1024px) {
	.waitlist-grid {
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
	}
}
.wl-form {
	background: var(--paper);
	color: var(--ink);
	padding: 1.5rem;
	border: 2px solid var(--paper);
	display: grid;
	gap: 1.1rem;
}
@media (min-width: 640px) {
	.wl-form {
		padding: 2rem;
	}
}
.field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}
.field .opt {
	font-weight: 400;
	color: var(--muted);
}
.field input[type='text'],
.field input[type='email'] {
	width: 100%;
	padding: 0.85rem 1rem;
	font: 1rem var(--body);
	color: var(--ink);
	background: #fff;
	border: 2px solid var(--ink);
	border-radius: 0.25rem;
}
.field-check {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 0.75rem;
	align-items: start;
}
.field-check input {
	width: 1.4rem;
	height: 1.4rem;
	margin: 0.15rem 0 0;
	accent-color: var(--ink);
}
.field-check label {
	font-weight: 400;
	margin: 0;
	font-size: 0.9375rem;
}
.field-check .field-err {
	grid-column: 2;
}
.field-err {
	margin-top: 0.4rem;
	font-size: 0.9rem;
	font-weight: 600;
	padding-left: 0.6rem;
	border-left: 4px solid var(--fox);
}
.field-err:empty {
	display: none;
}
.wl-status {
	padding: 0.9rem 1rem;
	font-weight: 600;
}
.wl-status:empty {
	display: none;
}
.wl-status.is-ok {
	background: var(--ink);
	color: var(--paper);
}
.wl-status.is-error {
	background: var(--paper-2);
	border-left: 6px solid var(--fox);
}
.form-note {
	font-size: 0.875rem;
	color: var(--muted);
}
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* Document pages */
.doc {
	padding: 3.5rem 0 5rem;
}
.doc-head {
	margin-bottom: 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 2px solid var(--ink);
}
.doc-meta {
	color: var(--muted);
	margin-top: 1rem;
}
.prose {
	max-width: 46rem;
}
.prose h2 {
	font: 700 1.625rem/1.2 var(--display);
	letter-spacing: -0.025em;
	margin: 2.5rem 0 0.75rem;
}
.prose p,
.prose ul,
.prose ol {
	margin-top: 1rem;
}
.prose ul {
	list-style: none;
	display: grid;
	gap: 0.6rem;
}
.prose ul li {
	padding-left: 1.4rem;
	position: relative;
}
.prose ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--fox);
}
.prose ol {
	list-style: decimal;
	padding-left: 1.4rem;
	display: grid;
	gap: 0.6rem;
}
.prose code {
	background: var(--paper-2);
	padding: 0.1rem 0.35rem;
	border-radius: 0.2rem;
	font-size: 0.92em;
}
.notfound .big-num {
	font-size: clamp(6rem, 22vw, 14rem);
	color: var(--fox);
}
.notfound .display {
	margin-top: 1rem;
}

/* Footer */
.site-footer {
	background: var(--ink);
	color: var(--paper);
	padding: 3.5rem 0 2.5rem;
}
.brand-light .brand-word {
	color: var(--paper);
}
.footer-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1.5px solid #3a3a3a;
}
.footer-company {
	margin-top: 1rem;
	color: var(--on-dark);
	font-size: 0.9375rem;
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	font-weight: 600;
}
.footer-legal {
	margin-top: 1.5rem;
	display: grid;
	gap: 0.75rem;
	max-width: 56rem;
	font-size: 0.875rem;
	color: var(--on-dark);
}
.footer-copy {
	margin-top: 0.5rem;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
	.marquee-track,
	.badge-spin > svg:first-child {
		animation: none;
	}
	.btn,
	.tile,
	.step,
	.price-card {
		transition: none;
	}
}
