/* ================================================
   DESIGN TOKENS
   Brand: Dr. Brighten Essentials — Practitioner
   Palette: Warm sage, forest green, warm white
================================================ */
:root {
	--color-bg:           #F8F7F4;
	--color-surface:      #FFFFFF;
	--color-sage:         #4E7268;
	--color-sage-dark:    #2F5248;
	--color-sage-darker:  #1E3830;
	--color-sage-light:   #C8D8D2;
	--color-sage-muted:   #EDF2EF;
	--color-text:         #1B2B24;
	--color-text-muted:   #5B6B64;
	--color-border:       #D5DDD9;
	--color-cta:          #2F5248;
	--color-cta-hover:    #1E3830;

	--font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-sans:  'Inter', system-ui, -apple-system, sans-serif;

	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;

	--transition: 200ms ease;
	--container:  1200px;
}

/* ================================================
   RESET & BASE
================================================ */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-sans);
	background-color: var(--color-bg);
	color: var(--color-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ================================================
   ACCESSIBILITY
================================================ */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	background: var(--color-cta);
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 500;
	z-index: 10000;
	transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }

/* ================================================
   LAYOUT
================================================ */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ================================================
   BUTTONS
================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.75rem;
	border-radius: var(--radius-sm);
	font-family: var(--font-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition:
		background-color var(--transition),
		color var(--transition),
		border-color var(--transition),
		transform var(--transition);
	border: 2px solid transparent;
	text-decoration: none;
	white-space: nowrap;
	min-height: 44px;
}
.btn:focus-visible {
	outline: 3px solid var(--color-sage);
	outline-offset: 3px;
}

.btn-primary {
	background-color: var(--color-cta);
	color: #fff;
	border-color: var(--color-cta);
}
.btn-primary:hover {
	background-color: var(--color-cta-hover);
	border-color: var(--color-cta-hover);
	transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
	background-color: transparent;
	color: var(--color-text-muted);
	border-color: transparent;
	padding: 0.75rem 1.25rem;
}
.btn-ghost:hover { color: var(--color-text); }

.btn-white {
	background-color: #fff;
	color: var(--color-sage-dark);
	border-color: #fff;
}
.btn-white:hover {
	background-color: rgba(255, 255, 255, 0.9);
	border-color: rgba(255, 255, 255, 0.9);
	transform: translateY(-1px);
}
.btn-white:focus-visible { outline-color: #fff; }

.btn-lg {
	padding: 1rem 2.25rem;
	font-size: 1rem;
}

/* ================================================
   NAVIGATION
================================================ */
.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: rgba(248, 247, 244, 0.96);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--color-border);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.nav-logo {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}
.nav-logo-name {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
	letter-spacing: 0.01em;
}
.nav-logo-sub {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-sage);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.nav-login {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-text-muted);
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	transition: color var(--transition);
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
.nav-login:hover { color: var(--color-text); }
.nav-login:focus-visible {
	outline: 3px solid var(--color-sage);
	outline-offset: 2px;
}

/* ================================================
   HERO
================================================ */
.hero {
	padding: 7rem 0 6rem;
	background-color: var(--color-bg);
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 500px;
	height: 500px;
	background: radial-gradient(ellipse at center, rgba(78, 114, 104, 0.09) 0%, transparent 68%);
	pointer-events: none;
}
.hero::after {
	content: '';
	position: absolute;
	bottom: -60px;
	left: -40px;
	width: 340px;
	height: 340px;
	background: radial-gradient(ellipse at center, rgba(78, 114, 104, 0.06) 0%, transparent 70%);
	pointer-events: none;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 4rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-sage);
	margin-bottom: 1.375rem;
}
.hero-eyebrow::before {
	content: '';
	display: block;
	width: 28px;
	height: 1px;
	background-color: var(--color-sage);
	flex-shrink: 0;
}

.hero-headline {
	font-family: var(--font-serif);
	font-size: clamp(2.25rem, 4vw, 3.625rem);
	font-weight: 600;
	line-height: 1.13;
	color: var(--color-text);
	letter-spacing: -0.01em;
	margin-bottom: 1.375rem;
}
.hero-headline em {
	font-style: italic;
	color: var(--color-sage);
}

