/* Acebook public site. Tokens first, then base, layout, components, pages. Mobile first.
   Look: "Floodlit" — a court at night. Dark ground, light glows at the top of the page,
   glass (blur) only on floating parts: header bar, booking sheet, menus, ACE, cookie note. */

@font-face {
	font-family: "Archivo";
	src: url(fonts/archivo-latin.woff2) format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	src: url(fonts/archivo-latin-ext.woff2) format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	color-scheme: dark;

	/* colour: the logo's red and a hard court under floodlights */
	--ink: #f2f5f9;
	--ink-soft: #c4cfdc;
	--mute: #9fb0c3;
	--paper: #0a1a2d;
	--white: #fff;
	--rule: rgb(255 255 255 / 0.12);
	--court: #5b9be6;
	--court-deep: #123a66;
	--court-night: #06121f;
	--court-tint: rgb(91 155 230 / 0.24);
	--court-text: #d3e6ff;
	--apron: #3fa877;
	--apron-tint: rgb(63 168 119 / 0.26);
	--apron-text: #c6f1da;
	--ball: #e4f04a;
	--red: #d1132a;
	--red-dark: #a80e21;
	--red-tint: rgb(209 19 42 / 0.3);
	--red-text: #ffd3d9;
	--link: #9ccaff;
	--focus: #ffbf00;

	/* surfaces: tiles get a sheen, floating parts get real glass (blur) where supported */
	--surface: linear-gradient(160deg, rgb(255 255 255 / 0.085), rgb(255 255 255 / 0.03));
	--surface-line: rgb(255 255 255 / 0.13);
	--surface-shine: inset 0 1px 0 rgb(255 255 255 / 0.16);
	--glass-bg: rgb(13 30 52 / 0.96);
	--glass-strong: rgb(10 24 42 / 0.98);
	--blur: blur(22px) saturate(170%);

	/* type: one family, wide for display, normal for reading */
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wide: 116%;
	--step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
	--step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
	--step-1: clamp(1.15rem, 1.06rem + 0.45vw, 1.35rem);
	--step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
	--step-3: clamp(1.75rem, 1.35rem + 1.9vw, 2.75rem);
	--step-4: clamp(2.2rem, 1.5rem + 3.4vw, 4.25rem);

	/* space and shape */
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section: clamp(3.5rem, 8vw, 6.5rem);
	--radius: 12px;
	--radius-l: 24px;
	--shadow: 0 24px 60px -24px rgb(0 0 0 / 0.6);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* the fallbacks above are nearly opaque; see-through only where the blur behind them works */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	:root {
		--glass-bg: linear-gradient(160deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.04));
		--glass-strong: rgb(10 24 42 / 0.86);
	}
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
	position: relative;
	margin: 0;
	background: var(--court-night);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.6;
	font-stretch: 100%;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
/* floodlight glows behind the top of every page (gradients, not filter blur: cheap to paint) */
body::before {
	content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 62rem; pointer-events: none;
	background:
		radial-gradient(42rem 42rem at 6% 0%, rgb(27 79 138 / 0.75), transparent 70%),
		radial-gradient(32rem 32rem at 96% 12rem, rgb(45 122 88 / 0.38), transparent 70%),
		radial-gradient(26rem 26rem at 72% 36rem, rgb(228 240 74 / 0.08), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) { body::before { animation: glow-drift 24s var(--ease) infinite alternate; } }
@keyframes glow-drift { to { transform: translate3d(2rem, -1.5rem, 0) scale(1.05); } }
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.12; font-stretch: var(--wide); font-weight: 760; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.02; font-weight: 820; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: 108%; }
p, ul, ol, dl { margin: 0 0 1em; }
p { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ball); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
strong { font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--white); color: var(--court-night); border-radius: var(--radius); }
.skip:focus { top: 1rem; color: var(--court-night); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 40em; }
.measure { max-width: 42rem; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 60rem) {
	.split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
	.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
	.split__sticky { position: sticky; top: 7rem; }
}

