/* SafeNest Senior — assets/css/main.css (compiled)
 * Version: 8.0.2 | Built: April 2026
 * Source: style.css (theme root)
 *
 * This is the COMPILED stylesheet enqueued via wp_enqueue_style('safenest-main-css').
 * DO NOT edit this file directly — edit style.css instead, then copy here.
 *
 * Critical above-fold CSS is handled separately:
 *   → assets/css/critical-hero.css  (physical file, takes priority)
 *   → functions.php safenest_critical_css_inline() (fallback generator)
 *
 * Load order in <head>:
 *   1. sns-palette-v802 (inline, priority 1)  — CSS vars
 *   2. safenest-critical (inline, priority 1) — above-fold
 *   3. Google Fonts (priority 2)              — non-blocking
 *   4. safenest-main-css (this file, defer)   — full styles
 */

/*
Theme Name: SafeNest Senior
Theme URI: https://safenestsenior.com
Author: Nghia Nguyen
Author URI: https://safenestsenior.com
Description: Independent research publication for senior home safety. OT-aligned protocols, transparent device testing, and evidence-based fall prevention guides. Launched 2026.
Version: 8.0.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: https://safenestsenior.com/license/
Text Domain: safenest-senior
Tags: accessibility-ready, blog, e-commerce, news, one-column, two-columns, custom-colors, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/* ════════════════════════════════════════
   CSS VARIABLES — v8.0.2
   Synced với functions.php sns-palette-v802
   ════════════════════════════════════════ */
:root {
	/* ── Brand palette ── */
	--teal:        #0D9488;
	--teal-dark:   #0F766E;
	--teal-mid:    #14B8A6;
	--teal-light:  #CCFBF1;
	--teal-pale:   #F0FDFA;
	--amber:       #F59E0B;
	--amber-dark:  #D97706;
	--amber-light: #FEF3C7;
	--amber-pale:  #FFFBEB;
	--ink:         #1F2937;
	--muted:       #6B7280;
	--border:      #E5E7EB;
	--cream:       #F9FAFB;
	--cream-2:     #F3F4F6;
	--white:       #FFFFFF;
	--r-sm:        4px;
	--r-md:        8px;
	--r-lg:        12px;
	--shadow:      0 1px 3px rgba(0,0,0,0.1);
	--shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.1);

	/* ── v8.0.2: Dark Section Palette ──────────────────────────
	   Fully synced với functions.php sns-palette-v802.
	   Replaces all #111827 references throughout templates.
	   Forest-teal family — warm, trustworthy, WCAG AAA contrast.
	   ────────────────────────────────────────────────────────── */
	--dark-section:        #0E4038;   /* Founder card, quick-pick, final-rec */
	--dark-section-alt:    #0A3350;   /* Gradient endpoint */
	--dark-hero:           #0B3025;   /* Hero areas */
	--dark-hero-alt:       #062540;   /* Hero gradient endpoint */
	--dark-footer:         #0C2A22;   /* Footer */
	--dark-bar:            #0F3D30;   /* Proof/stat bars */
	--dark-bar-alt:        #0A3040;   /* Stat bar gradient endpoint */
	--dark-table-header:   #0D3B36;   /* Table <th> */
	--dark-overlay:        rgba(255,255,255,0.07); /* Glass panel on dark bg */

	/* ── v8.0.2: Component tokens ── */
	--touch-target:        44px;  /* WCAG 2.5.8 minimum touch target */
	--touch-target-lg:     52px;  /* Senior-optimised (35-70 age group) */
	--transition-base:     0.2s ease;
	--transition-smooth:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── v8.0.1: Semantic list resets ── */
.nav-links,
.nav-links li,
.nav-dropdown-menu,
ul.faq-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Outfit', sans-serif;
	color: var(--ink);
	background: var(--white);
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }

/* ════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════ */
.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}
.section { padding: 60px 0; }

/* ════════════════════════════════════════
   DISCLOSURE BAR
   ════════════════════════════════════════ */
