/* =========================================================
 CryptoInfluencers.net . AAA Design System
 Cinematic institutional dark UI · reputation dossier
 ========================================================= */

:root {
 --bg-void: #04060c;
 --bg: #070b14;
 --bg-elevated: #0c1220;
 --bg-card: rgba(14, 20, 34, 0.72);
 --bg-card-solid: #0e1422;
 --bg-card-hover: rgba(18, 26, 44, 0.92);
 --border: rgba(148, 163, 184, 0.1);
 --border-strong: rgba(148, 163, 184, 0.18);
 --border-glow: rgba(16, 185, 129, 0.28);
 --text: #f1f5f9;
 --text-secondary: #94a3b8;
 --text-muted: #64748b;
 --accent: #2dd4bf;
 --accent-bright: #5eead4;
 --accent-soft: rgba(45, 212, 191, 0.1);
 --violet-glow: rgba(99, 102, 241, 0.12);

 --grade-aplus: #10b981;
 --grade-a: #14b8a6;
 --grade-aminus: #34d399;
 --grade-bplus: #a3e635;
 --grade-b: #fbbf24;
 --grade-c: #f97316;
 --grade-d: #f43f5e;
 --grade-f: #ef4444;

 --tier-high: #10b981;
 --tier-mid: #fbbf24;
 --tier-low: #f43f5e;

 --radius-xs: 8px;
 --radius-sm: 12px;
 --radius: 18px;
 --radius-lg: 24px;
 --radius-full: 9999px;

 --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
 --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
 --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
 --shadow-card:
 0 0 0 1px rgba(255, 255, 255, 0.04),
 0 8px 32px rgba(0, 0, 0, 0.4);

 --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 --max: 1200px;
 --header-h: 72px;
 --ease: cubic-bezier(0.22, 1, 0.36, 1);
 --transition: 220ms var(--ease);
}

*,
*::before,
*::after {
 box-sizing: border-box;
}

html {
 scroll-behavior: smooth;
}

body {
 margin: 0;
 min-height: 100vh;
 font-family: var(--font);
 font-size: 15px;
 line-height: 1.6;
 color: var(--text);
 background: var(--bg-void);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
}

/* Ambient cinematic background */
body::before {
 content: "";
 position: fixed;
 inset: 0;
 z-index: -2;
 background:
 radial-gradient(ellipse 80% 50% at 15% -10%, rgba(16, 185, 129, 0.14), transparent 55%),
 radial-gradient(ellipse 60% 40% at 90% 5%, rgba(56, 189, 248, 0.08), transparent 50%),
 radial-gradient(ellipse 50% 35% at 70% 100%, rgba(244, 63, 94, 0.05), transparent 50%),
 radial-gradient(ellipse 40% 30% at 0% 60%, rgba(99, 102, 241, 0.06), transparent 50%),
 linear-gradient(180deg, #070b14 0%, #04060c 100%);
 pointer-events: none;
}

/* Fine film grain */
body::after {
 content: "";
 position: fixed;
 inset: 0;
 z-index: -1;
 opacity: 0.035;
 pointer-events: none;
 background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
 max-width: 100%;
 display: block;
}

a {
 color: var(--accent);
 text-decoration: none;
 transition: color var(--transition);
}

a:hover {
 color: var(--accent-bright);
}

button,
select,
input {
 font-family: inherit;
}

::selection {
 background: rgba(16, 185, 129, 0.35);
 color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
 width: 10px;
 height: 10px;
}
::-webkit-scrollbar-track {
 background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
 background: rgba(148, 163, 184, 0.2);
 border-radius: 10px;
 border: 2px solid var(--bg-void);
}
::-webkit-scrollbar-thumb:hover {
 background: rgba(148, 163, 184, 0.35);
}

.container {
 width: min(100% - 2.5rem, var(--max));
 margin-inline: auto;
}

.skip-link {
 position: absolute;
 left: -9999px;
 top: 0;
 background: var(--accent);
 color: #042f2e;
 padding: 0.55rem 1rem;
 z-index: 1000;
 border-radius: var(--radius-xs);
 font-weight: 600;
}

.skip-link:focus {
 left: 1rem;
 top: 1rem;
}

.hidden {
 display: none !important;
}

/* ---------- Header ---------- */
.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 height: var(--header-h);
 backdrop-filter: blur(20px) saturate(1.4);
 -webkit-backdrop-filter: blur(20px) saturate(1.4);
 background: rgba(4, 6, 12, 0.72);
 border-bottom: 1px solid var(--border);
}

.site-header::after {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 bottom: -1px;
 height: 1px;
 background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.35), transparent);
 opacity: 0.6;
}

.header-inner {
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
}

.logo {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 color: var(--text);
 font-weight: 700;
 letter-spacing: -0.03em;
}

.logo:hover {
 color: var(--text);
}

.logo-mark-img {
 width: 38px;
 height: 38px;
 border-radius: 11px;
 flex-shrink: 0;
 object-fit: contain;
 filter: drop-shadow(0 0 14px rgba(16, 185, 129, 0.4));
 transition: transform var(--transition), filter var(--transition);
}

.logo:hover .logo-mark-img {
 transform: scale(1.05);
 filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.55));
}

.logo-text {
 font-size: 1.02rem;
}

.logo-tld {
 color: var(--text-muted);
 font-weight: 500;
}

.header-nav {
 display: flex;
 align-items: center;
 gap: 0.25rem;
 padding: 0.25rem;
 border-radius: var(--radius-full);
 background: rgba(255, 255, 255, 0.03);
 border: 1px solid var(--border);
}

.header-nav a,
.btn-ghost {
 color: var(--text-secondary);
 font-size: 0.84rem;
 font-weight: 500;
 padding: 0.5rem 0.95rem;
 border-radius: var(--radius-full);
 border: none;
 background: transparent;
 cursor: pointer;
 transition: all var(--transition);
}

