/* =========================================================================
   Addira — Community Commerce · Design System
   Palette discipline (brief §4): ~65% neutral, 20% purple, 10% emerald,
   3% yellow, 2% gold. Purple is the unmistakable brand colour.
   ========================================================================= */

/* ---- Self-hosted variable fonts ---------------------------------------- */
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage.woff2") format("woff2");
	font-weight: 500 800;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "InterVar";
	src: url("../fonts/inter.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	font-style: normal;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
	--brand: #6d28d9;
	--brand-50: #f5f3ff;
	--brand-100: #ede9fe;
	--brand-200: #ddd6fe;
	--brand-300: #c4b5fd;
	--brand-600: #6d28d9;
	--brand-700: #5b21b6;
	--brand-900: #3b0f73;

	--community: #16a34a;
	--community-50: #f0fdf4;
	--community-100: #dcfce7;
	--community-700: #15803d;

	--discover: #facc15;
	--discover-50: #fefce8;
	--discover-600: #ca8a04; /* accessible text variant */

	--gold: #c9a227;
	--gold-50: #fbf7e9;
	--gold-700: #8a6d12; /* accessible text variant */

	--canvas: #fafaf8;
	--white: #ffffff;
	--ink: #18181b;
	--ink-muted: #52525b;
	--ink-faint: #71717a;
	--line: #e7e5e4;

	--radius: 0.875rem;
	--radius-lg: 1.25rem;
	--radius-xl: 1.75rem;

	--shadow-card: 0 1px 2px rgba(24, 24, 27, 0.04), 0 4px 16px rgba(24, 24, 27, 0.06);
	--shadow-card-hover: 0 2px 4px rgba(24, 24, 27, 0.06), 0 12px 32px rgba(109, 40, 217, 0.1);
	--focus: 0 0 0 3px rgba(109, 40, 217, 0.35);

	--font-display: "Bricolage Grotesque", system-ui, sans-serif;
	--font-body: "InterVar", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--maxw: 1200px;
	--brand-gradient: linear-gradient(135deg, #6d28d9 0%, #7c3aed 45%, #c9a227 130%);
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
	font-family: var(--font-display);
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0;
	text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--brand-900); }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--brand-600); color: #fff; padding: 10px 16px;
	border-radius: 0 0 8px 0; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

.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;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.icon { display: inline-block; vertical-align: middle; flex: none; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 600; text-transform: uppercase;
	letter-spacing: 0.14em; color: var(--brand-700);
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 600; border-radius: var(--radius); border: 1px solid transparent;
	transition: all 0.2s ease; white-space: nowrap; text-align: center;
	font-size: 14px; padding: 10px 20px; min-height: 44px;
}
.btn:focus-visible { box-shadow: var(--focus); outline: none; }
.btn-sm { font-size: 14px; padding: 8px 14px; min-height: 40px; }
.btn-lg { font-size: 16px; padding: 12px 24px; min-height: 52px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgba(24,24,27,.08); }
.btn-primary:hover { background: var(--brand-700); box-shadow: var(--shadow-card-hover); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--brand-300); color: var(--brand-700); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-community { background: var(--community); color: #fff; }
.btn-community:hover { background: var(--community-700); }

.icon-btn {
	display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 10px; color: var(--ink-muted); background: transparent; border: 0;
}
.icon-btn:hover { background: var(--brand-50); color: var(--brand-700); }

/* ---- Badges / tags ------------------------------------------------------ */
.badge {
	display: inline-flex; align-items: center; gap: 6px;
	border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600;
}
.badge-brand { background: var(--brand-50); color: var(--brand-700); }
.badge-community { background: var(--community-50); color: var(--community-700); }
.badge-discover { background: var(--discover-50); color: var(--discover-600); }
.badge-gold { background: var(--gold-50); color: var(--gold-700); }
.badge-neutral { background: rgba(231,229,228,.5); color: var(--ink-muted); }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid transparent; background: var(--canvas);
	transition: background .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
	background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
	border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.03em; color: var(--ink); }