/* ---------- surfaces ---------- */
.site-header__bar, .sheet, .ace-launch, .lang ul, .ace, .cookie-note {
	border: 1px solid var(--surface-line);
	-webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
	box-shadow: var(--surface-shine), var(--shadow);
}
.site-header__bar, .sheet, .ace-launch { background: var(--glass-bg); }
.lang ul, .ace, .cookie-note { background: var(--glass-strong); }
.caps li, .proof p, .quote--big, .vignette, .plan, .panel {
	background: var(--surface);
	border: 1px solid var(--surface-line);
	border-radius: var(--radius-l);
	box-shadow: var(--surface-shine);
}

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 3rem; padding: 0.7rem 1.5rem;
	border: 1px solid var(--white); border-radius: 999px;
	background: var(--white); color: var(--court-night);
	font: inherit; font-weight: 650; font-stretch: 108%; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { color: var(--court-night); transform: translateY(-2px); box-shadow: 0 12px 32px -10px rgb(228 240 74 / 0.55); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 2.75rem; padding: 0.45rem 1.2rem; font-size: var(--step--1); }
.btn--ghost, .btn--outline-light { background: transparent; border-color: rgb(255 255 255 / 0.3); color: var(--white); }
.btn--ghost:hover, .btn--outline-light:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.5); color: var(--white); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.text-link { font-weight: 650; }