.header-nav a:hover,
.btn-ghost:hover {
 color: var(--text);
 background: rgba(255, 255, 255, 0.06);
}

/* ---------- Hero ---------- */
.hero {
 position: relative;
 padding: 4.5rem 0 3rem;
 overflow: hidden;
}

.hero::before {
 content: "";
 position: absolute;
 inset: 0;
 background:
 radial-gradient(ellipse 50% 80% at 50% 0%, rgba(16, 185, 129, 0.08), transparent 70%);
 pointer-events: none;
}

.hero .container {
 position: relative;
 z-index: 1;
}

.eyebrow {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 font-size: 0.72rem;
 font-weight: 600;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--grade-aplus);
 margin: 0 0 1.15rem;
 padding: 0.4rem 0.85rem 0.4rem 0.65rem;
 border-radius: var(--radius-full);
 background: rgba(16, 185, 129, 0.08);
 border: 1px solid rgba(16, 185, 129, 0.2);
 box-shadow: 0 0 24px rgba(16, 185, 129, 0.08);
}

.eyebrow::before {
 content: "";
 width: 7px;
 height: 7px;
 border-radius: 50%;
 background: var(--grade-aplus);
 box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2), 0 0 12px var(--grade-aplus);
 animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
 0%, 100% { opacity: 1; transform: scale(1); }
 50% { opacity: 0.7; transform: scale(0.9); }
}

.hero h1 {
 margin: 0 0 0.85rem;
 font-size: clamp(2rem, 5vw, 3.15rem);
 font-weight: 800;
 letter-spacing: -0.04em;
 line-height: 1.08;
 background: linear-gradient(180deg, #fff 20%, #94a3b8 160%);
 -webkit-background-clip: text;
 background-clip: text;
 -webkit-text-fill-color: transparent;
}

.hero-sub {
 display: block;
 margin-top: 0.45rem;
 font-size: 0.52em;
 font-weight: 500;
 letter-spacing: -0.015em;
 background: none;
 -webkit-text-fill-color: var(--text-secondary);
 color: var(--text-secondary);
}

.hero-intro {
 max-width: 68ch;
 margin: 0 0 1.75rem;
 color: var(--text-secondary);
 font-size: 1rem;
 line-height: 1.7;
}

.hero-stats {
 display: flex;
 flex-wrap: wrap;
 gap: 0.6rem;
}

.stat-chip {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 padding: 0.55rem 1rem;
 border-radius: var(--radius-full);
 background: rgba(12, 18, 32, 0.8);
 border: 1px solid var(--border);
 font-size: 0.8rem;
 color: var(--text-secondary);
 backdrop-filter: blur(8px);
 box-shadow: var(--shadow-sm);
 transition: border-color var(--transition), transform var(--transition);
}

.stat-chip:hover {
 border-color: var(--border-strong);
 transform: translateY(-1px);
}

.stat-chip strong {
 color: var(--text);
 font-weight: 700;
 font-variant-numeric: tabular-nums;
}

.stat-chip .dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 box-shadow: 0 0 8px currentColor;
}

.stat-chip .dot.high { background: var(--tier-high); color: var(--tier-high); }
.stat-chip .dot.mid { background: var(--tier-mid); color: var(--tier-mid); }
.stat-chip .dot.low { background: var(--tier-low); color: var(--tier-low); }

/* ---------- Tier tabs ---------- */
.tier-tabs {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 padding: 1.75rem 0 1.25rem;
 position: sticky;
 top: var(--header-h);
 z-index: 40;
 background: linear-gradient(180deg, rgba(4, 6, 12, 0.95) 60%, rgba(4, 6, 12, 0));
 backdrop-filter: blur(12px);
 margin-bottom: 0.5rem;
}

.tier-tab {
 display: inline-flex;
 align-items: center;
 gap: 0.45rem;
 padding: 0.6rem 1.05rem;
 border-radius: var(--radius-full);
 border: 1px solid var(--border);
 background: rgba(12, 18, 32, 0.55);
 color: var(--text-secondary);
 font-size: 0.84rem;
 font-weight: 600;
 cursor: pointer;
 transition: all var(--transition);
}

.tier-tab:hover {
 border-color: var(--border-strong);
 color: var(--text);
 background: rgba(255, 255, 255, 0.04);
 transform: translateY(-1px);
}

.tier-tab.active {
 background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(20, 184, 166, 0.08));
 border-color: rgba(16, 185, 129, 0.4);
 color: var(--text);
 box-shadow: 0 0 24px rgba(16, 185, 129, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tier-dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
}

.tier-dot.high { background: var(--tier-high); box-shadow: 0 0 10px var(--tier-high); }
.tier-dot.mid { background: var(--tier-mid); box-shadow: 0 0 10px var(--tier-mid); }
.tier-dot.low { background: var(--tier-low); box-shadow: 0 0 10px var(--tier-low); }

/* ---------- Sections & cards ---------- */
.tier-section {
 margin-bottom: 3.25rem;
 animation: fade-up 0.55s var(--ease) both;
}

@keyframes fade-up {
 from {
 opacity: 0;
 transform: translateY(14px);
 }
 to {
 opacity: 1;
 transform: translateY(0);
 }
}

.tier-section-header {
 display: flex;
 align-items: baseline;
 justify-content: space-between;
 gap: 1rem;
 margin-bottom: 1.15rem;
 padding-bottom: 0.85rem;
 border-bottom: 1px solid var(--border);
 position: relative;
}

.tier-section-header::after {
 content: "";
 position: absolute;
 left: 0;
 bottom: -1px;
 width: 72px;
 height: 2px;
 border-radius: 2px;
 background: linear-gradient(90deg, var(--accent), transparent);
}

