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

:root {
	--coral: #FF6B5B;
	--coral-dark: #E85A4A;
	--navy: #1A2744;
	--navy-light: #2A3A5C;
	--cream: #FDF8F3;
	--gold: #F4C542;
	--mint: #4ECDC4;
	--text: #2D3748;
	--text-light: #64748B;
	--white: #FFFFFF;
	--shadow: 0 4px 24px rgba(26, 39, 68, 0.08);
	--shadow-lg: 0 12px 48px rgba(26, 39, 68, 0.12);
}

html { scroll-behavior: smooth; }

body {
	font-family: 'DM Sans', -apple-system, sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: var(--text);
	background: var(--cream);
	overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; }

h1 { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--navy); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--navy); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); color: var(--navy-light); margin-bottom: 1rem; font-weight: 600; }

p { margin-bottom: 1.25rem; }

a { color: var(--coral); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--coral-dark); }

strong { color: var(--navy); font-weight: 600; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

/* Header */
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(253, 248, 243, 0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(26, 39, 68, 0.06);
	transition: transform 0.3s;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	font-family: 'Playfair Display', serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--navy);
}

.logo span { color: var(--coral); }

nav { display: flex; gap: 32px; }
nav a { color: var(--text); font-size: 0.95rem; font-weight: 500; position: relative; }
nav a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--coral);
	transition: width 0.3s;
}
nav a:hover::after { width: 100%; }
nav a:hover { color: var(--coral); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--navy);
	margin: 5px 0;
	transition: 0.3s;
}

/* Hero */
.hero {
	padding: 140px 24px 80px;
	background: linear-gradient(135deg, var(--cream) 0%, #FFF5EE 100%);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 80%;
	height: 150%;
	background: radial-gradient(circle, rgba(255, 107, 91, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 1;
}

.hero h1 { margin-bottom: 32px; }

.hero-highlight {
	display: inline-block;
	background: linear-gradient(135deg, var(--coral), var(--gold));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-intro {
	font-size: 1.15rem;
	color: var(--text-light);
	max-width: 700px;
	margin: 0 auto 40px;
}

/* Key Points Box */
.key-box {
	background: var(--white);
	border-radius: 20px;
	padding: 32px 40px;
	box-shadow: var(--shadow-lg);
	border-left: 5px solid var(--coral);
	text-align: left;
	max-width: 800px;
	margin: 0 auto;
	animation: slideUp 0.8s ease-out;
}

.key-box-title {
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--coral);
	margin-bottom: 12px;
}

.key-box p { margin-bottom: 0; color: var(--navy); font-size: 1.05rem; }

@keyframes slideUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Table of Contents */
.toc {
	background: var(--white);
	padding: 60px 24px;
}

.toc-inner {
	max-width: 700px;
	margin: 0 auto;
}

.toc h2 { text-align: center; margin-bottom: 32px; font-size: 1.6rem; }

.toc-list {
	list-style: none;
	counter-reset: toc-counter;
}

.toc-list li {
	counter-increment: toc-counter;
	margin-bottom: 16px;
}

.toc-list a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: var(--cream);
	border-radius: 12px;
	color: var(--text);
	font-weight: 500;
	transition: all 0.3s;
}

.toc-list a::before {
	content: counter(toc-counter);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--navy);
	color: var(--white);
	border-radius: 50%;
	font-size: 0.9rem;
	font-weight: 700;
	flex-shrink: 0;
	transition: all 0.3s;
}

.toc-list a:hover {
	background: var(--navy);
	color: var(--white);
	transform: translateX(8px);
}

.toc-list a:hover::before { background: var(--coral); }

/* Main Content */
main { padding: 80px 24px; }

.section {
	max-width: 800px;
	margin: 0 auto 80px;
	scroll-margin-top: 100px;
}

.section:last-child { margin-bottom: 0; }

.section > h2 {
	position: relative;
	padding-bottom: 16px;
	margin-bottom: 32px;
}

.section > h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--coral), var(--gold));
	border-radius: 2px;
}

.section h3 { margin-top: 40px; }

/* Lists */
.styled-list {
	list-style: none;
	margin: 24px 0;
}

.styled-list li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 14px;
}

.styled-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 12px;
	height: 12px;
	background: var(--coral);
	border-radius: 3px;
	transform: rotate(45deg);
}