/* ---------- header: a floating glass bar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 0.75rem var(--gutter) 0; }
.site-header__bar {
	display: flex; align-items: center; gap: 1rem; min-height: 3.75rem;
	max-width: 74rem; padding: 0.4rem 0.45rem 0.4rem 1.25rem; border-radius: 1.9rem;
	transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled .site-header__bar { box-shadow: var(--surface-shine), 0 18px 40px -16px rgb(0 0 0 / 0.75); }
.brand { margin-right: auto; flex: none; }
.brand img { width: 116px; height: 54px; }
.nav-toggle {
	display: inline-flex; align-items: center; gap: 0.6rem;
	min-height: 2.75rem; padding: 0.4rem 0.9rem;
	border: 1px solid var(--rule); border-radius: 999px; background: transparent;
	color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 560; transition: color 0.2s; }
.site-nav a:hover { color: var(--white); }
.site-nav__links a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--red); }
.site-nav__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* small screens: the menu folds under the bar (only with JS; without it, it stays open) */
@media (max-width: 63.99rem) {
	.no-js .nav-toggle { display: none; }
	.site-header__bar { flex-wrap: wrap; padding-right: 0.6rem; border-radius: 1.5rem; }
	.site-nav { flex-basis: 100%; padding-bottom: 1rem; }
	.js .site-nav { display: none; }
	.js .site-nav.is-open { display: block; animation: drop 0.2s var(--ease); }
	.site-nav__links { border-top: 1px solid var(--rule); margin-bottom: 1rem !important; }
	.site-nav__links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); font-size: var(--step-1); font-stretch: 108%; }
	.site-nav__links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 0.75rem; }
}
@media (min-width: 64rem) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; align-items: center; gap: 2rem; }
	.site-nav__links { display: flex; gap: 1.6rem; }
	.site-nav__links a { padding-block: 0.4rem; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

.lang { position: relative; }
.lang summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
	min-height: 2.5rem; padding: 0.3rem 0.2rem; font-weight: 560; font-size: var(--step--1); color: var(--ink-soft);
}
.lang summary:hover { color: var(--white); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::before {
	content: ""; width: 1.05rem; height: 1.05rem; flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9S14.5 18.4 12 21c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9S14.5 18.4 12 21c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lang ul {
	position: absolute; z-index: 60; top: calc(100% + 0.5rem); left: 0; min-width: 10rem;
	padding: 0.4rem !important; border-radius: var(--radius);
}
@media (min-width: 64rem) { .lang ul { left: auto; right: 0; } }
.lang li a { display: block; padding: 0.5rem 0.75rem; border-radius: 8px; color: var(--ink); }
.lang li a:hover, .lang li a[aria-current="true"] { background: rgb(255 255 255 / 0.1); color: var(--white); }
.site-nav__login { font-size: var(--step--1); }

/* ---------- hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	color: var(--white);
	padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
}
.hero__lines { position: absolute; inset: auto -10% -35% 30%; z-index: -1; width: 90%; opacity: 0.06; pointer-events: none; }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 64rem) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero h1 { color: var(--white); max-width: 15ch; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1; font-stretch: 112%; }
.hero__lede { font-size: var(--step-1); color: rgb(255 255 255 / 0.8); max-width: 34em; margin-bottom: 2rem; }
.hero .actions { margin-bottom: 1.75rem; }
.hero__note { font-size: var(--step--1); color: rgb(255 255 255 / 0.68); margin: 0; }
.hero a:not(.btn) { color: var(--white); }

/* page heading band for inner pages */
.page-head { color: var(--white); padding-block: clamp(2.75rem, 6vw, 4.75rem); position: relative; overflow: hidden; isolation: isolate; }
.page-head h1 { font-size: var(--step-4); max-width: 18ch; }
.page-head p { font-size: var(--step-1); color: rgb(255 255 255 / 0.8); max-width: 38em; margin: 0; }
.page-head .hero__lines { inset: -40% -20% auto 45%; width: 70%; opacity: 0.06; }

/* ---------- the booking sheet (signature element) ---------- */
.sheet {
	--rows: 9;
	color: var(--ink);
	border-radius: calc(var(--radius-l) + 4px);
	padding: clamp(0.9rem, 2vw, 1.4rem);
	font-size: 0.78rem; line-height: 1.25;
}
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.85rem; }
.sheet__day { font-weight: 700; font-stretch: 110%; font-size: 0.95rem; }
.sheet__club { color: var(--mute); }
.sheet__grid {
	display: grid;
	grid-template-columns: 2.6rem repeat(4, minmax(0, 1fr));
	grid-template-rows: auto repeat(var(--rows), 2.15rem);
	gap: 3px;
}
.sheet__court { font-weight: 650; text-align: center; padding-bottom: 0.35rem; font-stretch: 105%; color: var(--ink-soft); }
.sheet__time { grid-column: 1; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: 0.15rem; }
.sheet__cell { background: rgb(255 255 255 / 0.04); border-radius: 5px; }
.slot {
	grid-column: calc(var(--c) + 1);
	grid-row: calc(var(--r) + 1) / span var(--span, 1);
	z-index: 1;
	display: flex; flex-direction: column; justify-content: center;
	padding: 0.25rem 0.45rem; border-radius: 7px;
	background: var(--court-tint); color: var(--court-text); border-left: 3px solid var(--court);
	font-weight: 600; overflow: hidden;
}
.slot small { font-weight: 450; opacity: 0.85; font-size: 0.68rem; }
.slot--coaching { background: var(--apron-tint); color: var(--apron-text); border-color: var(--apron); }
.slot--match { background: var(--red-tint); color: var(--red-text); border-color: var(--red); }
.slot--you { background: var(--ball); color: var(--court-night); border-color: var(--court-night); box-shadow: 0 0 18px -2px rgb(228 240 74 / 0.6); }
.sheet__legend { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0.9rem 0 0; padding: 0; list-style: none; color: var(--mute); }
.sheet__legend li::before { content: ""; display: inline-block; width: 0.65rem; height: 0.65rem; border-radius: 2px; margin-right: 0.35rem; vertical-align: -1px; background: var(--k); }
@media (max-width: 26rem) {
	.sheet__grid { grid-template-columns: 2.4rem repeat(3, minmax(0, 1fr)); }
	.sheet .c4 { display: none; }
}
/* one orchestrated moment: the day fills up, then your booking lands */
@media (prefers-reduced-motion: no-preference) {
	.js .sheet .slot { animation: slot-in 0.5s var(--ease) both; animation-delay: calc(0.35s + var(--i, 0) * 0.12s); }
	.js .sheet .slot--you { animation: slot-in 0.5s var(--ease) both, ping 1.2s var(--ease) 1.9s 1; animation-delay: 1.6s, 2.1s; }
}
@keyframes slot-in { from { opacity: 0; transform: scale(0.92); } }
@keyframes ping { 0% { box-shadow: 0 0 18px -2px rgb(228 240 74 / 0.6), 0 0 0 0 rgb(228 240 74 / 0.9); } 100% { box-shadow: 0 0 18px -2px rgb(228 240 74 / 0.6), 0 0 0 14px rgb(228 240 74 / 0); } }

/* ---------- proof sentence ---------- */
.proof { padding-block: 0 clamp(2.5rem, 5vw, 3.75rem); }
.proof p { font-size: var(--step-2); font-stretch: 108%; font-weight: 500; line-height: 1.35; margin: 0; padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.25rem); color: var(--ink-soft); }
.proof strong { color: var(--white); font-weight: 800; font-stretch: 118%; font-variant-numeric: tabular-nums; }