.primary-nav { display: none; }
.primary-nav .nav-menu { display: flex; align-items: center; gap: 4px; }
.primary-nav .nav-menu a {
	display: block; padding: 8px 12px; border-radius: 8px;
	font-size: 14px; font-weight: 500; color: var(--ink-muted); transition: color .15s ease;
}
.primary-nav .nav-menu a:hover { color: var(--ink); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--brand-700); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.hide-mobile { display: none; }
.show-mobile { display: inline-grid; }

@media (min-width: 1024px) {
	.primary-nav { display: block; }
	.mobile-panel { display: none; }
	.hide-mobile { display: inline-flex; }
	.show-mobile { display: none; }
}

/* ---- Mobile panel ------------------------------------------------------- */
.mobile-panel { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.mobile-panel.is-open { pointer-events: auto; }
.mobile-panel-backdrop {
	position: absolute; inset: 0; background: rgba(24,24,27,.3);
	opacity: 0; transition: opacity .2s ease;
}
.mobile-panel.is-open .mobile-panel-backdrop { opacity: 1; }
.mobile-panel-sheet {
	position: absolute; inset-block: 0; right: 0; width: 86%; max-width: 384px;
	background: #fff; box-shadow: -10px 0 40px rgba(24,24,27,.18);
	display: flex; flex-direction: column; transform: translateX(100%);
	transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.mobile-panel.is-open .mobile-panel-sheet { transform: translateX(0); }
.mobile-panel-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.mobile-nav { padding: 16px; }
.mobile-nav .mobile-menu, .mobile-nav .nav-menu { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 16px; border-radius: var(--radius); font-size: 16px; font-weight: 500; color: var(--ink); }
.mobile-nav a:hover { background: var(--canvas); }
.mobile-nav .current-menu-item > a { background: var(--brand-50); color: var(--brand-700); }
.mobile-panel-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-top: 1px solid var(--line); }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: 80px 0; }
@media (min-width: 640px) { .section { padding: 96px 0; } }
.section-white { background: #fff; border-block: 1px solid var(--line); }

.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head h2 { font-size: 30px; font-weight: 700; color: var(--ink); margin-top: 12px; }
.section-head .lead { font-size: 18px; color: var(--ink-muted); margin: 12px 0 0; max-width: 42rem; }
.section-head .head-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-700); flex: none; transition: gap .2s ease; }
.section-head .head-link:hover { gap: 10px; }
@media (min-width: 640px) {
	.section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.section-head h2 { font-size: 36px; }
}
.center-head { text-align: center; max-width: 42rem; margin: 0 auto; }
.center-head h2 { font-size: 30px; font-weight: 700; margin-top: 12px; }
.center-head .lead { font-size: 18px; color: var(--ink-muted); margin-top: 16px; }
@media (min-width: 640px) { .center-head h2 { font-size: 36px; } }

/* ---- Grids -------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.mt-10 { margin-top: 40px; }
.mt-14 { margin-top: 56px; }

/* ---- Cards -------------------------------------------------------------- */
.card {
	display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--brand-200); box-shadow: var(--shadow-card-hover); }
.card-pad { padding: 20px; }

.monogram {
	display: grid; place-items: center; width: 44px; height: 44px; flex: none;
	border-radius: 12px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px;
	background: linear-gradient(135deg, var(--brand), var(--brand-700));
}
.monogram.accent-community { background: linear-gradient(135deg, var(--community), var(--community-700)); }
.monogram.accent-gold { background: linear-gradient(135deg, var(--gold), var(--brand-600)); }

/* Community card */
.community-card .cc-top { display: flex; align-items: flex-start; gap: 12px; }
.community-card .cc-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-card .cc-tag { font-size: 14px; color: var(--ink-faint); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-card .cc-desc { margin-top: 12px; font-size: 14px; color: var(--ink-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.community-card .cc-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.meta-members { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--community-700); }
.meta-cat { font-size: 12px; font-weight: 500; color: var(--ink-faint); }

/* Product card */
.product-card { overflow: hidden; }
.product-context { display: flex; align-items: center; gap: 6px; background: var(--community-50); color: var(--community-700); padding: 8px 16px; font-size: 12px; font-weight: 500; }
.product-context span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-thumb { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--brand-50), var(--canvas)); display: grid; place-items: center; }
.product-thumb .ph { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--brand-200); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.product-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); margin: 0; }
.card:hover .product-name, .card:hover .cc-name { color: var(--brand-700); }
.product-desc { margin: 4px 0 0; font-size: 14px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0; }
.product-seller { margin: 2px 0 0; font-size: 12px; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 4px; }
.star-gold { color: var(--gold); }

