:root {
	--tennis-green: #064f2a;
	--tennis-yellow: #ccff00;
	--tennis-white: #ffffff;
	--tennis-gray: #f4f4f4;
	--text-light: #fdfdfd;
	--text-dark: #111111;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--tennis-green);
	color: var(--text-light);
	line-height: 1.6;
}

/* Skip link for accessibility */
.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--tennis-yellow);
	color: var(--text-dark);
	padding: 0.5rem 1rem;
	text-decoration: none;
	z-index: 1000;
	font-weight: 600;
}

.skip-link:focus {
	top: 0;
}

a {
	color: var(--tennis-yellow);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Improved focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--tennis-yellow);
	outline-offset: 2px;
}

header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(6, 79, 42, 0.95);
	backdrop-filter: blur(4px);
	border-bottom: 3px solid var(--tennis-yellow);
}

.nav-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0.5rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.logo-ball {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--tennis-yellow);
	box-shadow: 0 0 8px rgba(204, 255, 0, 0.8);
	position: relative;
	overflow: hidden;
}

.logo-ball::before,
.logo-ball::after {
	content: "";
	position: absolute;
	width: 200%;
	height: 2px;
	background: rgba(6, 79, 42, 0.7);
	top: 50%;
	transform: translateY(-50%) rotate(25deg);
	left: -50%;
}

nav ul {
	display: flex;
	list-style: none;
	gap: 1rem;
	font-size: 0.9rem;
}

nav a {
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
	background: transparent;
	border: none;
	padding: 0.5rem;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--tennis-yellow);
}

main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 1.5rem 1rem 3rem;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 2rem;
	align-items: center;
	padding: 2rem 1.5rem;
	background: linear-gradient(135deg, #064f2a 0%, #0b713c 50%, #064f2a 100%);
	border-radius: 18px;
	margin-top: 1rem;
	border: 2px solid rgba(204, 255, 0, 0.3);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-kicker {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--tennis-yellow);
	margin-bottom: 0.4rem;
}

.hero h1 {
	font-size: 2.4rem;
	line-height: 1.1;
	margin-bottom: 0.5rem;
}

.hero-subtitle {
	font-size: 1.1rem;
	color: #e7ffe0;
	margin-bottom: 1rem;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	background: rgba(0, 0, 0, 0.25);
	margin-bottom: 1rem;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.btn-primary,
.btn-secondary {
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: inherit;
}

.btn-primary {
	background: var(--tennis-yellow);
	color: var(--text-dark);
	box-shadow: 0 0 12px rgba(204, 255, 0, 0.7);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 16px rgba(204, 255, 0, 0.9);
}

.btn-secondary {
	background: transparent;
	color: var(--tennis-white);
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.08);
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-top: 1.75rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: #d0fcd1;
}

.hero-card {
	position: relative;
	border-radius: 16px;
	background: radial-gradient(circle at 10% 20%, #ccff00 0, #98e600 40%, #064f2a 70%);
	padding: 1.75rem 1.5rem;
	color: #032412;
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
}

.hero-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 10px 10px, rgba(6, 79, 42, 0.2) 2px, transparent 0);
	background-size: 18px 18px;
	opacity: 0.4;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.hero-card-inner {
	position: relative;
	z-index: 1;
}

.book-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-weight: 700;
	margin-bottom: 0.7rem;
}

.book-tag span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #064f2a;
}

.book-title-card {
	font-size: 1.15rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.3rem;
}

.book-subtitle-card {
	font-size: 0.83rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
}

.book-lines {
	height: 2px;
	width: 60px;
	background: #064f2a;
	margin-bottom: 0.8rem;
	position: relative;
}

.book-lines::after {
	content: "";
	position: absolute;
	height: 2px;
	width: 30px;
	background: #064f2a;
	top: 4px;
	left: 0;
}

.book-bullets {
	font-size: 0.8rem;
	list-style: none;
	margin-bottom: 1rem;
	color: #041909;
	padding-left: 0;
}

.book-bullets li {
	padding-left: 0;
}

.book-bullets li::before {
	content: none;
}

.book-bullets li+li {
	margin-top: 0.3rem;
}

.book-note {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
}

