html {
	font-size: 17px;
}
body {
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	color: var(--ink);
	background: radial-gradient(
			70rem 50rem at 10% -10%,
			rgba(208, 134, 96, 0.12),
			transparent 60%
		),
		radial-gradient(
			60rem 40rem at 110% 0%,
			rgba(212, 154, 106, 0.1),
			transparent 55%
		),
		linear-gradient(180deg, var(--bg-grad-1), var(--bg-grad-2));
}

:root {
	--bg-deep: #0f1015; /* espresso */
	--bg-grad-1: #15171e; /* cacao */
	--bg-grad-2: #161a22; /* dark cocoa */

	--copper: #3c65b0; /* main accent */
	--sand: #a46ad4; /* soft accent */
	--saffron: #b43be0; /* bright warm CTA */

	--ink: #fff3ea; /* light text on dark */
	--ink-strong: #ffffff; /* max contrast on dark */
	--muted: #e3d6cf; /* muted on dark */

	--panel: #151520; /* dark card */
	--ring: rgba(60, 85, 176, 0.28);
	--ok: #8eb069; /* check icons */

	--light-bg: #f1f4fb; /* light section bg */
	--light-surface: #ffffff; /* light card surface */
	--light-text: #141a2a; /* text on light */
	--light-text-strong: #11131e;
	--light-muted: #6e5c52; /* muted on light */
	--light-border: #e9dfd8; /* borders on light */

	--shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.28);
	--shadow-md: 0 10px 24px rgba(0, 0, 0, 0.18);
	--shadow-sm: 0 10px 20px rgba(61, 39, 27, 0.06);
}

/* =========================
   Global text helpers
   ========================= */
.text-high-contrast {
	color: var(--ink-strong) !important;
}
.text-ink-strong {
	color: var(--ink-strong) !important;
}
.text-dark {
	color: var(--light-text) !important;
}
.text-dark-strong {
	color: var(--light-text-strong) !important;
}
.text-muted-calm {
	color: var(--light-muted) !important;
}

/* Headings with better readability on dark */
h1,
h2,
h3,
h4,
h5,
h6 {
	letter-spacing: 0.2px;
	line-height: 1.25;
	color: var(--ink-strong);
}
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
	color: var(--light-text-strong);
}

/* Paragraphs: slightly stronger on dark, calmer on light */
p {
	margin-bottom: 1rem;
}
.section-light p {
	color: var(--light-text);
}

/* Links */
a {
	color: var(--sand);
	text-decoration: none;
	transition: color 0.2s ease;
}
a:hover {
	color: #ebc59a;
}
.section-light a {
	color: #9d6f49;
}
.section-light a:hover {
	color: #c49060;
}

/* Focus styles (accessibility) */
:focus-visible {
	outline: 3px solid rgba(224, 153, 59, 0.55);
	outline-offset: 2px;
	border-radius: 6px;
}

/* =========================
   Navbar
   ========================= */
