/*
 * MyClubBook marketing site. Palette: #2F39A9 (indigo), #2E6FA0 (steel blue), #49A4BB (teal),
 * #15D8B3 (mint). The hero and the closing call to action use the gradient; the rest is light.
 * Every colour lives in this block, so trying another palette only means changing it.
 */
:root {
	--bg: #f7fafc;
	--band: #eaf5f8;
	--line: #d3e4ec;
	--sand: #49a4bb;
	--card: #ffffff;
	--text: #141b4d;
	--soft: #2a3470;
	--muted: #52607a;
	--brand: #2f39a9;
	--brand-hover: #242d8a;
	--on-brand: #ffffff;
	--no-mark: #b7c3d3;
	--ours: rgb(21 216 179 / 0.1);
	--header: rgb(247 250 252 / 0.92);
	--shadow: 0 1px 2px rgb(20 27 77 / 0.08), 0 24px 48px -20px rgb(20 27 77 / 0.5);
	--hero-bg:
		radial-gradient(ellipse 60% 70% at 90% 20%, rgb(21 216 179 / 0.35), transparent 70%),
		linear-gradient(135deg, #2f39a9 0%, #2e6fa0 55%, #49a4bb 100%);
	--on-hero: #ffffff;
	--on-hero-soft: #e3ecf7;
	--on-hero-faint: #c6d6ea;
	--hero-line: rgb(255 255 255 / 0.35);
	--hero-tint: rgb(255 255 255 / 0.12);
	--accent: #15d8b3;
	--accent-hover: #4be6c8;
	--on-accent: #0b1f45;
	--paid-bg: #dcf7f0;
	--paid-text: #0d7a64;
	--due-text: #a8432a;
	--radius: 14px;
	--wrap: 1120px;
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font:
		16px/1.6 system-ui,
		-apple-system,
		"Segoe UI",
		Roboto,
		"Helvetica Neue",
		Arial,
		sans-serif;
}

h1,
h2,
h3 {
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
	letter-spacing: -0.025em;
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -0.02em;
}

h3 {
	font-size: 1.08rem;
}

p {
	margin: 0;
}

a {
	color: var(--brand);
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 16px;
}

@media (min-width: 720px) {
	.wrap {
		padding: 0 28px;
	}
}

.narrow {
	max-width: 760px;
}

.center {
	text-align: center;
}

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

/* Header */
.top {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--header);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--text);
	text-decoration: none;
}

.brand-icon {
	width: 30px;
	height: 30px;
	padding: 5px;
	border-radius: 8px;
	background: var(--brand);
	color: var(--on-brand);
}

.links {
	display: none;
	gap: 24px;
}

.links a,
.signin {
	color: var(--soft);
	text-decoration: none;
	font-size: 0.95rem;
}

.links a:hover,
.signin:hover {
	color: var(--brand);
}

@media (min-width: 900px) {
	.links {
		display: flex;
	}
}

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

.lang {
	display: inline-flex;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 2px;
	background: var(--card);
}

.lang a {
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.8rem;
	color: var(--muted);
	text-decoration: none;
}

.lang a[aria-current] {
	background: var(--band);
	color: var(--text);
	font-weight: 600;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 10px;
	background: var(--brand);
	color: var(--on-brand);
	font-weight: 600;
	text-decoration: none;
	border: 1px solid var(--brand);
	transition: background 0.15s;
}

.btn:hover {
	background: var(--brand-hover);
}

.btn.small {
	padding: 7px 14px;
	font-size: 0.9rem;
	white-space: nowrap;
}

.btn.ghost {
	background: transparent;
	color: var(--brand);
	border-color: var(--line);
}

.btn.ghost:hover {
	background: var(--band);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--sand);
	outline-offset: 2px;
}

/* Sections */
section {
	padding: 72px 0;
}

.band {
	background: var(--band);
}

.section-lead {
	color: var(--muted);
	font-size: 1.08rem;
	margin-top: 12px;
	max-width: 680px;
}

.center .section-lead {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 28px;
}

.grid {
	display: grid;
	gap: 16px;
	margin-top: 32px;
}

@media (min-width: 640px) {
	.grid.four,
	.grid.three {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.grid.four {
		grid-template-columns: repeat(4, 1fr);
	}
	.grid.three {
		grid-template-columns: repeat(3, 1fr);
	}
}

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
}

.card p {
	color: var(--muted);
	margin-top: 8px;
}

.card.quote h3::before {
	content: "“";
	display: block;
	font-size: 2.4rem;
	line-height: 0.8;
	color: var(--sand);
	font-family: Georgia, serif;
}

/* Hero */
.hero {
	padding: 56px 0 72px;
}

.hero-grid {
	display: grid;
	gap: 40px;
	align-items: center;
}

@media (min-width: 960px) {
	.hero-grid {
		grid-template-columns: 1.05fr 1fr;
		gap: 56px;
	}
	.hero {
		padding: 88px 0 96px;
	}
}

.eyebrow {
	display: inline-block;
	background: var(--band);
	border: 1px solid var(--line);
	color: var(--soft);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 18px;
}