.tier-section-header h2 {
 margin: 0;
 font-size: 1.2rem;
 font-weight: 700;
 letter-spacing: -0.025em;
 display: flex;
 align-items: center;
 gap: 0.55rem;
}

.tier-section-header .count {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 1.75rem;
 height: 1.5rem;
 padding: 0 0.45rem;
 border-radius: var(--radius-full);
 font-size: 0.72rem;
 font-weight: 700;
 color: var(--text-muted);
 background: rgba(255, 255, 255, 0.04);
 border: 1px solid var(--border);
 font-variant-numeric: tabular-nums;
}

.card-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1rem;
}

@media (min-width: 640px) {
 .card-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}

@media (min-width: 1024px) {
 .card-grid {
 grid-template-columns: repeat(3, 1fr);
 gap: 1.1rem;
 }
}

.influencer-card {
 --ring-color: var(--grade-b);
 position: relative;
 display: flex;
 flex-direction: column;
 gap: 1rem;
 padding: 1.25rem;
 border-radius: var(--radius);
 background:
 linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, transparent 42%),
 var(--bg-card);
 border: 1px solid var(--border);
 box-shadow: var(--shadow-card);
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 transition:
 transform var(--transition),
 border-color var(--transition),
 background var(--transition),
 box-shadow var(--transition);
 cursor: pointer;
 text-align: left;
 color: inherit;
 width: 100%;
 overflow: hidden;
 animation: card-in 0.5s var(--ease) both;
}

.influencer-card::before {
 content: "";
 position: absolute;
 top: 0;
 left: 12%;
 right: 12%;
 height: 1px;
 background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ring-color) 70%, white), transparent);
 opacity: 0.55;
}

.influencer-card::after {
 content: "";
 position: absolute;
 inset: 0;
 border-radius: inherit;
 pointer-events: none;
 background: radial-gradient(600px 120px at 50% -20%, color-mix(in srgb, var(--ring-color) 14%, transparent), transparent 60%);
 opacity: 0;
 transition: opacity var(--transition);
}

.influencer-card:hover,
.influencer-card:focus-visible {
 transform: translateY(-4px);
 background: var(--bg-card-hover);
 border-color: color-mix(in srgb, var(--ring-color) 35%, var(--border-strong));
 box-shadow:
 0 0 0 1px color-mix(in srgb, var(--ring-color) 18%, transparent),
 0 20px 48px rgba(0, 0, 0, 0.45),
 0 0 40px color-mix(in srgb, var(--ring-color) 12%, transparent);
 outline: none;
}

.influencer-card:hover::after,
.influencer-card:focus-visible::after {
 opacity: 1;
}

@keyframes card-in {
 from {
 opacity: 0;
 transform: translateY(10px) scale(0.98);
 }
 to {
 opacity: 1;
 transform: translateY(0) scale(1);
 }
}

.card-grid .influencer-card:nth-child(1) { animation-delay: 0.02s; }
.card-grid .influencer-card:nth-child(2) { animation-delay: 0.05s; }
.card-grid .influencer-card:nth-child(3) { animation-delay: 0.08s; }
.card-grid .influencer-card:nth-child(4) { animation-delay: 0.11s; }
.card-grid .influencer-card:nth-child(5) { animation-delay: 0.14s; }
.card-grid .influencer-card:nth-child(6) { animation-delay: 0.17s; }

.card-top {
 display: flex;
 align-items: flex-start;
 gap: 0.9rem;
 position: relative;
 z-index: 1;
}

/* Avatar with grade ring */
.avatar-ring {
 flex-shrink: 0;
 width: 68px;
 height: 68px;
 border-radius: 50%;
 padding: 3px;
 background: conic-gradient(
 from 200deg,
 var(--ring-color),
 color-mix(in srgb, var(--ring-color) 35%, transparent) 55%,
 var(--ring-color)
 );
 box-shadow:
 0 0 0 1px color-mix(in srgb, var(--ring-color) 25%, transparent),
 0 0 22px color-mix(in srgb, var(--ring-color) 30%, transparent);
}

.avatar-ring img {
 width: 100%;
 height: 100%;
 border-radius: 50%;
 object-fit: cover;
 background: var(--bg-elevated);
 border: 2.5px solid var(--bg-card-solid);
}

.card-identity {
 flex: 1;
 min-width: 0;
 padding-top: 0.15rem;
}