.nav-warm {
	background: rgba(16, 12, 11, 0.6);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.navbar .nav-link {
	color: var(--ink-strong);
	opacity: 0.92;
	padding: 0.75rem 0.9rem;

	display: flex;
	align-items: center;
}
.navbar .nav-link:hover {
	opacity: 1;
}
.brand-capsule {
	padding: 0.35rem 0.6rem;

	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgb(241, 230, 230);
}

/* =========================
   Buttons
   ========================= */
.btn {
	font-weight: 600;
	letter-spacing: 0.2px;
	border-radius: 0.8rem;
}
.btn-cta {
	--bs-btn-bg: var(--saffron);
	--bs-btn-hover-bg: #f0ae5e;
	--bs-btn-active-bg: #e8952f;
	--bs-btn-color: #2a1b14;
	--bs-btn-border-color: transparent;
	box-shadow: 0 10px 26px rgba(224, 153, 59, 0.25);
}
.btn-ghost {
	color: var(--ink-strong);
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}
.btn-outline-warm {
	color: var(--copper);
	border: 1px solid var(--copper);
	background: transparent;
}
.btn-outline-warm:hover {
	color: #2a1b14;
	background: var(--sand);
	border-color: var(--sand);
}

/* =========================
   Sections
   ========================= */

.section-title {
	letter-spacing: 0.3px;
}

/* Dark hero */
.hero {
	background: radial-gradient(
			40rem 40rem at 80% -10%,
			rgba(208, 134, 96, 0.12),
			transparent 60%
		),
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
	padding: 150px 0;
}

.section-pad {
	padding: 30px 0;
}
.hero-visual {
	background: var(--panel);
	border-radius: 1rem;
}
.accent-underline {
	background: linear-gradient(
		180deg,
		transparent 68%,
		rgba(224, 153, 59, 0.45) 0
	);
	padding: 0.1rem 0.2rem;
}

/* Light sections */
.section-light {
	background: var(--light-bg);
}
.section-light .section-title {
	color: var(--light-text-strong);
}

/* =========================
   Cards
   ========================= */
.warm-card {
	background: var(--panel);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1rem;
	box-shadow: var(--shadow-lg);
}
.light-card {
	background: var(--light-surface);
	border: 1px solid var(--light-border);
	border-radius: 1rem;
	box-shadow: var(--shadow-sm);
}

/* Card titles readable on both themes */
.warm-card h5,
.warm-card h6 {
	color: var(--ink-strong);
}
.light-card h5,
.light-card h6 {
	color: var(--light-text-strong);
}

/* =========================
   Icons & Chips
   ========================= */
.icon-lg {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 0.75rem;
	color: #ffe2c8;
	background: rgba(176, 92, 60, 0.18);
}
.icon-lg.on-light {
	color: #8c4c31;
	background: rgba(176, 92, 60, 0.12);
}

.chip {
	font-size: 0.85rem;
	color: var(--ink-strong);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	padding: 0.3rem 0.65rem;
	background: rgba(255, 255, 255, 0.07);
}
.chip.on-light {
	color: var(--light-text);
	border-color: var(--light-border);
	background: #fff9f2;
}
.chip-amber {
	border-color: rgba(224, 153, 59, 0.4);
	background: rgba(224, 153, 59, 0.15);
	color: var(--ink-strong);
}

/* =========================
   Lists
   ========================= */
.list-check {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}
.list-check li {
	position: relative;
	padding-left: 1.75rem;
	margin: 0.5rem 0;
}
.list-check li i {
	position: absolute;
	left: 0;
	top: 0.15rem;
	color: var(--ok);
}
.list-check.on-light li {
	color: var(--light-text);
}
.list-check.on-light li i {
	color: #6fa55b;
}

/* Soft note */
.note-soft {
	background: linear-gradient(
		180deg,
		rgba(212, 154, 106, 0.12),
		rgba(212, 154, 106, 0)
	);
	border: 1px dashed rgba(212, 154, 106, 0.5);
	border-radius: 1rem;
}

/* Trust line */
.trust {
	color: var(--muted);
	font-size: 0.95rem;
}
.dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	display: inline-block;
	margin-right: 0.5rem;
	background: var(--copper);
	box-shadow: 0 0 0 4px var(--ring);
}

/* =========================
   Forms
   ========================= */
.form-label {
	font-weight: 600;
	letter-spacing: 0.2px;
}
.form-control,
.form-select {
	background: #1b1412;
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: var(--ink-strong);
	border-radius: 0.8rem;
}
.form-control::placeholder {
	color: #d8c8bf;
}
.form-select {
	color: var(--ink);
}
.form-control:focus,
.form-select:focus {
	border-color: var(--saffron);
	box-shadow: 0 0 0 0.25rem rgba(224, 153, 59, 0.22);
}

/* On light sections */
.section-light .form-control,
.section-light .form-select {
	background: #ffffff;
	border: 1px solid var(--light-border);
	color: var(--light-text);
}
.section-light .form-control::placeholder {
	color: #9a857a;
}

/* =========================
   Footer
   ========================= */
.footer {
	background: #140f0e;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--muted);
}
.footer .link-light {
	color: #f1e4da;
	opacity: 0.9;
}
.footer .link-light:hover {
	opacity: 1;
}

/* =========================
   Utilities
   ========================= */
.rounded-4 {
	border-radius: 1rem !important;
}
.shadow-lg-warm {
	box-shadow: var(--shadow-lg);
}
.shadow-md-warm {
	box-shadow: var(--shadow-md);
}
.max-w-70ch {
	max-width: 70ch;
}
.img-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 1rem;
}

/* Spacing helpers for tighter mobile rhythm */
@media (max-width: 575.98px) {
	.navbar .nav-link {
		padding: 0.6rem 0.8rem;
	}
}

/* Print-friendly tweaks */
@media print {
	.nav-warm,
	.footer {
		display: none !important;
	}
}
.list-check li {
	position: relative;
	padding-left: 1.75rem;
	margin: 0.5rem 0;
	color: #fff;
}