.disclosure {
	background: var(--cream-2);
	font-size: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
}
.disclosure .wrap {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

/* ════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════ */
.nav {
	position: sticky;
	top: 0;
	background: var(--white);
	border-bottom: 1px solid var(--border);
	z-index: 1000;
	transition: box-shadow var(--transition-base);
}
.nav.scrolled { box-shadow: var(--shadow-lg); }
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	gap: 24px;
}
.logo-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 18px;
	color: var(--ink);
}
.logo-icon {
	width: 36px;
	height: 36px;
	background: var(--teal);
	color: var(--white);
	border-radius: var(--r-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}
.nav-links {
	display: flex;
	gap: 24px;
	align-items: center;
}
.nav-links a {
	color: var(--ink);
	font-weight: 500;
	font-size: 14px;
}
.nav-links a:hover { color: var(--teal); }
.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--ink);
}
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
	background: none;
	border: none;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 4px;
}
.nav-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-lg);
	min-width: 220px;
	padding: 8px 0;
	z-index: 1001;
}
.nav-dropdown-menu a {
	display: block;
	padding: 10px 16px;
	color: var(--ink);
	font-size: 14px;
}
.nav-dropdown-menu a:hover {
	background: var(--cream);
	text-decoration: none;
}

@media (max-width: 768px) {
	.menu-toggle { display: block; }
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		padding: 16px 24px;
		border-bottom: 1px solid var(--border);
	}
	.nav-links.open { display: flex; }
	.nav-dropdown-menu {
		position: static;
		box-shadow: none;
		border: none;
		padding-left: 16px;
	}
}

/* ════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════ */
.hero {
	background: linear-gradient(140deg, #EBF9F7 0%, #F0FDFA 45%, #FFFFFF 100%);
	padding: 60px 0;
	border-bottom: 1px solid var(--border);
}
.hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.hero-urgency {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--amber-light);
	color: #92400E;
	padding: 6px 12px;
	border-radius: var(--r-md);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 16px;
}
.hero-h1 {
	font-family: 'Lora', serif;
	font-size: 42px;
	line-height: 1.2;
	margin: 0 0 16px 0;
	color: var(--ink);
}
.hero-h1 em {
	font-style: italic;
	color: var(--teal);
}
.hero-desc {
	font-size: 17px;
	color: var(--muted);
	margin-bottom: 24px;
	line-height: 1.7;
}
.hero-ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.hero-proof { display: flex; gap: 16px; flex-wrap: wrap; }
.cred-badge {
	background: var(--white);
	border: 1px solid var(--border);
	padding: 6px 12px;
	border-radius: var(--r-md);
	font-size: 12px;
	color: var(--muted);
}
.cred-badge strong { color: var(--teal); }
.hero-img-col { text-align: center; }
.hero-img {
	width: 100%;
	max-width: 800px;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-h1 { font-size: 32px; }
	.hero-img-col { order: -1; }
}

/* ════════════════════════════════════════
   BUTTONS — v8.0.2 COMPLETE DEFINITION
   ════════════════════════════════════════ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: var(--r-md);
	font-weight: 600;
	font-size: 15px;
	transition: all var(--transition-base);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
	/* v8.0.2: min touch target */
	min-height: var(--touch-target);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}
.btn-teal {
	background: var(--teal);
	color: var(--white);
	border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }

.btn-amber {
	background: var(--amber);
	color: #000;
	border-color: var(--amber);
}
.btn-amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

.btn-ghost {
	background: transparent;
	border: 2px solid var(--border);
	color: var(--ink);
}
.btn-ghost:hover {
	border-color: var(--teal);
	color: var(--teal);
}

/*
 * v8.0.2 FIX [CRITICAL]: btn-outline-teal global definition.
 *
 * VẤNĐỀ: btn-outline-teal chỉ được define trong table.php scoped <style>.
 * Khi class được dùng bởi main.js renderTable() hoặc các template khác,
 * definition có thể không load nếu table section chưa render.
 *
 * FIX: Global definition trong style.css — available everywhere.
 * Scoped definition trong table.php vẫn giữ (specificity override OK).
 */
.btn-outline-teal {
	background: transparent;
	color: var(--teal);
	border: 1.5px solid var(--teal);
}
.btn-outline-teal:hover {
	background: var(--teal-pale);
	border-color: var(--teal-dark);
	color: var(--teal-dark);
	transform: none; /* No lift in table context */
}
.btn-outline-teal:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}