.hero-subheadline {
	font-size: 1.0625rem;
	line-height: 1.72;
	color: var(--color-text-muted);
	margin-bottom: 2.25rem;
	max-width: 500px;
}

.hero-cta-group {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.hero-note {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-top: 1.125rem;
	line-height: 1.5;
}

/* Credential panel — right side of hero */
.hero-panel {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(31, 43, 36, 0.06);
}
.hero-panel-header {
	background: var(--color-sage-muted);
	padding: 1.125rem 1.5rem;
	border-bottom: 1px solid var(--color-border);
}
.hero-panel-title {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-sage);
}
.hero-panel-body { padding: 0 1.5rem; }

.panel-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.125rem 0;
	border-bottom: 1px solid var(--color-sage-muted);
}
.panel-item:last-child { border-bottom: none; }

.panel-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--color-sage-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 0.1rem;
}
.panel-icon svg {
	width: 17px;
	height: 17px;
	stroke: var(--color-sage);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.panel-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-sage);
	margin-bottom: 0.2rem;
}
.panel-value {
	font-size: 0.9375rem;
	color: var(--color-text);
	line-height: 1.45;
}

/* ================================================
   SECTION COMMON
================================================ */
.section { padding: 6rem 0; }

.section-label {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-sage);
	margin-bottom: 0.75rem;
}
.section-title {
	font-family: var(--font-serif);
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	font-weight: 600;
	line-height: 1.18;
	color: var(--color-text);
	letter-spacing: -0.01em;
	margin-bottom: 1rem;
}
.section-subtitle {
	font-size: 1rem;
	line-height: 1.72;
	color: var(--color-text-muted);
	max-width: 560px;
}
.section-header { margin-bottom: 3.5rem; }

/* ================================================
   BENEFITS
================================================ */
.benefits { background-color: var(--color-surface); }

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background-color: var(--color-border);
	gap: 1px;
}

.benefit-card {
	background: var(--color-surface);
	padding: 2.25rem 1.875rem;
}

.benefit-icon {
	width: 46px;
	height: 46px;
	border-radius: var(--radius-md);
	background-color: var(--color-sage-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}
.benefit-icon svg {
	width: 22px;
	height: 22px;
	stroke: var(--color-sage);
	fill: none;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.benefit-title {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 0.625rem;
	line-height: 1.28;
}
.benefit-desc {
	font-size: 0.9375rem;
	line-height: 1.68;
	color: var(--color-text-muted);
}

/* ================================================
   DIVIDER
================================================ */
.divider {
	height: 1px;
	background: var(--color-border);
}

/* ================================================
   ABOUT DR. BRIGHTEN
================================================ */
.about { background-color: var(--color-bg); }

.about-inner {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 5rem;
	align-items: center;
}

.about-image-wrap { position: relative; }

.about-image {
	border-radius: var(--radius-lg);
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.about-image-placeholder {
	background: linear-gradient(160deg, var(--color-sage-muted) 0%, var(--color-sage-light) 100%);
	border-radius: var(--radius-lg);
	aspect-ratio: 4 / 5;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.about-image-placeholder svg {
	width: 55%;
	opacity: 0.18;
}

.about-badge {
	position: absolute;
	bottom: -16px;
	right: -16px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 1rem 1.25rem;
	box-shadow: 0 8px 28px rgba(31, 43, 36, 0.08);
}
.about-badge-value {
	font-family: var(--font-serif);
	font-size: 2.125rem;
	font-weight: 700;
	color: var(--color-sage);
	line-height: 1;
}
.about-badge-label {
	font-size: 0.7188rem;
	font-weight: 500;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 0.3rem;
	line-height: 1.4;
}

.about-bio {
	font-size: 1rem;
	line-height: 1.78;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
}

.about-credentials {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-top: 2rem;
}
.cred-row {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	font-size: 0.9375rem;
	color: var(--color-text);
	line-height: 1.5;
}
.cred-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--color-sage);
	flex-shrink: 0;
	position: relative;
	top: -1px;
}

/* ================================================
   TESTIMONIALS
================================================ */
.testimonials { background-color: var(--color-sage-muted); }

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.testimonial-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	display: flex;
	flex-direction: column;
}

.testimonial-quote {
	font-family: var(--font-serif);
	font-size: 1.075rem;
	font-style: italic;
	line-height: 1.68;
	color: var(--color-text);
	flex: 1;
	margin-bottom: 1.5rem;
}
.testimonial-quote::before {
	content: '\201C';
	font-size: 2.5rem;
	line-height: 0.7;
	vertical-align: -0.4rem;
	color: var(--color-sage-light);
	margin-right: 0.1rem;
	font-style: normal;
}

.testimonial-author {
	border-top: 1px solid var(--color-border);
	padding-top: 1.125rem;
}
.testimonial-name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-text);
}
.testimonial-credential {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-top: 0.2rem;
}