.numbered-list {
	list-style: none;
	counter-reset: item;
	margin: 24px 0;
}

.numbered-list li {
	counter-increment: item;
	position: relative;
	padding-left: 48px;
	margin-bottom: 20px;
}

.numbered-list li::before {
	content: counter(item);
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	background: var(--navy);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.9rem;
}

/* Table */
.table-wrapper {
	overflow-x: auto;
	margin: 32px 0;
	border-radius: 16px;
	box-shadow: var(--shadow);
}

table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	min-width: 600px;
}

thead {
	background: var(--navy);
	color: var(--white);
}

th {
	padding: 18px 20px;
	text-align: left;
	font-weight: 600;
	font-size: 0.95rem;
}

td {
	padding: 18px 20px;
	border-bottom: 1px solid rgba(26, 39, 68, 0.08);
	vertical-align: top;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover { background: rgba(255, 107, 91, 0.04); }

th:first-child { border-radius: 16px 0 0 0; }
th:last-child { border-radius: 0 16px 0 0; }

/* Callout */
.callout {
	background: linear-gradient(135deg, var(--navy), var(--navy-light));
	color: var(--white);
	padding: 32px 36px;
	border-radius: 16px;
	margin: 40px 0;
	position: relative;
	overflow: hidden;
}

.callout::before {
	content: '💡';
	position: absolute;
	top: -20px;
	right: 20px;
	font-size: 80px;
	opacity: 0.1;
}

.callout p { margin-bottom: 0; }
.callout strong { color: var(--gold); }

/* FAQ */
.faq {
	background: var(--white);
	padding: 80px 24px;
}

.faq-inner {
	max-width: 800px;
	margin: 0 auto;
}

.faq h2 { text-align: center; margin-bottom: 48px; }

.faq-item {
	border-bottom: 1px solid rgba(26, 39, 68, 0.1);
	padding: 24px 0;
}

.faq-item:first-of-type { border-top: 1px solid rgba(26, 39, 68, 0.1); }

.faq-item h3 {
	margin: 0 0 12px;
	font-size: 1.15rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.faq-item h3::after {
	content: '+';
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cream);
	border-radius: 50%;
	color: var(--coral);
	font-weight: 700;
	font-size: 1.2rem;
}

.faq-item p { margin-bottom: 0; color: var(--text-light); }

/* CTA */
.cta {
	background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
	padding: 80px 24px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.5;
}

.cta-content {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 0 auto;
}

.cta h2 { color: var(--white); margin-bottom: 20px; }
.cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; font-size: 1.1rem; }

.btn {
	display: inline-block;
	padding: 16px 40px;
	background: var(--white);
	color: var(--coral);
	font-weight: 700;
	font-size: 1rem;
	border-radius: 50px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	transition: all 0.3s;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
	color: var(--coral-dark);
}

/* Footer */
footer {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.7);
	padding: 48px 24px 32px;
	text-align: center;
}

footer .logo { color: var(--white); margin-bottom: 16px; display: inline-block; }
footer p { font-size: 0.9rem; margin-bottom: 8px; }
footer a { color: var(--gold); }

/* Mobile */
@media (max-width: 768px) {
	body { font-size: 16px; }
	
	nav { 
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		padding: 24px;
		gap: 0;
		box-shadow: var(--shadow-lg);
	}
	
	nav.active { display: flex; }
	nav a { padding: 12px 0; border-bottom: 1px solid var(--cream); }
	nav a:last-child { border-bottom: none; }
	
	.menu-toggle { display: block; }
	
	.hero { padding: 120px 20px 60px; }
	.key-box { padding: 24px; }
	
	.toc { padding: 40px 20px; }
	.toc-list a { padding: 14px 16px; font-size: 0.95rem; }
	
	main { padding: 60px 20px; }
	.section { margin-bottom: 60px; }
	
	.table-wrapper { margin: 24px -20px; border-radius: 0; }
	
	.callout { padding: 24px; }
	.callout::before { display: none; }
	
	.faq { padding: 60px 20px; }
	.cta { padding: 60px 20px; }
}

/* Print */
@media print {
	header, .toc, .cta, footer { display: none; }
	body { background: white; font-size: 12pt; }
	.hero { padding: 0; background: none; }
	.key-box { box-shadow: none; border: 1px solid #ddd; }
}