/* Seller card */
.seller-card .s-top { display: flex; align-items: center; gap: 12px; }
.seller-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 999px; background: linear-gradient(135deg, var(--brand-100), var(--brand-50)); color: var(--brand-700); font-family: var(--font-display); font-weight: 700; }
.seller-name { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); margin: 0; }
.seller-name .icon { color: var(--brand-600); flex: none; }
.seller-head { margin-top: 12px; font-size: 14px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seller-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--ink-faint); }
.seller-foot span { display: inline-flex; align-items: center; gap: 4px; }

/* Article card */
.article-card { overflow: hidden; }
.article-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-100), var(--brand-50) 60%, var(--canvas)); }
.article-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.article-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-faint); }
.article-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ink); margin: 12px 0 0; }
.card:hover .article-title { color: var(--brand-700); }
.article-excerpt { margin: 8px 0 0; font-size: 14px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-byline { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-faint); }
.article-byline .author { font-weight: 500; color: var(--ink-muted); }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 55% at 78% 12%, rgba(109,40,217,.10), transparent 70%),
		radial-gradient(40% 40% at 12% 8%, rgba(22,163,74,.07), transparent 70%);
}
.hero-inner { display: grid; gap: 48px; align-items: center; padding: 64px 0; }
@media (min-width: 640px) { .hero-inner { padding: 80px 0; } }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.05fr 0.95fr; padding: 96px 0; } }
.hero h1 { font-size: 40px; font-weight: 700; line-height: 1.05; color: var(--ink); margin: 16px 0 0; }
@media (min-width: 640px) { .hero h1 { font-size: 52px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 60px; } }
.hero h1 .accent { color: var(--brand-700); }
.hero-lead { margin: 20px 0 0; max-width: 36rem; font-size: 18px; line-height: 1.6; color: var(--ink-muted); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.hero-stats dt { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink); }
.hero-stats dd { margin: 0; font-size: 14px; color: var(--ink-faint); }

/* TrustFlow signature visual */
.trustflow { position: relative; max-width: 28rem; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); padding: 20px; box-shadow: var(--shadow-card); }
.tf-node { display: flex; align-items: center; gap: 12px; border-radius: var(--radius-lg); padding: 14px; }
.tf-community { background: rgba(240,253,244,.6); border: 1px solid var(--community-100); }
.tf-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; flex: none; }
.tf-icon.c { background: var(--community); }
.tf-title { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; }
.tf-sub { font-size: 12px; color: var(--community-700); margin: 0; }
.tf-connector { width: 1px; height: 24px; margin: 4px 0 4px 32px; }
.tf-c1 { background: linear-gradient(to bottom, var(--brand-300), var(--community)); opacity: .5; }
.tf-c2 { background: linear-gradient(to bottom, var(--brand-300), var(--gold)); opacity: .6; }
.tf-rec { margin-left: 16px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: 14px; box-shadow: 0 1px 2px rgba(24,24,27,.05); }
.tf-rec-top { display: flex; align-items: center; gap: 8px; }
.tf-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--brand-100); color: var(--brand-700); font-size: 12px; font-weight: 700; }
.tf-rec p { margin: 8px 0 0; font-size: 14px; color: var(--ink-muted); }
.tf-product { margin-left: 16px; display: flex; align-items: center; gap: 12px; border-radius: var(--radius-lg); border: 1px solid var(--brand-100); background: rgba(245,243,255,.5); padding: 14px; }
.tf-product .thumb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--brand-200); box-shadow: 0 1px 2px rgba(24,24,27,.06); flex: none; }
.tf-product .name { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-product .sub { font-size: 12px; color: var(--community-700); margin: 0; }
.tf-product .price { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.tf-verified { color: var(--brand-600); }

/* ---- Pillars (What is) -------------------------------------------------- */
.pillar { padding: 24px; }
.pillar-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--canvas); }
.pillar-icon.c { color: var(--community-700); }
.pillar-icon.b { color: var(--brand-700); }
.pillar-icon.g { color: var(--gold-700); }
.pillar h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 16px 0 0; color: var(--ink); }
.pillar p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }

/* ---- Chain narrative (signature) --------------------------------------- */
.chain-desktop { display: none; margin-top: 56px; }
.chain-row { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.chain-line { position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: linear-gradient(to right, var(--community), var(--brand-300), var(--gold)); }
.chain-node { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.chain-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; box-shadow: 0 0 0 4px #fff, 0 1px 2px rgba(24,24,27,.1); }
.dot-community { background: var(--community); color: #fff; }
.dot-discover { background: var(--discover); color: var(--ink); }
.dot-brand { background: var(--brand-600); color: #fff; }
.dot-gold { background: var(--gold); color: #fff; }
.chain-num { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.chain-label { margin-top: 4px; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); }
.chain-desc { margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--ink-muted); }
@media (min-width: 1024px) { .chain-desktop { display: block; } }

.chain-mobile { margin-top: 48px; }
.chain-item { position: relative; display: flex; gap: 16px; padding-bottom: 20px; }
.chain-item .rail { position: absolute; left: 24px; top: 48px; bottom: 0; width: 1px; background: var(--line); }
.chain-item .chain-dot { flex: none; }
.chain-item .chain-body { padding-top: 4px; }
.chain-item .chain-label { margin: 0; }
.chain-item .chain-label .n { margin-right: 8px; font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.chain-item .chain-desc { margin-top: 2px; }
@media (min-width: 1024px) { .chain-mobile { display: none; } }

/* ---- Benefits ----------------------------------------------------------- */
.benefits { display: grid; gap: 20px; }
@media (min-width: 1024px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit-panel { border-radius: var(--radius-xl); padding: 32px; }
.benefit-community { border: 1px solid var(--community-100); background: rgba(240,253,244,.4); }
.benefit-brand { border: 1px solid var(--brand-100); background: rgba(245,243,255,.4); }
.benefit-panel h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 16px 0 0; color: var(--ink); }
.benefit-list { margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--ink-muted); }
.benefit-list .icon { margin-top: 2px; flex: none; }
.benefit-community .benefit-list .icon { color: var(--community); }
.benefit-brand .benefit-list .icon { color: var(--brand-600); }
.benefit-panel .btn { margin-top: 28px; }

/* ---- Testimonials ------------------------------------------------------- */
.voice-card { display: flex; flex-direction: column; padding: 24px; }
.voice-card .qmark { color: var(--brand-600); }
.voice-card .qmark.c { color: var(--community); }
.voice-card .qmark.g { color: var(--gold); }
.voice-quote { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink); flex: 1; }
.voice-who { margin: 20px 0 0; font-size: 14px; font-weight: 500; color: var(--ink-faint); }
.voice-note { margin-top: 24px; text-align: center; font-size: 12px; color: var(--ink-faint); }

/* ---- Final CTA ---------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 56px 32px; text-align: center; }
@media (min-width: 640px) { .cta-band { padding: 56px 64px; } }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--brand-gradient); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(59,15,115,.1); }
.cta-band h2 { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; max-width: 42rem; margin: 0 auto; }
@media (min-width: 640px) { .cta-band h2 { font-size: 36px; } }
.cta-band p { margin: 16px auto 0; max-width: 36rem; font-size: 18px; color: var(--brand-100); }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-on-brand { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-on-brand:hover { background: rgba(255,255,255,.25); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; gap: 40px; padding: 56px 20px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr repeat(5, 1fr); } }
.footer-brand { max-width: 20rem; }
.footer-blurb { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.footer-social { margin-top: 20px; display: flex; gap: 8px; }
.social-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-muted); }
.social-btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.footer-heading { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin: 0; }
.footer-menu { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.footer-menu a { font-size: 14px; color: var(--ink-muted); }
.footer-menu a:hover { color: var(--brand-700); }
.footer-bar { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-faint); }
.footer-bar p { margin: 0; }
.footer-trust { display: inline-flex; align-items: center; gap: 6px; }
.footer-trust .icon { color: var(--community); }
@media (min-width: 640px) { .footer-bar { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---- Page shell (inner pages) ------------------------------------------ */
.page-hero { padding: 56px 0 8px; }
.page-hero h1 { font-size: 34px; font-weight: 700; color: var(--ink); }
@media (min-width: 640px) { .page-hero h1 { font-size: 44px; } }
.page-hero .lead { margin: 12px 0 0; font-size: 18px; color: var(--ink-muted); max-width: 44rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-faint); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs .sep { color: var(--line); }
.prose { max-width: 42rem; }
.prose p { margin: 0 0 16px; color: var(--ink-muted); line-height: 1.7; }
.prose h2 { font-size: 24px; margin: 32px 0 12px; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; }
.prose a { color: var(--brand-700); text-decoration: underline; }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .icon-wrap { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; background: var(--brand-50); color: var(--brand-600); }
.empty-state h1 { margin: 24px 0 0; font-size: 30px; font-weight: 700; }
.empty-state p { margin: 12px auto 0; max-width: 28rem; color: var(--ink-muted); }
.empty-state .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Reveal animation --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Detail pages, Explore, How-it-works, FAQ, Contact
   ========================================================================= */

/* ---- Detail hero (community / seller) ---------------------------------- */
.detail-cover { position: relative; height: 200px; border-radius: 0 0 var(--radius-xl) var(--radius-xl); background: var(--brand-gradient); overflow: hidden; }
@media (min-width: 640px) { .detail-cover { height: 260px; } }
.detail-cover.accent-community { background: linear-gradient(135deg, var(--community), #0e7a38); }
.detail-cover.accent-gold { background: linear-gradient(135deg, var(--gold), var(--brand-600)); }
.detail-head { position: relative; margin-top: -56px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; }
.detail-avatar { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-card); font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--brand-600); border: 4px solid #fff; flex: none; }
.detail-avatar.round { border-radius: 999px; }
.detail-titles { flex: 1; min-width: 240px; padding-bottom: 4px; }
.detail-titles h1 { font-size: 30px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (min-width: 640px) { .detail-titles h1 { font-size: 38px; } }
.detail-titles .verified { color: var(--brand-600); }
.detail-tagline { margin: 6px 0 0; color: var(--ink-muted); font-size: 17px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 6px; }

.stat-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat-row .stat dt { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); }
.stat-row .stat dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-faint); }

.detail-layout { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: 1fr 320px; align-items: start; } }
.detail-side { display: flex; flex-direction: column; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.side-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0 0 12px; }

.block-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 20px; }
.section-gap { margin-top: 48px; }