.book-spine {
	position: absolute;
	right: -40px;
	top: 18px;
	width: 100px;
	height: 220px;
	border-radius: 12px;
	border: 2px solid rgba(3, 36, 18, 0.5);
	transform: rotate(14deg);
	background: linear-gradient(180deg, #064f2a, #0c8b4a);
	box-shadow: -12px 16px 25px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem;
}

.book-spine span {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.15em;
	color: var(--tennis-yellow);
	font-size: 0.7rem;
}

.sections {
	margin-top: 3rem;
	display: grid;
	gap: 2rem;
}

section {
	background: rgba(0, 0, 0, 0.2);
	padding: 1.5rem 1.4rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

section:nth-of-type(odd) {
	background: rgba(0, 0, 0, 0.28);
}

section h2 {
	font-size: 1.35rem;
	margin-bottom: 0.4rem;
}

section .section-kicker {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--tennis-yellow);
	margin-bottom: 0.7rem;
}

section p {
	margin-bottom: 0.65rem;
	color: #e5fbe9;
	font-size: 0.96rem;
}

.two-column {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
	align-items: flex-start;
}

.card {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 14px;
	padding: 1rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.45rem;
	color: #d9ffe0;
}

.pill-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tennis-yellow);
}

.subheading {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #b9f8be;
	margin-bottom: 0.4rem;
}

section ul {
	list-style: none;
	padding-left: 0;
	margin: 0.3rem 0 0.25rem;
}

section ul li {
	position: relative;
	padding-left: 1.1rem;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
	color: #dffce3;
}

section ul li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--tennis-yellow);
	font-size: 1rem;
	top: -1px;
}

.other-titles-list a {
	font-weight: 600;
	color: var(--tennis-yellow);
}

.form-grid {
	display: grid;
	gap: 1.2rem;
}

.form-row {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

label {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	margin-bottom: 0.25rem;
	display: block;
	color: #e5fbe9;
}

input,
textarea {
	width: 100%;
	padding: 0.6rem 0.7rem;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(0, 0, 0, 0.25);
	color: var(--tennis-white);
	font-size: 0.95rem;
	outline: none;
	transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
	font-family: inherit;
}

input:focus,
textarea:focus {
	border-color: var(--tennis-yellow);
	background: rgba(0, 0, 0, 0.35);
	box-shadow: 0 0 0 1px rgba(204, 255, 0, 0.4);
}

/* Visual feedback for validation */
input:valid:not(:placeholder-shown) {
	border-color: rgba(198, 255, 209, 0.5);
}

input:invalid:not(:placeholder-shown):not(:focus) {
	border-color: rgba(255, 179, 179, 0.5);
}

textarea {
	min-height: 120px;
	resize: vertical;
}

.error-message {
	color: #ffb3b3;
	font-size: 0.8rem;
	margin-top: 0.2rem;
	display: none;
}

.success-message {
	margin-top: 0.6rem;
	font-size: 0.9rem;
	color: #c6ffd1;
	display: none;
}

.excerpt-grid {
	display: grid;
	gap: 1.2rem;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.excerpt-card {
	background: rgba(0, 0, 0, 0.25);
	border-radius: 12px;
	padding: 1rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
	overflow: hidden;
}

.excerpt-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-bottom: 0.3rem;
	color: #b6f8c4;
}

.excerpt-text {
	font-size: 0.92rem;
	color: #f5fff7;
}

.excerpt-mark {
	position: absolute;
	font-size: 4rem;
	color: rgba(204, 255, 0, 0.12);
	right: 10px;
	bottom: -18px;
	font-family: "Georgia", serif;
}

.contact-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: flex-start;
}

.contact-meta p {
	font-size: 0.9rem;
}

.contact-channels {
	margin-top: 0.5rem;
}

.contact-channels div {
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

footer {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	margin-top: 2.5rem;
	padding: 1.5rem 1rem 1.75rem;
	color: #dbffe5;
	font-size: 0.8rem;
	background: rgba(0, 0, 0, 0.35);
}

.footer-inner {
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}

.footer-links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.footer-links a {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.13em;
}

/* Responsive */
@media (max-width: 800px) {
	nav ul {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: rgba(6, 79, 42, 0.98);
		flex-direction: column;
		padding: 0.75rem 1rem 1rem;
		display: none;
	}

	nav ul.open {
		display: flex;
	}

	.nav-toggle {
		display: flex;
	}

	.hero {
		grid-template-columns: minmax(0, 1fr);
		padding: 1.4rem 1.2rem;
	}

	.hero-card {
		order: -1;
	}

	.hero {
		margin-top: 1.25rem;
	}

	.hero-meta {
		gap: 0.8rem;
	}

	.two-column,
	.contact-grid,
	.excerpt-grid,
	.form-row {
		grid-template-columns: minmax(0, 1fr);
	}

	section {
		padding: 1.2rem 1.1rem;
	}

	.book-spine {
		display: none;
	}
}

@media (max-width: 480px) {
	.hero h1 {
		font-size: 1.8rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.hero {
		padding: 1.2rem 1rem;
	}

	.hero-card {
		padding: 1.2rem 1.1rem;
	}
}