.card-identity h3 {
 margin: 0 0 0.2rem;
 font-size: 1.02rem;
 font-weight: 700;
 letter-spacing: -0.02em;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.card-handle {
 font-size: 0.82rem;
 color: var(--text-muted);
 display: block;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
 font-weight: 500;
}

.card-handle:hover {
 color: var(--accent);
}

.card-aliases {
 margin-top: 0.25rem;
 font-size: 0.7rem;
 color: var(--text-muted);
 opacity: 0.8;
 letter-spacing: 0.01em;
}

.grade-badge {
 flex-shrink: 0;
 min-width: 46px;
 height: 46px;
 padding: 0 0.4rem;
 border-radius: 12px;
 display: grid;
 place-items: center;
 font-weight: 800;
 font-size: 0.95rem;
 letter-spacing: -0.03em;
 color: #fff;
 background: var(--badge-bg, var(--grade-b));
 box-shadow:
 0 0 0 1px color-mix(in srgb, #fff 12%, transparent),
 0 4px 16px color-mix(in srgb, var(--ring-color) 40%, transparent),
 inset 0 1px 0 rgba(255, 255, 255, 0.2);
 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.card-summary {
 margin: 0;
 font-size: 0.86rem;
 color: var(--text-secondary);
 line-height: 1.55;
 display: -webkit-box;
 -webkit-line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
 flex: 1;
 position: relative;
 z-index: 1;
}

.card-footer {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 0.5rem;
 margin-top: auto;
 padding-top: 0.15rem;
 position: relative;
 z-index: 1;
}

.tier-pill {
 font-size: 0.65rem;
 font-weight: 700;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 padding: 0.32rem 0.65rem;
 border-radius: var(--radius-full);
 border: 1px solid var(--border);
 color: var(--text-muted);
}

.tier-pill.high {
 color: var(--tier-high);
 border-color: color-mix(in srgb, var(--tier-high) 35%, transparent);
 background: color-mix(in srgb, var(--tier-high) 10%, transparent);
}

.tier-pill.mid {
 color: var(--tier-mid);
 border-color: color-mix(in srgb, var(--tier-mid) 35%, transparent);
 background: color-mix(in srgb, var(--tier-mid) 10%, transparent);
}

.tier-pill.low {
 color: var(--tier-low);
 border-color: color-mix(in srgb, var(--tier-low) 35%, transparent);
 background: color-mix(in srgb, var(--tier-low) 10%, transparent);
}

.btn-view {
 font-size: 0.78rem;
 font-weight: 600;
 color: var(--accent-bright);
 background: var(--accent-soft);
 border: 1px solid rgba(45, 212, 191, 0.15);
 border-radius: 9px;
 padding: 0.42rem 0.8rem;
 cursor: pointer;
 pointer-events: none;
 transition: all var(--transition);
}

.influencer-card:hover .btn-view {
 background: rgba(45, 212, 191, 0.18);
 border-color: rgba(45, 212, 191, 0.3);
 box-shadow: 0 0 16px rgba(45, 212, 191, 0.12);
}

.empty-state {
 text-align: center;
 padding: 4rem 1.5rem;
 color: var(--text-muted);
 border: 1px dashed var(--border);
 border-radius: var(--radius);
 background: rgba(255, 255, 255, 0.015);
}

.section-disclaimer {
 margin: 0.5rem 0 3.5rem;
}

.section-disclaimer p {
 margin: 0;
 padding: 1.1rem 1.25rem;
 border-radius: var(--radius-sm);
 border: 1px solid var(--border);
 background: linear-gradient(135deg, rgba(251, 191, 36, 0.05), rgba(255, 255, 255, 0.015));
 color: var(--text-secondary);
 font-size: 0.84rem;
 line-height: 1.65;
}

/* ---------- Profile view ---------- */
.view-profile {
 padding: 1.75rem 0 4rem;
 min-height: 60vh;
 animation: fade-up 0.45s var(--ease) both;
}

.back-btn {
 display: inline-flex;
 align-items: center;
 gap: 0.45rem;
 margin-bottom: 1.35rem;
 padding: 0.55rem 1rem;
 border-radius: var(--radius-full);
 border: 1px solid var(--border);
 background: rgba(12, 18, 32, 0.7);
 color: var(--text-secondary);
 font-size: 0.86rem;
 font-weight: 500;
 cursor: pointer;
 transition: all var(--transition);
 backdrop-filter: blur(8px);
}

.back-btn:hover {
 color: var(--text);
 border-color: var(--border-strong);
 background: rgba(255, 255, 255, 0.05);
 transform: translateX(-2px);
}

.profile-page {
 --ring-color: var(--grade-aplus);
 border-radius: calc(var(--radius) + 6px);
 border: 1px solid var(--border);
 background:
 linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
 var(--bg-card-solid);
 box-shadow: var(--shadow-lg);
 overflow: hidden;
 position: relative;
}

.profile-page::before {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 180px;
 background: radial-gradient(ellipse 80% 100% at 20% 0%, color-mix(in srgb, var(--ring-color) 18%, transparent), transparent 70%);
 pointer-events: none;
}

.profile-shell {
 position: relative;
 z-index: 1;
}

.profile-hero {
 display: flex;
 flex-wrap: wrap;
 gap: 1.5rem;
 align-items: center;
 padding: 2rem 1.75rem 1.75rem;
 border-bottom: 1px solid var(--border);
 position: relative;
 z-index: 1;
}

.profile-avatar {
 width: 124px;
 height: 124px;
 border-radius: 50%;
 padding: 4px;
 background: conic-gradient(from 180deg, var(--ring-color), color-mix(in srgb, var(--ring-color) 30%, transparent), var(--ring-color));
 box-shadow:
 0 0 0 1px color-mix(in srgb, var(--ring-color) 30%, transparent),
 0 0 40px color-mix(in srgb, var(--ring-color) 35%, transparent);
 flex-shrink: 0;
}

.profile-avatar img {
 width: 100%;
 height: 100%;
 border-radius: 50%;
 object-fit: cover;
 border: 3px solid var(--bg-card-solid);
 background: var(--bg-elevated);
}

.profile-meta {
 flex: 1;
 min-width: 200px;
}

.profile-meta h1 {
 margin: 0 0 0.4rem;
 font-size: clamp(1.55rem, 3.2vw, 2.05rem);
 font-weight: 800;
 letter-spacing: -0.03em;
 line-height: 1.15;
}

.profile-handles {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem;
 margin-bottom: 0.55rem;
}

.profile-handles a {
 font-size: 0.95rem;
 font-weight: 600;
 padding: 0.15rem 0;
}

.profile-aliases {
 font-size: 0.86rem;
 color: var(--text-muted);
 margin: 0 0 0.9rem;
}

.profile-badges {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 0.55rem;
}

.grade-badge.large {
 min-width: 60px;
 height: 60px;
 font-size: 1.3rem;
 border-radius: 14px;
}

.profile-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 0.55rem;
 margin-left: auto;
}

.btn {
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 padding: 0.65rem 1.05rem;
 border-radius: 11px;
 font-size: 0.86rem;
 font-weight: 600;
 cursor: pointer;
 border: 1px solid var(--border-strong);
 background: rgba(255, 255, 255, 0.04);
 color: var(--text);
 transition: all var(--transition);
}

.btn:hover {
 border-color: var(--text-muted);
 background: rgba(255, 255, 255, 0.07);
 transform: translateY(-1px);
}

.btn-primary {
 background: linear-gradient(135deg, #0d9488, #10b981 55%, #2dd4bf);
 border: none;
 color: #042f2e;
 box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
 filter: brightness(1.06);
 color: #042f2e;
 box-shadow: 0 6px 28px rgba(16, 185, 129, 0.4);
}

.warning-banner {
 margin: 0;
 padding: 1rem 1.75rem;
 background: linear-gradient(90deg, color-mix(in srgb, var(--grade-f) 16%, transparent), color-mix(in srgb, var(--grade-f) 6%, transparent));
 border-bottom: 1px solid color-mix(in srgb, var(--grade-f) 30%, transparent);
 color: #fecdd3;
 font-size: 0.9rem;
 font-weight: 600;
 letter-spacing: 0.01em;
}

.profile-body {
 padding: 1.75rem;
 display: grid;
 gap: 1.35rem;
 position: relative;
 z-index: 1;
}

@media (min-width: 900px) {
 .profile-body {
 grid-template-columns: 1fr 1fr;
 align-items: start;
 }

 .profile-disclaimer-block {
 grid-column: 1 / -1;
 }
}

.profile-block h2 {
 margin: 0 0 0.75rem;
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--text-muted);
}

.profile-block p {
 margin: 0;
 color: var(--text-secondary);
 font-size: 0.94rem;
 line-height: 1.75;
}

.profile-block.assessment {
 background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
 border: 1px solid var(--border);
 border-radius: var(--radius-sm);
 padding: 1.35rem;
 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-block.assessment p {
 color: var(--text);
}

.avatar-note {
 font-size: 0.75rem;
 color: var(--text-muted);
 margin-top: 0.55rem;
 font-style: italic;
}

.profile-disclaimer-block {
 padding: 1.1rem 1.25rem;
 border-radius: var(--radius-sm);
 border: 1px solid var(--border);
 background: rgba(251, 191, 36, 0.04);
}

.profile-disclaimer-block p {
 margin: 0;
 font-size: 0.84rem;
 color: var(--text-secondary);
 line-height: 1.65;
}

/* ---------- Footer ---------- */
.site-footer {
 border-top: 1px solid var(--border);
 background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
 padding: 3rem 0 1.75rem;
 position: relative;
}

.site-footer::before {
 content: "";
 position: absolute;
 top: 0;
 left: 10%;
 right: 10%;
 height: 1px;
 background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.25), transparent);
}

.footer-grid {
 display: grid;
 gap: 2.25rem;
 margin-bottom: 2.25rem;
}

@media (min-width: 800px) {
 .footer-grid {
 grid-template-columns: 1fr 1fr;
 }
}

.footer-block h2 {
 margin: 0 0 0.85rem;
 font-size: 0.78rem;
 font-weight: 700;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--text);
}

