/*
Theme Name: Epic Auto Utah
Theme URI: https://epicautoutah.com
Author: Epic Auto Utah
Description: Neumorphic dark theme for Epic Auto Utah, a pre-owned vehicle dealership in Orem, UT. Requires the "Epic Auto Inventory" plugin for vehicle inventory, FTP sync, and contact/trade-in/appointment forms.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: epic-auto-utah
*/

/* ==========================================================================
   Design tokens - ported 1:1 from the original site's dark neumorphic theme
   ========================================================================== */
:root {
	--background: 0 0% 6%;
	--foreground: 0 0% 96%;
	--border: 0 0% 16%;
	--card: 0 0% 10%;
	--card-foreground: 0 0% 94%;
	--card-border: 0 0% 14%;
	--primary: 118 68% 51%;
	--primary-foreground: 0 0% 10%;
	--secondary: 0 0% 20%;
	--secondary-foreground: 0 0% 88%;
	--muted: 0 0% 16%;
	--muted-foreground: 0 0% 68%;
	--accent: 0 0% 18%;
	--accent-foreground: 0 0% 86%;
	--input: 0 0% 35%;
	--ring: 118 68% 51%;
	--radius: 0.6rem;
	--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
	--font-display: 'Orbitron', system-ui, sans-serif;

	--shadow-neu-sm: 3px 3px 6px rgba(0,0,0,0.2), -3px -3px 6px rgba(255,255,255,0.03);
	--shadow-neu: 6px 6px 14px rgba(0,0,0,0.35), -6px -6px 14px rgba(255,255,255,0.04);
	--shadow-neu-hover: 8px 8px 20px rgba(0,0,0,0.45), -8px -8px 20px rgba(255,255,255,0.06);
	--shadow-neu-inset: inset 3px 3px 6px rgba(0,0,0,0.35), inset -3px -3px 6px rgba(255,255,255,0.03);
	--shadow-neu-lg: 10px 10px 24px rgba(0,0,0,0.4), -10px -10px 24px rgba(255,255,255,0.05);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: hsl(var(--background));
	background-image: radial-gradient(circle at 15% 0%, hsl(0 0% 9%) 0%, hsl(var(--background)) 45%);
	color: hsl(var(--foreground));
	font-family: var(--font-sans);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.eai-primary { color: hsl(var(--primary)); text-shadow: 0 0 24px hsla(var(--primary), 0.35); }

/* ==========================================================================
   Neumorphic surfaces
   ========================================================================== */
.card {
	background: hsl(var(--card));
	border: 1px solid hsl(var(--card-border));
	border-radius: var(--radius);
	box-shadow: var(--shadow-neu);
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.card:hover { box-shadow: var(--shadow-neu-hover); }
.icon-badge {
	width: 64px; height: 64px; border-radius: 999px;
	background: hsla(var(--primary), 0.1);
	box-shadow: var(--shadow-neu-inset);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-badge svg { width: 28px; height: 28px; color: hsl(var(--primary)); }
.icon-badge.sm { width: 48px; height: 48px; } .icon-badge.sm svg { width: 22px; height: 22px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	font-weight: 600; font-size: 1rem; padding: 0.9rem 1.75rem; border-radius: var(--radius);
	border: 2px solid transparent; cursor: pointer; transition: all .3s ease;
	background: hsl(var(--card)); color: hsl(var(--foreground)); box-shadow: var(--shadow-neu-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-neu-hover); }
.btn-primary { border-color: hsla(var(--primary), .4); color: hsl(var(--primary)); }
.btn-primary:hover { border-color: hsla(var(--primary), .65); }
.btn-solid { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: transparent; }
.btn-solid:hover { background: hsl(118 68% 46%); }
.btn-outline { background: hsla(var(--card), .5); border-color: hsl(var(--card-border)); }
.btn-full { width: 100%; }
.btn-icon { width: 48px; height: 48px; border-radius: 999px; padding: 0; border: 2px solid hsl(var(--card-border)); }

/* ==========================================================================
   Site header / navigation
   ========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 999;
	background: hsla(var(--background), .35); backdrop-filter: blur(10px);
	transition: background-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
	background: hsla(var(--background), .82); backdrop-filter: blur(20px);
	box-shadow: var(--shadow-neu);
}
.site-header .container { display: flex; align-items: center; height: 84px; gap: 20px; }
.site-logo img { height: 46px; width: auto; transition: transform .3s ease; }
.site-logo:hover img { transform: scale(1.05); }
.primary-nav { flex: 1; display: none; justify-content: center; align-items: center; gap: 10px; }
.primary-nav a {
	font-weight: 600; font-size: .95rem; padding: .65rem 1.1rem; border-radius: var(--radius);
	background: hsla(var(--card), .5); border: 1px solid hsl(var(--card-border)); box-shadow: var(--shadow-neu-sm);
	transition: all .3s ease; display: inline-flex; align-items: center; gap: .4em; white-space: nowrap;
}
.primary-nav a:hover { transform: translateY(-2px); box-shadow: var(--shadow-neu-hover); }
.primary-nav a.is-active { background: hsl(var(--card)); color: hsl(var(--primary)); border-color: hsla(var(--primary), .3); box-shadow: var(--shadow-neu); }
.header-search { position: relative; display: none; }
.header-search input {
	width: 240px; padding: .65rem 1rem .65rem 2.5rem; border-radius: var(--radius);
	border: 1px solid hsl(var(--card-border)); background: hsla(var(--card), .5); box-shadow: var(--shadow-neu-inset);
}
.header-search svg { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: hsl(var(--muted-foreground)); }
.header-search-results {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: hsl(var(--card));
	border: 1px solid hsl(var(--card-border)); border-radius: var(--radius); box-shadow: var(--shadow-neu-lg);
	max-height: 360px; overflow-y: auto; z-index: 60; display: none;
}
.header-search-results.is-open { display: block; }
.header-search-results a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid hsl(var(--border)); }
.header-search-results a:hover { background: hsla(var(--primary), .06); }
.menu-toggle { display: inline-flex; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.menu-toggle svg { width: 26px; height: 26px; }
.mobile-menu {
	display: none;
	position: fixed; top: 84px; left: 0; right: 0; z-index: 998;
	max-height: calc(100vh - 84px); overflow-y: auto;
	background: hsla(var(--background), .97); backdrop-filter: blur(20px); box-shadow: var(--shadow-neu);
}
.mobile-menu.is-open { display: block; }
.mobile-menu .container { flex-direction: column; align-items: stretch; height: auto; padding: 20px 24px 28px; gap: 12px; }
.mobile-menu a.btn { width: 100%; }
@media (min-width: 900px) {
	.primary-nav, .header-search { display: flex; }
	.menu-toggle { display: none; }
	.mobile-menu { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, hsla(var(--background),.95), hsla(var(--background),.8), hsla(var(--background),.9)); backdrop-filter: blur(2px); }
.hero-content { position: relative; z-index: 1; max-width: 1000px; padding: 130px 24px 60px; }
.hero-content h1 { font-size: clamp(2.5rem, 7vw, 6rem); line-height: 1.05; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.25rem); color: hsla(var(--foreground), .8); max-width: 640px; margin: 24px auto 0; }
.hero-cta { margin-top: 32px; }
.hero-scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: hsla(var(--primary), .6); animation: bob 2s infinite; }
@keyframes bob { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,8px);} }

.page-hero { position: relative; padding: 150px 0 70px; overflow: hidden; text-align: center; }
.page-hero .hero-media::after { background: linear-gradient(135deg, hsla(var(--background),.95), hsla(var(--background),.82), hsla(var(--background),.92)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.page-hero p { color: hsl(var(--muted-foreground)); font-size: 1.15rem; max-width: 700px; margin: 20px auto 0; }

/* ==========================================================================
   Section shells
   ========================================================================== */
.section { padding: 88px 0; }
.section-alt { background: hsla(var(--accent), .18); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: block; color: hsl(var(--primary)); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

/* ==========================================================================
   How it works / stats grids
   ========================================================================== */
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.step-card, .stat-card, .value-card, .benefit-card {
	position: relative; padding: 32px; border-radius: var(--radius); background: hsl(var(--card));
	border: 1px solid hsl(var(--card-border)); box-shadow: var(--shadow-neu); text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 16px; transition: all .3s ease;
}
.step-card:hover, .value-card:hover, .benefit-card:hover { box-shadow: var(--shadow-neu-hover); transform: translateY(-4px); }
.step-card .step-number { position: absolute; top: 16px; right: 20px; font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: hsla(var(--primary), .1); }
.step-card h3, .stat-card h3, .value-card h3, .benefit-card h3 { font-size: 1.2rem; }
.step-card p, .stat-card p, .value-card p, .benefit-card p { color: hsl(var(--muted-foreground)); font-size: .95rem; }
.stat-card .stat-value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: hsl(var(--primary)); text-shadow: 0 0 16px hsla(var(--primary), .3); }
.stat-card .stat-label { font-weight: 600; }

/* ==========================================================================
   Services
   ========================================================================== */
.service-card { padding: 32px; border-radius: var(--radius); background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); box-shadow: var(--shadow-neu); transition: all .3s ease; }
.service-card:hover { box-shadow: var(--shadow-neu-hover); border-color: hsla(var(--primary), .3); }
.service-card-inner { display: flex; gap: 24px; align-items: flex-start; }
.service-number { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: hsla(var(--primary), .3); margin-right: 10px; }
.service-card h3 { font-size: 1.4rem; display: inline; }
.service-card p { color: hsl(var(--muted-foreground)); margin: 14px 0 20px; }
.service-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-features li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: hsla(var(--foreground), .85); }
.service-features li svg { width: 18px; height: 18px; padding: 3px; border-radius: 999px; background: hsla(var(--primary), .2); color: hsl(var(--primary)); flex-shrink: 0; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-wrap { max-width: 820px; margin: 0 auto; position: relative; }
.testimonial-slide { display: none; text-align: center; }
.testimonial-slide.is-active { display: block; }
.testimonial-card { padding: 56px 40px; border-radius: var(--radius); background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); box-shadow: var(--shadow-neu); }
.testimonial-quote-icon { margin: 0 auto 28px; }
.testimonial-card p.quote { font-size: 1.35rem; line-height: 1.6; color: hsla(var(--foreground), .92); margin-bottom: 28px; }
.testimonial-name { font-weight: 600; font-size: 1.05rem; }
.testimonial-role { color: hsl(var(--muted-foreground)); font-size: .9rem; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.testimonial-dots button { width: 8px; height: 8px; border-radius: 999px; border: none; background: hsla(var(--muted-foreground), .3); cursor: pointer; transition: all .3s ease; }
.testimonial-dots button.is-active { width: 28px; background: hsl(var(--primary)); }
.testimonial-nav { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
@media (min-width: 1024px) {
	.testimonial-nav { position: absolute; top: 50%; left: -70px; right: -70px; transform: translateY(-50%); justify-content: space-between; margin: 0; pointer-events: none; }
	.testimonial-nav button { pointer-events: all; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: var(--radius); background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); box-shadow: var(--shadow-neu); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 28px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { transition: transform .3s ease; color: hsl(var(--primary)); flex-shrink: 0; margin-left: 16px; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item[open] summary { background: hsla(var(--accent), .3); }
.faq-answer { padding: 0 28px 24px; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* ==========================================================================
   Vehicle cards & inventory
   ========================================================================== */
.vehicle-card { border-radius: var(--radius); overflow: hidden; background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); box-shadow: var(--shadow-neu); transition: all .3s ease; }
.vehicle-card:hover { box-shadow: var(--shadow-neu-hover); transform: translateY(-4px); }
.vehicle-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.vehicle-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vehicle-card:hover .vehicle-card-media img { transform: scale(1.08); }
.vehicle-badge-featured { position: absolute; top: 14px; right: 14px; background: hsla(var(--primary), .92); color: hsl(var(--primary-foreground)); font-weight: 700; font-size: .75rem; padding: 5px 12px; border-radius: 999px; }
.vehicle-card-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.vehicle-card-body h3 { font-size: 1.15rem; }
.vehicle-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: hsl(var(--primary)); }
.vehicle-meta { display: flex; gap: 20px; padding-top: 12px; border-top: 1px solid hsl(var(--card-border)); font-size: .85rem; color: hsl(var(--muted-foreground)); }
.vehicle-meta span { display: inline-flex; align-items: center; gap: 6px; }

.inventory-layout { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .inventory-layout { grid-template-columns: 280px 1fr; } }
.filters-panel { background: hsl(var(--card)); border: 1px solid hsl(var(--card-border)); border-radius: var(--radius); box-shadow: var(--shadow-neu); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.filters-panel label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.filters-panel select, .filters-panel input { width: 100%; padding: .65rem .9rem; border-radius: var(--radius); border: 1px solid hsl(var(--card-border)); background: hsl(var(--background)); box-shadow: var(--shadow-neu-inset); }
.filters-panel .filter-actions { display: flex; gap: 10px; }
.inventory-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .inventory-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .inventory-grid { grid-template-columns: repeat(3, 1fr); } }
.inventory-empty { text-align: center; padding: 60px 20px; color: hsl(var(--muted-foreground)); }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }

/* ==========================================================================
   Vehicle detail
   ========================================================================== */
.vd-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .vd-layout { grid-template-columns: 1.1fr 0.9fr; } }
.vd-gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-neu); aspect-ratio: 4/3; }
.vd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.vd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.vd-thumbs img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .55; border: 2px solid transparent; }
.vd-thumbs img.is-active { opacity: 1; border-color: hsl(var(--primary)); }
.vd-specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 20px 0; }
.vd-spec-row { display: flex; align-items: center; gap: 10px; }
.vd-spec-row .label { display: block; font-size: .8rem; color: hsl(var(--muted-foreground)); }
.vd-spec-row .value { font-weight: 600; }
.vd-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .vd-features { grid-template-columns: repeat(3, 1fr); } }
.vd-features li { display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.vd-features li svg { width: 16px; height: 16px; color: hsl(var(--primary)); flex-shrink: 0; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: hsla(var(--primary), .15); color: hsl(var(--primary)); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .form-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.form-field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .92rem; }
.form-field input, .form-field select, .form-field textarea {
	width: 100%; padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid hsl(var(--input));
	background: hsl(var(--background)); box-shadow: var(--shadow-neu-inset); transition: box-shadow .2s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; box-shadow: var(--shadow-neu-inset), 0 0 0 3px hsla(var(--primary), .25); }
.form-switch { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border-radius: var(--radius); border: 1px solid hsl(var(--card-border)); box-shadow: var(--shadow-neu-sm); }
.form-switch input { width: 46px; height: 26px; }
.form-note { padding: 16px; border-radius: var(--radius); background: hsla(var(--primary), .06); border: 1px solid hsla(var(--primary), .2); font-size: .9rem; color: hsl(var(--muted-foreground)); }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); font-size: .92rem; display: none; }
.form-status.is-success { display: block; background: hsla(var(--primary), .12); border: 1px solid hsla(var(--primary), .3); color: hsl(var(--primary)); }
.form-status.is-error { display: block; background: hsla(0, 84%, 38%, .12); border: 1px solid hsla(0, 84%, 45%, .3); color: hsl(0 84% 65%); }