/* ---------- capability tiles ---------- */
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 44rem) {
	.caps { grid-template-columns: 1fr 1fr; }
	.caps li:first-child, .caps li:last-child { grid-column: 1 / -1; }
}
.caps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.25rem 1rem; padding: 1.4rem 1.5rem; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease); }
.caps li:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / 0.26); }
.caps li:last-child { background: linear-gradient(160deg, rgb(228 240 74 / 0.18), rgb(228 240 74 / 0.03)); }
.caps svg { width: 2.25rem; height: 2.25rem; color: var(--court); grid-row: span 2; }
.caps li:last-child svg { color: var(--ball); }
.caps h3 { margin: 0; font-size: var(--step-0); font-stretch: 110%; }
.caps p { margin: 0; color: var(--mute); }
.caps a { color: inherit; text-decoration: none; }
.caps a:hover { color: var(--ball); }

/* ---------- steps (a real sequence) ---------- */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before {
	content: counter(step); position: absolute; top: 0; left: 0;
	display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
	background: rgb(255 255 255 / 0.08); border: 1px solid var(--surface-line); color: var(--white); font-weight: 800; font-stretch: 118%;
}
@media (min-width: 48rem) { .steps li::after { content: ""; position: absolute; top: 1.2rem; left: 3rem; right: -0.75rem; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 8px, transparent 8px 14px); } .steps li:last-child::after { display: none; } }
.steps h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.steps p { color: var(--mute); margin: 0; }

/* ---------- quotes ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote--big { padding: clamp(1.75rem, 4vw, 3rem); }
.quote p { font-size: var(--step-2); font-stretch: 104%; font-weight: 450; line-height: 1.35; }
.quote--big p:first-child::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: 0.7; height: 2.4rem; color: var(--red); font-weight: 800; }
.quote figcaption, .quote cite { display: block; font-style: normal; font-weight: 650; color: var(--ink-soft); font-size: var(--step-0); }
.quote--small p { font-size: var(--step-0); font-stretch: 100%; color: var(--ink-soft); }
.quote--small { border-left: 3px solid var(--red); padding-left: 1.1rem; }
.stories { columns: 1; column-gap: 2.5rem; }
@media (min-width: 52rem) { .stories { columns: 2; } }
.story { break-inside: avoid; margin: 0 0 2.5rem; padding-top: 1.5rem; border-top: 3px solid var(--court); }
.story p { color: var(--ink-soft); }
.story figcaption { font-weight: 700; font-stretch: 108%; }
.story figcaption span { display: block; font-weight: 450; color: var(--mute); font-stretch: 100%; }

/* ---------- client list ---------- */

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-weight: 650; font-stretch: 106%; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.75rem; height: 0.75rem; margin-top: 0.45rem; border-right: 2px solid var(--court); border-bottom: 2px solid var(--court); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding-bottom: 1.25rem; color: var(--ink-soft); max-width: 44rem; }