.footer-block p {
 margin: 0 0 0.75rem;
 font-size: 0.86rem;
 color: var(--text-secondary);
 line-height: 1.7;
}

.footer-bottom {
 padding-top: 1.35rem;
 border-top: 1px solid var(--border);
}

.footer-bottom p {
 margin: 0;
 font-size: 0.78rem;
 color: var(--text-muted);
 text-align: center;
 letter-spacing: 0.01em;
}

/* ---------- Modal (unused shell) ---------- */
.modal-root {
 position: fixed;
 inset: 0;
 z-index: 100;
 display: grid;
 place-items: center;
 padding: 1rem;
}

.modal-backdrop {
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.72);
 backdrop-filter: blur(6px);
}

.modal-panel {
 position: relative;
 width: min(100%, 720px);
 max-height: min(90vh, 900px);
 overflow: auto;
 border-radius: var(--radius);
 background: var(--bg-card-solid);
 border: 1px solid var(--border-strong);
 box-shadow: var(--shadow-lg);
 z-index: 1;
}

.modal-close {
 position: sticky;
 top: 0.75rem;
 float: right;
 margin: 0.75rem 0.75rem 0 0;
 width: 36px;
 height: 36px;
 border-radius: 50%;
 border: 1px solid var(--border);
 background: var(--bg-elevated);
 color: var(--text);
 font-size: 1.4rem;
 line-height: 1;
 cursor: pointer;
 z-index: 2;
}