/* ==========================================================================
   Contact info cards
   ========================================================================== */
.contact-info-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
.contact-info-card svg { width: 34px; height: 34px; color: hsl(var(--primary)); flex-shrink: 0; }
.contact-info-card a.link { color: hsl(var(--primary)); font-weight: 600; font-size: .9rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: hsla(var(--card), .5); border-top: 1px solid hsl(var(--card-border)); backdrop-filter: blur(10px); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 24px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid img { height: 40px; margin-bottom: 12px; }
.footer-grid h3 { font-size: .9rem; margin-bottom: 14px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-links a, .footer-contact a { color: hsl(var(--muted-foreground)); font-size: .9rem; }
.footer-links a:hover, .footer-contact a:hover { color: hsl(var(--primary)); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact p { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-bottom { padding-top: 20px; border-top: 1px solid hsla(var(--card-border), .5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: hsl(var(--muted-foreground)); }
.footer-bottom a:hover { color: hsl(var(--primary)); }

/* ==========================================================================
   Legal page
   ========================================================================== */
.legal-content h2 { font-size: 1.6rem; margin: 44px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.legal-content p { color: hsl(var(--muted-foreground)); margin-bottom: 12px; }
.legal-content ul { margin: 10px 0 16px; }
.legal-content ul li { position: relative; padding-left: 20px; color: hsl(var(--muted-foreground)); margin-bottom: 8px; }
.legal-content ul li::before { content: '•'; position: absolute; left: 0; color: hsl(var(--primary)); }
.legal-divider { height: 1px; background: hsl(var(--card-border)); margin: 40px 0; }

/* ==========================================================================
   Utility / animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.space-y > * + * { margin-top: 16px; }
.not-found { text-align: center; padding: 160px 24px 100px; }