.lead {
	font-size: 1.15rem;
	color: var(--soft);
	margin-top: 18px;
	max-width: 560px;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.note {
	color: var(--muted);
	font-size: 0.9rem;
	margin-top: 14px;
}

/* Fee grid mockup */
.mock {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow);
	overflow: hidden;
	font-size: 0.9rem;
}

.mock-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}

.mock-head span {
	color: var(--muted);
	font-size: 0.85rem;
}

.mock table {
	width: 100%;
	border-collapse: collapse;
}

.mock th,
.mock td {
	padding: 9px 8px;
	border-bottom: 1px solid var(--band);
	text-align: center;
	white-space: nowrap;
}

.mock thead th {
	color: var(--muted);
	font-weight: 500;
	font-size: 0.8rem;
	text-transform: capitalize;
}

.mock tbody th {
	text-align: left;
	font-weight: 500;
	padding-left: 18px;
	white-space: normal;
}

.cell {
	display: inline-block;
	min-width: 58px;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
}

.cell.paid {
	background: var(--paid-bg);
	color: var(--paid-text);
}

.cell.due {
	border: 1px solid rgb(168 67 42 / 0.45);
	color: var(--due-text);
}

.mock-foot {
	padding: 12px 18px;
	background: var(--bg);
	color: var(--soft);
	font-weight: 500;
}

@media (max-width: 480px) {
	.mock th,
	.mock td {
		padding: 8px 4px;
	}
	.mock tbody th {
		padding-left: 12px;
	}
	.cell {
		min-width: 0;
		padding: 2px 6px;
		font-size: 0.72rem;
	}
}

/* Comparison */
.table-wrap {
	margin-top: 32px;
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
}

.compare {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
}

.compare th,
.compare td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--band);
}

.compare tbody tr:last-child > * {
	border-bottom: 0;
}

.compare thead th {
	font-size: 0.9rem;
	color: var(--muted);
	font-weight: 600;
	text-align: center;
}

.compare tbody th {
	text-align: left;
	font-weight: 500;
}

.compare td {
	text-align: center;
	width: 17%;
}

.compare .ours {
	background: var(--ours);
}

.compare thead .ours {
	color: var(--brand);
}

.mark {
	width: 20px;
	height: 20px;
	vertical-align: middle;
}

.compare .yes .mark {
	color: var(--paid-text);
	stroke-width: 3;
}

.compare .no .mark {
	color: var(--no-mark);
}

.compare .partial .mark {
	color: var(--sand);
	stroke-width: 3;
}

/* Features */
.feature-icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--band);
	color: var(--brand);
	margin-bottom: 14px;
}

.icon {
	width: 22px;
	height: 22px;
}

.feature ul {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
}

.feature li {
	position: relative;
	padding-left: 18px;
	margin-top: 7px;
}

.feature li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.68em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sand);
}

/* Steps */
.steps {
	counter-reset: step;
	list-style: none;
	padding: 0;
	margin: 32px 0 0;
	display: grid;
	gap: 16px;
}

@media (min-width: 800px) {
	.steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

.steps li {
	counter-increment: step;
	border-top: 3px solid var(--sand);
	padding-top: 18px;
}

.steps li::before {
	content: counter(step);
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--brand);
	color: var(--on-brand);
	font-weight: 700;
	margin-bottom: 12px;
}

.steps p {
	color: var(--muted);
	margin-top: 6px;
}

/* FAQ */
details {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0 20px;
	margin-top: 12px;
}

details:first-of-type {
	margin-top: 28px;
}

summary {
	cursor: pointer;
	font-weight: 600;
	padding: 16px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

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

summary::after {
	content: "+";
	color: var(--brand);
	font-size: 1.3rem;
	line-height: 1;
}

details[open] summary::after {
	content: "−";
}

details p {
	color: var(--muted);
	padding-bottom: 18px;
}

/* Final call to action and footer */
.final {
	background: var(--hero-bg);
	color: var(--on-hero);
}

.final .section-lead {
	color: var(--on-hero-soft);
}

.final .btn {
	background: var(--accent);
	color: var(--on-accent);
	border-color: var(--accent);
}

.final .btn:hover {
	background: var(--accent-hover);
}

.foot {
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
}

.foot .bar {
	flex-wrap: wrap;
	padding: 18px 16px;
}

.foot nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.foot a {
	color: var(--muted);
}

.missing {
	padding: 120px 16px;
}

.missing p {
	margin-top: 16px;
	color: var(--muted);
}

@media (max-width: 479px) {
	.actions .btn.small {
		display: none;
	}
}

/* Hero */
.hero {
	background: var(--hero-bg);
	color: var(--on-hero);
}

.hero .eyebrow {
	background: var(--hero-tint);
	border-color: var(--hero-line);
	color: var(--on-hero);
}

.hero .lead {
	color: var(--on-hero-soft);
}

.hero .note {
	color: var(--on-hero-faint);
}

.hero .btn {
	background: var(--accent);
	color: var(--on-accent);
	border-color: var(--accent);
}

.hero .btn:hover {
	background: var(--accent-hover);
}

.hero .btn.ghost {
	background: transparent;
	color: var(--on-hero);
	border-color: var(--hero-line);
}

.hero .btn.ghost:hover {
	background: var(--hero-tint);
}

.hero .mock {
	border-color: transparent;
	color: var(--text);
}