/* ---------- Grade tokens ---------- */
.grade-aplus { --ring-color: var(--grade-aplus); --badge-bg: linear-gradient(145deg, #34d399, #059669); }
.grade-a { --ring-color: var(--grade-a); --badge-bg: linear-gradient(145deg, #2dd4bf, #0d9488); }
.grade-aminus{ --ring-color: var(--grade-aminus); --badge-bg: linear-gradient(145deg, #4ade80, #16a34a); }
.grade-bplus { --ring-color: var(--grade-bplus); --badge-bg: linear-gradient(145deg, #a3e635, #ca8a04); }
.grade-b { --ring-color: var(--grade-b); --badge-bg: linear-gradient(145deg, #fcd34d, #d97706); }
.grade-c { --ring-color: var(--grade-c); --badge-bg: linear-gradient(145deg, #fb923c, #ea580c); }
.grade-d { --ring-color: var(--grade-d); --badge-bg: linear-gradient(145deg, #fb7185, #e11d48); }
.grade-f { --ring-color: var(--grade-f); --badge-bg: linear-gradient(145deg, #f87171, #dc2626); }

.grade-badge.grade-aplus,
.grade-badge.grade-a,
.grade-badge.grade-aminus,
.grade-badge.grade-bplus,
.grade-badge.grade-b,
.grade-badge.grade-c,
.grade-badge.grade-d,
.grade-badge.grade-f {
 background: var(--badge-bg);
}

.grade-badge.grade-b,
.grade-badge.grade-bplus {
 color: #1c1917;
 text-shadow: none;
}

/* Sync card ring color from grade class on card when present */
.influencer-card.grade-aplus,
.influencer-card .avatar-ring.grade-aplus { --ring-color: var(--grade-aplus); }
.influencer-card.grade-a,
.influencer-card .avatar-ring.grade-a { --ring-color: var(--grade-a); }
.influencer-card.grade-aminus,
.influencer-card .avatar-ring.grade-aminus { --ring-color: var(--grade-aminus); }
.influencer-card.grade-bplus,
.influencer-card .avatar-ring.grade-bplus { --ring-color: var(--grade-bplus); }
.influencer-card.grade-b,
.influencer-card .avatar-ring.grade-b { --ring-color: var(--grade-b); }
.influencer-card.grade-c,
.influencer-card .avatar-ring.grade-c { --ring-color: var(--grade-c); }
.influencer-card.grade-d,
.influencer-card .avatar-ring.grade-d { --ring-color: var(--grade-d); }
.influencer-card.grade-f,
.influencer-card .avatar-ring.grade-f { --ring-color: var(--grade-f); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
 :root {
 --header-h: 64px;
 }

 .container {
 width: min(100% - 1.5rem, var(--max));
 }

 .hero {
 padding: 2.75rem 0 2rem;
 }

 .logo-text {
 font-size: 0.92rem;
 }

 .header-nav a,
 .btn-ghost {
 padding: 0.45rem 0.7rem;
 font-size: 0.8rem;
 }

 .profile-hero {
 padding: 1.5rem 1.15rem;
 }

 .profile-actions {
 width: 100%;
 margin-left: 0;
 }

 .profile-actions .btn {
 flex: 1;
 justify-content: center;
 }
}

/* ---------- SSR SEO tables & pages ---------- */
.ssr-block,
.ssr-page-inner,
.ssr-profile {
  margin: 2rem auto 2.5rem;
}
.ssr-lede {
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 75ch;
}
.ssr-updated-line {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
}
.ssr-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(12, 18, 32, 0.7);
}
.ssr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.ssr-table caption {
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.ssr-table th,
.ssr-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.ssr-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.ssr-person {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}
.ssr-person img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
}
.ssr-person strong {
  display: block;
}
.ssr-person small {
  color: var(--text-muted);
}
.ssr-grade {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  padding: 0.2rem 0.4rem;
  border-radius: 8px;
  font-weight: 800;
  color: #fff;
  background: var(--grade-b);
}
.ssr-grade.grade-aplus { background: var(--grade-aplus); }
.ssr-grade.grade-a { background: var(--grade-a); }
.ssr-grade.grade-aminus { background: var(--grade-aminus); }
.ssr-grade.grade-bplus { background: var(--grade-bplus); color: #1c1917; }
.ssr-grade.grade-b { background: var(--grade-b); color: #1c1917; }
.ssr-grade.grade-c { background: var(--grade-c); }
.ssr-grade.grade-d { background: var(--grade-d); }
.ssr-grade.grade-f { background: var(--grade-f); }
.ssr-crumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1.25rem 0 1rem;
}
.ssr-crumbs a { color: var(--accent); }
.ssr-link-list {
  line-height: 1.8;
  color: var(--text-secondary);
}
.ssr-related {
  margin-top: 2rem;
  padding-top: 1rem;
}
.ssr-page-inner h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

/* ---------- GEO / SEO content blocks ---------- */
.geo-section {
 margin: 2.5rem auto 3rem;
 padding: 1.75rem 1.5rem;
 border-radius: var(--radius);
 border: 1px solid var(--border);
 background:
 linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 55%),
 rgba(12, 18, 32, 0.65);
 box-shadow: var(--shadow-card);
}

.geo-section h2 {
 margin: 0 0 1rem;
 font-size: clamp(1.15rem, 2.5vw, 1.4rem);
 font-weight: 750;
 letter-spacing: -0.025em;
}

.engine-badge {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 0.55rem 0.85rem;
 margin: 0 0 0.85rem;
}

.engine-mark {
 display: inline-flex;
 align-items: center;
 padding: 0.35rem 0.75rem;
 border-radius: 999px;
 font-size: 0.82rem;
 font-weight: 800;
 letter-spacing: -0.01em;
 color: #042f2e;
 background: linear-gradient(135deg, #34d399, #10b981 55%, #2dd4bf);
 box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
}

.engine-legal {
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--text-muted);
}

.geo-subhead {
 margin: 1.25rem 0 0.65rem;
 font-size: 0.95rem;
 font-weight: 700;
 letter-spacing: -0.01em;
 color: var(--text);
}

.footer-legal {
 margin-bottom: 1rem;
 padding: 0.85rem 1rem;
 border-radius: var(--radius-sm);
 border: 1px solid var(--border);
 background: rgba(255, 255, 255, 0.02);
 font-size: 0.8rem;
 color: var(--text-muted);
 line-height: 1.55;
}

.geo-lead {
 font-size: 1.02rem;
 color: var(--text);
 margin: 0 0 0.85rem;
 line-height: 1.65;
}

.geo-section p {
 margin: 0 0 0.85rem;
 color: var(--text-secondary);
 line-height: 1.7;
}

.geo-list {
 margin: 0 0 1.15rem;
 padding-left: 1.2rem;
 color: var(--text-secondary);
 line-height: 1.75;
}

.geo-list li {
 margin-bottom: 0.4rem;
}

.geo-list strong {
 color: var(--text);
}

.geo-callout {
 margin: 0 !important;
 padding: 0.95rem 1.1rem;
 border-radius: var(--radius-sm);
 border: 1px solid rgba(16, 185, 129, 0.25);
 background: rgba(16, 185, 129, 0.07);
 color: var(--text-secondary) !important;
 font-size: 0.92rem;
}

.faq-list {
 display: flex;
 flex-direction: column;
 gap: 0.55rem;
}

.faq-item {
 border: 1px solid var(--border);
 border-radius: var(--radius-sm);
 background: rgba(0, 0, 0, 0.15);
 padding: 0;
 overflow: hidden;
}

.faq-item summary {
 cursor: pointer;
 padding: 0.9rem 1.1rem;
 font-weight: 650;
 color: var(--text);
 list-style: none;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
 display: none;
}

.faq-item summary::after {
 content: "+";
 color: var(--accent);
 font-weight: 700;
 font-size: 1.1rem;
}

.faq-item[open] summary::after {
 content: "−";
}

.faq-item p {
 margin: 0;
 padding: 0 1.1rem 1rem;
 color: var(--text-secondary);
 font-size: 0.92rem;
 line-height: 1.7;
 border-top: 1px solid var(--border);
 padding-top: 0.85rem;
}

/* ---------- Ambient orbs ---------- */
.ambient {
 position: fixed;
 inset: 0;
 z-index: -1;
 overflow: hidden;
 pointer-events: none;
}

.orb {
 position: absolute;
 border-radius: 50%;
 filter: blur(80px);
 opacity: 0.45;
 animation: orb-float 18s ease-in-out infinite;
}

.orb-a {
 width: 420px;
 height: 420px;
 top: -120px;
 left: -80px;
 background: rgba(16, 185, 129, 0.22);
}

.orb-b {
 width: 360px;
 height: 360px;
 top: 20%;
 right: -100px;
 background: rgba(56, 189, 248, 0.12);
 animation-delay: -6s;
 animation-duration: 22s;
}

.orb-c {
 width: 300px;
 height: 300px;
 bottom: 10%;
 left: 30%;
 background: rgba(99, 102, 241, 0.1);
 animation-delay: -11s;
 animation-duration: 26s;
}

@keyframes orb-float {
 0%, 100% { transform: translate(0, 0) scale(1); }
 50% { transform: translate(24px, -18px) scale(1.06); }
}

/* ---------- Hero grid + grade panel ---------- */
.hero-grid {
 display: grid;
 gap: 2rem;
 align-items: start;
}

@media (min-width: 960px) {
 .hero-grid {
 grid-template-columns: 1.35fr 0.85fr;
 gap: 2.5rem;
 align-items: center;
 }
}

.hero-copy {
 min-width: 0;
}

.hero-panel {
 border-radius: var(--radius);
 border: 1px solid var(--border);
 background:
 linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 50%),
 rgba(12, 18, 32, 0.75);
 box-shadow: var(--shadow-card);
 backdrop-filter: blur(16px);
 padding: 1.25rem 1.2rem 1.1rem;
 position: relative;
 overflow: hidden;
}

.hero-panel::before {
 content: "";
 position: absolute;
 inset: 0;
 background: radial-gradient(400px 120px at 80% 0%, rgba(16, 185, 129, 0.12), transparent 70%);
 pointer-events: none;
}

.hero-panel-head {
 position: relative;
 margin-bottom: 0.9rem;
}

.panel-kicker {
 display: block;
 font-size: 0.68rem;
 font-weight: 700;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--accent);
 margin-bottom: 0.25rem;
}

.hero-panel-head h2 {
 margin: 0;
 font-size: 1.05rem;
 font-weight: 700;
 letter-spacing: -0.02em;
}

.grade-legend {
 list-style: none;
 margin: 0;
 padding: 0;
 display: grid;
 gap: 0.4rem;
 position: relative;
}

.grade-legend li {
 display: flex;
 align-items: center;
 gap: 0.65rem;
 font-size: 0.8rem;
 color: var(--text-secondary);
 padding: 0.28rem 0.35rem;
 border-radius: 8px;
 transition: background var(--transition);
}

.grade-legend li:hover {
 background: rgba(255, 255, 255, 0.03);
}

.gl-badge {
 min-width: 36px;
 height: 28px;
 border-radius: 8px;
 display: grid;
 place-items: center;
 font-size: 0.72rem;
 font-weight: 800;
 color: #fff;
 letter-spacing: -0.02em;
 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.gl-badge.grade-aplus { background: linear-gradient(145deg, #34d399, #059669); }
.gl-badge.grade-a { background: linear-gradient(145deg, #2dd4bf, #0d9488); }
.gl-badge.grade-aminus { background: linear-gradient(145deg, #4ade80, #16a34a); }
.gl-badge.grade-bplus { background: linear-gradient(145deg, #a3e635, #ca8a04); color: #1c1917; }
.gl-badge.grade-b { background: linear-gradient(145deg, #fcd34d, #d97706); color: #1c1917; }
.gl-badge.grade-c { background: linear-gradient(145deg, #fb923c, #ea580c); }
.gl-badge.grade-d { background: linear-gradient(145deg, #fb7185, #e11d48); }
.gl-badge.grade-f { background: linear-gradient(145deg, #f87171, #dc2626); }

/* ---------- Tier blurbs ---------- */
.tier-section-title {
 display: flex;
 flex-direction: column;
 gap: 0.35rem;
 width: 100%;
}

.tier-blurb {
 margin: 0;
 font-size: 0.84rem;
 color: var(--text-muted);
 max-width: 56ch;
 font-weight: 500;
}

.tier-section--high .tier-section-header::after {
 background: linear-gradient(90deg, var(--tier-high), transparent);
}

.tier-section--mid .tier-section-header::after {
 background: linear-gradient(90deg, var(--tier-mid), transparent);
}

.tier-section--low .tier-section-header::after {
 background: linear-gradient(90deg, var(--tier-low), transparent);
}

/* ---------- Profile grade rail ---------- */
.grade-rail {
 margin-top: 1rem;
 max-width: 420px;
}

.grade-rail-track {
 display: flex;
 gap: 0.28rem;
 flex-wrap: wrap;
}

.grade-rail-step {
 min-width: 2rem;
 height: 1.7rem;
 padding: 0 0.35rem;
 border-radius: 7px;
 display: grid;
 place-items: center;
 font-size: 0.68rem;
 font-weight: 800;
 color: rgba(255, 255, 255, 0.55);
 background: rgba(255, 255, 255, 0.04);
 border: 1px solid var(--border);
 opacity: 0.45;
 transition: all var(--transition);
}

.grade-rail-step.is-active {
 opacity: 1;
 color: #fff;
 transform: scale(1.08);
 box-shadow: 0 0 16px color-mix(in srgb, var(--ring-color) 40%, transparent);
 border-color: color-mix(in srgb, var(--ring-color) 50%, transparent);
 background: var(--badge-bg, var(--grade-b));
}

.grade-rail-step.grade-b.is-active,
.grade-rail-step.grade-bplus.is-active {
 color: #1c1917;
}

.grade-rail-caption {
 margin: 0.55rem 0 0;
 font-size: 0.8rem;
 color: var(--text-muted);
}

.grade-rail-caption strong {
 color: var(--text);
}

/* ---------- Stats modal ---------- */
.stats-modal {
 position: fixed;
 inset: 0;
 z-index: 120;
 display: grid;
 place-items: center;
 padding: 1rem;
}

.stats-backdrop {
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.72);
 backdrop-filter: blur(8px);
}

.stats-panel {
 position: relative;
 z-index: 1;
 width: min(100%, 480px);
 max-height: min(86vh, 640px);
 overflow: auto;
 border-radius: var(--radius);
 border: 1px solid var(--border-strong);
 background:
 linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
 var(--bg-card-solid);
 box-shadow: var(--shadow-lg);
 animation: fade-up 0.35s var(--ease) both;
}

.stats-panel-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 1.1rem 1.2rem;
 border-bottom: 1px solid var(--border);
 position: sticky;
 top: 0;
 background: rgba(14, 20, 34, 0.92);
 backdrop-filter: blur(10px);
 z-index: 2;
}

.stats-panel-head h2 {
 margin: 0;
 font-size: 1.05rem;
 font-weight: 700;
 letter-spacing: -0.02em;
}

.stats-close {
 width: 34px;
 height: 34px;
 border-radius: 50%;
 border: 1px solid var(--border);
 background: rgba(255, 255, 255, 0.04);
 color: var(--text);
 font-size: 1.3rem;
 line-height: 1;
 cursor: pointer;
 transition: all var(--transition);
}

.stats-close:hover {
 background: rgba(255, 255, 255, 0.08);
}

.stats-body {
 padding: 1.15rem 1.2rem 1.4rem;
}

.stats-summary {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 0.5rem;
 margin-bottom: 1.25rem;
}

.stats-summary-card {
 border-radius: var(--radius-sm);
 border: 1px solid var(--border);
 background: rgba(255, 255, 255, 0.03);
 padding: 0.7rem 0.5rem;
 text-align: center;
 display: flex;
 flex-direction: column;
 gap: 0.15rem;
}

.stats-summary-card strong {
 font-size: 1.2rem;
 font-weight: 800;
 letter-spacing: -0.03em;
 font-variant-numeric: tabular-nums;
}

.stats-summary-card span {
 font-size: 0.68rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 color: var(--text-muted);
}

.stats-summary-card.high strong { color: var(--tier-high); }
.stats-summary-card.mid strong { color: var(--tier-mid); }
.stats-summary-card.low strong { color: var(--tier-low); }

.stats-subhead {
 margin: 0 0 0.75rem;
 font-size: 0.72rem;
 font-weight: 700;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--text-muted);
}

.stats-rows {
 display: flex;
 flex-direction: column;
 gap: 0.55rem;
}

.stats-row {
 display: grid;
 grid-template-columns: 40px 1fr 32px;
 gap: 0.6rem;
 align-items: center;
}

.stats-bar-wrap {
 height: 8px;
 border-radius: 99px;
 background: rgba(255, 255, 255, 0.05);
 overflow: hidden;
}

.stats-bar {
 height: 100%;
 border-radius: 99px;
 background: var(--badge-bg, var(--grade-b));
 min-width: 4px;
 transition: width 0.6s var(--ease);
}

.stats-bar.grade-aplus { background: var(--grade-aplus); }
.stats-bar.grade-a { background: var(--grade-a); }
.stats-bar.grade-aminus { background: var(--grade-aminus); }
.stats-bar.grade-bplus { background: var(--grade-bplus); }
.stats-bar.grade-b { background: var(--grade-b); }
.stats-bar.grade-c { background: var(--grade-c); }
.stats-bar.grade-d { background: var(--grade-d); }
.stats-bar.grade-f { background: var(--grade-f); }

.stats-n {
 font-size: 0.8rem;
 font-weight: 700;
 color: var(--text-secondary);
 text-align: right;
 font-variant-numeric: tabular-nums;
}

/* ---------- Footer brand ---------- */
.footer-brand {
 display: flex;
 align-items: center;
 gap: 0.85rem;
 margin-bottom: 1.75rem;
}

.footer-brand img {
 width: 40px;
 height: 40px;
 filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.35));
}

.footer-brand strong {
 display: block;
 font-size: 0.95rem;
 letter-spacing: -0.02em;
}

.footer-brand span {
 display: block;
 font-size: 0.8rem;
 color: var(--text-muted);
}

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

 .hero-panel {
 order: -1;
 }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
 *,
 *::before,
 *::after {
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 }

 .eyebrow::before,
 .orb {
 animation: none;
 }
}