/* Button size variants */
.btn-sm {
	padding: 10px 20px;
	font-size: 13px;
	min-height: 40px;
}
.btn-lg {
	padding: 16px 32px;
	font-size: 16px;
	min-height: 56px;
}

/* Dark bg variants */
.btn-ghost-light {
	background: rgba(255,255,255,0.1);
	color: rgba(255,255,255,0.8);
	border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost-light:hover {
	background: rgba(255,255,255,0.18);
	color: #fff;
}

/* ════════════════════════════════════════
   TRUST SECTION
   ════════════════════════════════════════ */
.trust-sec { background: var(--cream); }
.trust-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.trust-card {
	background: var(--white);
	padding: 32px;
	border-radius: var(--r-lg);
	border: 1px solid var(--border);
	text-align: center;
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.trust-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.trust-av {
	width: 60px;
	height: 60px;
	margin: 0 auto 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
}
.verify-badge {
	display: inline-block;
	background: var(--teal-light);
	color: var(--teal);
	padding: 4px 12px;
	border-radius: var(--r-md);
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 8px;
}
.trust-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.trust-bio { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.trust-link { font-size: 13px; font-weight: 600; }

@media (max-width: 768px) {
	.trust-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════ */
.about-sec { background: var(--white); }
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.about-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--teal);
	margin-bottom: 12px;
}
.about-eyebrow-line { width: 40px; height: 2px; background: var(--teal); }
.about-h2 {
	font-family: 'Lora', serif;
	font-size: 32px;
	line-height: 1.3;
	margin: 0 0 16px 0;
}
.about-h2 em { font-style: italic; color: var(--teal); font-weight: 400; }
.about-intro { font-size: 16px; color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.about-mission-box {
	background: var(--cream-2);
	padding: 20px;
	border-left: 4px solid var(--teal);
	border-radius: var(--r-md);
	margin-bottom: 24px;
}
.about-mission-box strong { display: block; color: var(--teal); margin-bottom: 8px; }
.about-mission-box p { margin: 0; font-size: 15px; }
.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 32px;
}
.about-stat { text-align: center; }
.about-stat-num { display: block; font-size: 28px; font-weight: 700; color: var(--teal); }
.about-stat-sup { font-size: 14px; }
.about-stat-lbl { font-size: 12px; color: var(--muted); line-height: 1.4; }
.about-principles { margin-bottom: 32px; }
.about-principles-title { font-weight: 700; margin-bottom: 16px; }
.principle-item { display: flex; gap: 12px; margin-bottom: 16px; }
.principle-icon { font-size: 24px; flex-shrink: 0; }
.principle-text strong { display: block; font-size: 14px; margin-bottom: 4px; }
.principle-text p { margin: 0; font-size: 13px; color: var(--muted); }
.about-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-teal-solid { background: var(--teal); color: var(--white); border: 2px solid var(--teal); }
.btn-teal-solid:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-ghost-dark {
	background: transparent;
	border: 2px solid var(--ink);
	color: var(--ink);
}
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.about-founder-card {
	background: var(--cream-2);
	padding: 32px;
	border-radius: var(--r-lg);
	position: relative;
	overflow: hidden;
	margin-bottom: 24px;
}
.founder-header { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.founder-av {
	width: 50px;
	height: 50px;
	background: var(--teal);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	flex-shrink: 0;
}
.founder-meta strong { display: block; font-size: 16px; }
.founder-meta span { font-size: 13px; color: var(--muted); }
.founder-quote { font-family: 'Lora', serif; font-style: italic; font-size: 15px; color: var(--ink); margin-bottom: 16px; line-height: 1.7; }
.founder-bg { background: var(--white); padding: 16px; border-radius: var(--r-md); }
.founder-bg-label { font-size: 11px; font-weight: 600; color: var(--teal); text-transform: uppercase; margin-bottom: 8px; }
.founder-bg p { margin: 0; font-size: 13px; color: var(--muted); }
.about-transparency-card {
	background: var(--white);
	border: 1px solid var(--border);
	padding: 24px;
	border-radius: var(--r-lg);
}
.about-transparency-title { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 16px; }
.transparency-list { list-style: none; padding: 0; margin: 0; }
.transparency-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.t-check { color: var(--teal); font-weight: 700; }
.t-text { font-size: 13px; color: var(--muted); }

@media (max-width: 768px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-stats { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   FEATURED PRODUCTS
   ════════════════════════════════════════ */
.feat-sec { background: var(--cream); }
.feat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 32px;
}
.feat-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 24px;
	position: relative;
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-card--top { border-color: var(--amber); }
.feat-top-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--amber);
	color: #000;
	padding: 4px 16px;
	border-radius: var(--r-md);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}
.feat-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.feat-name { font-weight: 700; font-size: 16px; line-height: 1.4; }
.feat-score { font-size: 24px; font-weight: 700; color: var(--teal); }
.feat-score span { font-size: 14px; color: var(--muted); }
.feat-meta { margin-bottom: 20px; }
.feat-meta-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.feat-meta-lbl { color: var(--muted); }
.feat-meta-val { font-weight: 600; }
.feat-acc { color: var(--teal); }
.feat-footer { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.feat-note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }

@media (max-width: 768px) { .feat-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════
   KNOWLEDGE BASE
   ════════════════════════════════════════ */
.kb-sec { background: var(--white); }
.kb-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}
.depth-article h2 { font-family: 'Lora', serif; font-size: 28px; margin-bottom: 16px; }
.depth-article h3 { font-size: 18px; margin-top: 24px; margin-bottom: 12px; }
.depth-article p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.stat-callout { background: var(--teal-light); padding: 16px; border-radius: var(--r-md); margin: 16px 0; }
.stat-callout strong { display: block; font-size: 24px; color: var(--teal); margin-bottom: 4px; }
.kb-accordion { margin-bottom: 12px; }
.kb-trigger {
	width: 100%;
	text-align: left;
	background: var(--cream-2);
	border: none;
	padding: 16px;
	border-radius: var(--r-md);
	font-weight: 600;
	font-size: 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* v8.0.2: touch target */
	min-height: var(--touch-target);
}
.kb-icon { font-size: 18px; color: var(--teal); }
.kb-panel {
	background: var(--white);
	border: 1px solid var(--border);
	border-top: none;
	border-radius: 0 0 var(--r-md) var(--r-md);
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: all var(--transition-smooth);
}
.kb-panel.open { padding: 16px; max-height: 500px; }
.kb-panel-inner { font-size: 14px; color: var(--muted); line-height: 1.7; }

@media (max-width: 768px) { .kb-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════
   CONTENT HUB
   ════════════════════════════════════════ */
.hub-sec { background: var(--cream); }
.hub-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 32px;
}
.hub-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 24px;
	transition: transform var(--transition-base);
}
.hub-card:hover { transform: translateY(-4px); }
.hub-cat { font-size: 11px; font-weight: 700; color: var(--teal); text-transform: uppercase; margin-bottom: 8px; }
.hub-title { font-size: 16px; margin: 0 0 12px 0; line-height: 1.4; }
.hub-title a { color: var(--ink); }
.hub-title a:hover { color: var(--teal); text-decoration: none; }
.hub-excerpt { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.hub-read-more {
	font-size: 13px;
	font-weight: 600;
	color: var(--teal);
	/* v8.0.2: min touch target */
	display: inline-flex;
	align-items: center;
	min-height: var(--touch-target);
}
.hub-coming-soon {
	display: inline-block;
	background: var(--cream-2);
	color: var(--muted);
	padding: 4px 12px;
	border-radius: var(--r-md);
	font-size: 11px;
}

@media (max-width: 768px) { .hub-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════
   MONEY HUB
   ════════════════════════════════════════ */
.money-hub { background: var(--white); }
.money-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.money-card {
	background: var(--cream-2);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 24px;
	text-align: center;
	transition: transform var(--transition-base), border-color var(--transition-base);
}
.money-card:hover {
	transform: translateY(-4px);
	border-color: var(--teal);
	text-decoration: none;
}
.money-icon { font-size: 40px; margin-bottom: 12px; }
.money-card h4 { font-size: 16px; margin: 0 0 8px 0; color: var(--ink); }
.money-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

@media (max-width: 768px) { .money-grid { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════════════════════
   EVIDENCE TABLE
   ════════════════════════════════════════ */
.evidence-sec { background: var(--cream); }
.data-tbl-wrap { overflow-x: auto; }
.data-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border-radius: var(--r-lg);
	overflow: hidden;
}
.data-table th,
.data-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
	font-size: 13px;
}
.data-table th {
	/* v8.0.2: dark-table-header var */
	background: var(--dark-table-header);
	color: rgba(255,255,255,0.92);
	font-weight: 700;
}
.data-table tr:last-child td { border-bottom: none; }
.grade-5 { color: #059669; }
.grade-4 { color: #0D9488; }
.grade-3 { color: #F59E0B; }
.method-note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.7; }

/* ════════════════════════════════════════
   COMPARISON TABLE
   ════════════════════════════════════════ */
.aff-sec { background: var(--white); }
.tbl-wrap { overflow-x: auto; }
.smart-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border-radius: var(--r-lg);
	overflow: hidden;
	border: 1px solid var(--border);
}
.smart-table th,
.smart-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
}
.smart-table th {
	/* v8.0.2: dark-table-header var synced */
	background: var(--dark-table-header);
	color: rgba(255,255,255,0.92);
	font-weight: 700;
}
.smart-table tr.top-pick { background: var(--amber-light); }

/* v8.0.2: hover only on non-touch */
@media (hover: hover) {
	.smart-table tr:hover { background: var(--cream); }
}
.score-good { color: var(--teal); font-weight: 700; }
.tag-pick {
	display: inline-block;
	background: var(--amber);
	color: #000;
	padding: 2px 8px;
	border-radius: var(--r-sm);
	font-size: 11px;
	font-weight: 700;
	margin-left: 8px;
}
.tag-value {
	display: inline-block;
	background: var(--teal-light);
	color: var(--teal);
	padding: 2px 8px;
	border-radius: var(--r-sm);
	font-size: 11px;
	font-weight: 700;
	margin-left: 8px;
}
.tbl-context { font-size: 13px; color: var(--muted); }
.tbl-note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.7; }

/* ════════════════════════════════════════
   FAQ SECTION
   ════════════════════════════════════════ */
.faq-sec { background: var(--cream); }
.faq-item {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	margin-bottom: 12px;
	overflow: hidden;
}
.faq-trigger {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 18px 20px;
	font-weight: 600;
	font-size: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* v8.0.2: min touch target */
	min-height: var(--touch-target-lg);
}
.faq-icon { font-size: 20px; color: var(--teal); font-weight: 300; }
.faq-panel {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: all var(--transition-smooth);
}
.faq-panel.open { padding: 0 20px 20px 20px; max-height: 700px; }
.faq-panel p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.faq-srcs { display: flex; gap: 16px; flex-wrap: wrap; }
.faq-srcs a { font-size: 12px; color: var(--teal); font-weight: 600; }

/* ════════════════════════════════════════
   FUNNEL SECTION
   ════════════════════════════════════════ */
.funnel-sec {
	background: linear-gradient(135deg, var(--dark-section) 0%, var(--dark-section-alt) 100%);
	padding: 80px 0;
}
.funnel-card {
	background: var(--white);
	border-radius: var(--r-lg);
	padding: 48px;
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}
.funnel-form { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.funnel-input {
	padding: 14px 18px;
	border: 2px solid var(--border);
	border-radius: var(--r-md);
	font-size: 15px;
	font-family: inherit;
	/* v8.0.2: min touch target */
	min-height: var(--touch-target);
}
.funnel-input:focus { outline: none; border-color: var(--teal); }
.funnel-success {
	display: none;
	background: var(--teal-light);
	color: var(--teal);
	padding: 12px;
	border-radius: var(--r-md);
	font-weight: 600;
}
.funnel-success.show { display: block; }
.funnel-lbl { font-size: 12px; color: var(--muted); margin-top: 12px; }
.funnel-vals {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}
.fv-item strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.fv-item { font-size: 12px; color: var(--muted); }

@media (max-width: 768px) {
	.funnel-card { padding: 32px 24px; }
	.funnel-vals { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   QUIZ COMPONENT
   ════════════════════════════════════════ */
.quiz-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 32px;
	max-width: 500px;
	margin: 0 auto;
}
.quiz-prog-wrap {
	background: var(--cream-2);
	height: 8px;
	border-radius: var(--r-md);
	margin-bottom: 24px;
	overflow: hidden;
}
.quiz-prog-bar {
	background: var(--teal);
	height: 100%;
	width: 0%;
	transition: width var(--transition-smooth);
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step-info { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.quiz-q {
	font-family: 'Lora', serif;
	font-size: 20px;
	margin: 0 0 20px 0;
	color: var(--ink);
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
	background: var(--cream-2);
	border: 2px solid var(--border);
	padding: 14px 18px;
	border-radius: var(--r-md);
	text-align: left;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: all var(--transition-base);
	/* v8.0.2: senior touch target */
	min-height: var(--touch-target-lg);
}
.quiz-option:hover {
	border-color: var(--teal);
	background: var(--teal-light);
}
.qopt-dot {
	width: 16px;
	height: 16px;
	border: 2px solid var(--muted);
	border-radius: 50%;
	flex-shrink: 0;
}
.quiz-option:hover .qopt-dot { border-color: var(--teal); }
.result-view { display: none; text-align: center; }
.result-view.active { display: block; }
.result-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: var(--r-md);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.badge-high { background: #FEE2E2; color: #DC2626; }
.badge-mod  { background: var(--amber-light); color: #92400E; }
.badge-low  { background: var(--teal-light); color: var(--teal); }
.result-analysis {
	background: var(--cream-2);
	padding: 24px;
	border-radius: var(--r-md);
	margin-bottom: 24px;
}
.result-analysis h4 { margin: 0 0 12px 0; font-size: 18px; color: var(--ink); }
.result-analysis p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.result-email-opt {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}
.result-email-opt p { font-size: 14px; margin-bottom: 12px; }
.email-row { display: flex; gap: 10px; margin-bottom: 12px; }
.email-row input {
	flex: 1;
	padding: 10px 14px;
	border: 2px solid var(--border);
	border-radius: var(--r-md);
	font-size: 14px;
	min-height: var(--touch-target);
}
.email-sent-msg {
	display: none;
	color: var(--teal);
	font-weight: 600;
	font-size: 13px;
}

/* ════════════════════════════════════════
   FOOTER — v8.0.2
   background: var(--dark-footer) = #0C2A22
   ════════════════════════════════════════ */
footer {
	background: var(--dark-footer);
	color: var(--white);
	padding: 60px 0 30px 0;
}
.ft-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
	gap: 32px;
	margin-bottom: 40px;
}
.ft-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ft-logo-icon {
	width: 36px;
	height: 36px;
	background: var(--teal);
	color: var(--white);
	border-radius: var(--r-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}
.ft-logo-name { font-size: 18px; font-weight: 700; }
.ft-logo-name span { color: var(--teal-mid); }
.ft-brand p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; }
.ft-col-title { font-weight: 700; font-size: 14px; margin-bottom: 16px; color: var(--white); }
.ft-col nav { display: flex; flex-direction: column; gap: 10px; }
.ft-col a { font-size: 13px; color: rgba(255,255,255,0.65); }
.ft-col a:hover { color: var(--teal-mid); text-decoration: none; }
.ft-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 30px;
	border-top: 1px solid rgba(255,255,255,0.12);
	font-size: 13px;
	color: rgba(255,255,255,0.50);
}
.ft-disc {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,0.12);
	font-size: 12px;
	color: rgba(255,255,255,0.50);
	line-height: 1.7;
}

@media (max-width: 768px) {
	.ft-grid { grid-template-columns: 1fr 1fr; }
	.ft-bottom { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════
   EXIT POPUP
   ════════════════════════════════════════ */
.exit-popup {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}
.exit-popup.show { opacity: 1; visibility: visible; }
.popup-box {
	background: var(--white);
	padding: 40px;
	border-radius: var(--r-lg);
	max-width: 450px;
	text-align: center;
	position: relative;
}
.popup-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--muted);
	min-width: 36px;
	min-height: 36px;
}

/* ════════════════════════════════════════
   STICKY CTA
   ════════════════════════════════════════ */
.sticky-cta {
	position: fixed;
	bottom: 20px;
	left: 0;
	right: 0;
	z-index: 999;
	display: none;
}
.sticky-cta-inner { max-width: 420px; margin: 0 auto; padding: 0 24px; }

@media (max-width: 768px) { .sticky-cta { display: block; } }

/* ════════════════════════════════════════
   UTILITY CLASSES — v8.0.2
   ════════════════════════════════════════ */
.text-center { text-align: center; }
.lbl {
	display: inline-flex;
	align-items: center;
	background: var(--teal-light);
	color: var(--teal);
	padding: 4px 12px;
	border-radius: var(--r-md);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 12px;
	letter-spacing: 0.06em;
}
.h2 {
	font-family: 'Lora', serif;
	font-size: 32px;
	margin: 0;
	color: var(--ink);
}
.h1 {
	font-family: 'Lora', serif;
	font-size: clamp(24px, 4vw, 38px);
	color: var(--ink);
	line-height: 1.22;
	margin: 0 0 16px;
	font-weight: 700;
	letter-spacing: -0.025em;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* v8.0.2: Skip link — transform-based */
.skip-link {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -120%);
	background: var(--teal);
	color: var(--white);
	padding: 10px 20px;
	border-radius: 0 0 8px 8px;
	font-weight: 600;
	z-index: 10001;
	transition: transform 0.2s ease;
	text-decoration: none;
	white-space: nowrap;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════ */
.about-page .about-hero { background: var(--cream-2); padding: 80px 0; text-align: center; }
.about-page .subtitle { font-size: 20px; color: var(--muted); line-height: 1.6; }
.about-page h2 { font-family: 'Lora', serif; font-size: 32px; margin-top: 48px; margin-bottom: 24px; }
.about-page p { font-size: 17px; line-height: 1.8; margin-bottom: 24px; color: var(--muted); }
.about-page .last-updated { color: var(--muted); font-size: 13px; margin-top: 48px; text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.about-cta { margin: 60px 0; padding: 48px 32px; background: var(--teal); color: var(--white); border-radius: var(--r-lg); text-align: center; }
.about-cta h2 { color: var(--white); margin-bottom: 16px; }

/* ════════════════════════════════════════
   SINGLE STATE PAGE
   ════════════════════════════════════════ */
.single-sns_state .depth-article { max-width: 800px; margin: 0 auto; }
.single-sns_state h1 { font-family: 'Lora', serif; font-size: 36px; margin: 12px 0 24px 0; }

/* ════════════════════════════════════════
   PAGE TITLE SUPPRESSION
   ════════════════════════════════════════ */
.page-title-hidden {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
body.page .page-title-hidden,
body.single-sns_state .page-title-hidden { display: none !important; }

/* ════════════════════════════════════════
   ACCESSIBILITY
   ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
a:focus, button:focus, input:focus, select:focus, textarea:focus {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}
@media (prefers-contrast: high) {
	.btn { border: 2px solid currentColor; }
}

/* ════════════════════════════════════════
   v8.0.2: DARK SECTION GLASS UTILITIES
   ════════════════════════════════════════ */
.dark-glass-panel {
	background: var(--dark-overlay);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: var(--r-md);
	padding: 12px 14px;
}
.dark-divider { border-top: 1px solid rgba(255,255,255,0.12); }

/* ════════════════════════════════════════
   v8.0.2: BREADCRUMB GLOBAL
   ════════════════════════════════════════ */
.breadcrumb-nav { margin-bottom: 22px; }
.breadcrumb-list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	font-size: 13px;
	color: var(--muted);
}
.breadcrumb-list a { color: var(--teal); text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list [aria-current="page"] { color: var(--muted); }

/* ════════════════════════════════════════
   v8.0.2: BLOCKQUOTE SEMANTIC
   ════════════════════════════════════════ */
.founder-quote footer { margin-top: 12px; font-size: 13px; color: var(--muted); }
.founder-quote cite { font-style: normal; font-weight: 600; }