/* Guidelines / highlights list */
.tick-list { display: flex; flex-direction: column; gap: 12px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-muted); font-size: 15px; }
.tick-list .icon { margin-top: 2px; color: var(--community); flex: none; }

/* ---- Product detail ----------------------------------------------------- */
.product-detail { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1fr 1fr; } }
.product-gallery { border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--brand-50), var(--canvas)); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.product-gallery .ph { font-family: var(--font-display); font-weight: 700; font-size: 96px; color: var(--brand-200); }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: 30px; font-weight: 700; margin: 12px 0 0; }
@media (min-width: 640px) { .product-info h1 { font-size: 36px; } }
.price-lg { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--ink); margin: 16px 0 0; }
.product-info .desc { margin: 16px 0 0; color: var(--ink-muted); line-height: 1.7; }
.seller-line { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.seller-line .seller-avatar { width: 40px; height: 40px; font-size: 14px; }
.cta-note { margin-top: 8px; font-size: 12px; color: var(--ink-faint); }
.rec-callout { margin-top: 20px; padding: 16px; border-radius: var(--radius); background: var(--community-50); border: 1px solid var(--community-100); color: var(--community-700); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.rec-callout .icon { flex: none; margin-top: 1px; }

/* ---- Explore hub -------------------------------------------------------- */
.explore-search { display: flex; gap: 10px; margin-top: 24px; max-width: 560px; }
.search-field { position: relative; flex: 1; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }
.search-field input { width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-family: inherit; background: #fff; }
.search-field input:focus { outline: none; border-color: var(--brand-300); box-shadow: var(--focus); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; color: var(--ink-muted); transition: all .15s ease; }
.chip:hover, .chip.is-active { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }

.explore-tiles { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 640px) { .explore-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .explore-tiles { grid-template-columns: repeat(3, 1fr); } }
.explore-tile { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); transition: all .2s ease; }
.explore-tile:hover { transform: translateY(-2px); border-color: var(--brand-200); box-shadow: var(--shadow-card-hover); }
.explore-tile .t-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); flex: none; }
.explore-tile h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0; }
.explore-tile p { margin: 4px 0 0; font-size: 13px; color: var(--ink-muted); }