/* ---------- features page ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgb(255 255 255 / 0.1); border: 1px solid var(--surface-line); color: var(--white); text-decoration: none; font-size: var(--step--1); font-weight: 560; }
.toc a:hover { background: var(--white); color: var(--court-night); }
.feature { padding-block: var(--section); border-top: 1px solid var(--rule); }
.feature:first-of-type { border-top: 0; }
.feature:nth-of-type(even) { background: var(--paper); }
.feature__body > p:first-of-type { font-size: var(--step-1); color: var(--ink-soft); }
@media (min-width: 60rem) { .feature:nth-of-type(even) .feature__art { order: -1; } }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 0.75rem; width: 0.85rem; height: 0.45rem; border-left: 2px solid var(--apron); border-bottom: 2px solid var(--apron); transform: rotate(-45deg); }

/* product vignettes: small, honest drawings of what each screen does */
.vignette { padding: clamp(1rem, 3vw, 1.75rem); font-size: 0.9rem; }
.vignette__title { font-weight: 700; font-stretch: 110%; margin: 0 0 1rem; display: flex; justify-content: space-between; gap: 1rem; }
.vignette__title span { color: var(--mute); font-weight: 450; font-stretch: 100%; }
.vrow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--rule); }
.vrow:first-of-type { border-top: 0; }
.vrow b { font-weight: 650; }
.vrow small { display: block; color: var(--mute); }
.tag { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 650; background: var(--court-tint); color: var(--court-text); white-space: nowrap; }
.tag--ok { background: var(--apron-tint); color: var(--apron-text); }
.tag--due { background: var(--red-tint); color: var(--red-text); }
.tag--on { background: var(--ball); color: var(--court-night); }
.rank { font-variant-numeric: tabular-nums; font-weight: 800; font-stretch: 118%; color: var(--court); width: 1.75rem; }
.bars { display: flex; align-items: flex-end; gap: 0.5rem; height: 9rem; padding-top: 0.5rem; border-bottom: 1px solid var(--rule); }
.bars span { flex: 1; background: var(--court); border-radius: 4px 4px 0 0; height: var(--h); position: relative; }
.bars span:nth-child(4), .bars span:nth-child(5) { background: var(--red); }
.bars-x { display: flex; gap: 0.5rem; color: var(--mute); font-size: 0.75rem; margin-top: 0.35rem; }
.bars-x span { flex: 1; text-align: center; }
.receipt-total { display: flex; justify-content: space-between; font-weight: 800; font-stretch: 112%; font-size: 1.1rem; padding-top: 0.8rem; border-top: 2px solid var(--ink); margin-top: 0.4rem; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 40rem) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 70rem) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { display: flex; flex-direction: column; padding: 1.75rem 1.5rem; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease); }
.plan:hover { transform: translateY(-3px); border-color: rgb(255 255 255 / 0.26); }
.plan:last-child { background: linear-gradient(160deg, rgb(228 240 74 / 0.16), rgb(228 240 74 / 0.03)); border-color: rgb(228 240 74 / 0.35); }
.plan:last-child .plan__for, .plan:last-child .plan__unit, .plan:last-child .plan__plus { color: rgb(255 255 255 / 0.78); }
.plan:last-child .ticks li::before { border-color: var(--ball); }
.plan h3 { font-size: var(--step-2); margin: 0 0 0.25rem; }
.plan__for { color: var(--mute); margin: 0 0 1.25rem; }
.plan__price { margin: 0; font-size: var(--step-4); font-weight: 820; font-stretch: 118%; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price sup { font-size: 0.45em; vertical-align: 0.9em; margin-right: 0.1em; }
.plan__unit { color: var(--mute); font-size: var(--step--1); margin: 0.4rem 0 1.25rem; }
.plan__plus { font-weight: 650; color: var(--ink-soft); margin: 0; font-size: var(--step--1); }
.plan .ticks { margin: 0.5rem 0 1.5rem; flex: 1; }
.plan form { margin: 0; }
.plan .btn { width: 100%; }
.plan:last-child .btn { background: var(--ball); border-color: var(--ball); color: var(--court-night); }
.plan:last-child .btn:hover { background: var(--white); border-color: var(--white); }
.fine { font-size: var(--step--1); color: var(--mute); }

/* ---------- prose (about, privacy) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.25rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.2rem; }
.facts { display: grid; gap: 0; margin: 0; }
@media (min-width: 40rem) { .facts { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.facts div { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.facts dt { font-weight: 700; font-stretch: 108%; }
.facts dd { margin: 0.2rem 0 0; color: var(--mute); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: 1.1rem; }
.form legend { font-size: var(--step-1); font-weight: 760; font-stretch: var(--wide); margin-bottom: 0.9rem; padding: 0; }
.form-cols { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .form-cols { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field .req { color: #ff7a8a; }
.field .hint { font-size: var(--step--1); color: var(--mute); }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.input-unit { display: flex; align-items: center; gap: 0.6rem; }
.input-unit span { color: var(--mute); font-size: var(--step--1); white-space: nowrap; }
input[type="text"], input[type="email"], input[type="number"], input[type="tel"], select, textarea {
	width: 100%; min-height: 3rem; padding: 0.65rem 0.85rem;
	border: 1px solid rgb(255 255 255 / 0.26); border-radius: var(--radius); background: rgb(255 255 255 / 0.06); color: var(--ink);
	font: inherit; font-size: 1rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}
select option { background: var(--paper); color: var(--ink); }
textarea { min-height: 9rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--court); box-shadow: 0 0 0 3px rgb(91 155 230 / 0.35); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; border-left: 4px solid; }
.alert--error { background: var(--red-tint); border-color: var(--red); color: var(--red-text); }
.alert--ok { background: var(--apron-tint); border-color: var(--apron); color: var(--apron-text); }
.panel { padding: clamp(1.25rem, 4vw, 2.5rem); }
.contact-aside { display: grid; gap: 1.5rem; align-content: start; }
.contact-aside h2 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.contact-aside p { margin: 0; color: var(--ink-soft); }

/* ---------- call to action band and footer ---------- */
.cta-band { background: radial-gradient(60rem 30rem at 15% 0%, rgb(27 79 138 / 0.55), transparent 70%), var(--paper); border-top: 1px solid var(--rule); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 2px; background: rgb(255 255 255 / 0.06); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; position: relative; }
@media (min-width: 56rem) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } .cta-band__actions { justify-content: flex-end; } }
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: rgb(255 255 255 / 0.8); max-width: 34em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.site-footer { background: #040c16; border-top: 1px solid var(--rule); padding-block: 3.5rem 1.5rem; font-size: var(--step--1); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 52rem) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer__about { grid-column: 1 / -1; max-width: 26rem; color: var(--mute); }
@media (min-width: 52rem) { .site-footer__about { grid-column: auto; } }
.site-footer__name { font-weight: 820; font-stretch: 118%; font-size: var(--step-2); margin: 0 0 0.4rem; color: var(--white); }
.site-footer h2 { font-size: var(--step-0); font-stretch: 108%; margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.25rem 0; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ball); text-decoration: underline; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--mute); }
.site-footer__legal p { margin: 0; }