/* ================================================
   CTA BANNER
================================================ */
.cta-banner {
	background-color: var(--color-sage-dark);
	padding: 5.5rem 0;
	position: relative;
	overflow: hidden;
}
.cta-banner::before {
	content: '';
	position: absolute;
	top: -100px;
	right: -100px;
	width: 500px;
	height: 500px;
	background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 60%);
	pointer-events: none;
}

.cta-banner-inner {
	text-align: center;
	position: relative;
	z-index: 1;
}
.cta-banner-eyebrow {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 1rem;
}
.cta-banner-title {
	font-family: var(--font-serif);
	font-size: clamp(1.875rem, 3.5vw, 2.75rem);
	font-weight: 600;
	color: #fff;
	margin-bottom: 0.875rem;
	line-height: 1.18;
}
.cta-banner-subtitle {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 2.25rem;
	line-height: 1.6;
}
.cta-banner-note {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.45);
	margin-top: 1.25rem;
}
.cta-banner-note a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color var(--transition);
}
.cta-banner-note a:hover { color: rgba(255, 255, 255, 0.85); }

/* ================================================
   FOOTER
================================================ */
.footer {
	background-color: var(--color-text);
	padding: 3.5rem 0 2rem;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2rem;
	flex-wrap: wrap;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 1.75rem;
}
.footer-logo-name {
	font-family: var(--font-serif);
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
}
.footer-logo-sub {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin-top: 0.25rem;
}
.footer-nav {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	align-items: center;
}
.footer-link {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.55);
	transition: color var(--transition);
}
.footer-link:hover { color: rgba(255, 255, 255, 0.9); }
.footer-link:focus-visible {
	outline: 2px solid rgba(255,255,255,0.4);
	outline-offset: 2px;
	border-radius: 2px;
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.footer-copy {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.35);
	flex-shrink: 0;
}
.footer-disclaimer {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.28);
	max-width: 520px;
	text-align: right;
	line-height: 1.55;
}

/* ================================================
   RESPONSIVE — 1064px (tablet/laptop)
================================================ */
@media (max-width: 1064px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	.hero-panel { display: none; }
	.hero-subheadline { max-width: 600px; }

	.benefits-grid { grid-template-columns: repeat(2, 1fr); }

	.about-inner {
		grid-template-columns: 1fr;
		gap: 3.5rem;
	}
	.about-image-wrap { max-width: 400px; }
}

/* ================================================
   RESPONSIVE — 768px (mobile)
================================================ */
@media (max-width: 768px) {
	.hero  { padding: 4rem 0 3.5rem; }
	.section { padding: 4rem 0; }
	.nav-logo-sub { display: none; }
	.benefits-grid { grid-template-columns: 1fr; }
	.testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }
	.footer-inner { flex-direction: column; gap: 1.5rem; }
	.footer-bottom { flex-direction: column; gap: 0.75rem; }
	.footer-disclaimer { text-align: left; max-width: 100%; }
}

/* ================================================
   RESPONSIVE — 480px (small phone)
================================================ */
@media (max-width: 480px) {
	.hero-cta-group { flex-direction: column; align-items: stretch; }
	.btn-lg { width: 100%; justify-content: center; }
	.btn-ghost { width: 100%; justify-content: center; }
	.cta-banner { padding: 4rem 0; }
}

/* ================================================
   REDUCED MOTION
================================================ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
	html { scroll-behavior: auto; }
}