/* ---- How it works ------------------------------------------------------- */
.hiw-grid { display: grid; gap: 20px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hiw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hiw-grid { grid-template-columns: repeat(3, 1fr); } }
.hiw-card { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.hiw-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-600); }
.hiw-card.c .hiw-num { background: var(--community); }
.hiw-card.g .hiw-num { background: var(--gold); }
.hiw-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 18px 0 0; }
.hiw-card p { margin: 8px 0 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }

/* ---- FAQ accordion (native details/summary) ---------------------------- */
.faq-group { margin-top: 40px; }
.faq-group > h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq-item > summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand-600); transition: transform .2s ease; line-height: 1; }
.faq-item[open] > summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 20px 18px; color: var(--ink-muted); line-height: 1.7; }

/* ---- Contact form ------------------------------------------------------- */
.contact-grid { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-300); box-shadow: var(--focus); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12px; color: var(--ink-faint); margin-top: 12px; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-aside .side-card p { margin: 0; color: var(--ink-muted); font-size: 14px; }

.related-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 20px; }

/* ---- Legal draft banner ------------------------------------------------- */
.prose .legal-banner { background: var(--gold-50); border: 1px solid #efe3b8; border-radius: var(--radius); padding: 12px 16px; margin: 0 0 20px; font-size: 14px; color: var(--ink); }
.prose .legal-banner strong { color: var(--gold-700); }

/* ---- Mobile hero refinements (≤640) ------------------------------------ */
@media (max-width: 640px) {
	.hero-inner { padding: 36px 0 12px; gap: 28px; }
	.hero h1 { font-size: 33px; line-height: 1.08; }
	.hero-lead { font-size: 16px; margin-top: 16px; }
	.hero-cta { margin-top: 24px; }
	.hero-stats { margin-top: 24px; padding-top: 22px; gap: 12px; }
	.hero-stats dt { font-size: 20px; }
	.hero-stats dd { font-size: 12px; }
	.trustflow { padding: 16px; max-width: 100%; }
	.tf-connector { margin-left: 26px; }
	.tf-rec, .tf-product { margin-left: 12px; }
}
@media (max-width: 390px) {
	.hero h1 { font-size: 29px; }
	.hero-cta .btn { flex: 1 1 auto; }
}

/* ---- Hero slider -------------------------------------------------------- */
.hero-slider { overflow: hidden; }
.hero-track { display: flex; transition: transform .55s cubic-bezier(.16,1,.3,1); will-change: transform; }
.hero-slide { flex: 0 0 100%; min-width: 0; }
.hero-slide .hero-inner { padding-bottom: 24px; }
.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 4px; }
.hero-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .25s ease, background .25s ease; }
.hero-dot:hover { background: var(--brand-300); }
.hero-dot.is-active { width: 26px; background: var(--brand-600); }
.hero-dot:focus-visible { box-shadow: var(--focus); outline: none; }
.hero .hero-stats { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .hero-track { transition: none; } }