.cookie-note {
	position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 1rem; max-width: 26rem;
	display: flex; align-items: center; gap: 1rem;
	padding: 0.9rem 1rem; border-radius: var(--radius-l); color: var(--ink); font-size: var(--step--1);
}
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; }
.cookie-note a { color: var(--ball); }

/* ---------- section headings ---------- */
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); margin: 0; }
.shots { display: flex; gap: clamp(1rem, 3vw, 2rem); margin: 0 0 2rem; padding: 0 0 0.75rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.shots li { flex: 0 0 min(62%, 15rem); scroll-snap-align: start; }
.shots img { display: block; width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.stores img { display: block; height: 47px; width: auto; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
	:root { color-scheme: light; --ink: #22201f; --ink-soft: #4a4645; --mute: #5b6670; --rule: #d9dfe5; }
	body { background: #fff; }
	body::before { display: none; }
	.site-header, .cta-band, .cookie-note, .ace-launch, .ace, .hero__lines { display: none !important; }
	.hero, .page-head, .hero h1 { background: none; color: var(--ink); }
}

.after { margin-top: 2rem; }
.vrow .rank + b { flex: 1; }
.page-head a { color: var(--white); }
.page-head a:hover { color: var(--ball); }
@media (min-width: 60rem) { .split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
@media (max-width: 30rem) { .field-row { grid-template-columns: 1fr; } }
.site-nav a.btn, .site-nav a.btn:hover { color: var(--court-night); }

/* ---------- ACE, the website's assistant ---------- */
.ace-launch {
	position: fixed; z-index: 65; right: 1rem; bottom: 1rem;
	display: inline-flex; align-items: center; gap: 0.6rem;
	min-height: 3rem; padding: 0.4rem 1.1rem 0.4rem 0.45rem;
	border-radius: 999px; color: var(--white);
	font: inherit; font-weight: 650; font-stretch: 108%; cursor: pointer;
	transition: transform 0.3s var(--ease), border-color 0.3s;
}
.ace-launch:hover { transform: translateY(-2px); border-color: rgb(255 255 255 / 0.3); }
.ace-launch[aria-expanded="true"] { border-color: rgb(255 255 255 / 0.3); }
.ace-launch__mark, .ace__avatar { flex: none; display: block; border-radius: 50%; overflow: hidden; background: var(--white); }
.ace-launch__mark img { width: 2.25rem; height: 2.25rem; }
.ace__avatar img { width: 2.75rem; height: 2.75rem; }
.ace__avatar { box-shadow: 0 0 0 2px rgb(255 255 255 / 0.35); }
.ace {
	position: fixed; z-index: 66; right: 1rem; bottom: 4.75rem;
	width: min(24rem, calc(100vw - 2rem)); max-height: min(36rem, calc(100vh - 6.5rem));
	display: flex; flex-direction: column;
	border-radius: var(--radius-l);
	color: var(--ink); font-size: 0.95rem; overflow: hidden;
}
.ace[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .ace:not([hidden]) { animation: drop 0.18s var(--ease); } }
.ace__head { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem 1.1rem 0.85rem; background: rgb(18 58 102 / 0.6); border-bottom: 1px solid var(--rule); color: var(--white); }
.ace__head h2 { font-size: 1.15rem; margin: 0 0 0.15rem; }
.ace__head p { margin: 0; font-size: 0.82rem; color: rgb(255 255 255 / 0.8); line-height: 1.4; }
.ace__close { flex: none; margin-left: auto; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ace__close:hover { background: rgb(255 255 255 / 0.25); }
.ace__log { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: grid; gap: 0.85rem; align-content: start; overscroll-behavior: contain; }
.ace__msg p { margin: 0 0 0.45rem; line-height: 1.5; }
.ace__msg p:last-child { margin-bottom: 0; }
.ace__msg--you { justify-self: end; max-width: 85%; padding: 0.55rem 0.85rem; border-radius: 14px 14px 4px 14px; background: var(--court-tint); color: var(--white); }
.ace__msg--ace { max-width: 95%; }
.ace__wait { color: var(--mute); }
@media (prefers-reduced-motion: no-preference) { .ace__wait { animation: pulse 1.2s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: 0.45; } }
.ace__chips, .ace__links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.ace__chip, .ace__link { display: inline-block; padding: 0.4rem 0.75rem; border: 1px solid var(--surface-line); border-radius: 999px; background: rgb(255 255 255 / 0.05); color: var(--ink); font: inherit; font-size: 0.85rem; font-weight: 560; text-decoration: none; cursor: pointer; }
.ace__chip:hover, .ace__link:hover { border-color: var(--court); background: var(--court-tint); color: var(--white); }
.ace__rate { font-size: 0.8rem; color: var(--mute); margin-top: 0.5rem !important; }
.ace__rate-btn { margin-left: 0.35rem; padding: 0.15rem 0.6rem; border: 1px solid var(--surface-line); border-radius: 999px; background: transparent; color: var(--ink-soft); font: inherit; cursor: pointer; }
.ace__rate-btn:hover { border-color: var(--court); }
.ace__error { color: var(--red-text); }
.ace__done { color: var(--apron-text); font-weight: 600; }
.ace__lead { display: grid; gap: 0.5rem; margin-top: 0.75rem; padding: 0.85rem; border-radius: var(--radius); background: rgb(255 255 255 / 0.05); }
.ace__lead label { display: grid; gap: 0.2rem; font-size: 0.82rem; font-weight: 600; }
.ace__lead input { min-height: 2.5rem; padding: 0.4rem 0.6rem; font-size: 0.95rem; }
.ace__lead .btn { justify-self: start; }
.ace__form { display: flex; gap: 0.5rem; align-items: flex-end; padding: 0.75rem 1.1rem; border-top: 1px solid var(--rule); }
.ace__form textarea { min-height: 2.75rem; max-height: 7rem; padding: 0.55rem 0.7rem; resize: none; font-size: 0.95rem; }
.ace__note { margin: 0; padding: 0 1.1rem 0.85rem; font-size: 0.72rem; color: var(--mute); line-height: 1.4; }
.cookie-note { right: auto; max-width: min(26rem, calc(100vw - 2rem)); z-index: 64; } /* under an open ACE panel */
@media (max-width: 30rem) { .cookie-note { bottom: 4.75rem; } }

/* ---------- the app: screenshots and store badges ---------- */
.shots { list-style: none; margin: 2.25rem 0 1.75rem; padding: 0.25rem 0.25rem 1rem; display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.shots li { flex: 0 0 clamp(9.5rem, 40vw, 11.5rem); scroll-snap-align: start; }
@media (min-width: 72rem) { .shots { overflow: visible; } .shots li { flex: 1 1 0; min-width: 0; } }
.shots img { width: 100%; height: auto; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 1.5rem; background: var(--court-night); box-shadow: 0 18px 40px -22px rgb(0 0 0 / 0.8); transition: transform 0.5s var(--ease); }
.shots li:nth-child(odd) img { transform: rotate(-1.5deg); }
.shots li:nth-child(even) img { transform: rotate(1.5deg) translateY(0.75rem); }
.shots li:hover img { transform: none; }
.stores { gap: 0.75rem; }
.stores a { display: inline-block; border-radius: 8px; }
.stores img { width: 162px; height: 47px; }
